/* Serbia Camps site styles.
   Brand tokens come from the approved concept (2 Dec 2026). Mobile first:
   base rules are for phones, min-width queries add tablet and desktop layout. */

/* Fonts are served from this site (no Google requests). Both are open source
   under the SIL Open Font License: Archivo (Omnibus-Type), Instrument Sans
   (Instrument). Latin and Latin Extended files, so Bečej shows correctly. */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 500 900; font-stretch: 62% 125%; font-display: swap; src: url("/assets/fonts/archivo-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 500 900; font-stretch: 62% 125%; font-display: swap; src: url("/assets/fonts/archivo-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/instrument-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/instrument-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --night: #071A2C;
  --night-2: #0C2640;
  --night-3: #12314F;
  --chalk: #F3F6F9;
  --white: #FFFFFF;
  --mist: #9FB2C6;      /* secondary text on night (8.1:1) */
  --slate: #5A6B7D;     /* secondary text on chalk (5.1:1) */
  --red: #D8232A;       /* actions; white text on it 5.0:1 */
  --red-dark: #B51C22;
  --red-hi: #FF5A5F;    /* red text on night */
  --blue: #1450E6;      /* links on chalk (6.3:1) */
  --blue-hi: #5C8DFF;   /* blue text on night */
  --chlorine: #7FE3E0;  /* accents on night only */
  --line: rgba(159,178,198,.22);
  --line-light: #D7DFE7;
  --display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --gutter: 20px;
  --max: 1200px;
  --radius: 6px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--night); color: var(--chalk); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--chlorine); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--chlorine); outline-offset: 3px; border-radius: 2px; }
.light :focus-visible { outline-color: var(--blue); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
strong { font-weight: 650; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--chalk); color: var(--night); padding: 10px 14px; font-weight: 700; border-radius: 4px; }
.skip:focus { top: 12px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.read { max-width: 68ch; }
.section { padding-block: 64px; }
.section + .section { border-top: 1px solid var(--line); }
.light { background: var(--chalk); color: var(--night); }
.light a { color: var(--blue); }
.light + .section, .section + .light { border-top: 0; }
.light .muted { color: var(--slate); }
.light .eyebrow { color: var(--blue); }
.grid { display: grid; gap: 20px; }
.grid > * { min-width: 0; }
@media (min-width: 720px) {
  :root { --gutter: 32px; }
  .section { padding-block: 88px; }
  .g2 { grid-template-columns: 1fr 1fr; }
  .g3 { grid-template-columns: repeat(3, 1fr); }
  .g4 { grid-template-columns: repeat(2, 1fr); }
}
.split { display: grid; gap: 32px; }
.split > * { min-width: 0; }
@media (min-width: 1024px) {
  .g4 { grid-template-columns: repeat(4, 1fr); }
  .split { display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: start; }
  .split--rev { grid-template-columns: 6fr 5fr; }
}

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 850; font-stretch: 75%; line-height: .95; letter-spacing: -.005em; text-transform: uppercase; text-wrap: balance; margin: 0 0 .5em; }
h1 { font-size: clamp(60px, 17vw, 156px); font-weight: 900; font-stretch: 68%; line-height: .86; }
h2 { font-size: clamp(38px, 7vw, 72px); }
h3 { font-size: clamp(22px, 3vw, 28px); font-stretch: 82%; line-height: 1.05; }
h4 { font-size: 18px; font-stretch: 90%; line-height: 1.1; margin-bottom: .35em; }
.eyebrow { font: 700 12px/1.3 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--chlorine); margin-bottom: 14px; }
.lead { font-size: clamp(18px, 2.2vw, 21px); line-height: 1.5; }
.muted { color: var(--mist); }
.small { font-size: 14px; }
.num { font-family: var(--display); font-weight: 850; font-stretch: 75%; font-variant-numeric: tabular-nums; }
.stamp { font: 800 13px/1.2 var(--display); font-stretch: 125%; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 22px; border-radius: 4px; border: 2px solid transparent; background: var(--red); color: var(--white); font: 700 15px/1.1 var(--body); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color .15s ease, transform .15s ease; }
.btn:hover { background: var(--red-dark); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; border-color: rgba(243,246,249,.5); color: var(--chalk); }
.btn--ghost:hover { background: rgba(243,246,249,.08); border-color: var(--chalk); }
.light .btn--ghost { border-color: var(--night); color: var(--night); }
.light .btn--ghost:hover { background: rgba(7,26,44,.06); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font-weight: 700; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.text-link:hover { text-decoration: underline; }
.text-link svg { width: 18px; height: 18px; }

/* ---------- Icons ---------- */
.ico { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(7,26,44,.92); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--night); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--chalk); text-decoration: none; }
.brand svg { height: 40px; width: auto; }
.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.nav a { color: var(--chalk); text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 12px; border-radius: 4px; }
.nav a:hover { background: rgba(243,246,249,.07); }
.nav a[aria-current="page"] { color: var(--chlorine); }
.nav .btn { min-height: 44px; padding: 10px 16px; margin-left: 8px; color: var(--white); }
.nav .btn:hover { background: var(--red-dark); }
.menu-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; background: transparent; color: var(--chalk); border: 1px solid var(--line); border-radius: 4px; font: 700 14px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
.mobile-nav { border-top: 1px solid var(--line); padding-block: 8px 20px; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav a { display: block; padding: 14px 0; color: var(--chalk); text-decoration: none; font: 850 28px/1 var(--display); font-stretch: 75%; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.mobile-nav a[aria-current="page"] { color: var(--chlorine); }
@media (min-width: 1024px) {
  .nav { display: block; }
  .menu-btn, .mobile-nav { display: none !important; }
}

/* ---------- Lane rope (the brand line) ---------- */
.rope { height: 6px; border-radius: 3px; background: repeating-linear-gradient(90deg, var(--red) 0 14px, var(--chalk) 14px 28px, var(--blue) 28px 42px); }

/* ---------- Hero with the Waterline ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--night); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,26,44,.86) 0%, rgba(7,26,44,.55) 45%, rgba(7,26,44,.92) 100%); }
.hero__in { position: relative; display: grid; min-height: min(86vh, 760px); align-content: center; padding-block: 72px 56px; }
.hero--short .hero__in { min-height: 0; padding-block: 72px 48px; }
/* The waterline is drawn by the headline itself, so the rope always cuts
   the words exactly in half whatever the screen size. Everything below it
   (the rest of the hero) gets the underwater tint. */
.wl { position: relative; margin: 0; }
.wl::before { content: ""; position: absolute; left: -100vw; right: -100vw; top: 50%; height: 200vh; z-index: -1; background: linear-gradient(180deg, rgba(20,80,230,.38), rgba(7,26,44,.5) 40%); mix-blend-mode: multiply; pointer-events: none; }
.wl::after { content: ""; position: absolute; left: -100vw; right: -100vw; top: 50%; height: 6px; transform: translateY(-50%); background: repeating-linear-gradient(90deg, var(--red) 0 14px, var(--chalk) 14px 28px, var(--blue) 28px 42px); pointer-events: none; }
.wl__top { display: block; color: var(--chalk); clip-path: inset(0 0 50% 0); }
.wl__below { position: absolute; inset: 0; display: block; color: var(--chlorine); clip-path: inset(50% 0 0 0); transform: translateY(4px); filter: url(#ripple); }
.wl span span { display: block; }
.hero__foot { display: grid; gap: 24px; margin-top: 32px; }
.hero__foot .lead { margin: 0; max-width: 46ch; color: var(--chalk); }
.hero .eyebrow { margin-bottom: 18px; }
@media (min-width: 900px) {
  .hero__foot { grid-template-columns: 1fr auto; align-items: end; }
}
.hero--short h1 { font-size: clamp(52px, 11vw, 124px); }
.hero-caption { font-size: 13px; color: var(--mist); padding-block: 10px 0; }

/* ---------- Scoreboard strip ---------- */
.board { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.board > div { padding: 22px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.board > div:nth-child(2n) { border-right: 0; }
.board .num { display: block; font-size: clamp(36px, 7vw, 60px); line-height: 1; color: var(--chlorine); }
.board span:last-child { display: block; margin-top: 8px; font-size: 14px; color: var(--mist); line-height: 1.35; }
@media (min-width: 900px) {
  .board { grid-template-columns: repeat(4, 1fr); }
  .board > div { border-bottom: 0; }
  .board > div:nth-child(2n) { border-right: 1px solid var(--line); }
  .board > div:last-child { border-right: 0; }
}

/* ---------- Cards and features ---------- */
.card { background: var(--night-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.light .card { background: var(--white); border-color: var(--line-light); }
.card > :last-child { margin-bottom: 0; }
.feature { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: start; }
.feature .ico { grid-row: span 2; color: var(--chlorine); margin-top: 2px; }
.light .feature .ico { color: var(--blue); }
.feature h3, .feature h4 { margin: 0; }
.feature p { margin: 0; color: var(--mist); font-size: 15px; }
.light .feature p { color: var(--slate); }
.feature-list { display: grid; gap: 28px 32px; }
@media (min-width: 720px) { .feature-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .feature-list--4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Photos ---------- */
.photo { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--night-3); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption, .fig-cap { font-size: 13px; color: var(--mist); margin-top: 8px; }
.light .fig-cap { color: var(--slate); }
figure { margin: 0; }
.ratio-43 { aspect-ratio: 4 / 3; }
.ratio-32 { aspect-ratio: 3 / 2; }
.ratio-169 { aspect-ratio: 16 / 9; }
.ratio-34 { aspect-ratio: 3 / 4; }
.mosaic { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.mosaic > :first-child { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .mosaic { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
  .mosaic > :first-child { grid-column: 1; grid-row: 1 / 3; }
}

/* Waterline photo: the lower part of a photo sits "under water" */
.wl-photo { position: relative; }
.wl-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: linear-gradient(180deg, rgba(20,80,230,.42), rgba(7,26,44,.55)); mix-blend-mode: multiply; pointer-events: none; }
.wl-photo::before { content: ""; position: absolute; left: 0; right: 0; bottom: 34%; height: 4px; z-index: 1; background: repeating-linear-gradient(90deg, var(--red) 0 10px, var(--chalk) 10px 20px, var(--blue) 20px 30px); }

/* ---------- Week board ---------- */
.week-scroll { overflow-x: auto; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
.week { display: grid; grid-template-columns: repeat(7, minmax(132px, 1fr)); gap: 8px; min-width: 940px; list-style: none; margin: 0; padding: 0; }
.day { background: var(--night-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.day .num { display: block; font-size: 34px; line-height: 1; color: var(--chlorine); }
.day h3 { font-size: 17px; font-stretch: 85%; margin: 8px 0 10px; }
.day ul { list-style: none; padding: 0; margin: 0; font-size: 14px; color: var(--mist); line-height: 1.4; }
.day li + li { margin-top: 6px; }
.day--match { border-color: var(--red-hi); }
.day--match .num { color: var(--red-hi); }

/* ---------- Timeline (typical day) ---------- */
.tday { list-style: none; padding: 0; margin: 0; border-left: 4px solid; border-image: repeating-linear-gradient(180deg, var(--red) 0 12px, var(--chalk) 12px 24px, var(--blue) 24px 36px) 4; }
.tday li { position: relative; padding: 0 0 22px 22px; }
.tday li:last-child { padding-bottom: 0; }
.tday .tday-h { font-size: 18px; font-stretch: 90%; line-height: 1.1; margin-bottom: 2px; }
.tday p { margin: 0; color: var(--mist); font-size: 15px; }
.light .tday p { color: var(--slate); }

/* ---------- Price ---------- */
.price { display: grid; gap: 28px; }
.price__big { font-size: clamp(88px, 18vw, 168px); line-height: .85; color: var(--chlorine); margin: 0 0 6px; }
.price__unit { margin: 0; }
.light .price__big { color: var(--night); }
.price__big sup { font-size: .38em; vertical-align: top; position: relative; top: .25em; margin-right: .04em; }
.price__unit { font: 800 clamp(18px, 2.4vw, 22px)/1.15 var(--display); font-stretch: 100%; text-transform: uppercase; letter-spacing: .02em; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.light .table-wrap { border-color: var(--line-light); background: var(--white); }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.light th, .light td { border-bottom-color: var(--line-light); }
thead th { font: 700 12px/1.25 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--mist); }
.light thead th { color: var(--slate); }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
td.n, th.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 480px) { th, td { padding: 12px 10px; font-size: 14px; } thead th { letter-spacing: .06em; } }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--night-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.light .steps li { background: var(--white); border-color: var(--line-light); }
.steps li::before { content: "Step " counter(s); display: block; font: 700 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--chlorine); margin-bottom: 12px; }
.light .steps li::before { color: var(--blue); }
.steps p { margin: 0; color: var(--mist); }
.light .steps p { color: var(--slate); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Checklists ---------- */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; }
.checks .ico { width: 24px; height: 24px; margin-top: 1px; }
.checks--yes .ico { color: var(--chlorine); }
.light .checks--yes .ico { color: var(--blue); }
.checks--no .ico { color: var(--red-hi); }
.light .checks--no .ico { color: var(--red); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.light .faq { border-top-color: var(--line-light); }
.faq details { border-bottom: 1px solid var(--line); }
.light .faq details { border-bottom-color: var(--line-light); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font: 800 20px/1.2 var(--display); font-stretch: 90%; text-transform: uppercase; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq .faq__a { padding: 0 0 20px; max-width: 68ch; }
.faq .faq__a > :last-child { margin-bottom: 0; }

/* ---------- Callouts ---------- */
.note { border-left: 4px solid var(--chlorine); padding: 4px 0 4px 18px; }
.light .note { border-left-color: var(--blue); }
.note--red { border-left-color: var(--red-hi); }
.light .note--red { border-left-color: var(--red); }
.pill { display: inline-block; font: 700 11px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; padding: 6px 9px; border-radius: 3px; background: rgba(127,227,224,.12); color: var(--chlorine); }
.light .pill { background: rgba(20,80,230,.1); color: var(--blue); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--night-2); }
.cta-band .rope { position: absolute; left: 0; right: 0; top: 0; border-radius: 0; }
.cta-band__in { padding-block: 72px; display: grid; gap: 24px; }
.cta-band h2 { margin: 0; }
@media (min-width: 900px) { .cta-band__in { grid-template-columns: 1fr auto; align-items: end; } }

/* ---------- Contact block ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.contact-list .ico { color: var(--chlorine); }
.light .contact-list .ico { color: var(--blue); }
.contact-list b { display: block; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--mist); font-weight: 700; }
.light .contact-list b { color: var(--slate); }
.contact-list a { font-weight: 650; font-size: 18px; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; }

/* ---------- Person ---------- */
.person { display: grid; grid-template-columns: 88px 1fr; gap: 20px; align-items: center; }
.monogram { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: var(--night-3); border: 2px solid var(--chlorine); font: 900 34px/1 var(--display); font-stretch: 70%; color: var(--chlorine); }

/* ---------- Timeline (story) ---------- */
.story { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.story li { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.light .story li { border-bottom-color: var(--line-light); }
.story .num { font-size: 34px; line-height: 1; color: var(--chlorine); }
.light .story .num { color: var(--blue); }
.story h3 { font-size: 20px; margin-bottom: 4px; }
.story p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #04111E; border-top: 1px solid var(--line); padding-block: 56px 120px; font-size: 15px; }
.site-footer a { color: var(--chalk); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: 36px; }
.footer-grid h2 { font-size: 14px; font-family: var(--body); font-weight: 700; letter-spacing: .14em; color: var(--mist); margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-brand svg { height: 48px; width: auto; margin-bottom: 16px; }
.footer-legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--mist); font-size: 13px; }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; }
  .site-footer { padding-bottom: 56px; }
}

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 8px; padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); background: rgba(4,17,30,.96); border-top: 1px solid var(--line); transition: transform .25s ease; }
.sticky-cta .btn { flex: 1; min-height: 50px; }
.sticky-cta .btn--wa { flex: 0 0 auto; padding: 12px 16px; }
.sticky-cta.is-hidden { transform: translateY(110%); }
@media (min-width: 1024px) { .sticky-cta { display: none; } }

/* ---------- Scroll progress lane rope (desktop) ---------- */
.progress { display: none; }
@media (min-width: 1200px) {
  .progress { display: block; position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 30; }
  .progress ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; position: relative; }
  .progress ol::before { content: ""; position: absolute; left: 50%; top: 4px; bottom: 4px; width: 2px; margin-left: -1px; background: var(--line); }
  .progress a { position: relative; display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--night); border: 2px solid var(--mist); }
  .progress a.is-done { background: var(--chalk); border-color: var(--chalk); }
  .progress a.is-current { background: var(--red); border-color: var(--red); }
  .progress a span { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--night-2); color: var(--chalk); padding: 6px 9px; border-radius: 3px; opacity: 0; pointer-events: none; transition: opacity .15s ease; }
  .progress a:hover span, .progress a:focus-visible span { opacity: 1; }
}

/* ---------- Quote page layout: on phones the form comes right after the
   heading; on desktop the heading and contact details sit beside it. ---------- */
.quote-layout { display: grid; gap: 28px; }
.quote-layout > * { min-width: 0; }
.quote-form { order: 2; }
.quote-aside { order: 3; }
@media (min-width: 1024px) {
  .quote-layout { grid-template-columns: 5fr 6fr; grid-template-areas: "intro form" "aside form"; column-gap: 56px; align-items: start; }
  .quote-intro { grid-area: intro; }
  .quote-form { grid-area: form; }
  .quote-aside { grid-area: aside; }
}

/* ---------- Forms ---------- */
.form-card { color-scheme: light; background: var(--white); color: var(--night); border-radius: 8px; padding: 24px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
@media (min-width: 720px) { .form-card { padding: 36px; } }
.form-card a { color: var(--blue); }
.stepper { display: flex; gap: 6px; list-style: none; margin: 0 0 24px; padding: 0; }
.stepper li { flex: 1; font: 700 12px/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.stepper li::before { content: ""; display: block; height: 5px; border-radius: 3px; background: var(--line-light); margin-bottom: 8px; }
.stepper li.is-on::before { background: var(--red); }
.stepper li.is-done::before { background: var(--night); }
.stepper li.is-on { color: var(--night); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font: 850 30px/1 var(--display); font-stretch: 75%; text-transform: uppercase; padding: 0; margin-bottom: 20px; }
.fields { display: grid; gap: 18px; }
@media (min-width: 640px) { .fields--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field > label, .field .label { font-weight: 650; font-size: 15px; }
.opt { font-weight: 400; color: var(--slate); font-size: 13px; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #B9C6D3; border-radius: 4px; font: 400 17px/1.3 var(--body); color: var(--night); background: var(--white); }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(20,80,230,.35); outline-offset: 0; border-color: var(--blue); }
.field .hint { font-size: 13px; color: var(--slate); }
.form-card .err { font-size: 14px; color: var(--red-dark); font-weight: 600; margin: 4px 0 0; }
.field [aria-invalid="true"] { border-color: var(--red); }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 16px; border: 1.5px solid #B9C6D3; border-radius: 4px; font-weight: 600; cursor: pointer; background: var(--white); }
.choice input:checked + span { background: var(--night); border-color: var(--night); color: var(--white); }
.choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 15px; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--night); }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.form-nav .btn--ghost { border-color: #B9C6D3; color: var(--night); }
.estimate { margin-top: 24px; padding: 18px; border-radius: 6px; background: var(--chalk); border: 1px solid var(--line-light); }
.estimate .num { font-size: 40px; line-height: 1; display: block; margin: 4px 0; }
.estimate p { margin: 0; font-size: 14px; color: var(--slate); }
.form-error { background: #FDECEC; color: #7A1014; border-radius: 4px; padding: 12px 14px; font-weight: 600; margin-top: 16px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.js .step[hidden] { display: none !important; }
.summary-list { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 15px; margin: 0; }
.summary-list dt { color: var(--slate); }
.summary-list dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

/* ---------- Legal pages ---------- */
.legal h2 { font-size: clamp(26px, 4vw, 36px); margin-top: 1.6em; }
.legal h3 { font-size: 20px; margin-top: 1.4em; }
.legal li { margin-bottom: .4em; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .wl__below { filter: none; }
}
@media print {
  .site-header, .sticky-cta, .progress, .site-footer, .cta-band { display: none !important; }
  body { background: #fff; color: #000; }
}
