/* =========================================================================
   Sydney Private Investigators - modern light theme
   Design tokens + components. Single source of truth for site styling.
   ========================================================================= */
:root {
  /* Brand */
  --navy-900: #0a1c33;
  --navy-800: #0c2545;
  --navy-700: #13315c;
  --navy-600: #1d4173;
  --crimson: #d61f2b;
  --crimson-dark: #b3141f;
  --crimson-soft: #fdeaeb;
  --gold: #c9a227;

  /* Neutrals (light theme) */
  --ink: #0f1b2d;
  --body: #475569;
  --muted: #6b7a90;
  --line: #e6eaf0;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --bg-softer: #eef2f8;
  --white: #ffffff;

  /* Effects */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(12,37,69,.06), 0 2px 8px rgba(12,37,69,.05);
  --shadow: 0 6px 24px rgba(12,37,69,.09);
  --shadow-lg: 0 24px 60px rgba(12,37,69,.16);
  --shadow-crimson: 0 14px 30px rgba(214,31,43,.28);
  --ring: 0 0 0 4px rgba(214,31,43,.18);

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

  --grad-navy: linear-gradient(135deg, #0c2545 0%, #13315c 55%, #1d4173 100%);
  --grad-crimson: linear-gradient(135deg, #d61f2b 0%, #b3141f 100%);
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html { scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--crimson); text-decoration: none; transition: color .2s; }
a:hover { color: var(--crimson-dark); }
h1,h2,h3,h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1rem; }
::selection { background: var(--crimson); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
/* Light content rows use a subtle multi-directional mesh (soft navy + crimson
   glows over a gentle tonal shift): premium, flowing, never a flat fill or a
   boring straight fade. White and soft rows flow on OPPOSITE diagonals so
   alternating sections feel dynamic. */
.section {
  padding: clamp(64px, 9vw, 120px) 0; position: relative;
  background:
    radial-gradient(1200px 720px at 6% -12%, rgba(29,65,115,.10), transparent 58%),
    radial-gradient(1020px 760px at 106% 114%, rgba(214,31,43,.07), transparent 56%),
    linear-gradient(168deg, #ffffff 0%, #edf3fb 55%, #e2ecf7 100%);
}
.section--soft {
  background:
    radial-gradient(1220px 700px at 96% -14%, rgba(29,65,115,.17), transparent 60%),
    radial-gradient(1060px 720px at -8% 116%, rgba(214,31,43,.065), transparent 56%),
    linear-gradient(204deg, #dbe5f3 0%, #e9f0f9 52%, #d3e0f0 100%);
}
.section--ink { background: var(--grad-navy); color: #cdd8e8; }
.section--ink h2, .section--ink h3 { color: #fff; }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--crimson);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--crimson); display: inline-block; }
.section--ink .eyebrow { color: #ffd0d3; }
.section--ink .eyebrow::before { background: var(--gold); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-top: 10px; }
.section--ink .section-head p { color: #aebfd6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: 15px 28px; border-radius: 999px; cursor: pointer; border: 0;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--grad-crimson); color: #fff; box-shadow: var(--shadow-crimson); }
.btn--primary:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 20px 38px rgba(214,31,43,.4); }
.btn--ghost { background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: #fff; color: var(--navy-800); transform: translateY(-3px); }
.btn--dark { background: var(--navy-800); color: #fff; }
.btn--dark:hover { background: var(--navy-900); color: #fff; transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn--lg { padding: 18px 36px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s, box-shadow .3s, height .3s;
}
/* Scrolled header stays navy glass; the logo art is white, so a white bar
   would erase it. Dark glass keeps logo + nav legible on every page. */
.site-header.scrolled {
  background:
    radial-gradient(70% 340% at 100% 0%, #00030a 0%, rgba(0,3,10,.85) 28%, rgba(0,3,10,.4) 52%, rgba(0,3,10,0) 75%),
    rgba(9,24,46,.92);
  backdrop-filter: saturate(180%) blur(14px); box-shadow: 0 8px 30px rgba(0,0,0,.28);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 40px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  font-family: var(--font-head); font-weight: 500; font-size: .92rem; color: rgba(255,255,255,.88);
  padding: 9px 13px; border-radius: 8px; transition: color .2s, background .2s; white-space: nowrap; line-height: 1.2;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.12); }
.header-cta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1rem; white-space: nowrap; }
.header-phone svg { width: 18px; height: 18px; color: #ff5a63; flex-shrink: 0; }

/* dropdown */
.has-dropdown { position: relative; }
/* Invisible bridge across the gap between trigger and card so the hover never
   drops while the mouse travels down into the dropdown. */
.has-dropdown::after { content: ""; position: absolute; left: -10px; right: -10px; top: 100%; height: 20px; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 14px;
  display: grid; grid-template-columns: repeat(3, minmax(140px,1fr)); gap: 2px;
  width: 520px; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s; border: 1px solid var(--line);
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a { color: var(--body); font-size: .86rem; padding: 9px 12px; border-radius: 8px; }
.dropdown a:hover { background: var(--bg-soft); color: var(--crimson); }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.menu-toggle span { width: 26px; height: 2px; background: #fff; transition: .3s; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; padding-top: var(--header-h); padding-bottom: 20px; }
.hero__badges { margin-bottom: 20px; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(8,22,40,.94) 0%, rgba(10,28,51,.82) 45%, rgba(12,37,69,.55) 100%); }
.hero__glow { position: absolute; z-index: -1; width: 620px; height: 620px; border-radius: 50%; filter: blur(90px); opacity: .5; }
.hero__glow.g1 { background: radial-gradient(circle, rgba(214,31,43,.55), transparent 70%); top: -160px; right: -120px; }
.hero__glow.g2 { background: radial-gradient(circle, rgba(29,65,115,.6), transparent 70%); bottom: -180px; left: -120px; }
.hero__inner { max-width: 760px; padding: 60px 0; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); color: #fff; margin-bottom: 22px; }
.hero h1 .accent { color: #ff5a63; }
.hero__lead { font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: #d7e1f0; max-width: 620px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 44px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.hero__badge { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: #cdd8e8; font-weight: 500; }
.hero__badge svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; }
.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.6); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero__scroll::after { content: ""; width: 1px; height: 34px; background: linear-gradient(rgba(255,255,255,.6), transparent); animation: scrolldot 2s infinite; }
@keyframes scrolldot { 0%{opacity:.2; transform:scaleY(.4); transform-origin: top;} 50%{opacity:1;} 100%{opacity:.2; transform:scaleY(1);} }

/* ---------- Stats band ---------- */
.stats { background: var(--grad-navy); }
.stats__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; text-align: center; }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem,4vw,3rem); color: #fff; line-height: 1; }
.stat__num .unit { color: var(--gold); }
.stat__num--ico { display: flex; justify-content: center; }
.stat__num--ico svg { width: 46px; height: 46px; color: var(--gold); }
.stat__label { color: #9fb2cc; font-size: .92rem; margin-top: 8px; letter-spacing: .03em; }

/* ---------- Intro / split ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px,5vw,72px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.split__media .badge-float {
  position: absolute; bottom: -24px; left: -24px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 20px 24px; display: flex; align-items: center; gap: 14px; max-width: 280px;
}
.badge-float .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--crimson-soft); color: var(--crimson); display: grid; place-items: center; flex-shrink: 0; }
.badge-float .ico svg { width: 24px; height: 24px; }
.badge-float strong { font-family: var(--font-head); color: var(--ink); display: block; font-size: 1rem; }
.badge-float span { font-size: .82rem; color: var(--muted); }
.lead-lg { font-size: 1.15rem; color: var(--ink); font-weight: 500; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px;
  box-shadow: var(--shadow-sm); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s;
  position: relative; overflow: hidden;
}
.card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad-crimson); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__ico { width: 58px; height: 58px; border-radius: 14px; background: var(--grad-navy); color: #fff; display: grid; place-items: center; margin-bottom: 22px; box-shadow: var(--shadow); }
.card__ico svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .98rem; margin: 0; }

/* ---------- Local bonus cards (suburb pages) ---------- */
.local-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px,1fr)); gap: 24px; }
.local-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px;
  box-shadow: var(--shadow-sm); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s;
  position: relative; overflow: hidden;
}
.local-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad-crimson); transform: scaleY(0); transform-origin: top; transition: transform .35s; }
.local-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.local-card:hover::before { transform: scaleY(1); }
.local-card__ico { width: 50px; height: 50px; border-radius: 13px; background: var(--crimson-soft); color: var(--crimson); display: grid; place-items: center; margin-bottom: 18px; }
.local-card__ico svg { width: 25px; height: 25px; }
.local-card h3 { font-size: 1.14rem; margin-bottom: 10px; }
.local-card p { font-size: .97rem; margin: 0; color: var(--body); }

/* ---------- Feature CTA (parallax) ---------- */
.feature-cta { position: relative; color: #fff; overflow: hidden; background: transparent; }
.feature-cta__bg { position: absolute; inset: 0; z-index: -2; }
.feature-cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.feature-cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,22,40,.93) 0%, rgba(10,28,51,.8) 50%, rgba(12,37,69,.5) 100%); }
.feature-cta .inner { max-width: 620px; }
.feature-cta h2 { color: #fff; }
.feature-cta p { color: #d7e1f0; font-size: 1.1rem; }

/* ---------- Products ---------- */
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 22px; }
.product {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: center;
  transition: transform .3s, box-shadow .3s; box-shadow: var(--shadow-sm);
}
.product { color: inherit; text-decoration: none; }
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: inherit; }
.product:hover h4 { color: var(--crimson); }
.product__img { aspect-ratio: 1; display: grid; place-items: center; margin-bottom: 16px; }
.product__img img { max-height: 110px; width: auto; object-fit: contain; }
.product h3 { font-family: var(--font-head); color: var(--ink); font-size: 1rem; }

/* ---------- Red banner ---------- */
.banner { background: var(--grad-crimson); color: #fff; text-align: center; padding: clamp(48px,7vw,80px) 0; position: relative; overflow: hidden; }
.banner::before, .banner::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: rgba(255,255,255,.08); }
.banner::before { top: -160px; left: -80px; }
.banner::after { bottom: -200px; right: -60px; }
.banner h2 { color: #fff; max-width: 820px; margin: 0 auto 28px; position: relative; }
.banner .btn--ghost { border-color: rgba(255,255,255,.7); }

/* ---------- Two-up info ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.duo__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.duo__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.duo__card img { width: 100%; height: 200px; object-fit: cover; }
.duo__body { padding: 30px; }
.duo__body h3 { margin-bottom: 12px; }

/* ---------- Areas grid ---------- */
.areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px,1fr)); gap: 12px; }
.area-link {
  display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 16px; font-family: var(--font-head); font-weight: 500; font-size: .95rem;
  color: var(--navy-700); transition: all .25s;
}
.area-link svg { width: 16px; height: 16px; color: var(--crimson); transition: transform .25s; }
.area-link:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); transform: translateY(-3px); box-shadow: var(--shadow); }
.area-link:hover svg { color: #fff; transform: translateX(3px); }

/* ---------- Location page hero ---------- */
.loc-hero { position: relative; padding: calc(var(--header-h) + 90px) 0 90px; background: var(--grad-navy); color: #fff; overflow: hidden; }
.loc-hero__bg { position: absolute; inset: 0; z-index: 0; }
.loc-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.loc-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,22,40,.85) 0%, rgba(10,28,51,.58) 50%, rgba(12,37,69,.18) 100%); }
.loc-hero::before { content: ""; position: absolute; z-index: 1; width: 540px; height: 540px; border-radius: 50%; background: radial-gradient(circle, rgba(214,31,43,.4), transparent 70%); filter: blur(80px); top: -200px; right: -160px; }
.loc-hero .container { position: relative; z-index: 2; }
.loc-hero .crumbs { font-size: .85rem; color: #9fb2cc; margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.loc-hero .crumbs a { color: #cdd8e8; }
.loc-hero h1 { color: #fff; font-size: clamp(2rem,4.5vw,3.2rem); max-width: 760px; }
.loc-hero p { color: #cdd8e8; max-width: 680px; margin-top: 16px; font-size: 1.1rem; }
.loc-body { display: grid; grid-template-columns: 1.4fr .9fr; gap: 50px; align-items: start; }
.checklist { list-style: none; display: grid; gap: 14px; margin: 0 0 28px; }
.checklist li { display: flex; align-items: flex-start; gap: 14px; font-size: 1.05rem; color: var(--ink); font-weight: 500; }
.checklist .tick { width: 28px; height: 28px; border-radius: 8px; background: var(--crimson-soft); color: var(--crimson); display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; }
.checklist .tick svg { width: 16px; height: 16px; }
.aside-card { background: var(--grad-navy); color: #fff; border-radius: var(--radius-lg); padding: 36px 32px; box-shadow: var(--shadow-lg); position: sticky; top: calc(var(--header-h) + 20px); }
.aside-card h3 { color: #fff; margin-bottom: 8px; }
.aside-card p { color: #aebfd6; font-size: .95rem; }
.aside-card .phone-big { font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; color: #fff; display: block; margin: 18px 0 4px; }
.aside-card .phone-big:hover { color: var(--gold); }
.aside-card .small { font-size: .82rem; color: #8aa0bf; }

/* ---------- Location map embed ---------- */
.loc-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); aspect-ratio: 16 / 7; background: var(--bg-soft); }
.loc-map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 760px) { .loc-map { aspect-ratio: 4 / 3; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.info-list { display: grid; gap: 22px; margin-top: 30px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--crimson-soft); color: var(--crimson); display: grid; place-items: center; flex-shrink: 0; }
.info-item .ico svg { width: 22px; height: 22px; }
.info-item h3 { font-family: var(--font-head); color: var(--ink); font-size: 1.02rem; margin-bottom: 2px; }
.info-item a { color: var(--body); }
.info-item a:hover { color: var(--crimson); }
.section--ink .info-item { color: #cdd8e8; }
.section--ink .info-item h3 { color: #fff; }
.section--ink .info-item a { color: #cdd8e8; }
.section--ink .info-item a:hover { color: var(--gold); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow); }
/* NitroCore STANDARDS §11: labels are sr-only, hints live in-field as muted
   placeholders; tight field gap, no hard-black labels above fields. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.field { margin-bottom: 12px; }
.field label:not(.sr-only) { display: block; font-family: var(--font-head); font-weight: 500; font-size: .88rem; color: var(--ink); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit;
  color: var(--ink); background: var(--bg-soft); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--crimson); background: #fff; box-shadow: var(--ring); }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 6px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: box-shadow .25s; }
.faq__item[open] { box-shadow: var(--shadow); }
.faq__item summary { list-style: none; cursor: pointer; padding: 22px 26px; font-family: var(--font-head); font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 1.05rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.5rem; color: var(--crimson); transition: transform .3s; line-height: 1; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item .ans { padding: 0 26px 24px; color: var(--body); }
/* Smooth open AND close (native <details> pops; this animates both directions) */
html { interpolate-size: allow-keywords; }
.faq__item::details-content {
  block-size: 0; overflow: clip;
  transition: block-size .32s cubic-bezier(.2,.8,.2,1), content-visibility .32s cubic-bezier(.2,.8,.2,1) allow-discrete;
}
.faq__item[open]::details-content { block-size: auto; }

/* ---------- Footer ---------- */
.site-footer {
  background:
    radial-gradient(100% 120% at 0% 100%, #00030a 0%, rgba(0,3,10,.92) 30%, rgba(0,3,10,.5) 55%, rgba(0,3,10,0) 80%),
    var(--navy-900);
  color: #9fb2cc; padding-top: 80px; position: relative;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.site-footer h4 { color: #fff; font-family: var(--font-head); font-size: 1rem; margin-bottom: 20px; letter-spacing: .02em; }
.footer-brand img { height: 44px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: .95rem; line-height: 1.7; max-width: 320px; }
.footer-links { list-style: none; display: grid; gap: 11px; }
.footer-links a { color: #9fb2cc; font-size: .94rem; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact { display: grid; gap: 14px; font-size: .94rem; }
.footer-contact a { color: #cdd8e8; font-weight: 600; }
.footer-contact a:hover { color: var(--gold); }
.lic-box { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 16px 18px; font-size: .82rem; line-height: 1.7; }
.lic-box strong { color: #cdd8e8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 24px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; color: #6b7f9c; }
.footer-bottom a { color: #9fb2cc; }
.footer-credit { display: inline-flex; align-items: center; gap: 9px; }
.footer-credit a { display: inline-flex; align-items: center; line-height: 0; }
.footer-credit img { height: 28px; width: auto; filter: saturate(1); transition: filter .45s ease; }
.footer-credit a:hover img { filter: saturate(0); }

/* ---------- Floating call ---------- */
.fab { position: fixed; bottom: 22px; right: 22px; z-index: 90; background: var(--grad-crimson); color: #fff; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow-crimson); animation: pulse 2.4s infinite; transition: transform .25s; }
.fab:hover { transform: scale(1.08); color: #fff; }
.fab svg { width: 26px; height: 26px; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(214,31,43,.5);} 70%{box-shadow:0 0 0 18px rgba(214,31,43,0);} 100%{box-shadow:0 0 0 0 rgba(214,31,43,0);} }

/* ---------- Slim breadcrumb bar (contact) ---------- */
.crumbs-bar { background: var(--grad-navy); padding: calc(var(--header-h) + 22px) 0 6px; }
.crumbs-bar .crumbs { font-size: .85rem; color: #9fb2cc; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs-bar .crumbs a { color: #cdd8e8; }
/* trim the contact form section's top padding since the slim bar precedes it */
.crumbs-bar + .section--ink { padding-top: clamp(40px, 5vw, 64px); }

/* ---------- Article modal ---------- */
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(6,16,31,.66); backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s ease; }
.modal__dialog {
  position: relative; background: #fff; border-radius: var(--radius-lg); border-top: 4px solid var(--crimson);
  max-width: 660px; width: 100%; max-height: 88vh; overflow: auto; padding: 48px 44px;
  box-shadow: var(--shadow-lg); transform: translateY(26px) scale(.98); opacity: 0;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .35s ease;
}
.modal.open .modal__backdrop { opacity: 1; }
.modal.open .modal__dialog { transform: none; opacity: 1; }
.modal__dialog h2 { margin: 8px 0 18px; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.modal__body { margin-bottom: 26px; }
.modal__body p { color: var(--body); margin: 0 0 14px; font-size: 1.02rem; }
.modal__close {
  position: absolute; top: 14px; right: 16px; width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: var(--bg-soft); color: var(--ink); font-size: 1.7rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center; transition: background .2s, color .2s, transform .3s;
}
.modal__close:hover { background: var(--crimson-soft); color: var(--crimson); transform: rotate(90deg); }
body.modal-open { overflow: hidden; }
@media (max-width: 560px) { .modal__dialog { padding: 40px 24px; } }

/* ---------- Grain / noise overlay (premium depth) ---------- */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 70; opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ---------- Magnetic buttons ---------- */
[data-magnetic] { will-change: transform; transition: transform .3s cubic-bezier(.2,.8,.2,1); }

/* ---------- Hero word reveal ---------- */
.reveal-word { display: inline-block; overflow: hidden; vertical-align: top; }
.reveal-word > span { display: inline-block; transform: translateY(115%); transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal-word.in > span { transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal-word > span { transform: none; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .split, .loc-body, .contact-grid, .duo { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .stats__grid { grid-template-columns: repeat(2,1fr); gap: 36px 20px; }
  .aside-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav, .header-phone span { display: none; }
  .menu-toggle { display: flex; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; padding: 16px; gap: 4px; box-shadow: var(--shadow-lg); align-items: stretch;
  }
  .nav.open a { color: var(--navy-800); }
  .nav.open .dropdown { position: static; opacity: 1; visibility: visible; transform: none; width: auto; box-shadow: none; grid-template-columns: 1fr 1fr; padding: 6px 0 6px 14px; }
  .has-dropdown { display: flex; flex-direction: column; }
  .site-header.scrolled .nav.open a { color: var(--navy-800); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 50px); padding-bottom: 60px; }
  body { font-size: 16px; }
}
