/* ==========================================================================
   MoistureFix — Damp, Mould & Water Damage Specialists
   Brand tokens taken from the official logo (moisturefix-logo1.svg)
   ========================================================================== */

:root {
  /* Brand */
  --mf-blue: #2676bf;        /* logo "Moisture" blue — primary */
  --mf-blue-700: #1c5f9f;    /* hover / pressed */
  --mf-blue-sky: #54ade6;    /* logo droplet light blue — accents on dark */
  --mf-blue-50: #eaf3fb;
  --mf-blue-100: #d4e7f7;
  --mf-slate: #656a75;       /* logo "Fix" grey */
  --mf-navy: #0b2545;        /* dark navy from brand posters */
  --mf-navy-800: #102f57;

  /* Semantic */
  --color-bg: #ffffff;
  --color-surface: #f4f7fb;
  --color-ink: #0f1b2d;
  --color-text: #2b3646;
  --color-muted: #566070;
  --color-border: #dbe3ee;
  --color-primary: var(--mf-blue);
  --color-on-primary: #ffffff;
  --color-whatsapp: #15803d;     /* AA contrast with white text */
  --color-whatsapp-700: #116632;
  --color-focus: #2676bf;

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

  /* Spacing (8pt) */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 37, 69, .06), 0 1px 3px rgba(11, 37, 69, .08);
  --shadow: 0 6px 18px rgba(11, 37, 69, .08), 0 2px 6px rgba(11, 37, 69, .06);
  --shadow-lg: 0 24px 48px rgba(11, 37, 69, .16);

  --container: 1200px;
  --header-h: 76px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);

  /* z-index scale */
  --z-header: 100;
  --z-float: 200;
  --z-menu: 300;
}

/* ---------- Reset ---------- */
*, *::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: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--color-primary); text-underline-offset: 3px; }
a:hover { color: var(--mf-blue-700); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--color-ink);
  line-height: 1.15;
  margin: 0 0 var(--space-4);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 var(--space-4); }
ul { padding-left: 1.2em; }

:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--mf-blue-sky); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--mf-navy); color: #fff; padding: 12px 18px; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: clamp(56px, 8vw, var(--space-9)); }
.section--surface { background: var(--color-surface); }
.section--navy { background: var(--mf-navy); color: #c9d6e8; }
.section--navy h2, .section--navy h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: var(--space-7); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.075rem; color: var(--color-muted); }
.section--navy .section-head p { color: #b6c5da; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: currentColor; }
.section--navy .eyebrow, .on-dark .eyebrow { color: var(--mf-blue-sky); }

.grid { display: grid; gap: var(--space-5); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--color-primary); --btn-fg: var(--color-on-primary); --btn-bg-hover: var(--mf-blue-700);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 24px;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 2px solid var(--btn-bg); border-radius: 999px;
  cursor: pointer; touch-action: manipulation;
  transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out), color .2s, box-shadow .2s, transform .15s;
}
.btn:hover { background: var(--btn-bg-hover); border-color: var(--btn-bg-hover); color: var(--btn-fg); box-shadow: var(--shadow); }
.btn:active { transform: scale(.98); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--whatsapp { --btn-bg: var(--color-whatsapp); --btn-bg-hover: var(--color-whatsapp-700); }
.btn--outline { --btn-fg: var(--color-primary); background: transparent; }
.btn--outline:hover { --btn-fg: #fff; background: var(--color-primary); border-color: var(--color-primary); }
.btn--ghost-light { --btn-fg: #fff; background: transparent; border-color: rgba(255,255,255,.55); }
.btn--ghost-light:hover { background: #fff; border-color: #fff; color: var(--mf-navy); }
.btn--white { --btn-bg: #fff; --btn-fg: var(--mf-navy); --btn-bg-hover: var(--mf-blue-50); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: .925rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 700; text-decoration: none;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--mf-navy); color: #c9d6e8; font-size: .875rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--mf-blue-sky); }
.topbar__live { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; }
.topbar__links { display: flex; gap: 20px; align-items: center; }
.topbar__live, .topbar__links > * { white-space: nowrap; }
@media (max-width: 1100px) { .topbar__links > span.hide-sm { display: none; } }
.topbar__links a { display: inline-flex; align-items: center; gap: 6px; }
.topbar__links svg { width: 16px; height: 16px; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: #fff; /* no backdrop-filter: it would trap the fixed mobile menu inside the header */
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--color-border); box-shadow: var(--shadow-sm); }
.site-header .container { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; flex: none; }
.brand img { height: 54px; width: auto; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 14px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  color: var(--color-ink); text-decoration: none; background: none; border: 0; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.nav__link:hover, .nav__link[aria-expanded="true"] { background: var(--mf-blue-50); color: var(--color-primary); }
.nav__link[aria-current="page"] { color: var(--color-primary); }
.nav__link[data-current="true"] { color: var(--color-primary); }
.nav__link svg { width: 16px; height: 16px; transition: transform .2s; }
.nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px);
  width: 560px; padding: 12px;
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; visibility: hidden; transition: opacity .18s var(--ease-out), transform .18s var(--ease-out), visibility .18s;
}
.dropdown.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a {
  display: flex; gap: 12px; padding: 12px; border-radius: 10px; text-decoration: none; color: var(--color-ink);
  transition: background-color .15s;
}
.dropdown a:hover { background: var(--color-surface); }
.dropdown strong { display: block; font-family: var(--font-head); font-size: .95rem; }
.dropdown span { display: block; font-size: .825rem; color: var(--color-muted); line-height: 1.45; }
.dropdown .icon-badge { display: inline-flex; width: 40px; height: 40px; flex: none; }
.dropdown .icon-badge svg { width: 20px; height: 20px; }
.dropdown__all { grid-column: 1 / -1; justify-content: center; font-weight: 700; color: var(--color-primary) !important; background: var(--mf-blue-50); }

.header-cta { display: flex; align-items: center; gap: 10px; }
.header-phone { display: flex; flex-direction: column; text-decoration: none; line-height: 1.2; text-align: right; }
.header-phone small { font-size: .75rem; color: var(--color-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.header-phone strong { font-family: var(--font-head); font-size: 1.15rem; color: var(--color-ink); }
.header-phone:hover strong { color: var(--color-primary); }

.menu-toggle {
  display: none; margin-left: auto;
  width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--color-border);
  background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle svg { width: 24px; height: 24px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Icon badge ---------- */
.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--color-primary); color: #fff;
}
.icon-badge svg { width: 26px; height: 26px; }
.icon-badge--soft { background: var(--mf-blue-50); color: var(--color-primary); }
.icon-badge--navy { background: var(--mf-navy); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(84,173,230,.20), transparent 60%),
    linear-gradient(180deg, #f4f8fc 0%, #ffffff 100%);
  padding-block: clamp(40px, 6vw, 80px) clamp(56px, 7vw, 96px);
}
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 span { color: var(--color-primary); }
.hero__lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--color-muted); max-width: 560px; margin-bottom: var(--space-6); }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: var(--space-6); padding: 0; list-style: none; }
.hero__chips li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--color-ink); font-size: .95rem; }
.hero__chips svg { width: 20px; height: 20px; color: var(--color-primary); flex: none; }

.hero__media { position: relative; }
.hero__photo {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5; background: var(--mf-blue-50);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.float-card {
  position: absolute; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 14px 18px; display: flex; align-items: center; gap: 14px;
}
.float-card strong { display: block; font-family: var(--font-head); color: var(--color-ink); line-height: 1.2; }
.float-card span { font-size: .85rem; color: var(--color-muted); }
.float-card--emergency { right: -16px; top: 28px; background: var(--mf-navy); }
.float-card--emergency strong { color: #fff; }
.float-card--emergency span { color: #b6c5da; }

/* ---------- Problem picker ---------- */
.picker { margin-top: -48px; position: relative; z-index: 2; }
.picker__panel {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: clamp(20px, 3vw, 32px); border: 1px solid var(--color-border);
}
.picker__panel > h2 { font-size: 1.25rem; margin-bottom: var(--space-4); }
.picker__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.picker__item {
  display: flex; align-items: center; gap: 14px; padding: 16px;
  border: 1px solid var(--color-border); border-radius: var(--radius);
  text-decoration: none; color: var(--color-ink); font-family: var(--font-head); font-weight: 700; line-height: 1.3;
  transition: border-color .2s, background-color .2s, transform .2s var(--ease-out);
}
.picker__item:hover { border-color: var(--color-primary); background: var(--mf-blue-50); color: var(--color-ink); }
.picker__item .icon-badge { width: 46px; height: 46px; flex: none; }
.picker__item .icon-badge svg { width: 22px; height: 22px; }
.picker__item small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .825rem; color: var(--color-muted); }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.check-list { list-style: none; padding: 0; margin: 0 0 var(--space-6); display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list li > svg { width: 24px; height: 24px; flex: none; color: var(--color-primary); margin-top: 2px; }
.check-list strong { display: block; color: var(--color-ink); font-family: var(--font-head); }
.check-list span { color: var(--color-muted); }
.section--navy .check-list strong { color: #fff; }
.section--navy .check-list span { color: #b6c5da; }
.section--navy .check-list li > svg { color: var(--mf-blue-sky); }


/* ---------- Process ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); counter-reset: step; }
.step { position: relative; padding: 28px 24px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--color-border); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; line-height: 1;
  color: var(--mf-blue-100); margin-bottom: var(--space-4);
}
.step h3 { font-size: 1.1rem; }
.step p { color: var(--color-muted); margin: 0; font-size: .95rem; }
.section--navy .step { background: var(--mf-navy-800); border-color: rgba(255,255,255,.08); }
.section--navy .step::before { color: var(--mf-blue-sky); opacity: .55; }
.section--navy .step p { color: #b6c5da; }

/* ---------- Values strip ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
.value { text-align: center; padding: 8px; }
.value .icon-badge { margin: 0 auto var(--space-4); width: 64px; height: 64px; }
.value .icon-badge svg { width: 30px; height: 30px; }
.value h3 { font-size: 1.05rem; margin-bottom: 6px; }
.value p { color: var(--color-muted); font-size: .95rem; margin: 0; }

/* ---------- Google rating & reviews ---------- */
.stars { color: #f5b301; letter-spacing: 2px; font-size: 1rem; line-height: 1; }
.stars--lg { font-size: 1.5rem; display: block; margin-bottom: 6px; }
.g-logo {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 26px; height: 26px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 1px rgba(11,37,69,.12), 0 1px 3px rgba(11,37,69,.12);
}
.g-logo svg { width: 15px; height: 15px; }
.g-summary__logo .g-logo { width: 56px; height: 56px; }
.g-summary__logo .g-logo svg { width: 30px; height: 30px; }
.review__top { display: flex; justify-content: space-between; align-items: center; }
.g-chip { display: inline-flex; align-items: center; gap: 8px; color: var(--color-ink); text-decoration: none; font-weight: 600; }
.g-chip:hover { color: var(--color-primary); text-decoration: underline; }
.g-summary {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 64px); align-items: center;
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow);
}
.g-summary h2 { margin-bottom: 10px; }
.g-summary p { color: var(--color-muted); }
.g-summary__score {
  display: flex; align-items: center; gap: 18px; padding-right: clamp(0px, 4vw, 56px);
  border-right: 1px solid var(--color-border);
}
.g-summary__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(3.5rem, 7vw, 5rem); line-height: 1; color: var(--color-ink); }
.g-summary__count { display: block; font-size: .9rem; color: var(--color-muted); font-weight: 600; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: var(--space-5); margin-top: var(--space-6); }
.review { margin: 0; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.review blockquote { margin: 0; color: var(--color-text); flex: 1; }
.review figcaption { font-family: var(--font-head); font-weight: 700; color: var(--color-ink); font-size: .95rem; }
.footer-rating { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; }

/* ---------- Insurance band ---------- */
.band {
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--color-primary), #1b5c9a);
  color: #e6f0fa;
}
.band h2 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 6px; }
.band p { margin: 0; color: #dbe8f5; }
.band .icon-badge { width: 72px; height: 72px; background: rgba(255,255,255,.14); }
.band .icon-badge svg { width: 34px; height: 34px; }

/* ---------- Areas ---------- */
.areas { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.areas li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--color-border);
  font-weight: 600; color: var(--color-ink); font-size: .95rem;
}
.areas svg { width: 16px; height: 16px; color: var(--color-primary); }
.areas li.is-primary { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.areas li.is-primary svg { color: #fff; }
.map-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--mf-navy);
  aspect-ratio: 4 / 3; display: grid; place-items: center; box-shadow: var(--shadow-lg);
}
.map-card svg { width: 100%; height: 100%; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--mf-blue-100); box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 24px; display: flex; justify-content: space-between; gap: 16px; align-items: center;
  font-family: var(--font-head); font-weight: 700; color: var(--color-ink); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex: none; color: var(--color-primary); transition: transform .25s var(--ease-out); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .faq__a { padding: 0 24px 20px; color: var(--color-muted); }
.faq .faq__a p:last-child { margin: 0; }

/* ---------- CTA section ---------- */
.cta {
  position: relative; overflow: hidden;
  background: var(--mf-navy); color: #c9d6e8;
  border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 64px);
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center;
}
.cta::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(84,173,230,.28), transparent 70%); pointer-events: none;
}
.cta h2 { color: #fff; }
.cta p { color: #b6c5da; font-size: 1.075rem; }
.cta__phone { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: var(--mf-blue-sky); text-decoration: none; display: inline-block; margin-bottom: var(--space-4); line-height: 1.1; }
.cta__phone:hover { color: #fff; }
.cta__actions { display: grid; gap: 12px; position: relative; z-index: 1; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(900px 400px at 90% 0%, rgba(84,173,230,.25), transparent 60%),
    var(--mf-navy);
  color: #c9d6e8; padding-block: clamp(48px, 7vw, 88px);
}
.page-hero h1 { color: #fff; max-width: 820px; }
.page-hero p { font-size: 1.125rem; max-width: 680px; color: #b6c5da; }
.page-hero .btn-row { margin-top: var(--space-6); }
.breadcrumb { list-style: none; padding: 0; margin: 0 0 var(--space-5); display: flex; flex-wrap: wrap; gap: 8px; font-size: .875rem; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; color: #93a6c1; }
.breadcrumb li + li::before { content: "/"; color: #5f7596; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { color: var(--mf-blue-sky); text-decoration: underline; }

/* ---------- Service detail blocks ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: #fff; border-bottom: 1px solid var(--color-border); }
.subnav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: inline-flex; white-space: nowrap; padding: 8px 16px; border-radius: 999px; min-height: 40px; align-items: center;
  text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--color-ink); background: var(--color-surface);
}
.subnav a:hover { background: var(--mf-blue-50); color: var(--color-primary); }

.detail { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.detail__head p { color: var(--color-muted); font-size: 1.05rem; }
.detail__box { background: var(--color-surface); border-radius: var(--radius-lg); padding: 28px; }
.detail__box h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--color-primary); margin-bottom: var(--space-4); }
.detail__box .check-list { margin: 0; }

.signs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.sign { display: flex; gap: 12px; align-items: center; padding: 16px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); font-weight: 600; color: var(--color-ink); }
.sign svg { width: 22px; height: 22px; color: var(--color-primary); flex: none; }

.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.related a {
  display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--color-border); text-decoration: none; color: var(--color-ink);
  transition: border-color .2s, box-shadow .2s;
}
.related a:hover { border-color: var(--color-primary); box-shadow: var(--shadow); color: var(--color-ink); }
.related strong { font-family: var(--font-head); }
.related span { font-size: .9rem; color: var(--color-muted); }

/* ---------- Equipment / about ---------- */
.equip { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: var(--space-5); }
.equip__item { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 26px; }
.equip__item .icon-badge { margin-bottom: var(--space-4); }
.equip__item p { color: var(--color-muted); margin: 0; font-size: .95rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-card {
  display: flex; gap: 16px; align-items: center; padding: 22px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--color-border); text-decoration: none; color: var(--color-ink);
  transition: border-color .2s, box-shadow .2s;
}
.contact-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow); color: var(--color-ink); }
.contact-card strong { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--color-ink); }
.contact-card span span { color: var(--color-muted); font-size: .925rem; }
.contact-card .icon-badge { flex: none; }
.contact-card--wa { background: #f0fbf4; border-color: #bfe8cd; }
.contact-card--wa .icon-badge { background: var(--color-whatsapp); }
.contact-card--wa:hover { border-color: var(--color-whatsapp); }
.contact-stack { display: grid; gap: 14px; }

.form-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; color: var(--color-ink); font-size: .95rem; }
.field .req { color: #b42318; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font-size: 1rem;
  border: 1.5px solid #c5d1e0; border-radius: 10px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(38,118,191,.18); }
.field .hint { font-size: .85rem; color: var(--color-muted); }
.field .error { display: none; font-size: .875rem; color: #b42318; font-weight: 600; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #b42318; }
.field.is-invalid .error { display: block; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.radio-pill span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px;
  border: 1.5px solid #c5d1e0; font-weight: 600; font-size: .925rem; background: #fff; transition: all .15s;
}
.radio-pill input:checked + span { border-color: var(--color-primary); background: var(--mf-blue-50); color: var(--color-primary); }
.radio-pill input:focus-visible + span { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.form-status { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-weight: 600; }
.form-status.is-success { display: block; background: #ecfdf3; color: #05603a; border: 1px solid #abefc6; }
.form-status.is-error { display: block; background: #fef3f2; color: #b42318; border: 1px solid #fecdca; }
.form-note { font-size: .85rem; color: var(--color-muted); margin-top: 12px; }



/* ---------- Inner page hero with photo ---------- */
.page-hero--media .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.page-hero__media img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: 0 24px 48px rgba(0,0,0,.3); }

/* ---------- Photo zoom (tap to enlarge) ---------- */
.zoom { position: relative; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.zoom img { width: 100%; height: 100%; object-fit: cover; }
.zoom__icon {
  position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(11,37,69,.72); color: #fff;
  opacity: 0; transition: opacity .2s;
}
.zoom__icon svg { width: 18px; height: 18px; }
.zoom:hover .zoom__icon, .zoom:focus-visible .zoom__icon { opacity: 1; }
@media (hover: none) { .zoom__icon { opacity: .9; } }

/* ---------- Service photo cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: var(--space-5); }
.svc-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--color-ink);
  transition: box-shadow .25s var(--ease-out), transform .25s var(--ease-out), border-color .25s;
}
.svc-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--mf-blue-100); color: var(--color-ink); }
.svc-card__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--color-surface); }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.svc-card:hover .svc-card__img img { transform: scale(1.04); }
.svc-card__body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 0 26px 26px; }
.svc-card__icon { margin-top: -28px; margin-bottom: 14px; border: 4px solid #fff; box-sizing: content-box; }
.svc-card__title { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; line-height: 1.25; margin-bottom: 8px; }
.svc-card__text { display: block; color: var(--color-muted); margin-bottom: 18px; }
.svc-card .link-arrow { margin-top: auto; color: var(--color-primary); }

/* ---------- Section head with a link on the right ---------- */
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.section-head--row h2 { margin-bottom: 0; }

/* ---------- Leak detection story (3 steps) ---------- */
.story { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: var(--space-5); }
.story__img { position: relative; aspect-ratio: 4 / 3.6; border-radius: var(--radius-lg); overflow: hidden; background: var(--color-border); }
.story__num {
  position: absolute; top: 14px; left: 14px; z-index: 1; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: var(--color-primary); color: #fff; border: 3px solid #fff;
  font-family: var(--font-head); font-weight: 800; pointer-events: none;
}
.story__step h3 { font-size: 1.1rem; margin: var(--space-4) 0 6px; }
.story__step p { color: var(--color-muted); margin: 0; }
.story__more { margin: var(--space-6) 0 0; }

/* ---------- Before / after pairs ---------- */
.ba-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: var(--space-5); }
.ba-pair { margin: 0; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 10px; }
.ba-pair__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ba-pair__imgs > div { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--color-surface); }
.ba-pair figcaption { font-family: var(--font-head); font-weight: 700; color: var(--color-ink); padding: 14px 8px 6px; }
.ba-tag {
  position: absolute; top: 10px; left: 10px; z-index: 1; padding: 4px 10px; border-radius: 999px; pointer-events: none;
  font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  background: var(--mf-navy); color: #fff;
}
.ba-tag--after { background: var(--color-primary); }

/* ---------- Case studies ---------- */
.case-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: var(--space-5); }
.case { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; }
.case[hidden] { display: none; }
.case__main { aspect-ratio: 4 / 3; overflow: hidden; background: var(--color-surface); }
.case__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; aspect-ratio: 4 / 3; background: var(--color-border); }
.case__pair figure { position: relative; margin: 0; overflow: hidden; }
.case__body { display: flex; flex-direction: column; flex: 1; padding: 20px 24px 24px; }
.case__thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--space-4); }
.case__thumb { position: relative; width: 64px; height: 64px; flex: none; border-radius: 10px; overflow: hidden; }
.case__thumb .zoom__icon { display: none; }
.case__thumb .ba-tag { top: 4px; left: 4px; padding: 2px 6px; font-size: .58rem; }
.case__title { font-size: 1.15rem; margin-bottom: 8px; }
.case .case__area { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 6px; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--color-primary); }
.case__area svg { width: 15px; height: 15px; }
.case p { color: var(--color-muted); font-size: .95rem; }
.case__svc {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 40px;
  padding: 8px 14px; border-radius: 999px; background: var(--mf-blue-50); color: var(--color-primary);
  font-weight: 600; font-size: .875rem; text-decoration: none;
}
.case__svc svg { width: 16px; height: 16px; }
.case__svc:hover { background: var(--mf-blue-100); }
.case--cta { background: var(--mf-blue-50); border-color: var(--mf-blue-100); }
.case--cta .case__body { justify-content: center; padding: 28px; }
.case--cta .icon-badge { margin-bottom: var(--space-4); }
.case--cta .btn { margin-top: var(--space-4); white-space: normal; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: var(--space-6); }
.filter {
  min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--color-border); background: #fff;
  font-family: var(--font-head); font-weight: 600; color: var(--color-ink); cursor: pointer; transition: all .15s;
}
.filter:hover { border-color: var(--color-primary); color: var(--color-primary); }
.filter[aria-pressed="true"] { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

/* ---------- Feature cards (service detail) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: var(--space-5); }
.feature-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.feature { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; }
.feature__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--color-surface); }
.feature__body { padding: 22px 24px 24px; }
.feature__body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature__body p { color: var(--color-muted); margin: 0; font-size: .95rem; }

/* ---------- Photo gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery__item { aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--color-surface); }

/* ---------- Advice cards ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--space-5); }
.guide-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  overflow: hidden; text-decoration: none; color: var(--color-ink); transition: box-shadow .25s var(--ease-out), transform .25s var(--ease-out);
}
.guide-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); color: var(--color-ink); }
.guide-card__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--color-surface); }
.guide-card__img img { width: 100%; height: 100%; object-fit: cover; }
.guide-card__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; }
.guide-card__meta { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; color: var(--color-primary); }
.guide-card__meta svg { width: 16px; height: 16px; }
.guide-card__title { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; line-height: 1.3; margin: 0; color: var(--color-ink); }
.guide-card__text { color: var(--color-muted); font-size: .95rem; }
.related__title { font-size: 1.25rem; margin: var(--space-8) 0 var(--space-5); }

/* ---------- Articles ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.article { max-width: 760px; min-width: 0; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--color-muted); font-size: .9rem; margin-bottom: var(--space-5); }
.article-meta svg { width: 18px; height: 18px; color: var(--color-primary); }
.article-hero { margin: 0 0 var(--space-6); border-radius: var(--radius-lg); overflow: hidden; }
.article-hero img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.keypoints { background: var(--mf-blue-50); border-left: 4px solid var(--color-primary); border-radius: var(--radius); padding: 22px 24px; margin-bottom: var(--space-7); }
.keypoints h2 { font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; color: var(--color-primary); margin-bottom: var(--space-4); }
.keypoints .check-list { margin: 0; gap: 10px; }
.keypoints .check-list span { color: var(--color-text); }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.35rem, 2.2vw, 1.65rem); margin-top: var(--space-7); }
.prose > h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 var(--space-5); }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--color-ink); }
.article-fig { margin: var(--space-6) 0; }
.article-fig .zoom { border-radius: var(--radius-lg); overflow: hidden; }
.article-fig img { width: 100%; max-height: 520px; object-fit: cover; }
.article-fig figcaption { font-size: .9rem; color: var(--color-muted); margin-top: 10px; }
.table-wrap { overflow-x: auto; margin: 0 0 var(--space-5); border: 1px solid var(--color-border); border-radius: var(--radius); }
.prose table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--color-border); vertical-align: top; }
.prose th { background: var(--color-surface); font-family: var(--font-head); color: var(--color-ink); }
.prose tr:last-child td { border-bottom: 0; }
.article-cta { background: var(--mf-navy); color: #c9d6e8; border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 32px); margin-top: var(--space-7); }
.prose .article-cta h2 { color: #fff; margin-top: 0; font-size: 1.4rem; }
.article-cta p { color: #b6c5da; }
.article-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: var(--space-4); }
.side-card { display: grid; gap: 12px; background: var(--mf-navy); color: #c9d6e8; border-radius: var(--radius-lg); padding: 24px; }
.side-card h2 { color: #fff; font-size: 1.15rem; margin: 0; }
.side-card p { margin: 0; font-size: .95rem; }
.side-card--plain { background: var(--color-surface); color: var(--color-text); }
.side-card--plain h2 { color: var(--color-ink); }
.side-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.side-links a { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font-weight: 600; color: var(--color-ink); }
.side-links a:hover { color: var(--color-primary); }
.side-links svg { width: 20px; height: 20px; color: var(--color-primary); flex: none; }

/* ---------- Photo viewer ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(7, 26, 51, .9); }
.lightbox img { max-width: 92vw; max-height: 82vh; width: auto; height: auto; margin-inline: auto; border-radius: var(--radius); }
.lightbox__caption { color: #e6eef8; text-align: center; margin: 12px auto 0; max-width: 640px; font-size: .95rem; }
.lightbox__close {
  position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: #fff; color: var(--mf-navy);
}
.lightbox__close svg { width: 24px; height: 24px; }

/* ---------- Long-form text (privacy policy) ---------- */
.container.prose h2 { font-size: 1.35rem; margin-top: var(--space-6); }

/* ---------- Footer ---------- */
.site-footer { background: #071a33; color: #a9b9cf; padding-top: var(--space-8); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--space-6); padding-bottom: var(--space-7); }
.site-footer h2 { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: var(--space-4); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #d5e0ee; text-decoration: none; }
.site-footer a:hover { color: var(--mf-blue-sky); text-decoration: underline; }
.footer-brand img { height: 52px; width: auto; margin-bottom: var(--space-4); }
.footer-contact li { display: flex; gap: 10px; align-items: center; }
.footer-contact svg { width: 18px; height: 18px; color: var(--mf-blue-sky); flex: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-block: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; color: #8193ad; }

/* ---------- Floating / sticky actions ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: var(--z-float);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px 14px 16px; border-radius: 999px; background: var(--color-whatsapp); color: #fff;
  font-family: var(--font-head); font-weight: 700; text-decoration: none; box-shadow: 0 10px 30px rgba(21,128,61,.35);
  transition: transform .2s var(--ease-out), background-color .2s;
}
.wa-float:hover { background: var(--color-whatsapp-700); color: #fff; transform: translateY(-2px); }
.wa-float svg { width: 26px; height: 26px; }

.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-float);
  background: #fff; border-top: 1px solid var(--color-border); box-shadow: 0 -6px 20px rgba(11,37,69,.08);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  grid-template-columns: 1fr 1fr 1fr; gap: 8px;
}
.mobile-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 54px; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: .8rem; font-family: var(--font-head);
}
.mobile-bar svg { width: 22px; height: 22px; }
.mobile-bar .mb-call { background: var(--color-primary); color: #fff; }
.mobile-bar .mb-wa { background: var(--color-whatsapp); color: #fff; }
.mobile-bar .mb-quote { background: var(--mf-blue-50); color: var(--color-primary); }

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

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .header-phone { display: none; }
  .picker__grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); row-gap: var(--space-7); }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .brand img { height: 40px; }
  .menu-toggle { display: inline-flex; }
  .header-cta .btn { display: none; }
  .nav {
    position: fixed; top: var(--nav-top, 108px); left: 0; right: 0; bottom: 0; z-index: var(--z-menu);
    background: #fff; overflow-y: auto; padding: 16px 20px 120px; border-top: 1px solid var(--color-border);
    transform: translateX(100%); visibility: hidden; transition: transform .28s var(--ease-out), visibility .28s;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav__link { width: 100%; justify-content: space-between; padding: 16px; font-size: 1.05rem; border-radius: 12px; }
  .dropdown {
    position: static; transform: none; width: auto; box-shadow: none; border: 0; padding: 4px 0 8px 8px;
    grid-template-columns: 1fr; display: none; opacity: 1; visibility: visible;
  }
  .dropdown.is-open { display: grid; transform: none; }
  .nav__mobile-cta { display: grid !important; gap: 10px; margin-top: 16px; }

  .hero .container { grid-template-columns: 1fr; }
  .hero__media { max-width: 520px; margin-inline: auto; width: 100%; }
  .hero__photo { aspect-ratio: 4 / 3.4; }
    .float-card--emergency { right: 12px; top: 16px; }
  .split, .detail, .contact-grid, .cta { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .band { grid-template-columns: 1fr; text-align: left; }
  .g-summary { grid-template-columns: 1fr; }
  .g-summary__score { border-right: 0; padding-right: 0; padding-bottom: 20px; border-bottom: 1px solid var(--color-border); }
  .wa-float { display: none; }
  .mobile-bar { display: grid; }
  /* comfortable finger-sized tap targets (44px) on touch screens */
  .topbar a, .breadcrumb a, .link-arrow, .g-chip, .cta__phone, .brand, .subnav a {
    min-height: 44px; display: inline-flex; align-items: center;
  }
  .breadcrumb { gap: 0 8px; margin-bottom: var(--space-3); }
  body { padding-bottom: 80px; }
}

@media (max-width: 640px) {
  .topbar__links .hide-sm { display: none; }
  .topbar { font-size: .875rem; }
  .topbar__live { font-size: .8125rem; }
  .picker { margin-top: -32px; }
  .picker__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
  .float-card { padding: 10px 14px; }
}


@media (max-width: 1180px) { .nav__link { padding: 10px 11px; } }
@media (max-width: 960px) {
  .page-hero--media .container { grid-template-columns: 1fr; }
  .page-hero__media { max-width: 560px; }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-side { position: static; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .page-hero__media img { aspect-ratio: 4 / 3; }
}

@media (min-width: 961px) { .nav__mobile-cta { display: none !important; } }

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