/* ============================================================
   EASILY.WORLD — Design tokens & base styles
   ============================================================ */

:root {
  /* Базовые — Mercury palette: lavender / cool grey / indigo */
  --bg-primary: #F2F0FB;       /* Бледно-сиреневый базовый фон */
  --bg-secondary: #E9E6F5;     /* Чуть темнее для секций */
  --bg-elevated: #FFFFFF;      /* Карточки, чистый белый */
  --bg-dark: #0F0F1E;          /* Тёмный с холодным синим */

  /* Текст */
  --text-primary: #1A1A2E;     /* Графит с синевой */
  --text-secondary: #4A4A66;   /* Средний холодный графит */
  --text-muted: #8A8AA8;       /* Светлый холодный графит */
  --text-inverse: #FFFFFF;

  /* Акценты — Mercury indigo */
  --accent-primary: #5B4FE9;
  --accent-primary-hover: #4A3FD4;
  --accent-warm: #8B7FFF;       /* alias для совместимости */
  --accent-warm-soft: #E5E1FB;
  --accent-gold-text: #5B4FE9;  /* alias для совместимости */

  /* Сервисные */
  --line: #DCD8EC;
  --line-strong: #C4BFE0;
  --success: #2E7D5C;
  --error: #B23A3A;

  /* Тени — холодные */
  --shadow-sm: 0 1px 2px rgba(26, 26, 46, 0.04);
  --shadow-md: 0 8px 24px rgba(26, 26, 46, 0.06);
  --shadow-lg: 0 24px 60px rgba(26, 26, 46, 0.08);
  --shadow-card: 0 1px 0 rgba(26, 26, 46, 0.04), 0 12px 32px rgba(26, 26, 46, 0.06);

  /* Сетка */
  --container-max: 1280px;
  --container-narrow: 880px;
  --container-wide: 1440px;
  --page-padding-x: clamp(20px, 5vw, 64px);
  --section-padding-y: clamp(80px, 10vw, 160px);

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Радиусы */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* Easing */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 280ms;
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Onest', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============================================================
   Typography
   ============================================================ */
.display {
  font-family: 'Fraunces', 'Playfair Display', serif;
  font-size: clamp(56px, 8vw, 96px);
  line-height: 1.0;
  font-weight: 400;
  letter-spacing: -0.04em;
}
h1, .h1 {
  font-size: clamp(40px, 5.2vw, 64px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.03em;
}
h2, .h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.025em;
}
h3, .h3 {
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.02em;
}
h4, .h4 {
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.body-lg { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; }
.body { font-size: 17px; line-height: 1.6; }
.body-sm { font-size: 15px; line-height: 1.55; color: var(--text-secondary); }
.caption {
  font-size: 13px; line-height: 1.4;
  font-weight: 500; letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.mono-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--accent-gold-text);
}
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-warm { color: var(--accent-warm); }
.text-accent { color: var(--accent-primary); }
.serif { font-family: 'Fraunces', serif; }

/* ============================================================
   Layout primitives
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--page-padding-x);
  padding-right: var(--page-padding-x);
}
.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding-left: var(--page-padding-x);
  padding-right: var(--page-padding-x);
}
section { padding-top: var(--section-padding-y); padding-bottom: var(--section-padding-y); }
.section-tight { padding-top: var(--space-9); padding-bottom: var(--space-9); }

.grid { display: grid; gap: var(--space-6); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-5 { gap: var(--space-5); }

.text-center { text-align: center; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 500;
  letter-spacing: -0.005em;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent-primary);
  color: var(--text-inverse);
  box-shadow: 0 4px 12px rgba(91, 79, 233, 0.25);
}
.btn-primary:hover {
  background: var(--accent-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(91, 79, 233, 0.35);
}
.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--line-strong);
}
.btn-secondary:hover {
  background: var(--bg-elevated);
  transform: translateY(-1px);
}
.btn-ghost {
  padding: 10px 0;
  color: var(--text-primary);
  font-weight: 500;
  position: relative;
}
.btn-ghost .arrow { transition: transform var(--dur) var(--ease); display: inline-block; }
.btn-ghost:hover .arrow { transform: translateX(4px); }
.btn-ghost:hover { text-decoration: underline; text-underline-offset: 4px; }

.btn-on-dark.btn-secondary {
  border-color: rgba(245, 241, 234, 0.3);
  color: var(--text-inverse);
}
.btn-on-dark.btn-secondary:hover {
  background: rgba(245, 241, 234, 0.08);
}

/* Pill / Tag */
.pill {
  display: inline-flex; align-items: center;
  background: var(--accent-warm-soft);
  color: var(--text-primary);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 13px; font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pill-warm { color: var(--accent-warm); background: transparent; padding-left: 0; padding-right: 0; }
.pill-new {
  background: var(--accent-primary);
  color: var(--text-inverse);
  padding: 4px 10px;
  font-size: 11px;
}

/* ============================================================
   Cards
   ============================================================ */
.card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }

.service-card {
  display: flex; flex-direction: column; gap: var(--space-4);
  min-height: 260px;
  position: relative;
}
.service-card .icon {
  width: 28px; height: 28px;
  color: var(--accent-primary);
  margin-bottom: var(--space-3);
}
.service-card h4 { margin-bottom: var(--space-2); }
.service-card p { color: var(--text-secondary); flex-grow: 1; }
.service-card .btn-ghost { margin-top: auto; align-self: flex-start; padding-top: var(--space-4); }

.quote-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: var(--space-5);
}
.quote-card .quote {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.quote-card .author {
  display: flex; align-items: center; gap: var(--space-3);
  margin-top: auto;
}
.quote-card .avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--accent-warm-soft);
  display: flex; align-items: center; justify-content: center;
  font-family: raunces', serif;
  color: var(--accent-primary);
  font-size: 18px;
  font-weight: 500;
}
.quote-card .author-info { display: flex; flex-direction: column; }
.quote-card .author-name { font-weight: 500; font-size: 15px; }
.quote-card .author-meta { font-size: 13px; color: var(--text-muted); }

.stat-card { text-align: left; padding: var(--space-7) var(--space-4); }
.stat-card .stat-num {
  font-family: 'Fraunces', serif;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 1;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  font-weight: 400;
}
.stat-card .stat-label {
  margin-top: var(--space-3);
  font-size: 13px; text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  height: 72px;
  display: flex; align-items: center;
  background: rgba(242, 240, 251, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  color: var(--text-primary);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
  font-size: 30px; font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--accent-primary);
}
.brand-mark-svg { flex-shrink: 0; }
.brand-text {
  display: inline-block;
  padding-bottom: 4px;
  line-height: 1.2;
  color: var(--accent-primary);
}
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .brand-text {
    background: linear-gradient(135deg, #5B4FE9 0%, #8B7FFF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}
.site-footer .brand-text {
  background: linear-gradient(135deg, #B5ABFF 0%, #8B7FFF 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}
.brand-mark, .brand-desc { display: none; }

.nav-main { display: flex; align-items: center; gap: var(--space-7); }
.nav-main a, .nav-main button {
  font-size: 15px; font-weight: 500;
  color: var(--text-primary);
  position: relative;
  padding: 6px 0;
  transition: color var(--dur) var(--ease);
}
.nav-main a:hover, .nav-main button:hover { color: var(--accent-primary); }
.nav-main a::after, .nav-main button::after {
  content: ''; position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 240ms var(--ease);
}
.nav-main a:hover::after, .nav-main button:hover::after { width: 100%; }
.nav-main .has-dropdown { display: inline-flex; align-items: center; gap: 6px; }
.chev { width: 14px; height: 14px; transition: transform var(--dur) var(--ease); }
.has-dropdown[aria-expanded="true"] .chev { transform: rotate(180deg); }
@media (max-width: 900px) { .nav-main { display: none; } }

.nav-cta { display: flex; align-items: center; gap: var(--space-3); }
@media (max-width: 600px) { .nav-cta .btn { padding: 12px 18px; font-size: 14px; } }

/* Mega menu */
.mega-menu {
  position: absolute; top: 72px; left: 0; right: 0;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: var(--space-8) 0;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.mega-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-menu .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-7); }
.mega-col h5 {
  font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-gold-text);
  margin-bottom: var(--space-4);
}
.mega-col ul { display: flex; flex-direction: column; gap: var(--space-3); }
.mega-col a {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-3); padding: 6px 0;
  font-size: 15px;
  color: var(--text-primary);
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease);
}
.mega-col a .arrow {
  color: var(--text-muted);
  transition: transform var(--dur) var(--ease), color var(--dur) var(--ease);
}
.mega-col a:hover { color: var(--accent-gold-text); }
.mega-col a:hover .arrow { transform: translateX(4px); color: var(--accent-gold-text); }
@media (max-width: 900px) { .mega-menu { display: none; } }

/* Mobile nav */
.nav-burger { display: none; width: 28px; height: 28px; }
@media (max-width: 900px) {
  .nav-burger { display: inline-flex; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
}
.nav-burger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--text-primary);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.mobile-nav-open .nav-burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.mobile-nav-open .nav-burger span:nth-child(2) { opacity: 0; }
.mobile-nav-open .nav-burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--bg-primary);
  z-index: 99;
  padding: var(--space-7) var(--page-padding-x);
  overflow-y: auto;
  transform: translateY(-100%);
  transition: transform 320ms var(--ease);
}
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav h5 {
  font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-gold-text);
  margin: var(--space-6) 0 var(--space-3);
}
.mobile-nav a {
  display: block;
  padding: var(--space-3) 0;
  font-size: 17px;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .btn { margin-top: var(--space-7); width: 100%; justify-content: center; }

/* Spacer for fixed header */
.has-fixed-header { padding-top: 72px; }
.hero-flush { margin-top: -72px; padding-top: 72px; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center;
  padding-top: var(--space-9);
  padding-bottom: var(--space-9);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -10%; right: -10%;
  width: 70%; height: 80%;
  background: radial-gradient(ellipse at top right, rgba(232, 217, 190, 0.55), rgba(245, 241, 234, 0) 60%);
  pointer-events: none;
  z-index: 0;
  animation: breathe 5s ease-in-out infinite alternate;
}
@keyframes breathe { from { opacity: 0.6; } to { opacity: 1; } }
.hero .container {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: var(--space-9);
  align-items: center;
}
@media (max-width: 1000px) {
  .hero .container { grid-template-columns: 1fr; gap: var(--space-7); }
}
.hero h1 {
  margin-top: var(--space-4);
  margin-bottom: var(--space-5);
  font-size: clamp(48px, 8vw, 96px);
  letter-spacing: -0.04em;
  line-height: 1.0;
  font-weight: 500;
  font-family: raunces', serif;
}
.hero .subline {
  max-width: 50ch;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: var(--space-7);
}
.hero-ctas { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.trust-line {
  margin-top: var(--space-6);
  font-size: 14px;
  color: var(--text-muted);
}
.trust-line span + span::before { content: ' · '; margin: 0 6px; }

/* Hero visual — 3 docs cards */
.hero-visual {
  position: relative;
  height: clamp(360px, 50vh, 520px);
  perspective: 1200px;
}
.doc-card {
  position: absolute;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 600ms var(--ease);
  will-change: transform;
}
.doc-card.doc-1 {
  width: 62%; aspect-ratio: 1.586;
  bottom: 8%; right: 5%;
  transform: rotate(-4deg);
  z-index: 3;
}
.doc-card.doc-2 {
  width: 50%; aspect-ratio: 0.7;
  top: 4%; right: 30%;
  transform: rotate(6deg);
  z-index: 2;
}
.doc-card.doc-3 {
  width: 56%; aspect-ratio: 1.4;
  top: 12%; left: 0;
  transform: rotate(-9deg);
  z-index: 1;
}
.doc-card .doc-content {
  padding: var(--space-5);
  height: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(135deg, #FBF9F5 0%, #F5F1EA 100%);
}
.doc-card .doc-label {
  font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}
.doc-card .doc-title {
  font-family: 'Onest', sans-serif;
  font-size: 18px;
  color: var(--text-primary);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.doc-card .doc-id {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-secondary);
}
.doc-decor-dot {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-warm);
}
.doc-decor-dot.d1 { top: 20%; left: 10%; }
.doc-decor-dot.d2 { bottom: 25%; left: 0; opacity: 0.5; }
.doc-decor-dot.d3 { top: 5%; right: 5%; opacity: 0.7; }

/* ============================================================
   Trust band
   ============================================================ */
.trust-band {
  background: var(--bg-secondary);
  padding: var(--space-8) 0;
  overflow: hidden;
}
.trust-band .caption { text-align: center; margin-bottom: var(--space-6); }
.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 80px, #000 calc(100% - 80px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 80px, #000 calc(100% - 80px), transparent);
}
.marquee-track {
  display: inline-flex;
  gap: var(--space-9);
  animation: marquee 60s linear infinite;
  white-space: nowrap;
  padding-right: var(--space-9);
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   Section header
   ============================================================ */
.section-head { margin-bottom: var(--space-8); max-width: 720px; }
.section-head .mono-tag { display: block; margin-bottom: var(--space-4); }
.section-head h2 { margin-bottom: var(--space-5); }
.section-head .subline { font-size: clamp(16px, 1.4vw, 18px); color: var(--text-secondary); max-width: 48ch; }

.section-divider { border-top: 1px solid var(--line); }

/* ============================================================
   Process — numbered steps
   ============================================================ */
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--space-7);
  position: relative;
}
@media (max-width: 900px) {
  .process-grid { grid-template-columns: 1fr; gap: var(--space-7); }
}
.process-step .num {
  font-family: raunces', serif;
  font-size: clamp(56px, 6vw, 96px);
  line-height: 1;
  color: var(--accent-warm);
  letter-spacing: -0.04em;
  margin-bottom: var(--space-5);
  font-weight: 400;
}
.process-step h4 { margin-bottom: var(--space-3); }
.process-step p { color: var(--text-secondary); font-size: 15px; }

/* Big horizontal step (detail page) */
.process-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--space-7);
  padding: var(--space-7) 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.process-row:last-child { border-bottom: 1px solid var(--line); }
.process-row .num {
  font-family: raunces', serif;
  font-size: 64px; line-height: 1;
  color: var(--accent-warm);
  font-weight: 400;
}
.process-row .step-meta { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: var(--space-3); }
.process-row h4 { margin-bottom: var(--space-3); }
.process-row p { color: var(--text-secondary); }
@media (max-width: 700px) {
  .process-row { grid-template-columns: 1fr; gap: var(--space-3); }
  .process-row .num { font-size: 48px; }
}

/* ============================================================
   Principles section (split)
   ============================================================ */
.principles-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-9);
}
@media (max-width: 900px) { .principles-grid { grid-template-columns: 1fr; gap: var(--space-7); } }
.principles-list { display: flex; flex-direction: column; }
.principle {
  padding: var(--space-6) 0;
  border-top: 1px solid var(--line);
}
.principle:last-child { border-bottom: 1px solid var(--line); }
.principle h4 {
  font-size: 13px; text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
  font-weight: 500;
}
.principle p { color: var(--text-primary); max-width: 60ch; }

/* ============================================================
   Stats row
   ============================================================ */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
@media (max-width: 900px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }
.stat-cell {
  padding: var(--space-7) var(--space-5);
  border-left: 1px solid var(--line);
}
.stat-cell:first-child { border-left: none; padding-left: 0; }
@media (max-width: 900px) {
  .stat-cell:nth-child(odd) { border-left: none; padding-left: 0; }
}

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq { max-width: 880px; margin: 0 auto; }
.faq-item {
  border-top: 1px solid var(--line);
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  padding: var(--space-6) 0;
  text-align: left;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
.faq-q .plus {
  width: 24px; height: 24px;
  position: relative;
  flex-shrink: 0;
  margin-left: var(--space-5);
}
.faq-q .plus::before, .faq-q .plus::after {
  content: ''; position: absolute;
  background: var(--text-primary);
  transition: transform var(--dur) var(--ease);
}
.faq-q .plus::before { left: 0; right: 0; top: 50%; height: 1.5px; transform: translateY(-50%); }
.faq-q .plus::after { top: 0; bottom: 0; left: 50%; width: 1.5px; transform: translateX(-50%); }
.faq-item.is-open .plus::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 320ms var(--ease);
}
.faq-a-inner {
  padding-bottom: var(--space-6);
  max-width: 65ch;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================================
   Lead magnet (dark)
   ============================================================ */
.lead-magnet {
  background: var(--bg-dark);
  color: var(--text-inverse);
}
.lead-magnet .container { max-width: 880px; }
.lead-magnet h2 { margin-bottom: var(--space-5); }
.lead-magnet .body-lg { color: rgba(245, 241, 234, 0.78); margin-bottom: var(--space-7); max-width: 50ch; }
.lead-form {
  display: flex; gap: var(--space-3);
  background: rgba(245, 241, 234, 0.08);
  border: 1px solid rgba(245, 241, 234, 0.15);
  border-radius: var(--radius-pill);
  padding: 6px;
  max-width: 520px;
}
.lead-form input {
  flex-grow: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 12px 18px;
  color: var(--text-inverse);
  font-size: 15px;
}
.lead-form input::placeholder { color: rgba(245, 241, 234, 0.5); }
.lead-form .btn-primary { background: var(--accent-primary); color: var(--text-inverse); }
.lead-form .btn-primary:hover { background: var(--accent-primary-hover); }
.lead-magnet .form-caption { margin-top: var(--space-4); font-size: 13px; color: rgba(245, 241, 234, 0.5); }

/* ============================================================
   Final CTA
   ============================================================ */
.final-cta { text-align: center; }
.final-cta .container { max-width: 720px; }
.final-cta h2 { margin-bottom: var(--space-5); }
.final-cta .body-lg { color: var(--text-secondary); margin: 0 auto var(--space-7); max-width: 50ch; }
.final-cta .whatsapp-line {
  margin-top: var(--space-6);
  font-size: 14px; color: var(--text-muted);
  display: flex; align-items: center; justify-content: center; gap: var(--space-3);
}
.final-cta .whatsapp-line a { color: var(--accent-primary); font-weight: 500; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-inverse);
  padding: var(--space-9) 0 var(--space-6);
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-7);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid rgba(245, 241, 234, 0.15);
}
@media (max-width: 900px) { .site-footer .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .site-footer .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand-desc { color: rgba(255, 255, 255, 0.5); }
.site-footer h5 {
  font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(245, 241, 234, 0.5);
  margin-bottom: var(--space-5);
  font-weight: 500;
}
.site-footer ul { display: flex; flex-direction: column; gap: var(--space-3); }
.site-footer ul a {
  font-size: 15px;
  color: rgba(245, 241, 234, 0.85);
  transition: color var(--dur) var(--ease);
}
.site-footer ul a:hover { color: var(--accent-warm); }
.site-footer .footer-address {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(245, 241, 234, 0.55);
  margin-top: 4px;
}
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: var(--space-6);
  font-size: 13px; color: rgba(245, 241, 234, 0.5);
  flex-wrap: wrap; gap: var(--space-3);
}
.footer-bottom .ritm {
  font-family: raunces', serif; font-style: italic;
  color: var(--accent-warm);
}

/* ============================================================
   Nav contacts (TG + WA) — indigo, compact, elegant
   ============================================================ */
.nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-primary);
  background: transparent;
  line-height: 1;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav-contact svg { flex-shrink: 0; opacity: 0.9; display: block; }
.nav-contact span { line-height: 1; display: inline-block; }
.nav-contact:hover {
  background: var(--accent-warm-soft);
  color: var(--accent-primary-hover);
}
@media (max-width: 1000px) {
  .nav-contact span { display: none; }
  .nav-contact { padding: 6px; }
}
@media (max-width: 600px) {
  .nav-contact { display: none; }
}

/* ============================================================
   Cookie banner
   ============================================================ */
.cookie {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 95;
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
  padding: var(--space-4) var(--page-padding-x);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-5);
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 320ms var(--ease);
}
.cookie.is-visible { transform: translateY(0); }
.cookie p { font-size: 14px; color: var(--text-secondary); max-width: 60ch; }
.cookie .actions { display: flex; gap: var(--space-3); }
.cookie .btn { padding: 10px 18px; font-size: 14px; }

/* ============================================================
   Modal — consultation
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0;
  z-index: 200;
  background: rgba(15, 20, 19, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-4);
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur);
}
.modal-overlay.is-open { opacity: 1; visibility: visible; }
.modal {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  width: 100%; max-width: 480px;
  box-shadow: var(--shadow-lg);
  position: relative;
  max-height: 90vh; overflow-y: auto;
  transform: translateY(20px);
  transition: transform 320ms var(--ease);
}
.modal-overlay.is-open .modal { transform: translateY(0); }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--text-secondary);
  transition: background var(--dur) var(--ease);
}
.modal-close:hover { background: var(--bg-secondary); color: var(--text-primary); }
.modal h3 { margin-bottom: var(--space-3); }
.modal p { color: var(--text-secondary); margin-bottom: var(--space-6); font-size: 15px; }

.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--space-4); }
.form-group label { font-size: 13px; color: var(--text-secondary); font-weight: 500; }
.form-group .hint { font-size: 12px; color: var(--text-muted); }
.input, .select, .textarea {
  background: var(--bg-primary);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 15px;
  outline: none;
  transition: border-color var(--dur) var(--ease);
  width: 100%;
}
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--accent-primary);
}
.textarea { resize: vertical; min-height: 72px; font-family: inherit; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text-secondary); margin-bottom: var(--space-5); }
.checkbox-row input { margin-top: 3px; }
.modal .btn { width: 100%; justify-content: center; }
.modal-success {
  text-align: center;
  padding: var(--space-7) 0;
}
.modal-success .check {
  width: 56px; height: 56px;
  margin: 0 auto var(--space-5);
  border-radius: 50%;
  background: var(--accent-warm-soft);
  color: var(--accent-primary);
  display: flex; align-items: center; justify-content: center;
}

/* ============================================================
   Detail page — hero with side card
   ============================================================ */
.detail-hero {
  padding-top: 120px;
  padding-bottom: var(--space-9);
}
.detail-hero .hero-grid {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: var(--space-9);
  align-items: start;
}
@media (max-width: 900px) { .detail-hero .hero-grid { grid-template-columns: 1fr; } }
.breadcrumbs { font-size: 14px; color: var(--text-muted); margin-bottom: var(--space-6); }
.breadcrumbs a { color: var(--text-muted); transition: color var(--dur) var(--ease); }
.breadcrumbs a:hover { color: var(--text-primary); }
.breadcrumbs .sep { margin: 0 8px; }
.detail-hero h1 { margin: var(--space-4) 0 var(--space-5); font-family: 'Fraunces', serif; font-weight: 400; letter-spacing: -0.04em; }
.detail-hero .subline { font-size: 18px; color: var(--text-secondary); max-width: 55ch; }

.params-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  box-shadow: var(--shadow-card);
}
.params-card .row { padding: var(--space-3) 0; border-bottom: 1px solid var(--line); }
.params-card .row:last-of-type { border-bottom: none; }
.params-card .row-label {
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--text-muted);
  margin-bottom: 4px;
}
.params-card .row-value { font-size: 17px; font-weight: 500; color: var(--text-primary); }
.params-card .btn { width: 100%; justify-content: center; margin-top: var(--space-5); }

/* Pricing block */
.pricing-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  max-width: 560px;
  margin: 0 auto;
}
.pricing-card .pricing-title {
  font-size: 13px; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--text-muted);
  margin-bottom: var(--space-4);
}
.pricing-card .price {
  font-family: raunces', serif;
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1;
  margin-bottom: var(--space-2);
  letter-spacing: -0.03em;
  font-weight: 400;
}
.pricing-card .price-alt { font-size: 14px; color: var(--text-muted); margin-bottom: var(--space-6); font-family: 'JetBrains Mono', monospace; }
.pricing-card h5 {
  font-size: 13px; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--text-muted);
  margin: var(--space-5) 0 var(--space-3);
}
.feature-list { display: flex; flex-direction: column; gap: 10px; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; }
.feature-list .check { color: var(--accent-primary); flex-shrink: 0; margin-top: 2px; }
.feature-list .dash { color: var(--text-muted); flex-shrink: 0; margin-top: 2px; }
.feature-list .muted { color: var(--text-muted); }
.pricing-card .btn { width: 100%; justify-content: center; margin-top: var(--space-6); }

.pricing-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }
.pricing-grid .pricing-card { max-width: none; }

/* Term band */
.term-band {
  margin: var(--space-7) auto 0;
  max-width: 720px;
  text-align: center;
  padding: var(--space-5);
  background: var(--accent-warm-soft);
  border-radius: var(--radius-md);
}
.term-band .label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent-primary); font-weight: 500; margin-bottom: 6px; }
.term-band .value { font-size: 18px; font-weight: 500; }
.term-band .note { font-size: 13px; color: var(--text-secondary); margin-top: 6px; }

/* Article-style content */
.prose { max-width: 65ch; }
.prose p { margin-bottom: var(--space-5); font-size: 18px; line-height: 1.65; color: var(--text-primary); }
.prose h2 { margin: var(--space-8) 0 var(--space-5); }
.prose h3 { margin: var(--space-7) 0 var(--space-4); }
.prose ul { margin: var(--space-4) 0 var(--space-5); display: flex; flex-direction: column; gap: 10px; padding-left: 0; }
.prose ul li { display: flex; align-items: flex-start; gap: 10px; font-size: 17px; line-height: 1.55; }
.prose ul li::before {
  content: '✓'; color: var(--accent-primary);
  flex-shrink: 0; font-size: 14px; line-height: 1.7;
}
.prose strong { font-weight: 500; }

/* Two-column editorial */
.story-grid {
  max-width: 880px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}
@media (max-width: 800px) { .story-grid { grid-template-columns: 1fr; gap: var(--space-5); } }
.story-grid p { font-size: 18px; line-height: 1.65; color: var(--text-primary); margin-bottom: var(--space-5); }

/* Service category section (services page) */
.service-category {
  padding: var(--space-9) 0;
  border-top: 1px solid var(--line);
}
.service-category:first-child { border-top: none; }
.service-category .head { margin-bottom: var(--space-7); max-width: 720px; }
.service-category .head .mono-tag { display: block; margin-bottom: var(--space-3); }
.service-category .head h3 { margin-bottom: var(--space-4); }
.service-category .head p { color: var(--text-secondary); max-width: 60ch; }
.cat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
@media (max-width: 1000px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cat-grid { grid-template-columns: 1fr; } }

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 400ms; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 480ms; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 560ms; }

/* Hero load animations */
.hero-anim > * { opacity: 0; transform: translateY(8px); animation: heroIn 700ms var(--ease) forwards; }
.hero-anim > *:nth-child(1) { animation-delay: 100ms; }
.hero-anim > *:nth-child(2) { animation-delay: 250ms; }
.hero-anim > *:nth-child(3) { animation-delay: 450ms; }
.hero-anim > *:nth-child(4) { animation-delay: 600ms; }
.hero-anim > *:nth-child(5) { animation-delay: 750ms; }
.hero-visual { opacity: 0; filter: blur(12px); animation: heroVisual 1100ms var(--ease) 400ms forwards; }
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }
@keyframes heroVisual { to { opacity: 1; filter: blur(0); } }

/* Focus */
:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Body lock when modal open */
body.no-scroll { overflow: hidden; }

/* Utilities */
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mt-7 { margin-top: var(--space-7); }
.mt-8 { margin-top: var(--space-8); }
/* ============================================================
   Best seller card highlight (services page)
   ============================================================ */
.card-best {
  position: relative;
  border-color: var(--accent-primary) !important;
  box-shadow: 0 8px 24px rgba(91, 79, 233, 0.12);
  background: linear-gradient(180deg, var(--accent-warm-soft) 0%, var(--bg-elevated) 60%);
}
.card-best:hover {
  box-shadow: 0 14px 32px rgba(91, 79, 233, 0.18) !important;
  transform: translateY(-3px);
}
.best-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--accent-primary);
  color: var(--text-inverse);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(91, 79, 233, 0.3);
  z-index: 2;
}

.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-7 { margin-bottom: var(--space-7); }

/* ============================================================
   PILL SPLIT (hero tag with separator)
   ============================================================ */
.pill-split {
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.pill-split .pill-sep {
  color: rgba(245, 241, 234, 0.4);
  font-weight: 300;
}
.pill-split .pill-soft {
  color: rgba(245, 241, 234, 0.6);
}

/* Hero ghost btn variant */
.btn-on-dark-ghost { color: var(--text-inverse); }
.btn-on-dark-ghost:hover { color: var(--accent-warm); }

/* ============================================================
   BENTO SERVICES — interactive expandable grid
   ============================================================ */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 200px;
  gap: var(--space-4);
}
@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
}

.bento-cell {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.bento-cell.is-open { overflow: visible; }
.bento-cell:hover {
  border-color: var(--line-strong);
  background: #FDFBF7;
}

.bento-cell.bento-accent {
  background: linear-gradient(135deg, #5B4FE9 0%, #4A3FD4 100%);
  color: var(--text-inverse);
  border-color: transparent;
}
.bento-cell.bento-accent .bento-sub { color: rgba(255, 255, 255, 0.78); }
.bento-cell.bento-accent .bento-num { color: rgba(255, 255, 255, 0.6); }
.bento-cell.bento-accent:hover { background: linear-gradient(135deg, #6B5FF0 0%, #5B4FE9 100%); }
.bento-cell.bento-accent .bento-plus { border-color: rgba(255,255,255,0.4); }
.bento-cell.bento-accent .bento-plus::before,
.bento-cell.bento-accent .bento-plus::after { background: var(--text-inverse); }
.bento-cell.bento-accent .bento-list a {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text-inverse);
}
.bento-cell.bento-accent .bento-list .meta { color: rgba(255, 255, 255, 0.65); }
.bento-cell.bento-accent .bento-list a:hover { color: #FFFFFF; }

.bento-badge {
  position: absolute;
  top: var(--space-5); right: var(--space-5);
  background: rgba(255, 255, 255, 0.18);
  color: var(--text-inverse);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 2;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.bento-toggle {
  width: 100%;
  flex: 1 1 auto;
  display: flex; flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  text-align: left;
  padding: var(--space-6);
  cursor: pointer;
  background: transparent;
  border: none;
  position: relative;
  color: inherit;
  min-height: 0;
}

.bento-head { display: flex; flex-direction: column; gap: var(--space-3); align-items: flex-start; }
.bento-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.bento-cell h3 {
  font-family: 'Onest', sans-serif;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}
.bento-sub {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 38ch;
}

.bento-plus {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  position: relative;
  align-self: flex-end;
  flex-shrink: 0;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.bento-plus::before, .bento-plus::after {
  content: '';
  position: absolute;
  background: var(--text-primary);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.bento-plus::before { left: 10px; right: 10px; top: 50%; height: 1.5px; transform: translateY(-50%); }
.bento-plus::after { top: 10px; bottom: 10px; left: 50%; width: 1.5px; transform: translateX(-50%); }
.bento-cell:hover .bento-plus { background: var(--text-primary); border-color: var(--text-primary); }
.bento-cell:hover .bento-plus::before,
.bento-cell:hover .bento-plus::after { background: var(--text-inverse); }
.bento-cell.bento-accent:hover .bento-plus { background: var(--accent-warm); border-color: var(--accent-warm); }
.bento-cell.bento-accent:hover .bento-plus::before,
.bento-cell.bento-accent:hover .bento-plus::after { background: var(--bg-dark); }

/* Open state — expand vertically */
.bento-cell.is-open {
  grid-row: span 2;
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card);
}
@media (max-width: 600px) {
  .bento-cell.is-open { grid-row: auto; }
}
.bento-cell.is-open .bento-plus::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}
.bento-cell.is-open .bento-toggle {
  height: auto;
  flex: 0 0 auto;
  padding-bottom: var(--space-4);
}
.bento-cell.is-open .bento-body { display: block; }

.bento-body {
  display: none;
  padding: 0 var(--space-6) var(--space-6);
  animation: bentoFade 320ms var(--ease);
}
@keyframes bentoFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.bento-list {
  display: flex; flex-direction: column;
  gap: 0;
}
.bento-list a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--space-4) 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  transition: color var(--dur) var(--ease), padding var(--dur) var(--ease);
}
.bento-list a:hover { color: var(--accent-primary); padding-left: 4px; }
.bento-list .meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  text-transform: none;
  word-break: break-word;
}

/* ============================================================
   IMAGE HERO — Dubai photo full-bleed with dark overlay
   ============================================================ */
.hero-img {
  position: relative;
  display: block;
  padding-top: 180px;
  padding-bottom: clamp(64px, 8vh, 120px);
  overflow: hidden;
  color: var(--text-inverse);
  margin-top: -72px;
}
.hero-img::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1512453979798-5ea266f8880c?auto=format&fit=crop&w=2400&q=85');
  background-size: cover;
  background-position: center 40%;
  z-index: 0;
  /* Desaturate warm sunset to a moody neutral */
  filter: saturate(0.45) brightness(0.78) contrast(1.05);
}
.hero-img::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,15,30,0.55) 0%, rgba(26,26,46,0.2) 35%, rgba(15,15,30,0.9) 100%),
    linear-gradient(90deg, rgba(15,15,30,0.55) 0%, rgba(15,15,30,0) 65%),
    linear-gradient(135deg, rgba(91,79,233,0.12) 0%, rgba(15,15,30,0) 70%);
  z-index: 1;
}
.hero-img .container {
  position: relative; z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-9);
  max-width: 1600px;
  padding-left: clamp(40px, 6vw, 96px);
  padding-right: clamp(40px, 6vw, 96px);
  min-height: calc(100vh - 360px);
}
@media (max-height: 700px) {
  .hero-img .container { min-height: auto; }
}

/* Pill row — separate top anchor, always visible */
.hero-img .hero-pill-row {
  display: block;
  min-height: 0;
  margin-bottom: clamp(48px, 8vh, 120px);
}
.hero-img .hero-anim {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
}
.hero-img .hero-anim > * { text-align: left; }
.hero-img h1 {
  font-size: clamp(36px, 4.5vw, 60px);
}
.hero-img .subline { max-width: 50ch; }
.hero-img .hero-meta {
  flex: 0 0 auto;
  text-align: left;
}
@media (max-width: 1100px) {
  .hero-img .container { flex-direction: column; align-items: stretch; gap: var(--space-7); }
}
.hero-img .pill {
  background: rgba(245, 241, 234, 0.12);
  color: var(--text-inverse);
  border: 1px solid rgba(245, 241, 234, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-img h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.04em;
  font-weight: 400;
  color: var(--text-inverse);
  margin: var(--space-5) 0 var(--space-6);
}
.hero-img h1 .h1-line { display: block; white-space: nowrap; }
.hero-img .subline {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.55;
  color: rgba(245, 241, 234, 0.85);
  max-width: 50ch;
  margin-bottom: var(--space-7);
}
.hero-img .hero-meta {
  display: flex; flex-direction: column;
  gap: var(--space-5);
  align-items: flex-start;
  text-align: left;
  border-left: 1px solid rgba(245, 241, 234, 0.25);
  padding-left: var(--space-6);
  min-width: 220px;
}
@media (max-width: 900px) {
  .hero-img .hero-meta { border-left: none; padding-left: 0; border-top: 1px solid rgba(245,241,234,0.2); padding-top: var(--space-6); }
}
.hero-img .hero-meta-item .label {
  font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(245, 241, 234, 0.55);
  margin-bottom: 6px;
  font-family: 'JetBrains Mono', monospace;
}
.hero-img .hero-meta-item .value {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.03em;
  color: #FFFFFF;
  font-weight: 400;
  line-height: 1;
}
.hero-img .hero-ctas { margin-top: var(--space-3); }
.hero-img .btn-primary {
  background: var(--accent-primary);
  color: var(--text-inverse);
  box-shadow: 0 4px 14px rgba(91, 79, 233, 0.35);
}
.hero-img .btn-primary:hover { background: var(--accent-primary-hover); }
.hero-img .btn-ghost { color: var(--text-inverse); }
.hero-img .btn-ghost:hover { color: #B5ABFF; }

/* Header — light Mercury style */
.site-header .nav-burger span { background: var(--text-primary); }

/* ============================================================
   DOCUMENT CLOSE-UP section (variant B)
   Big photo of Emirates ID / passport on warm surface, side text
   ============================================================ */
.doc-feature {
  background: var(--bg-secondary);
  overflow: hidden;
}
.doc-feature .feature-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: var(--space-9);
  align-items: start;
}
@media (max-width: 1000px) {
  .doc-feature .feature-grid { grid-template-columns: 1fr; gap: var(--space-7); }
}
.doc-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-lg);
  background: #1a1a1a;
  position: sticky;
  top: 100px;
}
@media (max-width: 1000px) { .doc-photo { position: relative; top: auto; max-width: 380px; } }
.doc-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.95) brightness(1.02);
}
.doc-photo .badge {
  position: absolute;
  top: var(--space-5); left: var(--space-5);
  background: rgba(15,20,19,0.7);
  color: var(--text-inverse);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: 'JetBrains Mono', monospace;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.doc-feature .feature-text h2 {
  margin-bottom: var(--space-5);
}
.doc-feature .feature-list-row {
  margin-top: var(--space-7);
  display: flex; flex-direction: column;
  gap: var(--space-4);
}
.doc-feature .feature-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: var(--space-5);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.doc-feature .feature-row:last-child { border-bottom: 1px solid var(--line); }
.doc-feature .feature-row .num {
  font-family: raunces', serif;
  color: var(--accent-warm);
  font-size: 28px;
  letter-spacing: -0.02em;
  font-weight: 400;
}
.doc-feature .feature-row .head { font-weight: 500; font-size: 17px; margin-bottom: 4px; }
.doc-feature .feature-row p { color: var(--text-secondary); font-size: 15px; line-height: 1.55; }

/* Two-column docs list (физ / юр) */
.docs-split {
  margin-top: var(--space-7);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}
@media (max-width: 700px) { .docs-split { grid-template-columns: 1fr; gap: var(--space-7); } }
.docs-col-head {
  display: flex; align-items: baseline; gap: var(--space-3);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--space-4);
}
.docs-col-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.docs-col-head h4 { font-size: 15px; font-weight: 500; }
.docs-list { display: flex; flex-direction: column; gap: var(--space-3); }
.docs-list li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 8px 0;
}
.docs-list li > span:first-child {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
}
.docs-list li .meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ============================================================
   IMAGE BAND — horizontal Dubai shots strip
   ============================================================ */
.image-band {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 4px;
  margin: 0;
  padding: 0;
}
@media (max-width: 800px) {
  .image-band { grid-template-columns: 1fr 1fr; }
  .image-band > :nth-child(3) { display: none; }
}
.image-band .img-cell {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #1a1a1a;
}
.image-band .img-cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}
.image-band .img-cell:hover img { transform: scale(1.04); }
.image-band .img-cell .label {
  position: absolute;
  bottom: var(--space-5); left: var(--space-5);
  color: var(--text-inverse);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.6);
}

/* ============================================================
   CITY SECTION — context band with Dubai backdrop
   ============================================================ */
.city-context {
  position: relative;
  color: var(--text-inverse);
  overflow: hidden;
  padding: clamp(120px, 15vw, 200px) 0;
}
.city-context::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1546412414-e1885259563a?auto=format&fit=crop&w=2400&q=85');
  background-size: cover;
  background-position: center;
  filter: saturate(0.85) brightness(0.65);
  z-index: 0;
}
.city-context::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,20,19,0.4) 0%, rgba(15,20,19,0.75) 100%);
  z-index: 1;
}
.city-context .container { position: relative; z-index: 2; }
.city-context h2 {
  font-family: raunces', serif;
  font-weight: 400;
  color: var(--text-inverse);
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin-bottom: var(--space-6);
}
.city-context .body-lg {
  color: rgba(245, 241, 234, 0.8);
  max-width: 55ch;
}
.city-context .stats-row { margin-top: var(--space-9); }
.city-context .stat-cell { border-left-color: rgba(255,255,255,0.18); }
.city-context .stat-num { color: #B5ABFF; }
.city-context .stat-label { color: rgba(255,255,255,0.6); }

/* Service card with image header */
.card-photo {
  padding: 0;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.card-photo .photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #1a1a1a;
}
.card-photo .photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}
.card-photo:hover .photo img { transform: scale(1.04); }
.card-photo .body {
  padding: var(--space-6);
  display: flex; flex-direction: column; gap: var(--space-3);
  flex-grow: 1;
}
.card-photo .body h4 { margin-bottom: 4px; }
.card-photo .body p { color: var(--text-secondary); flex-grow: 1; }
.card-photo .body .btn-ghost { margin-top: var(--space-3); align-self: flex-start; }

