/* ==========================================================================
   Zeus Group — shared stylesheet
   Design reference: zeus-ai.net (dark navy canvas, royal-blue actions,
   gold step numerals, condensed display headings, Inter body text)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Cabin+Condensed:wght@400;500;600;700&display=swap');

/* ---------- 1. Design tokens ---------- */
:root {
  --bg: #0d111b;            /* page canvas */
  --bg-raised: #131a28;     /* hover / raised surfaces */
  --line: rgba(255, 255, 255, 0.16);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --text-muted: #c3c8d3;
  --text-dim: #8d94a3;
  --blue: #1d4ab8;          /* primary buttons, active nav pill */
  --blue-hover: #2a5fe0;
  --blue-card: #0e3ea8;     /* process step cards */
  --blue-title: #2c52b3;    /* ambition list titles */
  --gold: #f4c534;          /* step numerals */
  --gold-line: #c9a23a;     /* log-in outline */

  --font-display: "Barlow Semi Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1140px;
  --gutter: 20px;
  --radius: 6px;
  --header-h: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
}
p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue-hover); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--blue); padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

/* Media helper: an <img> used as a covering background */
.cover-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}

/* ---------- 3. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 12px; font-weight: 600; line-height: 1;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 12px; height: 12px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-hover); }
.btn--outline-gold { border: 1px solid var(--gold-line); color: #fff; padding: 10px 16px; }
.btn--outline-gold:hover { background: rgba(201, 162, 58, .12); }
.btn--lg { padding: 12px 22px; font-size: 13px; }

/* ---------- 4. Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), height .3s var(--ease);
}
.site-header.is-scrolled {
  --header-h: 70px;
  background: rgba(13, 17, 27, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line-soft);
}
.site-header .container {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand img { height: 52px; width: auto; transition: height .3s var(--ease); }
.is-scrolled .brand img { height: 44px; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav__list { display: flex; align-items: center; gap: 6px; }
.nav__link {
  display: block; padding: 5px 12px; border-radius: 3px;
  font-size: 12px; color: #e6e9ef;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav__link:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav__link.is-active { background: var(--blue); color: #fff; }
.nav__actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 4px;
  align-items: center; justify-content: center; border: 1px solid var(--line);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: #fff; position: relative;
  transition: transform .3s var(--ease), background-color .3s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 5. Shared section scaffolding ---------- */
.section { padding: 110px 0; }
.section--tight { padding: 70px 0; }
.section-head { max-width: 900px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 48px); }
.section-head p { margin-top: 18px; color: #e8ebf0; font-size: 16px; }
.h2 { font-size: clamp(30px, 3.6vw, 44px); }

/* Reveal on scroll (script adds .is-visible) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 6. Home hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; isolation: isolate;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(13,17,27,.55) 0%, rgba(13,17,27,.25) 35%, rgba(13,17,27,.55) 75%, var(--bg) 100%);
}
.hero .cover-img { z-index: -2; }
.hero__content {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: calc(var(--header-h) + 60px) var(--gutter) 40px;
}
.hero__title {
  font-size: clamp(34px, 5.2vw, 64px);
  text-shadow: 0 2px 30px rgba(0, 0, 0, .45);
  max-width: 900px;
}
.hero__content .btn { margin-top: 26px; }
.hero__stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding-bottom: 44px; text-align: center;
}
.hero__stats h3 { font-family: var(--font-body); font-size: 20px; letter-spacing: -0.01em; font-weight: 600; }
.hero__stats p { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

/* ---------- 7. Feature strip (4 columns with vertical rules) ---------- */
.features {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 28px 0 40px;
}
.feature {
  padding: 8px 18px 16px;
  border-left: 1px solid var(--line);
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.feature:last-child { border-right: 1px solid var(--line); }
.feature img { width: 64px; height: 64px; object-fit: contain; margin-bottom: 18px; transition: transform .4s var(--ease); }
.feature:hover img { transform: translateY(-4px); }
.feature h3 { font-size: 24px; margin-bottom: 14px; }
.feature p { font-size: 13px; color: #e2e5ea; line-height: 1.75; }

/* ---------- 8. "For ambitious investors" — interactive image switcher ---------- */
.ambition__grid {
  display: grid; grid-template-columns: 1.02fr .98fr; gap: 72px; align-items: center;
  max-width: 1200px; margin: 0 auto;
}
.ambition__media {
  position: relative; aspect-ratio: 718 / 478; border-radius: 8px; overflow: hidden;
  background: var(--bg-raised);
}
.ambition__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.04);
  transition: opacity .7s var(--ease), transform 1.2s var(--ease);
}
.ambition__media img.is-active { opacity: 1; transform: scale(1); }

.ambition__list { display: flex; flex-direction: column; gap: 22px; }
.ambition__item { position: relative; }
.ambition__trigger {
  display: block; width: 100%; text-align: left;
  padding: 6px 0 6px 24px;
  position: relative;
}
/* square bullet for inactive items */
.ambition__trigger::before {
  content: ""; position: absolute; left: 1px; top: 50%;
  width: 5px; height: 5px; margin-top: -2px; background: #fff;
  transition: opacity .3s var(--ease);
}
.ambition__trigger h5 {
  font-size: clamp(22px, 2.2vw, 28px); color: var(--blue-title);
  transition: color .3s var(--ease);
}
.ambition__trigger:hover h5, .ambition__trigger:focus-visible h5 { color: #3f6ae0; }
.ambition__panel {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .5s var(--ease);
}
.ambition__panel > div { overflow: hidden; }
.ambition__panel p {
  padding: 12px 0 6px 24px; max-width: 380px;
  font-size: 15px; line-height: 1.6; color: #e8ebf0;
}
/* active item: vertical white rule replaces the bullet, description opens */
.ambition__item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: #fff; transform: scaleY(0); transform-origin: top;
  transition: transform .5s var(--ease);
}
.ambition__item.is-active::before { transform: scaleY(1); }
.ambition__item.is-active .ambition__trigger::before { opacity: 0; }
.ambition__item.is-active .ambition__panel { grid-template-rows: 1fr; }

/* ---------- 9. About split (image + copy + counters) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.split__media { position: relative; aspect-ratio: 520 / 485; overflow: hidden; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body h2 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 18px; }
.split__body > p { font-size: 13.5px; color: #e2e5ea; line-height: 1.8; }
.split__body > p + p { margin-top: 14px; }
.split__body strong { color: #fff; }
.counters { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 40px; margin: 30px 0 22px; padding-left: 8px; }
.counter__num {
  font-family: var(--font-display); font-size: clamp(44px, 4.4vw, 56px); font-weight: 500;
  letter-spacing: -0.02em; line-height: 1;
}
.counter__label {
  font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; margin-top: 10px; color: #e2e5ea;
}

/* ---------- 10. Services grid ---------- */
.services {
  display: grid; grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
}
.service {
  grid-column: span 2; position: relative;
  padding: 26px 26px 76px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background-color .35s var(--ease);
}
.service:nth-child(3) { border-right: 0; }
.service:nth-child(n+4) { grid-column: span 3; border-bottom: 0; }
.service:nth-child(5) { border-right: 0; }
.service:hover { background: var(--bg-raised); }
.service__icon { width: 44px; height: 44px; color: #cfd4de; margin-bottom: 16px; }
.service h3 { font-size: clamp(24px, 2.2vw, 30px); margin-bottom: 14px; }
.service p { font-size: 13px; color: #e2e5ea; line-height: 1.75; max-width: 420px; }
.service__arrow {
  position: absolute; right: 22px; bottom: 22px;
  width: 36px; height: 30px; border-radius: 3px; background: var(--blue);
  display: grid; place-items: center;
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.service__arrow svg { width: 12px; height: 12px; }
.service:hover .service__arrow { background: var(--blue-hover); transform: translate(2px, -2px); }

/* ---------- 11. Process (blue step cards overlapping a photo) ---------- */
.process { position: relative; display: grid; grid-template-columns: 47% 6% 47%; align-items: center; }
.process__media {
  grid-column: 2 / 4; grid-row: 1; aspect-ratio: 540 / 565; position: relative; overflow: hidden;
}
.process__media img { width: 100%; height: 100%; object-fit: cover; }
.process__steps {
  grid-column: 1 / 3; grid-row: 1; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.process__steps .step {
    background: #1d4ab8;
    border-radius: 10px;
}
/* .step {
  background: var(--blue-card); text-align: center;
  padding: 28px 20px 22px; min-height: 205px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: transform .35s var(--ease), background-color .35s var(--ease);
} */
.step:hover { transform: translateY(-4px);  }
.step__num { font-family: var(--font-display); font-size: 44px; font-weight: 600; color: var(--gold); letter-spacing: 0; }
.step h3 { font-size: 30px; margin: 12px 0 14px; }
.step p { font-size: 13px; line-height: 1.7; color: #e8ecf5; max-width: 220px; }

/* ---------- 12. CTA banner ---------- */
.cta {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 470px; display: flex; align-items: center; padding: 90px 0;
}
.cta .cover-img { z-index: -2; }
.cta::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(13,17,27,.82) 0%, rgba(13,17,27,.6) 45%, rgba(13,17,27,.35) 100%);
}
.cta h2 { font-size: clamp(32px, 4vw, 46px); max-width: 620px; }
.cta p { font-size: 14px; max-width: 480px; margin: 16px 0 24px; color: #eef0f4; line-height: 1.75; }

/* ---------- 13. FAQ teaser ---------- */
.faq-teaser { display: grid; grid-template-columns: 1fr 1.55fr; gap: 40px; align-items: center; }
.faq-teaser h2 { font-size: clamp(32px, 3.6vw, 46px); }
.faq-teaser__intro p { margin: 18px 0 38px; font-size: 13.5px; color: #e2e5ea; max-width: 360px; line-height: 1.75; }
.question-card {
  background: #fff; color: #11141b; border-radius: 3px;
  text-align: center; padding: 26px 20px 28px;
}
.question-card h3 { font-size: 28px; margin-bottom: 18px; }
.faq-teaser__media { aspect-ratio: 595 / 368; overflow: hidden; }
.faq-teaser__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 14. Inner page hero ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--header-h) + 90px) 0 90px; text-align: center;
}
.page-hero .cover-img { z-index: -2; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(13,17,27,.72), rgba(13,17,27,.78) 70%, var(--bg));
}
.page-hero h1 { font-size: clamp(40px, 5.5vw, 68px); }
.breadcrumb { margin-top: 14px; font-size: 13px; color: var(--text-muted); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { margin: 0 8px; opacity: .6; }

/* ---------- 15. About page extras ---------- */
.expertise { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.expertise__copy p { font-size: 14px; color: #e2e5ea; line-height: 1.8; }
.expertise__copy p + p { margin-top: 16px; }
.expertise__copy strong { color: #fff; }
.expertise__list { border-top: 1px solid var(--line); }
.expertise__list li { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 40px 1fr; gap: 12px; }
.expertise__list svg { width: 26px; height: 26px; color: #6f93ff; margin-top: 3px; }
.expertise__list h3 { font-size: 22px; margin-bottom: 6px; }
.expertise__list p { font-size: 13px; color: #d5d9e1; line-height: 1.7; }

.advantages { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.advantages__intro p { margin-top: 18px; font-size: 14px; color: #e2e5ea; line-height: 1.8; }
.check-list li {
  position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line-soft);
  font-size: 14px; color: #e8ebf0;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 17px; width: 18px; height: 18px; border-radius: 3px;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/11px no-repeat;
}
.mission {
  border: 1px solid var(--line); border-radius: 4px; padding: 56px; text-align: center;
  max-width: 900px; margin: 0 auto;
}
.mission p { margin: 20px auto 0; max-width: 720px; font-size: 15px; line-height: 1.85; color: #e2e5ea; }
.mission strong { color: #fff; }
.mission h5 { margin-top: 28px; font-size: 20px; color: var(--gold); letter-spacing: -0.01em; }

/* ---------- 16. Account types ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 6px; padding: 32px 28px 30px;
  transition: transform .35s var(--ease), border-color .35s var(--ease), background-color .35s var(--ease);
}
.plan:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.3); background: var(--bg-raised); }
.plan__name { font-size: 26px; }
.plan__price {
  font-family: var(--font-display); font-weight: 500; font-size: 46px; letter-spacing: -0.02em;
  margin: 10px 0 4px; line-height: 1;
}
.plan__price--text { font-size: 30px; }
.plan__note { font-size: 12px; color: var(--text-dim); }
.plan .btn { justify-content: center; margin: 22px 0 26px; padding: 12px 16px; }
.plan h4 { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--text-dim); margin-bottom: 12px; }
.plan ul li {
  position: relative; padding: 7px 0 7px 24px; font-size: 13.5px; color: #e2e5ea; line-height: 1.5;
}
.plan ul li::before {
  content: ""; position: absolute; left: 0; top: 11px; width: 13px; height: 13px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f93ff' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/contain no-repeat;
}
/* "Most popular" plan: solid blue card with gold badge */
.plan--featured { background: var(--blue-card); border-color: var(--blue-card); }
.plan--featured:hover { background: #1247bd; border-color: #1247bd; }
.plan--featured .plan__note, .plan--featured h4 { color: #c5d3f5; }
.plan--featured ul li { color: #fff; }
.plan--featured ul li::before { filter: brightness(0) invert(1); }
.plan--featured .btn--primary { background: #fff; color: var(--blue-card); }
.plan--featured .btn--primary:hover { background: #e6ecfb; }
.plan__badge {
  position: absolute; top: -12px; right: 22px;
  background: var(--gold); color: #1a1403; font-size: 11px; font-weight: 700;
  padding: 5px 12px; border-radius: 3px;
}

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; margin-top: 30px; }
.compare { width: 100%; border-collapse: collapse; min-width: 860px; font-size: 13.5px; }
.compare th, .compare td { padding: 15px 16px; text-align: center; border-bottom: 1px solid var(--line-soft); }
.compare thead th {
  font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -0.02em;
  background: var(--bg-raised); position: sticky; top: 0;
}
.compare tbody th { text-align: left; font-weight: 500; color: #e2e5ea; }
.compare td { color: #d5d9e1; }
.compare .is-featured { background: rgba(14, 62, 168, .28); color: #fff; }
.compare thead .is-featured { background: var(--blue-card); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.yes { color: #6f93ff; font-weight: 700; }
.no { color: var(--text-dim); }
.fine-print { margin-top: 18px; font-size: 12px; color: var(--text-dim); line-height: 1.7; }

/* ---------- 17. FAQ accordion ---------- */
.faq-layout { display: grid; grid-template-columns: 280px 1fr; gap: 60px; align-items: start; }
.faq-aside { position: sticky; top: 100px; }
.faq-aside h2 { font-size: clamp(30px, 3vw, 40px); }
.faq-aside p { margin: 16px 0 26px; font-size: 13.5px; color: #e2e5ea; line-height: 1.75; }
.faq-cats { display: flex; flex-direction: column; gap: 4px; margin-bottom: 28px; }
.faq-cats a { padding: 8px 12px; border-left: 2px solid var(--line); font-size: 13px; color: var(--text-muted); transition: color .2s, border-color .2s; }
.faq-cats a:hover, .faq-cats a.is-active { color: #fff; border-color: #fff; }

.faq-group + .faq-group { margin-top: 56px; }
.faq-group > h3 { font-size: 28px; margin-bottom: 18px; scroll-margin-top: 110px; }
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-trigger {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 4px; text-align: left; font-size: 16px; font-weight: 500;
  transition: color .2s var(--ease);
}
.acc-trigger:hover { color: #9db4ff; }
.acc-icon {
  flex: none; width: 30px; height: 30px; border-radius: 3px; background: var(--blue);
  position: relative; transition: background-color .3s var(--ease), transform .4s var(--ease);
}
.acc-icon::before, .acc-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: #fff;
  transition: transform .4s var(--ease);
}
.acc-icon::after { transform: rotate(90deg); }
.acc-item.is-open .acc-icon { background: var(--gold); }
.acc-item.is-open .acc-icon::before, .acc-item.is-open .acc-icon::after { background: #1a1403; }
.acc-item.is-open .acc-icon::after { transform: rotate(0deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-body { padding: 0 60px 22px 4px; font-size: 14px; color: #d8dce4; line-height: 1.8; }
.acc-body p + p { margin-top: 12px; }
.acc-body strong { color: #fff; }

/* ---------- 18. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.contact-media { position: relative; min-height: 420px; border-radius: 6px; overflow: hidden; }
.contact-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.contact-form { border: 1px solid var(--line); border-radius: 6px; padding: 36px; }
.contact-form h2 { font-size: 34px; margin-bottom: 8px; }
.contact-form > p { font-size: 13.5px; color: var(--text-muted); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12.5px; font-weight: 500; margin-bottom: 7px; color: #e2e5ea; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 4px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line); color: #fff;
  font: inherit; font-size: 14px; transition: border-color .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue-hover); background: rgba(255,255,255,.07); }
.field.has-error input, .field.has-error textarea { border-color: #ff6b6b; }
.field__error { display: none; margin-top: 6px; font-size: 12px; color: #ff8a8a; }
.field.has-error .field__error { display: block; }
.form-status { margin-top: 14px; font-size: 13.5px; padding: 12px 14px; border-radius: 4px; display: none; }
.form-status.is-success { display: block; background: rgba(46, 160, 90, .15); border: 1px solid rgba(46,160,90,.5); color: #b8f0cb; }

.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.contact-card { border: 1px solid var(--line); border-radius: 6px; padding: 26px; transition: background-color .3s var(--ease); }
.contact-card:hover { background: var(--bg-raised); }
.contact-card svg { width: 30px; height: 30px; color: #6f93ff; margin-bottom: 14px; }
.contact-card h3 { font-size: 22px; margin-bottom: 6px; }
.contact-card p, .contact-card a { font-size: 14px; color: #d8dce4; }
.contact-card a:hover { color: #fff; }
.map { margin-top: 40px; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 6; min-height: 280px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) hue-rotate(180deg) contrast(.9); }

/* ---------- 19. Legal pages ---------- */
.legal { max-width: 860px; margin: 0 auto; }
.legal h5 { font-size: 24px; margin: 38px 0 12px; }
.legal h5:first-child { margin-top: 0; }
.legal p, .legal li { font-size: 14.5px; color: #d8dce4; line-height: 1.85; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 10px 0; }
.legal ul li { position: relative; padding-left: 18px; }
.legal ul li::before { content: ""; position: absolute; left: 0; top: 12px; width: 5px; height: 5px; background: #fff; }
.legal strong { color: #fff; }
.legal__updated { font-size: 13px; color: var(--text-dim); margin-bottom: 30px; }

/* ---------- 20. Footer ---------- */
.site-footer { padding-top: 60px; }
.footer__lead { text-align: center; font-size: clamp(24px, 2.4vw, 30px); padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.footer__grid {
  display: grid; grid-template-columns: 1.4fr .7fr 1.2fr 1.3fr; gap: 30px; padding: 40px 0 44px;
}
.footer__brand img { width: 190px; height: auto; }
.footer__brand p { margin-top: 18px; font-size: 13px; color: #e2e5ea; max-width: 230px; line-height: 1.6; }
.footer__col h4 { font-size: 22px; margin-bottom: 18px; }
.footer__links li { position: relative; padding-left: 12px; margin-bottom: 9px; }
.footer__links li::before { content: ""; position: absolute; left: 0; top: 9px; width: 3px; height: 3px; border-radius: 50%; background: var(--text-dim); }
.footer__links a { font-size: 13px; color: #e2e5ea; transition: color .2s, padding .2s; }
.footer__links a:hover { color: #fff; padding-left: 3px; }
.footer__contact li { display: flex; gap: 10px; margin-bottom: 12px; font-size: 13px; color: #e2e5ea; line-height: 1.5; }
.footer__contact svg { flex: none; width: 15px; height: 15px; margin-top: 2px; color: #6f93ff; }
.footer__contact a:hover { color: #fff; }

.risk-warning { border-top: 1px solid var(--line); background: #0a0d15; padding: 26px 0 30px; }
.risk-warning p { font-size: 12px; line-height: 1.75; color: #a4abb9; }
.risk-warning strong { color: #fff; }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft);
  font-size: 12px; color: var(--text-dim);
}

.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 42px; height: 42px; border-radius: 4px; background: var(--blue);
  display: grid; place-items: center; opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background-color .2s;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--blue-hover); }
.to-top svg { width: 16px; height: 16px; }

/* ---------- 21. Responsive ---------- */
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 28px;
    background: #0f1422; border-left: 1px solid var(--line);
    padding: 96px 26px 30px; transform: translateX(100%);
    transition: transform .4s var(--ease); z-index: 99;
  }
  .nav-open .nav { transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav__link { font-size: 16px; padding: 12px 14px; }
  .nav__actions .btn { flex: 1; justify-content: center; padding: 13px 16px; font-size: 13px; }
  .nav-toggle { position: relative; z-index: 101; }
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 98;
    opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }
  body.nav-open { overflow: hidden; }

  .ambition__grid { gap: 44px; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 26px 20px; }
  .features { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .feature:nth-child(2) { border-right: 1px solid var(--line); }
  .ambition__grid, .split, .faq-teaser, .expertise, .advantages, .contact-grid { grid-template-columns: 1fr; }
  .split { gap: 36px; }
  .services { grid-template-columns: 1fr 1fr; }
  .service, .service:nth-child(n+4) { grid-column: span 1; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .service:nth-child(2n) { border-right: 0; }
  .service:nth-child(5) { grid-column: span 2; border-bottom: 0; }
  .process { grid-template-columns: 1fr; }
  .process__media { grid-column: 1; grid-row: 2; aspect-ratio: 16 / 11; margin-top: -60px; }
  .process__steps { grid-column: 1; grid-row: 1; }
  .faq-layout { grid-template-columns: 1fr; gap: 30px; }
  .faq-aside { position: static; }
  .faq-cats { flex-direction: row; flex-wrap: wrap; }
  .faq-cats a { border-left: 0; border-bottom: 2px solid var(--line); }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-media { min-height: 280px; }
}

@media (max-width: 600px) {
  :root { --gutter: 18px; --header-h: 72px; }
  .brand img { height: 42px; }
  .features { grid-template-columns: 1fr; }
  .feature, .feature:nth-child(2), .feature:last-child { border-left: 0; border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 28px; }
  .services { grid-template-columns: 1fr; }
  .service, .service:nth-child(n+4), .service:nth-child(5) { grid-column: span 1; border-right: 0; border-bottom: 1px solid var(--line); }
  .service:last-child { border-bottom: 0; }
  .process__steps { grid-template-columns: 1fr 1fr; gap: 10px; }
  .step { min-height: 180px; padding: 22px 12px; }
  .step h3 { font-size: 24px; }
  .counters { gap: 22px 16px; }
  .plans { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .mission { padding: 34px 22px; }
  .footer__grid { grid-template-columns: 1fr; }
  .acc-body { padding-right: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
.acc-item h4 { font: inherit; letter-spacing: normal; }
.acc-trigger { font-family: var(--font-body); }
@media (max-width: 600px) { .hero__stats h3 { font-size: 17px; } .hero__stats { gap: 22px 10px; } }

/* ==========================================================================
   v2 — inner pages cloned from zeus-ai.net (About, FAQs, Contact)
   ========================================================================== */

/* Inner pages: solid header bar, hero starts below it */
.page-inner .site-header { background: var(--bg); height: 112px; }
.page-inner .site-header.is-scrolled { height: 80px; }
.page-inner main { padding-top: 112px; }
.page-inner .brand img { height: 80px; }
.page-inner .is-scrolled .brand img { height: 56px; }
.site-header .container { max-width: calc(1115px + var(--gutter) * 2); }
.nav { gap: 94px; }
.nav__list { gap: 2px; }

/* Inner page hero: coins photo, huge centred title */
.page-hero {
  padding: 0; min-height: 395px; display: flex; align-items: center; justify-content: center;
}
.page-hero::after { background: rgba(13, 17, 27, .55); }
.page-hero h1 {
  font-size: clamp(64px, 7.4vw, 124px); font-weight: 600; letter-spacing: -0.03em; line-height: 1;
  text-shadow: 0 4px 30px rgba(0,0,0,.35);
}

/* Footer: blue chevrons instead of dots */
.footer__links li { padding-left: 18px; }
.footer__links li::before {
  width: 6px; height: 6px; border-radius: 0; top: 8px; left: 2px; background: none;
  border-right: 1.5px solid #2c52b3; border-top: 1.5px solid #2c52b3; transform: rotate(45deg);
}
.footer__links a { font-size: 15px; }
.footer__contact li { font-size: 15px; }

/* ---------- FAQ page ---------- */
.faq-page { padding: 86px 0 130px; }
.faq-v2 { display: grid; grid-template-columns: 419px 1fr; gap: 43px; align-items: start; max-width: calc(1115px + var(--gutter) * 2); }
.faq-v2__intro h2 { font-size: clamp(34px, 3.4vw, 48px); line-height: 1.2; }
.faq-v2__intro p { margin: 26px 0 55px; font-size: 16px; line-height: 1.6; color: #eceff4; }
.question-card--plain { padding: 22px 20px 24px; border-radius: 4px; }
.question-card--plain h3 { margin: 0; font-size: 34px; }

.accordion--bars { border-top: 0; }
.accordion--bars .acc-item { border-bottom: 0; margin-bottom: 28px; }
.accordion--bars .acc-item:last-child { margin-bottom: 0; }
.accordion--bars h3 { font: inherit; letter-spacing: normal; }
.accordion--bars .acc-trigger {
  min-height: 47px; padding: 12px 26px; border-radius: 4px;
  background: #0f45a8; color: #fff;
  font-family: var(--font-body); font-size: 12.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .2em; line-height: 1.5;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.accordion--bars .acc-trigger:hover { background: #1552c4; color: #fff; }
.accordion--bars .is-open .acc-trigger { background: #f2c230; color: #0f45a8; }
.accordion--bars .acc-icon { width: 16px; height: 16px; background: none; border-radius: 0; }
.accordion--bars .acc-icon::before, .accordion--bars .acc-icon::after { width: 16px; height: 1.5px; margin: -.75px 0 0 -8px; background: currentColor; }
.accordion--bars .acc-item.is-open .acc-icon { background: none; }
.accordion--bars .acc-item.is-open .acc-icon::before, .accordion--bars .acc-item.is-open .acc-icon::after { background: currentColor; }
.accordion--bars .acc-body { padding: 26px 80px 34px 56px; font-size: 14.5px; line-height: 1.45; color: #f1f3f7; }
.accordion--bars .acc-body p + p { margin-top: 20px; }

/* ---------- About page ---------- */
.about-story { padding: 86px 0; }
.about-story .split { max-width: calc(1115px + var(--gutter) * 2); gap: 34px; }
.about-story .split__media { aspect-ratio: 546 / 505; }

.trust { position: relative; isolation: isolate; overflow: hidden; padding: 84px 0 40px; }
.trust .cover-img { z-index: -2; }
.trust::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(28, 34, 50, .82); }
.trust__title { text-align: center; font-size: clamp(30px, 3vw, 44px); margin-bottom: 14px; }
.trust .features { padding-bottom: 20px; }

.expertise-v2 { padding: 88px 0 100px; }
.expertise-v2 .container { max-width: calc(1115px + var(--gutter) * 2); }
.expertise-v2__media { aspect-ratio: 1126 / 390; border-radius: 3px; overflow: hidden; }
.expertise-v2__media img { width: 100%; height: 100%; object-fit: cover; }
.expertise-v2__copy { margin: 30px 0 30px; }
.expertise-v2__copy h2 { font-size: clamp(32px, 3vw, 44px); margin-bottom: 26px; }
.expertise-v2__copy p { font-size: 14px; line-height: 1.8; color: #e8ebf0; }
.expertise-v2__copy p + p { margin-top: 14px; }
.expertise-v2__copy strong { color: #fff; }
.services--plain .service { padding: 22px 22px 30px; }
.services--plain .service:hover { background: transparent; }
.services--plain .service__icon { width: 42px; height: 42px; margin-bottom: 14px; }
.services--plain .service h3 { font-size: clamp(22px, 2vw, 30px); margin-bottom: 16px; }

.section-sm { padding: 60px 0; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; max-width: calc(1115px + var(--gutter) * 2); }
.duo__copy h2 { font-size: clamp(32px, 3vw, 44px); margin-bottom: 26px; }
.duo__copy > p { font-size: 14px; line-height: 1.8; color: #e8ebf0; }
.duo__copy strong { color: #fff; }
.duo__media { aspect-ratio: 546 / 472; overflow: hidden; }
.duo--reverse .duo__media { aspect-ratio: 546 / 468; }
.duo__media img { width: 100%; height: 100%; object-fit: cover; }
.circle-list { margin-top: 26px; }
.circle-list li { display: flex; gap: 10px; font-size: 14px; line-height: 1.8; color: #e8ebf0; margin-bottom: 8px; }
.circle-list svg { flex: none; width: 13px; height: 13px; margin-top: 6px; color: #fff; }
.duo__tagline {
  margin-top: 40px; font-size: 22px; font-style: italic; font-weight: 500; line-height: 1.35;
  color: var(--blue-title); letter-spacing: -0.03em;
}

/* ---------- Contact page ---------- */
.contact-v2 { padding: 95px 0 160px; }
.contact-v2__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start;
  max-width: calc(1226px + var(--gutter) * 2);
}
.contact-v2__media { aspect-ratio: 604 / 394; overflow: hidden; margin-bottom: 28px; }
.contact-v2__media img { width: 100%; height: 100%; object-fit: cover; }
.contact-v2__info h3 { font-size: 30px; margin: 0 0 22px 4px; }
.contact-v2__info p { font-size: 18px; color: #e8ebf0; margin: 0 0 12px 4px; }
.contact-v2__info p:last-of-type, .contact-v2__info p + h3 { margin-bottom: 0; }
.contact-v2__info p + h3 { margin-top: 24px; margin-bottom: 26px; }
.icon-line { display: flex; align-items: center; gap: 10px; }
.icon-line svg { width: 18px; height: 18px; flex: none; color: #fff; }
.icon-line a:hover { color: #fff; }
.contact-v2__form .field { margin-bottom: 26px; }
.contact-v2__form label { font-size: 18px; font-weight: 400; color: #fff; margin: 0; }
.contact-v2__form input, .contact-v2__form textarea {
  background: #fff; color: #11141b; border: 1px solid #d5d8de; border-radius: 3px;
  height: 56px; padding: 0 19px; font-size: 18px;
}
.contact-v2__form textarea { height: 110px; min-height: 110px; padding: 12px 19px; }
.contact-v2__form input::placeholder, .contact-v2__form textarea::placeholder { color: #7a7f8a; }
.contact-v2__form input:focus, .contact-v2__form textarea:focus { background: #fff; border-color: #0f45a8; box-shadow: 0 0 0 3px rgba(15,69,168,.25); }
.contact-v2__form .field.has-error input, .contact-v2__form .field.has-error textarea { border-color: #e5484d; }
.btn-send {
  display: block; width: 100%; height: 42px; margin-top: 4px; border-radius: 3px;
  background: #f2c230; color: #fff; font-size: 14px; font-weight: 600;
  transition: background-color .25s var(--ease);
}
.btn-send:hover { background: #e3b21c; }

/* ---------- v2 responsive ---------- */
@media (max-width: 1080px) {
  .page-inner .site-header { height: 84px; }
  .page-inner main { padding-top: 84px; }
  .page-inner .brand img { height: 54px; }
  .nav { gap: 28px; }
}
@media (max-width: 900px) {
  .faq-v2, .duo, .contact-v2__grid { grid-template-columns: 1fr; }
  .duo--reverse .duo__media { order: 2; }
  .faq-v2__intro p { margin-bottom: 30px; }
  .page-hero { min-height: 280px; }
  .accordion--bars .acc-body { padding: 22px 20px 28px 26px; }
  .contact-v2 { padding-bottom: 100px; }
}
@media (max-width: 600px) {
  .page-inner .site-header { height: 72px; }
  .page-inner main { padding-top: 72px; }
  .page-inner .brand img { height: 44px; }
  .page-hero { min-height: 220px; }
  .accordion--bars .acc-trigger { letter-spacing: .14em; padding: 12px 18px; font-size: 12px; }
  .accordion--bars .acc-item { margin-bottom: 16px; }
  .contact-v2__info p, .contact-v2__form label { font-size: 16px; }
}
