/* =====================================================================
   AcademyX — Global Stylesheet
   Dark + gold premium theme. Shared across all pages.
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Surfaces */
  --bg:        #0a0b10;
  --bg-2:      #0d0f17;
  --bg-3:      #12141d;
  --bg-glass:  rgba(255, 255, 255, 0.03);

  /* Ink */
  --ink:       #f3efe4;
  --ink-soft:  #d8d3c6;
  --muted:     #9c9789;
  --muted-2:   #6f6b60;

  /* Gold */
  --gold-1:    #f7e7ad;
  --gold-2:    #e6c765;
  --gold:      #d4af37;
  --gold-3:    #b0862b;
  --gold-grad: linear-gradient(120deg, #f7e7ad 0%, #e6c765 40%, #d4af37 70%, #b0862b 100%);
  --gold-glow: rgba(212, 175, 55, 0.35);

  /* Cool accent (nod to the ribbon logo) */
  --blue:      #6ea8dc;
  --blue-soft: rgba(110, 168, 220, 0.14);

  /* Lines */
  --line:      rgba(212, 175, 55, 0.16);
  --line-soft: rgba(255, 255, 255, 0.07);

  /* Type */
  --font-display: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Metrics */
  --container: 1200px;
  --radius:    18px;
  --radius-sm: 12px;
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --shadow:    0 24px 60px -20px rgba(0, 0, 0, 0.7);

  /* Header height */
  --nav-h: 78px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

::selection { background: var(--gold); color: #14100a; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--gold-3), var(--gold));
  border-radius: 20px;
  border: 3px solid var(--bg);
}

/* ---------- Ambient background layer ---------- */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}
.bg-glows {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.bg-glows::before,
.bg-glows::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}
.bg-glows::before {
  width: 55vw; height: 55vw;
  top: -18vw; right: -12vw;
  background: radial-gradient(circle, rgba(212,175,55,0.16), transparent 62%);
}
.bg-glows::after {
  width: 46vw; height: 46vw;
  bottom: -16vw; left: -14vw;
  background: radial-gradient(circle, rgba(110,168,220,0.10), transparent 62%);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 28px;
}
.section { padding-block: clamp(72px, 11vw, 148px); position: relative; }
.section--tight { padding-block: clamp(48px, 7vw, 88px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow--center::before { display: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.h-xl { font-size: clamp(2.6rem, 6.4vw, 5.1rem); }
.h-lg { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.h-md { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  color: var(--ink-soft);
  max-width: 60ch;
  font-weight: 300;
}
.muted { color: var(--muted); }
.text-gold {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.section-head { max-width: 680px; margin-bottom: 54px; }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s;
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

.btn--gold {
  background: var(--gold-grad);
  color: #17130a;
  box-shadow: 0 10px 30px -8px var(--gold-glow);
}
.btn--gold:hover { box-shadow: 0 18px 44px -10px var(--gold-glow); }

.btn--ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255,255,255,0.02);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-1); background: rgba(212,175,55,0.06); }

.btn--lg { padding: 18px 38px; font-size: 1.02rem; }
.btn .arr { transition: transform 0.35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-row.center { justify-content: center; }

/* Text link with animated underline */
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--gold-1);
  position: relative;
}
.link-more::after {
  content: "";
  position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0.35);
  transform-origin: left;
  opacity: 0.5;
  transition: transform 0.4s var(--ease), opacity 0.4s;
}
.link-more:hover::after { transform: scaleX(1); opacity: 1; }
.link-more .arr { transition: transform 0.35s var(--ease); }
.link-more:hover .arr { transform: translateX(4px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: height 0.4s var(--ease), background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  height: 64px;
  background: rgba(10, 11, 16, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line-soft);
}
.nav {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; }
.brand img { height: 34px; width: auto; transition: height 0.4s var(--ease); }
.scrolled .brand img { height: 30px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 9px 15px;
  border-radius: 100px;
  position: relative;
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--gold-1); }
.nav-links a.active { color: var(--gold-1); }
.nav-links a.active::before {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 2px;
  height: 1px;
  background: var(--gold);
}
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 11px 22px; font-size: 0.9rem; }
.nav-mobile-cta { display: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 12px; right: 12px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 80px;
  overflow: hidden;
}
.hero--short { min-height: 74svh; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  width: 100%;
}
.hero h1 { margin-bottom: 26px; }
.hero .lead { margin-bottom: 36px; }

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual .ribbon {
  width: min(100%, 440px);
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 34px 80px -24px rgba(0,0,0,0.75), inset 0 0 0 1px rgba(255,255,255,0.02);
  animation: float 7s ease-in-out infinite;
}
.hero-visual .halo {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.22), transparent 62%);
  filter: blur(40px);
  z-index: -1;
}
@keyframes float {
  0%, 100% { transform: translateY(-10px); }
  50%      { transform: translateY(10px); }
}

.scroll-cue {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-cue .dot {
  width: 22px; height: 34px;
  border: 1px solid var(--line);
  border-radius: 20px;
  position: relative;
}
.scroll-cue .dot::before {
  content: "";
  position: absolute;
  top: 7px; left: 50%;
  width: 4px; height: 6px;
  border-radius: 4px;
  background: var(--gold);
  transform: translateX(-50%);
  animation: scrolldot 1.8s var(--ease) infinite;
}
@keyframes scrolldot {
  0% { opacity: 0; transform: translate(-50%, -4px); }
  40% { opacity: 1; }
  80%, 100% { opacity: 0; transform: translate(-50%, 12px); }
}

/* ---------- Cards / panels ---------- */
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 34px;
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s;
}
.card::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, var(--gold), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.45s;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow);
}
.card:hover::after { opacity: 1; }

.card .card-num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 18px;
}
.card h3 { font-size: 1.28rem; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 0.98rem; }

.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  background: rgba(212,175,55,0.1);
  border: 1px solid var(--line);
  color: var(--gold-1);
}
.card-icon svg { width: 26px; height: 26px; }

/* Grid helpers */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Split "two offers" block ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo-card {
  border-radius: var(--radius);
  padding: 44px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}
.duo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.duo-card .tag {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.duo-card h3 { font-size: 1.7rem; margin-bottom: 14px; }
.duo-card p { color: var(--ink-soft); margin-bottom: 26px; }
.duo-card--build {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(212,175,55,0.16), transparent 55%),
    var(--bg-2);
}
.duo-card--build .tag { color: var(--gold-2); }
.duo-card--learn {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(110,168,220,0.16), transparent 55%),
    var(--bg-2);
}
.duo-card--learn .tag { color: var(--blue); }

/* ---------- Feature list (why) ---------- */
.feature-list { display: grid; gap: 2px; }
.feature-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  padding: 30px 4px;
  border-top: 1px solid var(--line-soft);
  align-items: baseline;
}
.feature-row:last-child { border-bottom: 1px solid var(--line-soft); }
.feature-row h4 {
  font-size: 1.15rem;
  color: var(--gold-1);
  font-weight: 600;
}
.feature-row p { color: var(--muted); }

/* ---------- Pill list / tags ---------- */
.pill-list { display: flex; flex-wrap: wrap; gap: 12px; }
.pill {
  padding: 10px 18px;
  border-radius: 100px;
  border: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--ink-soft);
  background: rgba(212,175,55,0.04);
  transition: border-color 0.3s, color 0.3s, transform 0.3s;
}
.pill:hover { border-color: var(--gold); color: var(--gold-1); transform: translateY(-2px); }

.check-list { display: grid; gap: 16px; }
.check-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "";
  flex: none;
  width: 22px; height: 22px;
  margin-top: 3px;
  border-radius: 50%;
  background:
    var(--gold-grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9.55 17.6 4.4 12.45l1.4-1.4 3.75 3.75 8.25-8.25 1.4 1.4z'/%3E%3C/svg%3E") center / 90% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9.55 17.6 4.4 12.45l1.4-1.4 3.75 3.75 8.25-8.25 1.4 1.4z'/%3E%3C/svg%3E") center / 90% no-repeat;
}

/* ---------- Course / project cards ---------- */
.course-card { display: flex; flex-direction: column; gap: 14px; }
.course-card .best {
  margin-top: auto;
  padding-top: 18px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--bg-2);
  transition: transform 0.5s var(--ease), box-shadow 0.5s, border-color 0.5s;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line); }
.project-cover {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.project-cover span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.4rem;
  letter-spacing: 0.02em;
  opacity: 0.9;
  mix-blend-mode: overlay;
}
.project-body { padding: 24px 26px 28px; }
.project-body .client { font-size: 0.82rem; color: var(--muted-2); letter-spacing: 0.08em; text-transform: uppercase; }
.project-body h3 { font-size: 1.3rem; margin: 6px 0 12px; }
.project-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.project-tags span {
  font-size: 0.74rem;
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid var(--line-soft);
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* Gradient cover variants */
.cv-1 { background: linear-gradient(135deg, #1a1408, #3a2c0c 55%, #0c0d14); }
.cv-2 { background: linear-gradient(135deg, #0c1522, #1c3350 60%, #0a0b10); }
.cv-3 { background: linear-gradient(135deg, #201705, #4a3610 55%, #14100a); }
.cv-4 { background: linear-gradient(135deg, #10131d, #26324a 60%, #0a0b10); }

/* ---------- Testimonials / social proof ---------- */
.quote-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 34px;
  background: var(--bg-glass);
}
.quote-card p { font-size: 1.06rem; color: var(--ink-soft); font-weight: 300; margin-bottom: 22px; }
.quote-card .who { display: flex; align-items: center; gap: 12px; }
.quote-card .who .av {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold-grad);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; color: #17130a;
}
.quote-card .who b { font-size: 0.92rem; font-weight: 600; display: block; }
.quote-card .who small { color: var(--muted-2); font-size: 0.82rem; }
.stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 14px; font-size: 0.9rem; }

/* Marquee */
.marquee {
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  white-space: nowrap;
  transition: color 0.3s;
}
.marquee-track span:hover { color: var(--gold-1); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; max-width: 860px; margin-inline: auto; }
.faq-item { border-top: 1px solid var(--line-soft); }
.faq-item:last-child { border-bottom: 1px solid var(--line-soft); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 4px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
  transition: color 0.3s;
}
.faq-q:hover { color: var(--gold-1); }
.faq-q .ico {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  position: relative;
  transition: background 0.3s, transform 0.4s var(--ease);
}
.faq-q .ico::before, .faq-q .ico::after {
  content: ""; position: absolute;
  background: var(--gold);
  transition: transform 0.35s var(--ease), opacity 0.3s;
}
.faq-q .ico::before { width: 12px; height: 2px; }
.faq-q .ico::after { width: 2px; height: 12px; }
.faq-item.open .ico { background: rgba(212,175,55,0.12); transform: rotate(180deg); }
.faq-item.open .ico::after { transform: scaleY(0); opacity: 0; }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s var(--ease);
}
.faq-a p { padding: 0 4px 28px; color: var(--muted); max-width: 74ch; }

/* ---------- Steps / process ---------- */
.steps { display: grid; gap: 22px; }
.step {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 26px;
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: var(--bg-glass);
  align-items: start;
  transition: border-color 0.4s, transform 0.4s var(--ease);
}
.step:hover { border-color: var(--line); transform: translateX(6px); }
.step .n {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
}
.step h4 { font-size: 1.22rem; margin-bottom: 8px; }
.step .when { font-size: 0.8rem; color: var(--gold-2); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 10px; display: inline-block; }
.step p { color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: 28px;
  padding: clamp(48px, 7vw, 88px);
  text-align: center;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 140% at 50% 0%, rgba(212,175,55,0.14), transparent 55%),
    var(--bg-2);
}
.cta-band h2 { margin-bottom: 20px; }
.cta-band .lead { margin-inline: auto; margin-bottom: 34px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg-3);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.14);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23d4af37'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 42px; }
.form-note { color: var(--muted-2); font-size: 0.86rem; margin-top: 4px; }
.form-success {
  display: none;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gold);
  background: rgba(212,175,55,0.08);
  color: var(--gold-1);
  font-family: var(--font-display);
  font-weight: 500;
  margin-top: 8px;
}
.form-success.show { display: block; }

/* Contact split */
.contact-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 48px; align-items: start; }
.contact-side { display: grid; gap: 22px; }
.contact-item { padding: 24px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--bg-glass); }
.contact-item .k { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 8px; }
.contact-item .v { font-size: 1.1rem; color: var(--ink); font-family: var(--font-display); font-weight: 500; }
.contact-item a.v:hover { color: var(--gold-1); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line-soft);
  padding-block: 72px 34px;
  margin-top: 40px;
  position: relative;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 54px;
  border-bottom: 1px solid var(--line-soft);
}
.footer-brand img { height: 40px; margin-bottom: 20px; }
.footer-brand p { color: var(--muted); max-width: 34ch; font-size: 0.95rem; }
.footer-col h5 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 20px;
}
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { color: var(--ink-soft); font-size: 0.94rem; transition: color 0.25s; }
.footer-col a:hover { color: var(--gold-1); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  color: var(--muted-2);
  font-size: 0.86rem;
}
.footer-bottom .fb-links { display: flex; gap: 22px; }
.footer-bottom a:hover { color: var(--gold-1); }
.social { display: flex; gap: 12px; }
.social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-soft);
  display: grid; place-items: center;
  color: var(--ink-soft);
  transition: border-color 0.3s, color 0.3s, transform 0.3s;
}
.social a:hover { border-color: var(--gold); color: var(--gold-1); transform: translateY(-3px); }
.social svg { width: 17px; height: 17px; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding-top: calc(var(--nav-h) + 70px);
  padding-bottom: 40px;
  position: relative;
}
.page-hero .lead { margin-top: 22px; }

/* Split media row */
.media-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.media-row--img-lg { grid-template-columns: 1.32fr 0.88fr; }
.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
  box-shadow: var(--shadow);
}

/* Divider */
.rule { height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); border: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-visual .ribbon { width: min(72%, 340px); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .media-row, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px 22px 28px;
    background: rgba(10,11,16,0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line-soft);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--ease), opacity 0.35s;
  }
  body.menu-open .nav-links { transform: none; opacity: 1; pointer-events: auto; display: flex; }
  .nav-links a { padding: 14px 16px; font-size: 1.05rem; border-radius: 12px; }
  .nav-links a.active::before { display: none; }
  .nav-links a.active { background: rgba(212,175,55,0.08); }
  .nav-mobile-cta { display: block; margin-top: 12px; }
  .nav-mobile-cta a { display: flex; justify-content: center; }
  .duo, .form-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding-inline: 20px; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .card, .duo-card, .step { padding: 26px; }
  .step { grid-template-columns: 1fr; gap: 10px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
