/* ============================================================
   Олеся Савостина — психолог. Стили лендинга.
   Палитра: из шапки ВК (оливковый) + фотосессия (молочный, помада).
   ============================================================ */

:root {
  --olive:        #8A8A6E;   /* фирменный оливковый */
  --olive-deep:   #4A4C3A;   /* тёмный текст, шапка, подвал */
  --olive-ink:    #2F3127;   /* самый тёмный — заголовки */
  --sage:         #A8B29A;   /* карточки, разделители */
  --sage-light:   #D9DDCF;
  --cream:        #F6F3EC;   /* основной фон */
  --cream-deep:   #EDE8DD;   /* вторичный фон */
  --accent:       #C04A2E;   /* терракотово-красный */
  --accent-hover: #A63D24;
  --gold:         #C9A961;
  --white:        #FFFFFF;
  --muted:        #6E7064;

  --font-head: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-body: "Manrope", "Inter", system-ui, -apple-system, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 40px rgba(47, 49, 39, .08);
  --container: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--olive-ink);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(38px, 6vw, 68px); }
h2 { font-size: clamp(32px, 4.6vw, 52px); }
h3 { font-size: clamp(24px, 2.6vw, 30px); }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; margin: 0 0 1em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--olive { background: var(--olive); color: var(--cream); }
.section--olive h2, .section--olive h3 { color: var(--white); }
.section--deep { background: var(--olive-deep); color: var(--cream); }
.section--deep h2, .section--deep h3 { color: var(--white); }
.section--cream-deep { background: var(--cream-deep); }

.eyebrow {
  display: inline-block;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin-bottom: 14px;
}
.section--olive .eyebrow, .section--deep .eyebrow { color: var(--gold); }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--muted); max-width: 680px; }
.section--olive .lead, .section--deep .lead { color: rgba(255,255,255,.82); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 14px 30px;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { background: transparent; color: var(--olive-ink); border-color: var(--olive-ink); }
.btn--ghost:hover { background: var(--olive-ink); color: var(--cream); }
.btn--light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn--light:hover { background: var(--white); color: var(--olive-deep); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn--block { width: 100%; }

/* ---------- Шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,243,236,.86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(74,76,58,.08);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__logo { width: 34px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-head); font-size: 21px; font-weight: 600; }
.brand__sub { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.nav { display: none; gap: 28px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 600; color: var(--olive-deep); }
.nav a:hover { color: var(--accent); }
.header__cta { display: none; }
.burger {
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  display: grid; place-items: center; gap: 0; padding: 0;
}
.burger span { display: block; width: 24px; height: 2px; background: var(--olive-ink); margin: 3px 0; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile-nav {
  display: none; flex-direction: column; gap: 4px;
  padding: 10px var(--gutter) 24px; border-top: 1px solid rgba(74,76,58,.08);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a { padding: 12px 0; text-decoration: none; font-weight: 600; font-size: 18px; border-bottom: 1px solid rgba(74,76,58,.08); }
.mobile-nav .btn { margin-top: 14px; }
@media (min-width: 960px) {
  .nav, .header__cta { display: flex; }
  .burger { display: none; }
  .mobile-nav { display: none !important; }
}

/* ---------- Первый экран ---------- */
.hero { position: relative; overflow: hidden; padding: 0; }

/* слайд в стиле шапки ВК */
.banner { background: var(--olive); color: var(--white); overflow: hidden; }
.banner__grid { display: grid; gap: 0; align-items: stretch; }
/* логотип слева, подпись справа от него — как в шапке ВК */
.banner__text { display: flex; align-items: center; gap: clamp(16px, 3vw, 32px); padding: clamp(28px, 5vw, 64px) 0; }
.banner__logo { flex: 0 0 auto; width: clamp(76px, 10vw, 120px); height: auto; margin: 0; }
.banner__caption { min-width: 0; max-width: 100%; display: inline-flex; flex-direction: column; align-items: center; text-align: center; }
.banner h1 { color: var(--white); font-size: clamp(28px, 6vw, 56px); margin: 0 0 .25em; line-height: 1.05; white-space: nowrap; }
/* до 560px: логотип над подписью, всё по центру, переносы разрешены — так не вылезает ни на одном телефоне
   (на iPhone шрифт рендерится шире, и строка с nowrap уходила за край) */
@media (max-width: 559px) {
  .banner__text { flex-direction: column; gap: 14px; text-align: center; }
  .banner__logo { width: 84px; }
  .banner h1 { white-space: normal; font-size: clamp(30px, 9vw, 40px); text-wrap: balance; }
  .banner__sub { white-space: normal; letter-spacing: .14em; font-size: 12px; }
  .banner__sub--2 { letter-spacing: .1em; font-size: 10.5px; }
}
/* подпись заглавными, по центру под именем, с линиями по краям */
.banner__sub {
  display: flex; align-items: center; gap: 12px; width: 100%;
  font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: .2em;
  font-size: clamp(11px, 1.5vw, 15px); line-height: 1.4; color: var(--white); margin: 0; white-space: nowrap;
}
.banner__sub::before, .banner__sub::after { content: ""; flex: 1 1 0; height: 1px; background: rgba(255,255,255,.45); }
.banner__sub .dot { color: var(--gold); font-size: 1.2em; line-height: 1; }
.banner__sub--2 { font-weight: 500; letter-spacing: .14em; font-size: clamp(10px, 1.2vw, 12.5px); color: rgba(255,255,255,.8); margin-top: 6px; }
.banner__sub--2::before, .banner__sub--2::after { content: none; }
.banner__photo {
  position: relative; margin: 0 calc(-1 * var(--gutter)); aspect-ratio: 4/3;
  background: #E8E5DE url("../img/about-sm.jpg") center 20% / cover no-repeat;
  background-image: image-set(url("../img/about-sm.webp") type("image/webp"), url("../img/about-sm.jpg") type("image/jpeg"));
}
@media (min-width: 600px) {
  .banner__photo { background-image: image-set(url("../img/about.webp") type("image/webp"), url("../img/about.jpg") type("image/jpeg")); }
}

.hero__grid { display: grid; gap: 28px; padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(40px, 6vw, 72px); }
.hero__lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--olive-ink); max-width: 560px; margin: 0 0 18px; }
.hero__creds { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--muted); padding: 0; margin: 10px 0 0; list-style: none; }
.hero__creds li::before { content: "·"; margin-right: 10px; color: var(--gold); font-weight: 700; }
.hero__creds li:first-child::before { content: none; }
.hero__side { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.hero__photo { position: relative; width: min(100%, 420px); }
.hero__photo::before {
  content: ""; position: absolute; inset: 8% -6% -4% -6%;
  background: var(--sage-light); border-radius: 200px 200px 24px 24px; z-index: 0;
}
.hero__photo-img {
  position: relative; z-index: 1; border-radius: 200px 200px 24px 24px; aspect-ratio: 2/3;
  background: #E8E5DE url("../img/hero-sm.jpg") center / cover no-repeat;
  background-image: image-set(url("../img/hero-sm.webp") type("image/webp"), url("../img/hero-sm.jpg") type("image/jpeg"));
}
@media (min-width: 600px) {
  .hero__photo-img { background-image: image-set(url("../img/hero.webp") type("image/webp"), url("../img/hero.jpg") type("image/jpeg")); }
}
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; width: 100%; }
.hero__actions .btn { flex: 1 1 240px; }
@media (min-width: 900px) {
  .banner__grid { grid-template-columns: 1.1fr .9fr; gap: 48px; }
  /* по центру всей оливковой части — от края экрана до фото, а не колонки внутри контейнера:
     сдвигаем левый край блока к краю экрана (отступ контейнера + его поле) */
  .banner__text { justify-content: center; margin-left: calc(-1 * ((100vw - min(100vw, var(--container))) / 2 + var(--gutter))); }
  .banner__photo { margin: 0; align-self: stretch; aspect-ratio: auto; min-height: 100%; background-position: center 15%; }
  .hero__grid { grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
  .hero__side { align-items: flex-end; }
  .hero__photo { width: min(100%, 420px); }
  .hero__actions { max-width: 420px; }
}

/* ---------- Сегменты «Вам сюда, если» ---------- */
.cards { display: grid; gap: 20px; }
@media (min-width: 760px) { .cards--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--white); border-radius: var(--radius); padding: 32px 28px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px;
}
.card__tag { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); font-weight: 700; }
.card h3 { margin-bottom: .2em; }
.card ul { margin: 6px 0 14px; padding-left: 1.1em; color: var(--olive-deep); }
.card li { margin-bottom: 6px; }
.card__link { margin-top: auto; font-weight: 700; color: var(--accent); text-decoration: none; display: inline-block; padding: 10px 0; margin-bottom: -10px; }
.card__link:hover { text-decoration: underline; }
.card--teen { background: var(--olive-deep); color: var(--cream); }
.card--teen h3 { color: var(--white); }
.card--teen ul { color: rgba(255,255,255,.85); }
.card--teen .card__tag { color: var(--gold); }
.card--teen .card__link { color: var(--white); }

/* ---------- С чем работаю ---------- */
.topics { display: grid; gap: 28px; }
@media (min-width: 760px) { .topics { grid-template-columns: repeat(3, 1fr); gap: 36px; } }
.topics h3 { font-size: 24px; padding-bottom: 12px; border-bottom: 2px solid var(--sage); margin-bottom: 16px; }
.topics ul { list-style: none; padding: 0; margin: 0; }
.topics li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.topics li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--sage); box-shadow: inset 0 0 0 3px var(--cream);
}

/* ---------- Обо мне ---------- */
.about__grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .about__grid { grid-template-columns: .9fr 1.1fr; gap: 72px; } }
.about__photo { position: relative; max-width: 440px; margin: 0 auto; }
.about__photo img { border-radius: 24px 200px 24px 24px; aspect-ratio: 2/3; object-fit: cover; }
.about__photo::after {
  content: ""; position: absolute; right: -16px; bottom: -16px; width: 50%; height: 50%;
  border: 2px solid var(--gold); border-radius: 0 0 24px 0; z-index: -1;
}
.about__text p { font-size: 17.5px; }
.about__text p:first-of-type { font-size: clamp(19px, 1.6vw, 22px); font-family: var(--font-head); font-style: italic; color: var(--olive-deep); }
.creds { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
@media (min-width: 600px) { .creds { grid-template-columns: 1fr 1fr; } }
.creds li {
  background: var(--white); border-radius: var(--radius-sm); padding: 14px 16px;
  display: flex; gap: 12px; align-items: flex-start; font-size: 15px; font-weight: 600; color: var(--olive-deep);
}
.creds li::before { content: "✦"; color: var(--gold); flex: none; }

/* ---------- Методика ---------- */
.method { position: relative; overflow: hidden; }
.method__logo { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: min(44vw, 520px); opacity: .08; pointer-events: none; }
.method__grid { position: relative; display: grid; gap: 32px; }
@media (min-width: 900px) { .method__grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.method h2 { font-size: clamp(36px, 5.2vw, 64px); }
.method h2 span { display: block; font-size: .5em; font-style: italic; font-weight: 400; color: var(--gold); margin-top: .2em; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.steps li {
  counter-increment: step; position: relative; padding: 22px 22px 22px 72px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-sm);
}
.steps li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 22px; top: 18px;
  font-family: var(--font-head); font-size: 32px; color: var(--gold); line-height: 1;
}
.steps strong { display: block; font-size: 18px; margin-bottom: 4px; color: var(--white); }
.steps p { margin: 0; color: rgba(255,255,255,.82); font-size: 15.5px; }

/* ---------- Форматы и цены ---------- */
.formats { display: grid; gap: 22px; }
@media (min-width: 760px) { .formats { grid-template-columns: 1fr 1fr; } }
.format {
  background: var(--white); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.format__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.format__step { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); font-weight: 700; }
.format h3 { margin-bottom: 6px; }
.format__for { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.offer { padding: 18px 0; border-top: 1px solid var(--sage-light); }
.offer:last-of-type { border-bottom: 1px solid var(--sage-light); margin-bottom: 20px; }
.offer__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.offer__name { font-weight: 700; color: var(--olive-ink); }
.offer__price { font-family: var(--font-head); font-size: 28px; color: var(--accent); white-space: nowrap; }
.offer__price small { font-family: var(--font-body); font-size: 13px; color: var(--muted); }
.offer__meta { font-size: 14px; color: var(--muted); margin-top: 2px; }
.format .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Как проходит работа ---------- */
.how { display: grid; gap: 20px; }
@media (min-width: 760px) { .how { grid-template-columns: repeat(4, 1fr); } }
.how__item { position: relative; padding-top: 18px; }
.how__num { font-family: var(--font-head); font-size: 56px; line-height: 1; color: var(--sage); margin-bottom: 8px; }
.how__item strong { display: block; font-size: 18px; margin-bottom: 6px; }
.how__item p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* ---------- Ретриты ---------- */
.retreats { display: grid; gap: 22px; }
@media (min-width: 860px) { .retreats { grid-template-columns: 1fr 1fr; } }
.retreat {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 460px;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 34px 30px;
  color: var(--white); background: var(--olive-deep);
}
.retreat::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(201,169,97,.35), transparent 60%),
    linear-gradient(180deg, rgba(74,76,58,.2), rgba(47,49,39,.95));
}
.retreat--a { background: linear-gradient(160deg, #6F7458, #3C3E2F); }
.retreat--b { background: linear-gradient(160deg, #8A8A6E, #4A4C3A); }
.retreat > * { position: relative; }
.retreat__tag { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 10px; }
.retreat__note { font-size: 14px; line-height: 1.55; opacity: .85; padding: 12px 14px; border-left: 3px solid var(--gold); margin: 14px 0 6px; }
.retreat h3 { font-size: clamp(30px, 3.4vw, 40px); color: var(--white); }
.retreat p { color: rgba(255,255,255,.85); max-width: 480px; }
.retreat__facts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 14px 0 22px; font-size: 15px; }
.retreat__facts b { color: var(--white); font-size: 22px; font-family: var(--font-head); }
.retreat__facts span { display: block; color: rgba(255,255,255,.7); font-size: 13px; }

/* ---------- Клуб / закрытый чат ---------- */
.club { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .club { grid-template-columns: 1.1fr .9fr; gap: 64px; } }
.club__box {
  background: var(--white); border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow);
  text-align: center;
}
.club__price { font-family: var(--font-head); font-size: 56px; color: var(--accent); line-height: 1; }
.club__price small { font-family: var(--font-body); font-size: 15px; color: var(--muted); display: block; margin-top: 6px; }
.club__box ul { text-align: left; margin: 22px 0; padding-left: 1.2em; color: var(--olive-deep); }
.club__box li { margin-bottom: 6px; }

/* ---------- Отзывы (скриншоты — так больше доверия) ---------- */
.reviews__wrap { position: relative; }
.reviews {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding: 8px var(--gutter) 16px; margin: 0 calc(-1 * var(--gutter));
  scrollbar-width: none;
}
.reviews::-webkit-scrollbar { display: none; }
.review {
  flex: 0 0 min(68vw, 300px); scroll-snap-align: center;   /* 68vw — край следующей карточки виден, ясно что листается */
  margin: 0;   /* у <figure> браузерный отступ 40px по бокам — из-за него карточки разъезжались и вылезали */
  border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); background: var(--white);
  cursor: zoom-in; transition: transform .2s;
}
.review:hover { transform: translateY(-4px); }
.review img { aspect-ratio: 9/16; object-fit: cover; width: 100%; }
@media (min-width: 1100px) { .review { flex-basis: calc((100% - 56px) / 5); scroll-snap-align: start; } }
/* стрелки по бокам */
.reviews__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--white); color: var(--olive-deep); box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
}
.reviews__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.reviews__arrow--prev { left: -6px; }
.reviews__arrow--next { right: -6px; }
.reviews__arrow[disabled] { opacity: .35; cursor: default; }
@media (min-width: 1100px) { .reviews__arrow { display: none; } }   /* на десктопе все пять видны — стрелки не нужны */
/* точки-индикатор */
.reviews__dots { display: flex; justify-content: center; gap: 8px; margin-top: 6px; }
.reviews__dots button { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0; background: var(--sage-light); cursor: pointer; transition: all .2s; }
.reviews__dots button.is-active { background: var(--accent); width: 22px; border-radius: 4px; }
@media (min-width: 1100px) { .reviews__dots { display: none; } }
.reviews__swipe { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--muted); margin-top: 10px; }
.reviews__swipe svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
@media (min-width: 1100px) { .reviews__swipe { display: none; } }
.reviews__note { text-align: center; font-size: 13px; color: var(--muted); margin-top: 8px; letter-spacing: .08em; text-transform: uppercase; }
.reviews__hint { text-align: center; font-size: 14px; color: var(--muted); margin-bottom: 8px; }

.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(47,49,39,.92);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 92vh; max-width: 92vw; width: auto; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox__close {
  position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: var(--white); color: var(--olive-ink); font-size: 26px; cursor: pointer; line-height: 1;
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--sage-light); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-family: var(--font-head); font-size: clamp(20px, 2vw, 24px); font-weight: 600; color: var(--olive-ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-body); font-size: 28px; color: var(--accent); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 22px; margin: 0; max-width: 720px; }

/* ---------- Форма ---------- */
.contact { display: grid; gap: 36px; }
@media (min-width: 900px) { .contact { grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; } }
.contact__ways { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.contact__ways a {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); text-decoration: none; color: var(--white); font-weight: 600;
}
.contact__ways a:hover { background: rgba(255,255,255,.18); }
.contact__ways svg { width: 22px; height: 22px; flex: none; fill: currentColor; }
.form { background: var(--white); color: var(--olive-ink); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); }
.form h3 { margin-bottom: 18px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; color: var(--olive-deep); }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--sage-light); border-radius: var(--radius-sm);
  padding: 13px 14px; font: inherit; font-size: 16px; background: var(--cream); color: var(--olive-ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--olive); background: var(--white); }
.field textarea { min-height: 96px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); margin: 6px 0 18px; }
.check input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--accent); }
.check a { color: var(--olive-deep); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }
.form__status { margin-top: 14px; font-size: 15px; min-height: 1.4em; }
.form__status.ok { color: #3E7A47; font-weight: 600; }
.form__status.err { color: var(--accent); font-weight: 600; }

/* ---------- Подвал ---------- */
.footer { background: var(--olive-ink); color: rgba(255,255,255,.72); font-size: 14px; padding: 48px 0 32px; }
.footer__grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.footer .brand__name, .footer .brand__sub { color: var(--white); }
.footer .brand__sub { color: rgba(255,255,255,.6); }
.footer h4 { font-family: var(--font-body); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: rgba(255,255,255,.85); text-decoration: none; display: inline-block; padding: 6px 0; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.disclaimer { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.55); }
.copy { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.45); }

/* ---------- Плавающие мессенджеры (моб.) ---------- */
.float {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; display: flex; flex-direction: column; gap: 10px;
}
.float a {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--white); box-shadow: 0 8px 24px rgba(192,74,46,.35); text-decoration: none;
}
.float a.max { background: var(--olive-deep); box-shadow: 0 8px 24px rgba(47,49,39,.3); }
.float svg { width: 26px; height: 26px; fill: currentColor; }
@media (min-width: 960px) { .float { display: none; } }

/* ---------- Cookie ---------- */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60;
  background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  padding: 16px 18px; display: none; gap: 14px; align-items: center; flex-wrap: wrap; font-size: 14px; color: var(--muted);
}
.cookie.is-visible { display: flex; }
.cookie p { margin: 0; flex: 1 1 260px; }
@media (min-width: 760px) { .cookie { left: auto; max-width: 560px; } }

/* ---------- Появление при скролле ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Пометка черновиков (только для прототипа) ---------- */
/* пометки «черновик» видны только с ?draft в адресе */
body.show-drafts [data-draft] { position: relative; outline: 1.5px dashed rgba(192,74,46,.55); outline-offset: 6px; }
body.show-drafts [data-draft]::after {
  content: "черновик — " attr(data-draft); position: absolute; top: -10px; left: 8px;
  background: var(--accent); color: var(--white); font-size: 11px; font-weight: 700;
  padding: 2px 8px; border-radius: 4px; letter-spacing: .04em; white-space: nowrap; z-index: 2;
}
