/* =====================================================================
   Transport Connecting — Design System 2026
   Brand: #032751 (primary), #011B45 (deep), #E4171B (accent), #F4F6F8 (light)
   Fonts: Manrope (display), Inter (body)
   ===================================================================== */

:root {
  --c-primary: #032751;
  --c-primary-600: #0a3a75;
  --c-primary-400: #1f5aa6;
  --c-deep: #011B45;
  --c-deep-900: #010F2A;
  --c-accent: #E4171B;
  --c-accent-600: #c1121a;
  --c-light: #F4F6F8;
  --c-white: #ffffff;
  --c-ink: #0b1a33;
  --c-muted: #5b6b82;
  --c-line: #e3e8ef;
  --c-line-dark: rgba(255,255,255,.1);
  --c-success: #10a37f;
  --c-warn: #f5a524;

  --ff-display: 'Manrope', 'Inter', Arial, sans-serif;
  --ff-body: 'Inter', Arial, system-ui, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(3,39,81,.06), 0 1px 3px rgba(3,39,81,.08);
  --shadow: 0 10px 30px -10px rgba(3,39,81,.18);
  --shadow-lg: 0 30px 60px -20px rgba(3,39,81,.28);
  --shadow-glow: 0 0 0 1px rgba(255,255,255,.08), 0 20px 50px -20px rgba(228,23,27,.35);

  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-in-out: cubic-bezier(.65,0,.35,1);
  --dur: .5s;

  --container: 1240px;
  --gutter: 24px;
  --header-h: 80px;
}

/* ---------- Reset & base ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--c-primary); text-decoration: none; transition: color .25s var(--ease-out); }
a:hover { color: var(--c-accent); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
h1,h2,h3,h4,h5,h6 { margin: 0; font-family: var(--ff-display); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; color: var(--c-primary); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }
::selection { background: var(--c-accent); color: #fff; }
:focus-visible { outline: 3px solid rgba(31,90,166,.55); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hp { position: absolute !important; left: -9999px; opacity: 0; height: 0; width: 0; }
.skip-link { position: absolute; top: -60px; left: 16px; background: var(--c-accent); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 1000; font-weight: 600; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container--narrow { max-width: 860px; }
.container--wide { max-width: 1400px; }

/* ---------- Typography ---------- */
.display { font-size: clamp(2.6rem, 6.2vw, 5.4rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; }
.h1 { font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -.03em; font-weight: 800; }
.h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; }
.h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 700; }
.h4 { font-size: 1.2rem; font-weight: 700; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--c-muted); line-height: 1.65; }
.text-light .h1, .text-light .h2, .text-light .h3, .text-light h1, .text-light h2, .text-light h3 { color: #fff; }
.text-light .lead, .text-light p { color: rgba(255,255,255,.78); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-display); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--c-accent); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: #ffb3b5; }
.eyebrow--blue { color: var(--c-primary-400); }
.accent { color: var(--c-accent); }
.gradient-text {
  background: linear-gradient(92deg, #fff 0%, #b9d0f5 55%, #ffb3b5 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head .lead { margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--c-primary); --btn-fg: #fff; --btn-bd: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-family: var(--ff-display); font-weight: 700; font-size: .98rem; line-height: 1;
  color: var(--btn-fg); background: var(--btn-bg); border: 1.5px solid var(--btn-bd);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .3s, color .3s, border-color .3s;
  white-space: nowrap; overflow: hidden; isolation: isolate;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(120px 60px at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.28), transparent 70%);
  opacity: 0; transition: opacity .3s;
}
.btn:hover::after { opacity: 1; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(3,39,81,.45); color: var(--btn-fg); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--primary { --btn-bg: var(--c-primary); }
.btn--primary:hover { --btn-bg: var(--c-primary-600); }
.btn--accent { --btn-bg: var(--c-accent); }
.btn--accent:hover { --btn-bg: var(--c-accent-600); box-shadow: 0 16px 34px -12px rgba(228,23,27,.55); }
.btn--white { --btn-bg: #fff; --btn-fg: var(--c-primary); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--c-primary); }
.btn--ghost:hover { --btn-bg: rgba(3,39,81,.06); box-shadow: none; transform: none; }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--c-primary); --btn-bd: rgba(3,39,81,.25); }
.btn--outline:hover { --btn-bd: var(--c-primary); }
.btn--outline-light { --btn-bg: rgba(255,255,255,.04); --btn-fg: #fff; --btn-bd: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn--outline-light:hover { --btn-bg: rgba(255,255,255,.12); --btn-bd: #fff; }
.btn--sm { padding: 11px 18px; font-size: .88rem; }
.btn--lg { padding: 18px 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn__arrow { display: inline-block; transition: transform .35s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn__spinner { display: none; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading .btn__label { opacity: .6; }
.btn.is-loading .btn__spinner { display: inline-block; }
.btn--ghost .btn__spinner, .btn--outline .btn__spinner, .btn--white .btn__spinner { border-color: rgba(3,39,81,.25); border-top-color: var(--c-primary); }
@keyframes spin { to { transform: rotate(360deg); } }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-family: var(--ff-display); }
.link-arrow svg { transition: transform .3s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Page loader / transition ---------- */
.page-loader {
  position: fixed; inset: 0; z-index: 9999; background: var(--c-deep); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s var(--ease-in-out), visibility .6s;
}
.page-loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.page-loader__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.page-loader__mark { width: 96px; height: auto; animation: loaderBreath 1.6s ease-in-out infinite; }
.page-loader__bar { width: 120px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.14); overflow: hidden; display: block; }
.page-loader__bar i { display: block; height: 100%; width: 40%; background: var(--c-accent); border-radius: 3px; animation: loaderSlide 1.2s var(--ease-in-out) infinite; }
@keyframes loaderBreath { 0%,100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.06); opacity: 1; } }
@keyframes loaderSlide { 0% { transform: translateX(-120%); } 100% { transform: translateX(300%); } }
html:not(.js) .page-loader { display: none; }
.page-transition {
  position: fixed; inset: 0; z-index: 9998; background: var(--c-primary); transform: scaleY(0); transform-origin: bottom; pointer-events: none;
}

/* ---------- Announcement ---------- */
.announcement { background: var(--c-deep); color: #fff; font-size: .86rem; position: relative; z-index: 60; }
.announcement__inner { display: flex; align-items: center; gap: 12px; min-height: 40px; padding-top: 6px; padding-bottom: 6px; }
.announcement__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 0 0 rgba(228,23,27,.6); animation: ping 1.8s infinite; flex: none; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(228,23,27,.6); } 70% { box-shadow: 0 0 0 10px rgba(228,23,27,0); } 100% { box-shadow: 0 0 0 0 rgba(228,23,27,0); } }
.announcement p { margin: 0; flex: 1; }
.announcement a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.announcement__close { font-size: 20px; line-height: 1; opacity: .6; padding: 4px 6px; }
.announcement__close:hover { opacity: 1; }
.announcement.is-hidden { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90; height: var(--header-h);
  background: rgba(255,255,255,0); transition: background .4s, box-shadow .4s, height .3s, backdrop-filter .4s;
}
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.is-scrolled { background: rgba(255,255,255,.82); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); box-shadow: 0 1px 0 rgba(3,39,81,.06), 0 10px 30px -18px rgba(3,39,81,.25); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header { transition: transform .45s var(--ease-out), background .4s, box-shadow .4s; }
.brand { display: inline-flex; align-items: center; flex: none; color: var(--c-primary); }
.brand:hover { color: var(--c-primary); }
.brand__img { display: block; height: 46px; width: auto; }
.brand__img--light { display: none; }
.hero-dark .site-header:not(.is-scrolled) .brand__img--dark { display: none; }
.hero-dark .site-header:not(.is-scrolled) .brand__img--light { display: block; }
.brand--light { color: #fff; }
.brand--light:hover { color: #fff; }
.brand--stacked .brand__img { height: auto; width: 190px; max-width: 100%; }
.site-nav ul { display: flex; gap: 4px; }
.site-nav a {
  position: relative; display: inline-block; padding: 10px 14px; font-weight: 500; font-size: .95rem; color: var(--c-ink); border-radius: 999px;
  white-space: nowrap; transition: color .3s, background .3s;
}
.site-nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; background: var(--c-accent); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.site-nav a:hover { color: var(--c-primary); background: rgba(3,39,81,.05); }
.site-nav a.is-active { color: var(--c-primary); font-weight: 600; }
.site-nav a.is-active::after, .site-nav a:hover::after { transform: scaleX(1); }
.site-header__actions { display: flex; align-items: center; gap: 10px; }
.hero-dark .site-header:not(.is-scrolled) .site-nav a { color: rgba(255,255,255,.85); }
.hero-dark .site-header:not(.is-scrolled) .site-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.hero-dark .site-header:not(.is-scrolled) .site-nav a.is-active { color: #fff; }
.hero-dark .site-header:not(.is-scrolled) .brand { color: #fff; }
@media (max-width: 960px) { .brand__img { height: 40px; } }
@media (max-width: 380px) { .brand__img { height: 34px; } }
.hero-dark .site-header:not(.is-scrolled) .btn--ghost { --btn-fg: #fff; }
.hero-dark .site-header:not(.is-scrolled) .btn--ghost:hover { --btn-bg: rgba(255,255,255,.1); }
.hero-dark .site-header:not(.is-scrolled) .btn--primary { --btn-bg: #fff; --btn-fg: var(--c-primary); }
.hero-dark .site-header:not(.is-scrolled) .nav-toggle span { background: #fff; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; position: relative; z-index: 101; }
.nav-toggle span { width: 22px; height: 2px; background: var(--c-primary); border-radius: 2px; transition: transform .35s var(--ease-out), opacity .3s, background .3s; }
.nav-toggle.is-open span { background: #fff; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 100; visibility: hidden; pointer-events: none; }
.mobile-menu.is-open { visibility: visible; pointer-events: auto; }
.mobile-menu__bg { position: absolute; inset: 0; background: var(--c-deep); transform: translateY(-100%); transition: transform .6s var(--ease-in-out); }
.mobile-menu.is-open .mobile-menu__bg { transform: translateY(0); }
.mobile-menu__inner { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 90px; padding-bottom: 40px; }
.mobile-menu__list li { transform: translateY(30px); opacity: 0; transition: transform .6s var(--ease-out), opacity .6s; transition-delay: calc(.15s + var(--i) * .05s); }
.mobile-menu.is-open .mobile-menu__list li { transform: none; opacity: 1; }
.mobile-menu__list a { display: flex; align-items: baseline; gap: 16px; font-family: var(--ff-display); font-weight: 800; font-size: clamp(1.8rem, 6vw, 2.6rem); color: #fff; padding: 8px 0; letter-spacing: -.02em; }
.mobile-menu__list a.is-active, .mobile-menu__list a:hover { color: #ffb3b5; }
.mobile-menu__num { font-size: .8rem; font-weight: 600; color: var(--c-accent); letter-spacing: .1em; }
.mobile-menu__cta { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; opacity: 0; transform: translateY(20px); transition: all .6s var(--ease-out) .5s; }
.mobile-menu.is-open .mobile-menu__cta { opacity: 1; transform: none; }
.mobile-menu__meta { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 28px; font-size: .9rem; opacity: 0; transition: opacity .6s .6s; }
.mobile-menu.is-open .mobile-menu__meta { opacity: 1; }
.mobile-menu__meta a { color: rgba(255,255,255,.7); }
body.menu-open { overflow: hidden; }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(72px, 9vw, 130px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--light { background: var(--c-light); }
.section--dark { background: var(--c-deep); color: #fff; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: rgba(255,255,255,.78); }
.section--primary { background: var(--c-primary); color: #fff; }
.section--primary h2, .section--primary h3 { color: #fff; }
.section--primary p { color: rgba(255,255,255,.8); }
.section--dark .eyebrow, .section--primary .eyebrow { color: #ffb3b5; }
.grid-bg { position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.noise { position: absolute; inset: 0; pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.blob { position: absolute; border-radius: 50%; pointer-events: none; opacity: .55; }
.blob--red { background: radial-gradient(circle, rgba(228,23,27,.55), transparent 70%); }
.blob--blue { background: radial-gradient(circle, rgba(31,90,166,.7), transparent 70%); }

/* ---------- Reveal (JS-driven, safe without JS) ---------- */
html.js .reveal, html.js .reveal-up, html.js .reveal-left, html.js .reveal-right, html.js .reveal-scale { opacity: 0; will-change: transform, opacity; }
html.js .reveal-up { transform: translateY(40px); }
html.js .reveal-left { transform: translateX(-40px); }
html.js .reveal-right { transform: translateX(40px); }
html.js .reveal-scale { transform: scale(.92); }
html.js .split-lines .line { display: block; overflow: hidden; }
html.js .split-lines .line > span { display: block; transform: translateY(110%); }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: calc(100vh - var(--header-h)); margin-top: calc(var(--header-h) * -1); padding-top: var(--header-h);
  display: flex; align-items: center; background: var(--c-deep); color: #fff; overflow: hidden; isolation: isolate;
}
.hero--dark { background: radial-gradient(1200px 700px at 75% 30%, #0c3f7f 0%, var(--c-deep) 55%, var(--c-deep-900) 100%); }
.hero__canvas { position: absolute; inset: 0; z-index: 0; }
.hero__canvas canvas { width: 100% !important; height: 100% !important; }
.hero__overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(1,27,69,.92) 0%, rgba(1,27,69,.72) 40%, rgba(1,27,69,.15) 70%, rgba(1,27,69,0) 100%),
              linear-gradient(0deg, var(--c-deep) 0%, transparent 30%); }
.hero__inner { position: relative; z-index: 2; width: 100%; padding-top: clamp(40px, 8vh, 100px); padding-bottom: clamp(40px, 8vh, 100px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; }
.hero__content { max-width: 680px; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(8px); font-size: .82rem; font-weight: 500; color: rgba(255,255,255,.9); margin-bottom: 28px; }
.hero__badge b { background: var(--c-accent); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .1em; padding: 5px 9px; border-radius: 999px; text-transform: uppercase; }
.hero__title { color: #fff; margin-bottom: 24px; }
.hero__title .word { display: inline-block; }
.hero__subtitle { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: rgba(255,255,255,.78); max-width: 560px; margin-bottom: 36px; line-height: 1.6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 28px 40px; }
.hero__stat { display: flex; flex-direction: column; gap: 2px; }
.hero__stat b { font-family: var(--ff-display); font-size: clamp(1.9rem, 2.4vw, 2.4rem); font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.hero__stat span { font-size: .88rem; color: rgba(255,255,255,.7); max-width: 20ch; line-height: 1.3; margin-top: 4px; }
.hero__visual { position: relative; min-height: 360px; }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,.6); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; }
.hero__scroll i { width: 1px; height: 46px; background: linear-gradient(to bottom, rgba(255,255,255,.6), transparent); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: #fff; animation: scrollHint 1.8s var(--ease-in-out) infinite; }
@keyframes scrollHint { 0% { top: -100%; } 60%,100% { top: 100%; } }

/* Floating offer cards inside hero */
.offer-stack { position: relative; width: 100%; max-width: 420px; margin-left: auto; }
.offer-card {
  position: relative; background: rgba(255,255,255,.96); color: var(--c-ink); border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: center; margin-bottom: 14px; border: 1px solid rgba(3,39,81,.06);
}
.offer-card__avatar { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, var(--c-primary), var(--c-primary-400)); color: #fff; display: grid; place-items: center; font-family: var(--ff-display); font-weight: 800; }
.offer-card__body strong { display: block; font-family: var(--ff-display); font-size: .98rem; color: var(--c-primary); }
.offer-card__body span { display: block; font-size: .78rem; color: var(--c-muted); margin-top: 2px; }
.offer-card__price { text-align: right; }
.offer-card__price b { display: block; font-family: var(--ff-display); font-size: 1.15rem; color: var(--c-primary); }
.offer-card__price small { font-size: .72rem; color: var(--c-success); font-weight: 600; }
.offer-card--best { border: 1.5px solid var(--c-accent); }
.offer-card--best::before { content: "Najbolja ponuda"; position: absolute; top: -10px; right: 16px; background: var(--c-accent); color: #fff; font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.offer-stack__request { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 16px 18px; margin-bottom: 18px; backdrop-filter: blur(10px); }
.offer-stack__request .route { display: flex; align-items: center; gap: 12px; font-family: var(--ff-display); font-weight: 700; font-size: 1rem; }
.offer-stack__request .route i { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.6) 0 6px, transparent 6px 12px); }
.offer-stack__request .meta { display: flex; gap: 14px; margin-top: 10px; font-size: .78rem; color: rgba(255,255,255,.65); }
.offer-stack__status { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; color: rgba(255,255,255,.75); margin-bottom: 12px; }
.offer-stack__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-success); box-shadow: 0 0 0 4px rgba(16,163,127,.2); }
.stars { color: #f5a524; letter-spacing: 1px; font-size: .78rem; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--c-primary); color: #fff; padding: 16px 0; position: relative; }
.marquee__track { display: flex; gap: 0; width: max-content; will-change: transform; }
.marquee__item { display: inline-flex; align-items: center; gap: 18px; padding: 0 28px; font-family: var(--ff-display); font-weight: 700; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.marquee__item::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-accent); }

/* ---------- Story: Problem -> Solution ---------- */
.story { position: relative; overflow: hidden; }
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.story__sticky { position: sticky; top: calc(var(--header-h) + 30px); }
.story__steps { display: flex; flex-direction: column; gap: clamp(60px, 12vh, 140px); padding-top: 10vh; padding-bottom: 10vh; }
.story__step { position: relative; padding-left: 64px; }
.story__step .story__num { position: absolute; left: 0; top: 4px; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-family: var(--ff-display); font-weight: 800; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff; transition: background .4s, color .4s, transform .4s; }
.story__step.is-active .story__num { background: var(--c-accent); border-color: var(--c-accent); transform: scale(1.08); }
.story__step h3 { color: #fff; margin-bottom: 12px; }
.story__step p { color: rgba(255,255,255,.7); }
.story__step ul { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.story__step li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: rgba(255,255,255,.85); }
.story__step li::before { content: "✓"; color: var(--c-success); font-weight: 700; flex: none; }
.story__step li.bad::before { content: "✕"; color: var(--c-accent); }
.story__visual { position: relative; aspect-ratio: 1 / 1; max-height: 70vh; border-radius: var(--radius-xl); background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.1); overflow: hidden; }
.story__scene { position: absolute; inset: 0; display: grid; place-items: center; padding: 32px; }
.story__scene[data-scene] { opacity: 0; visibility: hidden; }
.story__scene.is-active { opacity: 1; visibility: visible; }
.chaos { position: relative; width: 100%; height: 100%; }
.chaos__phone { position: absolute; padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(6px); font-size: .85rem; display: flex; align-items: center; gap: 10px; color: #fff; white-space: nowrap; }
.chaos__phone b { color: #ffb3b5; font-weight: 600; }
.chaos__phone i { width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); animation: ping 1.6s infinite; }
.chaos__center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 96px; height: 96px; border-radius: 50%; background: rgba(228,23,27,.15); border: 2px dashed rgba(228,23,27,.6); display: grid; place-items: center; font-family: var(--ff-display); font-weight: 800; font-size: .8rem; text-align: center; line-height: 1.1; color: #fff; }
.route-svg { width: 100%; height: 100%; }
.route-svg .route-path { stroke: #fff; stroke-width: 4; fill: none; stroke-linecap: round; stroke-dasharray: 10 12; }
.route-svg .route-path--solid { stroke: var(--c-accent); stroke-dasharray: none; stroke-width: 5; }
.route-svg .pin { fill: #fff; }
.route-svg .pin--accent { fill: var(--c-accent); }
.route-svg text { font-family: var(--ff-display); font-weight: 700; fill: #fff; font-size: 14px; }
.route-svg .node { fill: rgba(255,255,255,.12); stroke: rgba(255,255,255,.5); stroke-width: 1.5; }
.route-svg .node--hit { fill: var(--c-accent); stroke: #fff; }
.match-list { width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 12px; }
.match-list .offer-card { margin: 0; }

/* ---------- Steps (How it works) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.steps__line { position: absolute; top: 46px; left: 12%; right: 12%; height: 2px; background: var(--c-line); z-index: 0; }
.steps__line i { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: linear-gradient(90deg, var(--c-primary), var(--c-accent)); }
.step { position: relative; z-index: 1; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 32px 28px; transition: transform .4s var(--ease-out), box-shadow .4s, border-color .4s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.step__num { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--c-primary); color: #fff; font-family: var(--ff-display); font-weight: 800; font-size: 1.25rem; margin-bottom: 22px; position: relative; }
.step__num::after { content: ""; position: absolute; inset: -6px; border-radius: 22px; border: 2px solid rgba(3,39,81,.12); }
.step:nth-child(3) .step__num, .step--accent .step__num { background: var(--c-accent); }
.step h3 { margin-bottom: 10px; font-size: 1.3rem; }
.step p { color: var(--c-muted); font-size: .97rem; }
.step__icon { position: absolute; right: 24px; top: 24px; width: 44px; height: 44px; color: var(--c-primary-400); opacity: .35; }
.step__time { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: .78rem; font-weight: 600; color: var(--c-success); background: rgba(16,163,127,.1); padding: 6px 10px; border-radius: 999px; }

/* ---------- Audience cards ---------- */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.audience-card {
  position: relative; display: flex; flex-direction: column; min-height: 380px; padding: 34px 30px; border-radius: var(--radius-xl); overflow: hidden; color: #fff;
  background: var(--c-primary); transform-style: preserve-3d; transition: transform .5s var(--ease-out), box-shadow .5s;
}
.audience-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at var(--mx, 80%) var(--my, 0%), rgba(255,255,255,.18), transparent 60%); opacity: 0; transition: opacity .4s; }
.audience-card:hover::before { opacity: 1; }
.audience-card:hover { box-shadow: var(--shadow-lg); }
.audience-card--deep { background: var(--c-deep); }
.audience-card--accent { background: linear-gradient(160deg, #b8121a, var(--c-accent)); }
.audience-card__icon { width: 56px; height: 56px; border-radius: 16px; background: rgba(255,255,255,.12); display: grid; place-items: center; margin-bottom: 26px; }
.audience-card__icon svg { width: 28px; height: 28px; }
.audience-card h3 { color: #fff; font-size: 1.5rem; margin-bottom: 12px; }
.audience-card p { color: rgba(255,255,255,.78); flex: 1; }
.audience-card ul { margin: 14px 0 24px; display: flex; flex-direction: column; gap: 6px; font-size: .9rem; color: rgba(255,255,255,.88); }
.audience-card li::before { content: "•"; margin-right: 8px; color: #ffb3b5; }
.audience-card--accent li::before { color: #fff; }
.audience-card .link-arrow { color: #fff; margin-top: auto; }
.audience-card__bg { position: absolute; right: -30px; bottom: -30px; width: 200px; height: 200px; opacity: .08; pointer-events: none; }

/* ---------- Features grid ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--c-line); transition: transform .4s var(--ease-out), box-shadow .4s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(3,39,81,.06); color: var(--c-primary); margin-bottom: 18px; }
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 8px; }
.feature p { font-size: .93rem; color: var(--c-muted); }
.section--dark .feature { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.section--dark .feature__icon { background: rgba(255,255,255,.1); color: #fff; }
.section--dark .feature h3 { color: #fff; }
.section--dark .feature p { color: rgba(255,255,255,.7); }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split__visual { position: relative; }
.visual-frame { position: relative; border-radius: var(--radius-xl); overflow: hidden; background: var(--c-deep); aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); }
.visual-frame img { width: 100%; height: 100%; object-fit: cover; }
.checklist { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist__icon { flex: none; width: 28px; height: 28px; border-radius: 9px; background: rgba(16,163,127,.12); color: var(--c-success); display: grid; place-items: center; margin-top: 2px; }
.checklist__icon svg { width: 14px; height: 14px; }
.checklist strong { display: block; font-family: var(--ff-display); color: var(--c-primary); }
.checklist span { font-size: .93rem; color: var(--c-muted); }
.section--dark .checklist strong { color: #fff; }
.section--dark .checklist span { color: rgba(255,255,255,.7); }

/* ---------- Comparison ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare__col { padding: 30px; border-radius: var(--radius-lg); border: 1px solid var(--c-line); background: #fff; }
.compare__col--good { border: 2px solid var(--c-primary); background: linear-gradient(180deg, #fff, #f7f9fc); position: relative; }
.compare__col--good::after { content: "Transport Connecting"; position: absolute; top: -13px; left: 24px; background: var(--c-primary); color: #fff; font-family: var(--ff-display); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.compare__col h3 { font-size: 1.1rem; margin-bottom: 18px; }
.compare__col li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px dashed var(--c-line); font-size: .95rem; }
.compare__col li:first-child { border-top: 0; }
.compare__col li i { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .7rem; font-weight: 800; }
.compare__col--bad li i { background: rgba(228,23,27,.12); color: var(--c-accent); }
.compare__col--good li i { background: rgba(16,163,127,.12); color: var(--c-success); }

/* ---------- Stats ---------- */
/* ---------- Social proof band (homepage) ---------- */
.proof { position: relative; overflow: hidden; }
.proof .section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.proof__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.proof__card {
  position: relative; padding: clamp(28px, 3vw, 40px) clamp(24px, 2.6vw, 36px); border-radius: 28px;
  background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 24px 50px -30px rgba(1,15,42,.9);
  transition: transform .45s var(--ease-out), border-color .4s, background .4s; overflow: hidden;
}
.proof__card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.14), transparent 70%); pointer-events: none; }
.proof__card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.35); background: linear-gradient(160deg, rgba(255,255,255,.16), rgba(255,255,255,.06)); }
.proof__card--accent { background: linear-gradient(160deg, rgba(228,23,27,.32), rgba(228,23,27,.12)); border-color: rgba(255,179,181,.35); }
.proof__card--accent:hover { background: linear-gradient(160deg, rgba(228,23,27,.4), rgba(228,23,27,.16)); }
.proof__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #fff; margin-bottom: 22px; }
.proof__card--accent .proof__icon { background: rgba(255,255,255,.18); }
.proof__value { font-family: var(--ff-display); font-size: clamp(3rem, 5.6vw, 4.6rem); font-weight: 800; line-height: .95; letter-spacing: -.04em; color: #fff; }
.proof__value span { display: inline-block; }
.proof__label { margin-top: 14px; font-size: clamp(1rem, 1.25vw, 1.12rem); font-weight: 500; line-height: 1.4; color: rgba(255,255,255,.85); max-width: 26ch; }
@media (max-width: 960px) { .proof__grid { grid-template-columns: 1fr 1fr; gap: 16px; } .proof__label { max-width: none; } }
@media (max-width: 560px) { .proof__grid { grid-template-columns: 1fr; } .proof__value { font-size: 3.2rem; } .proof__card { padding: 26px 24px; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 28px 24px; border-radius: var(--radius-lg); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); text-align: center; }
.stat b { display: block; font-family: var(--ff-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: #fff; line-height: 1; letter-spacing: -.03em; }
.stat span { display: block; margin-top: 8px; font-size: .85rem; color: rgba(255,255,255,.65); }

/* ---------- Pricing ---------- */
.pricing-toggle { display: inline-flex; align-items: center; gap: 12px; padding: 6px; border-radius: 999px; background: #fff; border: 1px solid var(--c-line); box-shadow: var(--shadow-sm); margin: 0 auto 40px; position: relative; }
.pricing-toggle button { padding: 10px 22px; border-radius: 999px; font-family: var(--ff-display); font-weight: 700; font-size: .92rem; color: var(--c-muted); position: relative; z-index: 1; transition: color .3s; }
.pricing-toggle button.is-active { color: #fff; }
.pricing-toggle__pill { position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px); border-radius: 999px; background: var(--c-primary); transition: transform .4s var(--ease-out); }
.pricing-toggle.is-national .pricing-toggle__pill { transform: translateX(100%); }
.pricing-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; }
.pricing-calc { background: var(--c-primary); color: #fff; border-radius: var(--radius-xl); padding: 36px; position: relative; overflow: hidden; }
.pricing-calc h3 { color: #fff; margin-bottom: 6px; }
.pricing-calc p { color: rgba(255,255,255,.72); font-size: .93rem; }
.pricing-calc__row { display: flex; align-items: center; justify-content: space-between; margin-top: 28px; }
.pricing-calc__row label { font-family: var(--ff-display); font-weight: 700; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--c-accent) var(--pct, 0%), rgba(255,255,255,.2) var(--pct, 0%)); outline: none; margin: 18px 0; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 4px solid var(--c-accent); box-shadow: 0 4px 12px rgba(0,0,0,.3); cursor: grab; }
.range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 4px solid var(--c-accent); cursor: grab; }
.pricing-calc__vehicles { font-family: var(--ff-display); font-size: 2.6rem; font-weight: 800; line-height: 1; }
.pricing-calc__vehicles small { font-size: .95rem; font-weight: 500; color: rgba(255,255,255,.65); margin-left: 8px; }
.pricing-calc__result { margin-top: 26px; padding: 22px; border-radius: 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pricing-calc__result > div { text-align: center; padding: 6px; border-radius: 12px; transition: background .3s; }
.pricing-calc__result > div.is-selected { background: rgba(228,23,27,.18); }
.pricing-calc__result span { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.65); font-weight: 600; margin-bottom: 8px; }
.pricing-calc__result b { font-family: var(--ff-display); font-size: 2rem; font-weight: 800; line-height: 1; }
.pricing-calc__result i { display: block; font-style: normal; font-size: .75rem; color: rgba(255,255,255,.55); margin-top: 6px; }
.pricing-calc__note { margin-top: 18px; font-size: .8rem; color: rgba(255,255,255,.6); }
.pricing-calc__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font-size: .76rem; font-weight: 600; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); }
.badge--accent { background: var(--c-accent); border-color: var(--c-accent); }
.badge--success { background: rgba(16,163,127,.2); border-color: rgba(16,163,127,.5); }
.pricing-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); overflow: hidden; font-size: .95rem; }
.pricing-table th, .pricing-table td { padding: 13px 18px; text-align: left; }
.pricing-table thead th { background: var(--c-light); font-family: var(--ff-display); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); }
.pricing-table tbody tr { transition: background .25s; }
.pricing-table tbody tr:hover { background: #f8fafd; }
.pricing-table tbody tr.is-selected { background: rgba(3,39,81,.06); }
.pricing-table td { border-top: 1px solid var(--c-line); }
.pricing-table td b { font-family: var(--ff-display); color: var(--c-primary); }
.pricing-table tfoot td { background: var(--c-light); font-size: .85rem; color: var(--c-muted); border-top: 1px solid var(--c-line); }
.pricing-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 40px; }
.plan { position: relative; padding: 34px 32px; border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--c-line); transition: transform .4s var(--ease-out), box-shadow .4s; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan--featured { background: var(--c-deep); color: #fff; border-color: var(--c-deep); }
.plan--featured h3, .plan--featured .plan__price { color: #fff; }
.plan--featured p, .plan--featured li { color: rgba(255,255,255,.8); }
.plan__tag { position: absolute; top: 20px; right: 20px; background: var(--c-accent); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.plan h3 { font-size: 1.5rem; margin-bottom: 6px; }
.plan__desc { font-size: .93rem; color: var(--c-muted); margin-bottom: 20px; }
.plan__price { font-family: var(--ff-display); font-size: 2.6rem; font-weight: 800; color: var(--c-primary); line-height: 1; letter-spacing: -.03em; }
.plan__price small { font-size: .95rem; font-weight: 500; color: var(--c-muted); letter-spacing: 0; }
.plan--featured .plan__price small { color: rgba(255,255,255,.6); }
.plan__from { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; color: var(--c-muted); margin-bottom: 4px; }
.plan--featured .plan__from { color: rgba(255,255,255,.6); }
.plan ul { margin: 24px 0 28px; display: flex; flex-direction: column; gap: 10px; }
.plan li { display: flex; gap: 10px; font-size: .95rem; }
.plan li::before { content: "✓"; color: var(--c-success); font-weight: 800; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { border: 1px solid var(--c-line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: box-shadow .3s; }
.faq__item.is-open { box-shadow: var(--shadow); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; text-align: left; font-family: var(--ff-display); font-weight: 700; font-size: 1.05rem; color: var(--c-primary); }
.faq__q i { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--c-line); display: grid; place-items: center; transition: transform .4s var(--ease-out), background .3s, border-color .3s; font-style: normal; }
.faq__item.is-open .faq__q i { transform: rotate(45deg); background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 24px 22px; color: var(--c-muted); }
.section--dark .faq__item { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.section--dark .faq__q { color: #fff; }
.section--dark .faq__q i { border-color: rgba(255,255,255,.3); }
.section--dark .faq__a p { color: rgba(255,255,255,.72); }

/* ---------- Testimonials / quotes ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { padding: 30px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--c-line); display: flex; flex-direction: column; gap: 18px; }
.quote p { font-size: 1rem; color: var(--c-ink); font-style: italic; }
.quote footer { display: flex; align-items: center; gap: 12px; font-size: .88rem; }
.quote footer b { display: block; font-family: var(--ff-display); color: var(--c-primary); font-style: normal; }
.quote footer span { color: var(--c-muted); }
.quote__avatar { width: 42px; height: 42px; border-radius: 12px; background: var(--c-primary); color: #fff; display: grid; place-items: center; font-family: var(--ff-display); font-weight: 800; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.person { text-align: center; padding: 32px 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--c-line); }
.person__avatar { width: 96px; height: 96px; border-radius: 30px; margin: 0 auto 18px; background: linear-gradient(135deg, var(--c-primary), var(--c-primary-400)); color: #fff; display: grid; place-items: center; font-family: var(--ff-display); font-weight: 800; font-size: 1.8rem; }
.person h3 { font-size: 1.15rem; }
.person span { display: block; color: var(--c-accent); font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin: 6px 0 12px; }
.person p { font-size: .92rem; color: var(--c-muted); }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: var(--c-line); }
.timeline__item { position: relative; padding-bottom: 32px; }
.timeline__item::before { content: ""; position: absolute; left: -30px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--c-primary); }
.timeline__item--active::before { border-color: var(--c-accent); background: var(--c-accent); box-shadow: 0 0 0 6px rgba(228,23,27,.15); }
.timeline__item span { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-accent); }
.timeline__item h4 { margin: 4px 0 6px; }
.timeline__item p { color: var(--c-muted); font-size: .93rem; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: .86rem; font-weight: 600; color: var(--c-primary); }
.field label .req { color: var(--c-accent); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--c-line); background: #fff; font-size: .97rem; color: var(--c-ink);
  transition: border-color .3s, box-shadow .3s, background .3s; -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23032751' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-primary-400); box-shadow: 0 0 0 4px rgba(31,90,166,.14); }
.field input::placeholder, .field textarea::placeholder { color: #a0acbd; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--c-accent); box-shadow: 0 0 0 4px rgba(228,23,27,.12); }
.field__error { font-size: .8rem; color: var(--c-accent); min-height: 0; }
.field__hint { font-size: .8rem; color: var(--c-muted); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--c-muted); cursor: pointer; }
.check input { width: 20px; height: 20px; flex: none; margin-top: 1px; accent-color: var(--c-primary); border-radius: 6px; }
.check a { text-decoration: underline; text-underline-offset: 2px; }
.check.has-error { color: var(--c-accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--c-line); background: #fff; font-size: .88rem; font-weight: 500; transition: all .25s; cursor: pointer; }
.chip input:checked + span { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(31,90,166,.2); }
.form-message { font-size: .9rem; min-height: 1.4em; margin: 10px 0 0; }
.form-message.is-error { color: var(--c-accent); }
.form-message.is-success { color: var(--c-success); }
.newsletter-form__row { display: flex; gap: 8px; }
.newsletter-form__row input { flex: 1; min-width: 0; padding: 13px 16px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.18); background: rgba(255,255,255,.07); color: #fff; }
.newsletter-form__row input::placeholder { color: rgba(255,255,255,.45); }
.newsletter-form__row input:focus { outline: none; border-color: #fff; background: rgba(255,255,255,.12); }
.newsletter-form .form-message.is-success { color: #7ee2c3; }
.newsletter-form .form-message.is-error { color: #ffb3b5; }

/* Registration wizard */
.reg-hero { padding: clamp(56px, 8vw, 96px) 0 40px; background: var(--c-deep); color: #fff; position: relative; overflow: hidden; }
.reg-choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.reg-choice__card { position: relative; text-align: left; padding: 26px 24px; border-radius: var(--radius-lg); background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.12); color: #fff; transition: all .35s var(--ease-out); display: flex; flex-direction: column; gap: 10px; }
.reg-choice__card:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.reg-choice__card.is-selected { background: #fff; color: var(--c-primary); border-color: #fff; box-shadow: var(--shadow-lg); }
.reg-choice__card .ico { width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.12); display: grid; place-items: center; }
.reg-choice__card.is-selected .ico { background: rgba(3,39,81,.08); }
.reg-choice__card strong { font-family: var(--ff-display); font-size: 1.1rem; }
.reg-choice__card span { font-size: .85rem; opacity: .75; }
.reg-choice__card .tick { position: absolute; top: 16px; right: 16px; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.4); display: grid; place-items: center; transition: all .3s; }
.reg-choice__card.is-selected .tick { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }
.wizard { max-width: 860px; margin: -20px auto 0; position: relative; z-index: 2; }
.wizard__card { background: #fff; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); padding: clamp(28px, 4vw, 48px); border: 1px solid var(--c-line); }
.wizard__progress { display: flex; align-items: center; gap: 12px; margin-bottom: 34px; }
.wizard__progress span { display: flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 600; color: var(--c-muted); }
.wizard__progress span i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .8rem; font-weight: 700; background: var(--c-light); border: 1.5px solid var(--c-line); transition: all .3s; }
.wizard__progress span.is-active { color: var(--c-primary); }
.wizard__progress span.is-active i { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.wizard__progress span.is-done i { background: var(--c-success); border-color: var(--c-success); color: #fff; }
.wizard__progress .bar { flex: 1; height: 2px; background: var(--c-line); position: relative; overflow: hidden; }
.wizard__progress .bar i { position: absolute; inset: 0; width: 0; background: var(--c-primary); transition: width .5s var(--ease-out); }
.wizard__progress .bar.is-done i { width: 100%; }
.wizard__step { display: none; }
.wizard__step.is-active { display: block; }
.wizard__step h2 { font-size: 1.6rem; margin-bottom: 8px; }
.wizard__step > p { color: var(--c-muted); margin-bottom: 26px; }
.wizard__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--c-line); }
.wizard__success { text-align: center; padding: 30px 10px; }
.wizard__success .tick-anim { width: 96px; height: 96px; margin: 0 auto 22px; }
.wizard__success h2 { margin-bottom: 12px; }
.wizard__success p { color: var(--c-muted); max-width: 520px; margin: 0 auto 26px; }
.wizard__success .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.summary { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; padding: 22px; border-radius: 16px; background: var(--c-light); font-size: .93rem; }
.summary div { display: flex; flex-direction: column; }
.summary span { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); font-weight: 600; }
.summary b { font-family: var(--ff-display); color: var(--c-primary); }
.tick-anim circle { stroke: var(--c-success); stroke-width: 4; fill: none; stroke-dasharray: 300; stroke-dashoffset: 300; }
.tick-anim path { stroke: var(--c-success); stroke-width: 5; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 80; stroke-dashoffset: 80; }
.wizard__success.is-shown .tick-anim circle { animation: dash 1s var(--ease-out) forwards; }
.wizard__success.is-shown .tick-anim path { animation: dash .6s var(--ease-out) .5s forwards; }
@keyframes dash { to { stroke-dashoffset: 0; } }

/* ---------- Inline lead form (magazine / pages) ---------- */
.lead-box { border-radius: var(--radius-xl); background: var(--c-primary); color: #fff; padding: 34px; position: relative; overflow: hidden; }
.lead-box::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(228,23,27,.4), transparent 68%); }
.lead-box h3 { color: #fff; font-size: 1.4rem; margin-bottom: 8px; position: relative; }
.lead-box p { color: rgba(255,255,255,.75); font-size: .93rem; position: relative; }
.lead-box .field label { color: rgba(255,255,255,.85); }
.lead-box .field input, .lead-box .field select { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #fff; }
.lead-box .field input::placeholder { color: rgba(255,255,255,.4); }
.lead-box .field input:focus { border-color: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.12); }
.lead-box .field select option { color: var(--c-ink); }
.lead-box .check { color: rgba(255,255,255,.7); }
.lead-box .check a { color: #fff; }
.lead-box form { position: relative; margin-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.lead-box .form-message.is-success { color: #7ee2c3; }
.lead-box .form-message.is-error { color: #ffb3b5; }
.lead-box--compact { padding: 26px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 6vw, 80px); background: var(--c-deep); color: #fff; overflow: hidden; margin-top: calc(var(--header-h) * -1); padding-top: calc(var(--header-h) + clamp(48px, 8vw, 100px)); }
.page-hero--primary { background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-deep) 70%); }
.page-hero__inner { position: relative; z-index: 1; max-width: 800px; }
.page-hero h1 { color: #fff; margin-bottom: 18px; }
.page-hero .lead { color: rgba(255,255,255,.78); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.page-hero__visual { position: absolute; right: 0; top: 0; bottom: 0; width: 45%; pointer-events: none; opacity: .5; }
.page-hero__visual svg { width: 100%; height: 100%; }
.breadcrumbs { font-size: .82rem; margin-bottom: 20px; position: relative; z-index: 1; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .4; }
.breadcrumbs a { color: rgba(255,255,255,.7); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span { color: rgba(255,255,255,.95); }
.breadcrumbs--dark a { color: var(--c-muted); }
.breadcrumbs--dark span { color: var(--c-primary); }

/* ---------- Magazine ---------- */
.mag-hero { background: var(--c-deep); color: #fff; margin-top: calc(var(--header-h) * -1); padding-top: calc(var(--header-h) + 60px); padding-bottom: 60px; position: relative; overflow: hidden; }
.mag-hero__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; position: relative; z-index: 1; }
.mag-hero h1 { color: #fff; }
.mag-hero .lead { color: rgba(255,255,255,.75); margin-top: 14px; }
.mag-search { display: flex; gap: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 6px 6px 6px 18px; backdrop-filter: blur(10px); }
.mag-search input { flex: 1; min-width: 0; background: none; border: 0; color: #fff; font-size: .95rem; }
.mag-search input::placeholder { color: rgba(255,255,255,.45); }
.mag-search input:focus { outline: none; }
.mag-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.mag-cats a { padding: 9px 16px; border-radius: 999px; font-size: .85rem; font-weight: 600; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.85); transition: all .3s; }
.mag-cats a:hover, .mag-cats a.is-active { background: #fff; color: var(--c-primary); border-color: #fff; }
.mag-cats--light a { background: #fff; border-color: var(--c-line); color: var(--c-ink); }
.mag-cats--light a:hover, .mag-cats--light a.is-active { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.featured-article { display: grid; grid-template-columns: 1.15fr .85fr; border-radius: var(--radius-xl); overflow: hidden; background: #fff; border: 1px solid var(--c-line); box-shadow: var(--shadow); margin-bottom: 48px; min-height: 420px; }
.featured-article__media { position: relative; min-height: 320px; overflow: hidden; }
.featured-article__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.featured-article:hover .featured-article__media img { transform: scale(1.05); }
.featured-article__body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.featured-article__body h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 12px 0 14px; }
.featured-article__body h2 a { color: var(--c-primary); }
.featured-article__body h2 a:hover { color: var(--c-accent); }
.featured-article__body p { color: var(--c-muted); }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.article-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--c-line); transition: transform .45s var(--ease-out), box-shadow .45s; height: 100%; }
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.article-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-primary); }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.article-card:hover .article-card__media img { transform: scale(1.06); }
.article-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.article-card__body h3 { font-size: 1.15rem; line-height: 1.3; }
.article-card__body h3 a { color: var(--c-primary); }
.article-card__body h3 a:hover { color: var(--c-accent); }
.article-card__body p { font-size: .9rem; color: var(--c-muted); flex: 1; }
.article-card__footer { display: flex; align-items: center; justify-content: space-between; font-size: .78rem; color: var(--c-muted); margin-top: 6px; }
.cat-pill { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 999px; background: rgba(3,39,81,.07); color: var(--c-primary); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; width: max-content; }
.cat-pill--onimage { position: absolute; left: 14px; top: 14px; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); z-index: 2; }
.cat-pill:hover { background: var(--c-accent); color: #fff; }
.article-card__meta, .meta-row { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .8rem; color: var(--c-muted); align-items: center; }
.meta-row i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; }
.ph { display: grid; place-items: center; width: 100%; height: 100%; color: rgba(255,255,255,.55); position: relative; overflow: hidden; }
.ph::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 50%, rgba(255,255,255,.08), transparent 70%); }
.ph img { width: 38%; max-width: 200px; height: auto; opacity: .92; position: relative; transition: transform 1s var(--ease-out); }
.article-card:hover .ph img, .featured-article:hover .ph img { transform: scale(1.06); }
.author-link { color: inherit; }
.author-link:hover { color: var(--c-accent); }
.author-chip:hover span { color: #ffb3b5; }
.ph-1 { background: linear-gradient(135deg, #032751, #1f5aa6); }
.ph-2 { background: linear-gradient(135deg, #011B45, #032751); }
.ph-3 { background: linear-gradient(135deg, #0a3a75, #0c5aa8); }
.ph-4 { background: linear-gradient(135deg, #032751 60%, #E4171B 160%); }
.ph-5 { background: linear-gradient(135deg, #010F2A, #1f5aa6); }
.mag-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.mag-sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 26px; }
.widget { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 24px; }
.widget h3 { font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--c-light); }
.trending { display: flex; flex-direction: column; gap: 14px; }
.trending li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.trending li b { font-family: var(--ff-display); font-size: 1.4rem; color: var(--c-line); font-weight: 800; line-height: 1; }
.trending li a { font-size: .92rem; font-weight: 600; color: var(--c-ink); line-height: 1.35; display: block; }
.trending li a:hover { color: var(--c-accent); }
.trending li span { display: block; font-size: .75rem; color: var(--c-muted); margin-top: 3px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-cloud a { padding: 6px 12px; border-radius: 8px; background: var(--c-light); font-size: .8rem; color: var(--c-ink); font-weight: 500; }
.tag-cloud a:hover { background: var(--c-primary); color: #fff; }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 48px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 42px; height: 42px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 12px; border: 1px solid var(--c-line); font-weight: 600; font-size: .9rem; background: #fff; color: var(--c-ink); transition: all .25s; }
.pagination a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.pagination .is-current { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.pagination .gap { border: 0; background: none; }
.load-more { display: flex; justify-content: center; margin-top: 44px; }
.empty-state { text-align: center; padding: 60px 20px; border-radius: var(--radius-lg); background: #fff; border: 1px dashed var(--c-line); color: var(--c-muted); }

/* Article page */
.article-hero { background: var(--c-deep); color: #fff; margin-top: calc(var(--header-h) * -1); padding-top: calc(var(--header-h) + 50px); padding-bottom: 60px; position: relative; overflow: hidden; }
.article-hero__inner { max-width: 860px; position: relative; z-index: 1; }
.article-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 3.1rem); margin: 18px 0 20px; }
.article-hero .lead { color: rgba(255,255,255,.78); font-size: 1.1rem; }
.article-hero .meta-row { color: rgba(255,255,255,.65); margin-top: 24px; font-size: .86rem; }
.article-hero .cat-pill { background: rgba(255,255,255,.12); color: #fff; }
.article-hero .cat-pill:hover { background: #fff; color: var(--c-primary); }
.author-chip { display: inline-flex; align-items: center; gap: 10px; }
.author-chip i { width: 34px; height: 34px; border-radius: 10px; background: var(--c-accent); color: #fff; display: grid; place-items: center; font-family: var(--ff-display); font-weight: 800; font-style: normal; font-size: .85rem; }
.article-cover { max-width: 1000px; margin: -40px auto 0; position: relative; z-index: 2; padding: 0 var(--gutter); }
.article-cover figure { margin: 0; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 8; background: var(--c-primary); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-cover figcaption { font-size: .8rem; color: var(--c-muted); text-align: center; margin-top: 10px; }
.article-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr) 300px; gap: 48px; align-items: start; padding-top: 56px; }
.article-toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: .86rem; }
.article-toc h4 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 14px; }
.article-toc li { border-left: 2px solid var(--c-line); }
.article-toc li a { display: block; padding: 6px 14px; color: var(--c-muted); line-height: 1.35; transition: all .25s; }
.article-toc li.lvl-3 a { padding-left: 26px; font-size: .8rem; }
.article-toc li.is-active { border-color: var(--c-accent); }
.article-toc li.is-active a { color: var(--c-primary); font-weight: 600; }
.article-toc li a:hover { color: var(--c-primary); }
.progress-bar { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 95; background: transparent; pointer-events: none; }
.progress-bar i { display: block; height: 100%; width: 0; background: var(--c-accent); transform-origin: left; }
.prose { font-size: 1.08rem; line-height: 1.8; color: #1f2d44; }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); margin-top: 2.2em; margin-bottom: .6em; scroll-margin-top: 110px; }
.prose h3 { font-size: 1.32rem; margin-top: 1.8em; margin-bottom: .5em; scroll-margin-top: 110px; }
.prose h4 { font-size: 1.12rem; margin-top: 1.5em; }
.prose p { margin: 0 0 1.25em; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.25em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin: .4em 0; }
.prose li::marker { color: var(--c-accent); font-weight: 700; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(3,39,81,.3); }
.prose a:hover { text-decoration-color: var(--c-accent); }
.prose blockquote { margin: 1.8em 0; padding: 22px 28px; border-left: 4px solid var(--c-accent); background: var(--c-light); border-radius: 0 16px 16px 0; font-family: var(--ff-display); font-weight: 600; font-size: 1.15rem; color: var(--c-primary); }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose img { border-radius: 16px; margin: 1.5em auto; }
.prose figure { margin: 1.8em 0; }
.prose figcaption { font-size: .82rem; color: var(--c-muted); text-align: center; margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1.5em 0; }
.prose th, .prose td { padding: 12px 14px; border: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.prose th { background: var(--c-light); font-family: var(--ff-display); font-weight: 700; color: var(--c-primary); }
.prose pre { background: var(--c-deep); color: #fff; padding: 18px 22px; border-radius: 14px; overflow-x: auto; font-size: .9rem; }
.prose code { background: rgba(3,39,81,.07); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.prose pre code { background: none; padding: 0; }
.prose hr { border: 0; height: 1px; background: var(--c-line); margin: 2.5em 0; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 16px; margin: 1.5em 0; }
.prose .tc-callout { padding: 22px 26px; border-radius: 16px; background: rgba(3,39,81,.05); border: 1px solid rgba(3,39,81,.1); }
.prose .tc-callout--accent { background: rgba(228,23,27,.06); border-color: rgba(228,23,27,.2); }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--c-line); }
.article-tags a { padding: 7px 14px; border-radius: 999px; background: var(--c-light); font-size: .82rem; font-weight: 500; }
.article-tags a:hover { background: var(--c-primary); color: #fff; }
.share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.share span { font-size: .8rem; font-weight: 600; color: var(--c-muted); margin-right: 4px; }
.share a, .share button { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--c-line); background: #fff; display: grid; place-items: center; color: var(--c-primary); transition: all .25s; }
.share a:hover, .share button:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); transform: translateY(-2px); }
.share svg { width: 18px; height: 18px; }
.share--vertical { flex-direction: column; align-items: stretch; position: sticky; top: calc(var(--header-h) + 24px); }
.share--vertical a, .share--vertical button { width: 100%; }
.author-box { display: flex; gap: 18px; padding: 26px; border-radius: var(--radius-lg); background: var(--c-light); margin-top: 32px; }
.author-box__avatar { flex: none; width: 64px; height: 64px; border-radius: 20px; background: var(--c-primary); color: #fff; display: grid; place-items: center; font-family: var(--ff-display); font-weight: 800; font-size: 1.4rem; }
.author-box h4 { margin-bottom: 4px; }
.author-box p { font-size: .9rem; color: var(--c-muted); }
.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.prev-next a { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border-radius: 16px; border: 1px solid var(--c-line); background: #fff; color: var(--c-ink); transition: all .3s; }
.prev-next a:hover { border-color: var(--c-primary); transform: translateY(-3px); box-shadow: var(--shadow); }
.prev-next a span { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); font-weight: 600; }
.prev-next a b { font-family: var(--ff-display); color: var(--c-primary); line-height: 1.3; }
.prev-next a.next { text-align: right; align-items: flex-end; }
.related { margin-top: 70px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-cards { display: flex; flex-direction: column; gap: 14px; }
.contact-card { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--c-line); transition: all .3s; }
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-card__icon { flex: none; width: 46px; height: 46px; border-radius: 14px; background: rgba(3,39,81,.06); color: var(--c-primary); display: grid; place-items: center; }
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-card p { font-size: .9rem; color: var(--c-muted); }
.contact-card a { font-weight: 600; }
.card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-xl); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow); }

/* ---------- Conversion blocks inside content ---------- */
.tc-cta { display: flex; gap: 22px; align-items: center; padding: 28px 30px; border-radius: var(--radius-xl); background: linear-gradient(135deg, var(--c-primary), var(--c-deep)); color: #fff; margin: 2.2em 0; position: relative; overflow: hidden; }
.tc-cta::before { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(228,23,27,.38), transparent 68%); }
.tc-cta--carrier { background: linear-gradient(135deg, #b8121a, var(--c-accent) 60%, #7a0c11); }
.tc-cta--carrier::before { background: radial-gradient(circle, rgba(255,255,255,.35), transparent 70%); }
.tc-cta__mark { width: 72px; height: auto; flex: none; opacity: .95; position: relative; }
.tc-cta__body { position: relative; flex: 1; }
.tc-cta__body strong { display: block; font-family: var(--ff-display); font-size: 1.25rem; font-weight: 800; color: #fff; margin-bottom: 6px; line-height: 1.25; }
.tc-cta__body p { color: rgba(255,255,255,.8); font-size: .97rem; margin: 0 0 16px; line-height: 1.55; }
.tc-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.prose .tc-cta { margin: 2.2em 0; }
.prose .tc-cta__body p { margin-bottom: 16px; }
.prose .tc-inline-cta { padding: 14px 18px; border-left: 4px solid var(--c-accent); background: rgba(228,23,27,.06); border-radius: 0 12px 12px 0; font-weight: 500; }
@media (max-width: 640px) { .tc-cta { flex-direction: column; align-items: flex-start; padding: 22px; } .tc-cta__mark { width: 56px; } }

/* ---------- Legal / simple content ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.45rem; margin: 2em 0 .6em; }
.legal p, .legal li { color: #2b3950; }
.legal ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--c-primary); color: #fff; padding: clamp(64px, 8vw, 110px) 0; overflow: hidden; }
.cta-band__glow { position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(228,23,27,.3), transparent 62%); pointer-events: none; }
.cta-band__inner { position: relative; display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,.75); max-width: 560px; }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-deep); color: rgba(255,255,255,.8); padding: clamp(56px, 7vw, 90px) 0 30px; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent); }
.site-footer__grid { display: grid; grid-template-columns: 1.25fr 1.05fr .9fr .9fr 1.2fr; gap: 32px; }
.site-footer__tagline { margin: 22px 0 18px; font-size: .95rem; color: rgba(255,255,255,.7); max-width: 320px; }
.site-footer__contact { display: flex; flex-direction: column; gap: 6px; font-size: .9rem; margin-bottom: 20px; }
.site-footer__contact a { color: #fff; }
.site-footer__contact a:hover { color: #ffb3b5; }
.social { display: flex; gap: 8px; }
.social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #fff; border: 1px solid rgba(255,255,255,.1); transition: all .3s; }
.social a:hover { background: var(--c-accent); border-color: var(--c-accent); transform: translateY(-3px); }
.site-footer h3 { color: #fff; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.site-footer__col a { color: rgba(255,255,255,.72); font-size: .93rem; }
.site-footer__col a:hover { color: #fff; }
.site-footer__newsletter p { font-size: .9rem; color: rgba(255,255,255,.7); margin-bottom: 16px; }
.app-badge { margin-top: 22px; padding: 14px 18px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px dashed rgba(255,255,255,.2); display: flex; justify-content: space-between; align-items: center; font-size: .88rem; }
.app-badge__label { color: rgba(255,255,255,.55); }
.app-badge a { color: #fff; font-weight: 600; }
.site-footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .82rem; color: rgba(255,255,255,.5); }
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer__bottom a { color: rgba(255,255,255,.6); }
.site-footer__bottom a:hover { color: #fff; }
.site-footer__brandlink { color: rgba(255,255,255,.85); font-weight: 600; }
.site-footer__brandlink:hover { color: #fff; }
.site-footer__credit { display: block; text-align: center; margin-top: 18px; font-size: .82rem; color: rgba(255,255,255,.45); }
.site-footer__credit a { color: rgba(255,255,255,.75); font-weight: 600; }
.site-footer__credit a:hover { color: #ffb3b5; }

/* ---------- Floating UI ---------- */
.back-to-top { position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%; background: var(--c-primary); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); z-index: 80; opacity: 0; transform: translateY(20px); pointer-events: none; transition: all .4s var(--ease-out); }
.back-to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top:hover { background: var(--c-accent); }
.cursor-glow { position: fixed; left: 0; top: 0; width: 420px; height: 420px; border-radius: 50%; pointer-events: none; z-index: 1; background: radial-gradient(circle, rgba(31,90,166,.14), transparent 60%); transform: translate(-50%, -50%); opacity: 0; transition: opacity .5s; will-change: transform; }
body.has-cursor .cursor-glow { opacity: 1; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--c-deep); color: #fff; padding: 14px 22px; border-radius: 14px; box-shadow: var(--shadow-lg); z-index: 500; opacity: 0; pointer-events: none; transition: all .4s var(--ease-out); font-size: .92rem; max-width: 90vw; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast--success { border-left: 4px solid var(--c-success); }
.toast--error { border-left: 4px solid var(--c-accent); }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; } .mt-12 { margin-top: 48px; }
.mb-4 { margin-bottom: 16px; } .mb-6 { margin-bottom: 24px; } .mb-8 { margin-bottom: 32px; }
.text-center { text-align: center; }
.flex-center { display: flex; justify-content: center; }
.gap-3 { gap: 12px; }
.flex-wrap { flex-wrap: wrap; }
.muted { color: var(--c-muted); }
.small { font-size: .85rem; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; }
  .site-footer__newsletter { grid-column: 2 / -1; }
}
@media (max-width: 1100px) {
  .site-nav a { padding: 10px 10px; font-size: .9rem; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .article-toc, .article-toc-wrap { display: none; }
  .steps__line { display: none; }
}
@media (max-width: 960px) {
  :root { --header-h: 70px; }
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .site-header__actions .btn--ghost { display: none; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .hero__content { max-width: 100%; }
  .story__grid { grid-template-columns: 1fr; }
  .story__sticky { position: relative; top: 0; }
  .story__visual { max-height: 60vh; aspect-ratio: 4 / 3; }
  .story__steps { padding-top: 40px; gap: 48px; }
  .steps, .audience, .features, .quote-grid, .team { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .compare { grid-template-columns: 1fr; }
  .pricing-wrap { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: 1fr; }
  .mag-hero__grid { grid-template-columns: 1fr; }
  .featured-article { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr 1fr; }
  .mag-layout { grid-template-columns: 1fr; }
  .mag-sidebar { position: relative; top: 0; }
  .article-layout { grid-template-columns: 1fr; gap: 32px; }
  .share--vertical { position: relative; top: 0; flex-direction: row; }
  .share--vertical a, .share--vertical button { width: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-band__inner { grid-template-columns: 1fr; }
  .cta-band__actions { flex-direction: row; flex-wrap: wrap; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__newsletter { grid-column: 1 / -1; }
  .reg-choice { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .summary { grid-template-columns: 1fr; }
  .page-hero__visual { display: none; }
  .prev-next { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --gutter: 18px; }
  .btn { padding: 13px 20px; }
  .btn--lg { padding: 16px 24px; font-size: 1rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__trust { gap: 20px 24px; }
  .hero__stat b { font-size: 1.45rem; }
  .article-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer__bottom { flex-direction: column; }
  .cta-band__actions .btn { flex: 1 1 100%; }
  .wizard__nav { flex-direction: column-reverse; }
  .wizard__nav .btn { width: 100%; }
  .wizard__progress span em { display: none; }
  .pricing-table th:nth-child(4), .pricing-table td:nth-child(4) { display: none; }
  .announcement p { font-size: .78rem; }
  .cursor-glow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html.js .reveal, html.js .reveal-up, html.js .reveal-left, html.js .reveal-right, html.js .reveal-scale { opacity: 1; transform: none; }
  html.js .split-lines .line > span { transform: none; }
  .page-loader { display: none; }
}
@media print {
  .site-header, .mobile-menu, .cta-band, .site-footer, .back-to-top, .announcement, .share, .lead-box, .page-loader { display: none !important; }
  .article-hero { background: none; color: #000; margin: 0; padding: 0; }
  .article-hero h1 { color: #000; }
}
