/* ==========================================================================
   Ocean Bright Cleaning Services
   Design system: "Trust & Authority + Conversion"
   Brand: navy + bright blue (from logo). All colour pairs verified >= 4.5:1.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand ramp — sampled from the logo wave */
  --brand-900: #06214a;
  --brand-800: #0a2e63;
  --brand-700: #0e3d82;
  --brand-600: #1358b0; /* primary — 6.9:1 on white */
  --brand-500: #1e74da; /* accent */
  --brand-400: #4a9bee;
  --brand-200: #b9d5f6;
  --brand-100: #e3eefb;
  --brand-50:  #f2f7fd;

  /* Semantic — light */
  --bg:            #f7faff;
  --bg-alt:        #edf4fd;
  --surface:       #ffffff;
  --surface-2:     #f4f8fe;
  --text:          #0f1b2d; /* 16.1:1 on --bg */
  --text-muted:    #4a5a72; /* 6.7:1  on --bg */
  --text-subtle:   #5b6b83; /* 5.3:1  on --bg */
  --border:        #d6e3f5;
  --border-strong: #b9cde8;
  --primary:       var(--brand-600);
  --primary-hover: var(--brand-700);
  --on-primary:    #ffffff;
  --accent:        var(--brand-500);
  --success:       #0f7a4d;
  --danger:        #c02626;
  --focus:         #0e3d82;
  --scrim:         rgba(6, 33, 74, 0.62);

  --shadow-sm: 0 1px 2px rgba(6, 33, 74, .06), 0 2px 8px rgba(6, 33, 74, .06);
  --shadow-md: 0 4px 12px rgba(6, 33, 74, .08), 0 12px 28px rgba(6, 33, 74, .08);
  --shadow-lg: 0 12px 32px rgba(6, 33, 74, .12), 0 28px 64px rgba(6, 33, 74, .10);

  /* Spacing — 4/8 rhythm */
  --sp-1: .25rem; --sp-2: .5rem;  --sp-3: .75rem; --sp-4: 1rem;
  --sp-5: 1.5rem; --sp-6: 2rem;   --sp-7: 3rem;   --sp-8: 4rem; --sp-9: 6rem;

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --container: 1180px;
  --header-h: 68px;

  /* Type scale */
  --fs-xs: .8125rem;  /* 13 */
  --fs-sm: .875rem;   /* 14 */
  --fs-base: 1rem;    /* 16 */
  --fs-md: 1.125rem;  /* 18 */
  --fs-lg: 1.375rem;  /* 22 */
  --fs-xl: clamp(1.5rem, 1.2rem + 1.4vw, 2rem);
  --fs-2xl: clamp(1.875rem, 1.4rem + 2.2vw, 2.75rem);
  --fs-3xl: clamp(2.25rem, 1.6rem + 3.2vw, 3.5rem);

  --font-display: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --dur-fast: 150ms;
  --dur: 220ms;
  --ease-out: cubic-bezier(.22, 1, .36, 1);

  /* z-index scale */
  --z-base: 0; --z-sticky: 40; --z-header: 60; --z-callbar: 70; --z-modal: 100;
}

:root[data-theme="dark"] {
  --bg:            #071427;
  --bg-alt:        #0a1c33;
  --surface:       #0d1f38;
  --surface-2:     #112846;
  --text:          #e8f0fa; /* 14.8:1 on --bg */
  --text-muted:    #a8bbd4; /* 8.4:1  on --surface */
  --text-subtle:   #93a8c4; /* 6.6:1  on --surface */
  --border:        #1d3557;
  --border-strong: #2b4a75;
  --primary:       #4a9bee; /* lighter tonal variant — 6.8:1 on --bg */
  --primary-hover: #6fb0f3;
  --on-primary:    #06214a;
  --accent:        #6fb0f3;
  --success:       #4ade9f;
  --danger:        #ff8a8a;
  --focus:         #7ab8ff;
  --scrim:         rgba(2, 8, 18, .78);

  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 6px 18px rgba(0,0,0,.45);
  --shadow-lg: 0 18px 48px rgba(0,0,0,.55);

  --brand-100: #12294a;
  --brand-50:  #0c1e37;
  --brand-200: #23446f;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }

/* <picture> is an inline wrapper with no height of its own, so an <img> set to
   height:100% would size against the picture instead of the tile — leaving a gap
   below the photo. Make every picture fill its container. */
picture { display: block; width: 100%; height: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); }
p  { text-wrap: pretty; }

a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary-hover); }

/* ---------- Focus (was entirely missing on the old site) ---------- */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
:focus:not(:focus-visible) { outline: none; }

.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: -100px;
  z-index: 200;
  padding: var(--sp-3) var(--sp-5);
  background: var(--primary);
  color: var(--on-primary);
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top var(--dur) var(--ease-out);
}
.skip-link:focus { top: var(--sp-4); color: var(--on-primary); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-4);
}
@media (min-width: 768px)  { .container { padding-inline: var(--sp-6); } }
@media (min-width: 1024px) { .container { padding-inline: var(--sp-7); } }

/* Anchor targets must clear the sticky header. The header renders taller than
   --header-h once the logo is in it (~108px desktop), so allow for that. */
[id] { scroll-margin-top: calc(var(--header-h) + var(--sp-7)); }

.section { padding-block: var(--sp-7); }
@media (min-width: 768px) { .section { padding-block: var(--sp-8); } }
.section--alt { background: var(--bg-alt); }
.section--brand { background: var(--brand-900); color: #fff; }

.section-head { max-width: 62ch; margin-bottom: var(--sp-6); }
.section-head p { color: var(--text-muted); margin-top: var(--sp-3); font-size: var(--fs-md); }
.section--brand .section-head p { color: #c9dcf5; }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-family: var(--font-display);
  font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--sp-3);
}
.section--brand .eyebrow { color: var(--brand-400); }

/* ---------- Icons ---------- */
.icon { width: 1.25rem; height: 1.25rem; flex: none; stroke-width: 2; }
.icon--lg { width: 1.75rem; height: 1.75rem; }
.icon--sm { width: 1rem; height: 1rem; }

/* ---------- Buttons — all >= 44px tall ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 48px; min-width: 48px;
  padding: var(--sp-3) var(--sp-5);
  font-family: var(--font-display);
  font-size: var(--fs-base); font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.btn:active { transform: scale(.97); }

.btn--primary { background: var(--primary); color: var(--on-primary); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--primary-hover); color: var(--on-primary); }

.btn--secondary { background: var(--surface); color: var(--primary); border-color: var(--border-strong); }
.btn--secondary:hover { background: var(--brand-100); color: var(--primary-hover); border-color: var(--primary); }

.btn--ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn--ghost:hover { background: var(--surface-2); color: var(--text); }

.btn--onbrand { background: #fff; color: var(--brand-800); }
.btn--onbrand:hover { background: var(--brand-100); color: var(--brand-900); }
.btn--onbrand-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--onbrand-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

.btn--lg { min-height: 56px; padding: var(--sp-4) var(--sp-6); font-size: var(--fs-md); }
.btn--block { width: 100%; }

.btn[aria-disabled="true"], .btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex; align-items: center; gap: var(--sp-4);
  min-height: var(--header-h);
  padding-block: var(--sp-2);
}
.brand { display: inline-flex; align-items: center; gap: var(--sp-3); text-decoration: none; margin-right: auto; }
.brand img { width: 150px; height: auto; }
@media (min-width: 480px) { .brand img { width: 178px; } }
/* The wordmark is navy, so it needs a light version on dark surfaces */
.brand__logo--dark { display: none; }
:root[data-theme="dark"] .brand__logo--light { display: none; }
:root[data-theme="dark"] .brand__logo--dark { display: block; }
.brand__tag {
  display: none; font-size: var(--fs-xs); color: var(--text-muted);
  padding-left: var(--sp-3); border-left: 1px solid var(--border);
}
@media (min-width: 1100px) { .brand__tag { display: block; } }

.nav { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; align-items: center; gap: var(--sp-1); }
  .nav a {
    display: inline-flex; align-items: center; min-height: 44px;
    padding: var(--sp-2) var(--sp-4);
    font-family: var(--font-display); font-weight: 500; font-size: var(--fs-sm);
    color: var(--text); text-decoration: none;
    border-radius: var(--radius-pill);
    transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
  }
  .nav a:hover { background: var(--surface-2); color: var(--primary); }
  .nav a[aria-current="page"] { background: var(--brand-100); color: var(--brand-700); font-weight: 600; }
}
:root[data-theme="dark"] .nav a[aria-current="page"] { color: var(--primary); }

.header__actions { display: flex; align-items: center; gap: var(--sp-2); }
.header__call { display: none; }
@media (min-width: 620px) { .header__call { display: inline-flex; } }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: transparent; color: var(--text);
  border: 1px solid var(--border-strong); border-radius: var(--radius-pill);
  transition: background var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.icon-btn:hover { background: var(--surface-2); border-color: var(--primary); }
.icon-btn .icon--moon { display: none; }
:root[data-theme="dark"] .icon-btn .icon--moon { display: block; }
:root[data-theme="dark"] .icon-btn .icon--sun { display: none; }

.nav-toggle { display: inline-flex; }
@media (min-width: 900px) { .nav-toggle { display: none; } }

/* Mobile drawer — nav is never removed without a replacement */
.mobile-nav {
  display: block;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { list-style: none; padding: var(--sp-3) 0 var(--sp-4); margin: 0; }
.mobile-nav a {
  display: flex; align-items: center; gap: var(--sp-3);
  min-height: 52px; padding: var(--sp-3) var(--sp-4);
  font-family: var(--font-display); font-weight: 500;
  color: var(--text); text-decoration: none;
  border-radius: var(--radius-sm);
}
.mobile-nav a:hover { background: var(--surface-2); color: var(--primary); }
.mobile-nav a[aria-current="page"] { color: var(--brand-700); background: var(--brand-100); font-weight: 600; }
:root[data-theme="dark"] .mobile-nav a[aria-current="page"] { color: var(--primary); }
@media (min-width: 900px) { .mobile-nav { display: none !important; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg-alt); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60rem 30rem at 12% -10%, color-mix(in srgb, var(--brand-400) 22%, transparent), transparent 60%),
    radial-gradient(50rem 28rem at 100% 10%, color-mix(in srgb, var(--brand-600) 16%, transparent), transparent 55%);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; gap: var(--sp-6);
  padding-block: var(--sp-7) var(--sp-8);
}
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1.05fr .95fr; align-items: center; gap: var(--sp-7); padding-block: var(--sp-8) var(--sp-9); }
}
.hero h1 { margin-bottom: var(--sp-4); }
.hero h1 .accent { color: var(--primary); display: block; }
.hero__lead { font-size: var(--fs-md); color: var(--text-muted); max-width: 54ch; margin-bottom: var(--sp-5); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-5); }
.hero__note { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-sm); color: var(--text-muted); }
.hero__note .icon { color: var(--success); }

.hero__media { position: relative; }
.hero__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero__badge {
  position: absolute; left: var(--sp-4); bottom: var(--sp-4);
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-md);
  font-size: var(--fs-sm); font-weight: 600; font-family: var(--font-display);
  max-width: calc(100% - var(--sp-8));
}
.hero__badge .icon { color: var(--primary); }
.hero__badge span { color: var(--text); }
.hero__badge small { display: block; font-weight: 400; color: var(--text-muted); font-size: var(--fs-xs); }

/* ---------- Trust strip ---------- */
.trust { border-block: 1px solid var(--border); background: var(--surface); }
.trust__grid {
  display: grid; gap: var(--sp-4);
  grid-template-columns: repeat(2, 1fr);
  padding-block: var(--sp-5);
}
@media (min-width: 768px) { .trust__grid { grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); } }
.trust__item { display: flex; align-items: flex-start; gap: var(--sp-3); }
.trust__item .icon { color: var(--primary); margin-top: 2px; }
.trust__item strong { display: block; font-family: var(--font-display); font-size: var(--fs-sm); font-weight: 600; }
.trust__item span { font-size: var(--fs-xs); color: var(--text-muted); }

/* ---------- Cards / service grid ---------- */
.grid { display: grid; gap: var(--sp-4); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.card:hover { box-shadow: var(--shadow-md); border-color: var(--border-strong); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .card:hover { transform: none; } }
.card__media { position: relative; aspect-ratio: 4 / 3; background: var(--surface-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: var(--brand-100); color: var(--brand-700);
  border-radius: var(--radius);
}
:root[data-theme="dark"] .card__icon { color: var(--primary); }
.card h3 { font-size: var(--fs-md); }
.card p { color: var(--text-muted); font-size: var(--fs-sm); }
.card__list { list-style: none; padding: 0; margin: auto 0 0; display: grid; gap: var(--sp-2); }
.card__list li { display: flex; align-items: flex-start; gap: var(--sp-2); font-size: var(--fs-sm); color: var(--text-muted); }
.card__list .icon { color: var(--primary); margin-top: 4px; width: 1rem; height: 1rem; }

/* Full-card link: whole card clickable, one accessible name */
.card--link { position: relative; }
.card--link a::after { content: ""; position: absolute; inset: 0; }
.card--link a { text-decoration: none; color: inherit; }
.card--link:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.card--link a:focus-visible { outline: none; }
.card__more { display: inline-flex; align-items: center; gap: var(--sp-2); color: var(--primary); font-weight: 600; font-size: var(--fs-sm); font-family: var(--font-display); }

/* ---------- Flyer feature ---------- */
.flyer { display: grid; gap: var(--sp-6); align-items: center; }
@media (min-width: 900px) { .flyer { grid-template-columns: .85fr 1.15fr; gap: var(--sp-7); } }
.flyer__img {
  width: 100%; border-radius: var(--radius-lg);
  border: 1px solid var(--border); box-shadow: var(--shadow-lg);
  background: var(--surface);
}
.flyer__list { list-style: none; padding: 0; margin: var(--sp-5) 0; display: grid; gap: var(--sp-3); }
@media (min-width: 560px) { .flyer__list { grid-template-columns: 1fr 1fr; } }
.flyer__list li { display: flex; align-items: center; gap: var(--sp-3); font-size: var(--fs-sm); }
.flyer__list .icon { color: var(--primary); }
.section--brand .flyer__list .icon { color: var(--brand-400); }
.section--brand .flyer__img { border-color: rgba(255,255,255,.18); }

/* ---------- Page header (inner pages) ---------- */
.pagehead { background: var(--bg-alt); border-bottom: 1px solid var(--border); padding-block: var(--sp-7); }
.pagehead h1 { margin-bottom: var(--sp-4); }
.pagehead p { color: var(--text-muted); font-size: var(--fs-md); max-width: 60ch; }
.pagehead .hero__actions { margin-top: var(--sp-5); margin-bottom: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: var(--sp-4); padding: 0; list-style: none; }
.breadcrumb li { display: flex; align-items: center; gap: var(--sp-2); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb .icon { width: .875rem; height: .875rem; color: var(--text-subtle); }

/* Quick jump chips */
.chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); list-style: none; padding: 0; margin: 0; }
.chips a {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  min-height: 44px; padding: var(--sp-2) var(--sp-4);
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm); font-weight: 500; font-family: var(--font-display);
  color: var(--text); text-decoration: none;
  transition: background var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.chips a:hover { background: var(--brand-100); border-color: var(--primary); color: var(--brand-700); }
:root[data-theme="dark"] .chips a:hover { color: var(--primary); }
.chips .icon { color: var(--primary); }

/* ---------- Service panel ---------- */
.service { display: grid; gap: var(--sp-5); align-items: center; padding-block: var(--sp-6); border-top: 1px solid var(--border); }
.service:first-of-type { border-top: 0; }
@media (min-width: 900px) {
  .service { grid-template-columns: 1fr 1fr; gap: var(--sp-7); }
  .service:nth-of-type(even) .service__media { order: -1; }
}
.service__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.service h2 { font-size: var(--fs-xl); }
.service > div > p { color: var(--text-muted); margin-top: var(--sp-3); }
.service__list { list-style: none; padding: 0; margin: var(--sp-4) 0 0; display: grid; gap: var(--sp-2); }
@media (min-width: 560px) { .service__list { grid-template-columns: 1fr 1fr; } }
.service__list li { display: flex; align-items: flex-start; gap: var(--sp-2); font-size: var(--fs-sm); color: var(--text-muted); }
.service__list .icon { width: 1rem; height: 1rem; color: var(--primary); margin-top: 4px; flex: none; }
.service__badge {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3); margin-bottom: var(--sp-3);
  background: var(--brand-100); color: var(--brand-700);
  border-radius: var(--radius-pill); font-size: var(--fs-xs); font-weight: 600; font-family: var(--font-display);
}
:root[data-theme="dark"] .service__badge { color: var(--primary); }
.service__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-5); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: var(--sp-4); }
@media (min-width: 768px) { .faq { grid-template-columns: 1fr 1fr; gap: var(--sp-5); } }
.faq h3 { font-size: var(--fs-md); margin-bottom: var(--sp-2); }
.faq p { color: var(--text-muted); font-size: var(--fs-sm); }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: var(--sp-3); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px)  { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery__item {
  position: relative; margin: 0;
  border-radius: var(--radius); overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--border);
}
.gallery__btn {
  display: block; width: 100%; padding: 0;
  background: none; border: 0;
  aspect-ratio: 4 / 3;
}
.gallery__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur) var(--ease-out); }
.gallery__btn:hover img { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) { .gallery__btn:hover img { transform: none; } }
.gallery__cap {
  position: absolute; left: var(--sp-2); bottom: var(--sp-2);
  padding: var(--sp-1) var(--sp-3);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs); font-weight: 600; color: var(--text);
  pointer-events: none;
}

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; }
.lightbox::backdrop { background: var(--scrim); backdrop-filter: blur(6px); }
.lightbox__inner { display: grid; place-items: center; width: 100%; height: 100%; padding: var(--sp-5); }
.lightbox img { max-width: min(1100px, 92vw); max-height: 84vh; width: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox__close {
  position: fixed; top: var(--sp-4); right: var(--sp-4);
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border-strong); border-radius: var(--radius-pill);
}
.lightbox__nav {
  position: fixed; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border-strong); border-radius: var(--radius-pill);
}
.lightbox__nav--prev { left: var(--sp-3); }
.lightbox__nav--next { right: var(--sp-3); }
.lightbox__caption {
  position: fixed; left: 50%; bottom: var(--sp-5); transform: translateX(-50%);
  padding: var(--sp-2) var(--sp-4);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-pill); font-size: var(--fs-sm); color: var(--text);
  max-width: 90vw; text-align: center;
}

/* ---------- Testimonials ---------- */
.reviews { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--sp-5); box-shadow: var(--shadow-sm); }
@media (min-width: 768px) { .reviews { padding: var(--sp-6); } }
.reviews__head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); margin-bottom: var(--sp-4); }
.reviews__controls { display: flex; gap: var(--sp-2); }
.reviews__stars { display: flex; gap: 2px; color: #e8a317; margin-bottom: var(--sp-3); }
.reviews__stars .icon { width: 1.125rem; height: 1.125rem; fill: currentColor; stroke: none; }
.reviews blockquote { font-size: var(--fs-md); line-height: 1.6; color: var(--text); }
.reviews figcaption { margin-top: var(--sp-4); font-size: var(--fs-sm); color: var(--text-muted); }
.reviews figcaption strong { display: block; color: var(--text); font-family: var(--font-display); }
.reviews__dots { display: flex; gap: var(--sp-1); margin-top: var(--sp-4); }
/* 9px visual dot, 44px hit area */
.reviews__dot {
  width: 44px; height: 44px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; border-radius: var(--radius-pill);
}
.reviews__dot::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: var(--border-strong); transition: background var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.reviews__dot[aria-current="true"]::before { background: var(--primary); transform: scale(1.3); }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--sp-4); }
.form__row { display: grid; gap: var(--sp-4); }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: var(--sp-2); }
.field > label { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm); color: var(--text); }
.field .req { color: var(--danger); }
.field .hint { font-size: var(--fs-xs); color: var(--text-muted); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 48px;
  padding: var(--sp-3) var(--sp-4);
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  font-size: 1rem; /* 16px — stops iOS zoom-on-focus */
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.field textarea { min-height: 120px; resize: vertical; padding-top: var(--sp-3); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-subtle); }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--primary); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 18%, transparent); }
.field .error { display: none; align-items: center; gap: var(--sp-2); font-size: var(--fs-sm); color: var(--danger); font-weight: 500; }
.field .error .icon { width: 1rem; height: 1rem; }
.field input[aria-invalid="true"] ~ .error, .field textarea[aria-invalid="true"] ~ .error { display: flex; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__status { display: none; gap: var(--sp-3); padding: var(--sp-4); border-radius: var(--radius); font-size: var(--fs-sm); }
.form__status[data-state="error"], .form__status[data-state="success"] { display: flex; align-items: flex-start; }
.form__status[data-state="success"] { background: color-mix(in srgb, var(--success) 12%, transparent); border: 1px solid var(--success); color: var(--text); }
.form__status[data-state="error"]   { background: color-mix(in srgb, var(--danger) 10%, transparent);  border: 1px solid var(--danger);  color: var(--text); }
.form__status .icon { margin-top: 2px; display: none; }
.form__status[data-state="success"] .icon--ok  { display: block; color: var(--success); }
.form__status[data-state="error"]   .icon--bad { display: block; color: var(--danger); }
.form__status a { color: inherit; }

.btn .spinner { display: none; width: 1.125rem; height: 1.125rem; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.btn[data-loading="true"] .spinner { display: block; }
.btn[data-loading="true"] .btn__label { opacity: .8; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .btn .spinner { animation-duration: 2s; } }

/* ---------- Accordion (specialist sectors) ---------- */
.acc { display: grid; gap: var(--sp-3); }
.acc__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.acc__btn {
  display: flex; align-items: center; gap: var(--sp-3);
  width: 100%; min-height: 60px;
  padding: var(--sp-4);
  background: none; border: 0; text-align: left;
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-base); color: var(--text);
}
.acc__btn:hover { background: var(--surface-2); }
.acc__btn .icon--chev { margin-left: auto; color: var(--text-muted); transition: transform var(--dur) var(--ease-out); }
.acc__btn[aria-expanded="true"] .icon--chev { transform: rotate(180deg); }
.acc__btn > .icon:first-child { color: var(--primary); }
.acc__panel { padding: 0 var(--sp-4) var(--sp-5); }
.acc__panel[hidden] { display: none; }
.acc__panel p { color: var(--text-muted); font-size: var(--fs-sm); }
.acc__panel p + p { margin-top: var(--sp-3); }
.acc__panel ul { margin: var(--sp-3) 0 0; padding: 0; list-style: none; display: grid; gap: var(--sp-2); }
.acc__panel li { display: flex; align-items: flex-start; gap: var(--sp-2); font-size: var(--fs-sm); color: var(--text-muted); }
.acc__panel li .icon { width: 1rem; height: 1rem; color: var(--primary); margin-top: 4px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: var(--sp-5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.stat__num { font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 700; color: var(--primary); font-variant-numeric: tabular-nums; }
.stat__lab { font-size: var(--fs-sm); color: var(--text-muted); margin-top: var(--sp-1); }
.section--brand .stat { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); }
.section--brand .stat__num { color: #fff; }
.section--brand .stat__lab { color: #c9dcf5; }

/* ---------- CTA band ---------- */
.cta {
  display: grid; gap: var(--sp-5);
  padding: var(--sp-6);
  background: var(--brand-800);
  color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 900px) { .cta { grid-template-columns: 1.2fr auto; align-items: center; padding: var(--sp-7); } }
.cta h2 { color: #fff; }
.cta p { color: #c9dcf5; margin-top: var(--sp-3); max-width: 52ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
@media (min-width: 900px) { .cta__actions { flex-direction: column; align-items: stretch; } }

/* Form sitting on the navy CTA panel — light-on-dark pairs, all >= 4.5:1 */
.cta .field > label { color: #fff; }
.cta .field .hint { color: #c9dcf5; }
.cta .field .req { color: #ffb4b4; }
.cta .field input, .cta .field textarea {
  background: #fff; color: #0f1b2d; border-color: transparent;
}
.cta .field input::placeholder, .cta .field textarea::placeholder { color: #5b6b83; }
.cta .field input:hover, .cta .field textarea:hover { border-color: var(--brand-400); }
.cta .field .error { color: #ffd0d0; }
.cta .form__status[data-state="success"] { background: rgba(255,255,255,.14); border-color: #7ef0bd; color: #fff; }
.cta .form__status[data-state="error"]   { background: rgba(255,255,255,.14); border-color: #ffb4b4; color: #fff; }
.cta .form__status[data-state="success"] .icon--ok  { color: #7ef0bd; }
.cta .form__status[data-state="error"]   .icon--bad { color: #ffb4b4; }
.cta .form__status a { color: #fff; }
.cta :focus-visible { outline-color: #9fd0ff; }

/* Flyer opens in the lightbox — same button, natural aspect ratio */
.flyer .gallery__btn { aspect-ratio: auto; border-radius: var(--radius-lg); }

/* ---------- Contact info blocks ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-4); }
.contact-list li { display: flex; align-items: flex-start; gap: var(--sp-4); }
.contact-list .icon-wrap {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; flex: none;
  background: var(--brand-100); color: var(--brand-700); border-radius: var(--radius);
}
:root[data-theme="dark"] .contact-list .icon-wrap { color: var(--primary); }
.contact-list dt, .contact-list .lab { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm); }
.contact-list a { font-size: var(--fs-md); font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-list .meta { font-size: var(--fs-sm); color: var(--text-muted); }

/* ---------- Footer ---------- */
.footer { background: var(--brand-900); color: #dbe8f8; padding-block: var(--sp-7) calc(var(--sp-6) + env(safe-area-inset-bottom)); }
.footer__grid { display: grid; gap: var(--sp-6); }
@media (min-width: 768px)  { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.1fr; } }
.footer img { width: 190px; margin-bottom: var(--sp-4); }
.footer h2 { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: var(--sp-4); }
.footer p { font-size: var(--fs-sm); color: #b6cbe6; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-1); }
.footer li a, .footer address a {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  min-height: 44px; font-size: var(--fs-sm);
  color: #dbe8f8; text-decoration: none;
}
.footer li a:hover, .footer address a:hover { color: #fff; text-decoration: underline; }
.footer address { font-style: normal; display: grid; }
/* Secondary phone line — present but visibly subordinate to the main number */
.footer__alt { color: #a8c0de; font-size: var(--fs-xs); }
.footer__bottom {
  margin-top: var(--sp-6); padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,.16);
  display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: space-between;
  font-size: var(--fs-xs); color: #a8c0de;
}

/* ---------- Sticky mobile call bar ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-callbar);
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3) calc(var(--sp-2) + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--surface) 95%, transparent);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(6, 33, 74, .10);
}
.callbar .btn { min-height: 50px; font-size: var(--fs-sm); }
@media (min-width: 900px) { .callbar { display: none; } }
/* Keep content clear of the fixed bar */
@media (max-width: 899px) { body { padding-bottom: 76px; } }

/* ---------- Motion ---------- */
/* Entrance animation only — content is NEVER hidden waiting for a scroll event.
   Anything that starts at opacity:0 is invisible to crawlers that don't scroll,
   to print, and to anyone whose JS fails. So we animate in from visible. */
@keyframes rise {
  from { opacity: .3; transform: translateY(14px); }
  to   { opacity: 1;  transform: none; }
}
:root.js .reveal.is-visible { animation: rise 420ms var(--ease-out) both; }
@media (prefers-reduced-motion: reduce) {
  :root.js .reveal.is-visible { animation: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Print ---------- */
@media print {
  .header, .callbar, .lightbox, .reviews__controls { display: none !important; }
  body { padding-bottom: 0; background: #fff; color: #000; }
}
