/* ===== DESIGN TOKENS ===== */
:root {
  /* Type scale — fewer steps, more contrast (ratio ≥1.25) */
  --text-xs:   0.8125rem;   /* 13px — mono labels, captions */
  --text-sm:   0.9375rem;   /* 15px — small body */
  --text-base: 1.0625rem;   /* 17px — body */
  --text-lg:   1.375rem;    /* 22px — lead paragraph */
  --text-xl:   clamp(1.75rem, 1.45rem + 1.3vw, 2.5rem);   /* subheads */
  --text-2xl:  clamp(2.25rem, 1.7rem + 2.4vw, 3.75rem);   /* H2 */
  --text-3xl:  clamp(3rem, 1.9rem + 4.6vw, 6rem);         /* hero H1 */

  /* Spacing — 4pt scale */
  --space-1: 0.25rem;  --space-2: 0.5rem;   --space-3: 0.75rem;
  --space-4: 1rem;     --space-5: 1.5rem;   --space-6: 2rem;
  --space-8: 3rem;     --space-10: 4rem;    --space-12: 6rem;
  --space-16: 8rem;

  /* Color — OKLCH, single brand hue (cool navy) + one warm accent (wine) */
  --paper:        oklch(97.2% 0.004 250);
  --paper-raised: oklch(94.5% 0.006 250);
  --paper-deep:   oklch(90.5% 0.008 250);
  --line:         oklch(87% 0.008 250);
  --line-strong:  oklch(78% 0.012 250);

  --ink:          oklch(24% 0.03 252);
  --ink-soft:     oklch(42% 0.024 252);
  --ink-faint:    oklch(62% 0.016 252);

  --wine:         oklch(38% 0.10 18);
  --wine-hover:   oklch(31% 0.10 18);
  --wine-soft:    oklch(93% 0.02 18);
  --wine-line:    oklch(70% 0.06 18);

  --color-accent: var(--wine);
  --color-text:   var(--ink);

  /* Fonts */
  --font-display: 'PT Serif', Georgia, 'Times New Roman', serif;
  --font-body:    'PT Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    'PT Mono', ui-monospace, 'SF Mono', monospace;

  --radius-xs: 2px;
  --radius-sm: 4px;

  --shadow-card: 0 1px 2px oklch(24% 0.03 252 / 0.06), 0 8px 24px oklch(24% 0.03 252 / 0.06);
  --shadow-lift: 0 4px 8px oklch(24% 0.03 252 / 0.08), 0 16px 40px oklch(24% 0.03 252 / 0.1);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --content-wide: 1320px;
  --content-default: 980px;
  --content-narrow: 680px;
}

/* Единственная тема — светлая. Держим фокус, без переключателя. */
html { background: var(--paper); }
body { background: var(--paper); color: var(--ink); font-family: var(--font-body); }

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 4rem);
}

/* ===== FOLIO LABEL (заменяет .badge) — метка раздела дела ===== */
.badge {
  display: flex;
  align-items: baseline;
  gap: 0.6em;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: var(--space-4);
}
.badge::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--wine-line);
  flex-shrink: 0;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  border-radius: var(--radius-xs);
  padding: 0.85em 1.75em;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  border: 1.5px solid transparent;
  letter-spacing: 0.01em;
}
.btn--primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn--primary:hover { background: var(--wine); border-color: var(--wine); }
.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--outline:hover { border-color: var(--ink); background: var(--paper-raised); }
.btn--ghost {
  background: transparent;
  color: var(--wine);
  border-color: var(--wine-line);
  padding: 0.65em 1.4em;
}
.btn--ghost:hover { background: var(--wine-soft); border-color: var(--wine); }

/* ===== QUICK EXIT — реальная функция безопасности, не декоративная ===== */
.quick-exit {
  position: fixed;
  top: var(--space-4);
  right: var(--space-4);
  z-index: 300;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: color-mix(in oklch, var(--paper) 92%, transparent);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  padding: 0.5em 0.8em;
  text-decoration: none;
}
.quick-exit:hover { color: var(--wine); border-color: var(--wine-line); background: var(--paper); }
@media (max-width: 640px) {
  .quick-exit span.quick-exit-full { display: none; }
}

/* ===== HEADER — вкладки папки-дела ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: var(--space-6);
}
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--ink);
  flex-shrink: 0;
  position: relative;
}
.logo-mark::after {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  opacity: 0.35;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.logo-text span {
  display: block;
  font-size: 0.6875rem;
  font-family: var(--font-mono);
  font-weight: 400;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: stretch;
  gap: 2px;
  height: 100%;
}
.nav a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--ink-soft);
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 0 1.1rem;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  background: var(--paper-raised);
  position: relative;
}
.nav a:hover { color: var(--wine); background: var(--paper); }

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

.burger {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px; background: none; border: 1px solid var(--line); cursor: pointer;
}
.burger span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 200;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-5);
  padding-inline: clamp(1.25rem, 8vw, 4rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}
.mobile-nav.open { display: flex; opacity: 1; pointer-events: auto; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.mobile-nav a:hover { color: var(--wine); }
.mobile-nav-close {
  position: absolute;
  top: var(--space-5); right: clamp(1.25rem, 8vw, 4rem);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft);
  border: 1px solid var(--line);
}

/* ===== HERO ===== */
.hero {
  padding-block: clamp(3rem, 6vw, var(--space-10)) clamp(3rem, 7vw, var(--space-12));
  position: relative;
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(var(--space-6), 6vw, var(--space-12));
  align-items: end;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: var(--space-5);
}
.hero-eyebrow::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--wine);
  flex-shrink: 0;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.03;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-6);
  max-width: 15ch;
}
.hero h1 em {
  font-style: italic;
  color: var(--wine);
}
.hero-sub {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: var(--space-8);
  max-width: 42ch;
}
.hero-ctas {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  align-items: center;
}

.hero-visual { position: relative; }
.hero-img-wrap {
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  position: relative;
}
.hero-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.12) contrast(1.03);
}
.hero-photo-plate {
  border: 1px solid var(--line);
  border-top: none;
  padding: 0.7rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--paper-raised);
}
.confidential-stamp {
  position: absolute;
  top: 18px;
  right: -14px;
  transform: rotate(6deg);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wine);
  border: 1.5px solid var(--wine);
  border-radius: 3px;
  padding: 0.4em 0.7em;
  opacity: 0.72;
  pointer-events: none;
  background: color-mix(in oklch, var(--paper) 40%, transparent);
}
.hero-badge-float {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--ink);
  color: var(--paper);
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  white-space: nowrap;
}
.hero-badge-float-num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1;
}
.hero-badge-float-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: oklch(80% 0.01 250);
  line-height: 1.4;
  max-width: 90px;
}

/* ===== TRUST STRIP — факты в строку, без иконок-кругляшей ===== */
.trust-bar {
  border-bottom: 1px solid var(--line);
  padding-block: var(--space-5);
}
.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.2em;
  flex: 1 1 200px;
  padding-inline: var(--space-5);
  border-left: 1px solid var(--line);
}
.trust-item:first-child { border-left: none; padding-left: 0; }
.trust-icon { display: none; }
.trust-text strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--ink);
}
.trust-text span {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ===== SECTIONS ===== */
section { padding-block: clamp(4rem, 9vw, var(--space-12)); }
.section-header { margin-bottom: clamp(var(--space-8), 5vw, var(--space-10)); }
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 20ch;
}

/* ===== ABOUT ===== */
.about { border-bottom: 1px solid var(--line); }
.about-grid {
  display: grid;
  grid-template-columns: 58fr 42fr;
  gap: clamp(var(--space-8), 6vw, var(--space-12));
  align-items: start;
}
.about-text p {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: var(--space-5);
  max-width: 62ch;
}
.about-visual {}
.about-photo {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 3/4;
  object-fit: cover;
  border: 1px solid var(--line);
  margin-bottom: 0;
  background: var(--paper-raised);
  filter: grayscale(0.12) contrast(1.03);
  display: block;
}
.about-photo-caption {
  max-width: 340px;
  border: 1px solid var(--line);
  border-top: none;
  padding: 0.6rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--paper-raised);
  margin-bottom: var(--space-6);
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  max-width: 340px;
}
.stat-card {
  padding: var(--space-4) var(--space-4);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat-card:nth-child(2n) { border-right: none; }
.stat-card:nth-last-child(-n+2) { border-bottom: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--wine);
  line-height: 1;
  display: block;
  margin-bottom: 0.3em;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* ===== SERVICES — три номерных «дела» вместо иконок ===== */
.services { background: var(--paper-raised); border-bottom: 1px solid var(--line); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}
.service-card {
  background: var(--paper);
  padding: clamp(var(--space-6), 3vw, var(--space-8));
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
}
.service-card:last-child { border-right: none; }
.service-icon {
  width: auto; height: auto;
  border-radius: 0;
  background: none;
  display: block;
  margin-bottom: var(--space-5);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.25rem;
  color: var(--line-strong);
  line-height: 1;
}
.service-icon svg { display: none; }
.service-card:nth-child(1) .service-icon::before { content: 'I'; }
.service-card:nth-child(2) .service-icon::before { content: 'II'; }
.service-card:nth-child(3) .service-icon::before { content: 'III'; }
.service-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--space-4);
}
.service-list {
  list-style: none;
  margin-bottom: var(--space-6);
  flex: 1;
}
.service-list li {
  font-size: var(--text-sm);
  color: var(--ink-soft);
  padding-block: 0.6em;
  border-bottom: 1px solid var(--line);
  max-width: none;
}
.service-list li:last-child { border-bottom: none; }
.service-list li::before { content: none; }
.service-link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--wine);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}
.service-link:hover { gap: var(--space-2); }

.services-cta-bar {
  margin-top: var(--space-8);
  border: 1px solid var(--ink);
  padding: var(--space-6) var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.services-cta-bar p {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--ink);
  max-width: 44ch;
}
.services-cta-bar span {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-base);
  color: var(--ink-soft);
  margin-top: var(--space-2);
}

/* ===== LEAD CAPTURE ===== */
.lead { border-bottom: 1px solid var(--line); }
.lead-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(var(--space-8), 7vw, var(--space-12));
  align-items: start;
}
.lead-content .section-title { margin-bottom: var(--space-5); }
.lead-desc {
  font-size: var(--text-base);
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  max-width: 48ch;
}
.lead-checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.lead-checks li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--ink);
  max-width: none;
  font-family: var(--font-mono);
}
.lead-checks li::before {
  content: '—';
  color: var(--wine);
  flex-shrink: 0;
}

.contact-form {
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: clamp(var(--space-6), 4vw, var(--space-8));
}
.form-group { margin-bottom: var(--space-5); }
.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--ink-soft);
  margin-bottom: var(--space-2);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 0.8rem 0.9rem;
  font-size: var(--text-base);
  font-family: var(--font-body);
  color: var(--ink);
  outline: none;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--ink-faint); }
.form-group input:focus,
.form-group select:focus {
  border-color: var(--wine);
  box-shadow: 0 0 0 3px var(--wine-soft);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234A5361' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-submit { width: 100%; padding: 0.9rem; font-size: var(--text-base); }
.form-note {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  margin-top: var(--space-4);
  font-size: 0.75rem;
  color: var(--ink-faint);
  line-height: 1.5;
}
.form-note a { color: var(--wine); }
.form-success {
  display: none;
  background: var(--wine-soft);
  border: 1px solid var(--wine-line);
  padding: var(--space-5);
  text-align: center;
  color: var(--wine);
  font-weight: 700;
  font-size: var(--text-sm);
}

/* ===== TEAM ===== */
.team { border-bottom: 1px solid var(--line); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.team-card {
  padding: var(--space-6) var(--space-4);
  text-align: left;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.team-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--paper-raised);
  border: 1px solid var(--line-strong);
  margin: 0 0 var(--space-4);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ink-soft);
}
.team-avatar svg { display: none; }
.team-name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.2em;
}
.team-role {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: var(--space-3);
}
.team-bio {
  font-size: 0.8125rem;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: none;
}
.team-note {
  margin-top: var(--space-8);
  text-align: left;
  font-size: var(--text-sm);
  font-style: italic;
  color: var(--ink-soft);
  max-width: 62ch;
  font-family: var(--font-display);
}

/* ===== TESTIMONIALS ===== */
.testimonials { border-bottom: 1px solid var(--line); }
.slider-wrap { position: relative; overflow: hidden; }
.slider-track {
  display: flex;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonial-card {
  background: var(--paper);
  padding: clamp(var(--space-6), 3vw, var(--space-8));
  flex: 0 0 calc((100% - 2px) / 3);
  position: relative;
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 0.6;
  color: var(--line-strong);
  position: static;
  margin-bottom: var(--space-3);
  user-select: none;
}
.testimonial-text {
  font-size: var(--text-base);
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: var(--space-6);
  padding-top: 0;
  max-width: none;
  font-family: var(--font-display);
}
.testimonial-meta { border-top: 1px solid var(--line); padding-top: var(--space-3); }
.testimonial-name {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--ink);
  font-family: var(--font-body);
}
.testimonial-type {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--wine);
  font-style: normal;
  margin-bottom: var(--space-2);
}
.stars { display: none; }

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-4);
  margin-top: var(--space-6);
}
.slider-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  cursor: pointer;
}
.slider-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.slider-dots { display: flex; gap: var(--space-2); }
.slider-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--line-strong);
  transition: background 0.2s, transform 0.2s;
}
.slider-dot.active { background: var(--wine); transform: scale(1.4); }

.testimonials-invite {
  margin-top: var(--space-8);
  border: 1px solid var(--ink);
  padding: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  flex-wrap: wrap;
}
.testimonials-invite p {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--ink);
  max-width: 52ch;
}

/* ===== FAQ ===== */
.faq { border-bottom: 1px solid var(--line); }
.faq-list {
  max-width: var(--content-default);
  margin-inline: 0;
  border: 1px solid var(--line);
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--ink);
  background: var(--paper);
  text-align: left;
  cursor: pointer;
}
.faq-question:hover { background: var(--paper-raised); }
.faq-item.open .faq-question { background: var(--paper-raised); color: var(--wine); }
.faq-icon {
  width: 20px; height: 20px;
  border-radius: 0;
  background: none;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1;
  transition: transform 0.3s var(--ease-out);
}
.faq-item.open .faq-icon { transform: rotate(45deg); border-color: var(--wine); color: var(--wine); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner {
  padding: 0 var(--space-6) var(--space-5);
  font-size: var(--text-base);
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 68ch;
}
.faq-answer-inner strong { color: var(--wine); }

/* ===== CONTACTS ===== */
.contacts { border-bottom: 1px solid var(--line); }
.contacts-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(var(--space-8), 6vw, var(--space-12));
  align-items: start;
}
.emergency-block {
  border: 1.5px solid var(--wine);
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-6);
}
.emergency-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: var(--space-2);
}
.emergency-num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  display: block;
  text-decoration: none;
}
.emergency-sub {
  font-size: 0.75rem;
  color: var(--ink-soft);
  margin-top: var(--space-2);
}
.contact-items {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-6);
  border-top: 1px solid var(--line);
}
.contact-item {
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--line);
}
.contact-item-icon { display: none; }
.contact-item-text {
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
  width: 100%;
  flex-wrap: wrap;
}
.contact-item-text strong {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
  flex: 0 0 90px;
}
.contact-item-text span {
  font-size: var(--text-sm);
  color: var(--ink);
}
.messengers { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.messenger-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.5rem 1rem;
  border-radius: 0;
  font-size: var(--text-sm);
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink-soft);
}
.messenger-btn:hover { border-color: var(--ink); color: var(--ink); }

.map-embed {
  width: 100%;
  aspect-ratio: 4/3;
  border: 1px solid var(--line);
  filter: grayscale(0.5) contrast(1.05);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--ink);
  color: oklch(70% 0.014 250);
  padding-block: clamp(var(--space-8), 6vw, var(--space-10)) var(--space-6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(var(--space-8), 5vw, var(--space-10));
  padding-bottom: var(--space-8);
  border-bottom: 1px solid oklch(45% 0.03 252);
  margin-bottom: var(--space-6);
}
.footer-logo .logo-mark { border-color: oklch(70% 0.014 250); color: oklch(94% 0.006 250); }
.footer-logo .logo-mark::after { border-color: oklch(70% 0.014 250); }
.footer-logo .logo-text { color: oklch(96% 0.004 250); }
.footer-logo .logo-text span { color: oklch(58% 0.02 252); }
.footer-tagline {
  font-size: var(--text-sm);
  color: oklch(58% 0.02 252);
  line-height: 1.6;
  margin-top: var(--space-3);
  margin-bottom: var(--space-5);
  max-width: 30ch;
}
.footer-socials { display: flex; gap: var(--space-3); }
.footer-social {
  width: 34px; height: 34px;
  border: 1px solid oklch(45% 0.03 252);
  display: flex; align-items: center; justify-content: center;
  color: oklch(65% 0.02 252);
  text-decoration: none;
}
.footer-social:hover { border-color: var(--paper); color: var(--paper); }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: oklch(50% 0.024 252);
  margin-bottom: var(--space-4);
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: var(--space-3); }
.footer-links a { font-size: var(--text-sm); color: oklch(72% 0.014 250); text-decoration: none; }
.footer-links a:hover { color: var(--paper); }
.footer-links .accent { color: oklch(72% 0.05 20); }
.footer-links .accent:hover { color: oklch(85% 0.05 20); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.footer-copy { font-family: var(--font-mono); font-size: 0.6875rem; color: oklch(45% 0.024 252); }
.footer-legal { display: flex; gap: var(--space-5); }
.footer-legal a { font-size: 0.75rem; color: oklch(45% 0.024 252); text-decoration: none; }
.footer-legal a:hover { color: oklch(75% 0.02 252); }

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 1; }
@supports (animation-timeline: scroll()) {
  .reveal {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 60%;
  }
}
@keyframes reveal-fade { to { opacity: 1; } }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonial-card { flex: 0 0 calc((100% - 1px) / 2); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 340px; margin-top: var(--space-8); }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .burger { display: flex; }
  .about-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { border-right: none; border-bottom: 1px solid var(--line); }
  .service-card:last-child { border-bottom: none; }
  .lead-grid { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .testimonial-card { flex: 0 0 100%; }
  .services-cta-bar { flex-direction: column; align-items: flex-start; }
  .trust-item { flex: 1 1 45%; }
  .hero-badge-float { position: static; margin-top: var(--space-4); }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { text-align: center; justify-content: center; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .faq-question { padding: var(--space-4); }
  .faq-answer-inner { padding: 0 var(--space-4) var(--space-4); }
  .contact-item-text strong { flex-basis: 100%; }
}
