/* ============================================================
   Открытый съёмочный день — Дарья Малышева
   Светлый фон, крупная жирная типографика (референс: tofuduo.com)
   ============================================================ */

:root {
  --bg: #f2f0eb;
  --ink: #0d0d0d;
  --ink-muted: #6e6a63;
  --hairline: rgba(13, 13, 13, 0.16);
  --ph-bg: #e3e0d8;
  --dark-bg: #0d0d0d;
  --dark-ink: #f2f0eb;
  --dark-muted: #8f8b84;
  --display: "Inter Tight", "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(20px, 5vw, 48px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container--narrow { max-width: 860px; }

.section { padding: clamp(72px, 12vw, 140px) 0; border-top: 1px solid var(--hairline); }

/* ---------- надзаголовки ---------- */
.kicker {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: clamp(32px, 6vw, 64px);
}


/* ---------- плейсхолдеры фото ---------- */
.ph {
  background:
    linear-gradient(160deg, rgba(13,13,13,0.045), rgba(13,13,13,0) 55%),
    var(--ph-bg);
  border-radius: 20px;
  overflow: hidden;
}

.ph img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 1. Обложка: фото на всю ширину, текст поверх ---------- */
.hero { padding: 10px; }

.hero__media {
  position: relative;
  min-height: calc(100svh - 20px);
  border-radius: 22px;
  overflow: hidden;
  /* тёмная подложка, пока не загружено фото */
  background: linear-gradient(160deg, #26231d, #17150f);
}

.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* горизонталь: держим лицо (правее центра кадра) в видимой зоне на телефонах */
  object-position: 75% 30%;
}

/* на средних ширинах уводим фокус ещё правее, чтобы лицо не сталкивалось с текстом */
@media (min-width: 720px) and (max-width: 1120px) {
  .hero__media img { object-position: 80% 30%; }
}

/* затемнение для читаемости текста */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0) 60%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0) 26%);
}

.hero__content {
  position: relative;
  z-index: 1;
  min-height: calc(100svh - 20px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 48px;
  padding: clamp(24px, 4.5vw, 56px);
  color: #f5f3ee;
}

.hero .kicker { margin-bottom: 0; color: #f5f3ee; }

.hero__name {
  font-weight: 900;
  font-family: var(--display);
  font-size: clamp(42px, 9.5vw, 118px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  max-width: 13ch;
  margin-bottom: clamp(20px, 3vw, 30px);
}

/* от планшета: ширина заголовка ограничена, чтобы он не дотягивался до лица на фото */
@media (min-width: 720px) {
  .hero__name { max-width: min(13ch, 58vw); }
}

.hero__lead {
  max-width: 40ch;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(18px, 2.6vw, 24px);
  line-height: 1.35;
  margin-bottom: clamp(28px, 4vw, 44px);
}

/* кнопка на фото — светлая */
.hero .btn-line { background: #f5f3ee; color: var(--ink); }

/* ---------- кнопки ---------- */
.btn-line {
  display: inline-block;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 18px 28px;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (min-width: 720px) {
  .btn-line { font-size: 14px; letter-spacing: 0.04em; padding: 20px 36px; }
}

.btn-line:hover { opacity: 0.85; transform: translateY(-2px); }

/* ---------- 2. О формате ---------- */
.statement-intro {
  font-family: var(--display);
  font-weight: 500;
  /* тот же размер, что у вопросов в FAQ */
  font-size: clamp(17px, 2.8vw, 21px);
  line-height: 1.45;
  max-width: 56ch;
  margin-bottom: clamp(28px, 5vw, 44px);
}

.statement {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(26px, 5.6vw, 52px);
  line-height: 1.18;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

/* ---------- 3. Что входит ---------- */
.included { list-style: none; }

.included li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px;
  padding: 30px 0;
  border-bottom: 1px solid var(--hairline);
}

.included li:first-child { border-top: 1px solid var(--hairline); }

.included__num {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
  padding-top: 8px;
}

.included h3, .team h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(22px, 3.8vw, 32px);
  line-height: 1.22;
  letter-spacing: -0.008em;
  text-transform: uppercase;
}

.included p { color: var(--ink-muted); font-size: 15px; margin-top: 8px; }

/* ---------- 4. Команда ---------- */
.team { display: grid; gap: clamp(32px, 6vw, 48px); }

.team__card { display: flex; gap: 20px; align-items: flex-start; }

.ph--team { flex: 0 0 auto; width: clamp(88px, 22vw, 128px); aspect-ratio: 3 / 4; }

.team__info h3 { font-size: clamp(19px, 3vw, 24px); }

.team__card p { color: var(--ink-muted); font-size: 15px; margin-top: 10px; max-width: 44ch; }

.team__link {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  transition: opacity 0.2s ease;
}

.team__link:hover { opacity: 0.6; }

/* ---------- 5. Галерея (горизонтальная лента) ---------- */
.gallery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(24px, 4vw, 32px);
}

.gallery-head .kicker { margin-bottom: 0; }

.gallery-nav { display: flex; gap: 10px; flex: 0 0 auto; }

.gallery__arrow {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.gallery__arrow:hover { background: var(--ink); color: var(--bg); }

.gallery {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
  margin: 0 calc(var(--pad) * -1);
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.gallery::-webkit-scrollbar { display: none; }

.gallery .ph {
  flex: 0 0 auto;
  width: min(72vw, 340px);
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  scroll-snap-align: start;
}

/* ---------- Отзывы: горизонтальная лента с прокруткой ---------- */
.reviews {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
  margin: 0 calc(var(--pad) * -1);
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.reviews::-webkit-scrollbar { display: none; }

.review {
  flex: 0 0 auto;
  width: min(80vw, 340px);
  scroll-snap-align: start;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: clamp(22px, 4vw, 26px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review p {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.005em;
}

.review__author {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.review__photo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}

.review__author-text { display: flex; flex-direction: column; }

.review__author cite {
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.review__role {
  margin-top: 2px;
  font-size: 12px;
  color: var(--ink-muted);
}

/* ---------- Даты и слоты: текст слева, список слотов справа ---------- */
.slots { display: grid; gap: 8px; }

.slots .statement-intro { margin-bottom: 0; }

.slots__list { list-style: none; }

.slots__list li {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--hairline);
}

.slots__list li:first-child { border-top: 1px solid var(--hairline); }

.slots__num {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-muted);
}

.slots__time {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(22px, 4vw, 28px);
  letter-spacing: -0.015em;
}

/* ---------- 6. Вопросы и ответы ---------- */
.faq__item { border-bottom: 1px solid var(--hairline); }

.faq__item:first-child { border-top: 1px solid var(--hairline); }

.faq__item summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(17px, 2.8vw, 21px);
  line-height: 1.3;
  letter-spacing: -0.005em;
  -webkit-user-select: none;
  user-select: none;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__icon {
  flex: 0 0 auto;
  position: relative;
  top: -2px;
  width: 14px;
  height: 14px;
  align-self: center;
}

/* плюс из двух чёрточек; при открытии вертикальная прячется — остаётся минус */
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.faq__icon::before { left: 0; right: 0; top: 6px; height: 2px; }

.faq__icon::after { top: 0; bottom: 0; left: 6px; width: 2px; }

.faq__item[open] .faq__icon::after { transform: scaleY(0); }

.faq__item p {
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 60ch;
  padding-bottom: 26px;
}

/* свёрнутая часть списка: первые 5 вопросов видны, остальные — по кнопке */
.faq__hidden { display: none; }

.faq--expanded .faq__hidden { display: block; }

.faq__toggle {
  display: inline-block;
  margin-top: 28px;
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 16px 28px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.faq__toggle:hover { background: var(--ink); color: var(--bg); }

/* ---------- Стоимость: два формата участия ---------- */
.section--price { padding: clamp(56px, 9vw, 96px) 0; }

.price { text-align: center; }

.price .kicker { margin-bottom: clamp(20px, 3vw, 28px); }

.price__shared {
  max-width: 46ch;
  margin: 0 auto clamp(36px, 6vw, 52px);
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.55;
}

.price__options {
  display: flex;
  flex-direction: column;
}

.price__option {
  padding: clamp(28px, 5vw, 36px) 0;
  border-top: 1px solid var(--hairline);
}

.price__options .price__option:last-child { border-bottom: 1px solid var(--hairline); }

.price__option-label {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 10px;
}

.price__value {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(36px, 7vw, 52px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.price__currency { font-weight: 600; }

.price__note {
  margin-top: 10px;
  max-width: 36ch;
  margin-left: auto;
  margin-right: auto;
  color: var(--ink-muted);
  font-size: 15px;
}

.price__cta { margin-top: clamp(32px, 5vw, 44px); }

@media (min-width: 720px) {
  .price__options {
    flex-direction: row;
    align-items: stretch;
  }

  .price__option {
    flex: 1;
    border-top: none;
    padding: 0 clamp(24px, 4vw, 48px);
  }

  .price__option:first-child { padding-left: 0; }

  .price__option:last-child { padding-right: 0; }

  .price__options .price__option:last-child { border-bottom: none; }

  .price__option + .price__option { border-left: 1px solid var(--hairline); }
}

/* ---------- 7. Форма (инвертированный блок) ---------- */
.section--form {
  background: var(--dark-bg);
  color: var(--dark-ink);
  border-top: none;
}

.availability {
  display: inline-block;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--dark-ink);
  border: 1px solid rgba(242, 240, 235, 0.35);
  border-radius: 999px;
  padding: 9px 18px;
  margin-bottom: clamp(20px, 3vw, 28px);
}

.form-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(36px, 8.5vw, 88px);
  line-height: 1.08;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin-bottom: clamp(44px, 7vw, 64px);
}

.form-sub { color: var(--dark-muted); font-size: 17px; margin: 22px 0 clamp(44px, 7vw, 64px); }

.field { margin-bottom: 34px; }

.field label {
  display: block;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark-muted);
  margin-bottom: 10px;
}

.field input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(242, 240, 235, 0.25);
  color: var(--dark-ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 19px;
  padding: 8px 0 14px;
  border-radius: 0;
  transition: border-color 0.25s ease;
}

.field input:focus { outline: none; border-bottom-color: var(--dark-ink); }

.field select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(242, 240, 235, 0.25);
  color: var(--dark-ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 19px;
  padding: 8px 28px 14px 0;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.25s ease;
  background-image: linear-gradient(45deg, transparent 50%, var(--dark-muted) 50%),
    linear-gradient(135deg, var(--dark-muted) 50%, transparent 50%);
  background-position: right 6px top 55%, right 0 top 55%;
  background-size: 8px 8px, 8px 8px;
  background-repeat: no-repeat;
}

.field select:focus { outline: none; border-bottom-color: var(--dark-ink); }

.field select option { background: var(--dark-bg); color: var(--dark-ink); }

.btn-submit {
  display: inline-block;
  background: var(--dark-ink);
  color: var(--dark-bg);
  border: none;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 20px 44px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-submit:hover { opacity: 0.85; transform: translateY(-2px); }

.btn-submit:disabled { opacity: 0.5; cursor: default; transform: none; }

.form-note { margin-top: 26px; font-size: 15px; line-height: 1.5; color: var(--dark-muted); min-height: 1.5em; }

.form-note a {
  color: var(--dark-ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* ---------- Лайтбокс галереи ---------- */
.gallery .ph { cursor: zoom-in; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(13, 13, 13, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] { display: none; }

.lightbox img {
  max-width: calc(100vw - 32px);
  max-height: calc(100svh - 120px);
  border-radius: 12px;
  -webkit-user-select: none;
  user-select: none;
}

.lightbox__btn {
  position: fixed;
  z-index: 101;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(242, 240, 235, 0.4);
  background: rgba(13, 13, 13, 0.4);
  color: #f2f0eb;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox__btn:hover { background: rgba(242, 240, 235, 0.18); }

.lightbox__close { top: 16px; right: 16px; }

.lightbox__prev { left: 12px; bottom: 24px; }

.lightbox__next { right: 12px; bottom: 24px; }

@media (min-width: 720px) {
  .lightbox__prev { left: 24px; top: 50%; bottom: auto; transform: translateY(-50%); }

  .lightbox__next { right: 24px; top: 50%; bottom: auto; transform: translateY(-50%); }

  .lightbox__close { top: 24px; right: 24px; }
}

/* ---------- 8. Футер ---------- */
.footer { padding: 48px 0; }

.footer__inner { display: flex; align-items: center; gap: 18px; }

.footer__ig {
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.footer__ig:hover { background: var(--ink); color: var(--bg); }

.footer p {
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 500;
}

/* ============================================================
   Планшет и десктоп
   ============================================================ */
@media (min-width: 720px) {
  .hero { padding: 14px; }

  .hero__media, .hero__content { min-height: calc(100svh - 28px); }

  .team { grid-template-columns: 1fr 1fr; gap: clamp(48px, 6vw, 80px); }

  .slots { grid-template-columns: 1fr 1fr; column-gap: clamp(48px, 6vw, 80px); align-items: start; }

  .gallery { gap: 18px; }

  .gallery .ph { width: min(30vw, 320px); }

  .review { width: min(32vw, 360px); }
}
