/* ==========================================================================
   ATZ Advice — main stylesheet
   Site build: No Name Digital — www.nonamedigital.co.uk
   ========================================================================== */

:root {
  --brand: #0D1E46;
  --brand-600: #16306b;
  --brand-400: #3f5fa8;
  --brand-50: #eef1f8;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --white: #ffffff;
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 30px;
  --shadow: 0 2px 6px rgba(13,30,70,.04), 0 12px 32px rgba(13,30,70,.07);
  --shadow-lg: 0 4px 12px rgba(13,30,70,.06), 0 24px 60px rgba(13,30,70,.12);
  --max: 1180px;
  --max-narrow: 760px;
  --nav-h: 52px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.25,.1,.25,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--brand-400); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--brand-400); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { top: 12px; }
.visually-hidden { position:absolute!important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--ink); font-weight: 600; letter-spacing: -0.022em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.05; letter-spacing: -0.035em; font-weight: 700; }
h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); line-height: 1.08; letter-spacing: -0.03em; font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.2; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--brand-400); margin-bottom: 14px;
}
.lead { font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.4; color: var(--muted); font-weight: 400; letter-spacing: -0.015em; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.text-center { text-align: center; }
.gradient-text {
  background: linear-gradient(100deg, var(--brand) 0%, var(--brand-400) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.container.narrow { max-width: var(--max-narrow); }
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section.tight { padding: clamp(48px, 7vw, 90px) 0; }
.section.white { background: #fff; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--brand); color: #fff; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .lead, .section.dark .muted { color: rgba(255,255,255,.72); }
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .grid-2, .grid-3, .grid-4, .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px; border-radius: 980px;
  font-size: 1rem; font-weight: 500; letter-spacing: -0.01em;
  border: 1px solid transparent; cursor: pointer; text-decoration: none !important;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-600); box-shadow: 0 8px 24px rgba(13,30,70,.25); }
.btn-secondary { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-secondary:hover { background: var(--brand); color: #fff; }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: var(--brand-50); }
.btn-ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost-light:hover { background: rgba(255,255,255,.22); }
.btn-sm { min-height: 34px; padding: 6px 16px; font-size: .85rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.text-center .btn-row, .btn-row.center { justify-content: center; }
.link-arrow { font-weight: 500; color: var(--brand-400); display: inline-flex; align-items: center; gap: 4px; }
.link-arrow::after { content: "›"; font-size: 1.25em; line-height: 1; transition: transform .2s var(--ease); }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover::after { transform: translateX(3px); }
.section.dark .link-arrow { color: #a9bdf0; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  background: rgba(255,255,255,.8);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 20px; }
.brand-mark { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.15rem; color: var(--brand); letter-spacing: -0.03em; text-decoration: none !important; }
.brand-mark span { font-weight: 400; color: var(--ink-2); }
.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-menu > li { position: relative; }
.nav-menu > li > a, .nav-menu > li > button {
  display: inline-flex; align-items: center; gap: 4px; height: var(--nav-h); padding: 0 12px;
  font-size: .82rem; color: var(--ink); opacity: .85; background: none; border: 0; cursor: pointer; text-decoration: none;
}
.nav-menu > li > a:hover, .nav-menu > li > button:hover, .nav-menu > li > a[aria-current="page"] { opacity: 1; text-decoration: none; }
.nav-menu > li > a[aria-current="page"] { font-weight: 600; }
.chev { width: 10px; height: 10px; transition: transform .2s var(--ease); }
.dropdown {
  position: absolute; top: calc(var(--nav-h) - 4px); left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 270px; padding: 10px; background: rgba(255,255,255,.97); border-radius: 18px;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(0,0,0,.06);
  opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  list-style: none; margin: 0;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.open .dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.has-dropdown:hover .chev, .has-dropdown.open .chev { transform: rotate(180deg); }
.dropdown a { display: block; padding: 10px 14px; border-radius: 12px; color: var(--ink); font-size: .92rem; }
.dropdown a small { display: block; color: var(--muted); font-size: .78rem; margin-top: 1px; }
.dropdown a:hover { background: var(--bg-alt); text-decoration: none; }
.dropdown .dd-all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.dropdown .dd-all a { color: var(--brand-400); font-weight: 500; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 0; margin-right: -10px; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); margin: 5px auto; transition: transform .3s var(--ease), opacity .2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .nav-cta .btn { display: none; }
  .nav-menu {
    position: fixed; inset: var(--nav-h) 0 0 0; background: #fff; flex-direction: column; align-items: stretch;
    padding: 18px 26px 120px; gap: 0; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav-open .nav-menu { opacity: 1; visibility: visible; transform: none; }
  .nav-open { overflow: hidden; }
  .nav-menu > li { border-bottom: 1px solid var(--bg-alt); }
  .nav-menu > li > a, .nav-menu > li > button { height: auto; padding: 16px 0; font-size: 1.35rem; font-weight: 600; width: 100%; justify-content: space-between; opacity: 1; }
  .chev { width: 14px; height: 14px; }
  .dropdown {
    position: static; transform: none !important; opacity: 1; visibility: visible; box-shadow: none; border: 0;
    padding: 0 0 12px; display: none; min-width: 0; background: transparent;
  }
  .has-dropdown:hover .dropdown { display: none; }
  .has-dropdown.open .dropdown { display: block; }
  .dropdown a { padding: 10px 0; font-size: 1.05rem; }
  .dropdown a small { display: none; }
  .nav-mobile-cta { display: block !important; padding-top: 24px; border: 0 !important; }
}
.nav-mobile-cta { display: none !important; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: min(92vh, 900px); display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; background: var(--brand); isolation: isolate;
}
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(13,30,70,.25) 0%, rgba(13,30,70,.35) 40%, rgba(13,30,70,.92) 100%),
    linear-gradient(90deg, rgba(13,30,70,.55) 0%, rgba(13,30,70,0) 70%);
}
.hero-inner { padding: 120px 0 clamp(64px, 10vw, 120px); max-width: 820px; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero .lead { color: rgba(255,255,255,.85); max-width: 640px; margin-bottom: 34px; }
.hero .eyebrow { color: #b9c8ef; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 40px; font-size: .9rem; color: rgba(255,255,255,.82); list-style: none; padding: 0; }
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; flex: none; }
@media (max-width: 760px) {
  .hero { min-height: 88vh; }
  .hero .btn-row .btn { width: 100%; }
}

/* ---------- Page hero (inner) ---------- */
.page-hero { padding: clamp(64px, 9vw, 120px) 0; text-align: center; background: var(--bg-alt); }
.page-hero .container > :last-child { margin-bottom: 0; }
.page-hero-media { max-width: 1040px; margin: clamp(48px, 6vw, 72px) auto 0; }
.page-hero .placeholder { background-color: #fff; }
.page-hero h1 { max-width: 900px; margin: 0 auto 20px; }
.page-hero .lead { max-width: 720px; margin: 0 auto 32px; }
.page-hero .btn-row { justify-content: center; }
.breadcrumbs { font-size: .8rem; color: var(--muted); margin-bottom: 22px; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--line); }
.breadcrumbs a { color: var(--muted); }

/* ---------- Cards ---------- */
.card {
  background: #fff; border-radius: var(--radius); padding: clamp(26px, 3vw, 36px);
  box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: flex; flex-direction: column; height: 100%;
}
.section:not(.alt) .card { background: var(--bg-alt); box-shadow: none; }
a.card { color: inherit; text-decoration: none; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin-bottom: 18px; }
.card .link-arrow { margin-top: auto; }
.icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand); margin-bottom: 22px; flex: none;
}
.icon svg { width: 26px; height: 26px; }
.section.dark .icon { background: rgba(255,255,255,.1); color: #fff; }
.section.dark .card { background: rgba(255,255,255,.06); box-shadow: none; border: 1px solid rgba(255,255,255,.1); }
.section.dark .card p { color: rgba(255,255,255,.7); }

/* Big tiles (Apple style) */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tile {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 560px;
  display: flex; flex-direction: column; justify-content: space-between; padding: clamp(36px, 5vw, 56px);
  text-align: center; color: var(--ink); text-decoration: none !important; background: var(--bg-alt);
  transition: transform .4s var(--ease);
}
.tile:hover { transform: scale(1.01); }
.tile.dark { background: var(--brand); color: #fff; }
.tile.dark h2, .tile.dark h3 { color: #fff; }
.tile.dark .lead { color: rgba(255,255,255,.75); }
.tile h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 8px; }
.tile .lead { font-size: 1.2rem; margin-bottom: 22px; }
.tile .btn-row { justify-content: center; }
.tile .placeholder { margin-top: 32px; min-height: 220px; }
@media (max-width: 860px) { .tiles { grid-template-columns: 1fr; } .tile { min-height: 0; } }

/* ---------- Image placeholders ---------- */
.placeholder {
  position: relative; width: 100%; border-radius: var(--radius); overflow: hidden;
  background:
    repeating-linear-gradient(45deg, rgba(13,30,70,.035) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, #e8ecf5 0%, #dfe5f1 100%);
  border: 1.5px dashed rgba(13,30,70,.22);
  display: grid; place-items: center; text-align: center; color: var(--brand); padding: 20px;
}
.placeholder::before {
  content: ""; width: 44px; height: 44px; margin: 0 auto 10px; display: block; opacity: .55;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D1E46' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='m21 15-5-5L5 21'/%3E%3C/svg%3E");
}
.placeholder span { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .02em; opacity: .75; }
.placeholder small { display: block; font-size: .74rem; opacity: .55; margin-top: 4px; }
.ratio-16x10 { aspect-ratio: 16/10; }
.ratio-4x3 { aspect-ratio: 4/3; }
.ratio-1x1 { aspect-ratio: 1/1; }
.ratio-4x5 { aspect-ratio: 4/5; }
.tile.dark .placeholder { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.25); color: #fff; }
.tile.dark .placeholder::before { filter: invert(1); }

/* ---------- Lists / features ---------- */
.check-list { list-style: none; padding: 0; margin: 0 0 24px; }
.check-list li { position: relative; padding: 0 0 14px 34px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center/12px;
}
.section.dark .check-list li::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D1E46' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-size: 3.2rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1;
  margin-bottom: 18px; color: transparent; -webkit-text-stroke: 1.5px var(--brand-400);
}
.section.dark .step::before { -webkit-text-stroke-color: rgba(255,255,255,.55); }
.step p { color: var(--muted); }

/* Stat strip */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: center; }
.stat strong { display: block; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.04em; color: var(--brand); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } }

/* Callout */
.callout { border-radius: var(--radius); background: var(--brand-50); padding: clamp(24px, 3vw, 36px); border-left: 4px solid var(--brand); }
.callout p:last-child { margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative;
  font-size: 1.15rem; font-weight: 600; letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D1E46' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 44px 24px 0; color: var(--ink-2); }
.faq .faq-body p:last-child { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: radial-gradient(120% 140% at 100% 0%, #24418a 0%, var(--brand) 55%);
  color: #fff; text-align: center; padding: clamp(56px, 8vw, 100px) clamp(24px, 5vw, 64px);
}
.cta-band h2 { color: #fff; max-width: 720px; margin: 0 auto 16px; }
.cta-band .lead { color: rgba(255,255,255,.78); max-width: 620px; margin: 0 auto 32px; }
.cta-band .btn-row { justify-content: center; }
.cta-band .small { color: rgba(255,255,255,.6); margin: 22px 0 0; }

/* Inline CTA (inside content) */
.inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--bg-alt); border-radius: var(--radius); padding: 28px 32px; }
.inline-cta h3 { margin: 0 0 4px; font-size: 1.3rem; }
.inline-cta p { margin: 0; color: var(--muted); }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-card .placeholder { border-radius: var(--radius); margin-bottom: 20px; }
.team-card h3 { font-size: 1.2rem; margin-bottom: 2px; }
.team-card .role { color: var(--brand-400); font-weight: 500; font-size: .92rem; margin-bottom: 10px; }
.team-card p { color: var(--muted); font-size: .95rem; }

/* Values */
.value { padding: 0; }
.value h3 { font-size: 1.25rem; }
.value p { color: var(--muted); }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-lg); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg-alt);
  border: 1px solid transparent; border-radius: var(--radius-sm); padding: 14px 16px; min-height: 52px;
  transition: border-color .2s, background-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--brand-400); box-shadow: 0 0 0 4px rgba(63,95,168,.15); }
.field-check { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.field-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.hp { position: absolute; left: -9999px; }
.form-status { margin-top: 16px; padding: 14px 18px; border-radius: var(--radius-sm); display: none; }
.form-status.ok { display: block; background: #e8f5ec; color: #14532d; }
.form-status.err { display: block; background: #fdecec; color: #7f1d1d; }

.contact-methods { display: grid; gap: 14px; }
.contact-method { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: var(--bg-alt); color: inherit; text-decoration: none !important; transition: background-color .2s; }
a.contact-method:hover { background: var(--brand-50); }
.contact-method .icon { margin: 0; }
.contact-method strong { display: block; font-size: 1.05rem; }
.contact-method span { color: var(--muted); font-size: .92rem; }

/* ---------- Footer ---------- */
.site-footer { background: #e8e8ed; color: var(--muted); font-size: .8rem; padding: 56px 0 120px; border-top: 0; }
@media (min-width: 761px) { .site-footer { padding-bottom: 40px; } }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.footer-top h4 { font-size: .8rem; font-weight: 600; color: var(--ink); margin-bottom: 12px; letter-spacing: 0; }
.footer-top ul { list-style: none; margin: 0; padding: 0; }
.footer-top li { margin-bottom: 9px; }
.footer-top a { color: var(--ink-2); }
.footer-brand p { margin-top: 12px; max-width: 300px; }
.footer-reg { padding: 24px 0; border-bottom: 1px solid var(--line); line-height: 1.6; }
.footer-reg p { margin-bottom: 8px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; }
.footer-bottom a { color: var(--ink-2); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Mobile sticky CTA bar ---------- */
.mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; display: none; gap: 10px;
  padding: 10px; border-radius: 22px; background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: var(--shadow-lg); border: 1px solid rgba(0,0,0,.06);
  transform: translateY(140%); transition: transform .4s var(--ease);
}
.mobile-cta.show { transform: none; }
.mobile-cta .btn { flex: 1; min-height: 46px; padding: 10px 14px; }
@media (max-width: 760px) { .mobile-cta { display: flex; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Prose (legal pages) ---------- */
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.4em; }
.prose p, .prose li { color: var(--ink-2); }

/* 404 */
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; }

/* ---------- Sub-page image hero ---------- */
.hero-sub { min-height: min(72vh, 680px); align-items: center; }
.hero-sub .hero-inner { padding: 100px 0 90px; }
.hero-sub h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
.hero-sub .breadcrumbs ol { justify-content: flex-start; }
.hero-sub .breadcrumbs, .hero-sub .breadcrumbs a { color: rgba(255,255,255,.7); }
.hero-sub .breadcrumbs li + li::before { color: rgba(255,255,255,.4); }
.hero-sub > img, .hero-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-placeholder {
  background:
    radial-gradient(60% 80% at 85% 20%, rgba(90,124,204,.55) 0%, transparent 60%),
    radial-gradient(50% 70% at 70% 90%, rgba(37,65,138,.6) 0%, transparent 65%),
    radial-gradient(40% 50% at 10% 10%, rgba(255,255,255,.08) 0%, transparent 70%),
    linear-gradient(135deg, #0D1E46 0%, #16306b 55%, #2a4a9a 100%);
}
.hero-placeholder span {
  position: absolute; right: 20px; bottom: 18px; font-size: .72rem; letter-spacing: .02em;
  color: rgba(255,255,255,.55); border: 1px dashed rgba(255,255,255,.3); border-radius: 8px; padding: 6px 10px;
}
.hero-sub::after { background: linear-gradient(90deg, rgba(13,30,70,.75) 0%, rgba(13,30,70,.35) 65%, rgba(13,30,70,.15) 100%); }
@media (max-width: 760px) {
  .hero-sub { min-height: 78vh; align-items: flex-end; }
  .hero-sub::after { background: linear-gradient(180deg, rgba(13,30,70,.25) 0%, rgba(13,30,70,.9) 100%); }
  .hero-placeholder span { left: 16px; right: 16px; top: 16px; bottom: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .66rem; }
}

/* ---------- Keep components visible on grey sections ---------- */
.section.alt .inline-cta, .section.alt .contact-method, .section.alt .tile:not(.dark) { background: #fff; }
a.contact-method:hover { background: var(--brand-50) !important; }
.section.alt .field input, .section.alt .field select, .section.alt .field textarea { background: var(--bg-alt); }

/* Left-aligned page hero (matches service page heroes) */
.page-hero.left { text-align: left; }
.page-hero.left .container > * { max-width: 820px; margin-left: 0; margin-right: 0; }
.page-hero.left .breadcrumbs ol, .page-hero.left .btn-row { justify-content: flex-start; }
