/* S.B.R.A. Bouw — opmaak in de stijl van de oorspronkelijke site
   Kleuren, lettertypes en verhoudingen zijn overgenomen van sbrabouw.nl (2025). */

:root {
  --orange: #d54900;
  --orange-dark: #b23d00;
  --orange-light: #ff7a33;   /* oranje op donkere foto's (beter leesbaar) */
  --dark: #292929;
  --footer: #242424;
  --text: #6b6b6b;
  --heading: #000;
  --line: #ececec;
  --topbar: #f9f9f9;
  --soft: #f5f5f5;
  --container: 1170px;
  --header-h: 90px;
  --font-head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "PT Sans", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--text); font: 400 15px/1.7 var(--font-body); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 500; color: var(--heading); line-height: 1.3; margin: 0; }
p { margin: 0 0 14px; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 15px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--dark); color: #fff; padding: 10px 16px; font-family: var(--font-head); font-size: 14px; }
.skip-link:focus { top: 12px; color: #fff; }
.preview-ribbon { background: var(--dark); color: #fff; font: 500 12px/1.4 var(--font-head); text-align: center; padding: 8px 16px; letter-spacing: .02em; }

/* ---------- knoppen ---------- */
.btn {
  display: inline-block; font: 500 14px/1.4 var(--font-head); text-transform: uppercase; letter-spacing: .02em;
  padding: 12px 26px; border: 2px solid transparent; border-radius: 2px; cursor: pointer; text-align: center;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-dark); color: #fff; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-outline { border-color: #fff; color: #fff; background: transparent; }
.btn-outline:hover { background: #fff; color: #000; }
.btn-block { display: block; width: 100%; }
.read-more { display: inline-block; font: 500 13px/1.4 var(--font-head); text-transform: uppercase; color: var(--orange); letter-spacing: .02em; }
.read-more::after { content: " ›"; }

/* ---------- bovenbalk ---------- */
.topbar { background: var(--topbar); border-bottom: 1px solid var(--line); font-size: 14px; color: #858585; }
.topbar-inner { display: flex; justify-content: space-between; align-items: stretch; min-height: 44px; }
.topbar ul { display: flex; }
.topbar li { display: flex; align-items: center; gap: 9px; padding: 0 20px; border-left: 1px solid var(--line); }
.topbar li:last-child { border-right: 1px solid var(--line); }
.topbar a { color: #858585; display: inline-flex; align-items: center; gap: 9px; }
.topbar a:hover { color: var(--orange); }
.topbar svg { width: 15px; height: 15px; fill: #b0b0b0; flex: none; }
.topbar a:hover svg { fill: var(--orange); }
.topbar-social li { padding: 0 16px; }

/* ---------- kop + menu ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.logo img { height: 76px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; }
.main-nav > ul > li { position: relative; display: flex; align-items: center; }
.main-nav > ul > li + li::before { content: ""; width: 1px; height: 24px; background: #e3e3e3; }
.main-nav a { display: block; font: 500 13px/1.4 var(--font-head); text-transform: uppercase; color: #000; padding: 0 18px; line-height: var(--header-h); }
.main-nav > ul > li:last-child > a { padding-right: 0; }
.main-nav a:hover, .main-nav a.is-active { color: var(--orange); }
.sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; border-top: 2px solid var(--orange);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .1); opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility .2s; z-index: 60;
}
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { line-height: 1.4; padding: 12px 20px; text-transform: none; font-size: 13.5px; border-bottom: 1px solid #f1f1f1; color: #333; }
.sub-menu li:last-child a { border-bottom: 0; }
.sub-toggle, .menu-toggle, .header-call { display: none; }

/* ---------- hero / slider ----------
   Computer: tekst links op donker, foto rechts in eigen verhouding (niet opgerekt).
   Tablet/telefoon: foto boven, tekst eronder. */
.hero { position: relative; background: #1f1f1f; color: #fff; overflow: hidden; }
.hero-slides { display: grid; }
.hero-slide { grid-area: 1 / 1; position: relative; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 56%; background: #2a2a2a; }
.hero-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, #1f1f1f 0%, rgba(31, 31, 31, .55) 9%, rgba(31, 31, 31, 0) 26%);
}
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-content { position: relative; z-index: 2; min-height: clamp(480px, 34vw, 620px); display: flex; align-items: center; padding-top: 56px; padding-bottom: 96px; }
.hero-copy { width: 44%; max-width: 540px; }
.hero-eyebrow { font: 600 14px/1.4 var(--font-head); text-transform: uppercase; letter-spacing: .14em; color: var(--orange-light); margin: 0 0 10px; }
.hero-title { font-size: clamp(30px, 2.9vw, 46px); font-weight: 500; line-height: 1.15; color: #fff; margin: 0 0 18px; }
.hero-text { font-size: 16.5px; line-height: 1.65; color: rgba(255, 255, 255, .86); margin: 0 0 28px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-controls { position: absolute; z-index: 3; left: 0; right: 0; bottom: 30px; pointer-events: none; }
.hero-controls-inner { display: flex; align-items: center; gap: 12px; }
.hero-controls button { pointer-events: auto; }
.hero-arrow {
  width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 2px; background: transparent;
  cursor: pointer; display: grid; place-items: center; transition: background .2s, border-color .2s;
}
.hero-arrow:hover { background: var(--orange); border-color: var(--orange); }
.hero-arrow svg { width: 22px; height: 22px; fill: #fff; }
.hero-dots { display: flex; gap: 4px; }
.hero-dots button { position: relative; width: 30px; height: 28px; border: 0; padding: 0; background: none; cursor: pointer; }
.hero-dots button::after { content: ""; position: absolute; left: 3px; right: 3px; top: 12px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .35); transition: background .2s; }
.hero-dots button[aria-current="true"]::after { background: var(--orange); }

@media (max-width: 991px) {
  .hero-slide { display: flex; flex-direction: column; }
  .hero-media { position: relative; width: 100%; aspect-ratio: 3 / 2; max-height: 70vh; }
  .hero-media::after { background: linear-gradient(180deg, rgba(31, 31, 31, 0) 78%, rgba(31, 31, 31, .85) 100%); }
  .hero-content { min-height: 0; flex: 1; align-items: flex-start; padding-top: 24px; padding-bottom: 86px; }
  .hero-copy { width: 100%; max-width: 660px; }
  .hero-controls { bottom: 24px; }
}
@media (max-width: 575px) {
  .hero-title { font-size: 28px; }
  .hero-text { font-size: 15.5px; }
  .hero-buttons { gap: 10px; }
  .hero-buttons .btn { flex: 1 1 auto; padding-left: 16px; padding-right: 16px; }
}
/* ---------- oranje band ---------- */
.cta-band { background: var(--orange); }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px 30px; padding-top: 26px; padding-bottom: 26px; }
.cta-band h2 { color: #fff; font-size: clamp(17px, 1.6vw, 20px); font-weight: 500; }

/* ---------- drie blokken ---------- */
.features { padding: 64px 0 70px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.feature-img { display: block; overflow: hidden; }
.feature-img img, .service-card img, .project img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
.feature-img:hover img, .service-card a:hover img, .project:hover img { transform: scale(1.04); }
.feature-title { text-align: center; font-size: 17px; margin: 24px 0 18px; }
.feature-title a { color: #000; }
.feature-title a:hover { color: var(--orange); }
.feature-title span { display: block; font: 400 13px/1.5 var(--font-body); color: #5f7d91; margin-top: 4px; }
.feature-title::after { content: ""; display: block; width: 60%; height: 1px; background: var(--line); margin: 18px auto 0; }

/* ---------- recensies ---------- */
.reviews { background: var(--footer); color: #fff; padding: 44px 0; }
.reviews-inner { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 30px; align-items: center; }
.reviews-summary { text-align: center; }
.reviews-score { color: #fff; font-size: 22px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }
.stars { color: #f6bb06; letter-spacing: 2px; font-size: 15px; line-height: 1; }
.stars-lg { display: flex; justify-content: center; gap: 2px; margin: 10px 0 8px; }
.stars-lg svg { width: 30px; height: 30px; fill: #f6bb06; }
.reviews-count { font: 500 14px/1.4 var(--font-head); color: #fff; margin: 0 0 6px; }
.reviews-count strong { font-weight: 700; }
.google-word { font: 600 32px/1 var(--font-head); letter-spacing: -.01em; margin: 0; }
.g-b { color: #4285f4; } .g-r { color: #ea4335; } .g-y { color: #fbbc05; } .g-g { color: #34a853; }
.reviews-carousel { position: relative; display: flex; align-items: center; gap: 10px; min-width: 0; }
.reviews-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; flex: 1; min-width: 0; padding: 2px;
}
.reviews-track::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; background: #2f2f2f; border-radius: 10px; padding: 18px 20px; min-height: 190px; }
.review header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font: 600 16px/1 var(--font-head); color: #fff; flex: none; }
.a1 { background: #7b5ea7; } .a2 { background: #3b7dd8; } .a3 { background: #2e9d6a; } .a4 { background: #6aa121; } .a5 { background: #c2410c; } .a6 { background: #0e7490; }
.review-name { font: 600 14px/1.3 var(--font-head); color: #fff; margin: 0; overflow-wrap: anywhere; }
.review-date { font-size: 12.5px; color: #b5b5b5; margin: 0; }
.review .stars { margin-bottom: 10px; }
.review p:last-child { color: #ededed; font-size: 14.5px; line-height: 1.6; margin: 0; }
.reviews-arrow { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #3a3a3a; cursor: pointer; display: grid; place-items: center; }
.reviews-arrow:hover { background: var(--orange); }
.reviews-arrow svg { width: 22px; height: 22px; fill: #fff; }
.reviews-arrow:disabled { opacity: .35; cursor: default; background: #3a3a3a; }

/* ---------- wat wij bieden (tabbladen) ---------- */
.offer { padding: 70px 0; }
.tabs { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 34px; align-items: start; }
.tab-list { display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.tab {
  text-align: right; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 13px 20px 13px 12px;
  font: 500 14px/1.4 var(--font-head); color: #000; cursor: pointer; transition: color .2s, box-shadow .2s;
}
.tab:hover { color: var(--orange); }
.tab[aria-selected="true"] { box-shadow: inset 8px 0 0 var(--dark); }
.tab-panel-title { display: none; }
.offer-heading { font: 500 18px/1.3 var(--font-head); text-transform: uppercase; color: #000; margin: 6px 0 16px; }
.checklist li { position: relative; padding-left: 30px; margin: 0 0 10px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 15px; height: 15px; border-radius: 2px;
  background: var(--dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.offer-lead { color: #444; margin-top: 18px; }

/* ---------- projecten ---------- */
.projects { background: var(--soft); padding: 70px 0; }
.section-head { text-align: center; margin-bottom: 36px; }
.section-kicker { font: 500 13px/1.4 var(--font-head); text-transform: uppercase; letter-spacing: .1em; color: var(--orange); margin: 0 0 6px; }
.section-title { font-size: clamp(22px, 2.4vw, 28px); text-transform: uppercase; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.project { margin: 0; background: #fff; overflow: hidden; }
.project figcaption { padding: 14px 16px 16px; }
.project strong { display: block; font: 500 15px/1.4 var(--font-head); color: #000; }
.project span { font-size: 13.5px; color: var(--text); }
.section-foot { text-align: center; margin: 34px 0 0; font-size: 16px; color: #555; }

/* ---------- donkere band met foto ---------- */
.statement {
  padding: 110px 0; text-align: center;
  background: linear-gradient(rgba(0, 0, 0, .62), rgba(0, 0, 0, .62)), url("../img/band-dak.jpg") center 20% / cover no-repeat;
}
.statement h2 { color: #fff; font-size: clamp(24px, 2.6vw, 32px); text-transform: uppercase; margin-bottom: 26px; }

/* ---------- footer ---------- */
.site-footer { background: var(--footer); color: #d9d9d9; padding-top: 60px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.footer-title { font-size: 17px; text-transform: uppercase; color: #d9d9d9; margin: 0 0 24px; }
.site-footer p { line-height: 1.75; }
.footer-links li { margin: 0 0 7px; }
.footer-links a, .footer-contact a { color: #d9d9d9; }
.footer-links a:hover, .footer-contact a:hover, .footer-links a.is-active { color: var(--orange-light); }
.footer-contact li { margin: 0 0 10px; }
.footer-contact strong { color: #fff; }
.footer-bottom { border-top: 1px solid #3a3a3a; margin-top: 46px; padding: 18px 0; font-size: 13px; color: #a9a9a9; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 30px; }
.footer-bottom a { color: #a9a9a9; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: #fff; }

/* ---------- binnenpagina's ---------- */
.page-title { background: var(--soft); padding: 42px 0; }
.page-title-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.page-title h1 { font-size: clamp(22px, 2vw, 26px); }
.breadcrumbs { font: 400 13.5px/1.4 var(--font-head); color: #555; }
.breadcrumbs a { color: #000; font-weight: 500; }
.breadcrumbs a:hover { color: var(--orange); }

.with-sidebar { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 34px; padding-top: 50px; padding-bottom: 70px; align-items: start; }
.side-nav li { border-bottom: 1px solid var(--line); }
.side-nav a { display: flex; justify-content: space-between; gap: 12px; padding: 11px 6px 11px 0; color: var(--text); font-size: 14.5px; }
.side-nav a::after { content: "›"; color: #999; }
.side-nav a:hover, .side-nav a.is-active { color: var(--orange); }
.side-nav a.is-active::after { color: var(--orange); }
.side-contact { margin-top: 34px; }
.side-title { font-size: 17px; margin: 0 0 16px; }
.side-row { display: flex; gap: 12px; font: 400 13.5px/1.6 var(--font-head); color: #555; margin: 0 0 12px; }
.side-row svg { width: 16px; height: 16px; fill: #8a8a8a; flex: none; margin-top: 3px; }
.side-row a { color: #555; overflow-wrap: anywhere; }
.side-row a:hover { color: var(--orange); }
.side-contact .btn { margin-top: 18px; }

.service-main { display: grid; gap: 44px; min-width: 0; }
.page-intro { font-size: 17px; line-height: 1.7; color: #444; max-width: 72ch; margin: 0; }
.service-content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; align-items: start; }
.service-col > img { width: 100%; margin-bottom: 24px; }
.service-col .img-wide { aspect-ratio: 4 / 3; object-fit: cover; }
.service-heading { font-size: 16.5px; margin: 4px 0 16px; }

/* "Wat wij bieden" */
.offer-box { background: var(--soft); border-left: 4px solid var(--orange); padding: 28px 30px 22px; }
.offer-box .offer-heading { margin-top: 0; }
.offer-box .offer-lead { margin: 0 0 16px; }
.checklist-2col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }

/* "Uit de praktijk" */
.gallery-block .block-title { margin-bottom: 16px; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { font-size: 14px; color: #555; margin-top: 8px; }

/* afsluitend contactblok */
.cta-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; background: var(--dark); color: #d9d9d9; padding: 30px 32px; border-radius: 2px; }
.cta-box > div:first-child { flex: 1 1 360px; }
.cta-box-title { color: #fff; font-size: 20px; margin: 0 0 8px; }
.cta-box p { margin: 0; }
.cta-box p a { color: var(--orange-light); }
.cta-box-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: transparent; }
.btn-ghost:hover { background: #fff; color: #000; }
.cta-wrap { padding-top: 56px; padding-bottom: 70px; }

.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 26px; }
.service-card { display: flex; flex-direction: column; }
.service-card a:first-child { display: block; overflow: hidden; }
.service-card h2 { font-size: 16px; margin: 18px 0 10px; }
.service-card h2 a { color: #000; }
.service-card h2 a:hover { color: var(--orange); }
.service-card .read-more { margin-top: auto; }

.about { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; padding-top: 50px; padding-bottom: 70px; align-items: start; }
.about-main { position: sticky; top: calc(var(--header-h) + 24px); }
.about-main img { width: 100%; }
.about-side { display: grid; gap: 30px; }
.about-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.about-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 18px; }

.map { position: relative; display: block; background: #e9e7e1; }
.map img { width: 100%; height: clamp(240px, 26vw, 460px); object-fit: cover; object-position: 62% 50%; }
.map-button { position: absolute; right: 20px; bottom: 34px; background: var(--orange); color: #fff; font: 500 14px/1.4 var(--font-head); text-transform: uppercase; padding: 11px 22px; border-radius: 2px; }
.map:hover .map-button { background: var(--orange-dark); }
.contact-page { padding-top: 50px; padding-bottom: 70px; }
.contact-intro { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; margin-bottom: 40px; }
.contact-intro a { overflow-wrap: anywhere; }
.contact-cta { align-self: end; }
.block-title { font-size: 17px; text-transform: uppercase; margin: 0 0 18px; }
.contact-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 18px 24px; }
.form-fields { display: grid; gap: 14px; }
.field { display: block; }
.field input, .field textarea {
  width: 100%; border: 1px solid #d8d8d8; border-radius: 2px; padding: 12px 14px; font: 400 15px/1.5 var(--font-body);
  color: #222; background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(213, 73, 0, .15); }
.field-message textarea { height: 100%; min-height: 200px; resize: vertical; }
.form-footer { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.form-note { font-size: 13.5px; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-message { padding: 14px 18px; border-left: 4px solid var(--orange); background: #fff3ec; color: #5a2a10; margin: 0 0 20px; }
.form-message.is-ok { border-color: #2e7d32; background: #edf7ee; color: #1b4d1e; }

.narrow-page { max-width: 820px; padding-top: 50px; padding-bottom: 70px; }
.prose .block-title { margin-top: 30px; }
.muted { color: #999; }

/* ---------- tablet en telefoon ---------- */
@media (max-width: 991px) {
  :root { --header-h: 74px; }
  .logo img { height: 54px; }
  .header-call { display: grid; place-items: center; width: 42px; height: 42px; margin-left: auto; border-radius: 2px; background: var(--orange); }
  .header-call svg { width: 20px; height: 20px; fill: #fff; }
  .menu-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; width: 42px; height: 42px; padding: 0 11px; border: 0; border-radius: 2px; background: var(--dark); cursor: pointer; }
  .menu-toggle span { display: block; height: 2px; background: #fff; transition: transform .2s, opacity .2s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 14px 24px rgba(0, 0, 0, .12); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .main-nav.is-open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; padding: 4px 15px 12px; }
  .main-nav > ul > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .main-nav > ul > li + li::before { display: none; }
  .main-nav a { line-height: 1.4; padding: 15px 0; flex: 1; }
  .sub-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
  .sub-toggle svg { width: 24px; height: 24px; fill: #555; transition: transform .2s; }
  .sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .sub-menu { position: static; display: none; width: 100%; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: 0; padding: 0 0 8px 14px; }
  .sub-menu.is-open { display: block; }
  .has-sub:hover .sub-menu:not(.is-open) { display: none; }
  .sub-menu a { padding: 10px 0; border-bottom: 0; }

  .reviews-inner { grid-template-columns: 1fr; }
  .reviews-track { grid-auto-columns: calc((100% - 16px) / 2); }
  .project-grid, .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .with-sidebar { grid-template-columns: 1fr; }
  .with-sidebar .sidebar { order: 2; }
  .about { display: flex; flex-direction: column; }
  .about-side { display: contents; }
  .about .page-intro { order: 1; }
  .about-main { position: static; order: 2; }
  .about-grid { order: 3; }
  .with-sidebar .side-contact { display: none; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  body { font-size: 15.5px; }
  .topbar { display: none; }
  .cta-band-inner { flex-direction: column; text-align: center; }
  .grid-3, .service-content, .contact-intro, .contact-form { grid-template-columns: 1fr; }
  .tabs { grid-template-columns: 1fr; }
  .tab-list { display: none; }
  .tabs .tab-panel { display: block !important; padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
  .tab-panel-title { display: block; font-size: 19px; margin: 0 0 4px; }
  .offer-heading { font-size: 14px; color: var(--orange); }
  .statement { padding: 80px 0; }
  .map-button { bottom: 26px; right: 14px; }
  .checklist-2col { grid-template-columns: 1fr; }
  .offer-box { padding: 22px 20px 14px; }
  .offer-box .offer-heading { font-size: 18px; color: #000; }
  .cta-box { padding: 24px 20px; }
  .cta-box-buttons { width: 100%; }
  .cta-box-buttons .btn { flex: 1 1 auto; }
  .service-main { gap: 34px; }
}

@media (max-width: 575px) {
  .reviews-track { grid-auto-columns: 86%; }
  .project-grid, .service-grid, .about-grid, .footer-grid { grid-template-columns: 1fr; }
  .page-title { padding: 30px 0; }
  .breadcrumbs { width: 100%; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .gallery figcaption { font-size: 13px; }
  .form-footer .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reviews-track { scroll-behavior: auto; }
}
