/* =========================================================
   Anna Borunova — «Editorial Dark»
   кинематографичный журнал: тёмные плитки + тёплые фото
   ========================================================= */

:root {
  /* Цвета */
  --bg: #161616;
  --tile: #1C1C1B;
  --tile-2: #20201E;
  --text: #F2EEE8;
  --muted: #A8A29A;
  --dim: #6F6A64;
  --line: rgba(242, 238, 232, .16);
  --line-strong: rgba(242, 238, 232, .42);
  --gold: #CBB88F;

  /* Шрифты */
  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --wide: "Montserrat", "Manrope", system-ui, sans-serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Размеры */
  --gap: 3px;
  --pad: 18px;
  --edge: 20px;
  --radius: 26px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (min-width: 900px) { :root { --pad: 28px; --edge: 40px; --radius: 30px; } }

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 300 14px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* плёночное зерно поверх всего */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background: var(--grain); opacity: .09;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
p { text-wrap: pretty; }
::selection { background: var(--text); color: var(--bg); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--text); color: var(--bg); padding: 8px 12px; }

/* ---------- Типографика ---------- */
.display, .display-2, .display-3, .footer__name {
  font-family: var(--serif);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: .06em;
  line-height: .98;
}
.display { font-size: clamp(2.45rem, 1.4rem + 5.2vw, 6.4rem); }
.display-2 { font-size: clamp(2rem, 1.3rem + 3.4vw, 4.4rem); }
.display-3 { font-size: clamp(1.05rem, .7rem + 1.6vw, 2.1rem); line-height: 1.06; letter-spacing: .04em; }
.ln { display: block; }

.punch {
  font: 600 12px/1.3 var(--wide);
  letter-spacing: .2em;
  text-transform: uppercase;
}
.label, .corner, .corner-inline {
  font: 400 11.5px/1.3 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.small { font: 400 14px/1.6 var(--sans); color: var(--text); max-width: 34ch; }
.muted { color: var(--muted); }
.quote { font: italic 300 clamp(1.2rem, 1.05rem + .7vw, 1.7rem)/1.3 var(--serif); }
.spark { color: var(--gold); font-size: 14px; line-height: 1; }

.link {
  text-decoration: none;
  font: 600 12px/1 var(--wide); letter-spacing: .2em; text-transform: uppercase;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding: 14px 0 8px;
  display: inline-block;
  transition: background-size .6s var(--ease-out);
}
@media (hover: hover) { .link:hover { background-size: 0 1px; background-position: 100% 100%; } }
/* ссылка внутри абзаца: без капса и отступов */
.link--inline { display: inline; padding: 0 0 2px; font: inherit; letter-spacing: 0; text-transform: none; color: var(--gold); }

/* ---------- Кнопка: тонкий контур ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 30px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  font: 600 12px/1.2 var(--wide);
  letter-spacing: .2em; text-transform: uppercase; text-decoration: none; text-align: center;
  cursor: pointer;
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease-out), border-color .5s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--text);
  transform: scaleY(0); transform-origin: 50% 100%;
  transition: transform .6s var(--ease-out);
}
@media (hover: hover) {
  .btn:hover { color: var(--bg); border-color: var(--text); }
  .btn:hover::before { transform: scaleY(1); }
}
.btn:active { opacity: .85; }
.btn--full { width: 100%; }

/* ---------- Плитки ---------- */
.grid { display: grid; gap: var(--gap); grid-auto-flow: row dense; }
.grid--gap { margin-top: var(--gap); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--feed { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .grid--feed { grid-template-columns: repeat(3, 1fr); } }

.tile { position: relative; background: var(--tile); overflow: hidden; min-width: 0; }
.grid--feed > .tile { aspect-ratio: 4 / 5; }
.tile--wide { grid-column: span 2; }
.grid--feed > .tile--wide { aspect-ratio: 4 / 5; }
.tile--mwide { grid-column: span 2; }
/* горизонтальный кадр: на телефоне во всю ширину 3:2, на десктопе как --wide */
.grid--feed > .tile--land { grid-column: span 2; aspect-ratio: 3 / 2; }
/* крупная вертикаль: на телефоне во всю ширину, на десктопе квадрат 2×2 плитки (кадр остаётся вертикальным) */
.tile--big { grid-column: span 2; }
@media (min-width: 900px) {
  .grid--feed > .tile--big { grid-row: span 2; aspect-ratio: auto; }
  /* текстовая плитка на две колонки справа — разбивает ритм */
  .grid--feed > .tile--dwide { grid-column: 2 / span 2; aspect-ratio: auto; }
  .grid--feed > .tile--wide, .grid--feed > .tile--land { aspect-ratio: auto; min-height: 24vw; } /* min-height — страховка, если широкий кадр окажется в ряду один */
  .tile--mwide { grid-column: auto; }
}

/* фото во весь блок */
.tile--photo img, .hero__photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(var(--z, 1));
  transform-origin: 50% 50%;
  will-change: transform;
}
.tile__btn { position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: zoom-in; display: block; width: 100%; }
.tile--photo .tile__btn::after {
  content: ""; position: absolute; inset: 0; background: rgba(10, 10, 10, 0);
  transition: background-color .6s var(--ease);
}
@media (hover: hover) { .tile--photo:hover .tile__btn::after { background: rgba(10, 10, 10, .12); } }

/* подписи по углам */
.corner { position: absolute; z-index: 2; pointer-events: none; }
.tl { top: 14px; left: 16px; }
.tr { top: 14px; right: 16px; text-align: right; }
.bl { bottom: 14px; left: 16px; right: 16px; }
.br { bottom: 14px; right: 16px; text-align: right; }
.tile--photo .corner { color: var(--text); }

/* тихая подпись на фото: строчный курсив, почти незаметна */
.cap {
  position: absolute; z-index: 2; pointer-events: none;
  left: 16px; bottom: 12px;
  font: italic 300 13px/1.2 var(--serif);
  letter-spacing: .03em;
  color: rgba(242, 238, 232, .62);
}
.cap--tl { top: 14px; bottom: auto; }
.cap--tr { top: 14px; bottom: auto; left: auto; right: 16px; }
@media (min-width: 900px) {
  .cap { left: 24px; bottom: 18px; font-size: 14px; }
  .cap--tl, .cap--tr { top: 20px; bottom: auto; }
  .cap--tr { left: auto; right: 24px; }
}

/* плитки с текстурой: текст внизу, на тёмном */
.tile--item .tile__body, .tile--step .tile__body { margin-top: 14px; }
/* на телефоне плитка может подрасти, если текст длинный, — пропорция становится минимумом */
@media (max-width: 899px) {
  .grid--why > .tile--item, .grid--steps > .tile--step { aspect-ratio: auto; min-height: calc((100vw - var(--gap)) / 2 * 1.25); }
}
@media (min-width: 900px) { .tl, .tr { top: 20px; } .tl, .bl { left: 24px; } .tr, .br { right: 24px; } .bl, .br { bottom: 20px; } }

/* текстовая плитка: текст прижат к низу, служебное — к углам */
.tile--text { display: flex; flex-direction: column; justify-content: flex-end; padding: 44px var(--pad) var(--pad); }
.tile__body { display: grid; gap: 10px; }
.tile__body .small { font-size: 12.5px; line-height: 1.55; }
@media (min-width: 900px) { .tile--text { padding: 64px var(--pad) var(--pad); } .tile__body { gap: 14px; } .tile__body .small { font-size: 13px; } }

/* длинная тонкая стрелка вниз */
.arrow { position: absolute; right: var(--pad); top: 40px; bottom: var(--pad); width: 9px; }
.arrow::before { content: ""; position: absolute; left: 4px; top: 0; bottom: 0; width: 1px; background: var(--line-strong); }
.arrow::after { content: ""; position: absolute; left: 0; bottom: 0; width: 9px; height: 9px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); transform: translateY(-1px) rotate(45deg); transform-origin: 70% 70%; }
.grid--feed .tile--text .tile__body { padding-right: 22px; }

/* цитата-плитка */
.tile--quote { justify-content: space-between; padding-top: var(--pad); }
.tile--quote .spark { align-self: flex-end; }
.tile--quote .small { color: var(--muted); }

/* тонкий овал поверх фото */
.oval {
  position: absolute; z-index: 2; pointer-events: none;
  left: 16%; top: 8%; width: 72%; height: 60%;
  border: 1px solid rgba(242, 238, 232, .55); border-radius: 50%;
  transform: rotate(-14deg);
}
.oval--b { left: 22%; top: 12%; width: 74%; height: 56%; transform: rotate(10deg); }

/* фото-карточка со скруглением на тёмной плитке */
.tile--card { display: flex; flex-direction: column; padding: 14% 16% 0; }
.tile--card .tile__btn { position: relative; inset: auto; flex: 1; min-height: 0; }
.tile--card img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); transition: transform 1.2s var(--ease-out); }
@media (hover: hover) { .tile--card:hover img { transform: scale(1.02); } }
.tile__under { display: flex; justify-content: space-between; align-items: center; padding: 12px 0 14px; }
@media (min-width: 900px) { .tile__under { padding: 18px 0 22px; } }

/* ---------- HERO ---------- */
.hero { position: relative; }
.hero__photo { position: relative; height: 60svh; min-height: 340px; overflow: hidden; background: var(--tile); }
/* кадрирование: фото шире блока и прижато влево — тёмная стойка перил справа уходит за край */
.hero__photo img { object-position: 50% 8%; }
.hero__photo--crop img { width: 136%; max-width: none; right: auto; object-position: 0% 42%; transform-origin: 30% 50%; }
.hero__spark { position: absolute; right: 18px; bottom: 58px; z-index: 2; }
/* телефон: низ кадра плавно уходит в тёмный фон — первая строка заголовка читается */
.hero__photo::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(22, 22, 22, 0) 0%, rgba(22, 22, 22, .55) 45%, rgba(22, 22, 22, .92) 82%, var(--bg) 100%);
}
@media (min-width: 900px) { .hero__photo::after { display: none; } }
.hero__text { position: relative; z-index: 2; padding: 0 var(--edge) 34px; margin-top: -2.5rem; }
.hero__text .display { font-size: clamp(2.2rem, 1.2rem + 4.4vw, 6.4rem); }
.hero .punch { margin-top: 20px; }
.hero__lead { margin-top: 10px; color: var(--muted); }
/* факты первого экрана: опыт и цена — за 2 секунды */
.hero__facts {
  display: flex; flex-wrap: wrap; gap: 4px 0; margin-top: 12px;
  font: 400 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.hero__facts span + span::before { content: "·"; margin: 0 .7em; color: var(--gold); }
.hero__facts-hot { color: var(--gold); }
.hero__reply { margin-top: 10px; font: italic 300 14px/1.4 var(--serif); color: var(--muted); }
@media (min-width: 900px) { .hero__facts { margin-top: 18px; font-size: 13px; } .hero__reply { margin-top: 14px; font-size: 16px; } }
.hero .btn { margin-top: 24px; width: 100%; }

@media (max-height: 700px) and (max-width: 899px) { .hero__photo { height: 52svh; } }
@media (min-width: 560px) { .hero .btn { width: auto; } }
@media (min-width: 900px) {
  .hero { display: grid; grid-template-columns: 42% 58%; min-height: 100svh; }
  .hero__photo { grid-column: 2; grid-row: 1; height: auto; min-height: 100svh; }
  .hero__text {
    grid-column: 1; grid-row: 1; margin: 0;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 120px var(--edge) 64px;
  }
  /* заголовок пересекает край кадра */
  .hero__text .display { margin-right: -38%; position: relative; }
  .hero .punch { margin-top: 36px; }
  .hero .btn { margin-top: 40px; align-self: flex-start; }
  .hero__spark { right: 32px; bottom: 32px; }
}

/* ---------- ДОВЕРИЕ ---------- */
.trust { margin-top: var(--gap); display: grid; gap: var(--gap); }

/* цифры: номер в углу, крупная цифра, золотая черта, подпись курсивом */
.tile--num { min-height: calc((100vw - 2 * var(--gap)) / 3 * 1.25); justify-content: flex-start; padding: 26px 12px 14px; }
.tile--num .corner { top: 12px; left: 12px; }
.tile--num b {
  font: 300 clamp(2.5rem, 1.6rem + 3.8vw, 5.4rem)/.85 var(--serif);
  letter-spacing: .01em;
}
.tile--num b { white-space: nowrap; }
.num__unit, .num__pre {
  font: 400 11.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.num__unit { margin-left: 6px; }
.num__pre { margin-right: 4px; vertical-align: .9em; }
@media (min-width: 900px) { .num__unit, .num__pre { font-size: 12px; } }
.num__rule { display: block; width: 22px; height: 1px; background: var(--gold); margin: 12px 0 10px; opacity: .8; }
.num__txt { font: italic 300 14.5px/1.3 var(--serif); color: var(--muted); letter-spacing: .01em; min-height: 2.6em; }

/* цены-тизер: «меню» на тёплой текстуре */
.tile--teaser { min-height: 240px; padding: 48px var(--pad) var(--pad); }
.tile--teaser::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(22, 22, 22, .05) 0%, rgba(22, 22, 22, .6) 55%, rgba(22, 22, 22, .88) 100%);
}
.tile--teaser .tile__body { position: relative; z-index: 1; gap: 0; }
.tile--teaser .tile__bg { object-position: 50% 12%; }
.tile--teaser .corner { color: var(--text); }
.teaser__spark { position: absolute; top: 14px; right: 16px; z-index: 2; }
.menu { display: grid; gap: 4px; }
.menu li { display: flex; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.menu__name { font: 600 12px/1.2 var(--wide); letter-spacing: .2em; text-transform: uppercase; }
.menu i { flex: 1; border-bottom: 1px dotted var(--line-strong); transform: translateY(-4px); }
.menu__price { font: 300 clamp(1.9rem, 1.4rem + 2vw, 3rem)/1 var(--serif); letter-spacing: .02em; white-space: nowrap; }
.menu__price small { font: 400 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-right: 6px; vertical-align: .8em; }
.teaser__link { margin-top: 14px; align-self: flex-start; color: var(--gold); }
.menu__note { margin-top: 12px; color: var(--muted); max-width: 40ch; }
@media (hover: hover) { .tile--teaser:hover .tile__bg { transform: scale(1.04); opacity: .75; } }
.cta-row--mid { padding-top: 40px; padding-bottom: 8px; }
.cta-row--mid .display-3 { margin-bottom: 4px; }
@media (min-width: 900px) { .cta-row--mid { grid-template-columns: 1fr auto; padding-top: 64px; } }
@media (min-width: 900px) {
  .trust { grid-template-columns: 1fr 1fr; }
  .tile--num { aspect-ratio: auto; min-height: 300px; padding: 110px var(--pad) var(--pad); }
  .tile--num .corner { top: 20px; left: 24px; }
  .num__rule { width: 32px; margin: 18px 0 14px; }
  .num__txt { font-size: 16px; max-width: 14ch; min-height: 3.9em; }
  .tile--teaser { min-height: 300px; padding: 64px 40px 32px; }
  .teaser__spark { top: 20px; right: 24px; }
  .menu li { padding: 12px 0; }
}

/* ---------- Секции ---------- */
.section { margin-top: var(--gap); }
.sec-head { padding: 56px var(--edge) 28px; background: var(--bg); display: grid; gap: 14px; }
.sec-head .label { color: var(--gold); }
@media (min-width: 900px) {
  .sec-head { padding: 104px var(--edge) 44px; grid-template-columns: 1fr 2fr; align-items: end; }
  .sec-head .label { padding-bottom: 10px; }
}
.more { padding: 22px var(--edge) 0; }

/* ---------- ПОЧЕМУ Я ---------- */
.grid--why { grid-template-columns: repeat(2, 1fr); }
.why__photo { grid-column: span 2; aspect-ratio: 4 / 5; }
.tile--item { aspect-ratio: 4 / 5; }
/* телефон: высота плитки растёт, если текст длиннее (крупный шрифт, узкий экран) */
@media (max-width: 899px) { .tile--item { aspect-ratio: auto; min-height: 62vw; } }
/* узкие телефоны (до 400px): длинные слова в плитках в две колонки не вылезают за край */
.tile__body { min-width: 0; }
@media (max-width: 400px) {
  .tile.tile--item, .tile.tile--step, .tile.tile--quote { padding-left: 14px; padding-right: 14px; }
  .tile--item .punch, .tile--step .punch { font-size: 11px; letter-spacing: .1em; }
  .tile--quote .display-3 { letter-spacing: .02em; }
}
@media (max-width: 340px) {
  .tile--quote .small { font-size: 12.5px; line-height: 1.4; }
  .tile--step .punch { font-size: 10.5px; letter-spacing: .04em; }
  /* «Почему я» в одну колонку: заголовки вроде «Без неловкости.» не переносятся (неразрывный пробел) */
  .grid--why { grid-template-columns: 1fr; }
  .why__photo { grid-column: auto; }
  .tile--item { min-height: 0; padding-top: 52px; }
  .tile--quote .display-3 { font-size: .98rem; }}
@media (min-width: 900px) {
  .grid--why { grid-template-columns: repeat(3, 1fr); }
  .why__photo { grid-column: 1; grid-row: span 2; aspect-ratio: auto; }
  .tile--item { aspect-ratio: 5 / 4; }
}

/* ---------- ЭТАПЫ ---------- */
.grid--steps { grid-template-columns: repeat(2, 1fr); }
.tile--step { aspect-ratio: 4 / 5; }
@media (min-width: 900px) { .grid--steps { grid-template-columns: repeat(4, 1fr); } .tile--step { aspect-ratio: 3 / 4; } }

/* ---------- ЦЕНЫ ---------- */
.grid--prices { grid-template-columns: repeat(2, 1fr); }
.tile--plan { aspect-ratio: 4 / 5; }
/* абстрактная тёплая текстура за ценой; текст внизу остаётся на тёмном */
.tile__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .62;
  transition: transform 1.6s var(--ease-out), opacity 1s var(--ease-out);
}
.tile--plan::after, .tile--item::after, .tile--step::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(22, 22, 22, 0) 30%, rgba(22, 22, 22, .82) 78%);
}
.tile--plan .tile__body, .tile--item .tile__body, .tile--step .tile__body { position: relative; z-index: 1; }
@media (max-width: 899px) {
  .tile__bg { opacity: .8; }
  .tile--plan::after, .tile--item::after, .tile--step::after { background: linear-gradient(to bottom, rgba(22, 22, 22, .1) 0%, rgba(22, 22, 22, .55) 45%, rgba(22, 22, 22, .82) 100%); }
}
.tile--plan .corner, .tile--item .corner, .tile--step .corner { color: var(--text); }
@media (hover: hover) {
  .tile--plan:hover .tile__bg, .tile--item:hover .tile__bg, .tile--step:hover .tile__bg { transform: scale(1.04); opacity: .75; }
}
.price { font: 300 clamp(1.9rem, 1.3rem + 2.6vw, 3.4rem)/1 var(--serif); letter-spacing: .02em; white-space: nowrap; margin: 4px 0 2px; }
.price small { font: 400 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-right: 6px; vertical-align: .9em; }
.facts { font: 400 11.5px/1.5 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tile--plan .punch { font: 400 clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem)/1.05 var(--serif); letter-spacing: .01em; text-transform: none; margin-bottom: 10px; }
.price--insta, .plan__insta .price { color: var(--gold); font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem); margin: 0; }
.plan__insta { display: grid; gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.plan__insta .small { color: var(--text); opacity: .78; line-height: 1.4; }
.plan__for { color: var(--text); opacity: .82; margin: -4px 0 14px; max-width: 30ch; }
@media (min-width: 900px) { .plan__for { min-height: 2.9em; } }
.tile--plan .facts { font-size: 12.5px; color: var(--text); opacity: .88; }
.plan__pick { align-self: flex-start; margin-top: 18px; color: var(--text); }
/* что добавляется к общему списку «входит во все пакеты» */
.plan__plus { margin-top: 10px; font: 300 13px/1.45 var(--sans); color: var(--gold); max-width: 32ch; }
/* плитка-заголовок группы пакетов: «Только вы двое» / «Праздник с гостями» */
.tile--group { justify-content: flex-end; gap: 12px; }
.tile--group .display-3 { max-width: 14ch; }
.tile--group .small { color: var(--muted); }
@media (max-width: 899px) { .tile--group { padding-top: 48px; padding-bottom: 24px; } }
.tile--plan .tile__body { display: flex; flex-direction: column; }
.assure { list-style: none; margin: 0; padding: 22px var(--edge) 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font: 400 12px/1.5 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.assure li::before { content: "✓"; color: var(--gold); margin-right: 8px; }
.tile--incl { grid-column: 1 / -1; padding-top: 52px; gap: 14px; }
.incl { font: 300 clamp(1.1rem, 1rem + .6vw, 1.4rem)/1.35 var(--serif); letter-spacing: .03em; max-width: 46ch; }
.incl .ln + .ln { margin-top: .35em; }
.incl .ln::before { content: "—"; color: var(--gold); margin-right: .5em; }
/* телефон: карточки цен в одну колонку, высота по содержимому */
@media (max-width: 899px) {
  .grid--prices { grid-template-columns: 1fr; }
  .tile--plan { aspect-ratio: auto; min-height: 340px; justify-content: flex-end; }
}
.cta-row { padding: 28px var(--edge) 0; display: grid; gap: 14px; justify-items: start; }
.cta-row .btn { width: 100%; }
@media (min-width: 560px) { .cta-row .btn { width: auto; } }
@media (min-width: 900px) {
  .grid--prices { grid-template-columns: repeat(3, 1fr); }
  .tile--plan { aspect-ratio: 3 / 4; }
  .tile--incl { padding: 64px var(--pad) var(--pad); flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 40px; }
  .cta-row { grid-template-columns: auto 1fr; align-items: center; gap: 32px; padding-top: 40px; }
}

/* ---------- ОТЗЫВЫ ---------- */
.reviews {
  display: grid; grid-auto-flow: column; grid-auto-columns: 82%;
  gap: var(--gap);
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.reviews::-webkit-scrollbar { display: none; }
.tile--review { scroll-snap-align: start; min-height: 300px; justify-content: space-between; gap: 26px; padding: 52px var(--pad) var(--pad); }
.rev__q { margin: 0; font-size: clamp(1.08rem, .98rem + .4vw, 1.3rem); line-height: 1.38; }
.rev__q::before { content: "«"; } .rev__q::after { content: "»"; }
:lang(en) .rev__q::before { content: "“"; } :lang(en) .rev__q::after { content: "”"; }
:lang(et) .rev__q::before { content: "„"; } :lang(et) .rev__q::after { content: "“"; }
.rev__foot { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 16px; padding-top: 18px; border-top: 1px solid var(--line); }
.rev__who { font: 500 11.5px/1.5 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
/* миниатюра скриншота-оригинала: открывает лайтбокс */
.tile__btn.rev__src { position: relative; inset: auto; width: 58px; display: grid; gap: 6px; justify-items: center; cursor: zoom-in; }
.rev__src img { width: 58px; height: 103px; object-fit: cover; object-position: 50% 0; border-radius: 6px; border: 1px solid var(--line-strong); opacity: .85; transition: opacity .4s var(--ease); }
.rev__src span { font: 400 10.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
@media (hover: hover) { .rev__src:hover img { opacity: 1; } }
.rev__note { color: var(--muted); max-width: 52ch; margin-top: 14px; }
.reviews { cursor: grab; }
.reviews.is-drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.reviews__nav { display: flex; align-items: center; gap: 10px; margin: 16px var(--edge) 0; }
.reviews__bar { position: relative; flex: 1; height: 1px; background: var(--line); margin-right: 8px; }
.reviews__arrow {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--line-strong); border-radius: 50%;
  color: var(--text); font: 300 15px/1 var(--sans); cursor: pointer;
  transition: background-color .4s var(--ease), color .4s var(--ease), opacity .4s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.reviews__arrow:disabled { opacity: .3; cursor: default; }
@media (hover: hover) { .reviews__arrow:not(:disabled):hover { background: var(--text); color: var(--bg); } }
.reviews__bar i { position: absolute; left: 0; top: 0; height: 1px; width: 25%; background: var(--text); }
@media (min-width: 900px) {
  /* компьютер: та же карусель, видно три карточки, стрелки остаются */
  .reviews { grid-auto-columns: calc((100% - 2 * var(--gap)) / 3); }
  .tile--review { min-height: 460px; padding: 64px var(--pad) var(--pad); }
  .reviews__nav { margin-top: 20px; }
}

/* ---------- ВОПРОСЫ ---------- */
.faq__list { padding: 0 var(--edge); border-top: 1px solid var(--line); margin: 0 var(--edge); padding: 0; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0;
  font: 300 1.3rem/1.25 var(--serif); letter-spacing: .02em;
  -webkit-tap-highlight-color: transparent;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; flex: none; width: 11px; height: 11px;
  background:
    linear-gradient(var(--gold), var(--gold)) center / 11px 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) center / 1px 11px no-repeat;
  transition: transform .5s var(--ease-out);
}
.qa[open] summary::after { transform: rotate(135deg); }
.qa__a .small { padding-bottom: 22px; color: var(--muted); max-width: 60ch; }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .qa::details-content { height: 0; overflow: clip; transition: height .6s var(--ease-out), content-visibility .6s allow-discrete; }
  .qa[open]::details-content { height: auto; }
}
@media (min-width: 900px) {
  .faq { display: grid; grid-template-columns: 1fr 2fr; align-items: start; }
  .faq .sec-head { grid-template-columns: 1fr; position: sticky; top: 0; }
  .faq__list { margin: 104px var(--edge) 0 0; }
  .qa summary { font-size: 1.6rem; padding: 26px 0; }
}

/* ---------- ЗАЯВКА ---------- */
.grid--contact { grid-template-columns: 1fr; }
.contact__photo { aspect-ratio: 16 / 11; }
.contact__photo img { object-position: 50% 42%; }
.contact__spark { position: absolute; right: 16px; bottom: 14px; z-index: 2; }
.tile--form { justify-content: flex-start; padding: 40px var(--pad) 28px; gap: 14px; }
.form { display: grid; gap: 26px; margin-top: 14px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > label, .field legend { font: 400 11.5px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding: 0; margin-bottom: 4px; }
.opt { text-transform: none; letter-spacing: .02em; color: var(--muted); }
.field input[type="text"], .field input[type="date"], .field textarea {
  width: 100%; min-height: 48px;
  font: 300 17px/1.3 var(--sans); color: var(--text);
  background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  padding: 10px 0;
  -webkit-appearance: none; appearance: none;
  color-scheme: dark;
  transition: border-color .4s var(--ease);
}
.field input[type="date"] { display: block; min-width: 0; }
.field input::-webkit-date-and-time-value { text-align: left; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .8; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--text); }
.field input[aria-invalid="true"] { border-bottom-color: #D9826B; }
.field input[type="date"]:disabled { opacity: .35; }
/* своя дата: кнопка как поле + календарь на языке страницы */
.date { position: relative; }
.date__btn {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  width: 100%; min-height: 48px; padding: 10px 0;
  font: 300 17px/1.3 var(--sans); color: var(--muted); text-align: left;
  background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  cursor: pointer; transition: border-color .4s var(--ease);
}
.date__btn.has-value { color: var(--text); }
.date__btn::after {
  content: ""; flex: none; width: 7px; height: 7px; margin-right: 4px;
  border-right: 1px solid var(--muted); border-bottom: 1px solid var(--muted);
  transform: translateY(-3px) rotate(45deg); transition: transform .3s var(--ease);
}
.date__btn[aria-expanded="true"]::after { transform: translateY(2px) rotate(225deg); }
.date__btn:focus-visible, .date__btn[aria-expanded="true"] { outline: none; border-bottom-color: var(--text); }
.date__btn:disabled { opacity: .35; cursor: default; }
.cal {
  position: absolute; left: 0; top: calc(100% + 8px); z-index: 20;
  width: min(320px, 100%); padding: 12px 12px 14px;
  background: var(--tile-2); border: 1px solid var(--line-strong);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
  animation: cal-in .3s var(--ease-out);
}
@keyframes cal-in { from { opacity: 0; translate: 0 -6px; } }
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.cal__title { display: inline-block; font: italic 300 19px/1 var(--serif); letter-spacing: .02em; }
.cal__title::first-letter { text-transform: uppercase; }
.cal__nav {
  width: 40px; height: 40px; flex: none; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--line); border-radius: 50%;
  color: var(--text); font-size: 14px; cursor: pointer; transition: background-color .3s var(--ease), opacity .3s;
}
.cal__nav:disabled { opacity: .2; cursor: default; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal__wd { padding: 8px 0 6px; text-align: center; font: 400 11px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cal__day {
  aspect-ratio: 1; min-width: 0; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--text); font: 300 14px/1 var(--sans); cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.cal__day.is-today { box-shadow: inset 0 0 0 1px var(--line-strong); }
.cal__day.is-sel { background: var(--gold); color: var(--bg); box-shadow: none; }
.cal__day:disabled { color: var(--dim); opacity: .45; cursor: default; }
.cal__day:focus-visible, .cal__nav:focus-visible { outline: 1px solid var(--gold); outline-offset: 1px; }
@media (hover: hover) {
  .cal__nav:not(:disabled):hover { background: rgba(242, 238, 232, .08); }
  .cal__day:not(:disabled):not(.is-sel):hover { background: rgba(242, 238, 232, .08); }
}
/* свободный рассказ: растёт по мере набора (field-sizing), без рамки-коробки */
.field textarea { min-height: 84px; resize: vertical; field-sizing: content; max-height: 260px; line-height: 1.45; }
/* «пока не знаем» под датой */
.field > .check { font: 300 13px/1.3 var(--sans); text-transform: none; letter-spacing: .01em; margin-bottom: 0; }
.check { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; cursor: pointer; font: 300 13px/1.3 var(--sans); color: var(--muted); justify-self: start; }
.check input { appearance: none; -webkit-appearance: none; width: 16px; height: 16px; margin: 0; border: 1px solid var(--line-strong); border-radius: 3px; display: grid; place-content: center; cursor: pointer; }
.check input::after { content: ""; width: 8px; height: 8px; border-radius: 1px; background: var(--gold); transform: scale(0); transition: transform .25s var(--ease); }
.check input:checked::after { transform: scale(1); }
.check input:focus-visible { outline: 1px solid var(--gold); outline-offset: 2px; }
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.chips--4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 560px) { .chips--4 { grid-template-columns: repeat(4, 1fr); } }
.chip { position: relative; cursor: pointer; min-width: 0; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span {
  display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 6px;
  border: 1px solid var(--line); border-radius: 999px;
  font: 400 13px/1.2 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
@media (hover: hover) { .chip:hover span { border-color: var(--line-strong); } }
.chip input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip input:focus-visible + span { outline: 1px solid var(--gold); outline-offset: 2px; }
.form__note { font-size: 12.5px; color: var(--muted); margin-top: -10px; }
.form__status { font: italic 300 1.15rem/1.4 var(--serif); }
.form__status:empty { display: none; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status.is-ok { color: var(--gold); }
.form__status.is-err { color: #E59A84; }
.form__fallback { display: grid; gap: 10px; padding: 18px; border: 1px solid var(--line-strong); }
.form__fallback[hidden] { display: none; }
.form__fallback .punch { color: var(--gold); }
.form__fallback-text {
  margin: 0; padding: 12px; background: rgba(242, 238, 232, .05);
  font: 300 13px/1.5 var(--sans); color: var(--text); white-space: pre-wrap; user-select: all;
}
.form__fallback-actions { display: flex; gap: 22px; flex-wrap: wrap; }
.form__fallback-copy { background-color: transparent; border: 0; cursor: pointer; color: var(--text); }

/* телефон: после нажатия кнопки сразу видна форма, фото — под ней */
@media (max-width: 899px) { .contact__photo { order: 2; } }
@media (min-width: 900px) {
  .grid--contact { grid-template-columns: 1fr 1fr; }
  .contact__photo { aspect-ratio: auto; min-height: 100%; }
  .tile--form { padding: 72px 56px 48px; }
}

/* ---------- ФУТЕР ---------- */
.footer { margin-top: var(--gap); background: var(--tile); padding: 56px var(--edge) calc(28px + env(safe-area-inset-bottom)); }
.footer__name { font-size: clamp(2.6rem, 1.2rem + 8.6vw, 11.5rem); letter-spacing: .04em; line-height: .9; }
.footer__row { display: grid; gap: 18px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); }
.footer__links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer__links .link { padding: 16px 0 10px; }
.footer__legal { display: flex; gap: 12px; align-items: center; margin-top: 26px; font: 400 11.5px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 900px) { .footer { padding-top: 96px; } .footer__row { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- Липкая кнопка (телефон) ---------- */
/* слева — запись через форму, справа — квадратная кнопка «написать сразу» (Telegram или WhatsApp) */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 80; display: grid; grid-template-columns: 1fr 54px; gap: 6px;
  transform: translateY(160%);
  transition: transform .6s var(--ease-out);
}
.sticky-cta .btn {
  min-height: 54px;
  background: rgba(22, 22, 22, .9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-color: var(--line-strong);
}
.sticky-cta__main { padding: 0 12px; letter-spacing: .16em; }
.sticky-cta__chat { padding: 0; color: var(--gold); }
.form__quick { font-size: 13px; color: var(--muted); margin-top: -6px; }
.form__quick .link--inline { margin: 0 2px; }
.sticky-cta.is-on { transform: translateY(0); }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* ---------- Баннер cookie (GDPR) ---------- */
.consent {
  /* на телефоне внизу и только после первой прокрутки (см. main.js): первый экран с фото остаётся чистым.
     Пока баннер открыт, липкая кнопка спрятана — они не перекрывают друг друга */
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 90;
  display: grid; gap: 10px; padding: 12px 14px;
  background: rgba(28, 28, 27, .97); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong);
  animation: consent-up .5s var(--ease-out) both;
}
.consent[hidden] { display: none; }
.consent__text { font: 300 13px/1.45 var(--sans); color: var(--muted); }
/* обе кнопки одинаковые: отказаться так же легко, как согласиться */
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.consent__btn { min-height: 44px; padding: 0 10px; letter-spacing: .16em; }
@media (min-width: 560px) { .consent { left: auto; right: 16px; max-width: 420px; } }
@media (min-width: 900px) {
  .consent { left: auto; top: auto; right: 24px; bottom: 24px; max-width: 420px; padding: 18px; gap: 14px; animation-name: consent-up; }
  .consent__text { font-size: 13px; }
}
@keyframes consent-in { from { opacity: 0; transform: translateY(-16px); } }
@keyframes consent-up { from { opacity: 0; transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) { .consent { animation: none; } }
.footer__legal button { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.footer__legal a { color: inherit; }
.footer__legal { flex-wrap: wrap; }

/* ---------- Страница «Конфиденциальность» ---------- */
.legal { padding: 8px var(--edge) 72px; max-width: 46rem; }
.legal h2 { font: 600 11px/1.4 var(--wide); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 44px 0 14px; }
.legal p, .legal li { font: 300 15px/1.7 var(--sans); color: var(--text); }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 10px 0 0; padding-left: 1.2em; display: grid; gap: 6px; list-style: "—  "; }
.legal li::marker { color: var(--gold); }
.legal ul + p, .legal table + p { margin-top: 14px; }
.legal b { font-weight: 500; }
.legal td { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.legal td:first-child { white-space: nowrap; }
@media (max-width: 559px) { .legal table { font-size: 12.5px; } .legal th, .legal td { padding-right: 8px; } }
/* самые узкие телефоны: первая колонка тоже переносится, заголовки без широкой разрядки */
@media (max-width: 400px) { .legal td:first-child { white-space: normal; overflow-wrap: anywhere; } .legal th { letter-spacing: .06em; } .legal table { display: block; overflow-x: auto; } }
.legal .muted { color: var(--muted); }
.legal table { width: 100%; border-collapse: collapse; margin-top: 12px; font: 300 13.5px/1.5 var(--sans); }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.legal th { font: 400 10.5px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.legal__top { padding: 18px var(--edge) 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.todo { background: rgba(203, 184, 143, .18); color: var(--gold); padding: 0 4px; }

/* ---------- Шапка: Семья · Свадьба и язык ---------- */
/* едет вместе со страницей: при прокрутке вниз прячется, чуть вверх — возвращается (main.js) */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 70;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: calc(4px + env(safe-area-inset-top)) calc(var(--edge) - 10px) 0;
  transition: transform .5s var(--ease-out);
}
.topbar.is-hidden { transform: translateY(-110%); }
/* лёгкая тень сверху вниз, чтобы кнопки читались и на фото, и на тексте */
.topbar::before {
  content: ""; position: absolute; inset: 0 0 -30px; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(18, 18, 18, .62), rgba(18, 18, 18, 0));
  transition: opacity .4s var(--ease);
}
.topbar.is-scrolled::before { background: linear-gradient(to bottom, rgba(18, 18, 18, .9), rgba(18, 18, 18, .72) 50%, rgba(18, 18, 18, 0)); }
.lb-open .topbar { transform: translateY(-110%); }
@media (prefers-reduced-motion: reduce) { .topbar { transition: none; } }
.topbar a {
  display: inline-block; padding: 14px 10px 12px;
  font: 400 10.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  color: rgba(242, 238, 232, .72); transition: color .4s var(--ease);
}
.topbar__kinds a[aria-current] { color: var(--text); background: linear-gradient(var(--gold), var(--gold)) 10px calc(100% - 6px) / calc(100% - 20px) 1px no-repeat; }
.topbar__kinds, .topbar__langs { display: flex; align-items: center; }
.topbar__kinds span { color: var(--gold); font-size: 12px; }
.topbar__langs a { padding-left: 7px; padding-right: 7px; }
.topbar__langs a[aria-current] { color: var(--gold); }
/* самые узкие телефоны (320px): «Фотосессии · Свадьба» и RU ET EN помещаются в одну строку */
@media (max-width: 340px) {
  .topbar__kinds a { padding-left: 7px; padding-right: 7px; letter-spacing: .14em; background-position: 7px calc(100% - 6px) !important; background-size: calc(100% - 14px) 1px !important; }
  .topbar__langs a { padding-left: 5px; padding-right: 5px; }
}
@media (hover: hover) { .topbar a:hover { color: var(--text); } }
/* подписи на фото первого экрана уходят под шапку */
.hero .cap--tl, .hero .cap--tr { top: 56px; }
@media (min-width: 900px) {
  .topbar { padding-top: 10px; }
  /* на компьютере в начале страницы тень не нужна (слева тёмный фон), появляется при прокрутке */
  .topbar::before { opacity: 0; }
  .topbar.is-scrolled::before { opacity: 1; }
  .hero .cap--tl, .hero .cap--tr { top: 74px; }
}
/* на странице политики языки стоят в строке «На сайт» */
.legal__top .topbar__langs a { color: var(--muted); }
.legal__top .topbar__langs a { display: inline-block; padding: 14px 7px 12px; font: 400 10.5px/1 var(--sans); letter-spacing: .18em; text-decoration: none; }
.legal__top .topbar__langs a[aria-current] { color: var(--gold); }

/* ---------- Мостик между посадочными ---------- */
/* у мостика нет заголовка раздела — отступ сверху такой же, как у соседних разделов */
.bridge { margin-top: 56px; }
@media (min-width: 900px) { .bridge { margin-top: 104px; } }
.bridge__card { display: grid; text-decoration: none; color: inherit; background: var(--tile); }
.bridge__photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.bridge__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--z, 1)); will-change: transform; }
.bridge__text { display: grid; gap: 12px; align-content: end; padding: 26px var(--edge) 30px; }
.bridge__text .label { color: var(--gold); }
.bridge__text .small { color: var(--muted); }
.bridge__link { justify-self: start; margin-top: 4px; }
@media (hover: hover) {
  .bridge__card:hover .bridge__link { background-size: 0 1px; background-position: 100% 100%; }
  .bridge__photo::after { content: ""; position: absolute; inset: 0; background: rgba(10, 10, 10, 0); transition: background-color .6s var(--ease); }
  .bridge__card:hover .bridge__photo::after { background: rgba(10, 10, 10, .12); }
}
@media (min-width: 900px) {
  .bridge__card { grid-template-columns: 58% 42%; min-height: 62vh; }
  .bridge__photo { aspect-ratio: auto; }
  .bridge__text { padding: 64px var(--edge) 56px; gap: 16px; }
}

/* ---------- Свёрнутая лента: на телефоне видно первые плитки и кнопка «Ещё N кадров» (без JS видно всё) ---------- */
.feed__more { display: none; }
@media (max-width: 899px) {
  .js .grid--fold:not(.is-open) > :nth-child(n+6) { display: none; }
  .js .grid--fold7:not(.is-open) > :nth-child(n+8) { display: none; }
  .js .feed__more:not([hidden]) { display: block; margin: 22px var(--edge) 0; background-color: transparent; border: 0; color: var(--gold); cursor: pointer; }
}

/* ---------- Цитата клиента в блоке доверия (полная — в разделе отзывов) ---------- */
.tile--trustq { grid-column: 1 / -1; display: grid; gap: 18px; padding: 30px var(--pad) var(--pad); justify-content: stretch; }
.tile--trustq .spark { position: absolute; top: 18px; right: var(--pad); }
.tile--trustq .rev__q { max-width: 46ch; }
.trustq__foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 20px; }
@media (min-width: 900px) {
  .tile--trustq { grid-template-columns: 1fr auto; align-items: end; gap: 40px; padding: 44px var(--pad) var(--pad); }
  .trustq__foot { flex-direction: column; align-items: flex-end; text-align: right; }
}

/* ---------- Знакомство: «Привет, я Анна» ---------- */
/* телефон: два портрета рядом, под ними знакомство и три пункта; компьютер: портрет · портрет · знакомство, ниже три пункта в ряд */
.about { margin-top: 56px; }
.grid--about { grid-template-columns: 1fr 1fr; }
.about__photo { aspect-ratio: 4 / 5; }
.about__text { grid-column: 1 / -1; justify-content: flex-start; padding-top: 34px; }
.about__text .label { color: var(--gold); margin-bottom: 14px; }
.about__lead { margin: 18px 0 22px; font: italic 300 clamp(1.15rem, 1rem + .6vw, 1.45rem)/1.4 var(--serif); color: var(--text); max-width: 36ch; }
.about__langs { display: flex; gap: 8px; }
.about__langs span { padding: 7px 12px 6px; border: 1px solid var(--line-strong); font: 500 11.5px/1 var(--sans); letter-spacing: .14em; color: var(--text); }
.about__list { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); }
.about__list li { justify-content: flex-start; gap: 10px; padding-top: var(--pad); }
.about__list .corner-inline { color: var(--gold); }
.about__list h3 { margin: 6px 0 0; font: 400 clamp(1.3rem, 1.1rem + .8vw, 1.75rem)/1.15 var(--serif); letter-spacing: .01em; text-wrap: balance; }
.about__list .small { color: var(--muted); max-width: 46ch; }
@media (min-width: 900px) {
  .about { margin-top: 104px; }
  .grid--about { grid-template-columns: repeat(3, 1fr); }
  .about__text { grid-column: auto; justify-content: flex-end; padding: 40px var(--pad) var(--pad); }
  .about__list { grid-template-columns: repeat(3, 1fr); }
  .about__list li { padding: var(--pad); gap: 14px; }
}

/* подсказка в форме: выбрали «Свадьба» на семейной странице */
.form__xhint { margin-top: 10px; font: 300 13px/1.5 var(--sans); color: var(--muted); }

/* ---------- Лайтбокс ---------- */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(14, 14, 14, .98); color: var(--text);
  overscroll-behavior: contain;
}
.lightbox[open] { display: grid; place-items: center; animation: lb-in .5s var(--ease-out); }
.lightbox::backdrop { background: rgba(0, 0, 0, .6); }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox__fig { display: grid; justify-items: center; gap: 14px; padding: 60px 12px 84px; }
.lightbox__img { max-width: min(94vw, 1100px); max-height: calc(100dvh - 170px); width: auto; height: auto; object-fit: contain; transition: opacity .3s var(--ease); }
.lightbox__img.is-loading { opacity: .35; }
.lightbox__cap { font: 400 11.5px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); text-align: center; }
.lightbox__count { color: var(--gold); margin-right: 10px; }
.lightbox__btn {
  position: fixed; z-index: 2; width: 48px; height: 48px; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--line-strong); border-radius: 50%;
  color: var(--text); font-size: 1rem; cursor: pointer; transition: background-color .3s var(--ease);
}
.lightbox__btn:hover { background: rgba(242, 238, 232, .08); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev, .lightbox__next { bottom: calc(18px + env(safe-area-inset-bottom)); }
.lightbox__prev { left: calc(50% - 58px); }
.lightbox__next { right: calc(50% - 58px); }
@media (min-width: 900px) {
  .lightbox__fig { padding: 60px 12px 40px; }
  .lightbox__img { max-height: calc(100dvh - 130px); }
  .lightbox__prev, .lightbox__next { top: 50%; bottom: auto; transform: translateY(-50%); }
  .lightbox__prev { left: 24px; } .lightbox__next { right: 24px; } .lightbox__close { top: 24px; right: 24px; }
}

/* ---------- Движение: медленно и мягко ---------- */
.js .reveal { opacity: 0; translate: 0 18px; transition: opacity 1.2s var(--ease-out), translate 1.4s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; translate: 0 0; }

/* построчное проявление заголовков */
.js .lines .ln { opacity: 0; translate: 0 .35em; transition: opacity 1.2s var(--ease-out), translate 1.4s var(--ease-out); transition-delay: calc(var(--i, 0) * 140ms); }
.js .lines.is-in .ln { opacity: 1; translate: 0 0; }

/* плитки с фото — fade */
.js .unveil { opacity: 0; transition: opacity 1.4s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .unveil.is-in { opacity: 1; }

/* первый экран */
/* первый экран из рекламы: фото и текст видны почти сразу, без долгого проявления */
.js .hero__photo img { animation: hero-in .45s var(--ease-out) both; }
.js .hero .reveal, .js .hero .lines .ln { transition-duration: .5s, .6s; transition-delay: 0ms; }
.js .hero .lines .ln { transition-delay: calc(var(--i, 0) * 60ms); }
@keyframes hero-in { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .lines .ln, .js .unveil { opacity: 1; translate: none; transition: none; }
  .tile--photo img, .hero__photo img { transform: none !important; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
