/* ============================================================
   ░░░  ПАНЕЛЬ НАСТРОЕК — МЕНЯТЬ ВСЁ ЗДЕСЬ  ░░░
   ============================================================ */
:root {
  /* === ЦВЕТА === */
  --bg-dark:           #1A1A1A;
  --bg-black:          #0D0D0D;
  --gold-light:        #B5895B;
  --gold-dark:         #785027;
  --gold-text:         #C29465;

  /* === ТЕКСТ === */
  --text-white:        #FFFFFF;
  --text-primary:      rgba(255,255,255,0.92);
  --text-secondary:    rgba(255,255,255,0.70);
  --text-muted:        rgba(255,255,255,0.50);
  --text-faint:        rgba(255,255,255,0.35);

  /* === СТЕКЛО === */
  --glass-bg:          rgba(255,255,255,0.03);
  --glass-bg-hover:    rgba(255,255,255,0.06);
  --glass-border:      rgba(194,148,101,0.18);
  --glass-border-hover:rgba(194,148,101,0.40);

  /* === СВЕЧЕНИЕ === */
  --glow-color-1:      rgba(181,137,91,0.10);
  --glow-color-2:      rgba(120,80,39,0.06);

  /* === ГРАДИЕНТ === */
  --btn-gradient:      linear-gradient(135deg, #B5895B 0%, #785027 100%);
  --btn-gradient-hover:linear-gradient(135deg, #C29A6A 0%, #8A5E32 100%);
  --btn-shadow:        0 4px 20px rgba(120,80,39,0.30);
  --btn-shadow-hover:  0 8px 30px rgba(181,137,91,0.45);

  /* === СКРУГЛЕНИЯ === */
  --radius-pill:       40px;
  --radius-card:       16px;
  --radius-card-lg:    20px;

  /* === ШРИФТЫ === */
  --font-heading:      'Playfair Display', Georgia, serif;
  --font-body:         'Manrope', -apple-system, sans-serif;

  /* === РАЗМЕРЫ === */
  --fs-hero-title:     68px;
  --fs-hero-sub:       19px;
  --fs-section-title:  52px;
  --fs-section-sub:    18px;
  --fs-card-title:     28px;
  --fs-card-body:      16px;
  --fs-cta-title:      48px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.serif { font-family: var(--font-heading); font-weight: 400; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.uppercase {
  font-size: 12px; letter-spacing: 2.5px;
  color: var(--gold-text); font-weight: 500; text-transform: uppercase;
  opacity: 0.75;
}
.section-pad { padding: 100px 0; }

/* === ФОН === */
.bg-glow {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 900px 700px at 80% 0%, var(--glow-color-1) 0%, transparent 60%),
    radial-gradient(ellipse 700px 500px at 0% 100%, var(--glow-color-2) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-black) 100%);
}
.page-wrap { position: relative; z-index: 1; }

/* === HEADER === */
.header {
  position: sticky; top: 0; z-index: 100;
  padding: 18px 0;
  background: rgba(26,26,26,0.75);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 0.5px solid var(--glass-border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-name { font-family: var(--font-heading); font-size: 26px; font-weight: 500; line-height: 1.1; color: var(--text-white); }
.brand-sub { font-size: 14px; color: var(--text-white); margin-top: 4px; letter-spacing: 0.3px; font-weight: 400; }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--text-secondary); font-size: 14px; text-decoration: none; transition: color 0.2s; }
.nav a:hover { color: var(--gold-text); }
.header-right { display: flex; align-items: center; gap: 14px; }
.header-phone { font-size: 14px; color: var(--text-secondary); text-decoration: none; }
.header-phone:hover { color: var(--gold-text); }

/* === КНОПКИ === */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 30px;
  background: var(--btn-gradient);
  border: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), var(--btn-shadow);
  color: var(--text-white);
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  border-radius: var(--radius-pill); cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
  text-decoration: none;
  letter-spacing: 0.2px;
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--btn-gradient-hover);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), var(--btn-shadow-hover);
}
.btn-primary.compact { padding: 10px 22px; font-size: 13px; }

.icon-btn {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--btn-gradient);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), var(--btn-shadow);
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; color: var(--text-white);
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}
.icon-btn:hover {
  transform: translateY(-2px) scale(1.05);
  background: var(--btn-gradient-hover);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), var(--btn-shadow-hover);
}
.icon-btn-label { font-family: var(--font-body); font-size: 13px; font-weight: 700; color: var(--text-white); letter-spacing: -0.3px; }

/* ============================================================
   HERO — фон с картинкой, без портретного блока справа
   ============================================================ */
.hero {
  position: relative;
  padding: 120px 0 90px;
  overflow: hidden;
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  background: url('/img/hero-bg.jpg') center 30% / cover no-repeat;
  opacity: 0.78;
  z-index: 0;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    /* Затемняем левую часть (где балкон) и оставляем правую (где Александр) более яркой */
    linear-gradient(90deg, rgba(26,26,26,0.78) 0%, rgba(26,26,26,0.55) 40%, rgba(26,26,26,0.12) 75%, transparent 100%),
    /* Плавный уход в темноту снизу */
    linear-gradient(180deg, transparent 0%, rgba(26,26,26,0.20) 60%, rgba(26,26,26,0.80) 90%, var(--bg-dark) 100%);
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: var(--fs-hero-title);
  line-height: 1.05; font-weight: 400;
  color: var(--text-white); margin-bottom: 28px; letter-spacing: -0.5px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-sub {
  font-size: var(--fs-hero-sub);
  color: var(--text-primary);
  line-height: 1.6; margin-bottom: 44px; max-width: 620px;
}
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero-actions .icon-btn { width: 50px; height: 50px; }
/* Группа кружков — никогда не разлетаются по разным строкам */
.icon-btn-group { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }

/* === STATS === */
.stats {
  margin-top: 80px;
  padding: 36px;
  background: var(--glass-bg);
  border: 0.5px solid var(--glass-border);
  border-radius: var(--radius-card-lg);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 36px;
  text-align: center;
  position: relative; z-index: 2;
}
.stat { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.stat:not(:first-child) {
  padding-left: 36px;
  border-left: 0.5px solid var(--glass-border);
}
.stat-num {
  font-family: var(--font-heading); font-size: 64px; font-weight: 400;
  line-height: 1;
  background: var(--btn-gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-text-big {
  font-family: var(--font-heading); font-size: 26px; font-weight: 400;
  line-height: 1.25; color: var(--text-white);
}
.stat-label {
  font-size: 12px; color: var(--text-muted);
  letter-spacing: 1px; margin-top: 14px; text-transform: uppercase;
}

/* === SECTION HEADER === */
.section-head { text-align: center; margin-bottom: 64px; }
.section-head .uppercase { display: block; margin-bottom: 18px; }
.section-title {
  font-family: var(--font-heading);
  font-size: var(--fs-section-title);
  font-weight: 400; line-height: 1.15; letter-spacing: -0.5px;
  color: var(--text-white); margin-bottom: 20px;
}
.section-sub {
  font-size: var(--fs-section-sub);
  color: var(--text-secondary);
  max-width: 680px; margin: 0 auto; line-height: 1.6;
}

/* === GLASS CARD === */
.glass-card {
  background: var(--glass-bg);
  border: 0.5px solid var(--glass-border);
  border-radius: var(--radius-card-lg);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: 38px 34px;
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
}
.glass-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-hover);
  background: var(--glass-bg-hover);
}

/* === SEGMENTS === */
.segments { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.segment-num { font-family: var(--font-heading); font-size: 16px; color: var(--gold-text); opacity: 0.75; margin-bottom: 18px; }
.segment-title {
  font-family: var(--font-heading); font-size: var(--fs-card-title); font-weight: 500;
  color: var(--text-white); margin-bottom: 16px; line-height: 1.25;
}
.segment-text { font-size: var(--fs-card-body); color: var(--text-secondary); line-height: 1.65; }
.segment-text em { color: var(--text-white); font-style: italic; font-weight: 500; }

/* ============================================================
   DIFF SECTION — как hero: фото на всю секцию, текст поверх по центру
   ============================================================ */
.diff-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

/* Фото ключа на весь фон секции */
.diff-bg-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.diff-bg-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 32% 45%;
  display: block;
  opacity: 0.55;
}
/* Оверлей — затемняем чтобы текст читался */
.diff-bg-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13,13,13,0.55);
}

/* Контент поверх — по центру страницы */
.diff-block-wrap {
  position: relative;
  z-index: 1;
}

/* Плашка с текстом — по центру */
.diff-content-over {
  max-width: 860px;
  margin: 0 auto;
}

.diff-text-col {
  background: rgba(13,13,13,0.60);
  border: 0.5px solid var(--glass-border);
  border-radius: 24px;
  padding: 44px 48px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.diff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }

.diff-col-title {
  display: inline-block;
  font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 24px; font-weight: 500;
  padding: 10px 22px;
  background: linear-gradient(135deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.03) 100%);
  border: 0.5px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
  color: var(--text-white);
}

.diff-list { list-style: none; padding: 0; }
.diff-list li {
  padding: 12px 0;
  font-size: 17px; color: var(--text-white);
  border-bottom: 0.5px solid rgba(255,255,255,0.08); line-height: 1.55;
}
.diff-list li:last-child { border-bottom: none; }

.diff-conclusion {
  margin-top: 40px; padding-top: 32px;
  border-top: 0.5px solid var(--glass-border);
  text-align: center;
  font-family: var(--font-heading);
  font-size: 26px; line-height: 1.35; color: var(--text-white); font-style: italic;
}

/* === SERVICES === */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service-card { padding: 38px; }
.service-icon-wrap {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--btn-gradient);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 4px 16px rgba(120,80,39,0.25);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.service-title {
  font-family: var(--font-heading); font-size: var(--fs-card-title);
  color: var(--text-white); margin-bottom: 14px; font-weight: 500;
}
.service-text {
  font-size: var(--fs-card-body); color: var(--text-secondary);
  line-height: 1.65; margin-bottom: 20px;
}
.service-for {
  font-size: 13px; color: var(--text-muted);
  padding-top: 16px; border-top: 0.5px solid var(--glass-border);
}
.service-for span { color: var(--gold-text); }
.services-cta { text-align: center; margin-top: 44px; }

/* === STEPS — карточки 2×2 + фото справа === */
.steps-outer {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 30px;
  align-items: stretch;
}
.steps-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.step-card { padding: 32px 26px; min-height: 220px; display: flex; flex-direction: column; }
.steps-photo {
  position: relative;
  min-height: 480px;
  overflow: hidden;
}
.steps-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.80;
}
.steps-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(13,13,13,0.10) 0%, transparent 40%);
}
.step-num {
  font-family: var(--font-heading); font-size: 42px;
  background: var(--btn-gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 24px; line-height: 1;
}
.step-title { font-size: 18px; font-weight: 600; color: var(--text-white); margin-bottom: 12px; line-height: 1.3; }
.step-text { font-size: 14px; color: var(--text-secondary); line-height: 1.55; flex: 1; }

/* === WHY === */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card { padding: 34px 30px; }
.why-title {
  font-family: var(--font-heading); font-size: 24px;
  color: var(--gold-text); margin-bottom: 16px; line-height: 1.3; font-weight: 500;
}
.why-text { font-size: var(--fs-card-body); color: var(--text-secondary); line-height: 1.6; }

/* ============================================================
   CTA — как ключ: фото на всю секцию, контент поверх
   ============================================================ */
.cta-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}
.cta-bg-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-bg-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 8%;
  display: block;
  opacity: 1;
  filter: brightness(0.55);
}
.cta-bg-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(13,13,13,0.92) 0%,
      rgba(13,13,13,0.78) 12%,
      rgba(13,13,13,0.45) 20%,
      rgba(13,13,13,0.18) 28%,
      transparent 30%
    );
}
.cta-final {
  position: relative;
  z-index: 1;
}
.cta-final-photo { display: none; } /* убираем старое фото внутри контейнера */
.cta-final-content {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 0;
}
.cta-final-title {
  font-family: var(--font-heading);
  font-size: var(--fs-cta-title);
  line-height: 1.15; font-weight: 400; color: var(--text-white);
  margin-bottom: 22px; letter-spacing: -0.5px;
}
.cta-final-title .accent { color: var(--gold-text); }
.cta-final-sub { font-size: var(--fs-hero-sub); color: var(--text-secondary); line-height: 1.65; margin-bottom: 32px; }

.cta-form { width: 100%; }
.cta-form-wrap {
  background: rgba(13,13,13,0.55);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 0.5px solid rgba(194,148,101,0.25);
  border-radius: var(--radius-card-lg);
  padding: 36px;
}
.form-row { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.form-input {
  width: 100%;
  padding: 17px 24px;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid var(--glass-border);
  border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: 15px;
  color: var(--text-white);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.form-input:focus { border-color: var(--gold-text); background: rgba(255,255,255,0.06); }
.form-input::placeholder { color: var(--text-muted); }
.form-submit {
  width: 100%; padding: 17px;
  background: var(--btn-gradient);
  border: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), var(--btn-shadow);
  border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  color: var(--text-white); cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  letter-spacing: 0.2px;
}
.form-submit:hover {
  transform: translateY(-1px);
  background: var(--btn-gradient-hover);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), var(--btn-shadow-hover);
}
.form-note { text-align: center; margin-top: 16px; font-size: 13px; color: var(--text-muted); }
.form-channels { display: flex; gap: 10px; justify-content: center; margin-top: 18px; }

/* === ЧЕКБОКС СОГЛАСИЯ === */
.form-consent {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 18px;
  padding: 0 4px;
  cursor: pointer;
  user-select: none;
}
.form-consent input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 20px; height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid var(--glass-border-hover);
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  transition: background 0.2s, border-color 0.2s;
}
.form-consent input[type="checkbox"]:checked {
  background: var(--btn-gradient);
  border-color: var(--gold-light);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
}
.form-consent input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px; top: 2px;
  width: 5px; height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.form-consent-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
.form-consent-text a {
  color: var(--gold-text);
  text-decoration: none;
  border-bottom: 0.5px solid rgba(194,148,101,0.4);
  transition: color 0.2s, border-color 0.2s;
}
.form-consent-text a:hover {
  color: var(--text-white);
  border-bottom-color: var(--text-white);
}

/* === FAQ === */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item {
  background: var(--glass-bg);
  border: 0.5px solid var(--glass-border);
  border-radius: var(--radius-card);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--glass-border-hover); }
.faq-q {
  padding: 26px 30px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  cursor: pointer; user-select: none;
  font-family: var(--font-heading); font-size: 20px; font-weight: 500;
  color: var(--text-white);
  line-height: 1.4;
}
.faq-q .plus { font-size: 26px; color: var(--gold-text); transition: transform 0.3s; flex-shrink: 0; line-height: 1; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  padding: 0 30px;
  font-size: 16px; color: var(--text-secondary); line-height: 1.65;
}
.faq-item.open .faq-a { max-height: 600px; padding: 0 30px 28px; }

/* === FOOTER === */
.footer {
  padding: 80px 0 40px;
  border-top: 0.5px solid var(--glass-border);
  margin-top: 80px;
  background: var(--bg-black);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 60px; }
.footer-brand-name { font-family: var(--font-heading); font-size: 28px; font-weight: 500; color: var(--text-white); margin-bottom: 12px; }
.footer-brand-text { font-size: 16px; color: var(--text-secondary); line-height: 1.65; max-width: 380px; }
.footer-col-title { font-size: 14px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-text); margin-bottom: 22px; font-weight: 500; opacity: 0.8; }
.footer-col a, .footer-col span { display: block; color: var(--text-secondary); font-size: 16px; text-decoration: none; padding: 7px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-text); }
.footer-bottom {
  padding-top: 30px;
  border-top: 0.5px solid var(--glass-border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; color: var(--text-faint);
}

/* === TOAST NOTIFICATION === */
.toast {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  z-index: 10000;
  padding: 18px 32px;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  max-width: 460px;
  width: calc(100% - 40px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s, transform 0.4s;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.toast--success {
  background: rgba(34, 120, 60, 0.92);
  border: 1px solid rgba(72, 187, 105, 0.5);
  color: #e6ffe6;
  box-shadow: 0 8px 32px rgba(34, 120, 60, 0.35);
}
.toast--error {
  background: rgba(160, 40, 40, 0.92);
  border: 1px solid rgba(220, 80, 80, 0.5);
  color: #ffe6e6;
  box-shadow: 0 8px 32px rgba(160, 40, 40, 0.35);
}
.toast__icon {
  display: inline-block;
  margin-right: 8px;
  font-size: 18px;
  vertical-align: middle;
}

/* ============================================================
   MOBILE
   ============================================================ */
/* ============================================================
   ПОРТРЕТ НА МОБИЛЬНОМ — скрыт на десктопе
   Все размеры меняются в медиа-запросах ниже
   ============================================================ */
.hero-portrait-mobile { display: none; }

/* ============================================================
   TABLET (≤ 968px)
   ============================================================ */
@media (max-width: 968px) {
  .container { padding: 0 20px; }
  .section-pad { padding: 70px 0; }
  .nav { display: none; }
  .header-phone { display: none; }
  .brand-name { font-size: 20px; }
  .brand-sub { font-size: 12px; }

  .hero { padding: 60px 0 50px; }
  .hero-title { font-size: 38px; }
  .hero-sub { font-size: 16px; margin-bottom: 32px; }
  .hero-bg-image { opacity: 0.20; }

  /* ── ПОРТРЕТ: размер на планшете ──────────────────────────────
     Чтобы изменить размер круга — меняй ТОЛЬКО цифру в --portrait-size
     ──────────────────────────────────────────────────────────── */
  .hero-portrait-mobile {
    --portrait-size: 200px; /* ← РАЗМЕР КРУГА НА ПЛАНШЕТЕ */
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
    position: relative;
    z-index: 2;
  }
  .hero-portrait-mobile img {
    width: var(--portrait-size);
    height: var(--portrait-size);
    border-radius: 50%;
    object-fit: cover;
    object-position: center 5%; /* ← сдвиг фото внутри круга (x% y%) */
    border: 2px solid var(--glass-border-hover);
    box-shadow: 0 8px 32px rgba(0,0,0,0.45), 0 0 0 6px rgba(181,137,91,0.08);
  }
  .hero-portrait-name {
    margin-top: 16px;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 500;
    color: var(--text-white);
  }
  .hero-portrait-role {
    margin-top: 5px;
    font-size: 14px;
    color: var(--text-muted);
    letter-spacing: 0.3px;
  }

  .stats { grid-template-columns: 1fr; gap: 24px; padding: 28px; margin-top: 50px; }
  .stat:not(:first-child) { padding-left: 0; padding-top: 24px; border-left: none; border-top: 0.5px solid var(--glass-border); }
  .stat-num { font-size: 48px; }
  .stat-text-big { font-size: 22px; }

  .section-title { font-size: 34px; }
  .section-head { margin-bottom: 44px; }

  .segments { grid-template-columns: 1fr; }
  .glass-card { padding: 30px 26px; }
  .segment-title { font-size: 23px; }

  /* DIFF — мобайл */
  .diff-section { padding: 60px 0; }
  .diff-block-wrap { min-height: auto; }
  .diff-content-over { padding: 0; max-width: 100%; }
  .diff-text-col { padding: 28px 20px; border-radius: 14px; }
  .diff-grid { grid-template-columns: 1fr; gap: 20px; }
  .diff-list li { font-size: 15px; padding: 10px 0; }
  .diff-conclusion { font-size: 18px; margin-top: 28px; padding-top: 24px; }

  .services { grid-template-columns: 1fr; }
  .service-card { padding: 30px 26px; }
  .service-title { font-size: 23px; }

  /* STEPS — стэкаем вертикально, фото под карточками */
  .steps-outer { grid-template-columns: 1fr; gap: 24px; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card { min-height: auto; padding: 26px; }
  .steps-photo {
    min-height: 520px;
    border-radius: var(--radius-card-lg);
    overflow: hidden;
  }
  .steps-photo img {
    border-radius: var(--radius-card-lg);
    object-position: center 20%;
  }

  .why-grid { grid-template-columns: 1fr; }

  /* ====== CTA — ГЛАВНЫЙ ФИКС ====== */
  .cta-section { padding: 50px 0; }
  .cta-bg-photo img {
    object-position: 70% 30%;
    opacity: 0.7;
    filter: brightness(0.35);
  }
  .cta-bg-photo::after {
    background: linear-gradient(
      180deg,
      rgba(13,13,13,0.75) 0%,
      rgba(13,13,13,0.45) 50%,
      rgba(13,13,13,0.75) 100%
    );
  }
  .cta-final { min-height: auto; width: 100%; }
  .cta-final-content {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 0;
    min-height: auto;
  }
  .cta-final-title { font-size: 28px; }
  .cta-final-sub { font-size: 16px; margin-bottom: 20px; }
  .cta-form-wrap { padding: 24px 20px; }

  .faq-q { font-size: 17px; padding: 20px 22px; }
  .faq-item.open .faq-a { padding: 0 22px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ============================================================
   PHONE (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section-pad { padding: 50px 0; }

  /* Header */
  .header { padding: 12px 0; }
  .brand-name { font-size: 18px; }
  .brand-sub { font-size: 10px; }
  .btn-primary.compact { padding: 9px 16px; font-size: 12px; }

  /* Hero */
  .hero { padding: 44px 0 36px; }
  .hero-title { font-size: 28px; letter-spacing: -0.3px; }
  .hero-sub { font-size: 15px; margin-bottom: 24px; }
  .hero-actions .btn-primary { padding: 14px 22px; font-size: 14px; }
  .hero-actions .icon-btn { width: 44px; height: 44px; }
  .hero-actions .icon-btn svg { width: 18px; height: 18px; }
  .hero-actions .icon-btn-label { font-size: 11px; }

  /* ── ПОРТРЕТ: размер на телефоне ──────────────────────────────
     Меняй --portrait-size чтобы увеличить/уменьшить круг
     ──────────────────────────────────────────────────────────── */
  .hero-portrait-mobile {
    --portrait-size: 180px; /* ← РАЗМЕР КРУГА НА ТЕЛЕФОНЕ */
    margin-top: 32px;
  }
  .hero-portrait-name { font-size: 17px; margin-top: 14px; }
  .hero-portrait-role { font-size: 13px; }

  /* Stats */
  .stats { padding: 20px; margin-top: 36px; gap: 18px; }
  .stat-num { font-size: 40px; }
  .stat-text-big { font-size: 18px; }
  .stat-label { font-size: 11px; margin-top: 10px; }

  /* Sections */
  .section-title { font-size: 26px; }
  .section-sub { font-size: 15px; }
  .section-head { margin-bottom: 32px; }

  .glass-card { padding: 22px 18px; }
  .segment-title { font-size: 20px; }
  .segment-text { font-size: 15px; }

  /* Diff */
  .diff-section { padding: 40px 0; }
  .diff-text-col { padding: 22px 16px; }
  .diff-col-title { font-size: 12px; padding: 8px 16px; }
  .diff-list li { font-size: 14px; }
  .diff-conclusion { font-size: 16px; }
  .diff-bg-photo img { object-position: 50% 45%; }

  /* Services */
  .service-title { font-size: 20px; }
  .service-text { font-size: 15px; }
  .service-card { padding: 24px 18px; }

  /* Steps */
  .step-card { padding: 22px 18px; }
  .step-num { font-size: 36px; margin-bottom: 16px; }
  .step-title { font-size: 16px; }
  .step-text { font-size: 13px; }
  .steps-photo { min-height: 380px; }

  /* Why */
  .why-card { padding: 24px 18px; }
  .why-title { font-size: 20px; }
  .why-text { font-size: 15px; }

  /* CTA */
  .cta-section { padding: 36px 0; }
  .cta-final-title { font-size: 24px; }
  .cta-final-sub { font-size: 15px; }
  .cta-form-wrap { padding: 20px 16px; }
  .form-input { padding: 14px 18px; font-size: 14px; }
  .form-submit { padding: 15px; font-size: 14px; }
  .form-consent-text { font-size: 12px; }
  .form-note { font-size: 12px; }

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

  /* Footer */
  .footer { padding: 50px 0 30px; margin-top: 50px; }
  .footer-brand-name { font-size: 22px; }
  .footer-brand-text { font-size: 14px; }
  .footer-col a, .footer-col span { font-size: 14px; }
  .footer-bottom { font-size: 12px; }
}

/* === COOKIE BANNER (styles moved from inline) === */
#cookieBanner {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  left: auto;
  transform: none;
  z-index: 9999;
  max-width: 360px;
  width: calc(100% - 48px);
  background: rgba(18,18,18,0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 0.5px solid rgba(194,148,101,0.35);
  border-radius: 16px;
  padding: 20px 44px 20px 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  font-family: 'Manrope', sans-serif;
}
#cookieBanner .cookie-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.06);
  border: 0.5px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s;
}
#cookieBanner .cookie-close-btn:hover {
  background: rgba(255,255,255,0.12);
}
#cookieBanner .cookie-text {
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  line-height: 1.55;
  margin: 0;
}
#cookieBanner .cookie-text a {
  color: #C29465;
  text-decoration: none;
  border-bottom: 0.5px solid rgba(194,148,101,0.5);
}

/* === HONEYPOT (hidden field) === */
.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
