/* =============================================================
   AAA Garage Doors — landing
   1 Tokens · 2 Reset · 3 Utilities · 4 Type · 5 Components
   6 Header · 7 Sections · 8 Effects · 9 Responsive · 10 Motion
   ============================================================= */

/* 1. Tokens ---------------------------------------------------- */
:root {
  --blue: #244CE8;
  --blue-700: #1B3FCB;
  --navy: #10214A;
  --navy-900: #0B1838;
  --red: #D93644;
  --sky: #A9D9FF;
  --fog: #F4F6FA;
  --white: #FFFFFF;
  --muted: #5C6883;
  --line: #D9DFEC;
  --error: #B3222F;

  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.25, .46, .45, .94);

  --gutter: clamp(16px, 4vw, 32px);
  --max: 1200px;
  --radius: 20px;
  --header-h: 64px;
  --bar-h: 76px;

  --shadow-sm: 0 1px 2px rgba(16, 33, 74, .06), 0 4px 14px rgba(16, 33, 74, .06);
  --shadow-md: 0 2px 6px rgba(16, 33, 74, .06), 0 18px 40px rgba(16, 33, 74, .12);
  --shadow-lg: 0 30px 70px rgba(11, 24, 56, .35);
}

/* 2. Reset ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  overflow-x: clip;
}
body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  padding-bottom: var(--bar-h);
}
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; line-height: 1.08; letter-spacing: -.02em; font-weight: 700; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
.section-fog :focus-visible, #services :focus-visible, .section:not(.section-navy):not(.section-blue) :focus-visible { outline-color: var(--blue); }

/* 3. Utilities ------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 999; padding: .7rem 1rem; background: #fff; color: var(--navy); border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 1rem; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.accent { color: var(--sky); text-shadow: 1.5px 1.5px 0 rgba(0, 0, 0, .2); }
.on-dark { --logo-a: #fff; --logo-r: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* progress line (the red stripe of the door) */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }

/* 4. Type ------------------------------------------------------ */
h1 { font-size: clamp(2.4rem, 1.5rem + 4.6vw, 4rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--muted); max-width: 60ch; }
.eyebrow { display: inline-flex; align-items: center; gap: .7rem; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 1rem; }
.eyebrow-light { color: rgba(255, 255, 255, .88); }
.bars { display: inline-flex; flex-direction: column; gap: 3px; }
.bars i { display: block; width: 22px; height: 4px; border-radius: 1px; background: currentColor; }
.bars i:last-child { background: var(--red); width: 18px; }

/* 5. Components ------------------------------------------------ */
.btn {
  --_bg: var(--blue); --_fg: #fff; --_bd: var(--blue);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .7rem 1.4rem; border-radius: 999px;
  font-weight: 700; font-size: 1rem; line-height: 1.1; white-space: nowrap;
  background: var(--_bg); color: var(--_fg); border: 2px solid var(--_bd);
  transition: transform .35s var(--ease-out), background-color .25s, color .25s, border-color .25s, box-shadow .35s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(36, 76, 232, .3); }
.btn:active { transform: translateY(0); }
.btn-lg { min-height: 56px; padding: .9rem 1.7rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-solid:hover { --_bg: var(--blue-700); --_bd: var(--blue-700); }
.btn-white { --_bg: #fff; --_fg: var(--blue); --_bd: #fff; }
.btn-white:hover { box-shadow: 0 12px 28px rgba(0, 0, 0, .25); }
.btn-outline-light { --_bg: transparent; --_fg: #fff; --_bd: rgba(255, 255, 255, .75); }
.btn-outline-light:hover { --_bg: rgba(255, 255, 255, .12); --_bd: #fff; box-shadow: none; }
.btn-navy { --_bg: var(--navy); --_fg: #fff; --_bd: var(--navy); }
.btn-primary { --_bg: var(--blue); }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; box-shadow: none; }

.text-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--blue); }
.text-link .ico { width: 18px; height: 18px; transition: transform .3s var(--ease-out); }
.text-link:hover .ico { transform: translateX(4px); }
.card-dark .text-link { color: #fff; }

/* 6. Header ---------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: 84px;
  --logo-a: #fff; --logo-b: #fff; --logo-r: #fff;
  color: #fff; background: transparent;
  transition: height .35s var(--ease-out), background-color .3s, box-shadow .3s, color .3s;
}
.site-header.is-scrolled {
  --logo-a: var(--blue); --logo-b: var(--navy); --logo-r: var(--red);
  height: var(--header-h); background: rgba(255, 255, 255, .94); color: var(--navy); box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(16, 33, 74, .06);
}
@supports (backdrop-filter: blur(12px)) {
  .site-header.is-scrolled { background: rgba(255, 255, 255, .82); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); }
}
.site-header.menu-open { --logo-a: var(--blue); --logo-b: var(--navy); --logo-r: var(--red); background: #fff; color: var(--navy); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; }
.logo-full { width: 240px; height: auto; aspect-ratio: 948 / 285; }
.logo-mark { display: none; height: 38px; width: auto; aspect-ratio: 382 / 319; }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.header-phone, .header-cta { display: none; }

.lang { display: inline-flex; padding: 3px; border-radius: 999px; border: 1.5px solid currentColor; opacity: .9; }
.lang button { min-width: 38px; min-height: 30px; padding: 0 .6rem; border-radius: 999px; font-size: .8rem; font-weight: 700; letter-spacing: .04em; transition: background-color .25s, color .25s; }
.lang button[aria-pressed="true"] { background: #fff; color: var(--blue); }
.is-scrolled .lang button[aria-pressed="true"], .menu-open .lang button[aria-pressed="true"] { background: var(--blue); color: #fff; }

.menu-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; }
.menu-btn .ico { width: 26px; height: 26px; }
.menu-btn .ico-close, .menu-open .menu-btn .ico-open { display: none; }
.menu-open .menu-btn .ico-close { display: block; }

.nav {
  position: fixed; inset: 84px 0 auto 0; display: none; flex-direction: column; gap: .25rem;
  background: #fff; color: var(--navy); padding: 1rem var(--gutter) 1.5rem; box-shadow: 0 20px 40px rgba(16, 33, 74, .15); border-top: 1px solid var(--line);
}
.is-scrolled .nav { inset-block-start: var(--header-h); }
.menu-open .nav { display: flex; }
.nav > a { padding: .9rem 0; font-size: 1.15rem; font-weight: 700; border-bottom: 1px solid var(--line); }
.nav-mobile-cta { padding-top: 1rem; }
.nav-mobile-cta .btn { width: 100%; }

/* 7. Sections -------------------------------------------------- */
.section { padding-block: clamp(4rem, 8vw, 7rem); position: relative; }
.section-fog { background: var(--fog); }
.section-navy { background: var(--navy); color: #fff; }
.section-blue { background: var(--blue); color: #fff; }
.section-head { max-width: 52rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head h2 { margin-bottom: 1rem; }

/* --- Hero --- */
.hero {
  position: relative; color: #fff; background: var(--blue);
  padding: calc(84px + 1.5rem) 0 clamp(5rem, 9vw, 7.5rem);
  background-image:
    radial-gradient(60% 70% at 85% 25%, rgba(169, 217, 255, .32), transparent 62%),
    radial-gradient(50% 60% at 0% 100%, rgba(11, 24, 56, .28), transparent 70%);
}
.hero::after { /* door-panel grooves, very faint */
  content: ""; position: absolute; inset: auto 0 0 0; height: 46%; pointer-events: none;
  background: repeating-linear-gradient(to bottom, transparent 0 63px, rgba(255, 255, 255, .06) 63px 65px);
  mask-image: linear-gradient(to top, #000, transparent); -webkit-mask-image: linear-gradient(to top, #000, transparent);
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 2.5rem; align-items: center; }
.hero h1 { margin-bottom: 1.25rem; }
.hero-lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); max-width: 34rem; color: rgba(255, 255, 255, .92); margin-bottom: 1.75rem; }
.hero-ctas { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 2rem; }
.promise { display: flex; align-items: center; gap: .85rem; font-weight: 600; font-size: 1.05rem; }
.promise-bar { width: 5px; align-self: stretch; min-height: 26px; background: var(--red); border-radius: 2px; }

.hero-visual { position: relative; }
.scene { position: relative; border-radius: 28px 28px 20px 20px; overflow: hidden; background: #EEF2FA; box-shadow: var(--shadow-lg); }
.scene-svg { width: 100%; height: auto; aspect-ratio: 520 / 460; }
.scene-note { position: absolute; right: 12px; bottom: 10px; font-size: .68rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; background: rgba(255, 255, 255, .85); padding: .15rem .5rem; border-radius: 999px; }
.door-toggle {
  position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem .85rem .45rem .7rem; border-radius: 999px; font-size: .78rem; font-weight: 700; color: var(--navy);
  background: rgba(255, 255, 255, .92); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease-out);
}
.door-toggle:hover { transform: translateY(-1px); }
.door-toggle-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.owner-chip {
  position: absolute; left: 16px; bottom: -22px; display: flex; gap: .8rem; align-items: stretch;
  background: #fff; color: var(--navy); padding: .85rem 1.2rem .85rem .9rem; border-radius: 14px; box-shadow: var(--shadow-md);
}
.owner-chip-bar { width: 5px; background: var(--red); border-radius: 2px; }
.owner-chip strong { display: block; font-size: 1rem; line-height: 1.2; }
.owner-chip span { font-size: .8rem; color: var(--muted); font-weight: 600; }

/* rolling door (SVG) */
.door .panel { transition: transform 1.6s var(--ease-out) calc(var(--i) * 70ms); }
.door.is-open .panel { transform: translateY(calc(var(--i) * -51px)); }

/* --- Trust bar --- */
.trust { position: relative; z-index: 2; margin-top: -3.25rem; }
.trust-list { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md); overflow: hidden; border: 1px solid var(--line); }
.trust-list li { padding: 1.15rem 1.1rem; display: flex; flex-direction: column; gap: .15rem; border-bottom: 1px solid var(--line); }
.trust-list li:nth-child(odd) { border-right: 1px solid var(--line); }
.trust-list li:nth-last-child(-n+2) { border-bottom: 0; }
.trust-list strong { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); line-height: 1.1; letter-spacing: -.02em; color: var(--blue); }
.trust-list span { font-size: .88rem; font-weight: 600; color: var(--muted); line-height: 1.3; }

/* --- Services --- */
.cards { display: grid; gap: 1.25rem; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 1rem; padding: 1.75rem; border-radius: 28px 28px var(--radius) var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card p { color: var(--muted); }
.card-icon { width: 56px; height: 56px; border-radius: 16px 16px 10px 10px; display: grid; place-items: center; background: var(--blue); color: #fff; }
.card-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card-stripes { position: absolute; top: 1.75rem; right: 1.75rem; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.card-stripes i { display: block; height: 5px; width: 20px; border-radius: 1px; background: var(--line); transition: width .5s var(--ease-out), background-color .3s; }
.card-stripes i:last-child { background: var(--red); opacity: .35; }
.card:hover .card-stripes i { width: 38px; background: var(--blue); }
.card:hover .card-stripes i:last-child { background: var(--red); opacity: 1; }
.checks { display: grid; gap: .55rem; margin-block: .25rem .5rem; }
.checks li { position: relative; padding-left: 1.7rem; font-weight: 600; font-size: .98rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--blue) 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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 70% no-repeat; }
.card-foot { margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; }
.owner-tag { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 700; color: var(--navy); }
.owner-tag svg { width: 22px; height: 18px; }
.card-dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.card-dark p { color: rgba(255, 255, 255, .78); }
.card-dark .card-icon { background: #fff; color: var(--blue); }
.card-dark .card-foot { border-color: rgba(255, 255, 255, .18); }
.card-dark .owner-tag { color: #fff; }
.card-dark .card-stripes i { background: rgba(255, 255, 255, .28); }
.card-dark:hover .card-stripes i { background: var(--sky); }
.card-dark .checks li::before { background-color: var(--sky); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310214A' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E"); }
.badge-red { position: absolute; top: -12px; left: 1.75rem; padding: .3rem .8rem; border-radius: 999px; background: var(--red); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* --- Meet Iván --- */
.ivan-grid { display: grid; gap: 3rem; align-items: center; }
.portrait { position: relative; max-width: 460px; margin-inline: auto; width: 100%; border-radius: 56px 56px 20px 20px; overflow: hidden; background: var(--navy); box-shadow: var(--shadow-md); }
.portrait svg { width: 100%; height: auto; aspect-ratio: 400 / 480; }
.portrait-tag { position: absolute; top: 14px; right: 14px; padding: .3rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--navy); font-size: .7rem; font-weight: 700; }
.portrait-name { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.25rem 1.5rem; color: #fff; background: linear-gradient(to top, rgba(11, 24, 56, .92), transparent); }
.portrait-name strong { display: block; font-size: 1.35rem; }
.portrait-name span { font-size: .85rem; font-weight: 600; color: var(--sky); }
.ivan-copy h2 { margin-bottom: 1.1rem; }
.pillars { display: grid; gap: 1.25rem; margin-top: 2rem; }
.pillars li { display: flex; gap: 1rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.pillar-n { flex: none; width: 2.6rem; font-weight: 700; color: var(--blue); font-size: 1.05rem; letter-spacing: .04em; }
.pillars h3 { margin-bottom: .25rem; }
.pillars p { color: var(--muted); font-size: .98rem; }

/* --- Ribbon --- */
.ribbon { overflow: hidden; background: var(--blue); color: #fff; padding-block: 1.05rem; border-block: 1px solid rgba(255, 255, 255, .12); }
.ribbon-track { display: flex; width: max-content; align-items: center; gap: 1.75rem; animation: ribbon 60s linear infinite; }
.ribbon span { font-size: clamp(1.1rem, 1rem + .6vw, 1.5rem); font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.ribbon i { flex: none; width: 34px; height: 5px; border-radius: 1px; background: var(--red); }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* --- Process --- */
.section-navy .lead { color: rgba(255, 255, 255, .78); }
.steps { position: relative; display: grid; gap: 2rem; --p: 1; padding-left: 0; }
.steps::before, .steps::after { content: ""; position: absolute; left: 22px; top: 22px; bottom: 22px; width: 3px; border-radius: 2px; }
.steps::before { background: rgba(255, 255, 255, .16); }
.steps::after { background: var(--red); transform-origin: 50% 0; transform: scaleY(var(--p)); }
.step { position: relative; padding-left: 4.2rem; }
.step-dot { position: absolute; left: 0; top: 0; z-index: 1; width: 47px; height: 47px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); border: 3px solid rgba(255, 255, 255, .28); font-weight: 700; transition: background-color .4s, border-color .4s, color .4s; }
.step.is-lit .step-dot, .no-js .step-dot { background: var(--blue); border-color: var(--sky); }
.step h3 { margin-bottom: .35rem; }
.step p { color: rgba(255, 255, 255, .78); max-width: 34ch; }

/* --- Service area --- */
.areas-grid { display: grid; gap: 2.5rem; align-items: center; }
.areas-copy h2 { margin-bottom: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.5rem 0 2rem; }
.chips li { padding: .55rem 1rem; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font-weight: 700; font-size: .95rem; }
.chips li:last-child { background: transparent; border-style: dashed; color: var(--muted); }
.map { border-radius: 28px 28px 20px 20px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.map svg { width: 100%; height: auto; }
.map-note { padding: .6rem 1rem; font-size: .75rem; font-weight: 600; color: var(--muted); border-top: 1px solid var(--line); }
.pin .pulse { fill: var(--blue); opacity: .35; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-out infinite; animation-delay: var(--d, 0s); }
@keyframes pulse { 0% { transform: scale(.6); opacity: .5; } 100% { transform: scale(3); opacity: 0; } }

/* --- Reviews --- */
.sample-banner { display: flex; flex-wrap: wrap; gap: .5rem .9rem; align-items: baseline; padding: .9rem 1.2rem; margin-bottom: 2rem; border-radius: 14px; border: 1.5px dashed var(--red); background: #FFF5F6; font-size: .95rem; font-weight: 600; }
.sample-banner strong { color: var(--red); letter-spacing: .06em; font-size: .8rem; }
.quotes { display: grid; gap: 1.25rem; }
.quote { position: relative; display: flex; flex-direction: column; gap: 1.1rem; padding: 1.75rem; border-radius: 28px 28px var(--radius) var(--radius); background: var(--fog); border: 1px solid var(--line); }
.quote-tag { position: absolute; top: 1.1rem; right: 1.1rem; padding: .2rem .65rem; border-radius: 999px; background: var(--red); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.quote-mark { width: 34px; height: 34px; fill: var(--blue); opacity: .9; }
.quote blockquote { font-size: 1.08rem; font-weight: 600; line-height: 1.5; }
.quote figcaption { margin-top: auto; display: flex; flex-direction: column; font-size: .88rem; color: var(--muted); font-weight: 600; }
.quote figcaption strong { color: var(--navy); font-size: .98rem; }

/* --- FAQ --- */
.faq-grid { display: grid; gap: 2.5rem; align-items: start; }
.faq-grid .section-head { margin-bottom: 0; }
.faq-grid .lead { margin-bottom: 1.5rem; }
.faq-list { display: grid; gap: .75rem; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: border-color .3s, box-shadow .3s; }
.faq-list details[open] { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.35rem; cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.plus { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--fog); transition: transform .4s var(--ease-out), background-color .3s; }
.plus::before, .plus::after { content: ""; position: absolute; inset: 0; margin: auto; width: 12px; height: 2.5px; border-radius: 2px; background: var(--blue); }
.plus::after { transform: rotate(90deg); }
details[open] .plus { transform: rotate(45deg); background: var(--blue); }
details[open] .plus::before, details[open] .plus::after { background: #fff; }
.faq-list details p { padding: 0 1.35rem 1.35rem; color: var(--muted); animation: fadeDown .45s var(--ease-out); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* --- Quote / form --- */
.section-blue { background-image: radial-gradient(55% 60% at 100% 0%, rgba(169, 217, 255, .28), transparent 65%), radial-gradient(50% 50% at 0% 100%, rgba(11, 24, 56, .3), transparent 70%); }
.quote-grid { display: grid; gap: 2.5rem; align-items: start; }
.quote-copy h2 { margin-bottom: 1rem; }
.quote-copy .lead { color: rgba(255, 255, 255, .9); margin-bottom: 1.75rem; }
.big-phone { display: inline-flex; align-items: center; gap: 1rem; padding: 1rem 1.5rem 1rem 1.1rem; border-radius: 20px; background: #fff; color: var(--blue); box-shadow: var(--shadow-lg); transition: transform .4s var(--ease-out); }
.big-phone:hover { transform: translateY(-3px); }
.big-phone .ico { width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: var(--blue); color: #fff; }
.big-phone span { display: flex; flex-direction: column; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.big-phone small { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.promise-card { display: flex; gap: 1rem; margin-top: 2rem; padding: 1.25rem 1.4rem; border-radius: 16px; background: rgba(11, 24, 56, .35); border: 1px solid rgba(255, 255, 255, .18); }
.promise-card strong { display: block; font-size: 1.15rem; margin-bottom: .2rem; }
.promise-card div > span { font-size: .9rem; font-weight: 600; color: rgba(255, 255, 255, .8); }

.form-card { background: #fff; color: var(--navy); border-radius: 32px 32px 20px 20px; padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow-lg); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; margin-bottom: .4rem; font-weight: 700; font-size: .92rem; }
.field label em { font-style: normal; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: .8rem 1rem; border-radius: 12px; border: 1.5px solid var(--line); background: var(--fog);
  font: inherit; font-size: 1rem; color: var(--navy); transition: border-color .25s, background-color .25s, box-shadow .25s;
}
.field textarea { min-height: 112px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.6rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310214A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 18px; }
.field input::placeholder, .field textarea::placeholder { color: #8A94AC; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(36, 76, 232, .16); }
.field.has-error input, .field.has-error select { border-color: var(--red); background: #FFF8F8; }
.field-error { min-height: 0; margin-top: .35rem; font-size: .84rem; font-weight: 600; color: var(--error); }
.field-error:empty { display: none; }
.form-status { margin-bottom: 1rem; padding: .85rem 1rem; border-radius: 12px; background: #FFF5F6; border: 1px solid var(--red); font-weight: 600; font-size: .95rem; }
.form-status a { color: var(--blue); text-decoration: underline; }
.fine { margin-top: 1rem; font-size: .8rem; color: var(--muted); }
.form-success { text-align: center; padding: 1.5rem .5rem; }
.form-success[hidden], .form-status[hidden], #quote-form[hidden] { display: none; }
.success-mark { width: 84px; margin: 0 auto 1.25rem; --logo-a: var(--blue); --logo-r: var(--red); }
.success-mark { animation: markIn .8s var(--ease-out) both; }
@keyframes markIn { from { opacity: 0; transform: translateY(14px) scale(.9); } to { opacity: 1; transform: none; } }
.form-success h3 { font-size: 1.6rem; margin-bottom: .6rem; }
.form-success p { color: var(--muted); margin-bottom: 1.5rem; }
.btn .spinner { width: 18px; height: 18px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* --- Footer --- */
.site-footer { background: var(--navy); color: #fff; padding-block: clamp(3rem, 6vw, 5rem) 2rem; --logo-a: #fff; --logo-b: #fff; --logo-r: #fff; }
.footer-statement { font-size: clamp(1.8rem, 1.2rem + 3vw, 3.4rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; max-width: 18ch; padding-left: 1.1rem; border-left: 6px solid var(--red); margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.footer-grid { display: grid; gap: 2.5rem; padding-block: 2.5rem; border-top: 1px solid rgba(255, 255, 255, .16); }
.logo-footer { width: 240px; height: auto; margin-bottom: 1.1rem; aspect-ratio: 948 / 285; }
.footer-brand p { color: rgba(255, 255, 255, .72); max-width: 34ch; }
.footer-col { display: flex; flex-direction: column; gap: .55rem; }
.footer-col h3 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); margin-bottom: .4rem; }
.footer-col a, .footer-col span { color: rgba(255, 255, 255, .85); font-weight: 600; }
.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-legal { padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .85rem; color: rgba(255, 255, 255, .6); }

/* --- Mobile action bar --- */
.action-bar {
  position: fixed; inset: auto 0 0 0; z-index: 110; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem;
  padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(16, 33, 74, .1);
}
.action-bar .btn { min-height: 52px; padding-inline: .8rem; }

/* 8. Effects --------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); will-change: opacity, transform; }
.js .reveal.is-in { opacity: 1; transform: none; will-change: auto; }
.js .reveal.card { transition: opacity .8s var(--ease-out), transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s; transition-delay: calc(var(--i, 0) * 90ms), 0s, 0s, 0s; }
.js .reveal.card.is-in:hover { transform: translateY(-6px); }
.scene[data-parallax] { will-change: transform; }

/* 9. Responsive (mobile-first) --------------------------------- */
@media (max-width: 719px) {
  .logo-full { width: 216px; }
  .site-header.is-scrolled .logo-full { display: none; }
  .site-header.is-scrolled .logo-mark { display: block; }
  .site-header.menu-open .logo-full { display: block; }
  .site-header.menu-open .logo-mark { display: none; }
}
@media (min-width: 540px) {
  .hero-ctas { flex-direction: row; flex-wrap: wrap; }
  .trust-list { grid-template-columns: repeat(4, 1fr); }
  .trust-list li { border-bottom: 0 !important; border-right: 1px solid var(--line); }
  .trust-list li:last-child { border-right: 0; }
}
@media (min-width: 720px) {
  :root { --header-h: 84px; }
  .header-phone { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: 1rem; padding: .5rem .3rem; white-space: nowrap; }
  .header-phone .ico { width: 18px; height: 18px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
  .steps::before, .steps::after { left: 22px; right: 22px; top: 22px; bottom: auto; width: auto; height: 3px; }
  .steps::after { transform-origin: 0 50%; transform: scaleX(var(--p)); }
  .step { padding-left: 0; padding-top: 4rem; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .action-bar { display: none; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 3.5rem; }
  .hero-ctas { margin-bottom: 2.5rem; }
  .ivan-grid { grid-template-columns: .9fr 1.1fr; gap: 5rem; }
  .areas-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 4rem; }
  .faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 24px); }
  .quote-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .quotes { grid-template-columns: repeat(3, 1fr); }
  .header-cta { display: inline-flex; min-height: 44px; padding: .55rem 1.2rem; }
  .site-header:not(.is-scrolled) .header-cta { --_bg: #fff; --_fg: var(--blue); --_bd: #fff; }
}
@media (min-width: 1280px) {
  .menu-btn { display: none; }
  .nav { position: static; display: flex; flex-direction: row; align-items: center; gap: 1.1rem; padding: 0; background: none; box-shadow: none; border: 0; color: inherit; }
  .nav > a { padding: .4rem 0; font-size: .92rem; border: 0; position: relative; white-space: nowrap; }
  .nav > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease-out); }
  .nav > a:hover::after, .nav > a.is-active::after { transform: scaleX(1); }
  .nav-mobile-cta { display: none; }
  .site-header.menu-open { background: transparent; }
}

/* 10. Reduced motion — only truly intrusive things -------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ribbon-track { animation: none; }
  .pin .pulse { animation: none; opacity: 0; }
  .scene[data-parallax] { transform: none !important; }
}
@media (min-width: 1440px) { .nav { gap: 1.6rem; } .nav > a { font-size: .95rem; } }
@media print { .site-header, .action-bar, .progress, .ribbon { display: none; } }
