/* Afirmax Motors - main stylesheet */
:root {
  --navy: #0b1d36;
  --navy-2: #13294a;
  --navy-3: #1c3760;
  --accent: #c8102e;
  --accent-dark: #a00d24;
  --ink: #16202e;
  --text: #2c3746;
  --muted: #637083;
  --line: #e2e7ee;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(11,29,54,.06), 0 8px 24px rgba(11,29,54,.08);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
a { color: var(--navy-3); text-underline-offset: 3px; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p, ul, ol { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 480px) { .container { padding: 0 18px; } }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--accent); color: #fff; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 10px; top: 10px; }

.icon { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.18em; }

/* Top bar */
.topbar { background: var(--navy); color: #c9d3e1; font-size: .86rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 20px; min-height: 40px; align-items: center; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar-group { display: flex; gap: 22px; align-items: center; }
.topbar-item { display: inline-flex; gap: 7px; align-items: center; }
.topbar .icon { color: #8fa3bf; }
@media (max-width: 820px) { .topbar .hide-sm { display: none; } }
@media (max-width: 560px) { .topbar .container { justify-content: center; } .topbar .topbar-group + .topbar-group { display: none; } }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.logo:hover { color: var(--navy); }
.logo-mark { width: 40px; height: 40px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-weight: 800; font-size: 1.22rem; letter-spacing: .14em; }
.logo-sub { font-size: .66rem; letter-spacing: .32em; color: var(--muted); margin-top: 5px; font-weight: 600; }
.logo-light { color: #fff; }
.logo-light:hover { color: #fff; }
.logo-light .logo-sub { color: #8fa3bf; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.main-nav a { display: block; color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 600; padding: 10px 14px; border-radius: var(--radius); position: relative; }
.main-nav a:hover { color: var(--accent); }
.main-nav a[aria-current="page"] { color: var(--accent); }
.main-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--accent); }
.main-nav .nav-cta a { background: var(--accent); color: #fff; margin-left: 10px; padding: 10px 18px; }
.main-nav .nav-cta a:hover { background: var(--accent-dark); color: #fff; }
.main-nav .nav-cta a::after { display: none; }

.nav-toggle { display: none; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); color: var(--ink); border-radius: var(--radius); padding: 10px 14px; font: inherit; font-size: .92rem; font-weight: 600; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .header-inner { flex-wrap: wrap; min-height: 68px; align-content: center; row-gap: 0; }
  .main-nav { display: none; width: 100%; padding: 0 0 16px; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; }
  .main-nav a { padding: 13px 4px; border-top: 1px solid var(--line); border-radius: 0; }
  .main-nav a[aria-current="page"]::after { display: none; }
  .main-nav .nav-cta a { margin: 12px 0 0; text-align: center; border-radius: var(--radius); border-top: 0; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: var(--radius); font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.2; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-3); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 480px) { .btn-row .btn { width: 100%; } }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 500px at 85% 20%, #1f3d6b 0%, rgba(31,61,107,0) 60%), linear-gradient(160deg, #0b1d36 0%, #0f2645 55%, #0b1d36 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent); -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-top: 96px; padding-bottom: 104px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #ff9aa8; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero .lead { font-size: 1.18rem; color: #c9d3e1; max-width: 560px; margin-bottom: 34px; }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 72px; }
}

/* Trust strip */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; gap: 14px; align-items: center; padding: 26px 20px; border-left: 1px solid var(--line); font-weight: 600; color: var(--ink); font-size: .96rem; line-height: 1.35; }
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item .icon-badge { width: 44px; height: 44px; }
@media (max-width: 900px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item { border-left: 0; padding: 18px 0; }
}
@media (max-width: 480px) { .trust-grid { grid-template-columns: 1fr; } .trust-item { padding: 14px 0; border-top: 1px solid var(--line); } .trust-item:first-child { border-top: 0; } }

.icon-badge { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: #eef2f8; color: var(--navy-3); flex: none; }
.icon-badge .icon { width: 22px; height: 22px; }

/* Sections */
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; display: block; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
@media (max-width: 640px) { .section { padding: 64px 0; } .section-head { margin-bottom: 32px; } }

.grid-3 { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 32px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card h3 { margin: 22px 0 10px; }
.card p { color: var(--muted); }
.card .card-link { margin-top: auto; font-weight: 700; text-decoration: none; color: var(--navy-3); display: inline-flex; gap: 6px; align-items: center; }
.card .card-link:hover { color: var(--accent); }

/* Statement band */
.statement-band { background: var(--navy); color: #fff; padding: 56px 0; }
.statement-band .container { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.statement-band p { font-size: clamp(1.15rem, 2.2vw, 1.45rem); line-height: 1.45; margin: 0; color: #fff; font-weight: 500; }
.statement-band .bar { width: 4px; height: 72px; background: var(--accent); }
@media (max-width: 640px) { .statement-band .container { grid-template-columns: 1fr; } .statement-band .bar { width: 48px; height: 4px; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.steps li::before { counter-increment: step; content: "0" counter(step); display: block; font-size: 2rem; font-weight: 800; color: var(--accent); letter-spacing: -.02em; margin-bottom: 10px; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.steps.compact { grid-template-columns: 1fr; gap: 14px; }
.steps.compact li { padding: 20px 22px 20px 78px; }
.steps.compact li::before { position: absolute; left: 22px; top: 18px; font-size: 1.6rem; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.checklist { list-style: none; padding: 0; margin: 0 0 28px; }
.checklist li { display: flex; gap: 12px; padding: 8px 0; color: var(--ink); font-weight: 500; }
.checklist .icon { color: var(--accent); width: 22px; height: 22px; margin-top: 2px; }

.panel { background: var(--navy); color: #c9d3e1; border-radius: 12px; padding: 40px; }
.panel h3 { color: #fff; font-size: 1.35rem; }
.panel p { color: #c9d3e1; }
.panel a { color: #fff; }
@media (max-width: 520px) { .panel { padding: 28px 22px; } }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--accent) 0%, #9e0c24 100%); color: #fff; padding: 64px 0; }
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; color: #ffe1e6; font-size: 1.08rem; }
.cta-band .btn-white { background: #fff; color: var(--accent); }
.cta-band .btn-white:hover { background: var(--navy); color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.12); }

/* Page hero */
.page-hero { background: linear-gradient(160deg, #0b1d36 0%, #13294a 100%); color: #fff; padding: 64px 0 60px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255,255,255,.03); }
.breadcrumb { font-size: .86rem; color: #8fa3bf; margin-bottom: 14px; }
.breadcrumb a { color: #c9d3e1; text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.page-hero h1 { color: #fff; margin: 0; font-size: clamp(1.9rem, 4vw, 2.7rem); position: relative; }
.page-hero p { color: #c9d3e1; margin: 12px 0 0; max-width: 640px; font-size: 1.1rem; position: relative; }

/* Details list */
.details { list-style: none; padding: 0; margin: 0; }
.details li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.details li:last-child { border-bottom: 0; }
.details strong { min-width: 150px; color: var(--ink); font-weight: 600; }
@media (max-width: 520px) { .details li { flex-direction: column; gap: 2px; } .details strong { min-width: 0; } }

.contact-lines { list-style: none; padding: 0; margin: 0 0 8px; }
.contact-lines li { display: flex; gap: 14px; align-items: center; padding: 10px 0; }
.contact-lines .icon-badge { width: 42px; height: 42px; background: rgba(255,255,255,.08); color: #fff; }
.contact-lines .icon-badge .icon { width: 18px; height: 18px; }
.contact-lines small { display: block; color: #8fa3bf; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; line-height: 1.4; }
.contact-lines span, .contact-lines a { color: #fff; font-weight: 600; text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; }

.panel .hours li { border-color: rgba(255,255,255,.1); }
.panel h4 { color: #fff; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin: 26px 0 10px; }

/* Layout with sidebar */
.layout-aside { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
@media (max-width: 960px) { .layout-aside { grid-template-columns: 1fr; gap: 32px; } }

/* Empty state */
.empty-state { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 64px 32px; text-align: center; box-shadow: var(--shadow); max-width: 780px; margin: 0 auto; }
.empty-state .icon-badge { width: 76px; height: 76px; margin-bottom: 20px; }
.empty-state .icon-badge .icon { width: 34px; height: 34px; }
.empty-state p { color: var(--muted); font-size: 1.08rem; }
.empty-state .btn-row { justify-content: center; margin-top: 26px; }
.spec-label { margin: 36px 0 0; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.spec-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 14px 0 0; padding: 0; list-style: none; }
.spec-chips li { font-size: .85rem; padding: 6px 12px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--text); }
@media (max-width: 520px) { .empty-state { padding: 44px 20px; } }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 36px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.5rem; margin-bottom: 6px; }
.form-card .form-intro { color: var(--muted); margin-bottom: 26px; }
@media (max-width: 520px) { .form-card { padding: 26px 20px; } }
.form-grid { display: grid; gap: 18px 20px; grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 7px; color: var(--ink); }
.form .req { color: var(--accent); }
.form input[type=text], .form input[type=tel], .form input[type=email], .form textarea {
  width: 100%; padding: 13px 14px; font: inherit; font-size: 16px; color: var(--ink);
  background: #fbfcfd; border: 1px solid #cdd5df; border-radius: var(--radius); transition: border-color .15s, box-shadow .15s, background .15s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--navy-3); background: #fff; box-shadow: 0 0 0 4px rgba(28,55,96,.12); }
.form textarea { min-height: 140px; resize: vertical; }
.form .hint { font-size: .85rem; color: var(--muted); margin: 6px 0 0; }
.form input.reg-input { text-transform: uppercase; font-weight: 700; letter-spacing: .1em; background: #fff6cc; border-color: #e3c95a; }
.form input.reg-input::placeholder { color: #9a8a46; font-weight: 600; }
.form .consent label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); font-size: .9rem; }
.form .consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--accent); }
.form button.btn { width: 100%; padding: 16px; font-size: 1.05rem; }
.form-secure { display: flex; gap: 8px; align-items: center; justify-content: center; color: var(--muted); font-size: .85rem; margin: 12px 0 0; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Legal */
.legal { max-width: 800px; }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }
.legal .updated { color: var(--muted); font-size: .95rem; }
.placeholder-note { background: #fff7e6; border: 1px solid #f3d08a; border-radius: var(--radius); padding: 14px 18px; font-size: .95rem; }
.legal table { width: 100%; border-collapse: collapse; margin-bottom: 1em; font-size: .95rem; }
.legal th, .legal td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal th { background: var(--bg-soft); color: var(--ink); }
.table-wrap { overflow-x: auto; }

.prose { max-width: 720px; }
.prose p { font-size: 1.08rem; }
.prose .lead-p { font-size: 1.3rem; color: var(--ink); line-height: 1.5; }

/* Footer */
.site-footer { background: #081528; color: #9fb0c6; font-size: .94rem; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr; gap: 40px; padding: 72px 0 48px; }
@media (max-width: 960px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; gap: 32px; padding: 56px 0 36px; } }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer p { margin: 0 0 .6em; }
.site-footer a { color: #dbe3ee; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-tag { color: #fff; font-weight: 600; margin: 18px 0 10px !important; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 10px; }
.footer-list.icons li { display: flex; gap: 10px; align-items: flex-start; }
.footer-list.icons .icon { color: #6f86a6; margin-top: 4px; }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid #13243c; }
.hours li span:last-child { color: #dbe3ee; text-align: right; }
.footer-note { font-size: .86rem; margin-top: 12px !important; }
.footer-bottom { border-top: 1px solid #13243c; padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .86rem; }
.footer-bottom nav a { margin-right: 18px; }

/* ---------- Motion ---------- */
/* Header shadow on scroll */
.site-header { transition: box-shadow .25s ease; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(11,29,54,.10); }

/* Nav underline grows on hover */
.main-nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }

/* Buttons and cards */
.btn { transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary:hover { box-shadow: 0 10px 22px rgba(200,16,46,.28); }
.btn .icon, .card-link .icon { transition: transform .2s ease; }
.btn:hover .icon, .card-link:hover .icon { transform: translateX(4px); }
.card { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, opacity .7s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 2px 4px rgba(11,29,54,.06), 0 18px 40px rgba(11,29,54,.14); border-color: #d3dbe6; }
.card .icon-badge, .trust-item .icon-badge { transition: background .3s ease, color .3s ease, transform .3s ease; }
.card:hover .icon-badge { background: var(--accent); color: #fff; transform: rotate(-6deg) scale(1.06); }
.trust-item:hover .icon-badge { background: var(--navy); color: #fff; }
.steps li { transition: border-color .25s ease, transform .25s ease; }
.steps li:hover { border-color: var(--accent); transform: translateX(4px); }

/* Scroll reveal (only when JS is running) */
.js .reveal, .js .reveal-children > * { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in, .js .reveal-children > .in { opacity: 1; transform: none; }
.js .card.reveal.in:hover { transform: translateY(-6px); }

/* Hero: drifting light, panning grid, intro */
.hero { background-size: 160% 160%, 100% 100%; animation: heroGlow 16s ease-in-out infinite alternate; }
@keyframes heroGlow { from { background-position: 100% 0%, 0 0; } to { background-position: 0% 100%, 0 0; } }
.hero::before { animation: gridPan 30s linear infinite; }
@keyframes gridPan { from { background-position: 0 0, 0 0; } to { background-position: 48px 48px, 48px 48px; } }
.hero-copy > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > *:nth-child(2) { animation-delay: .1s; }
.hero-copy > *:nth-child(3) { animation-delay: .2s; }
.hero-copy > *:nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Hero contact card */
.hero-card { justify-self: end; width: 100%; max-width: 400px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 32px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: rise .9s cubic-bezier(.2,.7,.2,1) .35s both; }
.hero-card-label { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #8fa3bf; margin: 0 0 12px; }
.hero-card-phone { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-size: 1.7rem; font-weight: 700; letter-spacing: -.01em; }
.hero-card-phone .icon { width: 26px; height: 26px; color: #ff9aa8; }
.hero-card-phone:hover { color: #fff; text-decoration: underline; }
.hero-card-mail { display: block; color: #c9d3e1; margin: 6px 0 22px; text-decoration: none; word-break: break-word; }
.hero-card-mail:hover { color: #fff; text-decoration: underline; }
.hero-card-hours { list-style: none; padding: 0; margin: 0 0 18px; }
.hero-card-hours li { display: flex; justify-content: space-between; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.12); color: #c9d3e1; font-size: .95rem; }
.hero-card-hours li span:last-child { color: #fff; font-weight: 600; }
.hero-card-note { display: flex; gap: 8px; align-items: center; color: #8fa3bf; font-size: .88rem; margin: 0; }
@media (max-width: 900px) { .hero-card { justify-self: stretch; max-width: none; padding: 24px; } .hero-card-phone { font-size: 1.45rem; } }

/* Services ticker */
.ticker { background: var(--navy-3); color: #fff; overflow: hidden; padding: 16px 0; }
.ticker-track { display: flex; width: max-content; animation: ticker 36s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker li { display: flex; align-items: center; white-space: nowrap; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .86rem; padding: 0 28px; }
.ticker li::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-left: 56px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Page hero circle drift */
.page-hero::after { animation: floaty 12s ease-in-out infinite alternate; }
@keyframes floaty { to { transform: translate(-40px, 30px) scale(1.08); } }
.page-hero h1, .page-hero p, .breadcrumb { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.page-hero p { animation-delay: .1s; }

/* Empty state icon pulse */
.empty-state .icon-badge { position: relative; }
.empty-state .icon-badge::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--navy-3); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .5; } to { transform: scale(1.6); opacity: 0; } }

/* Smooth mobile menu */
@media (max-width: 960px) {
  .main-nav { display: block; max-height: 0; overflow: hidden; opacity: 0; padding: 0; transition: max-height .4s ease, opacity .3s ease, padding .3s ease; }
  .main-nav.open { max-height: 520px; opacity: 1; padding: 0 0 16px; }
  .main-nav a::after { display: none; }
  .nav-toggle span { transition: background .2s; }
  .nav-toggle span::before, .nav-toggle span::after { transition: transform .25s ease, top .25s ease; }
  .nav-toggle.is-open span { background: transparent; }
  .nav-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
  .nav-toggle.is-open span::after { top: 0; transform: rotate(-45deg); }
}

/* Form focus lift */
.form-card { transition: box-shadow .3s ease, opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.form-card:focus-within { box-shadow: 0 2px 4px rgba(11,29,54,.06), 0 20px 48px rgba(11,29,54,.14); }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .reveal-children > * { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
}
