/* Corproots Consultants — concept homepage styles
   Design tokens first; light theme only. */

:root {
  --bg: #ffffff;
  --bg-soft: #f2f6fa;
  --surface: #ffffff;
  --surface-2: #f6f9fc;
  --text: #12283f;
  --muted: #52657a;
  --line: #e1e8f0;
  --brand: #0a8fd4;
  --brand-ink: #0a6aa8;
  --brand-soft: rgba(10, 143, 212, .10);
  --violet: #0b4f8a;
  --teal: #6bb8ea;
  --ok: #0a6aa8;
  --warn: #0a6aa8;
  --grad: linear-gradient(120deg, #0b2f57 0%, #0a6fb8 55%, #0a8fd4 100%);
  --grad-text: linear-gradient(100deg, #0a8fd4, #0b4f8a 90%);
  --shadow-sm: 0 1px 2px rgba(11, 37, 69, .06), 0 2px 8px rgba(11, 37, 69, .04);
  --shadow: 0 10px 30px -10px rgba(11, 37, 69, .18), 0 2px 6px rgba(11, 37, 69, .05);
  --shadow-lg: 0 30px 60px -20px rgba(11, 60, 110, .30), 0 8px 20px rgba(11, 37, 69, .06);
  --glass: rgba(255, 255, 255, .72);
  --particle: 10, 120, 190;
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 76px;
  --ff-head: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}


/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--ff-body); color: var(--text); background: var(--bg);
  line-height: 1.6; font-size: 16px; overflow-x: hidden;
  transition: background-color .35s ease, color .35s ease;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--ff-head); line-height: 1.12; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon.fill { fill: currentColor; stroke: none; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section.alt { background: var(--bg-soft); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 200; transition: top .2s; }
.skip:focus { top: 12px; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--brand-ink);
  background: var(--brand-soft); padding: 7px 14px; border-radius: 99px;
}
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); margin: 16px 0 14px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.pill-placeholder {
  display: inline-block; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #0a6aa8; background: var(--brand-soft); border: 1px solid rgba(10, 143, 212, .35); padding: 2px 8px; border-radius: 99px; vertical-align: middle;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600;
  padding: 14px 24px; border-radius: 14px; border: 1px solid transparent; font-size: 1rem; line-height: 1;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, border-color .25s, color .25s;
  white-space: nowrap; position: relative;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -8px rgba(11, 79, 138, .55); background-size: 140% 100%; background-position: 0 0; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -8px rgba(11, 79, 138, .65); background-position: 100% 0; }
.btn-wa { background: #25d366; color: #05361b; box-shadow: 0 10px 24px -10px rgba(37, 211, 102, .7); }
.btn-wa:hover { transform: translateY(-2px); background: #2fe274; }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-ink); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-sm { padding: 11px 18px; font-size: .92rem; border-radius: 12px; }
.btn-lg { padding: 17px 30px; font-size: 1.05rem; }
.btn .icon { transition: transform .25s; }
.btn:hover .icon-arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, .6); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: height .3s ease, background .3s ease, box-shadow .3s ease, border-color .3s;
}
.header.scrolled { --header-h: 62px; height: 62px; background: var(--glass); border-color: var(--line); box-shadow: 0 8px 30px -14px rgba(11, 37, 69, .25); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; transition: transform .3s; }
.logo img { height: 46px; width: auto; transition: height .3s; border-radius: 6px; }
.header.scrolled .logo img { height: 36px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { padding: 9px 14px; border-radius: 10px; font-weight: 500; font-size: .95rem; color: var(--muted); position: relative; transition: color .2s, background .2s; }
.nav a:not(.btn):hover, .nav a.active { color: var(--text); background: var(--brand-soft); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--surface); transition: all .2s;
}
.icon-btn:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }
.menu-btn { display: none; }

@media (max-width: 960px) {
  .menu-btn { display: grid; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--surface); padding: 14px 20px 22px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .25s ease;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 14px; font-size: 1.05rem; }
  .header-cta-text { display: none; }
}
@media (max-width: 420px) { .logo img { height: 38px; } .header-actions .btn-sm { padding: 10px 14px; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + 56px) 0 0; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg-soft), var(--bg) 85%); }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.blob.b1 { width: 520px; height: 520px; background: #5fb4e8; top: -160px; left: -120px; animation: float1 18s ease-in-out infinite; }
.blob.b2 { width: 460px; height: 460px; background: #9cc9ee; top: 0; right: -120px; animation: float2 22s ease-in-out infinite; }
.blob.b3 { width: 380px; height: 380px; background: #c8e2f6; bottom: -120px; left: 40%; opacity: .35; animation: float3 26s ease-in-out infinite; }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; opacity: .45; mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%); }
#particles { position: absolute; inset: 0; width: 100%; height: 100%; }
@keyframes float1 { 50% { transform: translate(80px, 60px) scale(1.1); } }
@keyframes float2 { 50% { transform: translate(-90px, 70px) scale(.92); } }
@keyframes float3 { 50% { transform: translate(60px, -50px) scale(1.15); } }

.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; padding-bottom: 64px; }
.hero h1 { font-size: clamp(2.5rem, 6.2vw, 4.7rem); margin: 22px 0 22px; letter-spacing: -.035em; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-mini { display: flex; align-items: center; gap: 14px; margin-top: 34px; color: var(--muted); font-size: .93rem; flex-wrap: wrap; }
.avatars { display: flex; }
.avatars span { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--bg); margin-left: -10px; display: grid; place-items: center; color: #fff; font-size: .72rem; font-weight: 700; }
.avatars span:first-child { margin-left: 0; }
.stars { color: #0a8fd4; display: inline-flex; gap: 2px; }
.stars .icon { width: 1.05em; height: 1.05em; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #0a8fd4; box-shadow: 0 0 0 0 rgba(10, 143, 212, .6); animation: ping 2s infinite; display: inline-block; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(10, 143, 212, 0); } 100% { box-shadow: 0 0 0 0 rgba(10, 143, 212, 0); } }

/* hero visual: certificate carousel card + floating chips */
.hero-visual { position: relative; min-height: 440px; perspective: 1200px; }
.glass {
  background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg);
}
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; font-weight: 600; font-size: .9rem;
  animation: bob 6s ease-in-out infinite; white-space: nowrap;
}
.float-chip .ci { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.float-chip.c1 { right: 26px; top: -22px; } .float-chip.c1 .ci { background: linear-gradient(135deg, #0a8fd4, #0b4f8a); }
.float-chip.c2 { right: -14px; top: 52%; animation-delay: -2s; } .float-chip.c2 .ci { background: linear-gradient(135deg, #0a8fd4, #0b4f8a); }
.float-chip.c3 { left: 18px; bottom: -6px; animation-delay: -4s; } .float-chip.c3 .ci { background: linear-gradient(135deg, #0a8fd4, #0b4f8a); }
@keyframes bob { 50% { transform: translateY(-12px); } }

/* stats strip */
.stats { position: relative; z-index: 2; margin-bottom: -56px; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px; }
.stat { padding: 24px 22px; display: flex; flex-direction: column; gap: 4px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line); }
.stat .num { font-family: var(--ff-head); font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.7rem); letter-spacing: -.03em; line-height: 1; }
.stat .lbl { color: var(--muted); font-size: .92rem; }
.hero + .section { padding-top: clamp(110px, 12vw, 150px); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 0; padding: 20px 0 30px; }
  .float-chip.c1 { right: auto; left: 8px; top: -14px; } .float-chip.c3 { display: none; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) { .float-chip.c2 { right: 0; top: auto; bottom: -6px; } .stat { padding: 18px 14px; } }

/* ---------- Services ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 38px; }
.chip {
  padding: 10px 18px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface);
  font-weight: 600; font-size: .92rem; color: var(--muted); transition: all .2s;
}
.chip:hover { border-color: var(--brand); color: var(--brand-ink); transform: translateY(-1px); }
.chip.on { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 8px 20px -8px rgba(11, 79, 138, .5); }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc {
  position: relative; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  min-height: 250px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s, border-color .3s, opacity .3s;
  cursor: pointer; text-align: left;
}
.svc.hide { display: none; }
.svc-front { padding: 26px; display: flex; flex-direction: column; gap: 14px; flex: 1; transition: opacity .3s, transform .35s; }
.svc-ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: #fff; font-size: 1.5rem; box-shadow: 0 10px 20px -8px var(--c, #0a8fd4); background: var(--g, var(--grad)); transition: transform .4s; }
.svc h3 { font-size: 1.15rem; }
.svc p { color: var(--muted); font-size: .92rem; }
.svc-hint { margin-top: auto; font-size: .8rem; font-weight: 600; color: var(--brand-ink); display: inline-flex; align-items: center; gap: 6px; opacity: .8; }
.svc-back {
  position: absolute; inset: 0; padding: 24px; display: flex; flex-direction: column; gap: 10px;
  background: var(--g, var(--grad)); color: #fff; transform: translateY(101%); transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}
.svc-back h3 { font-size: 1.05rem; }
.svc-back ul { display: grid; gap: 7px; font-size: .88rem; }
.svc-back li { display: flex; gap: 8px; align-items: flex-start; }
.svc-back li .icon { width: 1em; height: 1em; margin-top: 4px; stroke-width: 3; }
.svc-back .time { margin-top: auto; font-size: .78rem; opacity: .9; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.svc-back .more { background: rgba(255, 255, 255, .95); color: #12283f; font-weight: 700; padding: 8px 14px; border-radius: 10px; font-size: .84rem; display: inline-flex; gap: 6px; align-items: center; transition: transform .2s; }
.svc-back .more:hover { transform: translateX(3px); }
.svc:hover, .svc.flip, .svc:focus-within { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc:hover .svc-back, .svc.flip .svc-back, .svc:focus-within .svc-back { transform: none; }
.svc:hover .svc-ico { transform: scale(1.08) rotate(-4deg); }
@media (hover: none) { .svc:hover { transform: none; box-shadow: var(--shadow-sm); border-color: var(--line); } .svc:hover .svc-back { transform: translateY(101%); } .svc.flip .svc-back { transform: none !important; } }
@media (max-width: 1060px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px) { .svc-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } .svc { min-height: 270px; } .svc-front, .svc-back { padding: 18px; } }
@media (max-width: 460px) { .svc-grid { grid-template-columns: 1fr; } }

/* ---------- Calculator teaser band ---------- */
.calc-band { background: var(--grad); border-radius: 28px; padding: clamp(32px, 5vw, 60px); color: #fff; display: grid; grid-template-columns: 1.2fr .8fr; gap: 36px; align-items: center; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.calc-band::before, .calc-band::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.calc-band::before { width: 340px; height: 340px; right: -80px; top: -120px; }
.calc-band::after { width: 220px; height: 220px; right: 140px; bottom: -120px; }
.calc-band h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin-bottom: 12px; }
.calc-band p { opacity: .92; max-width: 520px; }
.calc-band .btn { background: #fff; color: #0a6aa8; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .35); margin-top: 24px; }
.calc-band .btn:hover { transform: translateY(-2px) scale(1.02); }
.calc-preview { position: relative; z-index: 1; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); border-radius: 20px; padding: 22px; backdrop-filter: blur(6px); }
.calc-preview small { opacity: .8; }
.calc-preview .big { font-family: var(--ff-head); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin: 6px 0 14px; letter-spacing: -.02em; }
.calc-preview ul { display: grid; gap: 8px; font-size: .9rem; }
.calc-preview li { display: flex; align-items: center; gap: 8px; }
@media (max-width: 860px) { .calc-band { grid-template-columns: 1fr; } }

/* ---------- Comparison ---------- */
.cmp-controls { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 26px; }
.cmp-controls .chip { display: inline-flex; align-items: center; gap: 8px; }
.cmp-controls .chip .tick { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; transition: all .2s; }
.cmp-controls .chip.on .tick { background: #fff; border-color: #fff; color: #0a6aa8; }
.cmp-controls .chip .tick .icon { width: 11px; height: 11px; stroke-width: 4; opacity: 0; }
.cmp-controls .chip.on .tick .icon { opacity: 1; }
.cmp-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 560px; }
.cmp th, .cmp td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .94rem; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp thead th { position: sticky; top: 0; background: var(--surface); z-index: 2; padding-top: 22px; padding-bottom: 20px; }
.cmp thead .ent { display: flex; flex-direction: column; gap: 6px; }
.cmp thead .ent b { font-family: var(--ff-head); font-size: 1.05rem; }
.cmp thead .ent small { color: var(--muted); font-weight: 500; }
.cmp tbody th { font-weight: 600; color: var(--muted); width: 150px; min-width: 130px; background: var(--surface-2); position: sticky; left: 0; z-index: 1; }
.cmp thead th:first-child { left: 0; z-index: 3; background: var(--surface-2); }
.cmp td.col { transition: background .25s; }
.cmp td.col:hover { background: var(--brand-soft); }
.cmp .col.off { display: none; }
.cmp .tag { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: .76rem; font-weight: 700; }
.tag.good { background: rgba(10, 143, 212, .16); color: #0a6aa8; } .tag.mid { background: rgba(82, 101, 122, .12); color: #52657a; } .tag.bad { background: rgba(11, 37, 69, .10); color: #0b2545; }
.meter { display: flex; gap: 4px; }
.meter i { width: 100%; max-width: 22px; height: 8px; border-radius: 4px; background: var(--line); transition: background .4s; }
.meter i.on { background: var(--grad); }
.cmp-foot { text-align: center; margin-top: 28px; color: var(--muted); }
.cmp-foot a { color: var(--brand-ink); font-weight: 600; border-bottom: 1px solid currentColor; }

/* ---------- Process timeline ---------- */
.timeline { --p: 0; position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; padding-top: 10px; }
.timeline::before, .timeline::after { content: ""; position: absolute; top: 34px; left: 10%; right: 10%; height: 4px; border-radius: 4px; background: var(--line); }
.timeline::after { background: var(--grad); transform-origin: left; transform: scaleX(var(--p)); transition: transform 1s cubic-bezier(.3, .8, .3, 1); }
.tl { text-align: center; position: relative; z-index: 1; padding: 0 6px; }
.tl-n {
  width: 48px; height: 48px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; font-family: var(--ff-head); font-weight: 800;
  background: var(--surface); border: 3px solid var(--line); color: var(--muted); transition: all .5s; box-shadow: var(--shadow-sm);
}
.tl.is-active .tl-n { background: var(--grad); border-color: transparent; color: #fff; transform: scale(1.12); box-shadow: 0 10px 24px -6px rgba(11, 79, 138, .55); }
.tl-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; transition: transform .3s, box-shadow .3s, border-color .3s; height: calc(100% - 68px); }
.tl:hover .tl-card, .tl.is-active .tl-card { box-shadow: var(--shadow); }
.tl:hover .tl-card { transform: translateY(-5px); border-color: var(--brand); }
.tl-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.tl-card p { color: var(--muted); font-size: .9rem; }
.tl-time { display: inline-block; margin-top: 12px; font-size: .75rem; font-weight: 700; color: var(--brand-ink); background: var(--brand-soft); padding: 4px 10px; border-radius: 99px; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 0; padding-left: 8px; }
  .timeline::before, .timeline::after { top: 24px; bottom: 24px; left: 31px; right: auto; width: 4px; height: auto; }
  .timeline::after { transform-origin: top; transform: scaleY(var(--p)); }
  .tl { display: grid; grid-template-columns: 48px 1fr; gap: 18px; text-align: left; padding: 0 0 22px; }
  .tl-n { margin: 0; } .tl-card { height: auto; }
}

/* ---------- Trust ---------- */
.trust-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin-bottom: 56px; }
.trust-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.trust-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.iso-badge { display: flex; align-items: center; gap: 18px; }
.iso-badge svg { width: 92px; height: 92px; flex: none; filter: drop-shadow(0 10px 14px rgba(10, 143, 212, .3)); animation: slowspin 40s linear infinite; }
@keyframes slowspin { to { transform: rotate(360deg); } }
.iso-badge h3 { font-size: 1.15rem; margin-bottom: 4px; } .iso-badge p, .trust-card p.sub { color: var(--muted); font-size: .9rem; }
.rating-big { display: flex; align-items: center; gap: 18px; }
.rating-big .n { font-family: var(--ff-head); font-weight: 800; font-size: 3.4rem; line-height: 1; letter-spacing: -.04em; }
.rbars { display: grid; gap: 5px; margin-top: 16px; }
.rbar { display: grid; grid-template-columns: 28px 1fr 34px; align-items: center; gap: 8px; font-size: .75rem; color: var(--muted); }
.rbar i { height: 6px; background: var(--line); border-radius: 6px; overflow: hidden; position: relative; }
.rbar i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: #0a8fd4; border-radius: 6px; transform-origin: left; transform: scaleX(0); transition: transform 1.2s .2s ease; }
.in .rbar i::after, .rbars.in i::after { transform: scaleX(1); }
.reach { display: grid; gap: 14px; margin-top: 6px; }
.reach li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.reach .icon { color: var(--brand); }
.marquee-label { text-align: center; color: var(--muted); font-size: .82rem; margin-bottom: 20px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 22px; width: max-content; animation: scroll 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(calc(-50% - 11px)); } }
.logo-ph { display: flex; align-items: center; gap: 10px; padding: 16px 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--muted); font-weight: 700; font-family: var(--ff-head); white-space: nowrap; letter-spacing: .02em; filter: grayscale(1); opacity: .8; transition: all .3s; }
.logo-ph:hover { filter: none; opacity: 1; color: var(--brand-ink); border-color: var(--brand); }
.logo-ph svg { width: 24px; height: 24px; }
@media (max-width: 960px) { .trust-grid { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.car-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.car-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-top: 14px; }
.car-nav { display: flex; gap: 10px; }
.car-nav .icon-btn.prev .icon { transform: rotate(180deg); }
.car-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 8px 4px 24px; margin: 0 -4px; }
.car-track::-webkit-scrollbar { display: none; }
.tcard { flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; position: relative; }
.tcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.tcard::before { content: "\201C"; position: absolute; right: 24px; top: 6px; font-family: Georgia, serif; font-size: 5rem; color: var(--brand-soft); line-height: 1; }
.tcard blockquote { margin: 0; color: var(--text); font-size: .98rem; flex: 1; }
.who { display: flex; align-items: center; gap: 14px; }
.ph-avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-family: var(--ff-head); background: var(--g); flex: none; }
.who b { display: block; font-size: .95rem; } .who small { color: var(--muted); }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 4px; }
.dots button { width: 9px; height: 9px; border-radius: 9px; background: var(--line); transition: all .3s; }
.dots button.on { width: 28px; background: var(--brand); }
@media (max-width: 960px) { .tcard { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 620px) { .tcard { flex-basis: 88%; } }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 840px; margin: 0 auto; display: grid; gap: 12px; }
.faq { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; transition: border-color .3s, box-shadow .3s; overflow: hidden; }
.faq:hover { border-color: var(--brand); }
.faq.open { box-shadow: var(--shadow); border-color: var(--brand); }
.faq-q { width: 100%; text-align: left; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; font-size: 1.04rem; font-family: var(--ff-head); }
.faq-q .icon { transition: transform .35s; color: var(--brand); }
.faq.open .faq-q .icon { transform: rotate(180deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s ease; }
.faq.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 24px 22px; color: var(--muted); }

/* ---------- Final CTA ---------- */
.final { text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 32px; padding: clamp(40px, 7vw, 84px) 24px; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.final::before { content: ""; position: absolute; inset: -40% -10% auto; height: 120%; background: radial-gradient(closest-side, rgba(10, 143, 212, .18), transparent); pointer-events: none; }
.final h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 760px; margin: 0 auto 16px; position: relative; }
.final p { color: var(--muted); max-width: 540px; margin: 0 auto 30px; position: relative; }
.final .hero-cta { justify-content: center; margin-top: 0; position: relative; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-soft); color: var(--muted); border-top: 1px solid var(--line); padding: 72px 0 28px; margin-top: 40px; }
.f-grid { display: grid; grid-template-columns: 1.4fr .8fr .9fr 1.3fr; gap: 40px; }
.footer .logo img { height: 46px; }
.footer h4 { color: var(--text); font-size: .95rem; margin-bottom: 16px; letter-spacing: 0; }
.footer li { margin-bottom: 10px; font-size: .92rem; }
.footer a { transition: color .2s, transform .2s; display: inline-block; }
.footer a:hover { color: var(--brand-ink); transform: translateX(3px); }
.f-contact li { display: flex; gap: 10px; align-items: flex-start; } .f-contact .icon { margin-top: 4px; color: var(--brand); width: 1.05em; height: 1.05em; }
.f-about { font-size: .92rem; margin: 18px 0; max-width: 320px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; font-weight: 700; font-size: .78rem; color: var(--text); transition: all .25s; }
.socials a:hover { background: var(--brand); color: #fff; border-color: var(--brand); transform: translateY(-3px); }
.news { display: flex; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 5px; margin-top: 14px; transition: border-color .2s; }
.news:focus-within { border-color: var(--brand); }
.news input { flex: 1; min-width: 0; background: none; border: 0; color: var(--text); padding: 0 14px; font: inherit; font-size: .92rem; }
.news input:focus { outline: none; }
.news input::placeholder { color: #8a9bb0; }
.news-msg { font-size: .84rem; margin-top: 10px; min-height: 1.3em; color: var(--ok); }
.f-bottom { margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .84rem; }
@media (max-width: 960px) { .f-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .f-grid { grid-template-columns: 1fr; } }

/* ---------- Floating buttons ---------- */
.fab-wa { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 62px; height: 62px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -6px rgba(37, 211, 102, .65); transition: transform .25s; }
.fab-wa .icon { width: 32px; height: 32px; }
.fab-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }
.fab-wa:hover { transform: scale(1.1) rotate(-6deg); }
.fab-wa .tip { position: absolute; right: 74px; background: var(--surface); color: var(--text); padding: 8px 14px; border-radius: 10px; font-size: .85rem; font-weight: 600; white-space: nowrap; box-shadow: var(--shadow); border: 1px solid var(--line); opacity: 0; transform: translateX(8px); pointer-events: none; transition: all .25s; }
.fab-wa:hover .tip { opacity: 1; transform: none; }
.fab-top { position: fixed; right: 29px; bottom: 98px; z-index: 90; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; place-items: center; opacity: 0; transform: translateY(16px) scale(.8); pointer-events: none; transition: all .3s; }
.fab-top.show { opacity: 1; transform: none; pointer-events: auto; }
.fab-top:hover { background: var(--brand); color: #fff; border-color: var(--brand); transform: translateY(-3px); }

/* ---------- Calculator modal ---------- */
dialog.calc { border: 0; padding: 0; width: min(680px, 100% - 24px); max-height: calc(100dvh - 24px); border-radius: 26px; background: var(--surface); color: var(--text); box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .55); overflow: hidden; }
dialog.calc[open] { display: flex; flex-direction: column; animation: pop .35s cubic-bezier(.2, .9, .3, 1.2); }
dialog.calc::backdrop { background: rgba(5, 12, 24, .62); backdrop-filter: blur(6px); animation: fade .3s; }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.96); } }
@keyframes fade { from { opacity: 0; } }
.calc-top { padding: 22px 26px 0; flex: none; }
.calc-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.calc-title h2 { font-size: 1.35rem; }
.calc-title small { color: var(--muted); display: block; font-size: .85rem; font-family: var(--ff-body); letter-spacing: 0; font-weight: 400; margin-top: 2px; }
.prog { height: 8px; background: var(--line); border-radius: 8px; margin: 18px 0 8px; overflow: hidden; }
.prog i { display: block; height: 100%; width: 25%; background: var(--grad); border-radius: 8px; transition: width .5s cubic-bezier(.3, .8, .3, 1); }
.prog-lbl { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); font-weight: 600; }
.calc-body { padding: 18px 26px 10px; overflow-y: auto; -webkit-overflow-scrolling: touch; flex: 1 1 auto; min-height: 0; }
.calc-body h3 { font-size: 1.15rem; margin-bottom: 4px; }
.calc-body > .hint, .panel > .hint { color: var(--muted); font-size: .92rem; margin-bottom: 16px; }
.panel { display: none; animation: slideIn .4s ease; }
.panel.on { display: block; }
@keyframes slideIn { from { opacity: 0; transform: translateX(22px); } }
.opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt .card { display: flex; gap: 14px; align-items: center; padding: 15px 16px; border: 2px solid var(--line); border-radius: 14px; transition: all .2s; background: var(--surface); height: 100%; }
.opt .card .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-ink); display: grid; place-items: center; flex: none; transition: all .2s; }
.opt .card b { display: block; font-size: .95rem; line-height: 1.25; } .opt .card small { color: var(--muted); font-size: .78rem; line-height: 1.3; display: block; }
.opt:hover .card { border-color: var(--brand); transform: translateY(-2px); }
.opt input:checked + .card { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 4px var(--brand-soft); }
.opt input:checked + .card .ico { background: var(--grad); color: #fff; }
.opt input:focus-visible + .card { outline: 3px solid var(--brand); outline-offset: 2px; }
.stepper { display: flex; align-items: center; justify-content: center; gap: 26px; padding: 22px 0 10px; }
.stepper button { width: 54px; height: 54px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-size: 1.4rem; transition: all .2s; }
.stepper button:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); transform: scale(1.06); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output { font-family: var(--ff-head); font-weight: 800; font-size: 3.4rem; min-width: 96px; text-align: center; line-height: 1; }
.stepper-lbl { text-align: center; color: var(--muted); font-size: .9rem; margin-bottom: 20px; min-height: 1.4em; }
.addons { display: grid; gap: 10px; }
.addon { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; transition: all .2s; }
.addon:hover { border-color: var(--brand); }
.addon input { width: 18px; height: 18px; accent-color: var(--brand); }
.addon span { flex: 1; font-size: .92rem; font-weight: 600; } .addon small { color: var(--muted); font-weight: 500; }
.result { text-align: center; padding: 4px 0; }
.result .lbl { color: var(--muted); font-size: .88rem; }
.result .price { font-family: var(--ff-head); font-weight: 800; font-size: clamp(2rem, 7vw, 3rem); letter-spacing: -.03em; margin: 6px 0 4px; }
.result .eta { display: inline-flex; gap: 8px; align-items: center; background: var(--brand-soft); color: var(--brand-ink); font-weight: 600; font-size: .86rem; padding: 6px 14px; border-radius: 99px; }
.breakdown { margin: 22px 0 6px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-align: left; }
.breakdown div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; font-size: .9rem; border-bottom: 1px solid var(--line); }
.breakdown div:last-child { border: 0; background: var(--surface-2); font-weight: 700; }
.breakdown span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.disc { font-size: .76rem; color: var(--muted); margin-top: 10px; }
.calc-foot { flex: none; padding: 16px 26px 22px; display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.calc-foot .btn[hidden] { display: none; }
.res-cta { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 520px) { .opts { grid-template-columns: 1fr; } .calc-top, .calc-body, .calc-foot { padding-left: 18px; padding-right: 18px; } .res-cta, .res-cta .btn { width: 100%; } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); will-change: opacity, transform; }
.js .reveal.in { opacity: 1; transform: none; will-change: auto; }
.js .reveal.left { transform: translateX(-30px); } .js .reveal.right { transform: translateX(30px); }
.js .reveal.left.in, .js .reveal.right.in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* ---------- Service colour themes + misc fixes ---------- */
.g-co { --g: linear-gradient(135deg, #0a8fd4, #0b4f8a); --c: #0a8fd4; }
.g-br { --g: linear-gradient(135deg, #0a8fd4, #0b4f8a); --c: #0a8fd4; }
.g-li { --g: linear-gradient(135deg, #0a8fd4, #0b4f8a); --c: #0a8fd4; }
.g-ex { --g: linear-gradient(135deg, #0a8fd4, #0b4f8a); --c: #0a8fd4; }
.res-cta[hidden] { display: none; }

/* =====================================================================
   Lead-generation layer (shared by every page)
   ===================================================================== */

.live-dot { animation: none; }

/* form fields (used by hero form, wizard, contact form) */
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: .88rem; }
.field label span { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--text); background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; min-height: 48px; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.field .invalid, .field input.invalid { border-color: #b3261e; }
.form-msg { min-height: 1.3em; font-size: .86rem; color: #b3261e; margin: -2px 0 8px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.fine { font-size: .78rem; color: var(--muted); margin-top: 12px; }

/* wizard step 4: price locked until the lead is captured */
.lock { text-align: center; }
.lock .lbl { color: var(--muted); font-size: .88rem; }
.lock .price.locked { font-family: var(--ff-head); font-weight: 800; font-size: clamp(1.8rem, 6.5vw, 2.6rem); letter-spacing: .02em; margin: 6px 0 6px; color: #b9c6d4; user-select: none; }
.lock .eta { display: inline-flex; gap: 8px; align-items: center; background: var(--brand-soft); color: var(--brand-ink); font-weight: 600; font-size: .86rem; padding: 6px 14px; border-radius: 99px; }
.lock .lock-h { font-size: 1.12rem; margin: 20px 0 6px; }
.lock .hint { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
.lock form { text-align: left; }
#calcSubmit { min-height: 48px; }

/* =====================================================================
   Certificate carousel card (hero) — same container footprint as the old card
   ===================================================================== */
.cert-card { padding: 24px; max-width: 430px; margin-left: auto; transform: rotateY(-6deg) rotateX(3deg); transition: transform .5s ease; }
.hero-visual:hover .cert-card { transform: rotateY(0) rotateX(0); }
.cert-stage { position: relative; height: 330px; }
.cert-slide { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; opacity: 0; transform: translateX(18px); transition: opacity .45s ease, transform .45s ease; pointer-events: none; }
.cert-slide.on { opacity: 1; transform: none; pointer-events: auto; }
.cert-slide.out { transform: translateX(-18px); }
.cert-ico { position: relative; width: 96px; height: 96px; border-radius: 28px; display: grid; place-items: center; color: #fff; background: var(--grad); box-shadow: 0 18px 34px -12px rgba(11, 79, 138, .6); }
.cert-ico > .icon { width: 46px; height: 46px; }
.cert-ico .ok { position: absolute; right: -10px; bottom: -10px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--brand-ink); box-shadow: var(--shadow-sm); }
.cert-ico .ok .icon { width: 18px; height: 18px; stroke-width: 3.2; }
.cert-slide h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); margin-top: 8px; }
.cert-time { display: inline-flex; align-items: center; gap: 8px; background: var(--brand-soft); color: var(--brand-ink); font-weight: 600; font-size: .92rem; padding: 7px 15px; border-radius: 99px; }
.cert-time .icon { width: 1.05em; height: 1.05em; }
.cert-bar { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; margin: 8px 2px 14px; }
.cert-bar i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 4px; animation: certfill 2.5s linear forwards; }
@keyframes certfill { to { width: 100%; } }
@media (hover: hover) and (pointer: fine) { .cert-card:hover .cert-bar i { animation-play-state: paused; } }   /* mouse hover pauses; touch never does, so scrolling can't freeze it */
.cert-card:has(:focus-visible) .cert-bar i { animation-play-state: paused; }   /* keyboard focus pauses */
.cert-dots { display: flex; justify-content: center; gap: 8px; }
.cert-dots button { width: 9px; height: 9px; border-radius: 9px; background: var(--line); transition: width .3s, background .3s; position: relative; }
.cert-dots button::after { content: ""; position: absolute; inset: -14px -4px; }
.cert-dots button.on { width: 28px; background: var(--brand); }
.cert-cap { max-width: 430px; margin: 16px 0 0 auto; text-align: center; font-size: .82rem; color: var(--muted); }
@media (max-width: 960px) { .cert-card { margin: 0 auto; transform: none; } .cert-cap { margin-inline: auto; } }
@media (prefers-reduced-motion: reduce) { .cert-bar i { animation: none; width: 100%; } .cert-slide { transition: none; } }
.hero-visual .float-chip.c2 { top: 21%; right: -20px; }   /* keep the floating chip clear of the slide icon and heading */

.nav-home { display: none; }   /* Home link shows in the mobile menu only; on desktop the logo is Home */
@media (max-width: 960px) { .nav-home { display: block; } }

/* Estimator sheet fallback: browsers without a working <dialog> (older Safari, some in-app browsers) */
dialog.calc:not([open]) { display: none; }
dialog.calc-fb[open] { position: fixed; top: auto; right: 0; bottom: 0; left: 0; z-index: 1000; margin: 0 auto; box-shadow: 0 0 0 100vmax rgba(5, 12, 24, .62); }
html.calc-lock, html.calc-lock body { overflow: hidden; }
@media (min-width: 769px) { dialog.calc-fb[open] { top: 50%; bottom: auto; transform: translateY(-50%); } }

/* Homepage live estimate card */
.lv-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.lv-chip { padding: 6px 12px; border-radius: 99px; font-size: .82rem; font-weight: 600; color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); transition: background .2s, color .2s; }
.lv-chip:hover { background: rgba(255, 255, 255, .26); }
.lv-chip.on { background: #fff; color: #0a6aa8; border-color: #fff; }
.lv-loc { display: flex; align-items: center; gap: 10px; font-size: .85rem; margin-bottom: 14px; }
.lv-loc span { opacity: .85; }
.lv-loc select { flex: 1; min-width: 0; padding: 7px 10px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .92); color: #0b2545; font: inherit; font-weight: 600; }
.lv-out.swap { animation: lvswap .35s ease; }
@keyframes lvswap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lv-out.swap { animation: none; } }

/* keep the live card inside the band on narrow screens (long option text must not widen the grid) */
.calc-band > * { min-width: 0; }
.lv-loc select { text-overflow: ellipsis; }
.lv-out small { display: block; }
.calc-band .lv-cta { width: 100%; justify-content: center; margin-top: 16px; }
