/* Mixoriaa design system
   Direction: deep navy ground, amber action colour, bold geometric sans.
   Layout: wide left-aligned sections, diagonal amber chevron from the logo as the one recurring shape. */

:root {
  --navy-950: #07123A;
  --navy-900: #0A1A4A;
  --navy-700: #0F2C78;
  --navy-600: #1B3F9A;
  --line-dark: #2A4A9C;
  --amber: #F9B01B;
  --amber-hi: #FFC23D;
  --amber-deep: #E39A00;
  --ink: #0A1A4A;
  --muted: #4B587E;
  --soft: #EEF2FA;
  --tile: #E3EAF8;
  --line: #C9D3EA;
  --on-dark: #DCE5F7;
  --wa: #14803F;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --maxw: 1200px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; box-shadow: 0 0 0 6px rgba(7, 18, 58, .55); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--navy-900); padding: 10px 16px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .25s; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .wrap { padding-inline: 32px; } }
.wrap--narrow { max-width: 860px; }

h1 { font-size: clamp(2.35rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
.lede { color: var(--muted); font-size: 1.1875rem; max-width: 60ch; }
.on-dark .lede, .lede--dark { color: var(--on-dark); }

/* ---------- sections ---------- */
.band { padding-block: clamp(56px, 8vw, 104px); }
.band--soft { background: var(--soft); }
.band--navy { background: var(--navy-900); color: #fff; }
.band--tight { padding-block: clamp(32px, 4vw, 48px); }
.sec-head { display: grid; gap: 14px; max-width: 64ch; margin-bottom: clamp(28px, 4vw, 44px); }
.sec-head--row { max-width: none; grid-template-columns: 1fr auto; align-items: end; }
@media (max-width: 700px) { .sec-head--row { grid-template-columns: 1fr; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 6px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: .9375rem; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s;
  will-change: transform;
}
.btn--amber { background: var(--amber); color: var(--navy-900); }
.btn--amber:hover { background: var(--amber-hi); box-shadow: 0 10px 24px rgba(249, 176, 27, .35); }
.btn--outline { border-color: var(--amber); color: var(--amber); background: transparent; }
.btn--outline:hover { background: var(--amber); color: var(--navy-900); }
.btn--navy { background: var(--navy-900); color: #fff; }
.btn--navy:hover { background: var(--navy-700); }
.btn--ghost-dark { border-color: var(--navy-900); color: var(--navy-900); background: transparent; }
.btn--ghost-dark:hover { background: var(--navy-900); color: #fff; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #0F6B34; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.textlink { color: var(--navy-700); font-weight: 700; text-decoration-color: var(--amber); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.textlink:hover { text-decoration-color: var(--navy-700); }
.on-dark .textlink, .band--navy .textlink { color: var(--amber); }

/* ---------- top bar and header ---------- */
.topbar { background: var(--navy-950); color: #fff; font-size: .875rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px; padding-block: 8px; }
.topbar a { text-decoration: none; }
.topbar__phone { background: var(--amber); color: var(--navy-900); padding: 4px 14px; border-radius: 6px; font-weight: 700; }
.topbar__r { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
@media (max-width: 640px) { .topbar__l { display: none; } .topbar .wrap { justify-content: center; } }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy-900); color: #fff; transition: box-shadow .3s; }
.site-header.is-stuck { box-shadow: 0 8px 28px rgba(7, 18, 58, .4); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.6rem; letter-spacing: -0.02em; }
.logo svg { width: 36px; height: 36px; }
.logo__img { width: 44px; height: 44px; border-radius: 50%; flex: none; display: block; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { list-style: none; display: flex; gap: 4px; align-items: center; }
.nav a, .nav button.nav__link { color: inherit; text-decoration: none; font: inherit; font-weight: 600; font-size: .9688rem; padding: 10px 14px; border-radius: 6px; background: none; border: 0; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.nav a:hover, .nav button.nav__link:hover, .nav .has-menu:focus-within > .nav__link { background: rgba(255, 255, 255, .1); }
.nav a[aria-current="page"], .nav .nav__link[aria-current="true"] { box-shadow: inset 0 -3px 0 var(--amber); border-radius: 6px 6px 0 0; }
.has-menu { position: relative; }
.menu { position: absolute; top: calc(100% + 6px); left: -12px; min-width: 260px; background: #fff; color: var(--ink); border-radius: 12px; padding: 10px; box-shadow: 0 24px 60px rgba(7, 18, 58, .35); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; display: grid; gap: 2px; }
.menu--wide { min-width: 540px; grid-template-columns: 1fr 1fr; }
.has-menu:hover > .menu, .has-menu:focus-within > .menu { opacity: 1; visibility: visible; transform: none; }
.menu a { color: var(--ink); padding: 10px 14px; border-radius: 8px; font-weight: 600; display: block; }
.menu a:hover { background: var(--soft); }
.menu a small { display: block; font-weight: 500; color: var(--muted); font-size: .8125rem; }
.header-cta { display: flex; gap: 10px; align-items: center; }
.header-cta .btn { min-height: 44px; padding: 0 18px; font-size: .875rem; }
.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 8px; border: 1px solid var(--line-dark); background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 22px; height: 2px; background: currentColor; position: relative; transition: transform .3s var(--ease), background-color .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1040px) {
  .header-cta .btn--outline { display: none; }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--navy-900); border-top: 1px solid var(--line-dark); max-height: 0; overflow: hidden; visibility: hidden; transition: max-height .4s var(--ease), visibility .4s; flex-direction: column; align-items: stretch; padding-inline: 20px; }
  .nav-open .nav { max-height: 85vh; overflow-y: auto; visibility: visible; padding-block: 12px 24px; }
  .nav > ul { flex-direction: column; align-items: stretch; }
  .nav a, .nav button.nav__link { padding: 14px 8px; font-size: 1.0625rem; justify-content: space-between; }
  .menu, .menu--wide { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; color: #fff; padding: 0 0 8px 12px; min-width: 0; grid-template-columns: 1fr; display: none; }
  .has-menu.is-open > .menu { display: grid; }
  .menu a { color: var(--on-dark); padding: 10px 8px; }
  .menu a:hover { background: rgba(255, 255, 255, .08); }
  .menu a small { display: none; }
  .nav-cta-m { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
}
@media (min-width: 961px) { .nav-cta-m, .sub-toggle { display: none; } }
@media (max-width: 960px) {
  .has-menu { display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .has-menu > .menu { grid-column: 1 / -1; }
  .sub-toggle { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; background: none; border: 0; color: #fff; cursor: pointer; }
  .sub-toggle::before { content: ""; width: 10px; height: 10px; border-right: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .3s var(--ease); }
  .has-menu.is-open .sub-toggle::before { transform: translateY(3px) rotate(225deg); }
}

/* ---------- image slots ---------- */
.media { position: relative; aspect-ratio: var(--ar, 3 / 2); background: var(--tile); overflow: hidden; max-width: 100%; }
.media::before {
  content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 14px;
  color: #3A4A78; font-size: .8125rem; font-weight: 600;
  background-image: repeating-linear-gradient(135deg, rgba(15, 44, 120, .07) 0 14px, transparent 14px 28px);
}
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }

/* ---------- hero (home) ---------- */
.hero { position: relative; background: var(--navy-950); color: #fff; overflow: clip; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; background: repeating-linear-gradient(135deg, #12337F 0 28px, #0F2C78 28px 56px); }
.hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: drift 26s ease-out both; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 18, 58, .95) 0%, rgba(7, 18, 58, .78) 52%, rgba(7, 18, 58, .42) 100%); }
.hero__chev { position: absolute; z-index: 0; right: -6%; top: 50%; width: min(46vw, 560px); aspect-ratio: 1; transform: translateY(-50%); background: var(--amber); opacity: .92; clip-path: polygon(0 0, 55% 0, 100% 50%, 55% 100%, 0 100%, 38% 50%); animation: chev 1.1s var(--ease) .15s both; }
.hero .wrap { position: relative; z-index: 1; padding-block: clamp(56px, 9vw, 112px) clamp(36px, 5vw, 56px); display: grid; gap: clamp(36px, 6vw, 64px); }
.hero h1 { max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--amber); }
.line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.line > span { display: block; transform: translateY(112%); animation: rise .95s var(--ease) forwards; animation-delay: calc(var(--i, 0) * .12s + .1s); }
.hero__sub { max-width: 52ch; font-size: 1.1875rem; color: var(--on-dark); animation: fade .8s ease .55s both; }
.hero__actions { animation: fade .8s ease .7s both; }
.hero__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; max-width: 880px; animation: fade .9s ease .85s both; }
.acard { background: rgba(10, 26, 74, .94); border: 1px solid var(--line-dark); border-radius: 12px; padding: 24px; display: grid; gap: 10px; justify-items: start; align-content: start; }
.acard p { color: var(--on-dark); font-size: .9688rem; }
@keyframes rise { to { transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes chev { from { transform: translate(18%, -50%) scale(.92); opacity: 0; } to { transform: translateY(-50%); opacity: .92; } }
@keyframes drift { from { transform: scale(1.12); } to { transform: scale(1); } }
@media (max-width: 760px) { .hero__chev { opacity: .22; width: 80vw; right: -30%; } }

/* ---------- marquee ---------- */
.marquee { background: var(--amber); color: var(--navy-900); overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; animation: marq 46s linear infinite; padding-block: 14px; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee a { text-decoration: none; font-weight: 800; font-size: 1.0625rem; padding-inline: 28px; display: inline-flex; align-items: center; gap: 56px; }
.marquee a::after { content: ""; width: 12px; height: 12px; background: var(--navy-900); clip-path: polygon(0 0, 55% 0, 100% 50%, 55% 100%, 0 100%, 38% 50%); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- inner page hero ---------- */
.phero { background: var(--navy-900); color: #fff; position: relative; overflow: clip; isolation: isolate; }
.phero::before { content: ""; position: absolute; z-index: -1; right: -90px; bottom: -120px; width: 380px; aspect-ratio: 1; background: var(--amber); opacity: .14; clip-path: polygon(0 0, 55% 0, 100% 50%, 55% 100%, 0 100%, 38% 50%); }
.phero .wrap { padding-block: clamp(44px, 7vw, 84px); display: grid; gap: 36px; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; }
.phero--solo .wrap { grid-template-columns: minmax(0, 1fr); }
.phero p.lede { color: var(--on-dark); margin-top: 18px; }
.phero .btn-row { margin-top: 26px; }
.phero .media { border-radius: 12px; border: 1px solid var(--line-dark); background: var(--navy-700); }
.phero .media::before { color: var(--on-dark); background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .06) 0 14px, transparent 14px 28px); }
@media (max-width: 860px) { .phero .wrap { grid-template-columns: minmax(0, 1fr); } }
.crumbs { font-size: .875rem; color: var(--on-dark); margin-bottom: 20px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { color: inherit; }
.crumbs [aria-current] { color: #fff; font-weight: 700; }

/* ---------- grids and tiles ---------- */
.grid { display: grid; gap: 20px; }
.grid--tiles { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.tile { background: #fff; border: 1px solid var(--line); border-bottom: 5px solid var(--amber); border-radius: 10px; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease); will-change: transform; }
.tile:hover, .tile:focus-visible { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(10, 26, 74, .16); }
.tile:hover .media img { transform: scale(1.07); }
.tile__body { padding: 16px 18px 20px; display: grid; gap: 4px; }
.tile__name { font-weight: 800; font-size: 1.125rem; line-height: 1.25; }
.tile__meta { color: var(--muted); font-size: .875rem; }

.svc { background: #fff; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); transform-style: preserve-3d; transition: box-shadow .3s; }
.svc:hover { box-shadow: 0 24px 50px rgba(10, 26, 74, .16); }
.svc__body { padding: 22px; display: grid; gap: 10px; justify-items: start; flex: 1; align-content: start; }
.svc__body p { color: var(--muted); font-size: .9688rem; }
.svc__body .btn { margin-top: 6px; }

.sub { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden; transition: transform .3s var(--ease), border-color .2s, box-shadow .3s; }
.sub:hover { transform: translateY(-4px); border-color: var(--navy-600); box-shadow: 0 16px 34px rgba(10, 26, 74, .12); }
.sub:hover .media img { transform: scale(1.05); }
.sub .media { border-radius: 0; }
.sub__body { display: grid; gap: 6px; padding: 18px 20px 20px; align-content: start; flex: 1; }
.sub svg { width: 34px; height: 34px; stroke: var(--navy-700); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sub h3 { font-size: 1.125rem; }
.sub p { color: var(--muted); font-size: .9375rem; }

.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.band--soft .card { border-color: #D5DDF0; }
.card h3 { font-size: 1.125rem; }
.card p { color: var(--muted); font-size: .9688rem; }
.pt { display: flex; gap: 14px; align-items: flex-start; }
.pt__mark { flex: none; width: 36px; height: 36px; background: var(--navy-900); clip-path: polygon(0 0, 55% 0, 100% 50%, 55% 100%, 0 100%, 38% 50%); }
.pt h3 { margin-bottom: 4px; }
.pt p { color: var(--muted); font-size: .9688rem; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .875rem; font-weight: 600; text-decoration: none; background: #fff; color: var(--ink); transition: background-color .2s, border-color .2s; }
.chip:hover { background: var(--amber); border-color: var(--amber); }
.chips--dark .chip { background: transparent; color: var(--on-dark); border-color: var(--line-dark); }
.chips--dark .chip:hover { color: var(--navy-900); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; counter-reset: s; position: relative; }
.step { position: relative; padding-top: 58px; display: grid; gap: 8px; align-content: start; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--navy-900); color: #fff; display: grid; place-items: center; font-weight: 800; z-index: 1; }
.band--navy .step::before { background: var(--amber); color: var(--navy-900); }
.step p { color: var(--muted); font-size: .9688rem; }
.band--navy .step p { color: var(--on-dark); }
@media (min-width: 900px) {
  .steps::before, .steps::after { content: ""; position: absolute; top: 20px; left: 21px; height: 2px; }
  .steps::before { right: 21px; background: var(--line); }
  .band--navy .steps::before { background: var(--line-dark); }
  .steps::after { width: 0; background: var(--amber); transition: width 1.4s var(--ease) .2s; }
  .steps.in-view::after { width: calc(100% - 42px); }
}

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 44px 20px 0; font-weight: 700; font-size: 1.0625rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 3px solid var(--navy-700); border-bottom: 3px solid var(--navy-700); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq .ans { padding: 0 44px 22px 0; color: var(--muted); max-width: 70ch; }
.band--navy .faq, .band--navy .faq details { border-color: var(--line-dark); }
.band--navy .faq .ans { color: var(--on-dark); }

/* ---------- tables, calculator, chart ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: #fff; max-width: 100%; }
table { border-collapse: collapse; width: 100%; min-width: 720px; font-variant-numeric: tabular-nums; font-size: .9688rem; }
th { background: var(--navy-900); color: #fff; text-align: left; padding: 13px 16px; font-weight: 700; font-size: .875rem; white-space: nowrap; transition: background-color .3s, color .3s; }
td { padding: 12px 16px; border-top: 1px solid var(--line); transition: background-color .3s; }
th.is-active { background: var(--amber); color: var(--navy-900); }
td.is-active { background: #FFF2CF; font-weight: 700; }
td:first-child { font-weight: 600; }
.table-note { color: var(--muted); font-size: .875rem; margin-top: 12px; }
.table-wrap--small table { min-width: 0; }

.calc { background: var(--navy-700); border: 1px solid var(--line-dark); border-radius: 14px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 24px; color: #fff; }
.calc__row { display: grid; gap: 10px; }
.calc__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.calc label, .calc .lbl { font-weight: 700; font-size: .9375rem; }
.calc input[type="number"], .calc select { background: var(--navy-900); color: #fff; border: 1px solid var(--line-dark); border-radius: 8px; padding: 10px 12px; font: inherit; font-weight: 700; min-height: 46px; width: 130px; font-variant-numeric: tabular-nums; }
.calc select { width: 100%; }
.calc input[type="range"] { width: 100%; accent-color: var(--amber); height: 32px; cursor: pointer; }
.calc__opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.opt { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--line-dark); border-radius: 8px; cursor: pointer; background: var(--navy-900); font-weight: 600; font-size: .9375rem; }
.opt input { width: 20px; height: 20px; accent-color: var(--amber); }
.opt--fixed { opacity: .85; cursor: default; }
.calc__out { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.stat { background: var(--navy-900); border-radius: 10px; padding: 14px 16px; display: grid; gap: 2px; }
.stat span { font-size: .8125rem; color: var(--on-dark); }
.stat b { font-size: 1.75rem; font-weight: 800; color: var(--amber); font-variant-numeric: tabular-nums; line-height: 1.2; }
.stat--big { background: var(--amber); }
.stat--big span { color: var(--navy-900); }
.stat--big b { color: var(--navy-900); }
.calc__note { font-size: .8125rem; color: var(--on-dark); }

.bars { display: flex; align-items: flex-end; gap: 12px; height: 240px; border-bottom: 2px solid var(--navy-900); padding-top: 12px; }
.sr { position: absolute; left: -9999px; }
.bar { --h: calc(var(--p, 1) * 180px); flex: 1 1 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; min-width: 0; }
.bar b { font-size: .9375rem; font-variant-numeric: tabular-nums; }
.bar i { display: block; width: 100%; height: 0; background: var(--navy-600); border-radius: 6px 6px 0 0; transition: height 1s var(--ease), background-color .3s; }
.bars.in-view .bar i { height: var(--h); }
.bar.is-active i { background: var(--amber); }
.bar-labels { display: flex; gap: 12px; margin-top: 8px; }
.bar-labels span { flex: 1 1 0; text-align: center; font-size: .8125rem; color: var(--muted); min-width: 0; }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; }
.form-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .9063rem; }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: #fff; border: 1px solid #8F9DC4; border-radius: 8px; padding: 13px 14px; min-height: 50px; width: 100%; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--amber); outline-offset: 1px; box-shadow: none; border-color: var(--navy-700); }
.form-note { font-size: .8125rem; color: var(--muted); }
.band--navy .form-note { color: var(--on-dark); }
.form-msg { background: #FFF2CF; color: var(--navy-900); padding: 12px 14px; border-radius: 8px; font-weight: 600; font-size: .9375rem; }
.cta-grid { display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 860px) { .cta-grid { grid-template-columns: minmax(0, 1fr); } }
.info-list { display: grid; gap: 18px; }
.info-list dt { font-size: .8125rem; font-weight: 700; color: var(--muted); }
.info-list dd { margin: 2px 0 0; font-size: 1.0625rem; }
.map-card { min-height: 240px; border-radius: 12px; border: 1px solid var(--line); background: var(--tile) repeating-linear-gradient(45deg, rgba(15, 44, 120, .06) 0 16px, transparent 16px 32px); display: grid; place-content: center; text-align: center; gap: 12px; padding: 24px; }

/* ---------- misc ---------- */
.todo { background: #FFF2CF; border-bottom: 2px dotted var(--amber-deep); padding: 0 4px; border-radius: 3px; color: var(--navy-900); font-weight: 600; }
.on-dark .todo, .band--navy .todo, .phero .todo, .hero .todo { background: rgba(249, 176, 27, .2); color: #FFE3A0; }
.prose { max-width: 72ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 1.75rem; margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; display: grid; gap: .4em; }
.split { display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
.split .media { border-radius: 12px; }
.checks { list-style: none; display: grid; gap: 10px; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; background: var(--amber); clip-path: polygon(0 0, 55% 0, 100% 50%, 55% 100%, 0 100%, 38% 50%); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-950); color: var(--on-dark); padding-block: 60px 28px; font-size: .9688rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.fgrid { display: grid; gap: 36px; grid-template-columns: 1.5fr 1fr 1fr 1fr; }
@media (max-width: 900px) { .fgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .fgrid { grid-template-columns: 1fr; } }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.flogo { color: #fff; margin-bottom: 14px; }
.fbottom { border-top: 1px solid var(--line-dark); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .8125rem; }

/* ---------- floating contact ---------- */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 55; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(7, 18, 58, .35); text-decoration: none; }
.wa svg { width: 28px; height: 28px; fill: currentColor; }
.wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.6s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
.mbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--navy-950); gap: 10px; padding: 10px max(12px, env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line-dark); }
.mbar .btn { flex: 1; min-height: 46px; padding: 0 12px; }
@media (max-width: 760px) { .mbar { display: flex; } .wa { display: none; } body { padding-bottom: 72px; } }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .line > span { transform: none; }
  .marquee__track { animation: none; }
  .bars .bar i { height: var(--h); }
  .steps::after { width: calc(100% - 42px); }
}

/* honeypot field, hidden from people */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.checks--dark { color: #fff; align-content: center; }
/* mobile fix: stop hero grid growing wider than the screen */
.hero .wrap { grid-template-columns: minmax(0, 1fr); }
