/* ==========================================================================
   Logix Water Leak Detection — site styles
   Soft, low-glare palette based on the original leakdetection.co.za greens (#35A34C, #0E740C) + card yellow
   ========================================================================== */

:root {
  /* Brand */
  --brand-900: #145c24;
  --brand-700: #237f38;
  --brand-500: #35a34c;
  --brand-100: #e6f4e8;
  --green-700: #0e740c;
  --green-500: #35a34c;
  --green-100: #e6f4e8;
  --green-50: #f3faf4;
  --yellow-400: #f2c94c;
  --yellow-100: #fdf5d9;
  --water-500: #3b9aa8;
  --water-100: #e3f2f4;

  /* Neutrals (warm, easy on the eye — no pure white / pure black) */
  --bg: #f7f8f4;
  --surface: #fdfdfb;
  --surface-alt: #f0f3ee;
  --border: #dce6dd;
  --text: #2f3a33;
  --text-muted: #5b6a60;
  --heading: #1e2d23;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(20, 48, 28, .06), 0 1px 3px rgba(20, 48, 28, .05);
  --shadow: 0 6px 20px rgba(20, 48, 28, .08);
  --shadow-lg: 0 18px 40px rgba(20, 48, 28, .12);

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Montserrat", "Inter", system-ui, sans-serif;

  --container: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-700); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--heading);
  line-height: 1.2;
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.2rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1.02rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.25em; margin: 0 0 1.1em; }
li { margin-bottom: .35em; }
strong { color: var(--heading); font-weight: 650; }
small { font-size: .875rem; }
:focus-visible { outline: 3px solid var(--yellow-400); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--brand-900); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--brand-900);
  color: #e2f0e4;
  font-size: .875rem;
}
.topbar .container { display: flex; gap: 20px; justify-content: space-between; align-items: center; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--yellow-400); }
.topbar__items { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 15px; height: 15px; opacity: .85; }
.topbar__tagline { font-style: italic; opacity: .85; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 253, 251, .92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 16px; }

.brand { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand__word {
  font-family: var(--font-head); font-weight: 900; font-style: italic;
  font-size: 1.85rem; color: var(--brand-700); letter-spacing: -.02em;
}
.brand__word span { color: var(--yellow-400); -webkit-text-stroke: .5px #d9ad2b; }
.brand__sub {
  font-family: var(--font-head); font-weight: 800; font-style: italic;
  font-size: .62rem; letter-spacing: .09em; color: var(--heading); margin-top: 3px;
}
.brand:hover .brand__word { color: var(--brand-900); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.nav__list li { margin: 0; position: relative; }
.nav__link {
  display: block; padding: 9px 12px; border-radius: var(--radius-sm);
  color: var(--text); text-decoration: none; font-weight: 550; font-size: .95rem;
  background: none; border: 0; font-family: inherit; cursor: pointer;
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--brand-700); background: var(--brand-100); }
.nav__link[aria-current="page"] { font-weight: 650; }

.nav__dropdown-toggle { display: inline-flex; align-items: center; gap: 4px; }
.nav__dropdown-toggle svg { width: 14px; height: 14px; transition: transform .2s; }
.nav__dropdown {
  list-style: none; margin: 0; padding: 8px;
  position: absolute; right: 0; top: calc(100% + 6px); min-width: 230px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: all .18s ease;
}
.nav__has-dropdown:hover .nav__dropdown,
.nav__has-dropdown:focus-within .nav__dropdown,
.nav__has-dropdown.is-open .nav__dropdown { opacity: 1; visibility: visible; transform: none; }
.nav__has-dropdown.is-open .nav__dropdown-toggle svg { transform: rotate(180deg); }
.nav__dropdown .nav__link { padding: 9px 12px; }

.nav__cta { margin-left: 10px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--surface); cursor: pointer;
  align-items: center; justify-content: center; color: var(--heading);
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: 999px; font-weight: 650; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; line-height: 1.2;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
  font-family: inherit;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--brand-700); color: #fff; box-shadow: 0 4px 14px rgba(35, 127, 56, .25); }
.btn--primary:hover { background: var(--brand-900); color: #fff; }
.btn--green { background: var(--green-700); color: #fff; box-shadow: 0 4px 14px rgba(14, 116, 12, .22); }
.btn--green:hover { background: var(--brand-900); color: #fff; }
.btn--ghost { background: transparent; color: var(--brand-700); border-color: rgba(35, 127, 56, .3); }
.btn--ghost:hover { border-color: var(--brand-700); color: var(--brand-900); background: var(--brand-100); }
.btn--light { background: var(--surface); color: var(--brand-900); }
.btn--light:hover { background: var(--yellow-100); color: var(--brand-900); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.btn--sm { padding: 9px 16px; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(53, 163, 76, .18), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(59, 154, 168, .14), transparent 60%),
    linear-gradient(180deg, var(--green-50), var(--bg));
  padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 9vw, 110px);
}
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border); color: var(--green-700);
  padding: 6px 14px; border-radius: 999px; font-size: .85rem; font-weight: 650; margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.hero__eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 4px rgba(53,163,76,.18); }
.hero h1 span { color: var(--brand-700); }
.hero__lead { font-size: clamp(1.08rem, 2vw, 1.22rem); color: var(--text-muted); max-width: 40ch; margin-bottom: 28px; }
.hero__points { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 10px; }
.hero__points li { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-weight: 550; }
.hero__points svg { width: 22px; height: 22px; color: var(--green-500); flex: none; margin-top: 2px; }
.hero__media { position: relative; }
.hero__card {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  transform: rotate(-2deg); border: 6px solid var(--surface);
}
.hero__badge {
  position: absolute; left: -14px; bottom: -22px;
  background: var(--surface); border-radius: var(--radius); padding: 14px 18px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; border: 1px solid var(--border);
}
.hero__badge strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--brand-700); line-height: 1; }
.hero__badge span { font-size: .85rem; color: var(--text-muted); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(900px 340px at 90% -20%, rgba(53, 163, 76, .16), transparent 60%),
    linear-gradient(180deg, var(--green-50), var(--bg));
  padding: clamp(40px, 7vw, 76px) 0 clamp(32px, 5vw, 52px);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin-bottom: .35em; }
.page-hero p { color: var(--text-muted); font-size: clamp(1.05rem, 2vw, 1.18rem); max-width: 62ch; margin: 0; }
.breadcrumb { font-size: .875rem; color: var(--text-muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand-700); }

/* ---------- Sections ---------- */
.section { padding: clamp(52px, 8vw, 96px) 0; }
.section--alt { background: var(--surface-alt); }
.section--tint { background: var(--green-50); }
.section__head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 44px); }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-700); margin-bottom: 10px;
}
.section__head p { color: var(--text-muted); font-size: 1.1rem; }

/* ---------- Grids / cards ---------- */
.grid { display: grid; gap: clamp(16px, 2.5vw, 24px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: clamp(20px, 3vw, 28px); box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.card--hover:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #cfd8cb; }
.card h3 { margin-bottom: .45em; }
.card p:last-child, .card ul:last-child, .card ol:last-child { margin-bottom: 0; }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--green-100); color: var(--green-700); margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card__icon--brand { background: var(--brand-100); color: var(--brand-700); }
.card__icon--water { background: var(--water-100); color: var(--water-500); }
.card__icon--yellow { background: var(--yellow-100); color: #a07a0d; }
.card__num {
  font-family: var(--font-head); font-weight: 800; font-size: .85rem; color: var(--green-700);
  letter-spacing: .08em; margin-bottom: 8px; display: block;
}
.card__note { font-size: .9rem; color: var(--text-muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--top { align-items: start; }

/* ---------- Lists ---------- */
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: .7em; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e740c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat;
}
.num-list { list-style: none; padding: 0; counter-reset: n; }
.num-list > li { counter-increment: n; position: relative; padding-left: 46px; margin-bottom: 1em; }
.num-list > li::before {
  content: counter(n); position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand-100); color: var(--brand-700); font-weight: 750; font-size: .9rem; font-family: var(--font-head);
}
.alpha-list { list-style: upper-alpha; }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat {
  text-align: center; padding: 22px 12px; background: var(--surface); border-radius: var(--radius);
  border: 1px solid var(--border);
}
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(1.25rem, 3.5vw, 2.2rem); overflow-wrap: anywhere; color: var(--brand-700); line-height: 1.1; }
.stat span { color: var(--text-muted); font-size: .92rem; }

/* ---------- Callouts ---------- */
.callout {
  border-radius: var(--radius); padding: 18px 22px; margin: 0 0 1.4em;
  background: var(--yellow-100); border: 1px solid #f0dfa2; color: #5b4a12;
  display: flex; gap: 14px; align-items: flex-start;
}
.callout svg { width: 22px; height: 22px; flex: none; margin-top: 3px; color: #b58b12; }
.callout strong { color: #4a3c0e; }
.callout p:last-child { margin-bottom: 0; }
.callout--info { background: var(--water-100); border-color: #c4e2e6; color: #1f4a51; }
.callout--info svg { color: var(--water-500); }
.callout--info strong { color: #173d43; }
.callout--green { background: var(--green-100); border-color: #cfe4c6; color: #2c4f25; }
.callout--green svg { color: var(--green-700); }
.callout--green strong { color: #23421d; }

/* ---------- Steps / flow ---------- */
.steps { display: grid; gap: 16px; counter-reset: s; }
.step {
  display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px;
}
.step__num {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.35rem;
  background: var(--brand-700); color: #fff;
}
.step h3 { margin-bottom: .35em; }
.step p:last-child { margin-bottom: 0; }
.outcome { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600;
  padding: 5px 12px; border-radius: 999px; background: var(--surface-alt); border: 1px solid var(--border); color: var(--text);
}
.tag--yes { background: var(--yellow-100); border-color: #f0dfa2; }
.tag--no { background: var(--green-100); border-color: #cfe4c6; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: .97rem; min-width: 560px; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border); }
th { background: var(--brand-100); color: var(--brand-900); font-weight: 700; font-size: .88rem; letter-spacing: .02em; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: #f9faf7; }
td.highlight { font-weight: 700; color: var(--brand-700); }
caption { caption-side: bottom; text-align: left; padding: 12px 16px; font-size: .88rem; color: var(--text-muted); }

/* ---------- Meter diagram ---------- */
.meter {
  display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; margin: 1em 0;
}
.meter__cell { text-align: center; }
.meter__digit {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-weight: 700; font-size: 1.3rem;
  padding: 10px 0; border-radius: 6px;
}
.meter__digit--black { background: #2b3443; color: #fdfdfb; }
.meter__digit--red { background: #c8504a; color: #fdfdfb; }
.meter__label { font-size: .75rem; color: var(--text-muted); margin-top: 5px; display: block; }

/* ---------- Pricing ---------- */
.price-card { display: flex; flex-direction: column; }
.price-card .price {
  font-family: var(--font-head); font-weight: 800; font-size: 2.3rem; color: var(--brand-700); line-height: 1.1; margin: 4px 0 6px;
}
.price-card .price small { font-size: .95rem; color: var(--text-muted); font-weight: 600; }
.price-card ul { margin-top: auto; }
.price-card--featured { border: 2px solid var(--green-500); box-shadow: var(--shadow); position: relative; }
.ribbon {
  position: absolute; top: -13px; left: 24px; background: var(--green-500); color: #fff;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px;
}

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gallery figure { margin: 0; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.gallery__btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery img, .gallery video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { padding: 14px 16px; font-size: .95rem; }
.gallery figcaption strong { display: block; }
.gallery figcaption span { color: var(--text-muted); font-size: .88rem; }

.lightbox {
  border: 0; padding: 0; background: transparent; max-width: min(92vw, 1100px); max-height: 92vh;
}
.lightbox::backdrop { background: rgba(12, 32, 18, .82); }
.lightbox img { max-height: 84vh; width: auto; margin: 0 auto; border-radius: var(--radius); }
.lightbox__caption { color: #fff; text-align: center; margin-top: 10px; }
.lightbox__close {
  position: fixed; top: 16px; right: 16px; width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.92); color: var(--heading); font-size: 1.6rem; cursor: pointer; line-height: 1;
}

/* ---------- Logos / reference list ---------- */
.client-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.client-list li {
  margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 13px 16px; font-weight: 600; color: var(--heading); display: flex; gap: 10px; align-items: center;
}
.client-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); flex: none; }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.contact-list li {
  margin: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 16px;
}
.contact-list a { font-weight: 600; text-decoration: none; white-space: nowrap; }
.contact-list .who { font-weight: 600; color: var(--heading); }
.contact-list .who small { display: block; color: var(--text-muted); font-weight: 500; }

/* ---------- Legal / prose ---------- */
.prose h2 { margin-top: 1.6em; font-size: clamp(1.35rem, 2.6vw, 1.7rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose blockquote {
  margin: 0 0 1.2em; padding: 16px 20px; border-left: 4px solid var(--brand-500);
  background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--text-muted); font-size: .97rem;
}
.terms-list { list-style: none; padding: 0; counter-reset: t; }
.terms-list > li {
  counter-increment: t; position: relative; padding: 0 0 0 44px; margin-bottom: 1.1em;
}
.terms-list > li::before {
  content: counter(t) "."; position: absolute; left: 0; top: 0; font-weight: 750; color: var(--brand-700);
  font-family: var(--font-head); min-width: 32px;
}
.terms-list.continue-11 { counter-reset: t 11; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.toc a {
  font-size: .9rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; text-decoration: none;
  background: var(--surface); border: 1px solid var(--border); color: var(--brand-700);
}
.toc a:hover { background: var(--brand-100); }

/* ---------- FAQ / accordion ---------- */
.accordion { display: grid; gap: 12px; }
.accordion details {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.accordion summary {
  cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; position: relative;
  font-family: var(--font-head); font-weight: 700; color: var(--heading); font-size: 1.05rem;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2.5px solid var(--brand-500); border-bottom: 2.5px solid var(--brand-500); transform: rotate(45deg); transition: transform .2s;
}
.accordion details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.accordion details[open] summary { border-bottom: 1px solid var(--border); }
.accordion .acc-body { padding: 18px 22px 8px; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 300px at 100% 0%, rgba(242, 201, 76, .18), transparent 60%),
    linear-gradient(135deg, var(--brand-900), var(--brand-700));
  color: #e6f1e8; border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 52px);
  display: grid; grid-template-columns: 1.4fr auto; gap: 24px; align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; color: #cfe3d3; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.info-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--border); }
.info-item:last-child { border-bottom: 0; }
.info-item .card__icon { margin: 0; width: 44px; height: 44px; border-radius: 12px; flex: none; }
.info-item .card__icon svg { width: 22px; height: 22px; }
.info-item h3 { font-size: 1rem; margin-bottom: 2px; }
.info-item p { margin: 0; color: var(--text-muted); }
.info-item a { font-weight: 600; text-decoration: none; }
.hours { width: 100%; border-collapse: collapse; min-width: 0; font-size: .95rem; }
.hours td { padding: 8px 0; border-bottom: 1px dashed var(--border); }
.hours td:last-child { text-align: right; font-weight: 600; color: var(--heading); }
.hours tr:last-child td { border-bottom: 0; }
.hours tbody tr:nth-child(even) { background: none; }

.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-weight: 600; font-size: .93rem; margin-bottom: 6px; color: var(--heading); }
.field label .req { color: #b4473f; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 14px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 4px rgba(53, 163, 76, .15); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #d27c74; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; }
.checkbox input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--brand-700); flex: none; }
.form__note { font-size: .85rem; color: var(--text-muted); margin: 0; }
.form__status { font-weight: 600; color: var(--green-700); min-height: 1.4em; margin: 0; }

.qr { display: flex; gap: 18px; align-items: center; }
.qr img { width: 120px; height: 120px; background: #fff; border-radius: 10px; padding: 6px; border: 1px solid var(--border); flex: none; }

.payments { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.payments img { width: 220px; background: #fff; border-radius: 10px; padding: 8px 12px; border: 1px solid var(--border); }

/* ---------- Footer ---------- */
.site-footer { background: #12301c; color: #b8c9bd; padding: clamp(48px, 7vw, 72px) 0 0; margin-top: clamp(52px, 8vw, 96px); font-size: .95rem; }
.site-footer.flush { margin-top: 0; }
.site-footer a { color: #e2ece4; text-decoration: none; }
.site-footer a:hover { color: var(--yellow-400); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer h3 { color: #fff; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .brand__word { color: #fff; }
.site-footer .brand__sub { color: #b8c9bd; }
.footer-tagline { font-style: italic; color: var(--yellow-400); margin-top: 14px; }
.footer-bottom {
  margin-top: 40px; border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; color: #8fa596;
}
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); }
.social a:hover { background: rgba(255,255,255,.14); }
.social svg { width: 19px; height: 19px; }

/* ---------- Mobile action bar ---------- */
.mobile-bar { display: none; }

/* ---------- Floating WhatsApp ---------- */
.fab-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #3fae5c; color: #fff; box-shadow: 0 8px 24px rgba(20, 48, 28, .22);
  transition: transform .2s;
}
.fab-wa:hover { transform: scale(1.06); color: #fff; }
.fab-wa svg { width: 30px; height: 30px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--nav-top, var(--header-h)) 0 0 0; z-index: 99;
    background: var(--surface); flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 120px; overflow-y: auto;
    transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s;
  }
  /* backdrop-filter would trap the fixed menu panel inside the header box */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--surface); }
  .nav-open .nav { transform: none; visibility: visible; }
  .nav-open { overflow: hidden; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { border-bottom: 1px solid var(--border); }
  .nav__link { padding: 14px 6px; font-size: 1.05rem; border-radius: 0; }
  .nav__link:hover, .nav__link[aria-current="page"] { background: none; }
  /* Phone menu: list every page straight away; no collapsed "More" section */
  .nav__list > li.nav__has-dropdown { border-bottom: 0; }
  .nav__dropdown-toggle { display: none; }
  .nav__dropdown,
  .nav__has-dropdown:hover .nav__dropdown,
  .nav__has-dropdown.is-open .nav__dropdown {
    display: block; position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-radius: 0; padding: 0; min-width: 0; background: transparent;
  }
  .nav__dropdown > li { border-bottom: 1px solid var(--border); margin: 0; }
  .nav__dropdown .nav__link { padding: 14px 6px; font-size: 1.05rem; color: var(--text); }
  .nav__dropdown .nav__link:hover, .nav__dropdown .nav__link[aria-current="page"] { color: var(--brand-700); }
  .nav__cta { margin: 20px 0 0; }
  .nav__cta .btn { width: 100%; }

  .hero .container, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 520px; margin: 12px auto 0; }
  .grid--3, .gallery, .client-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 1rem; padding-bottom: 66px; }
  .topbar__tagline { display: none; }
  .topbar .container { justify-content: center; }
  .grid--2, .grid--3, .grid--4, .gallery, .form__row { grid-template-columns: 1fr; }
  .client-list { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 12px; padding: 18px; }
  .step__num { width: 44px; height: 44px; font-size: 1.1rem; border-radius: 12px; }
  .meter { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero__badge { left: 8px; bottom: -18px; padding: 10px 14px; }
  .hero__card { transform: none; }
  .btn-row .btn { flex: 1 1 auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .qr { flex-direction: column; align-items: flex-start; }
  .fab-wa { display: none; }

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(253, 253, 251, .96); border-top: 1px solid var(--border);
    box-shadow: 0 -6px 20px rgba(20, 48, 28, .08);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  }
  .mobile-bar .btn { padding: 12px 10px; width: 100%; }
}

@media (max-width: 400px) {
  .brand__word { font-size: 1.55rem; }
  .brand__sub { font-size: .55rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .topbar, .site-header, .site-footer, .mobile-bar, .fab-wa, .cta-band { display: none !important; }
  body { background: #fff; }
}
