
/* Concept: a brand-led, light-only site. Royal blue wave bands carry the logo as a watermark, white cards sit on a pale blue-white page, red from the logo marks the one action that matters. Home is short: a hero plus four snapshot cards that fade through to full pages. */
:root {
  --bg: #f5f8fe;
  --surface: #ffffff;
  --sky: #e6edfc;
  --fg: #12163a;
  --muted: #4f5a7a;
  --line: #d9e1f4;
  --navy: #2e3193;
  --navy-deep: #1f2272;
  --royal: #2c4fd0;
  --red: #ed1c25;
  --red-text: #c4121a;
  --on-dark: #ffffff;
  --seg1: #2c4fd0; --seg2: #2e3193; --seg3: #8fa9ee; --seg4: #ed1c25; --seg5: #c8921c; --seg6: #6b7a99;
  --shadow: 0 1px 2px rgba(18, 22, 58, 0.05), 0 10px 30px rgba(31, 34, 114, 0.08);
  --serif: "Source Serif 4", "Georgia", "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --logo: url("logo.png");
  --logo-white: url("logo-white.png");
  color-scheme: light;
}
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: 17px; line-height: 1.6; margin: 0; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.15; margin: 0; text-wrap: balance; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--royal); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); position: relative; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: var(--on-dark); padding: 8px 14px; border-radius: 8px; z-index: 40; border: 0; font: 600 15px var(--sans); }
.skip:focus { left: 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 16px/1 var(--sans); padding: 15px 22px; border-radius: 999px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #d21018; }
.btn-royal { background: var(--royal); color: #fff; }
.btn-royal:hover { background: var(--navy); }
.btn-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn-light:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; }
.btn-ghost { background: var(--surface); color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--royal); color: var(--royal); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--sky); }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 31; background: var(--surface); }
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: var(--surface); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: flex-start; gap: 10px 14px; flex-wrap: wrap; padding-block: 10px; }
.brand { display: block; margin-right: auto; }
.logo { display: block; height: 46px; width: auto; }
.nav { display: flex; gap: 2px; flex-wrap: wrap; align-items: center; }
.nav a { color: var(--fg); text-decoration: none; font-weight: 500; font-size: 16px; padding: 9px 13px; border-radius: 999px; position: relative; }
.nav a:hover { color: var(--royal); background: var(--sky); }
.nav a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 2px; background: var(--red); border-radius: 2px; }
.top .call { background: var(--royal); color: #fff; font-weight: 600; font-size: 16px; text-decoration: none; padding: 10px 16px; border-radius: 999px; white-space: nowrap; }
.top .call:hover { background: var(--navy); }

/* Waves */
.waves { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(64px, 9vw, 130px); overflow: hidden; pointer-events: none; }
.waves svg { position: absolute; bottom: 0; left: 0; width: 200%; height: 100%; animation: drift 80s linear infinite; }
.waves svg.w2 { animation-duration: 55s; animation-direction: reverse; }
.waves svg.w3 { animation-duration: 38s; }
.waves path { fill: #fff; }
.waves .w1 path { fill-opacity: 0.1; }
.waves .w2 path { fill-opacity: 0.2; }
.waves .w3 path { fill: var(--bg); fill-opacity: 1; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.wm { position: absolute; background: var(--logo-white) center / contain no-repeat; aspect-ratio: 3.4525; opacity: 0.08; pointer-events: none; right: max(16px, calc((100% - 1160px) / 2 + 16px)); bottom: 120px; width: min(520px, 62vw); }
.wm.sm { width: min(440px, 40vw); top: 50%; bottom: auto; transform: translateY(-50%); right: max(16px, calc((100% - 1160px) / 2 + 16px)); }
.rings { position: absolute; left: -6%; bottom: -6%; width: min(760px, 90vw); opacity: 0.16; pointer-events: none; }
.rings ellipse { fill: none; stroke: #fff; stroke-width: 2; }

/* Hero and page bands */
.hero, .band { position: relative; overflow: hidden; color: var(--on-dark); background: linear-gradient(118deg, var(--navy-deep) 0%, var(--navy) 38%, var(--royal) 100%); }
.hero .wrap.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-block: 64px 130px; }
.eyebrow { font: 600 13px/1 var(--sans); text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 16px; color: rgba(255, 255, 255, 0.8); }
.hero h1 { font-size: clamp(2.1rem, 4.8vw, 3.5rem); font-weight: 700; }
.hero h1 em { font-style: italic; font-weight: 600; color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 4px; text-underline-offset: 6px; }
.hero p.lead { font-size: 19px; color: rgba(255, 255, 255, 0.88); margin-top: 20px; max-width: 54ch; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.who { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip { font-size: 14px; font-weight: 500; padding: 6px 13px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.35); color: rgba(255, 255, 255, 0.92); }

.deadline { background: var(--surface); color: var(--fg); border-radius: 24px; box-shadow: 0 20px 50px rgba(10, 12, 60, 0.35); padding: 28px; display: grid; gap: 16px; position: relative; }
.deadline .label { font: 600 13px/1 var(--sans); text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }
.count { display: flex; align-items: baseline; gap: 12px; }
.count b { font: 700 clamp(3.2rem, 7vw, 4.6rem)/1 var(--serif); color: var(--red-text); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.count span { font-size: 19px; color: var(--muted); }
.deadline p.what { color: var(--muted); font-size: 16px; }
.facts { list-style: none; padding: 16px 0 0; margin: 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.facts li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.facts svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--royal); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.band .wrap { padding-block: 52px 120px; max-width: 1160px; }
.band h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 700; }
.band p.sub { margin-top: 14px; font-size: 19px; color: rgba(255, 255, 255, 0.88); max-width: 56ch; }

/* Sections */
.section { padding-block: 8px 72px; }
.head { display: grid; gap: 10px; margin-bottom: 28px; max-width: 62ch; }
.head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; color: var(--navy); }
.head p { color: var(--muted); font-size: 18px; }
.kicker { font: 600 13px/1 var(--sans); text-transform: uppercase; letter-spacing: 0.14em; color: var(--red-text); }

/* Home snapshots */
.snaps { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; margin-top: -8px; }
.snap { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--fg); background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 30px; box-shadow: var(--shadow); transition: transform .2s, border-color .2s, box-shadow .2s; min-width: 0; }
.snap:hover { transform: translateY(-3px); border-color: var(--royal); }
.snap h3 { font-size: 26px; font-weight: 700; color: var(--navy); max-width: 22ch; }
.snap p { color: var(--muted); font-size: 17px; max-width: 46ch; }
.snap .go { margin-top: auto; padding-top: 6px; font-weight: 600; color: var(--royal); display: inline-flex; gap: 8px; align-items: center; }
.snap .go i { font-style: normal; transition: transform .2s; }
.snap:hover .go i { transform: translateX(5px); }
.snap.s-a { grid-column: span 7; }
.snap.s-b { grid-column: span 5; background: linear-gradient(150deg, var(--navy-deep), var(--navy) 55%, var(--royal)); color: #fff; border-color: transparent; }
.snap.s-b h3, .snap.s-b .go { color: #fff; }
.snap.s-b p { color: rgba(255, 255, 255, 0.85); }
.snap.s-c { grid-column: span 5; }
.snap.s-d { grid-column: span 7; }
.snap.s-c::after { content: ""; position: absolute; right: -40px; bottom: 10px; width: 300px; aspect-ratio: 3.4525; background: var(--logo) center / contain no-repeat; opacity: 0.07; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { font-size: 15px; font-weight: 500; padding: 6px 13px; border-radius: 999px; background: var(--sky); color: var(--navy); }
.mini { background: rgba(255, 255, 255, 0.12); border-radius: 16px; padding: 16px 18px; display: grid; gap: 10px; }
.mini small { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; }
.mini .row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.mini b { font: 700 32px/1 var(--serif); font-variant-numeric: tabular-nums; }
.mini .row span { font-size: 15px; opacity: 0.85; }
.mini .mbar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; gap: 2px; }
.mini .mbar i { display: block; height: 100%; }
.mini .mbar i:first-child { background: #fff; }
.mini .mbar i:last-child { background: var(--red); }
.phone-big { font: 700 clamp(1.7rem, 3.4vw, 2.3rem)/1.1 var(--serif); color: var(--navy); letter-spacing: -0.01em; }
.stats4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.stat b { display: block; font: 700 30px/1.1 var(--serif); color: var(--navy); }
.stat span { font-size: 15px; color: var(--muted); }

/* Services page */
.svc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.svc { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; padding-block: 26px; border-top: 1px solid var(--line); align-items: start; }
.ico { width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; }
.ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 { font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.svc p { color: var(--muted); font-size: 17px; }
.cta-band { margin-top: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; box-shadow: var(--shadow); }
.cta-band h3 { font-size: 24px; color: var(--navy); }
.cta-band p { color: var(--muted); margin-top: 4px; }

/* Calculators */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tab { font: 600 16px/1 var(--sans); padding: 13px 19px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; }
.tab:hover { border-color: var(--royal); color: var(--royal); }
.tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.calc { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 20px; align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px; box-shadow: var(--shadow); min-width: 0; }
.panel h3 { font-size: 22px; margin-bottom: 4px; color: var(--navy); }
.panel .intro { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label, .field .lbl { font-weight: 600; font-size: 15px; }
.field .hint { font-size: 14px; color: var(--muted); }
.money { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); padding-left: 14px; }
.money:focus-within { border-color: var(--royal); }
.money span { color: var(--muted); font-weight: 600; }
.money input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--fg); font: 600 19px/1 var(--sans); padding: 13px 14px 13px 6px; font-variant-numeric: tabular-nums; }
.money input:focus { outline: none; }
.range { width: 100%; accent-color: var(--royal); }
select { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--fg); font: 500 16px/1.2 var(--sans); padding: 13px 12px; }
.check { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.check input { width: 18px; height: 18px; accent-color: var(--royal); }
.quick { display: flex; flex-wrap: wrap; gap: 8px; }
.quick button, .seg-btn { font: 600 14px/1 var(--sans); padding: 10px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); color: var(--fg); cursor: pointer; }
.quick button:hover, .seg-btn:hover { border-color: var(--royal); color: var(--royal); }
.seg-btn[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.toggle { display: flex; gap: 8px; }
.big { font: 700 clamp(2.3rem, 5vw, 3.2rem)/1.05 var(--serif); letter-spacing: -0.02em; color: var(--navy); font-variant-numeric: tabular-nums; }
.sub { color: var(--muted); font-size: 16px; margin-top: 6px; }
.rlabel { font: 600 13px/1 var(--sans); text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 10px; }
.bar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; background: var(--sky); margin: 22px 0 14px; gap: 2px; }
.seg { display: block; height: 100%; min-width: 3px; }
.s1 { background: var(--seg1); } .s2 { background: var(--seg2); } .s3 { background: var(--seg3); }
.s4 { background: var(--seg4); } .s5 { background: var(--seg5); } .s6 { background: var(--seg6); }
.legend { list-style: none; margin: 0 0 4px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; }
.legend li { display: flex; align-items: center; gap: 8px; font-size: 15px; min-width: 0; }
.legend li span { flex: 1; min-width: 0; color: var(--muted); }
.legend b { font-variant-numeric: tabular-nums; }
.dot { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.rows { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15px; }
.rows th, .rows td { text-align: left; padding: 9px 0; border-top: 1px solid var(--line); font-weight: 400; }
.rows td { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.rows th { color: var(--muted); }
.rows tr.total th, .rows tr.total td { font-weight: 700; color: var(--fg); }
.guide { margin-top: 22px; background: var(--sky); border-radius: 16px; padding: 18px 20px; }
.guide h4 { font: 600 13px/1 var(--sans); text-transform: uppercase; letter-spacing: 0.14em; color: var(--navy); margin: 0 0 12px; }
.guide ul { margin: 0; padding-left: 18px; display: grid; gap: 10px; font-size: 15.5px; }
.guide li::marker { color: var(--red); }
.guide .warn { color: var(--red-text); }
.cmp { margin-top: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cmp div { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.cmp small { display: block; font-size: 13px; color: var(--muted); }
.cmp b { font: 700 22px/1.3 var(--serif); font-variant-numeric: tabular-nums; }
.meter { position: relative; height: 16px; border-radius: 999px; background: var(--sky); overflow: hidden; margin: 14px 0 6px; }
.meter i { position: absolute; inset: 0 auto 0 0; background: var(--royal); border-radius: 999px; }
.meter i.over { background: var(--red); }
.meter-scale { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.vat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.vat-grid div { background: var(--sky); border-radius: 12px; padding: 12px 14px; }
.vat-grid small { display: block; font-size: 13px; color: var(--muted); }
.vat-grid b { font: 700 21px/1.3 var(--serif); font-variant-numeric: tabular-nums; }
.disclaimer { margin-top: 20px; font-size: 14px; color: var(--muted); max-width: 90ch; }
.dates-head { margin-top: 64px; }
.dates { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.dates li { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: grid; gap: 6px; align-content: start; }
.dates time { font: 700 24px/1.1 var(--serif); color: var(--red-text); }
.dates b { font-size: 16px; color: var(--navy); }
.dates span { font-size: 15px; color: var(--muted); }

/* About and contact */
.two { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.prose p { color: var(--muted); max-width: 62ch; font-size: 18px; }
.prose p + p { margin-top: 16px; }
.prose strong { color: var(--fg); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 30px; box-shadow: var(--shadow); }
.card h3 { font-size: 24px; color: var(--navy); margin-bottom: 16px; }
.dl { margin: 0; display: grid; gap: 18px; }
.dl dt { font: 600 13px/1 var(--sans); text-transform: uppercase; letter-spacing: 0.14em; color: var(--red-text); }
.dl dd { margin: 6px 0 0; font: 600 21px/1.3 var(--serif); color: var(--navy); overflow-wrap: anywhere; }
.dl dd a { color: inherit; text-decoration: none; border-bottom: 2px solid var(--line); }
.dl dd small { display: block; font: 400 16px/1.5 var(--sans); color: var(--muted); margin-top: 2px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }

/* Home contact strip */
.strip { position: relative; overflow: hidden; background: linear-gradient(118deg, var(--navy-deep), var(--navy) 50%, var(--royal)); color: #fff; border-radius: 28px; padding: clamp(26px, 5vw, 48px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: 18px; }
.strip h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; position: relative; }
.strip p { opacity: 0.9; margin-top: 8px; position: relative; max-width: 46ch; }
.strip .row { margin-top: 0; position: relative; }

/* Footer */
footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.82); padding-block: 48px 56px; font-size: 15.5px; position: relative; overflow: hidden; }
footer .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 28px 40px; }
footer .flogo { display: block; width: 230px; max-width: 100%; height: auto; opacity: 0.95; }
footer h4 { font: 600 13px/1 var(--sans); text-transform: uppercase; letter-spacing: 0.14em; color: #fff; margin-bottom: 12px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer a { color: rgba(255, 255, 255, 0.82); text-decoration: none; display: inline-block; padding: 5px 0; }
footer .legalline a { padding: 8px 4px; }
footer a:hover { color: #fff; text-decoration: underline; }
footer .legalline { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, 0.18); padding-top: 18px; font-size: 14px; color: rgba(255, 255, 255, 0.7); }

/* Legal documents */
.doc { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 4vw, 44px); max-width: 840px; }
.doc .updated { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.doc h2 { font-size: 21px; margin: 28px 0 10px; color: var(--navy); }
.doc p, .doc li { font-size: 16.5px; max-width: 68ch; }
.doc p + p { margin-top: 10px; }
.doc ul { padding-left: 20px; display: grid; gap: 8px; margin: 10px 0 0; }
.legal-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }

/* Page transitions */
.page { outline: none; }
.page.out { opacity: 0; transition: opacity 0.2s ease; }
.page.in { animation: pageIn 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 960px) {
  .hero .wrap.hero-grid, .two, .calc { grid-template-columns: minmax(0, 1fr); }
  .hero .wrap.hero-grid { padding-block: 40px 100px; gap: 28px; }
  .wm, .wm.sm { left: 50%; right: auto; transform: translateX(-50%); }
  .wm { bottom: 80px; width: min(520px, 82vw); }
  .wm.sm { top: auto; bottom: 74px; left: 50%; right: auto; width: min(440px, 70vw); transform: translateX(-50%); }
  .snap.s-a, .snap.s-b, .snap.s-c, .snap.s-d { grid-column: 1 / -1; }
  .svc-list { grid-template-columns: minmax(0, 1fr); }
  footer .wrap { grid-template-columns: minmax(0, 1fr); }
  .band .wrap { padding-block: 40px 190px; }
}
@media (max-width: 600px) {
  .logo { height: 40px; }
  .top { position: static; }
  .top .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; padding-block: 8px; }
  .top .call { grid-column: 2; grid-row: 1; padding: 9px 14px; font-size: 15px; }
  .nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; }
  .nav a { padding: 9px 6px; font-size: 15px; }
  .nav a[aria-current="page"]::after { left: 6px; right: 6px; }
  .band .wrap { padding-block: 36px 175px; }
  .wm, .wm.sm { left: 50%; right: auto; top: auto; bottom: 74px; width: 82vw; transform: translateX(-50%); }
  .legend, .cmp, .vat-grid, .stats4 { grid-template-columns: minmax(0, 1fr); }
  .tab { padding: 11px 14px; font-size: 15px; }
  .snap { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .waves svg { animation: none; }
  .page.in { animation: none; }
  .page.out { transition: none; }
  * { transition: none !important; }
}

/* Floating message bubble and enquiry form */
.msg-fab { position: fixed; z-index: 40; right: max(18px, env(safe-area-inset-right, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 10px; padding: 15px 22px 15px 18px; border: 0; border-radius: 999px; background: var(--red); color: #fff; font: 600 16px/1 var(--sans); cursor: pointer; box-shadow: 0 12px 30px rgba(31, 34, 114, 0.38); transition: background .15s, transform .15s; }
.msg-fab:hover { background: #d21018; transform: translateY(-2px); }
.msg-fab svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.msg-panel { position: fixed; z-index: 41; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(max(18px, env(safe-area-inset-bottom, 0px)) + 66px); width: min(400px, calc(100vw - 32px)); max-height: calc(100vh - 160px); max-height: calc(100dvh - 160px); overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 24px 60px rgba(18, 22, 58, 0.32); animation: msgIn .22s ease both; color: var(--fg); }
@keyframes msgIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.msg-head { display: flex; gap: 12px; justify-content: space-between; align-items: flex-start; padding: 16px 18px 16px 20px; background: linear-gradient(118deg, var(--navy-deep), var(--navy) 55%, var(--royal)); color: #fff; border-radius: 23px 23px 0 0; }
.msg-head h2 { font-size: 22px; font-weight: 700; }
.msg-head p { font-size: 14.5px; opacity: .9; margin-top: 4px; }
.msg-x { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.msg-x:hover { background: rgba(255, 255, 255, .3); }
.msg-form { padding: 16px 20px 20px; display: grid; gap: 12px; }
.mf { display: grid; gap: 6px; }
.mf label { font-weight: 600; font-size: 14.5px; }
.mf .opt { font-weight: 400; color: var(--muted); }
.mf .hint { font-size: 13px; color: var(--muted); }
.msg-in { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--fg); font: 500 16px/1.3 var(--sans); padding: 10px 12px; }
textarea.msg-in { resize: vertical; min-height: 80px; }
.msg-in:focus { outline: none; border-color: var(--royal); }
.msg-in[aria-invalid="true"] { border-color: var(--red); }
.mf-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.mf-check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--royal); }
.mf-check input[aria-invalid="true"] { outline: 2px solid var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg-status { font-size: 14.5px; color: var(--red-text); min-height: 0; }
.msg-status:empty { display: none; }
.msg-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.msg-actions:empty { display: none; }
.msg-actions .btn { padding: 12px 16px; font-size: 15px; }
.msg-addr { width: 100%; font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.msg-send { width: 100%; }
.msg-send:disabled { opacity: .7; cursor: wait; }
.msg-done { padding: 26px 20px 24px; display: grid; gap: 12px; }
.msg-done h3 { font-size: 24px; color: var(--navy); }
.msg-done p { color: var(--muted); }
footer { padding-bottom: 100px; }
@media (max-width: 600px) { .msg-fab span { display: none; } .msg-fab { padding: 16px; } .msg-panel { bottom: calc(max(18px, env(safe-area-inset-bottom, 0px)) + 68px); } }
@media (prefers-reduced-motion: reduce) { .msg-panel { animation: none; } .msg-fab { transition: none; } }
.msg-req { font-size: 13px; color: var(--muted); }
.mf label span[aria-hidden] { color: var(--red-text); }

/* Smooth fade between real pages (cross-document view transitions; older browsers simply load the next page) */
@view-transition { navigation: auto; }
.top { view-transition-name: site-header; }
::view-transition-old(root) { animation: vt-out 0.18s ease both; }
::view-transition-new(root) { animation: vt-in 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }
@supports not (view-transition-name: none) { main#main { animation: pageIn 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both; } }
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } main#main { animation: none !important; } }
.calcdesc b { font-family: var(--serif); font-size: 18px; }
