/* ============================================================
   Yandex Direct premium landing — Mikhail Karzhin
   Dark, refined, gold accent. Manrope (display) + Inter (body).
   ============================================================ */

:root {
  /* Palette — premium dark with warm gold accent */
  --bg:           #0E0E10;
  --bg-2:         #131316;
  --bg-3:         #18181C;
  --surface:      #1A1A1F;
  --surface-2:    #1F1F25;
  --border:       #26262C;
  --border-2:     #2F2F37;

  --text:         #ECEAE4;
  --text-muted:   #A8A6A0;
  --text-faint:   #6C6A65;

  --gold:         #D4A24C;
  --gold-2:       #E5BE6A;
  --gold-3:       #B8842C;
  --gold-soft:    rgba(212, 162, 76, 0.12);
  --gold-line:    rgba(212, 162, 76, 0.32);

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

  /* Spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-8: 32px;
  --s-10: 40px;
  --s-12: 48px;
  --s-16: 64px;
  --s-20: 80px;
  --s-24: 96px;
  --s-32: 128px;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;

  --shadow-soft: 0 24px 60px -20px rgba(0,0,0,0.55);
  --shadow-card: 0 1px 0 rgba(255,255,255,0.04) inset, 0 20px 40px -22px rgba(0,0,0,0.6);

  --container: 1200px;
}

/* ============================================================
   Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--gold); color: #1a1306; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
}
h1 { font-size: clamp(36px, 5.4vw, 68px); font-weight: 700; }
h2 { font-size: clamp(28px, 3.6vw, 48px); }
h3 { font-size: clamp(20px, 2vw, 24px); font-weight: 600; }
p  { margin: 0 0 1em 0; color: var(--text-muted); }

.accent {
  color: var(--gold);
  background: linear-gradient(135deg, var(--gold-2) 0%, var(--gold-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
}
.eyebrow__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.005em;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: transform 220ms cubic-bezier(0.16,1,0.3,1), background 200ms ease, color 200ms ease, box-shadow 220ms ease, border-color 200ms ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--primary {
  background: linear-gradient(135deg, var(--gold-2) 0%, var(--gold) 50%, var(--gold-3) 100%);
  color: #1a1306;
  box-shadow: 0 12px 28px -10px rgba(212,162,76,0.55), 0 0 0 1px rgba(255,220,150,0.25) inset;
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -10px rgba(212,162,76,0.65); }
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-2);
}
.btn--ghost:hover { background: rgba(255,255,255,0.04); border-color: var(--gold-line); color: var(--gold-2); }

/* ============================================================
   Header
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14,14,16,0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.header.is-scrolled { border-bottom-color: var(--border); background: rgba(14,14,16,0.92); }
.header__inner {
  display: flex; align-items: center; gap: 24px;
  min-height: 76px;
  padding-top: 14px; padding-bottom: 14px;
}
.logo {
  display: inline-flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__name { font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.logo__role { font-size: 11px; color: var(--text-faint); letter-spacing: 0.04em; }
.logo--footer { gap: 10px; }
.logo--footer span { font-family: var(--font-display); font-weight: 700; }

.nav {
  display: flex; align-items: center; gap: 28px;
  margin-left: auto;
  margin-right: 8px;
}
.nav a {
  position: relative;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  transition: color .2s ease;
}
.nav a:hover { color: var(--text); }
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -8px;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s cubic-bezier(0.16,1,0.3,1);
}
.nav a:hover::after { transform: scaleX(1); }

.header__cta { flex-shrink: 0; }

.burger { display: none; background: transparent; border: 1px solid var(--border); width: 44px; height: 44px; border-radius: 10px; padding: 0; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 1px; transition: transform .3s ease, opacity .2s ease, top .3s ease, bottom .3s ease; }
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 28px; }
.burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 76px; left: 0; right: 0;
  height: calc(100vh - 76px);
  height: calc(100dvh - 76px);
  background: rgba(14,14,16,0.98);
  backdrop-filter: blur(20px);
  z-index: 49;
  padding: 24px;
  overflow-y: auto;
}
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a {
  padding: 16px 8px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.mobile-menu nav a.btn { margin-top: 16px; justify-content: center; border-bottom: none; }
.mobile-menu nav a.btn--primary { color: #1a1306; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding-top: clamp(48px, 9vw, 100px);
  padding-bottom: clamp(40px, 6vw, 80px);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -20% -10% auto auto;
  width: 80vw; height: 80vw;
  max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(212,162,76,0.18), rgba(212,162,76,0) 65%);
  z-index: 0;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 40% auto auto -10%;
  width: 60vw; height: 60vw;
  max-width: 700px; max-height: 700px;
  background: radial-gradient(closest-side, rgba(80, 70, 60, 0.25), rgba(0,0,0,0) 65%);
  z-index: 0;
  pointer-events: none;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero__title {
  margin: 24px 0 20px;
  letter-spacing: -0.028em;
}
.hero__lede {
  font-size: clamp(16px, 1.3vw, 19px);
  max-width: 540px;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.hero__cta {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-bottom: 48px;
}
.hero__bullets {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 14px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.hero__bullets li { display: flex; align-items: baseline; gap: 16px; }
.hero__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--gold);
  letter-spacing: -0.01em;
  min-width: 140px;
}
.hero__lbl { color: var(--text-muted); font-size: 14px; }

/* Hero visual */
.hero__visual {
  position: relative;
  aspect-ratio: 4/5;
  max-width: 480px;
  margin-left: auto;
  width: 100%;
}
.portrait {
  position: relative;
  width: 100%; height: 100%;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  background: var(--bg-2);
}
.portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: contrast(1.02) saturate(0.96);
}
.portrait::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,14,16,0) 50%, rgba(14,14,16,0.45) 100%);
}
.portrait__badge {
  position: absolute; left: 20px; bottom: 20px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: rgba(14,14,16,0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  color: var(--gold-2);
  font-size: 13px;
  font-weight: 500;
  z-index: 2;
}

.floating-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-card);
  min-width: 180px;
  z-index: 3;
}
.floating-card--top { top: 18%; left: -8%; }
.floating-card--bottom { bottom: 12%; right: -10%; }
.floating-card__label { font-size: 11px; color: var(--text-faint); letter-spacing: 0.08em; text-transform: uppercase; }
.floating-card__value { font-family: var(--font-display); font-size: 16px; font-weight: 600; margin-top: 4px; }
.floating-card__bar { margin-top: 10px; height: 4px; background: var(--bg-3); border-radius: 4px; overflow: hidden; }
.floating-card__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-2), var(--gold-3)); border-radius: 4px; }

/* Marquee */
.marquee {
  margin-top: clamp(40px, 6vw, 80px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.marquee__track {
  display: flex; gap: 32px;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--text-faint);
  animation: marquee 50s linear infinite;
  width: max-content;
}
.marquee__track span { display: inline-block; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   Sections base
   ============================================================ */
.section {
  position: relative;
  padding: clamp(64px, 9vw, 120px) 0;
}
.section--alt { background: var(--bg-2); }
.section__head {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 16px;
  max-width: 780px; margin: 0 auto clamp(40px, 5vw, 72px);
}
.section__title { letter-spacing: -0.025em; }
.section__lede { color: var(--text-muted); font-size: clamp(15px, 1.2vw, 17px); }

/* ============================================================
   Services
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.service {
  background: var(--bg);
  padding: 32px 26px 28px;
  position: relative;
  transition: background .25s ease, transform .25s ease;
}
.section--alt .service { background: var(--bg-2); }
.service:hover { background: var(--surface); }
.service__num {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.service h3 { margin-bottom: 10px; }
.service p { color: var(--text-muted); font-size: 14.5px; margin: 0; line-height: 1.55; }

.service-detail {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.service-detail__card {
  background: linear-gradient(135deg, rgba(212,162,76,0.08), rgba(212,162,76,0.015));
  border: 1px solid var(--gold-line);
  border-radius: var(--r-lg);
  padding: 28px;
}
.service-detail__kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.service-detail h3 {
  max-width: 520px;
  margin: 0 0 18px;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.035em;
}
.service-detail ul {
  list-style: none;
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
}
.service-detail li {
  position: relative;
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.55;
}
.service-detail li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(212,162,76,0.55);
}

.workflow {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 0.9fr 1.8fr;
  gap: 24px;
  align-items: start;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.workflow__head h3 {
  margin: 12px 0 0;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}
.workflow__steps {
  counter-reset: step;
  display: grid;
  gap: 1px;
  list-style: none;
  padding: 0;
  margin: 0;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.workflow__steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 46px 150px 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px 20px;
  background: var(--bg);
}
.workflow__steps li::before {
  content: '0' counter(step);
  grid-column: 1;
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.workflow__steps strong {
  grid-column: 2;
  color: var(--text);
  font-size: 14px;
}
.workflow__steps span {
  grid-column: 3;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.5;
}

/* CTA band */
.cta-band {
  margin-top: clamp(40px, 5vw, 64px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(212,162,76,0.08), rgba(212,162,76,0.02));
  border: 1px solid var(--gold-line);
  border-radius: var(--r-lg);
}
.cta-band h3 { margin-bottom: 4px; font-size: 20px; }
.cta-band p { margin: 0; color: var(--text-muted); font-size: 14.5px; }

/* ============================================================
   Cases
   ============================================================ */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.case {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  display: flex; flex-direction: column;
  gap: 12px;
  transition: transform .3s cubic-bezier(0.16,1,0.3,1), border-color .25s ease, background .25s ease;
}
.case:hover { transform: translateY(-3px); border-color: var(--gold-line); background: var(--surface-2); }
.case--feature {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(212,162,76,0.08), rgba(212,162,76,0.01));
  border-color: var(--gold-line);
}
.case__tag {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.case__title { font-size: 18px; line-height: 1.3; }
.case--feature .case__title { font-size: 24px; }
.case__body { color: var(--text-muted); font-size: 14.5px; margin: 0; }
.case__metric {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 4px;
}
.case__metric--inline { padding-top: 12px; }
.case__metric-val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--gold-2);
  letter-spacing: -0.02em;
  line-height: 1;
}
.case--feature .case__metric-val { font-size: 44px; }
.case__metric-lbl { font-size: 13px; color: var(--text-muted); }

.cases-note { text-align: center; margin-top: 32px; color: var(--text-muted); font-size: 14.5px; }

.niches {
  margin-top: clamp(48px, 6vw, 72px);
  text-align: center;
}
.niches__title { font-size: 18px; color: var(--text-muted); font-weight: 500; margin-bottom: 20px; letter-spacing: 0.02em; }
.niches__list {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px 10px;
  list-style: none; padding: 0; margin: 0;
}
.niches__list li {
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================================
   About
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.about__photo {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-2);
  box-shadow: var(--shadow-soft);
  max-width: 460px;
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.about__caption { margin-top: 14px; font-size: 13px; color: var(--text-faint); text-align: left; letter-spacing: 0.02em; }
.about__copy p { font-size: 16px; color: var(--text); margin-bottom: 16px; }
.about__copy p + p { color: var(--text-muted); }
.about__copy strong { color: var(--gold-2); font-weight: 600; }

.about__points {
  list-style: none; padding: 0; margin: 28px 0 32px;
  display: grid; gap: 14px;
}
.about__points li {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  align-items: baseline;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.about__points li:first-child { border-top: 1px solid var(--border); }
.about__point-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--gold);
  letter-spacing: 0.01em;
}
.about__points li > span:last-child { color: var(--text-muted); font-size: 14.5px; }

/* ============================================================
   Reviews
   ============================================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  margin: 0;
  display: flex; flex-direction: column;
  gap: 16px;
  transition: border-color .25s ease;
}
.review:hover { border-color: var(--gold-line); }
.review__stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; }
.review blockquote {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 400;
}
.review figcaption {
  margin-top: auto;
  display: flex; flex-direction: column; gap: 2px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.review__name { font-weight: 600; font-size: 14px; color: var(--text); }
.review__role { font-size: 12.5px; color: var(--text-faint); }

.reviews-note { text-align: center; margin-top: 28px; font-size: 13.5px; color: var(--text-faint); }
.reviews-note a { color: var(--gold); border-bottom: 1px dashed var(--gold-line); }
.reviews-note a:hover { color: var(--gold-2); }

/* ============================================================
   FAQ
   ============================================================ */
.faq__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}
.faq__head { position: sticky; top: 110px; }
.faq__head .btn { margin-top: 16px; }
.faq__list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--border); }

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.35;
  color: var(--text);
  padding: 6px 0;
  transition: color .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  width: 24px; height: 24px;
  flex-shrink: 0;
  border: 1px solid var(--border-2);
  border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center/10px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center/1.5px 10px no-repeat;
  color: var(--text-muted);
  transition: transform .3s cubic-bezier(0.16,1,0.3,1), border-color .25s ease, color .25s ease;
}
.faq-item:hover summary { color: var(--gold-2); }
.faq-item:hover summary::after { border-color: var(--gold-line); color: var(--gold); }
.faq-item[open] summary::after {
  transform: rotate(45deg);
  border-color: var(--gold);
  color: var(--gold);
}
.faq-item__body {
  padding: 12px 0 6px;
  color: var(--text-muted);
  font-size: 15px;
  max-width: 640px;
  line-height: 1.6;
}

/* ============================================================
   Contact
   ============================================================ */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: start;
}
.contact__list { list-style: none; padding: 0; margin: 24px 0 36px; display: grid; gap: 14px; }
.contact__list li {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}
.contact__list li:last-child { border-bottom: 1px solid var(--border); }
.contact__label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); }
.contact__value { color: var(--text); font-size: 15px; }
a.contact__value { color: var(--gold-2); border-bottom: 1px dashed var(--gold-line); }
a.contact__value:hover { color: var(--gold); }

.bonuses {
  padding: 22px 24px;
  background: linear-gradient(135deg, rgba(212,162,76,0.08), rgba(212,162,76,0.01));
  border: 1px solid var(--gold-line);
  border-radius: var(--r-md);
}
.bonuses__title { font-size: 14px; color: var(--gold); font-family: var(--font-display); font-weight: 600; margin-bottom: 12px; letter-spacing: 0.02em; }
.bonuses ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.bonuses li { color: var(--text-muted); font-size: 14px; padding-left: 18px; position: relative; }
.bonuses li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px;
  border: 1.5px solid var(--gold);
  border-top: 0; border-right: 0;
  transform: rotate(-45deg);
}
.bonuses strong { color: var(--text); font-weight: 600; }

/* Direct contact card */
.contact-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute;
  inset: -1px -1px auto -1px;
  height: 120px;
  background: radial-gradient(circle at 24% 0%, rgba(212,162,76,0.22), transparent 58%);
  pointer-events: none;
}
.contact-card__eyebrow {
  position: relative;
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.contact-card__title {
  position: relative;
  margin: 0;
  max-width: 480px;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}
.contact-card__text {
  position: relative;
  margin: 14px 0 24px;
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 15px;
}
.contact-buttons {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.contact-button {
  min-height: 66px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .25s cubic-bezier(0.16,1,0.3,1), border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.contact-button:hover {
  transform: translateY(-2px);
  background: var(--surface-2);
  border-color: var(--gold-line);
  box-shadow: 0 18px 36px -26px rgba(212,162,76,0.65);
}
.contact-button__icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 14px;
  color: var(--gold);
  background: rgba(212,162,76,0.11);
  border: 1px solid var(--gold-line);
}
.contact-button__text {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.contact-button--telegram .contact-button__icon { color: #45aee4; background: rgba(69,174,228,0.12); border-color: rgba(69,174,228,0.25); }
.contact-button--max .contact-button__icon { color: #8f7cff; background: rgba(143,124,255,0.12); border-color: rgba(143,124,255,0.25); }
.contact-button--phone .contact-button__icon { color: #68bd72; background: rgba(104,189,114,0.12); border-color: rgba(104,189,114,0.25); }
.contact-button--vk .contact-button__icon { color: #6aa7ff; background: rgba(106,167,255,0.12); border-color: rgba(106,167,255,0.25); }
.contact-button--email .contact-button__icon { color: var(--gold-2); }
.contact-card__note {
  position: relative;
  margin: 22px 0 10px;
  color: var(--text-faint);
  font-size: 13px;
  line-height: 1.5;
}
.contact-card__link {
  position: relative;
  display: inline-flex;
  color: var(--gold-2);
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px dashed var(--gold-line);
}
.contact-card__link:hover { color: var(--gold); }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  margin-top: 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer__brand p { margin: 12px 0 0; color: var(--text-muted); font-size: 14px; max-width: 320px; }
.footer__nav { display: flex; flex-direction: column; gap: 10px; }
.footer__nav a { color: var(--text-muted); font-size: 14px; transition: color .2s ease; }
.footer__nav a:hover { color: var(--gold-2); }
.footer__contact { display: flex; flex-direction: column; gap: 10px; }
.footer__contact a { color: var(--text); font-size: 14px; }
.footer__contact a:last-child { color: var(--gold-2); }
.footer__contact a:last-child:hover { color: var(--gold); }

.footer__legal {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-faint);
  font-size: 12.5px;
}
.footer__legal a {
  color: var(--gold-2);
  border-bottom: 1px dashed var(--gold-line);
}
.footer__legal a:hover { color: var(--gold); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .workflow { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .case--feature { grid-column: span 2; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav, .header__cta { display: none; }
  .burger { display: inline-flex; align-items: center; justify-content: center; }
  .header__inner { justify-content: space-between; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 420px; margin: 0 auto; }
  .floating-card--top { left: -4%; }
  .floating-card--bottom { right: -4%; }

  .about__grid { grid-template-columns: 1fr; }
  .about__photo { max-width: 340px; margin: 0 auto; }
  .about__caption { text-align: center; }
  .about__points li { grid-template-columns: 140px 1fr; }

  .faq__grid { grid-template-columns: 1fr; }
  .faq__head { position: static; }

  .contact__grid { grid-template-columns: 1fr; }
  .contact__list li { grid-template-columns: 140px 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  h1 { font-size: clamp(32px, 9vw, 44px); }
  h2 { font-size: clamp(26px, 7vw, 36px); }

  .services-grid { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; }
  .service-detail__card { padding: 24px 20px; }
  .workflow { padding: 22px; }
  .workflow__steps li { grid-template-columns: 42px 1fr; gap: 8px 14px; }
  .workflow__steps strong { grid-column: 2; }
  .workflow__steps span { grid-column: 2; }
  .cases-grid { grid-template-columns: 1fr; }
  .case--feature { grid-column: span 1; }
  .case--feature .case__metric-val { font-size: 36px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .footer__legal { flex-direction: column; align-items: flex-start; gap: 10px; }

  .cta-band { padding: 22px 22px; }
  .cta-band h3 { font-size: 18px; }

  .hero__bullets li { flex-wrap: wrap; gap: 6px; }
  .hero__num { min-width: auto; font-size: 17px; }

  .about__points li { grid-template-columns: 1fr; gap: 4px; }

  .contact-card { padding: 24px 20px; }
  .contact-buttons { grid-template-columns: 1fr; }
  .contact__list li { grid-template-columns: 1fr; gap: 4px; padding: 12px 0; }

  .floating-card { display: none; }
  .portrait img { object-position: center 18%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
