/* ============================================================
   ELVIRA CAMBODIA — v6.0 LUXURY EDITORIAL
   Photography-first · Playfair Display · Warm Gold
   Concept A: Cream dominant, Ink dark, Gold accents
   ============================================================ */

/* ════════════════════════════════════════════════════════════
   1. CSS VARIABLES — DESIGN TOKENS
════════════════════════════════════════════════════════════ */
:root {
  /* Palette */
  --cream:       #F9F5EF;
  --cream-dark:  #EDE8DE;
  --ink:         #1A1410;
  --ink-light:   #3D2E1E;
  --gold:        #B8946A;
  --gold-light:  #D4AF82;
  --gold-pale:   #E8D5B7;
  --white:       #FFFFFF;
  --text-body:   #2C1F0E;
  --text-muted:  #7A6248;

  /* Derived */
  --ink-overlay: rgba(26,20,16,0.45);
  --gold-glow:   rgba(184,148,106,0.25);
  --cream-border: rgba(44,31,14,0.12);
  --dark-border:  rgba(232,213,183,0.15);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-accent:  'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Type scale */
  --h1-size:  clamp(44px, 7vw, 88px);
  --h2-size:  clamp(32px, 4vw, 52px);
  --h3-size:  clamp(20px, 2.5vw, 28px);
  --body-size: 16px;
  --small-size: 14px;

  /* Spacing (8px grid) */
  --s4: 4px;   --s8: 8px;   --s12: 12px;  --s16: 16px;
  --s20: 20px; --s24: 24px; --s32: 32px;  --s40: 40px;
  --s48: 48px; --s56: 56px; --s64: 64px;  --s80: 80px;
  --s100: 100px;

  /* Radii */
  --r4: 4px; --r8: 8px; --r12: 12px; --r16: 16px; --r24: 24px;
  --rpill: 9999px;

  /* Shadows */
  --sh-card:   0 4px 32px rgba(26,20,16,0.08), 0 1px 4px rgba(26,20,16,0.04);
  --sh-hover:  0 16px 64px rgba(26,20,16,0.14), 0 4px 16px rgba(26,20,16,0.06);
  --sh-gold:   0 8px 32px rgba(184,148,106,0.35);
  --sh-form:   0 32px 80px rgba(26,20,16,0.18);

  /* Layout */
  --max-w: 1200px;
  --section-py: clamp(64px, 8vw, 100px);
}

/* ════════════════════════════════════════════════════════════
   2. RESET + BASE
════════════════════════════════════════════════════════════ */
*, *::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);
  font-size: var(--body-size);
  line-height: 1.65;
  background: var(--cream);
  color: var(--text-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }
ul { list-style: none; }
h1, h2, h3 { text-wrap: balance; }

/* ════════════════════════════════════════════════════════════
   3. TYPOGRAPHY
════════════════════════════════════════════════════════════ */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s16);
}
.section--light .eyebrow,
.section--cream .eyebrow { color: var(--text-muted); }
.section--dark .eyebrow  { color: var(--gold-light); }

.section-header {
  max-width: 680px;
  margin: 0 auto var(--s64);
  text-align: center;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: var(--h2-size);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--s8);
}
.section-header p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-top: var(--s16);
}
.section--dark .section-header h2  { color: #fff; }
.section--dark .section-header p   { color: rgba(255,255,255,0.65); }
.section--dark .section-header .eyebrow { color: var(--gold-light); }

/* Gold bar under headings */
.gold-bar {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: var(--s16) auto var(--s40);
  border-radius: 2px;
}

/* ════════════════════════════════════════════════════════════
   4. LAYOUT
════════════════════════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}
.section { padding: var(--section-py) 0; }

/* Section bg variants — alternating rhythm */
.section--light  { background: var(--cream);      color: var(--text-body); }
.section--dark   { background: var(--ink);         color: #fff; }
.section--ink2   { background: var(--ink-light);   color: #fff; }
.section--white  { background: var(--white);       color: var(--text-body); }

/* ════════════════════════════════════════════════════════════
   5. SCROLL PROGRESS BAR
════════════════════════════════════════════════════════════ */
/* ── PHOTO PLACEHOLDER LABELS ─────────────────── */
.photo-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  background: rgba(184, 148, 106, 0.15);
  border: 1px dashed rgba(184, 148, 106, 0.6);
  border-radius: 8px;
  padding: 12px 20px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: rgba(212, 175, 130, 0.9);
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.6;
  pointer-events: none;
  white-space: nowrap;
  max-width: 90%;
}
/* Hero label — внизу по центру, не перекрывает h1 */
.hero-bg .photo-label {
  z-index: 2;
  top: auto;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  white-space: normal;
  max-width: 600px;
}

/* ── SCROLL PROGRESS ─────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--gold);
  z-index: 200;
  width: 0%;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ════════════════════════════════════════════════════════════
   6. NAV
════════════════════════════════════════════════════════════ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  transition: background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
  background: transparent;
  color: #fff;
}

/* Scrolled state */
.site-nav.scrolled {
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--cream-border), 0 4px 24px rgba(26,20,16,0.08);
}
.site-nav.scrolled .nav-brand { color: var(--ink); }
.site-nav.scrolled .hamburger span { background: var(--ink); }
.site-nav.scrolled .lang-btn { color: var(--text-muted); }
.site-nav.scrolled .lang-btn.active { background: var(--gold); color: #fff; }
.site-nav.scrolled .btn-sm.nav-cta {
  border-color: var(--gold);
  color: var(--ink);
}

/* On-light state (light sections) */
.site-nav.on-light {
  background: rgba(249,245,239,0.92);
  color: var(--ink);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--cream-border);
}
.site-nav.on-light .nav-brand { color: var(--ink); }
.site-nav.on-light .hamburger span { background: var(--ink); }
.site-nav.on-light .lang-btn { color: var(--text-muted); }
.site-nav.on-light .lang-btn.active { background: var(--gold); color: #fff; }
.site-nav.on-light .btn-sm.nav-cta {
  border-color: var(--gold);
  color: var(--ink);
}

/* Brand logo */
.nav-brand {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #fff;
  transition: color 0.3s;
}

/* Nav right group */
.nav-right {
  display: flex;
  align-items: center;
  gap: var(--s20);
}
.nav-cta { display: none; }
@media (min-width: 769px) { .nav-cta { display: inline-flex; } }

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--rpill);
  padding: 3px;
}
.lang-btn {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--rpill);
  color: rgba(255,255,255,0.7);
  transition: all 0.2s;
}
.lang-btn.active {
  background: var(--gold);
  color: #fff;
}
.lang-btn:hover:not(.active) { color: #fff; }

/* ════════════════════════════════════════════════════════════
   7. MOBILE NAV
════════════════════════════════════════════════════════════ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  z-index: 1001;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.28s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 999;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.32s ease, transform 0.32s ease;
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
  transform: none;
}
.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 80px 32px 40px;
  gap: 8px;
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mnav-link {
  font-family: var(--font-display);
  font-size: clamp(28px, 7vw, 40px);
  font-weight: 600;
  color: var(--ink);
  padding: 12px 0;
  border-bottom: 1px solid var(--cream-border);
  transition: color 0.2s, padding-left 0.2s;
}
.mnav-link:hover { color: var(--gold); padding-left: 8px; }
.mnav-cta {
  margin-top: 16px;
  background: var(--ink);
  color: var(--cream) !important;
  border-radius: var(--r8);
  padding: 16px 24px !important;
  text-align: center;
  border-bottom: none !important;
  font-size: 16px !important;
}
.mnav-cta:hover { background: var(--gold); color: var(--ink) !important; padding-left: 24px !important; }
.mobile-nav-footer { margin-top: 32px; }
.mnav-lang { justify-content: flex-start; background: transparent; border-color: var(--cream-border); }
.mnav-lang .lang-btn { color: var(--text-muted); }
.mnav-lang .lang-btn.active { background: var(--gold); color: #fff; }

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--cream-border);
  border-radius: 50%;
  font-size: 22px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav-close:hover { background: var(--ink); color: var(--cream); }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-right .lang-switcher,
  .nav-right .nav-cta { display: none; }
}
@media (min-width: 769px) {
  .mobile-nav { display: none !important; }
}

/* ════════════════════════════════════════════════════════════
   8. HERO
════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: var(--ink);
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 100px;
}

/* Background photo */
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a2a1a 0%, #2a3520 40%, #1C1510 100%);
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(26,20,16,0.92) 0%, rgba(26,20,16,0.55) 40%, rgba(26,20,16,0.25) 100%);
}

/* Subtle warmth gradient */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 20% 60%, rgba(184,148,106,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 80% 20%, rgba(26,20,16,0.50) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-split {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(24px, 6vw, 80px);
}

.hero-left {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Hero h1 */
.hero h1 {
  font-family: var(--font-display);
  font-size: var(--h1-size);
  font-weight: 900;
  line-height: 1.0;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: var(--s20);
  max-width: 580px;
}
.hero h1 em {
  font-style: italic;
  font-weight: 700;
  color: var(--gold-light);
  display: block;
}

/* Hero eyebrow */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s12);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: var(--s20);
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold-light);
  flex-shrink: 0;
}

/* Hero sub */
.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  max-width: 440px;
  margin: 0 0 var(--s24);
  line-height: 1.6;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  margin-bottom: var(--s32);
  flex-wrap: nowrap;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  padding: 0 var(--s20) 0 0;
}
.hero-stat:first-child { padding-left: 0; }
.hs-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hs-lbl {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
  white-space: nowrap;
}
.hs-sep {
  width: 1px;
  height: 36px;
  background: rgba(184,148,106,0.3);
  margin: 0 var(--s20) 0 0;
  flex-shrink: 0;
}

/* Hero CTA */
.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s12);
}
.hero-cta-note {
  font-size: var(--small-size);
  color: rgba(255,255,255,0.55);
}

.hero-right { display: none; }

/* Scroll hint */
.hero-scroll {
  position: absolute;
  bottom: var(--s32);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: bounce 2.2s ease-in-out infinite;
}
.hero-scroll svg {
  width: 24px;
  height: 24px;
  stroke: rgba(255,255,255,0.35);
  fill: none;
  stroke-width: 1.5;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ════════════════════════════════════════════════════════════
   9. PAIN SECTION (cream)
════════════════════════════════════════════════════════════ */
.pain-section { background: var(--cream); color: var(--text-body); }

.pain-intro {
  max-width: 720px;
  margin: 0 auto var(--s48);
  text-align: center;
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-body);
}
.pain-intro strong { color: var(--ink); font-weight: 700; }

/* Pain quote — editorial pull-quote */
.pain-quote {
  position: relative;
  max-width: 840px;
  margin: var(--s80) auto;
  padding: var(--s56) 0;
  font-family: var(--font-accent);
  font-size: clamp(22px, 3.5vw, 40px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
  text-align: center;
  text-wrap: balance;
  border-top: 1px solid var(--cream-dark);
  border-bottom: 1px solid var(--cream-dark);
}
.pain-quote::before {
  content: '\201C';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 80px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.6;
  font-family: var(--font-display);
}

.alternatives-label {
  font-family: var(--font-body);
  font-size: var(--small-size);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: var(--s24);
}

/* Alt grid — horizontal list style */
.alt-grid {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--s48);
}
.alt-card {
  display: grid;
  grid-template-columns: 60px 160px 120px 1fr;
  align-items: center;
  gap: var(--s24);
  padding: var(--s20) 0;
  border-bottom: 1px solid var(--cream-dark);
  background: none;
  border-radius: 0;
  box-shadow: none;
  transition: opacity 0.2s;
}
.alt-card:first-child { border-top: 1px solid var(--cream-dark); }
.alt-card:hover { opacity: 0.75; }
.alt-flag {
  font-size: 13px;
  margin-bottom: 0;
}
.alt-flag .flag-code,
.flag-code {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: var(--cream-dark);
  border-radius: var(--r4);
  padding: 4px 8px;
  display: inline-block;
}
.alt-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0;
}
.alt-price {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #A0392B;
  letter-spacing: 0.04em;
  margin-bottom: 0;
}
.alt-why {
  font-size: var(--small-size);
  color: var(--text-muted);
  line-height: 1.5;
}

/* Pain bridge */
.pain-bridge {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.pain-bridge p {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: var(--s32);
}
.pain-bridge strong {
  font-style: normal;
  color: var(--gold);
}

/* ════════════════════════════════════════════════════════════
   10. MARKET SECTION (dark — ink)
════════════════════════════════════════════════════════════ */
.market-section { background: var(--ink); color: #fff; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: var(--s64);
  border: 1px solid var(--dark-border);
  border-radius: var(--r24);
  overflow: hidden;
  gap: 1px;
  background: var(--dark-border);
}
.stat-cell {
  background: rgba(255,255,255,0.03);
  padding: var(--s40) var(--s32);
  text-align: center;
  transition: background 0.3s;
  border-top: 2px solid var(--gold);
}
.stat-cell:hover { background: rgba(184,148,106,0.06); }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(56px, 6vw, 88px);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: var(--s8);
  letter-spacing: -0.025em;
}
.stat-num .accent { color: var(--gold-light); }
.stat-lbl {
  font-size: var(--small-size);
  color: rgba(255,255,255,0.70);
  line-height: 1.5;
  max-width: 160px;
  margin: 0 auto;
}
.counter { display: inline; }

/* Compare blocks — 3 stat columns */
.compare-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s24);
  margin-bottom: var(--s16);
}
.cmp-block {
  padding: var(--s32) var(--s24);
  border-top: 2px solid rgba(184,148,106,0.2);
}
.cmp-block--active {
  border-top: 2px solid var(--gold);
}
.cmp-country {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: var(--s24);
  color: rgba(255,255,255,0.45);
}
.cmp-block--active .cmp-country {
  color: var(--gold-light);
}
.cmp-row {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--s16);
}
.cmp-v {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  line-height: 1.1;
  margin-bottom: 3px;
}
.cmp-block--active .cmp-v {
  color: #fff;
}
.cmp-l {
  font-size: 11px;
  color: rgba(255,255,255,0.30);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cmp-block--active .cmp-l {
  color: rgba(255,255,255,0.55);
}
.cmp-check { color: var(--gold-light) !important; }
.cmp-cross { color: rgba(255,255,255,0.25) !important; }
.cmp-block--dim { opacity: 0.5; }

/* Legacy table compat — скрыта */
.compare-wrap { display: none; }
.compare-note {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  text-align: center;
}

/* ════════════════════════════════════════════════════════════
   11. PROOF / STATS SECTION (dark)
════════════════════════════════════════════════════════════ */
.proof-section { background: var(--ink); color: #fff; }

.proof-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--dark-border);
  border-radius: var(--r24);
  overflow: hidden;
  margin-bottom: var(--s64);
}
.proof-stat {
  padding: var(--s40) var(--s32);
  border-right: 1px solid var(--dark-border);
  text-align: center;
  transition: background 0.3s;
}
.proof-stat:last-child { border-right: none; }
.proof-stat:hover { background: rgba(184,148,106,0.05); }
.proof-stat-num {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  letter-spacing: -0.025em;
  display: block;
  margin-bottom: var(--s8);
}
.proof-stat-lbl {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Case card */
.case-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--dark-border);
  border-radius: var(--r24);
  padding: var(--s40);
  max-width: 760px;
  margin: 0 auto;
}
.case-head {
  display: flex;
  align-items: center;
  gap: var(--s16);
  margin-bottom: var(--s32);
}
.case-av {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.case-nm { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 3px; }
.case-sub { font-size: var(--small-size); color: rgba(255,255,255,0.55); }
.case-doubts {
  margin-bottom: var(--s32);
  padding: var(--s20);
  background: rgba(255,255,255,0.03);
  border-radius: var(--r12);
}
.case-doubts h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: var(--s8);
}
.doubt {
  font-size: var(--small-size);
  color: rgba(255,255,255,0.60);
  padding: 4px 0 4px 16px;
  position: relative;
}
.doubt::before {
  content: '?';
  position: absolute;
  left: 0;
  color: rgba(255,255,255,0.30);
  font-weight: 700;
}
.case-nums {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s12);
  margin-bottom: var(--s32);
}
.case-num {
  text-align: center;
  padding: var(--s16) var(--s12);
  background: rgba(184,148,106,0.08);
  border: 1px solid rgba(184,148,106,0.20);
  border-radius: var(--r12);
}
.cn-v {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 4px;
  line-height: 1.1;
}
.cn-l { font-size: 11px; color: rgba(255,255,255,0.45); line-height: 1.35; }
.case-quote {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  border-top: 1px solid var(--dark-border);
  padding-top: var(--s24);
}

/* ════════════════════════════════════════════════════════════
   12. PROPERTIES SECTION
════════════════════════════════════════════════════════════ */
.products-section { background: var(--ink); color: #fff; }
.products-section .section-header h2 { color: #fff; }
.products-section .section-header .eyebrow { color: var(--gold-light); }

.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s32);
}
.product-card {
  background: #1C1F1A;
  border: 1px solid var(--dark-border);
  border-radius: var(--r24);
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.product-card--premium {
  border-color: rgba(184,148,106,0.35);
  box-shadow: 0 4px 40px rgba(184,148,106,0.10), 0 1px 4px rgba(0,0,0,0.3);
}
.product-card--premium:hover {
  box-shadow: 0 20px 64px rgba(184,148,106,0.20), 0 4px 16px rgba(0,0,0,0.4);
}

/* Card visual header */
.pcard-visual {
  height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--s20) var(--s24);
  position: relative;
  overflow: hidden;
}
.pcard-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 100%);
  z-index: 0;
  pointer-events: none;
}
.pcard-visual > * { position: relative; z-index: 1; }
.pcard-visual--a {
  background: linear-gradient(135deg, #1C2B1C 0%, #2D3E2D 60%, #1a2a1a 100%);
}
.pcard-visual--b {
  background: linear-gradient(135deg, #1C1E2B 0%, #252840 60%, #1a1c2a 100%);
}
.pcard-loc {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.50);
  margin-bottom: 4px;
}
.pcard-name {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
}
.pcard-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 13px;
  border-radius: var(--rpill);
}
.pcard-tag--a {
  background: var(--gold);
  color: var(--ink);
}
.pcard-tag--b {
  background: transparent;
  color: var(--gold-light);
  border: 1px solid rgba(184,148,106,0.55);
  backdrop-filter: blur(8px);
}

/* Card body */
.pcard-body { padding: var(--s32); }
.pcard-meta {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-bottom: var(--s20);
}
.pcard-metrics {
  display: flex;
  gap: var(--s12);
  padding: var(--s16);
  background: rgba(255,255,255,0.05);
  border-radius: var(--r12);
  margin-bottom: var(--s20);
  border: 1px solid rgba(255,255,255,0.08);
}
.metric { flex: 1; text-align: center; }
.metric-v {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 4px;
}
.product-card--premium .metric-v { color: var(--gold-light); }
.metric-l { font-size: 11px; color: rgba(255,255,255,0.40); line-height: 1.35; }

/* price in pcard */
.pcard-name {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
}

.pcard-features { margin-bottom: var(--s20); }
.pcard-feature {
  font-size: var(--small-size);
  color: rgba(255,255,255,0.55);
  padding: 8px 0 8px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
  line-height: 1.45;
}
.pcard-feature::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--gold);
  font-size: 11px;
}
.pcard-feature:last-child { border-bottom: none; }
.pcard-proof {
  font-size: 11px;
  color: rgba(255,255,255,0.30);
  text-align: center;
  margin-top: var(--s12);
  padding-top: var(--s12);
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* Ghost CTA button on dark product card */
.product-card .btn-primary {
  background: var(--gold);
  color: var(--ink);
}
.product-card .btn-outline-gold {
  border: 1px solid rgba(184,148,106,0.4);
  color: var(--gold-light);
  background: transparent;
}
.product-card .btn-outline-gold:hover {
  background: rgba(184,148,106,0.12);
  transform: translateY(-2px);
}

/* ════════════════════════════════════════════════════════════
   13. ABOUT ELVIRA — split layout
════════════════════════════════════════════════════════════ */
.elvira-section {
  background: var(--ink);
  color: #fff;
  padding: 0;
}
.elvira-section > .container {
  max-width: 100%;
  padding: 0;
}
.elvira-grid {
  display: grid;
  grid-template-columns: 45% 55%;
  min-height: 80vh;
}

/* Photo left */
.elvira-photo-wrap {
  position: relative;
  overflow: hidden;
}
.elvira-photo {
  width: 100%;
  height: 100%;
  min-height: 480px;
  background: linear-gradient(135deg, #2C1F10 0%, #3D2B18 50%, #2C1F10 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--s32);
}
.ephoto-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 4px;
}
.ephoto-loc {
  font-size: var(--small-size);
  color: var(--gold-light);
  display: block;
  font-style: italic;
  font-family: var(--font-accent);
}
.years-badge {
  position: absolute;
  top: var(--s24);
  right: var(--s24);
  background: var(--gold);
  color: var(--ink);
  border-radius: var(--r16);
  padding: 14px 18px;
  text-align: center;
  box-shadow: var(--sh-gold);
}
.yb-num {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  display: block;
}
.yb-txt {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
  display: block;
}

/* Text right */
.elvira-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--s80) clamp(32px, 6vw, 80px);
  background: var(--ink);
}
.elvira-text .eyebrow {
  display: block;
  margin-bottom: var(--s12);
  color: var(--gold-light);
}
.elvira-text h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin-bottom: var(--s8);
  letter-spacing: -0.015em;
}
.elvira-text .gold-bar { margin: var(--s16) 0 var(--s24); }
.elvira-text p {
  font-size: var(--body-size);
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: var(--s16);
}

/* Elvira hero quote — крупная цитата над именем */
.elvira-hero-quote {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2.5vw, 32px);
  color: var(--gold);
  line-height: 1.4;
  margin-bottom: var(--s20);
  border: none;
  padding: 0;
}

/* Elvira quote */
.elvira-quote {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 22px;
  color: var(--gold);
  line-height: 1.5;
  margin: var(--s24) 0;
  padding-left: var(--s24);
  border-left: 2px solid var(--gold-pale);
}
.elvira-quote-sig {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: var(--s8);
}

/* Honest box */
.honest-box {
  margin-top: var(--s32);
  padding: var(--s24) var(--s28);
  background: rgba(184,148,106,0.07);
  border-left: 2px solid var(--gold);
  border-radius: 0 var(--r12) var(--r12) 0;
}
.honest-box h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--s12);
}
.honest-box p {
  font-size: var(--small-size);
  color: rgba(255,255,255,0.55);
  margin-bottom: var(--s8);
  line-height: 1.6;
}
.honest-box p:last-child { margin-bottom: 0; }
.honest-box strong { color: var(--gold-light); }

/* e-badges */
.e-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s8);
  margin-top: var(--s24);
}
.e-badge {
  display: flex;
  align-items: flex-start;
  gap: var(--s12);
  padding: var(--s12) 0;
  border-bottom: 1px solid var(--dark-border);
  font-size: var(--small-size);
  color: rgba(255,255,255,0.60);
  line-height: 1.45;
}
.e-badge-dash {
  color: var(--gold);
  font-size: 16px;
  font-weight: 400;
  flex-shrink: 0;
  margin-top: 2px;
}
.e-badge-ico { display: none; }

/* ════════════════════════════════════════════════════════════
   14. HOW IT WORKS
════════════════════════════════════════════════════════════ */
.how-section { background: var(--cream-dark); color: var(--text-body); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s48);
}
.step {
  position: relative;
  padding-top: 88px;
  text-align: left;
}
.step-n {
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-display);
  font-size: 120px;
  font-weight: 900;
  line-height: 1;
  color: rgba(184,148,106,0.12);
  letter-spacing: -0.04em;
  user-select: none;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: var(--s12);
  color: var(--ink);
}
.step p {
  font-size: var(--small-size);
  color: var(--text-muted);
  line-height: 1.65;
}

.how-note {
  max-width: 480px;
  margin: var(--s48) auto 0;
  text-align: center;
  padding: 14px 24px;
  background: var(--gold-pale);
  border: 1px solid rgba(184,148,106,0.30);
  border-radius: var(--rpill);
  font-size: var(--small-size);
  font-weight: 500;
  color: var(--ink-light);
  font-style: italic;
  font-family: var(--font-accent);
}

/* ════════════════════════════════════════════════════════════
   15. FAQ
════════════════════════════════════════════════════════════ */
.faq-section { background: var(--cream); color: var(--text-body); }

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--gold-pale);
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: var(--s24) 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s16);
  cursor: pointer;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--gold); }
.faq-ico {
  font-size: 24px;
  font-weight: 300;
  color: var(--gold);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
  flex-shrink: 0;
  display: inline;
  background: none;
  border: none;
}
.faq-item.open .faq-ico { transform: rotate(45deg); }
.faq-item.open .faq-q { color: var(--gold); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s cubic-bezier(0.16,1,0.3,1), opacity 0.3s ease;
}
.faq-item.open .faq-a {
  max-height: 600px;
  opacity: 1;
}
.faq-inner {
  padding-bottom: var(--s24);
  padding-left: var(--s16);
  border-left: 2px solid transparent;
  transition: border-color 0.3s ease, padding-left 0.3s ease;
}
.faq-item.open .faq-inner {
  border-left: 2px solid var(--gold);
}
.faq-inner p {
  font-size: var(--body-size);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--s8);
}
.faq-inner p:last-child { margin-bottom: 0; }
.faq-inner strong { color: var(--ink); }

/* ════════════════════════════════════════════════════════════
   16. CTA SECTION (dark)
════════════════════════════════════════════════════════════ */
.cta-section { background: var(--ink); color: #fff; }

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s64);
  align-items: start;
}
.vs-label { display: block; margin-bottom: var(--s12); }
.vs h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: var(--s8);
}
.vs-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--s32);
  line-height: 1.6;
}
.vs-items { margin-bottom: var(--s24); }
.vs-item {
  display: flex;
  gap: var(--s16);
  padding: var(--s16) 0;
  border-bottom: 1px solid var(--dark-border);
}
.vs-item:last-child { border-bottom: none; }
.vs-ck {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.vs-txt strong {
  display: block;
  font-size: var(--body-size);
  font-weight: 600;
  color: #fff;
  margin-bottom: 3px;
}
.vs-txt span {
  font-size: var(--small-size);
  color: rgba(255,255,255,0.55);
  line-height: 1.45;
}
.vs-free {
  padding: var(--s16) var(--s20);
  background: rgba(184,148,106,0.09);
  border: 1px solid rgba(184,148,106,0.25);
  border-radius: var(--r12);
  font-size: var(--small-size);
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}
.vs-free strong { color: var(--gold-light); }
.antipitch {
  margin-top: var(--s16);
  font-size: var(--small-size);
  color: rgba(255,255,255,0.45);
  font-style: italic;
  font-family: var(--font-accent);
  padding-left: var(--s12);
  border-left: 2px solid rgba(184,148,106,0.35);
}

/* CTA antipitch quote block */
.cta-antipitch {
  max-width: 640px;
  margin: 0 auto var(--s56);
  text-align: center;
}
.cta-antipitch-quote {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 34px);
  font-style: italic;
  color: #fff;
  line-height: 1.35;
  margin-bottom: var(--s16);
}
.cta-antipitch-sub {
  font-size: var(--body-size);
  color: rgba(255,255,255,0.60);
}

/* Form card */
.form-card {
  background: var(--cream);
  border-radius: var(--r24);
  padding: var(--s40);
  color: var(--text-body);
  box-shadow: var(--sh-form);
}
.form-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--s24);
}
.form-group { margin-bottom: var(--s16); }
.form-group label {
  display: block;
  font-size: var(--small-size);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"] {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--r12);
  font-family: var(--font-body);
  font-size: var(--body-size);
  color: var(--text-body);
  background: var(--white);
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.form-group input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,148,106,0.15);
}
.budget-radios { display: flex; gap: var(--s8); }
.b-radio { flex: 1; cursor: pointer; }
.b-radio input { display: none; }
.b-radio-l {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 8px;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--r12);
  font-size: var(--small-size);
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.2s;
  min-height: 52px;
  line-height: 1.35;
  cursor: pointer;
}
.b-radio input:checked ~ .b-radio-l {
  border-color: var(--gold);
  background: var(--gold-pale);
  color: var(--gold);
}
.cta-eyebrow-note {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(26,20,16,0.4);
  text-align: center;
  margin-top: var(--s8);
}

.form-note {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: var(--s8);
}
.form-or {
  display: flex;
  align-items: center;
  gap: var(--s12);
  margin: var(--s16) 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-or::before,
.form-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--cream-dark);
}

/* Form success */
.form-success { display: none; text-align: center; padding: 20px 0; }
.form-success.visible { display: block; }
.success-ico {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gold-pale);
  color: var(--gold);
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--s16);
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.form-success p { font-size: var(--body-size); color: var(--text-muted); }

/* ════════════════════════════════════════════════════════════
   17. BUTTONS
════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s8);
  font-family: var(--font-body);
  font-size: var(--body-size);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--r4);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.2s, color 0.2s;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
  text-decoration: none;
}

/* Primary: gold fill */
.btn-primary {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 4px 20px rgba(184,148,106,0.30);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--sh-gold);
}

/* Ghost hero CTA */
.btn-outline-dark {
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
}
.btn-outline-dark:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* Gold border */
.btn-outline-gold {
  border: 1px solid var(--gold);
  color: var(--gold-light);
}
.btn-outline-gold:hover {
  background: var(--gold-glow);
  transform: translateY(-2px);
}

/* Light outline (on cream) */
.btn-outline-light {
  border: 1px solid var(--cream-border);
  color: var(--text-body);
}
.btn-outline-light:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* WhatsApp */
.btn-wa {
  background: #25D366;
  color: #fff;
}
.btn-wa:hover {
  background: #1DB954;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
}

/* Nav CTA (small gold border) */
.btn-sm.nav-cta {
  border: 1px solid rgba(255,255,255,0.40);
  color: #fff;
  font-size: 13px;
  padding: 8px 18px;
}

/* Sizes */
.btn-lg { font-size: 18px; padding: 16px 40px; }
.btn-sm { font-size: var(--small-size); padding: 9px 20px; }
.btn-full { width: 100%; }

/* Pulse on primary CTA */
.btn-pulse { position: relative; }
.btn-pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--r4);
  border: 2px solid var(--gold);
  opacity: 0;
  animation: pulse-ring 2.5s ease-out 1s 3;
}
@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: 0.65; }
  100% { transform: scale(1.08); opacity: 0; }
}

/* ════════════════════════════════════════════════════════════
   18. ANIMATIONS
════════════════════════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.7s ease;
}
.fade-in.visible { opacity: 1; }

.stagger-item {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease var(--delay, 0s),
    transform 0.6s ease var(--delay, 0s);
}
.stagger-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays via nth-child */
.stagger-item:nth-child(1) { transition-delay: 0s; }
.stagger-item:nth-child(2) { transition-delay: 0.12s; }
.stagger-item:nth-child(3) { transition-delay: 0.24s; }
.stagger-item:nth-child(4) { transition-delay: 0.36s; }

/* Hero stagger fires on page load */
.hero .stagger-item {
  animation: heroFadeIn 0.7s ease forwards;
  animation-delay: var(--delay, 0s);
  opacity: 0;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════════════════════════════════
   19. LANGUAGE SWITCHER
════════════════════════════════════════════════════════════ */
.t-en { display: none; }
[lang="en"] .t-ru { display: none; }
[lang="en"] .t-en { display: revert; }

/* ════════════════════════════════════════════════════════════
   20. HAMBURGER (already in Mobile Nav section above)
════════════════════════════════════════════════════════════ */
/* See section 7 */

/* ════════════════════════════════════════════════════════════
   21. UTILITIES
════════════════════════════════════════════════════════════ */

/* Trust strip (legacy compat) */
.trust-strip,
.trust-chip,
.budget-label,
.budget-selector { display: none; }

/* Hero metrics (legacy compat) */
.hero-metrics,
.hero-cta { display: none; }

/* Sticky bar (mobile) */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(26,20,16,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(184,148,106,0.18);
  display: none;
}
@media (max-width: 767px) {
  .sticky-bar { display: block; }
  body { padding-bottom: 72px; }
}

/* WA float button */
.wa-float {
  position: fixed;
  bottom: var(--s32);
  right: var(--s32);
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.40);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.wa-float:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 32px rgba(37,211,102,0.50);
}

/* Exit popup */
.exit-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(26,20,16,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--s24);
}
.exit-overlay.visible { display: flex; }
.exit-popup {
  background: var(--cream);
  border-radius: var(--r24);
  padding: var(--s40);
  max-width: 400px;
  width: 100%;
  position: relative;
  color: var(--text-body);
  box-shadow: 0 32px 80px rgba(26,20,16,0.35);
}
.exit-close {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 22px;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}
.exit-close:hover { color: var(--ink); }
.exit-popup .gold-bar { margin-bottom: var(--s20); }
.exit-popup h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.exit-popup p {
  font-size: var(--body-size);
  color: var(--text-muted);
  margin-bottom: var(--s20);
  line-height: 1.6;
}
.exit-fg { margin-bottom: var(--s12); }
.exit-fg label {
  display: block;
  font-size: var(--small-size);
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}
.exit-fg input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--r12);
  font-family: var(--font-body);
  font-size: var(--body-size);
  background: var(--white);
  color: var(--text-body);
}
.exit-fg input:focus { outline: none; border-color: var(--gold); }
.exit-skip {
  display: block;
  width: 100%;
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  padding: 8px;
  transition: color 0.2s;
}
.exit-skip:hover { color: var(--text-body); }

/* Footer */
.footer {
  background: var(--ink);
  padding: var(--s48) 0 var(--s32);
  border-top: 1px solid rgba(184,148,106,0.12);
  color: rgba(255,255,255,0.55);
  text-align: center;
}
.footer .container {
  display: flex;
  flex-direction: column;
  gap: var(--s24);
  align-items: center;
}
.footer-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  display: block;
}
.footer-role { font-size: var(--small-size); }
.footer-links {
  display: flex;
  gap: var(--s32);
  flex-wrap: wrap;
  justify-content: center;
}
.footer-lnk { font-size: var(--small-size); transition: color 0.2s; }
.footer-lnk:hover { color: var(--gold-light); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.30); margin-top: var(--s8); }

/* ════════════════════════════════════════════════════════════
   22. MEDIA QUERIES
════════════════════════════════════════════════════════════ */

/* 1024px — tablet landscape */
@media (max-width: 1024px) {
  .elvira-grid { grid-template-columns: 1fr 1fr; }
  .proof-stats { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 768px — tablet portrait / mobile boundary */
@media (max-width: 768px) {
  :root { --section-py: clamp(48px, 7vw, 64px); }
  .container { padding: 0 20px; }

  /* Hero */
  .hero {
    padding-top: 80px;
    padding-bottom: 64px;
    min-height: 100svh;
  }
  .hero-left {
    padding: 0 var(--s20);
    max-width: 100%;
  }
  .hero h1 {
    font-size: clamp(36px, 10vw, 52px);
    line-height: 1.05;
  }
  .hero-scroll { left: 50%; }

  /* Layout grids */
  .alt-card { grid-template-columns: 50px 1fr 80px; }
  .products-grid { grid-template-columns: 1fr; gap: var(--s24); }
  .compare-blocks { grid-template-columns: 1fr; gap: 0; }
  .cmp-block { border-top: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: var(--s24) 0; }
  .cmp-block--active { border-left: 2px solid var(--gold); padding-left: var(--s16); border-bottom: 1px solid rgba(255,255,255,0.08); border-top: none; }
  .cta-grid { grid-template-columns: 1fr; gap: var(--s40); }
  .case-nums { grid-template-columns: repeat(2, 1fr); }
  .e-badges { grid-template-columns: 1fr; }

  /* Steps */
  .steps { grid-template-columns: 1fr; gap: var(--s40); }

  /* Elvira split */
  .elvira-grid { grid-template-columns: 1fr; }
  .elvira-photo { min-height: 360px; max-height: 440px; }
  .years-badge { right: var(--s16); }
  .elvira-text { padding: var(--s48) var(--s24); }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-stats { grid-template-columns: repeat(2, 1fr); }

  /* Table */
  .compare-wrap { border-radius: var(--r12); max-width: calc(100vw - 40px); }
  table.compare th,
  table.compare td { font-size: 13px; padding: 12px 14px; white-space: normal; }
  table.compare { min-width: 420px; }

  /* Nav */
  .nav-cta { display: none !important; }

  /* Sticky WA */
  .wa-float { display: none; }
}

/* 480px — small mobile */
@media (max-width: 480px) {
  :root { --section-py: clamp(40px, 6vw, 56px); }
  .container { padding: 0 16px; }

  .hero h1 { font-size: clamp(32px, 8.5vw, 42px); line-height: 1.08; }
  .hero-right { height: 48svh; min-height: 220px; }
  .hero-left { padding: var(--s48) var(--s16) var(--s24); }
  .portrait-badge { left: 16px; bottom: 16px; padding: 12px 16px; }
  .pb-num { font-size: 36px; }

  /* Hero stats */
  .hero-stats { flex-wrap: wrap; gap: 12px 0; }
  .hs-sep { display: none; }
  .hero-stat { padding: 0 16px 0 0; min-width: calc(50% - 8px); }

  /* Alt list: stack vertically, hide price column on tiny screens */
  .alt-card { grid-template-columns: 50px 1fr; gap: var(--s12); }
  .alt-price { display: none; }

  /* Stats */
  .stat-num { font-size: clamp(36px, 9vw, 48px); }
  .stat-cell { padding: var(--s24) var(--s16); }
  .proof-stat { padding: var(--s20) var(--s16); }
  .proof-stat-num { font-size: clamp(36px, 9vw, 48px); }

  /* Case */
  .case-card { padding: var(--s24) var(--s20); }
  .case-nums { grid-template-columns: 1fr 1fr; }

  /* Product cards */
  .pcard-visual { height: 180px; }
  .pcard-body { padding: var(--s20) var(--s16); }
  .pcard-metrics { flex-wrap: wrap; gap: var(--s8); }
  .metric { min-width: calc(50% - 4px); }

  /* Form */
  .form-card { padding: var(--s24) var(--s20); }
  .form-group input[type="text"],
  .form-group input[type="tel"],
  .form-group input[type="email"] { font-size: 16px; } /* prevents iOS zoom */

  /* Steps */
  .step-n { font-size: 80px; }

  /* FAQ */
  .faq-q { font-size: 16px; padding: 18px 0; }

  /* Badges */
  .e-badges { gap: 0; }

  /* Table */
  table.compare th,
  table.compare td { font-size: 12px; padding: 10px 12px; }
  table.compare { min-width: 360px; }

  /* Footer */
  .footer { padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px)); }

  /* Step numbers */
  .step { padding-top: 70px; }
}

/* Very small: 360px */
@media (max-width: 360px) {
  .case-nums { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════
   TRUST SECTION — новый блок "Почему доверяют Эльвире"
   Идёт после Hero, до Pain
═══════════════════════════════════════════════════════════════════ */
.trust-section {
  background: var(--cream);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s32);
  margin-bottom: var(--s48);
}

.trust-card {
  display: flex;
  align-items: flex-start;
  gap: var(--s20);
  padding: var(--s24);
  background: #fff;
  border: 1px solid var(--cream-dark);
  border-radius: 6px;
}

.trust-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--ink);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  text-align: center;
}

.trust-body strong {
  display: block;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 6px;
}

.trust-body p {
  font-size: 0.875rem;
  color: var(--ink-60, #7a6f67);
  line-height: 1.55;
  margin: 0;
}

.trust-quote {
  background: var(--ink);
  border-radius: 6px;
  padding: var(--s32) var(--s40);
  text-align: center;
}

.trust-quote blockquote {
  font-family: var(--ff-serif);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-style: italic;
  color: var(--cream);
  line-height: 1.6;
  margin: 0 0 var(--s16);
  quotes: "\00AB" "\00BB";
}

.trust-quote cite {
  font-size: 0.82rem;
  color: var(--gold);
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .trust-grid {
    grid-template-columns: 1fr;
    gap: var(--s16);
  }
  .trust-quote {
    padding: var(--s24) var(--s20);
  }
}
