/* Bozeman / Belgrade Mobile Windshield — site styles */
:root {
  --navy-950: #07111f;
  --navy-900: #0b182e;
  --navy-800: #12233f;
  --navy-700: #1b3156;
  --navy-600: #2a4674;
  --steel: #8b939e;
  --ink: #0f1a2b;
  --text: #3d4757;
  --muted: #667085;
  --line: #e2e8f0;
  --ice: #f2f6fb;
  --ice-2: #e4edf8;
  --sky: #6db3ee;
  --amber: #ffb81c;
  --amber-600: #f0a500;
  --green: #12805c;
  --red: #c2410c;
  --white: #fff;

  --font: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Barlow Condensed', 'Barlow', system-ui, sans-serif;
  --r-sm: 10px; --r: 16px; --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(11, 24, 46, .06), 0 2px 6px rgba(11, 24, 46, .05);
  --shadow: 0 2px 4px rgba(11, 24, 46, .04), 0 12px 32px -8px rgba(11, 24, 46, .16);
  --shadow-lg: 0 4px 8px rgba(11, 24, 46, .06), 0 32px 64px -16px rgba(11, 24, 46, .32);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font: 400 17px/1.65 var(--font); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); line-height: 1.1; margin: 0 0 .5em; text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.25rem); }
h2 { font-size: clamp(2rem, 1.5rem + 1.8vw, 2.875rem); }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.005em; }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--amber); color: var(--navy-900); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }
.link { color: var(--navy-600); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(42, 70, 116, .3); text-underline-offset: 3px; display: inline-flex; align-items: center; gap: .3em; }
.link:hover { text-decoration-color: currentColor; }
.mt { margin-top: 1.25rem; }
.fine { font-size: .82rem; color: var(--muted); margin: .75rem 0 0; }

/* Eyebrow */
.eyebrow { display: inline-flex; align-items: center; gap: .45em; font: 700 .78rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--navy-600); margin: 0 0 1rem; }
.eyebrow-light { color: var(--sky); }

/* Buttons */
.btn { --bg: var(--navy-900); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .8em 1.3em; border-radius: 12px; border: 2px solid transparent; background: var(--bg); color: var(--fg); font: 700 1rem/1.1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .i { width: 1.1em; height: 1.1em; }
.btn-lg { padding: 1em 1.6em; font-size: 1.06rem; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-amber { --bg: var(--amber); --fg: var(--navy-900); box-shadow: 0 10px 24px -10px rgba(255, 184, 28, .7), inset 0 -2px 0 rgba(0, 0, 0, .08); }
.btn-amber:hover { --bg: #ffc540; box-shadow: 0 14px 28px -10px rgba(255, 184, 28, .85), inset 0 -2px 0 rgba(0, 0, 0, .08); }
.btn-navy { --bg: var(--navy-900); }
.btn-navy:hover { --bg: var(--navy-700); }
.btn-outline { --bg: transparent; --fg: var(--navy-900); border-color: var(--line); }
.btn-outline:hover { border-color: var(--navy-900); }
.btn-ghost-light { --bg: rgba(255, 255, 255, .08); --fg: #fff; border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { --bg: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .6); }

/* Top bar + header */
.topbar { background: var(--navy-950); color: #c3cddb; font-size: .82rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 36px; }
.topbar span { display: inline-flex; align-items: center; gap: .45em; }
.topbar .i { color: var(--sky); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -12px rgba(11, 24, 46, .25); }
.header-in { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand img { width: 128px; height: auto; transition: width .25s var(--ease); }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.nav a, .nav-btn { display: inline-flex; align-items: center; gap: .3em; padding: .55em .85em; border-radius: 10px; font: 600 .98rem/1 var(--font); color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; transition: background-color .15s; }
.nav a:hover, .nav-btn:hover, .nav-btn[aria-expanded="true"] { background: var(--ice); }
.nav a[aria-current="page"] { color: var(--navy-600); box-shadow: inset 0 -2px 0 var(--amber); border-radius: 0; }
.chev { width: 1em; height: 1em; transition: transform .2s; }
.nav-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.has-menu { position: relative; }
.menu { position: absolute; top: calc(100% + 12px); left: 50%; width: 460px; transform: translate(-50%, 6px); padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s var(--ease), visibility .18s; }
.has-menu.open .menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav .menu-item { display: flex; gap: .85rem; align-items: flex-start; padding: .75rem; border-radius: 12px; line-height: 1.35; white-space: normal; }
.menu-item strong { display: block; font-size: .98rem; color: var(--ink); }
.menu-item small { display: block; color: var(--muted); font-weight: 500; font-size: .85rem; margin-top: 2px; }
.menu-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--ice); color: var(--navy-700); flex: none; }
.menu-ico .i { width: 22px; height: 22px; }
.nav-mobile-cta { display: none; }
.header-cta { display: flex; align-items: center; gap: 1rem; }
.header-phone { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.05rem; line-height: 1.15; }
.header-phone > .i { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--ice); color: var(--navy-700); }
.header-phone small { display: block; font-size: .72rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: var(--ice); border-radius: 12px; cursor: pointer; padding: 0; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--navy-900); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; color: #d5deea; background: var(--navy-900); padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(6rem, 9vw, 8rem); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(109, 179, 238, .22), transparent 70%),
    radial-gradient(40% 50% at 10% 100%, rgba(255, 184, 28, .10), transparent 70%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950)); }
.hero-bg::after { content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: repeating-radial-gradient(circle at 78% 120%, transparent 0 38px, rgba(255, 255, 255, .035) 38px 39px);
  mask-image: linear-gradient(180deg, transparent, #000 40%, #000 80%, transparent); }
.hero-in { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em, .page-hero h1 em { font-style: italic; font-weight: 800; background: linear-gradient(90deg, var(--amber), #ffd877); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); line-height: 1.6; color: #b9c6d8; max-width: 38em; margin-bottom: 2rem; }
.lead-sm { font-size: 1.08rem; color: #b9c6d8; }
.lead-dark { font-size: 1.15rem; color: var(--text); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero-ctas.center { justify-content: center; }
.hero-trust { list-style: none; margin: 2.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; font-size: .95rem; font-weight: 600; color: #dbe4ef; }
.hero-trust li { display: inline-flex; align-items: center; gap: .5em; }
.hero-trust .i { color: var(--amber); }
.hero-visual { position: relative; }
.hero-art { width: 100%; height: auto; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .45)); }
.float-card { position: absolute; display: flex; align-items: center; gap: .7rem; padding: .75rem 1rem; border-radius: 14px; background: rgba(255, 255, 255, .96); color: var(--ink); box-shadow: var(--shadow-lg); line-height: 1.2; animation: float 6s ease-in-out infinite; }
.float-card > .i { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--amber); color: var(--navy-900); }
.float-card strong { display: block; font-size: 1rem; }
.float-card small { color: var(--muted); font-size: .8rem; font-weight: 500; }
.fc-1 { left: -4%; bottom: 6%; }
.fc-2 { right: -2%; top: -2%; animation-delay: -3s; }
.fc-2 > .i { background: var(--ice-2); color: var(--navy-700); }
@keyframes float { 50% { transform: translateY(-8px); } }

/* Hero illustration animation: crack lines retract as the chip "heals" */
.hero-art .chip-cracks path { stroke-dasharray: 30; stroke-dashoffset: 0; animation: heal 7s var(--ease) infinite; }
.hero-art .chip-ring { transform-origin: center; transform-box: fill-box; animation: ring 7s var(--ease) infinite; opacity: 0; }
.hero-art .shine { animation: shine 7s ease-in-out infinite; }
@keyframes heal { 0%, 30% { stroke-dashoffset: 0; opacity: 1; } 55%, 85% { stroke-dashoffset: 30; opacity: .15; } 100% { stroke-dashoffset: 0; opacity: 1; } }
@keyframes ring { 0%, 32% { transform: scale(.6); opacity: 0; } 40% { opacity: .9; } 60% { transform: scale(3.2); opacity: 0; } 100% { opacity: 0; } }
@keyframes shine { 0%, 40% { transform: skewX(-18deg) translateX(0); } 70%, 100% { transform: skewX(-18deg) translateX(1000px); } }

/* Highlight strip overlapping the hero */
.strip { position: relative; z-index: 2; margin-top: -3.5rem; }
.strip-in > * { display: flex; align-items: center; gap: .85rem; }
.strip-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 1.4rem 1.6rem; border: 1px solid var(--line); }
.strip-in .i { width: 46px; height: 46px; padding: 11px; border-radius: 12px; background: var(--ice); color: var(--navy-700); }
.strip-in span { font-size: .88rem; color: var(--muted); line-height: 1.35; }
.strip-in strong { display: block; color: var(--ink); font-size: 1rem; }

/* Sections */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-ice { background: var(--ice); }
.section-navy { background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); color: #b9c6d8; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-head p:last-child { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section-head.left { text-align: left; margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }

/* Service cards */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.svc-card { position: relative; display: flex; flex-direction: column; padding: 1.75rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; overflow: hidden; }
.svc-card::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: linear-gradient(90deg, var(--navy-600), var(--sky)); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.svc-card:hover::after { transform: scaleX(1); }
.svc-card h3 { margin: 1.1rem 0 .4rem; font-size: 1.22rem; }
.svc-card p { color: var(--muted); font-size: .98rem; margin: 0 0 1.25rem; }
.svc-ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: linear-gradient(145deg, var(--navy-800), var(--navy-600)); color: #fff; box-shadow: 0 8px 18px -8px rgba(18, 35, 63, .6); }
.svc-ico .i { width: 26px; height: 26px; }
.svc-more { margin-top: auto; display: inline-flex; align-items: center; gap: .4em; font-weight: 700; font-size: .95rem; color: var(--navy-600); }
.svc-more .i { transition: transform .25s var(--ease); }
.svc-card:hover .svc-more .i { transform: translateX(4px); }
.svc-card-alt { background: linear-gradient(160deg, #fff8e6, #fff); border-color: #f6e3b3; }
.svc-card-alt .svc-ico { background: linear-gradient(145deg, var(--amber-600), var(--amber)); color: var(--navy-900); }

/* Repair vs replace checker */
.checker-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.checker { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.dc-form { padding: 1.75rem 1.75rem .5rem; }
.dc-q { border: 0; margin: 0 0 1.25rem; padding: 0; }
.dc-q legend { font-weight: 700; color: var(--ink); margin-bottom: .65rem; padding: 0; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: flex; flex-direction: column; justify-content: center; height: 100%; padding: .7rem .8rem; border: 1.5px solid var(--line); border-radius: 12px; font-weight: 600; font-size: .92rem; line-height: 1.25; color: var(--ink); cursor: pointer; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.seg small { font-weight: 500; color: var(--muted); font-size: .78rem; margin-top: 2px; }
.seg label:hover span { border-color: #c5d2e3; }
.seg input:checked + span { border-color: var(--navy-600); background: var(--ice); box-shadow: inset 0 0 0 1px var(--navy-600); }
.seg input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.dc-result { --tone: var(--green); --tone-bg: #e9f7f1; padding: 1.5rem 1.75rem 1.75rem; background: var(--tone-bg); border-top: 1px solid var(--line); transition: background-color .3s; }
.dc-result[data-tone="amber"] { --tone: #a15c00; --tone-bg: #fff6e0; }
.dc-result[data-tone="red"] { --tone: var(--red); --tone-bg: #fdeee6; }
.dc-tag { display: inline-flex; align-items: center; gap: .4em; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--tone); margin: 0 0 .5rem; }
.dc-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 20%, transparent); }
.dc-result h3 { font-size: 1.35rem; margin-bottom: .35rem; }
.dc-result p { color: var(--text); margin-bottom: 1rem; }
.dc-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.dc-actions .btn-outline { background: #fff; }

/* Lists */
.ticks { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .7rem; }
.ticks li { display: flex; gap: .7rem; align-items: flex-start; font-weight: 500; color: var(--ink); }
.ticks .i { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--green); color: #fff; stroke-width: 3; margin-top: 1px; }
.num-list { counter-reset: n; list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 1.1rem; }
.num-list li { counter-increment: n; position: relative; padding-left: 3.25rem; }
.num-list li::before { content: counter(n); position: absolute; left: 0; top: -2px; width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border-radius: 50%; background: var(--navy-900); color: #fff; font: 700 1rem/1 var(--display); }
.num-list strong { color: var(--ink); }
.note { display: flex; gap: .7rem; align-items: flex-start; padding: 1rem 1.2rem; background: var(--ice); border-radius: var(--r-sm); border-left: 3px solid var(--navy-600); font-size: .96rem; }
.note .i { color: var(--navy-600); margin-top: 4px; }
.section-ice .note { background: #fff; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; position: relative; }
.steps::before { content: ""; position: absolute; top: 38px; left: 12%; right: 12%; border-top: 2px dashed #cfd9e6; z-index: -1; }
.steps li { text-align: center; padding: 0 .5rem; position: relative; }
.step-ico { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 1.25rem; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--navy-700); }
.step-ico .i { width: 30px; height: 30px; }
.step-n { position: absolute; top: -4px; left: calc(50% + 22px); width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--amber); color: var(--navy-900); font: 800 .85rem/1 var(--font); z-index: 1; }
.steps h3 { margin-bottom: .35rem; }
.steps p { color: var(--muted); font-size: .96rem; margin: 0; }

/* Montana section */
.mt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.mt-card { padding: 1.5rem; border-radius: var(--r); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); transition: background-color .25s, border-color .25s; }
.mt-card:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .18); }
.mt-card > .i { width: 42px; height: 42px; padding: 9px; border-radius: 12px; background: rgba(109, 179, 238, .14); color: var(--sky); margin-bottom: 1rem; }
.mt-card h3 { margin-bottom: .3rem; }
.mt-card p { margin: 0; font-size: .95rem; }

/* Areas */
.areas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.areas li > a, .areas li > span { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.15rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 700; color: var(--ink); transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.areas li > a:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--navy-600); }
.areas .i { color: var(--navy-600); }
.areas small { display: block; font-size: .75rem; color: var(--muted); font-weight: 600; letter-spacing: .08em; }
.areas .is-home > * { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.areas .is-home .i { color: var(--amber); }
.areas .is-home small { color: #9fb0c6; }
.areas-dark li > a, .areas-dark li > span { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); color: #fff; }
.areas-dark .i { color: var(--sky); }
.areas-dark small { color: #9fb0c6; }
.areas-dark .is-home > * { background: var(--amber); color: var(--navy-900); border-color: var(--amber); }
.areas-dark .is-home .i, .areas-dark .is-home small { color: var(--navy-900); }

/* Insurance band */
.ins-band { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; background: #fff; border-radius: var(--r-lg); padding: 2.25rem; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.ins-band h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin-bottom: .3rem; }
.ins-band p { margin: 0; color: var(--muted); }
.ins-ico { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; background: linear-gradient(145deg, var(--amber-600), var(--amber)); color: var(--navy-900); }
.ins-ico .i { width: 36px; height: 36px; }

/* FAQ */
.faq { display: grid; gap: .75rem; margin-top: 2rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: #cdd8e6; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.35rem; cursor: pointer; font-weight: 700; color: var(--ink); font-size: 1.05rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq-ico { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--ice); color: var(--navy-700); transition: transform .25s var(--ease), background-color .2s; }
.faq details[open] .faq-ico { transform: rotate(45deg); background: var(--navy-900); color: #fff; }
.faq-a { padding: 0 1.35rem 1.2rem; color: var(--text); }
.faq-a p { margin: 0; }

/* CTA band */
.cta-band { background: var(--navy-900); position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 120% at 100% 0%, rgba(109, 179, 238, .25), transparent 60%), radial-gradient(40% 120% at 0% 100%, rgba(255, 184, 28, .12), transparent 60%); }
.cta-band-in { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-top: 3.5rem; padding-bottom: 3.5rem; }
.cta-band h2 { color: #fff; margin-bottom: .3rem; }
.cta-band p { color: #b9c6d8; margin: 0; max-width: 34em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; flex: none; }

/* Page hero (inner pages) */
.page-hero { background: radial-gradient(60% 90% at 100% 0%, rgba(109, 179, 238, .2), transparent 60%), linear-gradient(180deg, var(--navy-900), var(--navy-950)); color: #b9c6d8; padding: 2.5rem 0 4rem; }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 1.6rem + 2.6vw, 3.6rem); }
.page-hero-sm { padding-bottom: 3rem; }
.page-hero-sm .lead { margin-bottom: 0; }
.page-hero-in { display: grid; grid-template-columns: 1.4fr .8fr; gap: 3rem; align-items: end; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.75rem; padding: 0; font-size: .85rem; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.crumbs a { color: #c9d4e3; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: #fff; font-weight: 600; }
.facts { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r-lg); padding: 1.6rem; backdrop-filter: blur(8px); }
.facts h2 { font: 700 .78rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--sky); margin-bottom: 1rem; }
.facts dl { margin: 0; display: grid; gap: .9rem; }
.facts dl > div { padding-bottom: .9rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.facts dl > div:last-child { border: 0; padding: 0; }
.facts dt { font-size: .8rem; color: #93a4bb; font-weight: 600; }
.facts dd { margin: 0; color: #fff; font-weight: 600; line-height: 1.35; }

/* Prose */
.prose h2 { margin-bottom: 1rem; }
.prose p { font-size: 1.06rem; }
.prose-wrap .section + .section:not(.section-ice) { padding-top: 0; }
.prose-wrap .section-ice + .section { padding-top: clamp(4rem, 8vw, 6.5rem); }
.mini-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin: 1.75rem 0 .5rem; }
.mini-cards:has(> :nth-child(4)) { grid-template-columns: repeat(2, 1fr); }
.mini-card { padding: 1.35rem; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.mini-card > .i { width: 40px; height: 40px; padding: 9px; border-radius: 11px; background: var(--ice); color: var(--navy-700); margin-bottom: .85rem; }
.mini-card h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.mini-card p { font-size: .95rem !important; color: var(--muted); margin: 0; }

/* Quote form */
.quote-section { background: var(--ice); }
.quote-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 2rem; align-items: start; margin-top: -5rem; }
.card { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-card { padding: clamp(1.25rem, 3vw, 2.25rem); }
.quote-aside { padding-top: 6rem; }
.quote-aside h2 { font-size: 1.8rem; }
.contact-cards { display: grid; gap: .65rem; margin: 1.25rem 0 1.75rem; }
.contact-card { display: flex; align-items: center; gap: .9rem; padding: .95rem 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; font-weight: 700; color: var(--ink); transition: border-color .2s, transform .2s var(--ease); }
a.contact-card:hover { border-color: var(--navy-600); transform: translateX(3px); }
.contact-card > .i { width: 40px; height: 40px; padding: 9px; border-radius: 11px; background: var(--navy-900); color: #fff; }
.contact-card small { display: block; font-size: .78rem; color: var(--muted); font-weight: 600; }
.tip { padding: 1.35rem; border-radius: var(--r); background: #fff; border: 1px dashed #c9d5e4; }
.tip h3 { display: flex; align-items: center; gap: .5em; font-size: 1rem; }
.tip ul { margin: 0; padding-left: 1.15rem; font-size: .95rem; color: var(--muted); }
.tip li + li { margin-top: .35rem; }

.quote-form { display: grid; gap: 1rem; }
.quote-form .fs { border: 0; padding: 0; margin: 0; }
.quote-form legend, .field label { display: block; font-weight: 700; font-size: .9rem; color: var(--ink); margin-bottom: .4rem; padding: 0; }
.req { color: var(--red); }
.opt { font-weight: 500; color: var(--muted); font-size: .82rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip-opt { position: relative; }
.chip-opt input { position: absolute; opacity: 0; inset: 0; }
.chip-opt span { display: inline-flex; align-items: center; gap: .45em; padding: .55rem .85rem; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--ink); cursor: pointer; transition: all .15s; background: #fff; }
.chip-opt span .i { color: var(--navy-600); }
.chip-opt input:checked + span { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.chip-opt input:checked + span .i { color: var(--amber); }
.chip-opt input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.grid3 { display: grid; grid-template-columns: .7fr 1fr 1fr; gap: 1rem; }
.field input, .field select, .field textarea { width: 100%; font: 500 1rem/1.3 var(--font); color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: .8rem .9rem; transition: border-color .15s, box-shadow .15s; appearance: none; -webkit-appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a4674' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 18px; padding-right: 2.4rem; }
.field input::placeholder, .field textarea::placeholder { color: #a3adbb; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 4px rgba(42, 70, 116, .12); }
.field input:user-invalid { border-color: var(--red); }
.file-field { position: relative; }
.file-field label { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; border: 1.5px dashed #bccadb; border-radius: 14px; background: var(--ice); cursor: pointer; margin: 0; transition: border-color .15s, background-color .15s; }
.file-field label:hover { border-color: var(--navy-600); }
.file-field label > .i { width: 42px; height: 42px; padding: 9px; border-radius: 11px; background: #fff; color: var(--navy-600); box-shadow: var(--shadow-sm); }
.file-field strong { display: block; }
.file-field small { display: block; font-weight: 500; color: var(--muted); font-size: .84rem; }
.file-field.has-file label { border-style: solid; border-color: var(--green); background: #eefaf4; }
.file-field input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-field input:focus-visible + * , .file-field:focus-within label { box-shadow: 0 0 0 4px rgba(42, 70, 116, .15); }
.hp { position: absolute; left: -9999px; }
.form-msg { padding: 1rem 1.15rem; border-radius: 12px; font-weight: 600; }
.form-msg.ok { background: #e9f7f1; color: var(--green); }
.form-msg.err { background: #fdeee6; color: var(--red); }
.quote-form.sent > :not(.form-msg) { display: none; }
.quote-form.sent .form-msg { display: flex; gap: .75rem; align-items: flex-start; padding: 1.5rem; font-size: 1.05rem; }
.quote-form button[disabled] { opacity: .7; cursor: progress; }

/* Belgrade landing: form in the hero */
.hero-landing { padding-bottom: clamp(6rem, 9vw, 8rem); }
.hero-landing .hero-in { align-items: start; }
.hero-landing .hero-trust { flex-direction: column; margin: 0 0 2rem; gap: .7rem; font-size: 1.02rem; }
.hero-form-card { background: #fff; color: var(--text); border-radius: var(--r-lg); padding: 1.75rem; box-shadow: var(--shadow-lg); }
.hero-form-card > h2 { font-size: 1.85rem; margin-bottom: .2rem; }
.hero-form-card > p { color: var(--muted); margin-bottom: 1.25rem; }
.compact .grid3 { grid-template-columns: .8fr 1fr 1fr; }

/* Thanks / 404 */
.center-page { min-height: 55vh; display: grid; align-items: center; }
.big-check { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: #e9f7f1; color: var(--green); margin-bottom: 1.5rem; }
.big-check .i { width: 42px; height: 42px; stroke-width: 2.6; }

/* Footer */
.site-footer { background: var(--navy-950); color: #93a4bb; font-size: .95rem; padding-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand img { width: 180px; height: auto; margin-bottom: 1.1rem; }
.footer-brand p { max-width: 26em; }
.site-footer h3 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer .cols2 { grid-template-columns: 1fr 1fr; column-gap: 1rem; }
.site-footer a { text-decoration: none; transition: color .15s; }
.site-footer a:hover { color: #fff; }
.contact-list li, .contact-list a { display: flex; align-items: center; gap: .55rem; }
.contact-list .i { color: var(--sky); }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 1.5rem; padding-bottom: 1.5rem; font-size: .85rem; }
.footer-base p { margin: 0; }
.footer-base a { text-decoration: underline; text-underline-offset: 3px; }

/* Mobile quick-action bar */
.action-bar { display: none; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .header-phone span { display: none; }
  .nav a, .nav-btn { padding: .55em .6em; }
}
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .burger { display: block; }
  .header-phone { display: none; }
  .brand img { width: 110px; }
  .header-cta { margin-left: auto; gap: .6rem; }
  /* Panel hangs under the header (the header's backdrop-filter makes it the containing block). */
  .nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - var(--header-h)); background: #fff; padding: 1rem 20px 7rem; overflow-y: auto; overscroll-behavior: contain; margin: 0; display: none; border-top: 1px solid var(--line); }
  body.nav-open .nav { display: block; animation: nav-in .25s var(--ease); }
  @keyframes nav-in { from { opacity: 0; transform: translateY(-8px); } }
  body.nav-open { overflow: hidden; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav li { border-bottom: 1px solid var(--line); }
  .nav a, .nav-btn { width: 100%; justify-content: space-between; padding: 1.1rem .25rem; font-size: 1.15rem; border-radius: 0; }
  .nav a:hover, .nav-btn:hover, .nav-btn[aria-expanded="true"] { background: none; }
  .nav a[aria-current="page"] { box-shadow: none; }
  .menu { position: static; width: auto; transform: none; box-shadow: none; border: 0; padding: 0 0 .75rem; display: none; opacity: 1; visibility: visible; }
  .has-menu.open .menu { display: block; transform: none; }
  .nav .menu-item { padding: .6rem .25rem; font-size: 1rem; justify-content: flex-start; }
  .nav-mobile-cta { display: grid; gap: .65rem; margin-top: 1.5rem; }
  .nav-mobile-cta .btn { width: 100%; padding: 1rem; font-size: 1.05rem; justify-content: center; }

  .hero-in, .split, .checker-wrap, .page-hero-in, .quote-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .hero-landing .hero-visual { display: none; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .strip-in { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .ins-band { grid-template-columns: 1fr; text-align: left; }
  .cta-band-in { flex-direction: column; align-items: flex-start; }
  .quote-grid { margin-top: -2rem; }
  .quote-aside { padding-top: 0; }
  .topbar .topbar-r { display: none; }
  .topbar-in { justify-content: center; }

  .action-bar { display: grid; grid-template-columns: 1fr 1.3fr; gap: 6px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(11, 24, 46, .25); }
  .action-bar a { display: flex; align-items: center; justify-content: center; gap: .45em; height: 48px; border-radius: 12px; font-weight: 700; text-decoration: none; color: var(--navy-900); background: var(--ice); }
  .action-bar a.primary { background: var(--amber); }
  body { padding-bottom: 72px; }
  body.nav-open .action-bar { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar { font-size: .78rem; }
  .topbar .hide-sm { display: none; }
  .svc-grid, .mt-grid, .mini-cards:has(> :nth-child(4)) { grid-template-columns: 1fr; }
  .strip { margin-top: -3rem; }
  .strip-in { padding: 1.1rem; gap: .9rem; }
  .strip-in .i { width: 40px; height: 40px; padding: 9px; }
  .seg { grid-template-columns: 1fr; }
  .grid2, .grid3, .compact .grid3 { grid-template-columns: 1fr; }
  .compact .grid3 { grid-template-columns: .8fr 1fr 1fr; gap: .5rem; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .float-card { padding: .55rem .75rem; }
  .float-card > .i { width: 30px; height: 30px; padding: 6px; }
  .fc-1 { left: 0; bottom: -4%; }
  .fc-2 { right: 0; top: -8%; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .areas { grid-template-columns: 1fr 1fr; }
  .hero-form-card { padding: 1.25rem; margin: 0 -4px; }
  .dc-form, .dc-result { padding-left: 1.25rem; padding-right: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Visit-the-shop block */
.shop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.shop-lead { font-size: 1.08rem; color: var(--muted); }
.shop-why { list-style: none; padding: 0; margin: 1.75rem 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; }
.shop-why li { display: flex; gap: .85rem; align-items: flex-start; font-size: .95rem; color: var(--muted); line-height: 1.45; }
.shop-why strong { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 2px; }
.shop-why .i { width: 40px; height: 40px; padding: 9px; border-radius: 11px; background: var(--ice); color: var(--navy-700); }
.section-ice .shop-why .i { background: #fff; }
.shop-mobile { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.2rem; margin: 0; border-radius: var(--r-sm); background: #fff8e6; border: 1px solid #f6e3b3; font-size: .96rem; }
.shop-mobile .i { color: #a15c00; margin-top: 3px; }
.shop-mobile strong { color: var(--ink); }
.shop-card { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.shop-map { aspect-ratio: 16 / 10; background: var(--ice-2); }
.shop-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.shop-info { padding: 1.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.5rem; }
.shop-addr { display: flex; gap: .75rem; align-items: flex-start; line-height: 1.45; }
.shop-addr .i { width: 38px; height: 38px; padding: 8px; border-radius: 10px; background: var(--navy-900); color: #fff; }
.shop-addr address { font-style: normal; }
.shop-addr strong { display: block; color: var(--ink); }
.shop-btns { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .6rem; }
.shop-btns .btn { flex: 1 1 180px; }
.topbar-link { display: inline-flex; align-items: center; gap: .45em; text-decoration: none; }
.topbar-link:hover { color: #fff; }
@media (max-width: 960px) { .shop-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .shop-why, .shop-info { grid-template-columns: 1fr; } }

/* GlassBiller scheduler embed */
.scheduler { background: #fff; border-radius: var(--r-lg); overflow: hidden; }
.scheduler iframe { display: block; width: 100%; height: 680px; border: 0; }

/* Booking hero: scheduler is the first thing on screen */
.hero-book { padding: 2rem 0 5.5rem; }
.hero-book .hero-in { grid-template-columns: .9fr 1.1fr; align-items: center; }
.hero-book .lead { margin-bottom: 1.5rem; }
.hero-book-quote { padding-bottom: 3rem; }
.hero-book-quote .crumbs ol { margin-bottom: 1.25rem; }
.book-card { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); background: #fff; }
.hero-points { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .9rem; }
.hero-points li { display: flex; gap: .8rem; align-items: flex-start; color: #b9c6d8; font-size: .95rem; line-height: 1.4; }
.hero-points strong { display: block; color: #fff; font-size: 1.02rem; }
.hero-points .i { width: 38px; height: 38px; padding: 9px; border-radius: 10px; background: rgba(255, 184, 28, .14); color: var(--amber); }
.hero-call { margin: 0; color: #b9c6d8; }
.hero-call a { display: inline-flex; align-items: center; gap: .4em; color: #fff; font-weight: 700; text-decoration: none; }
.hero-call a:hover { color: var(--amber); }
.hero-call .i { color: var(--amber); }
.hero-book .hero-trust { flex-direction: column; margin: 0 0 1.5rem; gap: .7rem; }
.quote-grid-after { margin-top: 0; }
.quote-grid-after .quote-aside { padding-top: 0; }

@media (max-width: 960px) {
  /* Phones/tablets: scheduler first, sized so the whole widget (with its Continue bar) fits on screen. */
  .hero-book { padding: .75rem 0 4.5rem; }
  .hero-book .hero-in { grid-template-columns: 1fr; gap: 1.75rem; }
  .hero-book .book-card { order: -1; margin: 0 -10px; }
  .hero-book .scheduler iframe { height: max(560px, calc(100svh - 190px)); }
  .hero-book .lead { font-size: 1.02rem; }
  .hero-book-quote .crumbs { display: none; }
}
