/* Auto Policy Bind - design system (2026-11-19). One brand blue + navy ink + neutrals. Motion: transform/opacity only. */
:root {
  --blue: #1530d8;
  --blue-600: #1126b8;
  --blue-700: #0d1d93;
  --blue-50: #eef1ff;
  --blue-100: #dfe5ff;
  --ink: #0b1233;
  --ink-2: #263055;
  --muted: #5a6385;
  --line: #e3e7f1;
  --line-2: #d3d9e8;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --cyan: #5cc8ff;
  --green: #12a150;
  --danger: #c62828;
  --navy-1: #0b1233;
  --navy-2: #101c55;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(11, 18, 51, .06), 0 2px 6px rgba(11, 18, 51, .05);
  --shadow: 0 2px 4px rgba(11, 18, 51, .05), 0 12px 32px -8px rgba(11, 18, 51, .14);
  --shadow-lg: 0 4px 8px rgba(11, 18, 51, .06), 0 28px 60px -18px rgba(13, 29, 147, .32);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font-head: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--ink-2); background: var(--bg);
  overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.has-modal, body.has-nav-open { overflow: hidden; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.9rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 1.25rem + 2vw, 2.65rem); font-weight: 800; }
h3 { font-size: clamp(1.15rem, 1.05rem + .45vw, 1.35rem); font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue-100); color: var(--ink); }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; transition: top .2s var(--ease); }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: clamp(64px, 6vw + 32px, 112px) 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section--dark {
  color: #c9d2f2; overflow: hidden; isolation: isolate;
  background: radial-gradient(60% 80% at 85% 0%, rgba(92, 200, 255, .16), transparent 60%), radial-gradient(50% 70% at 0% 100%, rgba(21, 48, 216, .35), transparent 65%), linear-gradient(160deg, var(--navy-1), var(--navy-2));
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark .lead, .section--dark p { color: #c9d2f2; }
.section--dark a:not(.btn) { color: #9fd9ff; }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-family: var(--font-head); font-size: .8rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.section--dark .eyebrow, .page-hero .eyebrow { color: var(--cyan); }
.lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); color: var(--muted); line-height: 1.7; }

.grid-2, .grid-3, .grid-4 { display: grid; gap: clamp(18px, 2vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }

.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } .split--reverse > :first-child { order: 0; } }
.media-frame { position: relative; border-radius: var(--radius-lg); }
.media-frame img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); position: relative; z-index: 1; }
.media-frame::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: var(--radius-lg); z-index: 0;
  background: linear-gradient(135deg, var(--blue), var(--cyan)); opacity: .14;
}
@media (max-width: 600px) { .media-frame::before { inset: 10px -8px -10px 8px; } }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--blue); position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 12px; border: 1.5px solid transparent; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 55%; height: 100%; pointer-events: none;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-18deg);
}
.btn:hover::after { animation: btnSheen .9s var(--ease); }
@keyframes btnSheen { to { left: 130%; } }
.btn-primary { background: linear-gradient(135deg, var(--blue) 0%, #2446ff 100%); color: #fff; box-shadow: 0 8px 22px -8px rgba(21, 48, 216, .65); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(21, 48, 216, .7); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { color: var(--blue); border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-light { background: #fff; color: var(--blue-700); }
.btn-light:hover { color: var(--blue); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .45); }
.section--dark .btn-ghost, .cta-band .btn-ghost, .page-hero .btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .32); }
.section--dark .btn-ghost:hover, .cta-band .btn-ghost:hover, .page-hero .btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
.btn-lg { min-height: 56px; padding: 15px 28px; font-size: 1.05rem; border-radius: 14px; }
.btn svg { flex: none; }

/* ---------- cards ---------- */
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.4vw, 30px);
  box-shadow: var(--shadow-sm); transition: translate .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover { translate: 0 -5px; box-shadow: var(--shadow); border-color: var(--line-2); }
.card h3 { margin-top: 2px; }
.card p:last-child { margin-bottom: 0; }
.card__icon {
  display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 14px; color: var(--blue);
  background: linear-gradient(140deg, var(--blue-50), #fff); border: 1px solid var(--blue-100); box-shadow: inset 0 -6px 14px -10px rgba(21, 48, 216, .4);
}
.card__icon svg { width: 26px; height: 26px; }
.card--link { text-decoration: none; color: inherit; display: block; }
.card--link:hover { color: inherit; border-color: var(--blue-100); }
.card--link::after {
  content: ""; position: absolute; right: 22px; top: 26px; width: 10px; height: 10px; border-top: 2px solid var(--blue); border-right: 2px solid var(--blue);
  transform: rotate(45deg); opacity: .35; transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.card--link:hover::after { opacity: 1; transform: translateX(4px) rotate(45deg); }
.section--dark .card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); box-shadow: none; }
.section--dark .card:hover { border-color: rgba(92, 200, 255, .45); background: rgba(255, 255, 255, .08); }
.section--dark .card__icon { background: rgba(92, 200, 255, .1); border-color: rgba(92, 200, 255, .28); color: var(--cyan); box-shadow: none; }

.feature-list, .checklist { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 12px; }
.feature-list li, .checklist li { position: relative; padding-left: 34px; }
.feature-list li::before, .checklist li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-50) no-repeat center / 14px 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312a150' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  box-shadow: inset 0 0 0 1px var(--blue-100);
}
.section--dark .feature-list li::before, .section--dark .checklist li::before { background-color: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.callout {
  position: relative; padding: 20px 22px 20px 58px; border-radius: var(--radius); background: linear-gradient(135deg, var(--blue-50), #fff);
  border: 1px solid var(--blue-100); color: var(--ink-2); margin: 24px 0;
}
.callout::before {
  content: "i"; position: absolute; left: 20px; top: 20px; width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: #fff;
  font: 700 14px/24px var(--font-head); text-align: center;
}
.callout p:last-child { margin-bottom: 0; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600;
  background: var(--blue-50); color: var(--blue-700); border: 1px solid var(--blue-100);
}

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; position: relative; counter-reset: none; }
.steps::before {
  content: ""; position: absolute; left: 6%; right: 6%; top: 27px; height: 2px; border-radius: 2px; z-index: 0;
  background: linear-gradient(90deg, var(--blue), var(--cyan)); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.4s var(--ease) .2s;
}
.steps.is-drawn::before, html:not(.js) .steps::before { transform: scaleX(1); }
.step { position: relative; z-index: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 24px; box-shadow: var(--shadow-sm); }
.section--alt .step { background: #fff; }
.step__num {
  display: inline-grid; place-items: center; width: 54px; height: 54px; margin: -2px 0 16px; border-radius: 16px; color: #fff;
  font: 800 1.25rem/1 var(--font-head); background: linear-gradient(140deg, var(--blue), #3b5cff); box-shadow: 0 10px 22px -10px rgba(21, 48, 216, .8);
}
.step p:last-child { margin-bottom: 0; }
@media (max-width: 760px) { .steps::before { left: 27px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; transform: scaleY(0); transform-origin: 50% 0; } .steps.is-drawn::before { transform: scaleY(1); } }
.section--dark .step { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); box-shadow: none; }

/* ---------- stats ---------- */
.stat-band {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2px; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(135deg, rgba(21, 48, 216, .18), rgba(92, 200, 255, .18)); box-shadow: var(--shadow);
}
.stat { background: #fff; padding: 30px 26px; text-align: center; display: flex; flex-direction: column; gap: 6px; }
.stat__num {
  font: 800 clamp(2.1rem, 1.6rem + 1.8vw, 3rem)/1 var(--font-head); letter-spacing: -.03em;
  background: linear-gradient(135deg, var(--blue-700), var(--blue) 45%, #2f8cff); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat__label { color: var(--muted); font-size: .95rem; }
.section--dark .stat-band { background: rgba(255, 255, 255, .1); box-shadow: none; }
.section--dark .stat { background: rgba(11, 18, 51, .55); }
.section--dark .stat__num { background: linear-gradient(135deg, #fff, var(--cyan)); -webkit-background-clip: text; background-clip: text; }
.section--dark .stat__label { color: #b8c3ec; }

/* ---------- testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 760px) { .testimonials { grid-template-columns: minmax(0, 1fr); } }
.testimonial {
  position: relative; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 28px 24px;
  box-shadow: var(--shadow-sm); transition: translate .35s var(--ease), box-shadow .35s var(--ease);
}
.testimonial:hover { translate: 0 -4px; box-shadow: var(--shadow); }
.testimonial::before {
  content: "\201C"; position: absolute; right: 22px; top: 6px; font: 800 5rem/1 var(--font-head); color: var(--blue); opacity: .1;
}
.testimonial blockquote { margin: 12px 0 18px; font-size: 1.05rem; color: var(--ink-2); }
.stars { display: inline-flex; gap: 3px; color: #f5a524; }
.stars svg { width: 18px; height: 18px; }
.testimonial__name { display: block; font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.testimonial__meta { display: block; font-size: .9rem; color: var(--muted); }
.results-note { margin-top: 18px; font-size: .9rem; color: var(--muted); text-align: center; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 880px; }
.section-head--center + .faq, .faq.home-center { margin-left: auto; margin-right: auto; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.faq__item[open] { border-color: var(--blue-100); box-shadow: var(--shadow); }
.faq__item summary {
  position: relative; list-style: none; cursor: pointer; padding: 20px 60px 20px 22px; font-family: var(--font-head); font-weight: 700; color: var(--ink); border-radius: var(--radius);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: var(--blue-50) no-repeat center / 12px 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231530d8' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  transition: transform .3s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(180deg); }
.faq__body { padding: 0 22px 18px; color: var(--ink-2); }
.faq__body p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; color: #dfe6ff; padding: clamp(56px, 6vw, 88px) 0; text-align: center;
  background: radial-gradient(50% 120% at 100% 0%, rgba(92, 200, 255, .35), transparent 60%), radial-gradient(40% 100% at 0% 100%, rgba(120, 140, 255, .35), transparent 60%), linear-gradient(135deg, var(--blue-700), var(--blue) 60%, #2f56ff);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .18; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .5) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .5) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(60% 80% at 50% 50%, #000, transparent); -webkit-mask-image: radial-gradient(60% 80% at 50% 50%, #000, transparent);
}
.cta-band h2 { color: #fff; max-width: 820px; margin-left: auto; margin-right: auto; }
.cta-band p { max-width: 640px; margin: 0 auto 26px; color: #dbe3ff; font-size: 1.1rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-band .btn-primary { background: #fff; color: var(--blue-700); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .45); }
.cta-band .btn-primary:hover { color: var(--blue); }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate; color: #c9d2f2; padding: clamp(72px, 8vw, 120px) 0 clamp(64px, 7vw, 104px);
  background: linear-gradient(160deg, var(--navy-1) 0%, #13227a 70%, var(--blue-700) 100%);
}
.page-hero::before {
  content: ""; position: absolute; inset: -20%; z-index: -1; pointer-events: none;
  background: radial-gradient(35% 45% at 80% 30%, rgba(92, 200, 255, .32), transparent 70%), radial-gradient(30% 40% at 15% 85%, rgba(80, 110, 255, .4), transparent 70%);
  animation: heroDrift 18s ease-in-out infinite alternate;
}
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: -1; pointer-events: none; opacity: .5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0 110 C 300 110 420 60 640 60 S 1000 20 1200 18' fill='none' stroke='%235cc8ff' stroke-width='2' stroke-dasharray='10 12' opacity='.7'/%3E%3C/svg%3E") no-repeat center bottom / 100% 100%;
  animation: routeDash 22s linear infinite;
}
@keyframes heroDrift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-4%, 3%, 0) scale(1.06); } }
@keyframes routeDash { from { background-position: 0 100%; } to { background-position: 1200px 100%; } }
.page-hero h1 { color: #fff; max-width: 880px; font-size: clamp(2rem, 1.35rem + 2.8vw, 3.3rem); }
.page-hero .lead { color: #c9d2f2; max-width: 720px; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.page-hero--compact { padding: clamp(56px, 6vw, 88px) 0 clamp(48px, 5vw, 72px); }
.page-hero--compact::after { height: 80px; }

/* ---------- legal ---------- */
.prose { max-width: 820px; margin: 0 auto; font-size: 1.02rem; }
.prose h2 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.7rem); margin: 2.2em 0 .6em; padding-top: .4em; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h3 { font-size: 1.15rem; margin: 1.6em 0 .5em; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose ul, .prose ol { margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose a { word-break: break-word; }
.legal h2 { border-top: 1px solid var(--line); padding-top: 1.2em; }
.legal-meta { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--blue-50); color: var(--blue-700); font-weight: 600; font-size: .92rem; border: 1px solid var(--blue-100); }
.legal-company {
  margin: 24px 0; padding: 22px 24px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line); line-height: 1.75;
  font-style: normal;
}
.legal-toc { margin: 28px 0 8px; padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.legal-toc ol, .legal-toc ul { margin: 8px 0 0; padding-left: 1.3em; columns: 2 260px; column-gap: 32px; }
.legal-toc li { margin-bottom: 6px; break-inside: avoid; }
.legal-toc a { text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }

/* ---------- contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 900px) { .contact-cards { grid-template-columns: minmax(0, 1fr); } }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: translate .35s var(--ease), box-shadow .35s var(--ease); }
.contact-card:hover { translate: 0 -4px; box-shadow: var(--shadow); }
.contact-card a { font-weight: 600; word-break: break-word; }
.map-frame { margin-top: 32px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 16 / 7; min-height: 280px; }
.map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- topbar + header ---------- */
.topbar { background: var(--navy-1); color: #b9c3ea; font-size: .86rem; }
.topbar__inner { display: flex; flex-wrap: wrap; gap: 6px 26px; align-items: center; justify-content: flex-end; min-height: 40px; padding-top: 6px; padding-bottom: 6px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; color: #c9d2f2; text-decoration: none; }
.topbar__item:hover { color: #fff; }
.topbar__item--address { margin-right: auto; }
.topbar__item svg { color: var(--cyan); flex: none; }
@media (max-width: 760px) { .topbar__item--address, .topbar__item--email { display: none; } .topbar__inner { justify-content: center; } }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); border-bottom: 1px solid transparent; transition: box-shadow .3s var(--ease), border-color .3s var(--ease); }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -16px rgba(11, 18, 51, .3); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.logo { display: inline-flex; flex: none; }
.logo img { width: 200px; height: auto; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__link { position: relative; display: inline-flex; padding: 10px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 600; font-size: .96rem; text-decoration: none; }
.nav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--blue); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s var(--ease); }
.nav__link:hover { color: var(--blue); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }
.header-phone svg { color: var(--blue); }
.header-phone:hover { color: var(--blue); }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.nav-toggle__bar { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile-nav { display: none; }
@media (max-width: 1140px) { .header-phone span { display: none; } }
@media (max-width: 1024px) {
  .nav, .header-actions { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: block; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -20px rgba(11, 18, 51, .35); max-height: calc(100vh - var(--header-h)); overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s; }
  .mobile-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .mobile-nav .container { display: grid; gap: 12px; padding-top: 14px; padding-bottom: 22px; }
  .mobile-nav .nav__list { flex-direction: column; gap: 0; }
  .mobile-nav .nav__link { display: flex; padding: 14px 6px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
  .mobile-nav .nav__link::after { display: none; }
  .mobile-nav .header-phone { padding: 8px 6px; }
  .mobile-nav .header-phone span { display: inline; }
}
@media (max-width: 420px) { .logo img { width: 168px; } }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-1); color: #aeb8e0; padding: 72px 0 0; font-size: .95rem; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(92, 200, 255, .8), transparent); background-size: 40% 100%; background-repeat: no-repeat; animation: footLine 8s linear infinite; }
@keyframes footLine { from { background-position: -40% 0; } to { background-position: 140% 0; } }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.footer-logo { display: inline-flex; background: #fff; padding: 10px 14px; border-radius: 12px; margin-bottom: 16px; }
.footer-logo img { width: 190px; height: auto; }
.footer-brand p { max-width: 380px; color: #aeb8e0; }
.footer-col h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: #c9d2f2; text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-contact { margin-top: 44px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .1); color: #c9d2f2; }
.footer-contact a { color: #fff; }
.footer-bottom { padding: 18px 0 26px; border-top: 1px solid rgba(255, 255, 255, .08); color: #8e99c8; font-size: .88rem; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(8, 13, 40, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s var(--ease); }
.modal__dialog {
  position: relative; width: min(640px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain;
  background: #fff; border-radius: 22px; box-shadow: 0 40px 80px -20px rgba(8, 13, 40, .55); padding: clamp(22px, 4vw, 36px);
  opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__dialog { opacity: 1; transform: none; }
.modal__dialog:focus { outline: none; }
.modal__close { position: absolute; right: 14px; top: 14px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease); }
.modal__close:hover { background: var(--bg-alt); color: var(--blue); }
.modal__head { padding-right: 48px; margin-bottom: 18px; }
.modal__head h2 { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.85rem); margin-bottom: 10px; }
.qf-timer { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--blue-50); color: var(--blue-700); font-size: .82rem; font-weight: 600; border: 1px solid var(--blue-100); }
.qf-timer svg { color: var(--blue); }

/* ---------- quote form ---------- */
.quote-form { position: relative; }
.qf-progress { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; counter-reset: qf; }
.qf-progress__step { counter-increment: qf; position: relative; padding-top: 14px; font-size: .78rem; font-weight: 600; color: var(--muted); line-height: 1.3; }
.qf-progress__step::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; border-radius: 5px; background: var(--line); }
.qf-progress__step::after { content: ""; position: absolute; left: 0; top: 0; height: 5px; width: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--blue), var(--cyan)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease); }
.qf-progress__step.is-current { color: var(--blue); }
.qf-progress__step.is-current::after { transform: scaleX(.5); }
.qf-progress__step.is-done { color: var(--ink-2); }
.qf-progress__step.is-done::after, .quote-form.is-complete .qf-progress__step::after { transform: scaleX(1); }
.qf-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.qf-step[hidden] { display: none; }
.qf-step.is-active { animation: qfIn .45s var(--ease); }
@keyframes qfIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.qf-step__title { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--ink); padding: 0; margin-bottom: 16px; }
.qf-intro { color: var(--muted); font-size: .98rem; margin-top: -6px; }
.qf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
@media (max-width: 560px) { .qf-grid { grid-template-columns: minmax(0, 1fr); } }
.qf-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.qf-field--full { grid-column: 1 / -1; }
.qf-field label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.qf-req { color: var(--blue); }
.qf-field input, .qf-field select {
  width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink);
  font: 500 1rem/1.3 var(--font-body); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.qf-field select { background: #fff no-repeat right 14px center / 14px 14px; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6385' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.qf-field input:hover, .qf-field select:hover { border-color: #b8c1d9; }
.qf-field input:focus, .qf-field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(21, 48, 216, .14); }
.qf-field.has-error input, .qf-field.has-error select { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(198, 40, 40, .1); }
.qf-error { margin: 0; min-height: 0; font-size: .84rem; color: var(--danger); font-weight: 500; }
.qf-error:empty { display: none; }
.qf-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.qf-toggle__btn { min-height: 52px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink); font: 600 1rem/1 var(--font-body); cursor: pointer; transition: all .2s var(--ease); }
.qf-toggle__btn:hover { border-color: var(--blue); }
.qf-toggle__btn.is-selected { background: var(--blue-50); border-color: var(--blue); color: var(--blue-700); box-shadow: inset 0 0 0 1px var(--blue); }
.qf-consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; margin: 18px 0 4px; padding: 14px 16px; border-radius: 12px; background: var(--bg-alt); border: 1px solid var(--line); cursor: pointer; }
.qf-consent__box { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); cursor: pointer; }
.qf-consent__text { font-size: .82rem; line-height: 1.55; color: var(--ink-2); }
.qf-actions { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.qf-actions .btn { flex: 1 1 auto; }
.qf-actions [data-qf-back] { flex: 0 0 auto; }
.qf-note { display: flex; align-items: center; gap: 8px; justify-content: center; margin: 14px 0 0; font-size: .86rem; color: var(--muted); }
.qf-note svg { color: var(--green); flex: none; }
.qf-note a { color: var(--muted); }
.qf-thanks { text-align: center; padding: 18px 6px 6px; }
.qf-thanks[hidden] { display: none; }
.qf-thanks:focus { outline: none; }
.qf-thanks__icon { display: inline-grid; place-items: center; width: 84px; height: 84px; margin-bottom: 14px; border-radius: 50%; color: var(--green); background: radial-gradient(circle, rgba(18, 161, 80, .14), rgba(18, 161, 80, .04)); animation: qfPop .6s var(--ease) both; }
.qf-thanks__icon svg path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: qfDraw .7s .25s var(--ease) forwards; }
@keyframes qfPop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes qfDraw { to { stroke-dashoffset: 0; } }
.qf-thanks .qf-actions { justify-content: center; }
.quote-inline { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3.5vw, 34px); box-shadow: var(--shadow-lg); }
.quote-inline [data-qf-modal-only] { display: none; }
.qf-timer--inline { margin-bottom: 16px; }

/* ---------- cursor spotlight on cards (vars set by apb-fx.js) + magnetic buttons ---------- */
.card, .testimonial, .contact-card, .step { --mx: 50%; --my: -20%; }
.card:hover, .testimonial:hover, .contact-card:hover, .step:hover { background-image: radial-gradient(420px circle at var(--mx) var(--my), rgba(21, 48, 216, .08), transparent 45%); }
.section--dark .card:hover, .section--dark .step:hover { background-image: radial-gradient(420px circle at var(--mx) var(--my), rgba(92, 200, 255, .14), transparent 45%); }
.btn { transition: transform .25s var(--ease), translate .35s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }

/* ---------- motion: reveals ---------- */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js .reveal.is-visible { opacity: 1; transform: none; }
html.js .reveal[data-reveal-delay="1"] { transition-delay: .08s; }
html.js .reveal[data-reveal-delay="2"] { transition-delay: .16s; }
html.js .reveal[data-reveal-delay="3"] { transition-delay: .24s; }
html.js .reveal[data-reveal-delay="4"] { transition-delay: .32s; }
.route-line path, path.route-line { stroke-dasharray: var(--route-len, 1200); stroke-dashoffset: var(--route-len, 1200); transition: stroke-dashoffset 1.8s var(--ease); }
.route-line.is-drawn path, path.route-line.is-drawn { stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  html.js .reveal { opacity: 1; transform: none; }
  .steps::before { transform: none !important; }
  .route-line path, path.route-line { stroke-dashoffset: 0; }
}
@media print { .topbar, .site-header, .site-footer, .modal, .cta-band { display: none !important; } }
