/* =====================================================
   Ирина Баева — стили (единая тёмная палитра)
   Шрифты: Cormorant Garamond (serif) + Noto Sans (sans)
   ===================================================== */

:root {
  /* Тёмная палитра — разные оттенки для ритма */
  --dark-0: #0A1422;          /* самый глубокий */
  --dark-1: #0F1C2D;          /* основной тёмный — hero */
  --dark-2: #142536;          /* секции */
  --dark-3: #1F3656;          /* приподнятые секции — заметно светлее */
  --dark-4: #28456D;          /* самый светлый — для выделенных секций */
  --dark-line: #34527A;

  /* Золото — благородное латунное */
  --gold-1: #C9A75E;          /* основной */
  --gold-2: #D9BE7E;          /* подсветка */
  --gold-3: #A88542;          /* тень/обводка */
  --gold-soft: rgba(201, 167, 94, 0.18);

  /* Серо-голубой акцент (из костюма Захры) */
  --steel: #65849B;

  /* Тексты */
  --text: #EDE3D0;
  --text-mute: #B7AE9D;
  --text-quiet: #8A8472;

  --radius-l: 18px;
  --radius-m: 12px;

  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.45);
  --shadow-card: 0 14px 40px rgba(0, 0, 0, 0.35);

  --container: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Noto Sans", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--dark-2);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--gold-2); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ========================== ТИПОГРАФИКА ========================== */

.serif {
  font-family: "Cormorant Garamond", "Lora", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0.005em;
}
.italic { font-style: italic; }

.h2 {
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.08;
  margin: 0 0 24px;
  font-weight: 500;
  color: var(--text);
}
.h2 em {
  font-style: italic;
  color: var(--gold-2);
  font-weight: 400;
}

.h3 {
  font-size: clamp(22px, 2.1vw, 28px);
  line-height: 1.2;
  font-weight: 500;
  margin: 0 0 14px;
  color: var(--text);
}
.h4 {
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 8px;
  line-height: 1.3;
  color: var(--text);
}

.eyebrow {
  display: inline-block;
  font-family: "Noto Sans", sans-serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-2);
  margin-bottom: 16px;
}

.mt-l { margin-top: 40px; }

/* ========================== КНОПКИ ========================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 999px;
  font-family: "Noto Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all .3s ease;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold-1) 55%, var(--gold-3));
  color: var(--dark-0);
  box-shadow: 0 12px 30px rgba(201, 167, 94, 0.22);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(201, 167, 94, 0.35);
  color: var(--dark-0);
}

.btn-ghost {
  background: transparent;
  color: var(--gold-2);
  border-color: var(--gold-1);
}
.btn-ghost:hover {
  background: var(--gold-1);
  color: var(--dark-0);
}

.btn-link {
  background: transparent;
  color: var(--text-mute);
  padding: 16px 8px;
  letter-spacing: 0.08em;
  text-transform: none;
  font-size: 15px;
}
.btn-link:hover { color: var(--gold-2); }

.btn-sm { padding: 12px 22px; font-size: 12px; }

/* ========================== ШАПКА ========================== */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(10, 20, 34, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 167, 94, 0.10);
  transition: background .3s ease;
}
.site-header.scrolled {
  background: rgba(10, 20, 34, 0.92);
  border-bottom-color: rgba(201, 167, 94, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Cormorant Garamond", serif;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--gold-1);
  color: var(--gold-2);
  font-size: 20px;
  font-weight: 500;
}
.logo-text {
  font-size: 18px;
  letter-spacing: 0.05em;
  color: var(--text);
}

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav a {
  font-size: 14px;
  color: var(--text-mute);
  letter-spacing: 0.04em;
  position: relative;
  padding: 4px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: var(--gold-1);
  transition: width .3s ease;
}
.nav a:hover { color: var(--gold-2); }
.nav a:hover::after { width: 100%; }

.burger {
  display: none;
  background: none;
  border: none;
  /* 44x44 - минимальная зона касания по рекомендации Apple.
     Сами полоски остаются 22px, растёт только область нажатия. */
  width: 44px; height: 44px;
  margin-right: -6px;   /* чтобы кнопка не отъехала от правого края */
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  align-items: center;
}
.burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--gold-2);
  transition: all .3s ease;
}
.burger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ========================== СЕКЦИИ ========================== */

.section {
  padding: 110px 0;
  position: relative;
  background: var(--dark-2);
  overflow: hidden;
}

/* Контент всегда выше фоновых свечений */
.section > .container { position: relative; z-index: 2; }

/* Базовое «свечение» в каждой секции — два мягких тёплых пятна */
.section::before,
.section::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

/* Чередование оттенков тёмного — мягкие переходы без «белого» */
.section-raised {
  background: var(--dark-3);
  box-shadow:
    inset 0  1px 0 0 rgba(201, 167, 94, 0.22),
    inset 0 -1px 0 0 rgba(201, 167, 94, 0.16),
    0 -30px 60px -30px rgba(201, 167, 94, 0.10);
}

.section-bright {
  background: var(--dark-4);
  box-shadow:
    inset 0  1px 0 0 rgba(201, 167, 94, 0.32),
    inset 0 -1px 0 0 rgba(201, 167, 94, 0.24),
    0 -40px 80px -30px rgba(201, 167, 94, 0.18);
}

/* === Индивидуальные свечения по секциям === */

/* Обо мне — тёплое сияние слева, рядом с фото */
#about::before {
  inset: 0;
  background:
    radial-gradient(ellipse 800px 700px at 15% 30%, rgba(201,167,94,0.16), transparent 60%),
    radial-gradient(ellipse 600px 500px at 85% 80%, rgba(101,132,155,0.10), transparent 65%);
}

/* Подход — нимб над заголовком + лёгкий низ */
#approach::before {
  inset: 0;
  background:
    radial-gradient(ellipse 1000px 600px at 50% 0%, rgba(201,167,94,0.20), transparent 60%),
    radial-gradient(ellipse 700px 500px at 50% 100%, rgba(201,167,94,0.10), transparent 65%);
}

/* Запросы — диагональные пятна света */
#requests::before {
  inset: 0;
  background:
    radial-gradient(ellipse 700px 600px at 10% 15%, rgba(201,167,94,0.14), transparent 60%),
    radial-gradient(ellipse 800px 600px at 90% 85%, rgba(201,167,94,0.13), transparent 60%);
}

/* Как проходит — мягкий центральный свет */
#how::before {
  inset: 0;
  background:
    radial-gradient(ellipse 900px 600px at 50% 50%, rgba(201,167,94,0.16), transparent 60%);
}

/* Услуги — два боковых свечения, центр выделяет featured-карточку */
#services::before {
  inset: 0;
  background:
    radial-gradient(ellipse 700px 500px at 50% 50%, rgba(201,167,94,0.18), transparent 55%),
    radial-gradient(ellipse 500px 700px at 0% 50%, rgba(201,167,94,0.10), transparent 65%),
    radial-gradient(ellipse 500px 700px at 100% 50%, rgba(201,167,94,0.10), transparent 65%);
}

/* Отзывы — мягкое сияние сверху */
#reviews::before {
  inset: 0;
  background:
    radial-gradient(ellipse 1000px 600px at 50% 0%, rgba(201,167,94,0.16), transparent 60%),
    radial-gradient(ellipse 700px 500px at 50% 100%, rgba(201,167,94,0.10), transparent 65%);
}

/* Мягкая «связка» между секциями — узкая полоса света сверху */
.section + .section::after {
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 360px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,167,94,0.55), transparent);
  z-index: 3;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 64px;
}
.section-head.center { text-align: center; }
.section-lead {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(20px, 1.7vw, 24px);
  color: var(--text);
  line-height: 1.5;
  margin: 16px 0 0;
  letter-spacing: 0.005em;
}

/* ========================== HERO ========================== */

.hero {
  padding-top: 180px;
  padding-bottom: 120px;
  background:
    radial-gradient(ellipse at 75% 35%, rgba(201,167,94,0.10), transparent 55%),
    linear-gradient(180deg, var(--dark-0) 0%, var(--dark-1) 70%, var(--dark-2) 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text { max-width: 580px; }

.hero-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(54px, 7.2vw, 100px);
  line-height: 0.98;
  font-weight: 400;
  margin: 12px 0 28px;
  color: var(--text);
}
.hero-title span { display: block; }
.hero-title .italic {
  font-style: italic;
  font-weight: 300;
}
/* Два слова с лёгким различием — чтобы не сливались в одно */
.hero-title .word-1 { color: var(--gold-1); }
.hero-title .word-2 { color: #E8D9A8; }   /* кремово-золотой, чуть светлее */

.hero-lead {
  font-family: "Cormorant Garamond", serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(22px, 1.9vw, 26px);
  line-height: 1.45;
  color: var(--text);
  margin: 0 0 40px;
  max-width: 540px;
  letter-spacing: 0.005em;
}

.hero-cta {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 36px;
  border-top: 1px solid rgba(201,167,94,0.18);
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.hero-meta li { display: flex; flex-direction: column; }
.hero-meta strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 32px;
  font-weight: 500;
  color: var(--gold-2);
  margin-bottom: 4px;
  line-height: 1;
}
.hero-meta span {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-mute);
}

.hero-photo {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 460px;
}
.photo-frame {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(201,167,94,0.25);
  background: var(--dark-3);
  aspect-ratio: 4 / 5;
}
.photo-frame img,
.photo-frame video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}
/* Портрет на первом экране: кадр по лицу. */
.hero-photo .photo-frame img { object-position: center 20%; }

.photo-decor { display: none; }

/* Тонкая «бязевая» геометрия */
.ornament {
  position: absolute;
  pointer-events: none;
  opacity: 0.05;
  background-image:
    repeating-linear-gradient(45deg, var(--gold-1) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(-45deg, var(--gold-1) 0 1px, transparent 1px 18px);
  z-index: 0;
}
.ornament-top {
  top: 0; right: 0;
  width: 360px; height: 360px;
  border-radius: 0 0 0 100%;
}
.ornament-bottom {
  bottom: 0; left: 0;
  width: 320px; height: 320px;
  border-radius: 0 100% 0 0;
}

/* ========================== ABOUT (тёмный) ========================== */

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: start;
}

.about-photo {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 5;
  background: var(--dark-3);
  border: 1px solid rgba(201,167,94,0.18);
}
.about-photo::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(201, 167, 94, 0.40);
  border-radius: calc(var(--radius-l) - 6px);
  z-index: 2;
  pointer-events: none;
}
.about-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.about-text p {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.55;
  color: var(--text);
  margin: 0 0 18px;
  letter-spacing: 0.005em;
}

.quote {
  margin: 40px 0;
  padding: 32px 36px 32px 68px;
  background: linear-gradient(180deg, var(--dark-3), var(--dark-2));
  border-left: 2px solid var(--gold-1);
  border-radius: 0 var(--radius-m) var(--radius-m) 0;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
  color: var(--text);
  position: relative;
}
.quote-mark {
  position: absolute;
  top: -2px; left: 14px;
  font-family: "Cormorant Garamond", serif;
  font-size: 64px;
  color: var(--gold-1);
  line-height: 1;
  opacity: 0.7;
}

.edu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 22px;
}
.edu-list li {
  display: grid;
  gap: 4px;
  padding-left: 24px;
  position: relative;
}
.edu-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 12px;
  width: 14px; height: 1px;
  background: var(--gold-2);
}
.edu-list strong {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: 19px;
  color: var(--text);
}
.edu-list span {
  font-size: 14px;
  color: var(--text-mute);
}

/* ========================== ПОДХОД (тёмные карточки) ========================== */

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.card-gold {
  position: relative;
  background: linear-gradient(180deg, var(--dark-4), var(--dark-3));
  border: 1px solid rgba(201, 167, 94, 0.22);
  border-radius: var(--radius-l);
  padding: 40px 32px 36px;
  transition: all .35s ease;
  overflow: hidden;
}
.card-gold:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(201, 167, 94, 0.20), var(--shadow-card);
  border-color: var(--gold-1);
}

.card-num {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 56px;
  font-weight: 300;
  color: var(--gold-1);
  line-height: 1;
  display: block;
  margin-bottom: 20px;
  opacity: 0.75;
}
.card-gold h3 { margin-bottom: 14px; }
.card-gold p {
  color: var(--text-mute);
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
}

.approach-foot {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  font-style: italic;
  line-height: 1.55;
  color: var(--gold-2);
}

/* ========================== ЗАПРОСЫ (тёмные карточки) ========================== */

.requests-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.request-card {
  background: linear-gradient(180deg, var(--dark-4), var(--dark-3));
  border: 1px solid rgba(201, 167, 94, 0.20);
  border-radius: var(--radius-l);
  padding: 36px 36px 32px;
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
}
.request-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-1);
  box-shadow: 0 18px 50px rgba(201, 167, 94, 0.18), var(--shadow-card);
}
.request-card h3 { margin-bottom: 22px; }
.request-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 11px;
}
.request-card ul li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-mute);
}
.request-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  border: 1px solid var(--gold-1);
  border-radius: 50%;
}
.request-card .card-out {
  margin: auto 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(201,167,94,0.28);
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
  color: var(--gold-2);
}

/* ========================== ШАГИ ========================== */

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.steps li {
  background: linear-gradient(180deg, var(--dark-4), var(--dark-3));
  border: 1px solid rgba(201, 167, 94, 0.22);
  border-radius: var(--radius-l);
  padding: 36px 26px 30px;
  position: relative;
  transition: all .3s ease;
}
.steps li:hover {
  border-color: var(--gold-1);
  box-shadow: 0 14px 40px rgba(201, 167, 94, 0.16);
}
.step-num {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 28px;
  color: var(--gold-2);
  letter-spacing: 0.06em;
  margin-bottom: 18px;
  display: inline-block;
}
.steps h3 { margin-bottom: 12px; font-size: 20px; }
.steps p {
  color: var(--text-mute);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* ========================== УСЛУГИ (тёмные карточки) ========================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card {
  background: linear-gradient(180deg, var(--dark-3), var(--dark-2));
  border: 1px solid rgba(201, 167, 94, 0.20);
  border-radius: var(--radius-l);
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  transition: all .3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-1);
  box-shadow: 0 18px 50px rgba(201, 167, 94, 0.22), var(--shadow-card);
}

.service-card--featured {
  background: linear-gradient(180deg, #2E4F7C, var(--dark-4));
  border-color: var(--gold-1);
  box-shadow: 0 22px 60px rgba(201, 167, 94, 0.28);
}
.service-card--featured .btn-dark {
  background: var(--gold-1);
  color: var(--dark-0);
  border-color: var(--gold-1);
}
.service-card--featured .btn-dark:hover {
  background: var(--gold-2);
  color: var(--dark-0);
}

.service-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(201, 167, 94, 0.15);
  color: var(--gold-2);
  margin-bottom: 18px;
  font-weight: 500;
  border: 1px solid rgba(201, 167, 94, 0.30);
}
.service-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
}
.service-card > p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-mute);
  margin: 0 0 22px;
}
.service-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--text-quiet);
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}
.service-price {
  font-family: "Cormorant Garamond", serif;
  font-size: 40px;
  font-weight: 500;
  color: var(--gold-2);
  line-height: 1;
  margin: 0 0 24px;
}
.service-card .btn { margin-top: auto; }

.btn-dark {
  background: transparent;
  color: var(--gold-2);
  border-color: var(--gold-1);
}
.btn-dark:hover {
  background: var(--gold-1);
  color: var(--dark-0);
}

/* ========================== ОТЗЫВЫ ========================== */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.review {
  margin: 0;
  background: linear-gradient(180deg, var(--dark-4), var(--dark-3));
  border: 1px solid rgba(201, 167, 94, 0.22);
  border-radius: var(--radius-l);
  padding: 40px 32px 28px;
  position: relative;
  transition: all .3s ease;
}
.review:hover {
  border-color: var(--gold-1);
  box-shadow: 0 18px 50px rgba(201, 167, 94, 0.18);
}
.review::before {
  content: "\201C";
  position: absolute;
  top: -10px; left: 24px;
  font-family: "Cormorant Garamond", serif;
  font-size: 100px;
  line-height: 1;
  color: var(--gold-1);
  opacity: 0.75;
}
.review p {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.55;
  color: var(--text);
  margin: 0 0 18px;
}
.review footer {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-2);
  font-style: normal;
}

/* ========================== КОНТАКТЫ ========================== */

.section-contacts {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(201,167,94,0.12), transparent 50%),
    linear-gradient(180deg, var(--dark-2), var(--dark-0));
  padding-bottom: 140px;
  overflow: hidden;
}

.contacts-inner { position: relative; z-index: 1; }

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,167,94,0.25);
  border-radius: var(--radius-l);
  padding: 36px 24px;
  text-decoration: none;
  color: var(--text);
  transition: all .3s ease;
}
.contact-card:hover {
  background: rgba(201,167,94,0.08);
  border-color: var(--gold-1);
  transform: translateY(-3px);
}
.contact-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--gold-1);
  color: var(--dark-0);
  font-size: 22px;
  margin-bottom: 14px;
}
.contact-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.contact-val {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--gold-2);
}

.contacts-foot {
  text-align: center;
  margin-top: 48px;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 18px;
  color: var(--text-mute);
}

/* ========================== ПОДВАЛ ========================== */

.site-footer {
  background: var(--dark-0);
  padding: 36px 0;
  border-top: 1px solid rgba(201,167,94,0.12);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: "Cormorant Garamond", serif;
  font-size: 17px;
  color: var(--text);
}
.footer-meta {
  display: flex;
  gap: 32px;
  font-size: 13px;
  color: var(--text-mute);
}

.footer-legal {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(201, 167, 94, 0.10);
  text-align: center;
}
.footer-legal-note {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-quiet);
  margin: 0 0 12px;
  letter-spacing: 0.01em;
}
.footer-legal-links {
  font-size: 13px;
  line-height: 1.9;
  color: var(--text-mute);
  margin: 0 0 14px;
  letter-spacing: 0.01em;
}
.footer-legal-links a {
  color: var(--text-mute);
  border-bottom: 1px dotted rgba(201, 167, 94, 0.35);
  padding-bottom: 1px;
}
.footer-legal-links a:hover {
  color: var(--gold-2);
  border-bottom-color: var(--gold-2);
}
.footer-legal-meta {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--text-quiet);
  margin: 0;
  letter-spacing: 0.015em;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  font-style: italic;
}

/* ========================== ПАРАЛЛАКС-РАЗДЕЛИТЕЛИ ========================== */

.parallax {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
  padding: 80px 32px;
}
.parallax::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(15,28,45,0.55), rgba(10,20,34,0.85) 80%),
    linear-gradient(180deg, var(--dark-1), transparent 20%, transparent 80%, var(--dark-1));
}
.parallax-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.parallax-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 24px;
  font-weight: 500;
}
.parallax-eyebrow::before,
.parallax-eyebrow::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold-1);
  vertical-align: middle;
  margin: 0 16px;
}
.parallax-quote {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.35;
  color: var(--text);
  margin: 0;
}
.parallax-quote em {
  color: var(--gold-2);
  font-style: italic;
}

/* ========================== АДАПТИВ ========================== */

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-photo { justify-self: center; max-width: 380px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-photo { max-width: 460px; margin: 0 auto; }
  .cards-3 { grid-template-columns: 1fr; }
  .requests-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { padding: 0 22px; }
  /* Отступ сверху и снизу у разделов был 80px - на телефоне это давало
     много пустоты над заголовками вроде «Услуги». */
  .section { padding: 52px 0; }
  .hero { padding-top: 140px; padding-bottom: 80px; }
  .nav { display: none; }
  .nav-cta { display: none; }
  .burger { display: inline-flex; }
  .nav.is-open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--dark-0);
    padding: 24px 28px 32px;
    border-bottom: 1px solid rgba(201,167,94,0.18);
    gap: 18px;
  }
  .nav.is-open a { font-size: 16px; color: var(--text); }
  .hero-title { font-size: clamp(44px, 11vw, 64px); }
  .hero-meta { grid-template-columns: 1fr 1fr; }
  .hero-meta strong { font-size: 24px; }
  .hero-cta { gap: 8px; }
  .btn { padding: 14px 22px; font-size: 13px; }
  .section-head { margin-bottom: 40px; }
  /* Карточки этапов компактнее: было 36px сверху и ещё 18px под цифрой -
     на телефоне это давало много пустоты вокруг номера. */
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .steps li { padding: 18px 20px 20px; }
  .step-num { font-size: 24px; margin-bottom: 8px; line-height: 1; }
  .steps p { font-size: 14.5px; line-height: 1.5; }
  .services-grid { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-meta { flex-direction: column; gap: 8px; }
  .quote { padding: 24px 22px 22px 56px; font-size: 19px; }
  .quote-mark { font-size: 52px; top: 2px; left: 12px; }
  .request-card { padding: 28px 24px; }
  .service-card { padding: 28px 22px; }
  .review { padding: 34px 24px 24px; }
  .ornament { display: none; }
  /* Фотография стоит на месте, текст едет поверх. Safari на айфоне не умеет
     закреплять фон, поэтому слой двигает скрипт в js/main.js: смещает его
     ровно настолько, насколько уехала секция. Секция работает как окно. */
  .parallax {
    display: block;
    padding: 0;
    min-height: 580px;
    /* !important нужен из-за блока «Глубже»: у него background-size: 112%
       задан прямо в разметке, а инлайн перебивает обычное правило -
       без этого секция впустую дорисовывала фон под слоем. */
    background-size: 0 0 !important;
    overflow: hidden;
  }
  .parallax-bg {
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 100vh;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    z-index: 0;
    will-change: transform;
  }
  .parallax::before {
    z-index: 1;
    background:
      linear-gradient(180deg,
        rgba(10,20,34,0.18) 0%,
        rgba(10,20,34,0.28) 26%,
        rgba(10,20,34,0.82) 58%,
        rgba(10,20,34,0.98) 100%);
  }
  .parallax-inner {
    position: relative;
    z-index: 2;
    min-height: 580px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    padding: 40px 22px 72px;
  }
  .parallax[style*="zahra-bookshelf"]     .parallax-bg { background-position: 55% center; }
  .parallax[style*="zahra-armchair-full"] .parallax-bg { background-position: 45% center; }
  .parallax[style*="zahra-group-hug"]     .parallax-bg { background-position: center 30%; }

  /* Если скрипт не отработал - прячем слой, фон рисует сама секция. */
  html:not(.js-parallax) .parallax { background-size: cover; }
  html:not(.js-parallax) .parallax-bg { display: none; }
}

/* ========================== ОБРАЗОВАНИЕ — кнопки-разворот с дипломами ========================== */
.edu-item { display: block; }
.edu-item summary {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  outline: none;
}
.edu-item summary::-webkit-details-marker { display: none; }
.edu-item summary::marker { display: none; }

.edu-head { display: grid; gap: 4px; }
.edu-head strong {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: 19px;
  color: var(--text);
  display: block;
}
.edu-head span {
  font-size: 14px;
  color: var(--text-mute);
  display: block;
}

.edu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(201, 167, 94, 0.35);
  border-radius: 999px;
  color: var(--gold-2);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: border-color .25s ease, background .25s ease;
  white-space: nowrap;
}
.edu-item summary:hover .edu-toggle {
  border-color: var(--gold-1);
  background: rgba(201, 167, 94, 0.08);
}
.edu-toggle-arrow {
  display: inline-block;
  transition: transform .25s ease;
  font-size: 10px;
}
.edu-item[open] .edu-toggle-arrow { transform: rotate(180deg); }

.edu-body {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(201, 167, 94, 0.18);
}
.edu-diplomas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
@media (max-width: 760px) { .edu-diplomas-grid { grid-template-columns: 1fr; } }

.edu-diploma { margin: 0; }
.edu-diploma-btn {
  display: block;
  width: 100%;
  padding: 0;
  background: var(--dark-1);
  border: 1px solid rgba(201, 167, 94, 0.30);
  border-radius: 8px;
  overflow: hidden;
  cursor: zoom-in;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.edu-diploma-btn:hover {
  border-color: var(--gold-1);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(201, 167, 94, 0.14);
}
.edu-diploma-btn img { display: block; width: 100%; height: auto; }
.edu-diploma figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-mute);
  line-height: 1.45;
}

/* lightbox */
.lb-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 14, 24, 0.93);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  z-index: 1000;
  cursor: zoom-out;
}
.lb-overlay.open { display: flex; }
.lb-overlay img {
  max-width: 100%;
  max-height: 100%;
  border: 1px solid rgba(201, 167, 94, 0.35);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  cursor: default;
}
.lb-close {
  position: absolute;
  top: 24px;
  right: 32px;
  color: var(--gold-2);
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  letter-spacing: 0.08em;
  cursor: pointer;
  user-select: none;
}

@media (max-width: 640px) {
  .edu-item summary { grid-template-columns: 1fr; gap: 10px; }
  .edu-toggle { justify-self: start; }
}

/* ========================== СЕКЦИЯ «МОЙ ПОДХОД» — фото на фоне ========================== */

.section-approach { padding: 0 0 110px; }
.section-approach > .container { padding-top: 60px; }

.approach-photo-band {
  position: relative;
  min-height: 620px;
  background-size: cover;
  background-position: 76% 24%;
  background-repeat: no-repeat;
  background-color: var(--dark-2);
}
/* Плавный уход фотографии в тёмный фон снизу. */
.approach-photo-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(10,20,34,0)    0%,
    rgba(10,20,34,0.08) 40%,
    rgba(10,20,34,0.55) 58%,
    rgba(10,20,34,0.90) 82%,
    var(--dark-3)      100%);
  pointer-events: none;
  z-index: 1;
}
/* Затемнение слева: под текстом фон приглушён, лицо справа остаётся открытым. */
.approach-photo-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(10,20,34,0.62)  0%,
    rgba(10,20,34,0.34) 34%,
    rgba(10,20,34,0)    56%);
  pointer-events: none;
  z-index: 1;
}
.approach-photo-inner {
  position: absolute;
  top: 55%;
  left: 22px;
  right: 22px;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.approach-photo-inner .h2 {
  font-size: clamp(22px, 3.4vw, 42px);
  line-height: 1.35;
  margin-bottom: 0;
  overflow-wrap: break-word;
  hyphens: auto;
}
.approach-photo-inner .section-lead {
  margin-top: 22px;
  text-shadow: 0 1px 8px rgba(10,20,34,0.75);
}

@media (min-width: 900px) {
  .approach-photo-band {
    min-height: 780px;
    background-position: 50% 34%;
  }
  /* На широком экране верхний градиент мягче - фотография не гаснет. */
  .approach-photo-band::before {
    background: linear-gradient(180deg,
      rgba(10,20,34,0)    0%,
      rgba(10,20,34,0.05) 45%,
      rgba(10,20,34,0.32) 66%,
      rgba(10,20,34,0.78) 86%,
      var(--dark-3)      100%);
  }
  /* Текст занимает левую половину кадра, чтобы не перекрывать лицо. */
  .approach-photo-inner {
    top: 50%;
    transform: translateY(-50%);
    left: clamp(40px, 6vw, 96px);
    right: auto;
    width: min(52%, 620px);
    max-width: none;
    margin: 0;
    text-align: left;
  }
  .approach-photo-inner .h2 { font-size: clamp(24px, 2.6vw, 38px); }
}

/* Полоса «Глубже»: текст смещён влево, чтобы не ложиться на лицо. Фото не трогаем. */
@media (min-width: 900px) {
  .parallax-text-shift .parallax-inner { transform: translateX(-8%); }
}

/* ===== «Мой подход» на телефоне: текст слева, фотография справа =====
   ВАЖНО: блок стоит в конце файла намеренно. Базовые правила
   .approach-photo-band идут ниже общего мобильного медиа-запроса
   и перебили бы всё, что написано выше. */
@media (max-width: 720px) {
  .approach-photo-band {
    min-height: 700px;
    /* кадр сдвинут вправо - лицо уходит в правую половину,
       слева остаётся тёмная стена, на ней и лежит текст */
    background-position: 82% 18%;
  }
  /* Вертикальное затемнение мягче: низ фотографии больше не гаснет целиком. */
  .approach-photo-band::before {
    background: linear-gradient(180deg,
      rgba(10,20,34,0.10) 0%,
      rgba(10,20,34,0.18) 44%,
      rgba(10,20,34,0.62) 74%,
      rgba(10,20,34,0.94) 92%,
      var(--dark-3)      100%);
  }
  /* Затемнение слева сильнее - текст читается поверх стены. */
  .approach-photo-band::after {
    background: linear-gradient(90deg,
      rgba(10,20,34,0.88)  0%,
      rgba(10,20,34,0.74) 40%,
      rgba(10,20,34,0.34) 66%,
      rgba(10,20,34,0)    88%);
  }
  .approach-photo-inner {
    top: 50%;
    transform: translateY(-50%);
    left: 22px;
    right: auto;
    width: 60%;   /* текст держится левой части - на фигуру не заходит */
    max-width: none;
    margin: 0;
    text-align: left;
  }
  /* Верхняя часть - «мой подход» и заголовок - поднята на 26px.
     Абзац ниже возвращён на прежний уровень увеличенным отступом,
     чтобы он остался там, где стоял. */
  .approach-photo-inner .eyebrow {
    margin-top: -26px;
  }
  .approach-photo-inner .h2 {
    font-size: 19px;
    line-height: 1.34;
    /* без переносов по слогам - в узкой колонке они рвут слова
       на «че-ловек» и «случай-но» */
    hyphens: none;
    overflow-wrap: normal;
  }
  .approach-photo-inner .section-lead {
    font-size: 15.5px;
    line-height: 1.55;
    margin-top: 62px;   /* компенсирует подъём заголовка + отступ вниз по просьбе */
    /* переносы строк расставлены вручную через <br class="mob-br"> */
    max-width: 100%;
  }
}

/* Переносы строк только для телефона - на большом экране текст льётся сам. */
.mob-br { display: none; }
@media (max-width: 720px) {
  .mob-br { display: inline; }
}
