/* =====================================================================
   Apollo Group — apollo.css
   Design system: deep navy + champagne gold
   ===================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --navy-950: #050F21;
  --navy-900: #07142B;
  --navy-800: #0B1E3D;
  --navy-700: #14294D;
  --navy-600: #1E3A66;

  --gold-600: #8A6B28;
  --gold-500: #B8913F;
  --gold-400: #C9A961;
  --gold-300: #DFC98F;
  --gold-200: #EFE2C0;

  --cream: #FAF7F1;
  --paper: #FFFFFF;
  --ink: #0A1628;
  --muted: #5B6577;
  --muted-2: #7A8496;
  --line: rgba(11, 30, 61, .11);
  --line-soft: rgba(11, 30, 61, .07);

  --shadow-sm: 0 1px 2px rgba(7, 20, 43, .05), 0 2px 8px rgba(7, 20, 43, .04);
  --shadow-md: 0 4px 12px rgba(7, 20, 43, .06), 0 12px 32px rgba(7, 20, 43, .07);
  --shadow-lg: 0 8px 24px rgba(7, 20, 43, .08), 0 28px 64px rgba(7, 20, 43, .12);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --header-h: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, p, ul, ol, figure { margin: 0; }
ul { list-style: none; padding: 0; }
::selection { background: var(--gold-400); color: var(--navy-900); }

:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 999;
  background: var(--gold-400); color: var(--navy-900);
  padding: 12px 20px; border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 700; transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

/* ---------- 3. Layout primitives ---------- */
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.wrap-narrow { width: min(880px, 100% - 40px); margin-inline: auto; }

.section { padding-block: clamp(72px, 9vw, 132px); position: relative; }
.section--cream { background: var(--cream); }
.section--paper { background: var(--paper); }

/* ---------- 4. Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .72rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold-600); margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--gold-500); opacity: .7;
}
.eyebrow--center::after {
  content: ""; width: 28px; height: 1px; background: var(--gold-500); opacity: .7;
}
.eyebrow--light { color: var(--gold-400); }
.eyebrow--light::before, .eyebrow--light::after { background: var(--gold-400); opacity: .55; }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "wght" 600, "SOFT" 24, "WONK" 0, "opsz" 90;
  letter-spacing: -.015em;
  line-height: 1.08;
  text-wrap: balance;
}

.h-xl {
  font-size: clamp(2.05rem, 6.4vw, 4.8rem); line-height: 1.03;
  font-variation-settings: "wght" 640, "SOFT" 28, "WONK" 0, "opsz" 144;
}
.h-lg { font-size: clamp(1.72rem, 3.8vw, 3.15rem); }
.h-md { font-size: clamp(1.5rem, 2.4vw, 2rem); }

.lead {
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.78; color: var(--muted); text-wrap: pretty;
}
.lead--light { color: rgba(255, 255, 255, .74); }

.section-head { text-align: center; max-width: 760px; margin-inline: auto; }
.section-head .lead { margin-top: 18px; }
.section-head h2 { color: var(--ink); }
.section-head--light h2 { color: #fff; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px;
  font-weight: 700; font-size: .92rem; letter-spacing: .01em;
  transition: transform .25s var(--ease), background-color .25s var(--ease),
              color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  will-change: transform; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0); }

.btn--gold {
  background: linear-gradient(135deg, #D8BC7C, var(--gold-400) 45%, #B98F3F);
  color: var(--navy-900);
  box-shadow: 0 6px 18px rgba(184, 145, 63, .32);
}
.btn--gold:hover { box-shadow: 0 12px 28px rgba(184, 145, 63, .42); }

.btn--ghost {
  background: rgba(255, 255, 255, .06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .55); }

.btn--navy { background: var(--navy-800); color: #fff; }
.btn--navy:hover { background: var(--navy-700); box-shadow: var(--shadow-md); }

.btn--sm { padding: 11px 20px; font-size: .84rem; }

/* ---------- 6. Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease),
              height .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; }

.brand { display: flex; align-items: center; flex: none; }
.brand img {
  height: 42px; width: auto;
  transition: height .35s var(--ease), filter .35s var(--ease);
  filter: brightness(0) invert(1);
}

.nav { margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; display: block; padding: 9px 14px; border-radius: 999px;
  font-size: .875rem; font-weight: 600; color: rgba(255, 255, 255, .82);
  transition: color .25s var(--ease), background-color .25s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 1.5px;
  background: var(--gold-400); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover { color: #fff; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: #fff; }

.header-tools { display: flex; align-items: center; gap: 14px; flex: none; }

.lang {
  display: flex; align-items: center; gap: 2px;
  padding: 4px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .24);
  transition: border-color .35s var(--ease), background-color .35s var(--ease);
}
.lang button {
  padding: 5px 11px; border-radius: 999px; font-size: .76rem; font-weight: 700;
  letter-spacing: .06em; color: rgba(255, 255, 255, .7);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.lang button:hover { color: #fff; }
.lang button[aria-pressed="true"] { background: var(--gold-400); color: var(--navy-900); }

.header-phone {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .85rem; font-weight: 700; color: #fff;
  padding: 10px 18px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .26);
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.header-phone svg { width: 15px; height: 15px; color: var(--gold-400); }
.header-phone:hover { background: var(--gold-400); border-color: var(--gold-400); color: var(--navy-900); }
.header-phone:hover svg { color: var(--navy-900); }

.burger {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, .24);
}
.burger span {
  display: block; width: 18px; height: 1.6px; background: #fff; border-radius: 2px;
  position: relative; transition: background-color .35s var(--ease);
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.6px;
  background: inherit; border-radius: 2px; transition: transform .3s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

/* scrolled state */
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 4px 24px rgba(7, 20, 43, .06);
  height: 72px;
}
.is-scrolled .brand img { filter: none; height: 36px; }
.is-scrolled .nav a { color: var(--muted); }
.is-scrolled .nav a:hover, .is-scrolled .nav a.is-active { color: var(--navy-900); }
.is-scrolled .lang { border-color: var(--line); }
.is-scrolled .lang button { color: var(--muted); }
.is-scrolled .lang button:hover { color: var(--navy-900); }
.is-scrolled .lang button[aria-pressed="true"] { background: var(--navy-800); color: #fff; }
.is-scrolled .header-phone { color: var(--navy-900); border-color: var(--line); }
.is-scrolled .header-phone svg { color: var(--gold-500); }
.is-scrolled .header-phone:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.is-scrolled .header-phone:hover svg { color: var(--gold-400); }
.is-scrolled .burger { border-color: var(--line); }
.is-scrolled .burger span { background: var(--navy-900); }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 120;
  background: var(--navy-900);
  display: flex; flex-direction: column; padding: 26px;
  overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s linear .4s;
}
.drawer.is-open {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s linear 0s;
}
.drawer nav a { opacity: 0; transform: translateY(14px); }
.drawer.is-open nav a { animation: drawerIn .5s var(--ease) forwards; }
.drawer.is-open nav a:nth-child(1) { animation-delay: .06s; }
.drawer.is-open nav a:nth-child(2) { animation-delay: .11s; }
.drawer.is-open nav a:nth-child(3) { animation-delay: .16s; }
.drawer.is-open nav a:nth-child(4) { animation-delay: .21s; }
.drawer.is-open nav a:nth-child(5) { animation-delay: .26s; }
.drawer.is-open nav a:nth-child(6) { animation-delay: .31s; }
.drawer.is-open nav a:nth-child(7) { animation-delay: .36s; }
@keyframes drawerIn { to { opacity: 1; transform: none; } }
.drawer-top { display: flex; align-items: center; justify-content: space-between; }
.drawer-top img { height: 38px; filter: brightness(0) invert(1); }
.drawer-close {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .2); color: #fff;
}
.drawer-close svg { width: 20px; height: 20px; }
.drawer nav { margin-top: 40px; }
.drawer nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 17px 4px; font-family: var(--font-display); font-size: 1.5rem;
  color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.drawer nav a svg { width: 18px; height: 18px; color: var(--gold-400); opacity: .55; }
.drawer-foot { margin-top: auto; padding-top: 32px; display: grid; gap: 14px; }
.drawer-foot .lang { justify-content: center; }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(620px, 94svh, 940px);
  display: grid; align-items: center;
  background: var(--navy-900);
  isolation: isolate; overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.1s var(--ease), transform 8s linear;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(5, 15, 33, .93) 0%, rgba(5, 15, 33, .74) 42%, rgba(5, 15, 33, .42) 100%),
    linear-gradient(to top, rgba(5, 15, 33, .92) 0%, rgba(5, 15, 33, 0) 45%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 80% at 80% 20%, rgba(201, 169, 97, .16), transparent 60%);
}

.hero-inner { position: relative; padding-top: var(--header-h); }
.hero-panel { max-width: 720px; }
.hero-num {
  font-family: var(--font-display); font-size: .95rem; color: var(--gold-400);
  letter-spacing: .1em; display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
}
.hero-num::after { content: ""; width: 54px; height: 1px; background: rgba(201, 169, 97, .5); }
.hero-title { color: #fff; margin-bottom: 26px; overflow-wrap: break-word; }
.hero-title em {
  font-style: italic;
  font-variation-settings: "wght" 600, "SOFT" 60, "WONK" 1, "opsz" 144;
  color: var(--gold-400);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-fade > * { opacity: 0; transform: translateY(26px); }
.hero-fade.is-in > * { animation: heroUp .85s var(--ease) forwards; }
.hero-fade.is-in > *:nth-child(1) { animation-delay: .05s; }
.hero-fade.is-in > *:nth-child(2) { animation-delay: .15s; }
.hero-fade.is-in > *:nth-child(3) { animation-delay: .27s; }
@keyframes heroUp { to { opacity: 1; transform: none; } }

.hero-controls {
  position: absolute; left: 0; right: 0; bottom: 122px; z-index: 3;
}
.hero-controls .wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.hero-dots { display: flex; gap: 14px; }
.hero-dots button {
  width: 62px; padding: 12px 0 0; text-align: left;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  color: rgba(255, 255, 255, .45);
  border-top: 2px solid rgba(255, 255, 255, .22);
  position: relative; transition: color .3s var(--ease);
}
.hero-dots button::before {
  content: ""; position: absolute; top: -2px; left: 0; height: 2px; width: 0;
  background: var(--gold-400);
}
.hero-dots button[aria-current="true"] { color: #fff; }
.hero-dots button[aria-current="true"]::before { width: 100%; transition: width 6.5s linear; }
.hero-arrows { display: flex; gap: 10px; }
.hero-arrows button {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  border: 1px solid rgba(255, 255, 255, .26);
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.hero-arrows button:hover { background: var(--gold-400); border-color: var(--gold-400); color: var(--navy-900); }
.hero-arrows svg { width: 18px; height: 18px; }


/* ---------- 8. Service strip ---------- */
.strip { position: relative; z-index: 5; margin-top: -78px; }
.strip-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.strip-card {
  background: var(--paper); padding: 34px 28px 30px;
  display: flex; flex-direction: column; gap: 16px;
  transition: background-color .35s var(--ease), transform .35s var(--ease);
  position: relative;
}
.strip-card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-500));
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.strip-card:hover { background: var(--navy-900); }
.strip-card:hover::after { transform: scaleX(1); }
.strip-icon {
  width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center;
  background: rgba(201, 169, 97, .13); color: var(--gold-500);
  border: 1px solid rgba(201, 169, 97, .3);
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.strip-icon svg { width: 24px; height: 24px; }
.strip-card:hover .strip-icon { background: rgba(201, 169, 97, .18); border-color: rgba(201, 169, 97, .5); color: var(--gold-400); }
.strip-name {
  font-family: var(--font-display); font-size: 1.22rem; color: var(--ink);
  transition: color .35s var(--ease);
}
.strip-card:hover .strip-name { color: #fff; }
.strip-go {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-600); transition: color .35s var(--ease), gap .25s var(--ease);
}
.strip-card:hover .strip-go { color: var(--gold-400); gap: 13px; }
.strip-go svg { width: 15px; height: 15px; }

/* ---------- 9. About ---------- */
.about-grid {
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(40px, 6vw, 96px); align-items: start;
}
.about-aside { position: sticky; top: calc(var(--header-h) + 40px); }
.about-mark {
  width: 96px; opacity: .1; margin-bottom: 28px;
}
.about-body p {
  font-size: clamp(1.05rem, 1.35vw, 1.28rem); line-height: 1.82;
  color: #37414F; text-wrap: pretty;
}
.about-rule {
  width: 64px; height: 3px; border-radius: 2px; margin-top: 34px;
  background: linear-gradient(90deg, var(--gold-400), transparent);
}

/* ---------- 10. Cards (finance) ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }

.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 34px;
  display: flex; gap: 22px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(201, 169, 97, .45); }
.card-icon {
  flex: none; width: 58px; height: 58px; border-radius: 17px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-600));
  color: var(--gold-400);
  box-shadow: 0 8px 20px rgba(11, 30, 61, .18);
}
.card-icon svg { width: 27px; height: 27px; }
.card h3 { font-size: 1.22rem; margin-bottom: 10px; color: var(--ink); }
.card p { color: var(--muted); font-size: .96rem; line-height: 1.72; }

/* ---------- 11. Bank marquee ---------- */
.marquee-wrap {
  padding-block: clamp(44px, 5vw, 68px);
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  background: var(--paper);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee { display: flex; width: max-content; animation: slide 38s linear infinite; }
.marquee-wrap:hover .marquee { animation-play-state: paused; }
.marquee-set { display: flex; align-items: center; gap: clamp(48px, 6vw, 92px); padding-right: clamp(48px, 6vw, 92px); }
.marquee img {
  height: 42px; width: auto; object-fit: contain;
  filter: grayscale(1) contrast(1.05); opacity: .58;
  mix-blend-mode: multiply;
  transition: filter .35s var(--ease), opacity .35s var(--ease);
}
.marquee img:hover { filter: none; opacity: 1; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- 12. Dark section (legal) ---------- */
.section--dark {
  background: var(--navy-900); color: #fff; position: relative; overflow: hidden;
}
.section--dark .lead { color: rgba(255, 255, 255, .72); }
.dark-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center; opacity: .16;
}
.section--dark::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, var(--navy-900) 0%, rgba(7, 20, 43, .82) 40%, var(--navy-900) 100%),
    radial-gradient(90% 60% at 15% 0%, rgba(201, 169, 97, .14), transparent 62%);
}
.section--dark > .wrap { position: relative; z-index: 2; }

.panel {
  border: 1px solid rgba(255, 255, 255, .13); border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .02));
  backdrop-filter: blur(8px);
  padding: 38px 32px 34px; position: relative; overflow: hidden;
  transition: border-color .4s var(--ease), transform .4s var(--ease), background-color .4s var(--ease);
}
.panel:hover { border-color: rgba(201, 169, 97, .5); transform: translateY(-4px); }
.panel-num {
  font-family: var(--font-display); font-size: 2.6rem; line-height: 1;
  color: rgba(201, 169, 97, .34); margin-bottom: 20px;
}
.panel h3 {
  font-size: 1.16rem; line-height: 1.42; color: #fff; font-weight: 600;
}
.panel-icon { position: absolute; right: -18px; bottom: -18px; color: rgba(255, 255, 255, .05); }
.panel-icon svg { width: 118px; height: 118px; }

/* ---------- 13. Split (entrepreneurship) ---------- */
.split {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 6vw, 84px); align-items: center;
}
.split-media { position: relative; isolation: isolate; }
.split-media img {
  position: relative; z-index: 1;
  border-radius: var(--r-lg); width: 100%; height: auto;
  aspect-ratio: 16 / 9; object-fit: cover; box-shadow: var(--shadow-lg);
}
.split-media::before {
  content: ""; position: absolute; inset: 28px -28px -28px 28px; z-index: 0;
  border: 1px solid var(--gold-400); border-radius: var(--r-lg);
}
.split-badge {
  position: absolute; z-index: 2; left: -26px; bottom: -30px;
  background: var(--navy-900); color: #fff; border-radius: var(--r-md);
  padding: 22px 28px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 16px;
}
.split-badge svg { width: 30px; height: 30px; color: var(--gold-400); flex: none; }
.split-badge span {
  font-family: var(--font-display); font-size: 1.16rem; line-height: 1.28;
  font-variation-settings: "wght" 600, "SOFT" 24, "opsz" 60;
}
.split-body .lead { margin-top: 18px; }
.split-body .btn { margin-top: 32px; }

/* ---------- 14. Cars ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 40px; }
.filters button {
  padding: 11px 22px; border-radius: 999px; font-size: .86rem; font-weight: 700;
  color: var(--muted); border: 1px solid var(--line); background: var(--paper);
  transition: all .25s var(--ease);
}
.filters button:hover { color: var(--navy-900); border-color: var(--gold-400); }
.filters button[aria-pressed="true"] {
  background: var(--navy-900); color: #fff; border-color: var(--navy-900);
}

.cars-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin-top: 40px;
}
.car {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), opacity .35s var(--ease);
}
.car:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.car.is-hidden { display: none; }
.car-media {
  position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #E9EBEF;
  cursor: zoom-in;
}
.car-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.car-media img + img { opacity: 0; }
.car:hover .car-media img { transform: scale(1.05); }
.car:hover .car-media img + img { opacity: 1; }
.car-tag {
  position: absolute; z-index: 2; left: 14px; top: 14px;
  padding: 6px 13px; border-radius: 999px; font-size: .7rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  background: rgba(7, 20, 43, .78); color: var(--gold-400);
  backdrop-filter: blur(6px);
}
.car-zoom {
  position: absolute; z-index: 2; right: 14px; bottom: 14px;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .92); color: var(--navy-900);
  opacity: 0; transform: translateY(8px); transition: all .35s var(--ease);
}
.car-zoom svg { width: 17px; height: 17px; }
.car:hover .car-zoom { opacity: 1; transform: none; }
.car-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.car-body h3 { font-size: 1.24rem; color: var(--ink); }
.specs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.spec {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: 999px; background: var(--cream);
  border: 1px solid var(--line-soft);
  font-size: .78rem; font-weight: 600; color: var(--muted);
}
.spec svg { width: 14px; height: 14px; color: var(--gold-500); flex: none; }
.cars-empty {
  grid-column: 1 / -1; text-align: center; padding: 56px 20px;
  border: 1px dashed var(--line); border-radius: var(--r-lg); color: var(--muted-2);
}
.cars-empty svg { width: 34px; height: 34px; color: var(--gold-400); margin: 0 auto 14px; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(5, 15, 33, .95); backdrop-filter: blur(8px);
  place-items: center; padding: 24px;
}
.lightbox.is-open { display: grid; animation: fade .3s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.lightbox img {
  max-width: min(1100px, 92vw); max-height: 84vh; width: auto;
  border-radius: var(--r-md); box-shadow: 0 40px 90px rgba(0, 0, 0, .5);
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  border: 1px solid rgba(255, 255, 255, .26);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  background: var(--gold-400); color: var(--navy-900); border-color: var(--gold-400);
}
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; margin-top: -25px; }
.lightbox-next { right: 24px; top: 50%; margin-top: -25px; }
.lightbox svg { width: 20px; height: 20px; }

/* ---------- 15. Contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(36px, 5vw, 72px); align-items: start; margin-top: 56px;
}
.contact-info { display: grid; gap: 14px; margin-top: 30px; }
.contact-info li {
  display: flex; align-items: center; gap: 15px;
  padding: 17px 20px; border-radius: var(--r-md);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  font-size: .97rem; font-weight: 500; color: rgba(255, 255, 255, .9);
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.contact-info li:hover { border-color: rgba(201, 169, 97, .4); background: rgba(255, 255, 255, .07); }
.contact-info svg { width: 19px; height: 19px; color: var(--gold-400); flex: none; }
.contact-info a:hover { color: var(--gold-400); }

.form-card {
  background: var(--paper); border-radius: var(--r-lg);
  padding: clamp(28px, 3.4vw, 44px); box-shadow: var(--shadow-lg);
}
.field { margin-bottom: 18px; }
.field label {
  display: block; font-size: .78rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--muted-2); margin-bottom: 9px;
}
.field-input { position: relative; }
.field-input svg {
  position: absolute; left: 17px; top: 18px; width: 17px; height: 17px;
  color: var(--muted-2); pointer-events: none; transition: color .25s var(--ease);
}
.field input, .field textarea {
  width: 100%; padding: 15px 17px 15px 46px;
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--cream); font-size: .96rem;
  transition: border-color .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { min-height: 138px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--gold-400); background: var(--paper);
  box-shadow: 0 0 0 4px rgba(201, 169, 97, .14);
}
.field input:focus + svg, .field textarea:focus + svg { color: var(--gold-500); }
.field input::placeholder, .field textarea::placeholder { color: #A6AEBC; }
.form-message { font-size: .9rem; color: var(--muted); min-height: 1.2em; }
.form-card .btn { width: 100%; margin-top: 8px; }

/* ---------- 16. Footer ---------- */
.footer { background: var(--navy-950); color: rgba(255, 255, 255, .62); }
.footer-top {
  padding-block: clamp(44px, 5vw, 64px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 28px;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.footer-top img { height: 46px; filter: brightness(0) invert(1); opacity: .92; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.footer-nav a { font-size: .89rem; font-weight: 600; color: rgba(255, 255, 255, .62); transition: color .25s var(--ease); }
.footer-nav a:hover { color: var(--gold-400); }
.footer-bottom {
  padding-block: 26px; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 16px; font-size: .84rem;
}
.footer-credit { display: inline-flex; align-items: center; gap: 9px; transition: color .25s var(--ease); }
.footer-credit:hover { color: #fff; }
.footer-credit img { height: 26px; width: auto; filter: none; opacity: .85; }

/* ---------- 17. Cookie bar + back to top ---------- */
.cookiebar {
  position: fixed; left: 22px; bottom: 22px; z-index: 140;
  width: min(430px, calc(100vw - 44px));
  background: var(--navy-900); color: rgba(255, 255, 255, .8);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-lg); padding: 20px 22px;
  box-shadow: 0 24px 60px rgba(5, 15, 33, .45);
  transform: translateY(140%); transition: transform .55s var(--ease);
}
.cookiebar.is-shown { transform: none; }
.cookiebar p { font-size: .795rem; line-height: 1.58; margin-bottom: 16px; }
.cookiebar .btn { width: 100%; }

.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 130;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy-900); color: var(--gold-400);
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .35s var(--ease);
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold-400); color: var(--navy-900); }
.to-top svg { width: 19px; height: 19px; }

/* ---------- 18. Reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .09s; }
.reveal-d2 { transition-delay: .18s; }
.reveal-d3 { transition-delay: .27s; }
.reveal-d4 { transition-delay: .36s; }

/* ---------- 19. Language visibility ---------- */
[data-lang] { display: none; }
html[lang="cs"] [data-lang="cs"],
html[lang="en"] [data-lang="en"] { display: revert; }

/* ---------- 20. Responsive ---------- */
@media (max-width: 1080px) {
  .nav, .header-phone { display: none; }
  .burger { display: flex; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .strip { margin-top: -56px; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .about-grid, .split, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .about-aside { position: static; }
  .grid-2, .grid-3, .cars-grid { grid-template-columns: minmax(0, 1fr); }
  .split-media::before { inset: 18px -18px -18px 18px; }
  .split-badge { left: 12px; bottom: -18px; }
  .hero-controls .wrap { flex-direction: column; align-items: flex-start; gap: 18px; }
}

@media (max-width: 640px) {
  .wrap, .wrap-narrow { width: calc(100% - 32px); }
  .strip-grid { grid-template-columns: 1fr; }
  .strip { margin-top: -40px; }
  .strip-card {
    flex-direction: row; align-items: center; gap: 16px;
    padding: 18px 20px;
  }
  .strip-icon { width: 42px; height: 42px; border-radius: 12px; }
  .strip-icon svg { width: 21px; height: 21px; }
  .strip-name { font-size: 1.08rem; flex: 1; }
  .strip-go { margin: 0; font-size: 0; gap: 0; }
  .strip-go svg { width: 17px; height: 17px; }
  .hero-controls { bottom: 84px; }
  .card { flex-direction: column; gap: 18px; padding: 28px; }
  .hero-dots button { width: 42px; font-size: .68rem; }
  .cookiebar { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 20px; }
  .to-top { display: none; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .lightbox-prev { left: 10px; } .lightbox-next { right: 10px; }
  .lightbox-close { top: 12px; right: 12px; }
}

/* ---------- 21. Motion / print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal, .hero-fade > *, .drawer.is-open nav a { opacity: 1 !important; transform: none !important; }
  .marquee { animation: none; }
}

@media print {
  .site-header, .hero-controls, .to-top, .cookiebar, .drawer { display: none !important; }
  body { background: #fff; }
}
