/* style.css — design tokens + components for АванЭксперт / СтройПроектЭкспертиза */

/* ---------- FONTS ---------- */
/* Inter (Google Fonts, full Cyrillic support) — строгий геометрический sans-serif для заголовков и текста */

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.25rem);
  --text-3xl: clamp(2.25rem, 1rem + 3.5vw, 4.25rem);

  /* Spacing (4px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Surfaces — холодная инженерная база (70% нейтраль) */
  --color-bg: #F4F6F9;
  --color-surface: #FFFFFF;
  --color-surface-2: #FFFFFF;
  --color-surface-offset: #E8ECF1;
  --color-surface-offset-2: #DCE1E8;
  --color-surface-dynamic: #C9D1DC;
  --color-divider: #DFE3EA;
  --color-border: #D1D7E0;

  /* Text — тёмный графит с синим подтоном */
  --color-text: #2B2D42;
  --color-text-muted: #5C677D;
  --color-text-faint: #8A93A8;
  --color-text-inverse: #F4F6F9;

  /* Primary — матовый синий (структура, доверие, ГОСТы) — 25% */
  --color-primary: #2F5B88;
  --color-primary-hover: #244868;
  --color-primary-active: #1A3450;
  --color-primary-highlight: #DCE6EF;

  /* Accent — матовый брусничный/терракотовый, точечный акцент — 5% */
  --color-accent: #D94E4E;
  --color-accent-hover: #C23E3E;
  --color-accent-active: #A83232;
  --color-accent-highlight: #F7DEDE;

  /* Semantic */
  --color-success: #3f7a4e;
  --color-success-highlight: #d9e8dc;
  --color-error: #a3372c;
  --color-error-hover: #872c22;
  --color-error-highlight: #f0d9d5;
  --color-warning: #9a6a1f;
  --color-warning-highlight: #ece0c8;

  /* Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.875rem;
  --radius-xl: 1.25rem;
  --radius-full: 9999px;

  /* Motion */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows — tone matched to warm paper */
  --shadow-sm: 0 1px 2px oklch(0.2 0.03 155 / 0.08);
  --shadow-md: 0 6px 20px oklch(0.2 0.03 155 / 0.10);
  --shadow-lg: 0 16px 40px oklch(0.2 0.03 155 / 0.16);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 1040px;
  --content-wide: 1280px;
  --content-full: 100%;

  /* Fonts — строгий геометрический sans-serif */
  --font-display: 'Inter', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  /* Heading scale (desktop px per спецификации) */
  --text-h1: clamp(1.75rem, 1.3rem + 2.2vw, 2.625rem); /* 28px → 42px */
  --text-h2: clamp(1.375rem, 1.1rem + 1.1vw, 1.875rem); /* 22px → 30px */
  --text-h3: 1.25rem; /* 20px */

  --logo-accent: var(--color-accent);
}

/* Сайт использует только одну, светлую версию оформления. */

/* ---------- BASE TYPE ---------- */
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-text);
  font-weight: 600;
}
h1 { font-weight: 700; }
p, li {
  max-width: 68ch;
}
a {
  color: var(--color-primary);
}

.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
.container--default {
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
.container--narrow {
  max-width: var(--content-narrow);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
}

section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
}

.section-head {
  max-width: 60ch;
  margin-inline: auto;
  margin-bottom: clamp(var(--space-8), 5vw, var(--space-12));
  text-align: center;
}
.section-head .eyebrow { justify-content: center; font-size: var(--text-h2); }
.section-head h2 {
  font-size: var(--text-h2);
  margin-top: var(--space-3);
}
.section-head p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  margin-top: var(--space-4);
}

/* ---------- SKIP LINK ---------- */
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  z-index: 200;
  transition: top var(--transition-interactive);
}
.skip-link:focus {
  top: var(--space-4);
}

/* ---------- HEADER ---------- */
.topbar {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  font-size: var(--text-xs);
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-6);
  padding-block: var(--space-2);
}
.topbar-contacts {
  display: flex;
  align-items: center;
  gap: var(--space-2) var(--space-5);
  flex-wrap: wrap;
}
.topbar-contacts a {
  color: var(--color-text-inverse);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-weight: 500;
  white-space: nowrap;
}
.topbar-contacts a:hover { color: var(--color-accent-hover); text-decoration: underline; }
.topbar-note {
  color: oklch(from var(--color-text-inverse) l c h / 0.72);
  white-space: nowrap;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(from var(--color-bg) l c h / 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.1);
  transition: box-shadow var(--transition-interactive);
}
.header.is-scrolled { box-shadow: var(--shadow-sm); }
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-3);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
  flex-shrink: 0;
}
.brand svg { width: 38px; height: 38px; color: var(--color-primary); flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  letter-spacing: -0.01em;
}
.brand-sub {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.nav-links {
  display: flex;
  gap: var(--space-5);
}
.nav-links a {
  font-size: var(--text-sm);
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
}
.nav-links a:hover { color: var(--color-primary); }

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-text);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--color-bg);
  display: none;
  flex-direction: column;
  padding: var(--space-5);
}
.mobile-menu.is-open { display: flex; }
.mobile-menu-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-menu-close {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}
.mobile-menu-links {
  margin-top: var(--space-10);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.mobile-menu-links a {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-text);
  text-decoration: none;
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--color-divider);
}
.mobile-menu-contacts {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding-top: var(--space-8);
}
.mobile-menu-contacts a {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  min-height: 54px;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--color-accent-hover); box-shadow: var(--shadow-md); }
.btn-primary:active { background: var(--color-accent-active); }

.btn-outline {
  background: transparent;
  border-color: oklch(from var(--color-text-inverse) l c h / 0.4);
  color: inherit;
}
.btn-outline:hover { background: oklch(from var(--color-text-inverse) l c h / 0.08); }

.btn-secondary {
  background: var(--color-surface-2);
  border-color: var(--color-border);
  color: var(--color-text);
}
.btn-secondary:hover { background: var(--color-surface-offset); }

.btn-block { width: 100%; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  overflow: clip;
}
.hero--cover {
  padding-block: 0;
  min-height: clamp(600px, 74vh, 780px);
  display: flex;
  align-items: center;
  background: var(--color-bg);
}
.hero-cover-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-cover-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 74% center;
}
.hero-cover-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(9,14,15,0.88) 0%, rgba(9,14,15,0.72) 26%, rgba(9,14,15,0.32) 50%, rgba(9,14,15,0) 66%);
}
.hero-cover-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: clamp(var(--space-10), 8vw, var(--space-16));
}
.hero--cover .hero-copy {
  max-width: 620px;
  color: #F4F6F9;
}
.hero--cover .hero-copy .eyebrow { color: #E9928E; }
.hero-copy h1 {
  font-size: var(--text-h1);
  letter-spacing: -0.01em;
  margin-top: var(--space-4);
}
.hero--cover .hero-copy h1 { color: #F4F6F9; text-shadow: 0 2px 18px rgba(0,0,0,0.35); }
.hero-copy .lede {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-top: var(--space-5);
  max-width: 56ch;
}
.hero-services {
  margin-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.hero-services li {
  list-style: none;
  font-size: var(--text-xs);
  font-weight: 600;
  color: #1A3450;
  background: #E4ECF3;
  border-radius: var(--radius-sm);
  padding: var(--space-2) var(--space-4);
  max-width: none;
}
.hero-cta {
  margin-top: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}
.hero-cta-note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.hero--cover .hero-cta-note { color: rgba(244,246,249,0.75); }

.hero-stats {
  margin-top: clamp(var(--space-10), 6vw, var(--space-16));
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-6);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
}
.hero-stats--cover {
  margin-top: 0;
  margin-bottom: clamp(var(--space-7), 4.5vw, var(--space-9));
  padding: var(--space-5) var(--space-6);
  border-top: none;
  background: rgba(8, 13, 22, 0.52);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 44px rgba(4, 8, 14, 0.32);
}
.hero--cover .hero-stats--cover .stat dt { font-size: var(--text-xl); }
.hero--cover .stat dt { color: #ffffff; }
.hero--cover .stat dd { color: rgba(244,246,249,0.8); }
.stat dt {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-primary);
  font-weight: 600;
}
.stat dd {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
  max-width: 20ch;
}

/* ---------- SERVICES ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: var(--space-5);
}
.service-card {
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.service-card:hover { box-shadow: var(--shadow-md); }
.service-icon {
  width: 40px;
  height: 40px;
  color: var(--color-primary);
}
.service-card h3 {
  font-size: var(--text-h3);
  font-family: var(--font-body);
  font-weight: 600;
}
.service-card p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* ---------- MINI CTA BANDS ---------- */
.mini-cta {
  padding-block: clamp(var(--space-10), 5vw, var(--space-14));
  background: var(--color-surface-offset);
  border-block: 1px solid var(--color-border);
}
.mini-cta-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-10);
  align-items: center;
}
.mini-cta-copy .eyebrow { color: var(--color-accent); font-size: var(--text-h2); }
.mini-cta-copy h3 {
  font-size: var(--text-h2);
  margin-top: var(--space-2);
}
.mini-cta-copy p {
  color: var(--color-text-muted);
  margin-top: var(--space-2);
}
.mini-cta-form { display: flex; flex-direction: column; gap: var(--space-3); }
.mini-cta-fields {
  display: flex;
  gap: var(--space-3);
}
.mini-cta-fields input[type="tel"] {
  flex: 1;
  min-width: 0;
  height: 52px;
  padding-inline: var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
  color: var(--color-text);
  font-size: var(--text-base);
}
.mini-cta-fields input[type="tel"]:focus { border-color: var(--color-primary); }
.mini-cta-fields .btn { white-space: nowrap; flex-shrink: 0; }
.mini-cta-form .consent-row label { font-size: var(--text-xs); }
.mini-cta-form .form-status { padding: var(--space-3); font-size: var(--text-xs); }

/* ---------- PROMO OFFER ---------- */
.promo-offer {
  padding-block: clamp(var(--space-10), 5vw, var(--space-14));
  padding-bottom: calc(clamp(var(--space-10), 5vw, var(--space-14)) + 10px);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border-block: 1px solid var(--color-accent);
}
.promo-offer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-10);
  align-items: center;
}
.promo-offer-copy {
  text-align: center;
}
.promo-offer-copy .promo-eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--color-text-inverse);
  background: var(--color-accent);
  padding: 0.3em 0.9em;
  border-radius: var(--radius-full, 999px);
  font-weight: 600;
}
.promo-offer-copy h2 {
  font-size: var(--text-h2);
  margin-top: var(--space-3);
  color: var(--color-text-inverse);
}
.promo-offer-copy > p {
  color: var(--color-text-inverse);
  opacity: 0.85;
  margin-top: var(--space-2);
}
.promo-countdown {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-5);
}
.promo-countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 72px;
  padding: var(--space-3) var(--space-2);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
}
.promo-countdown-value {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-inverse);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.promo-countdown-label {
  font-size: var(--text-xs);
  color: var(--color-text-inverse);
  opacity: 0.75;
  margin-top: var(--space-1);
}
.promo-fineprint {
  margin-top: var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-inverse);
  opacity: 0.65;
}
.promo-form { background: var(--color-surface-2); padding: var(--space-6); border-radius: var(--radius-lg); }
.promo-form .mini-cta-fields input[type="tel"] { background: var(--color-surface-offset); }

/* ---------- WHY US ---------- */
.why-section {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}
.why-section .section-head p { color: oklch(from var(--color-text-inverse) l c h / 0.75); }
.why-section .eyebrow { color: var(--color-accent-hover); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.why-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-1);
  padding-block: var(--space-2);
  border-top: 1px solid oklch(from var(--color-text-inverse) l c h / 0.16);
}
.why-item:first-child { border-top: none; }
.why-item p { max-width: 52ch; }
.why-num {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: 1;
  color: var(--color-accent);
  flex-shrink: 0;
  width: auto;
}
.why-item h3 {
  color: var(--color-text-inverse);
  font-size: var(--text-base);
  font-family: var(--font-body);
  font-weight: 600;
}
.why-item p {
  color: oklch(from var(--color-text-inverse) l c h / 0.72);
  font-size: var(--text-sm);
  line-height: 1.4;
  margin-top: 0;
}

.accred-strip {
  margin-top: clamp(var(--space-10), 6vw, var(--space-16));
  padding-top: clamp(var(--space-8), 5vw, var(--space-10));
  border-top: 1px solid oklch(from var(--color-text-inverse) l c h / 0.16);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}
.accred-card {
  background: oklch(from var(--color-text-inverse) l c h / 0.06);
  border: 1px solid oklch(from var(--color-text-inverse) l c h / 0.18);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  display: flex;
  gap: var(--space-4);
  align-items: center;
}
.accred-card svg { width: 26px; height: 26px; color: var(--color-accent); flex-shrink: 0; }
.accred-card .accred-title { font-weight: 600; font-size: var(--text-sm); color: var(--color-text-inverse); }
.accred-card .accred-num { font-size: var(--text-xs); color: oklch(from var(--color-text-inverse) l c h / 0.7); margin-top: var(--space-1); line-height: 1.5; }
.accred-card > div { flex: 1; min-width: 0; }
.accred-view-btn {
  flex-shrink: 0;
  appearance: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid oklch(from var(--color-accent) l c h / 0.5);
  background: transparent;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-accent);
  white-space: nowrap;
  transition: background var(--transition-interactive), color var(--transition-interactive);
}
.accred-view-btn:hover { background: var(--color-accent); color: var(--color-primary); }
.accred-source {
  margin-top: var(--space-5);
  font-size: var(--text-xs);
  color: oklch(from var(--color-text-inverse) l c h / 0.6);
}
.accred-source a { color: inherit; text-decoration: underline; }

/* Certificate modal (lightbox) */
.cert-modal[hidden] { display: none; }
.cert-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
}
.cert-modal-backdrop {
  position: absolute;
  inset: 0;
  background: oklch(from var(--color-primary) l c h / 0.7);
  backdrop-filter: blur(4px);
}
.cert-modal-inner {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: 88vh;
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  box-shadow: var(--shadow-lg);
}
.cert-modal-close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  color: var(--color-text);
  background: var(--color-surface-offset);
}
.cert-modal-close:hover { background: var(--color-divider); }
#cert-modal-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  padding-right: var(--space-8);
}
#cert-modal-frame {
  width: 100%;
  flex: 1;
  min-height: 60vh;
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  background: var(--color-surface-offset);
}
.cert-modal-fallback {
  display: block;
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-align: center;
}
.cert-modal-fallback:hover { color: var(--color-primary); }

.why-result-figure {
  margin-top: clamp(var(--space-10), 6vw, var(--space-14));
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-8);
  align-items: center;
  background: oklch(from var(--color-text-inverse) l c h / 0.06);
  border: 1px solid oklch(from var(--color-text-inverse) l c h / 0.18);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
}
.why-result-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.why-result-photos img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}
.why-result-caption .eyebrow { color: var(--color-accent-hover); display: block; margin-bottom: var(--space-2); }
.why-result-headline {
  color: var(--color-text-inverse);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: 1.35;
  font-weight: 600;
  text-align: center;
}
.why-result-caption p:not(.why-result-headline) {
  color: oklch(from var(--color-text-inverse) l c h / 0.75);
  font-size: var(--text-sm);
  margin-top: var(--space-3);
  text-align: center;
}

/* ---------- PROCESS ---------- */
.process-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-2) 0;
}
.process-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 148px;
  gap: var(--space-2);
  padding-inline: var(--space-2);
}
.process-arrow {
  align-self: flex-start;
  margin-top: 18px;
  flex-shrink: 0;
  color: var(--color-text-muted);
  font-size: var(--text-lg);
}
.process-num {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  flex-shrink: 0;
  z-index: 1;
}
.process-body h3 {
  font-size: var(--text-sm);
  font-family: var(--font-body);
  font-weight: 600;
}
.process-body p {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  margin-top: var(--space-1);
}

/* ---------- STORY / SCENES ---------- */
.scene-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-8), 6vw, var(--space-16));
  align-items: center;
}
.scene-row + .scene-row {
  margin-top: clamp(var(--space-16), 8vw, var(--space-24));
}
.scene-row.reverse .scene-figure { order: 2; }
.scene-row.reverse .scene-copy { order: 1; }
.scene-figure {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.scene-copy .eyebrow { margin-bottom: var(--space-3); }
.scene-copy h3 {
  font-size: var(--text-h2);
}
.scene-copy p {
  color: var(--color-text-muted);
  margin-top: var(--space-4);
}

.collage-figure {
  margin-top: clamp(var(--space-16), 8vw, var(--space-20));
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.collage-caption {
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-align: center;
}

/* ---------- CONTACT CARDS ---------- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  margin-bottom: clamp(var(--space-12), 6vw, var(--space-16));
}
.contact-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.contact-card-icon {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.contact-card h3 {
  font-size: var(--text-h3);
  font-family: var(--font-body);
  font-weight: 600;
}
.contact-card p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  flex-grow: 1;
}
.contact-card-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  word-break: break-word;
}
.contact-card-link:hover { text-decoration: underline; }
.contact-card--accent {
  background: var(--color-accent-highlight);
  border-color: oklch(from var(--color-accent) l c h / 0.35);
}
.contact-card--accent .contact-card-icon { color: var(--color-accent); }
.contact-card--accent .contact-card-link { color: var(--color-accent); }

.contact-cards--compact { grid-template-columns: repeat(2, 1fr); }
.contact-cards--single {
  display: flex;
  justify-content: center;
}
.contact-cards--single .contact-card--offices {
  width: 100%;
  max-width: 640px;
}
.contact-office-row {
  display: flex;
  flex-direction: row;
  gap: var(--space-8);
  flex: 1;
}
.contact-office { flex: 1; min-width: 0; }
.contact-office .contact-card-icon { margin-bottom: var(--space-2); }
.contact-office .contact-card-link { display: block; margin-top: var(--space-2); }
.contact-office-divider {
  width: 1px;
  background: var(--color-divider);
  flex-shrink: 0;
}
.contact-write-icons {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: auto;
  padding-top: var(--space-2);
}
.write-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  flex-shrink: 0;
}
.write-icon svg { width: 18px; height: 18px; }
.write-icon:hover { background: var(--color-primary-highlight); }

/* ---------- FORM ---------- */
.form-section {
  background: var(--color-surface);
}
.form-mail-note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-align: center;
}
.form-mail-note a { color: var(--color-primary); font-weight: 600; }
.form-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(var(--space-8), 6vw, var(--space-16));
}
.form-aside .eyebrow { font-size: var(--text-xl); }
.form-aside h2 { font-size: var(--text-xl); }
.form-aside p { color: var(--color-text-muted); margin-top: var(--space-4); }
.form-aside-contacts {
  margin-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.form-aside-contacts a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
}
.form-aside-contacts a svg { width: 20px; height: 20px; color: var(--color-primary); flex-shrink: 0; }
.form-aside-contacts a:hover { color: var(--color-primary); }

.card-form {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-6), 4vw, var(--space-10));
  box-shadow: var(--shadow-md);
}
.card-form--compact {
  padding: clamp(var(--space-5), 3vw, var(--space-7));
}
.card-form--compact .form-grid { gap: var(--space-3); }
.card-form--compact .form-field input[type="text"],
.card-form--compact .form-field input[type="tel"],
.card-form--compact .form-field input[type="email"],
.card-form--compact .form-field textarea {
  min-height: 42px;
  padding: var(--space-2) var(--space-3);
}
.card-form--compact .form-field textarea { min-height: 76px; }
.card-form--compact .form-field { gap: var(--space-1); }
.card-form--compact .file-drop { padding: var(--space-4); }
.card-form--compact .consent-group { gap: var(--space-2); margin-top: var(--space-1); }
.card-form--compact .form-footer { margin-top: var(--space-4); gap: var(--space-2); }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
.form-field { display: flex; flex-direction: column; gap: var(--space-2); align-items: center; text-align: center; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: var(--text-sm);
  font-weight: 600;
}
.form-field input[type="text"],
.form-field input[type="tel"],
.form-field input[type="email"],
.form-field textarea {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
  font-size: var(--text-base);
  min-height: 48px;
  width: 100%;
  text-align: center;
}
.form-field textarea { min-height: 110px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--color-primary); }
.form-field .req { color: var(--color-accent); }

.file-drop {
  border: 1.5px dashed var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  background: var(--color-surface);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}
.file-drop:hover, .file-drop.is-dragover { border-color: var(--color-primary); color: var(--color-primary); background: var(--color-primary-highlight); }
.file-drop svg { width: 28px; height: 28px; }
.file-drop input[type="file"] { display: none; }
.file-list {
  margin-top: var(--space-2);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.file-list-item {
  font-size: var(--text-xs);
  color: var(--color-text);
  background: var(--color-surface-offset);
  border-radius: var(--radius-sm);
  padding: var(--space-2) var(--space-3);
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
}
.file-list-item button { color: var(--color-error); font-size: var(--text-xs); font-weight: 600; }

.consent-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-2);
}
.consent-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: flex-start;
  border-radius: var(--radius-md);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.consent-row.is-invalid {
  background: var(--color-error-highlight);
  box-shadow: 0 0 0 1px var(--color-error);
  padding: var(--space-2);
  margin: calc(var(--space-2) * -1);
}
.consent-row .field-error { flex-basis: 100%; margin-left: calc(20px + var(--space-3)); }
.consent-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--color-primary);
  flex-shrink: 0;
}
.consent-row label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.consent-row a { color: var(--color-primary); font-weight: 600; }

.form-footer {
  margin-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.form-status {
  display: none;
  border-radius: var(--radius-md);
  padding: var(--space-4);
  font-size: var(--text-sm);
  font-weight: 500;
}
.form-status.is-success {
  display: block;
  background: var(--color-success-highlight);
  color: var(--color-success);
}
.form-status.is-error {
  display: block;
  background: var(--color-error-highlight);
  color: var(--color-error);
}
.field-error {
  font-size: var(--text-xs);
  color: var(--color-error);
  display: none;
}
.field-error.is-visible { display: block; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding-block: clamp(var(--space-10), 5vw, var(--space-14)) var(--space-6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: var(--space-8);
}
.footer-brand { display: flex; align-items: center; gap: var(--space-3); text-decoration: none; color: var(--color-text-inverse); }
.footer-brand svg { width: 34px; height: 34px; color: var(--color-text-inverse); }
.footer-brand-name { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; }
.footer p, .footer address { color: oklch(from var(--color-text-inverse) l c h / 0.72); font-size: var(--text-sm); font-style: normal; }
.footer address { margin-top: var(--space-3); line-height: 1.6; }
.footer h4 {
  color: var(--color-text-inverse);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
  margin-bottom: var(--space-3);
}
.footer ul { display: flex; flex-direction: column; gap: var(--space-2); }
.footer ul a {
  color: oklch(from var(--color-text-inverse) l c h / 0.78);
  font-size: var(--text-sm);
  text-decoration: none;
}
.footer ul a:hover { color: var(--color-text-inverse); text-decoration: underline; }
.footer ul.footer-contacts-plain a {
  color: inherit;
  font-size: inherit;
  text-decoration: none;
  cursor: default;
}
.footer ul.footer-contacts-plain a:hover { color: inherit; text-decoration: none; }
.footer-bottom {
  margin-top: clamp(var(--space-10), 6vw, var(--space-16));
  padding-top: var(--space-6);
  border-top: 1px solid oklch(from var(--color-text-inverse) l c h / 0.16);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: oklch(from var(--color-text-inverse) l c h / 0.6);
}

/* ---------- PRIVACY PAGE ---------- */
.policy-page main {
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
}
.policy-content {
  max-width: var(--content-narrow);
  margin-inline: auto;
}
.policy-content h1 { font-size: var(--text-2xl); }
.policy-content .updated { color: var(--color-text-faint); font-size: var(--text-sm); margin-top: var(--space-3); }
.policy-content h2 {
  font-size: var(--text-lg);
  margin-top: var(--space-12);
  margin-bottom: var(--space-4);
}
.policy-content p, .policy-content li {
  color: var(--color-text-muted);
  margin-top: var(--space-3);
}
.policy-content ul, .policy-content ol { padding-left: var(--space-6); }
.policy-content ul li { list-style: disc; }
.policy-content ol li { list-style: decimal; }
.policy-content strong { color: var(--color-text); }
.policy-back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-8);
  text-decoration: none;
}

/* ---------- CURATOR CARD ---------- */
.curator-section { background: var(--color-surface-2); }
.curator-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-8);
  align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-6), 4vw, var(--space-10));
}
.curator-photo {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-full);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--color-surface-offset);
}
.curator-photo svg, .curator-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.curator-body .eyebrow { display: block; margin-bottom: var(--space-2); }
.curator-body h3 { font-size: var(--text-h3); margin: 0; }
.curator-role { color: var(--color-accent); font-weight: 600; font-size: var(--text-sm); margin-top: var(--space-1); margin-bottom: var(--space-3); }
.curator-body > p:not(.curator-role) { color: var(--color-text-muted); line-height: 1.6; margin-bottom: var(--space-5); text-align: justify; text-align-last: left; }

/* ---------- ACCORDIONS (details/summary, CSS-only) ---------- */
.accordion {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface-2);
  overflow: hidden;
}
.accordion > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--color-primary);
}
.accordion > summary::-webkit-details-marker { display: none; }
.accordion > summary::after {
  content: '';
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.accordion[open] > summary::after { transform: rotate(-135deg); }
.accordion[open] > summary { border-bottom: 1px solid var(--color-border); }
.accordion .reg-grid,
.accordion .carousel,
.accordion .carousel-dots {
  margin-top: var(--space-5);
}
.reg-accordion { margin-top: var(--space-8); padding: var(--space-2); }
.reg-accordion .reg-grid { padding: var(--space-3); }
.portfolio-accordion { margin-inline: var(--space-4); }
.portfolio-accordion .carousel { padding-top: var(--space-4); }
.portfolio-accordion .carousel-dots { padding-bottom: var(--space-4); }
.egrz-accordion { margin-top: var(--space-4); margin-bottom: var(--space-5); }
.egrz-accordion p { padding: 0 var(--space-5) var(--space-4); color: var(--color-text-muted); }

/* ---------- REGULATORY BASE ---------- */
.regulations-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: var(--space-10);
  align-items: center;
  margin-bottom: clamp(var(--space-10), 6vw, var(--space-14));
}
.regulations-figure {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.regulations-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.reg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.reg-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-6);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--color-text);
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.reg-card:hover { border-color: var(--color-primary); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.reg-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--color-accent-highlight);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-1);
}
.reg-title { font-weight: 600; font-size: var(--text-base); line-height: 1.35; }
.reg-desc { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.5; flex: 1; }
.reg-link { font-size: var(--text-sm); font-weight: 600; color: var(--color-primary); }

/* ---------- OBJECTS CAROUSEL ---------- */
.objects-section { overflow: hidden; }
.carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
.carousel-viewport {
  flex: 1;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.carousel-viewport::-webkit-scrollbar { display: none; }
.carousel-track {
  display: flex;
  gap: var(--space-5);
  list-style: none;
  margin: 0;
  padding: var(--space-2) 0;
}
.carousel-slide {
  flex: 0 0 auto;
  width: min(340px, 78vw);
  scroll-snap-align: start;
}
.carousel-slide figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--color-surface-2); border: 1px solid var(--color-border); }
.carousel-slide img { width: 100%; height: 220px; object-fit: cover; display: block; }
.carousel-slide figcaption {
  padding: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.4;
}
.carousel-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}
.carousel-arrow:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-5);
}
.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-border);
  padding: 0;
  border: none;
}
.carousel-dots button.is-active { background: var(--color-accent); width: 22px; }

/* ---------- EGRZ ---------- */
.egrz-section { background: var(--color-surface-2); }
.egrz-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: var(--space-10);
  align-items: center;
}
.egrz-copy .eyebrow { display: block; margin-bottom: var(--space-3); }
.egrz-copy p { color: var(--color-text-muted); margin-top: var(--space-4); }
.egrz-links { display: flex; flex-direction: column; gap: var(--space-2); margin-top: var(--space-5); }
.egrz-figure {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.egrz-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.link-arrow {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}
.link-arrow:hover { color: var(--color-accent); text-decoration: underline; }

/* ---------- COOKIE BANNER ---------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-lg);
  transform: translateY(100%);
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner-inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  flex-wrap: wrap;
}
.cookie-banner-inner p {
  font-size: var(--text-sm);
  color: oklch(from var(--color-text-inverse) l c h / 0.88);
  max-width: 70ch;
  margin: 0;
}
.cookie-banner-inner a { color: var(--color-text-inverse); text-decoration: underline; }
.cookie-banner-inner .btn { flex-shrink: 0; }

/* ---------- MESSENGER WIDGETS ---------- */
.messenger-widgets {
  position: fixed;
  right: var(--space-5);
  bottom: var(--space-5);
  z-index: 250;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: flex-end;
}
.messenger-btn {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  color: #fff;
  flex-shrink: 0;
}
.messenger-btn svg { width: 26px; height: 26px; }
.messenger-btn:hover { transform: translateY(-2px) scale(1.05); box-shadow: var(--shadow-lg); }
.messenger-btn--telegram { background: #29a9eb; }
.messenger-btn--whatsapp { background: #25d366; }

/* ---------- CALLBACK POPUP ---------- */
.callback-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: oklch(from var(--color-text) l c h / 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
}
.callback-overlay.is-open { display: flex; }
.callback-modal {
  position: relative;
  background: var(--color-surface-2);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: clamp(var(--space-8), 5vw, var(--space-10));
  max-width: 420px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}
.callback-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  border-radius: var(--radius-full);
}
.callback-close:hover { background: var(--color-surface-offset); color: var(--color-text); }
.callback-body { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-2); }
.callback-body[hidden] { display: none; }
.callback-avatar { width: 72px; height: 72px; margin-bottom: var(--space-2); border-radius: var(--radius-full); overflow: hidden; }
.callback-avatar svg, .callback-avatar img { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: var(--radius-full); }
.callback-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-accent);
  background: var(--color-accent-highlight);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.callback-body h3 { font-size: var(--text-lg); margin-top: var(--space-3); }
.callback-body > p { color: var(--color-text-muted); font-size: var(--text-sm); margin-top: var(--space-2); }
.callback-body form { width: 100%; display: flex; flex-direction: column; gap: var(--space-4); margin-top: var(--space-5); }
.callback-body input[type="tel"] {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
  font-size: var(--text-base);
  min-height: 48px;
  text-align: center;
}
.callback-body input[type="tel"]:focus { border-color: var(--color-primary); }
.callback-body .consent-row { text-align: left; }
.callback-success { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-3); }
.callback-success[hidden] { display: none; }
.callback-success svg { margin-bottom: var(--space-2); }
.callback-success p { color: var(--color-text-muted); font-size: var(--text-sm); }
.callback-success a { color: var(--color-primary); font-weight: 600; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1023px) {
  .why-result-figure { grid-template-columns: 1fr; text-align: center; }
  .accred-strip { grid-template-columns: 1fr; }
  .scene-row { grid-template-columns: 1fr; }
  .scene-row.reverse .scene-figure, .scene-row.reverse .scene-copy { order: initial; }
  .form-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .reg-grid { grid-template-columns: 1fr 1fr; }
  .mini-cta-inner { grid-template-columns: 1fr; }
  .promo-offer-inner { grid-template-columns: 1fr; }
  .promo-countdown { flex-wrap: wrap; }
  .process-item { width: 30%; }
}

@media (max-width: 767px) {
  .curator-body > p:not(.curator-role) { text-align: left; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn-primary.header-cta { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero--cover { display: block; min-height: 0; }
  .hero-cover-media { position: relative; inset: auto; aspect-ratio: 1 / 1; overflow: hidden; }
  .hero-cover-media img { object-position: 100% 18%; }
  .hero-cover-media::after { background: linear-gradient(180deg, rgba(9,14,15,0) 55%, rgba(9,14,15,0.55) 100%); }
  .hero-cover-inner { padding-block: var(--space-8) var(--space-10); }
  .hero--cover .hero-copy { max-width: none; color: var(--color-text); }
  .hero--cover .hero-copy .eyebrow { color: var(--color-accent); }
  .hero--cover .hero-copy h1 { color: var(--color-text); }
  .hero--cover .hero-cta-note { color: var(--color-text-faint); }
  .hero--cover .stat dt { color: #ffffff; }
  .hero--cover .stat dd { color: rgba(244,246,249,0.85); }
  .hero-stats--cover {
    position: relative;
    z-index: 2;
    width: 86%;
    margin-top: clamp(-128px, -26vw, -76px);
    margin-bottom: var(--space-6);
    margin-inline: 0;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3) var(--space-4);
    padding: var(--space-4) var(--space-5);
  }
  .hero-stats--cover .stat dd { max-width: none; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-office-row { flex-direction: column; gap: var(--space-4); }
  .contact-office-divider { width: 100%; height: 1px; }
  .process-list { flex-direction: column; align-items: stretch; }
  .process-item { flex-direction: row; align-items: flex-start; text-align: left; width: 100%; gap: var(--space-3); }
  .process-arrow { display: none; }
  .why-result-photos { grid-template-columns: repeat(3, 1fr); }
  .reg-grid { grid-template-columns: 1fr; }
  .curator-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .topbar .container { justify-content: center; text-align: center; }
  .topbar-note { display: none; }
  section { padding-block: clamp(var(--space-12), 8vw, var(--space-16)); }
  .cookie-banner-inner { flex-direction: column; align-items: stretch; text-align: center; padding: var(--space-4); }
  .cookie-banner-inner .btn { width: 100%; }
  .messenger-widgets { right: var(--space-3); bottom: var(--space-3); gap: var(--space-2); }
  .messenger-btn { width: 46px; height: 46px; }
  .messenger-btn svg { width: 22px; height: 22px; }
  .callback-modal { padding: var(--space-6); }
  .regulations-inner { grid-template-columns: 1fr; gap: var(--space-6); }
  .regulations-figure { order: -1; max-width: 360px; width: 100%; margin-inline: auto; }
  .egrz-inner { grid-template-columns: 1fr; gap: var(--space-6); }
  .egrz-figure { order: -1; max-width: 320px; width: 100%; aspect-ratio: 3/2; margin-inline: auto; }
  .carousel { gap: var(--space-2); padding-inline: var(--space-3); }
  .carousel-arrow { width: 36px; height: 36px; }
  .carousel-slide { width: min(260px, 72vw); }
  .carousel-slide img { height: 170px; }
  .mini-cta-fields { flex-direction: column; }
  .mini-cta-fields .btn { width: 100%; }
}

@media (max-width: 480px) {
  .hero-copy h1 { font-size: var(--text-2xl); }
}
