/* Table for Eight — стиль по Canva «VIENNA»: Montserrat капсом, рукописная «8», фуксия, оранжевый, леопард. */
:root {
  --pink: #E5177B;
  --pink-deep: #B8105F;
  --orange: #FF5A0F;
  --raspberry: #B8325A;
  --cream: #FBF6F1;
  --paper: #F3EAE1;
  --ink: #121212;
  --ink-soft: #3a3532;
  --muted: #7a706a;
  --white: #fff;
  --line: rgba(18, 18, 18, .12);
  --sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --script: 'Herr Von Muellerhoff', 'Snell Roundhand', cursive;
  --pad: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --radius: 4px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ——— типографика ——— */
.caps { font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; line-height: .95; text-wrap: balance; }
.h-xl { font-size: clamp(40px, 8.4vw, 124px); }
.h-l { font-size: clamp(34px, 6vw, 84px); }
.h-m { font-size: clamp(26px, 3.6vw, 48px); }
.script { font-family: var(--script); font-weight: 400; text-transform: none; letter-spacing: 0; line-height: 1; }
.accent { color: var(--pink); }
.lede { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6; max-width: 46ch; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.nowrap { white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
section { position: relative; }
.sec { padding: clamp(64px, 9vw, 128px) 0; }

/* ——— кнопки ——— */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 52px; padding: 0 28px; border-radius: 999px;
  font-weight: 800; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border: 2px solid transparent;
  transition: transform .2s ease, background-color .2s ease, color .2s ease; cursor: pointer; }
.btn:active { transform: scale(.97); }
.btn--pink { background: var(--pink); color: var(--white); }
.btn--pink:hover { background: var(--pink-deep); }
.btn--white { background: var(--white); color: var(--ink); }
.btn--white:hover { background: var(--ink); color: var(--white); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--pink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ——— полоса сверху ——— */
.topbar { background: var(--pink); color: var(--white); text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .04em; padding: 9px var(--pad); }
.topbar a { text-decoration: none; }
.topbar a span { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 480px) { .topbar .tb-more { display: none; } }

/* ——— шапка ——— */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(251, 246, 241, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.hdr__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); line-height: 1; }
.logo__ball { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.logo__word { font-weight: 800; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav a { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.nav a:not(.btn):hover { color: var(--pink); }
.nav .btn { min-height: 40px; padding: 0 18px; font-size: 12px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .25s ease, opacity .2s ease; }
@media (max-width: 860px) {
  .burger { display: block; }
  .nav { position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--cream); padding: 8px var(--pad) 24px; border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav .btn { margin-top: 16px; min-height: 52px; }
  .hdr[data-open] .nav { opacity: 1; visibility: visible; transform: none; }
  .hdr[data-open] .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .hdr[data-open] .burger span:nth-child(2) { opacity: 0; }
  .hdr[data-open] .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ——— герой главной ——— */
.hero { position: relative; min-height: min(92svh, 900px); display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: var(--ink); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
@media (max-width: 700px) { .hero__img { object-position: center 40%; } }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.62) 100%); }
@media (min-width: 701px) { .hero::after { background: linear-gradient(90deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,0) 75%), linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.5) 100%); } }
.hero__in { position: relative; z-index: 1; padding-bottom: clamp(40px, 7vw, 96px); padding-top: 120px; }
.hero__script { display: flex; align-items: flex-end; gap: 4px; margin-bottom: 18px; }
.hero__script .script:first-child { font-size: clamp(40px, 5vw, 64px); transform: translateY(-.15em); }
.hero__script .script:last-child { font-size: clamp(84px, 10vw, 132px); line-height: .7; color: var(--pink); }
.hero h1 { max-width: 13ch; }
.hero .lede { margin: 22px 0 30px; color: rgba(255,255,255,.9); }

/* ——— манифест ——— */
.manifesto { background: var(--ink); color: var(--white); }
.manifesto__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.manifesto blockquote { margin: 0; }
.manifesto p.body { margin-top: 28px; color: rgba(255,255,255,.82); max-width: 52ch; font-size: 17px; }
.manifesto p.body b { color: var(--white); }
.booth { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; background: #e9e2da; padding: 12px; transform: rotate(2deg); max-width: 440px; justify-self: end; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.booth img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(48px, 7vw, 88px); border-top: 1px solid rgba(255,255,255,.18); padding-top: 32px; }
.fact__n { font-weight: 900; font-size: clamp(40px, 5vw, 72px); line-height: 1; color: var(--pink); }
.fact__n.script { font-weight: 400; font-size: clamp(64px, 8vw, 110px); line-height: .8; }
.fact__t { margin-top: 10px; font-size: 14px; color: rgba(255,255,255,.75); max-width: 24ch; }
@media (max-width: 860px) { .manifesto__grid { grid-template-columns: 1fr; } .booth { justify-self: center; } .facts { grid-template-columns: 1fr; gap: 20px; } }

/* ——— сетка поездок ——— */
.band { background: var(--orange); color: var(--white); padding: clamp(36px, 5vw, 64px) 0; text-align: center; }
.band p { margin-top: 10px; font-size: 15px; font-weight: 500; }
.trips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
@media (max-width: 1020px) { .trips-grid { grid-template-columns: repeat(2, 1fr); } }
/* телефон: лента со свайпом, следующая карточка выглядывает справа */
.swipe-hint { display: none; }
@media (max-width: 600px) {
  .trips-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); margin-inline: calc(var(--pad) * -1); padding: 4px var(--pad) 14px; scrollbar-width: none; }
  .trips-grid::-webkit-scrollbar { display: none; }
  .trips-grid .card { scroll-snap-align: start; }
  .trips-grid .card:hover { transform: none; box-shadow: none; }
  .swipe-hint { display: block; margin: 0 0 12px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--pink); text-align: right; }
}
.card { position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--white); border-radius: var(--radius); overflow: hidden;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(18,18,18,.14); }
.card__ph { position: relative; aspect-ratio: 4/5; background: var(--raspberry); overflow: hidden; }
.card__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card:hover .card__ph img { transform: scale(1.04); }
.card__ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.45)); }
.card__city { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 1; text-align: center; color: var(--white); font-size: clamp(54px, 6vw, 76px); text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.card__badge { position: absolute; top: 14px; left: 14px; z-index: 1; }
.card__body { padding: 18px 20px 22px; display: grid; gap: 6px; }
.card__meta { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card__title { font-weight: 800; font-size: 19px; line-height: 1.2; }
.card__price { margin-top: 6px; font-size: 15px; }
.card__price b { font-weight: 900; font-size: 20px; }
.card__price s { color: var(--muted); margin-left: 6px; }
.card__soon { margin-top: 6px; font-weight: 800; color: var(--pink); }

.badge { display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--white); color: var(--ink); }
.badge--last { background: var(--pink); color: var(--white); }
.badge--open { background: var(--orange); color: var(--white); }
.badge--soon { background: rgba(255,255,255,.92); color: var(--ink); }

/* ——— ранние цены ——— */
.early { background: var(--cream); }
.early__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.early__list { display: grid; border-top: 2px solid var(--ink); }
.early__row { display: grid; grid-template-columns: 1.1fr 1.4fr auto auto; align-items: center; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: background-color .2s ease; }
.early__row:hover { background: var(--paper); }
.early__city { font-size: clamp(48px, 5vw, 68px); color: var(--pink); }
.early__what b { display: block; font-weight: 800; font-size: 18px; }
.early__what span { font-size: 14px; color: var(--muted); }
.early__price { text-align: right; }
.early__price b { font-weight: 900; font-size: clamp(26px, 3vw, 36px); }
.early__price s { display: block; color: var(--muted); font-size: 15px; }
.early__price small { display: block; font-size: 12px; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: .08em; }
.early__go { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; font-size: 20px; transition: background-color .2s ease, color .2s ease; }
.early__row:hover .early__go { background: var(--ink); color: var(--white); }
.early__note { margin-top: 20px; font-size: 14px; color: var(--muted); }
@media (max-width: 760px) {
  .early__row { grid-template-columns: 1fr auto; gap: 8px 16px; }
  .early__what { grid-column: 1 / -1; order: 3; }
  .early__go { display: none; }
}

/* ——— фото-секция «виїзд з києва» ——— */
.photo-sec { position: relative; color: var(--white); background: var(--ink); overflow: hidden; }
.photo-sec > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.photo-sec .body, .photo-sec .sub { text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.photo-sec .wrap { position: relative; z-index: 1; text-align: center; padding-top: clamp(96px, 14vw, 180px); padding-bottom: clamp(96px, 14vw, 180px); }
.photo-sec .sub { margin-top: 12px; font-weight: 800; font-size: clamp(16px, 1.6vw, 20px); }
.photo-sec .body { margin: 28px auto 0; max-width: 46ch; font-size: 17px; color: rgba(255,255,255,.88); }

/* ——— что в цене / как забронировать ——— */
.how__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
@media (max-width: 860px) { .how__grid { grid-template-columns: 1fr; } }
.list8 { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 4px; }
.list8 li { position: relative; padding: 12px 0 12px 26px; border-bottom: 1px solid var(--line); font-size: 16px; }
.list8 li::before { content: ''; position: absolute; left: 4px; top: 21px; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }
.list8--x li::before { content: '×'; width: auto; height: auto; border-radius: 0; background: none; font-size: 20px; line-height: 1; top: 12px; left: 2px; color: var(--muted); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start; background: var(--white); padding: 20px; border-radius: var(--radius); }
.steps li::before { content: counter(s); font-weight: 900; font-size: 44px; line-height: 1; color: var(--orange); }
.steps b { display: block; font-weight: 800; font-size: 18px; margin-bottom: 4px; }
.steps span { font-size: 15px; color: var(--ink-soft); }

/* ——— кураторки ——— */
.curators { background: var(--pink); color: var(--white); overflow: hidden; }
.curators__head { text-align: center; margin-bottom: clamp(36px, 5vw, 64px); }
.curators__head p { margin-top: 12px; font-size: 17px; font-weight: 500; }
.cur-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 40px); }
@media (max-width: 860px) { .cur-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }
.cur { position: relative; }
.cur__ph { position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: var(--radius); background: var(--pink-deep); }
.cur__ph img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.cur__name { position: absolute; left: 0; right: 0; top: -18px; z-index: 1; text-align: center; font-size: clamp(64px, 7vw, 92px); text-shadow: 0 2px 16px rgba(0,0,0,.2); }
.cur dl { margin: 18px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; font-size: 14px; }
.cur dt { opacity: .8; }
.cur dd { margin: 0; font-weight: 800; }

/* ——— форма «Стань кураторкою» ——— */
.join { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 72px); align-items: start; margin-top: clamp(56px, 8vw, 104px);
  background: var(--white); color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); }
@media (max-width: 860px) { .join { grid-template-columns: 1fr; } }
.join__text { display: grid; gap: 14px; }
.join__text .eyebrow { color: var(--pink); }
.join__text p:last-child { color: var(--ink-soft); max-width: 44ch; }
.lead-form { display: grid; gap: 16px; }
.lead-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .lead-form__grid { grid-template-columns: 1fr; } }
.fld { display: grid; gap: 6px; min-width: 0; }
.fld--wide { grid-column: 1 / -1; }
.fld span { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.fld input, .fld textarea { width: 100%; font: 500 16px/1.4 var(--sans); color: var(--ink); background: var(--cream); border: 1.5px solid transparent; border-radius: var(--radius);
  padding: 13px 14px; transition: border-color .2s ease, background-color .2s ease; }
.fld textarea { resize: vertical; min-height: 92px; }
.fld input::placeholder, .fld textarea::placeholder { color: #a39a93; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--pink); background: var(--white); }
.fld[data-invalid] input, .fld[data-invalid] textarea { border-color: var(--pink); background: #fdeef5; }
.hp-field { display: none; }
.intents { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--ink); font-weight: 800; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.chip input:checked + span { background: var(--pink); border-color: var(--pink); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--pink); outline-offset: 3px; }
.lead-form--trip { background: var(--white); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.btn--line { border-color: rgba(255,255,255,.5); color: var(--white); background: transparent; }
.btn--line:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-soft); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 0; accent-color: var(--pink); flex: none; }
.consent[data-invalid] { color: var(--pink); }
.lead-form .btn { justify-self: start; }
.lead-form .btn[disabled] { opacity: .6; pointer-events: none; }
.lead-form__msg { font-size: 15px; font-weight: 700; min-height: 1.4em; }
.lead-form[data-state="error"] .lead-form__msg { color: var(--pink); }
.lead-form[data-state="done"] .lead-form__grid, .lead-form[data-state="done"] .consent, .lead-form[data-state="done"] .btn { display: none; }
.lead-form[data-state="done"] .lead-form__msg { font-size: clamp(20px, 2vw, 26px); font-weight: 900; text-transform: uppercase; line-height: 1.15; }

/* ——— новости ——— */
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
@media (max-width: 1020px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .news-grid { grid-template-columns: 1fr; } }
.news { display: flex; flex-direction: column; gap: 12px; background: var(--white); border-radius: var(--radius); padding: 24px; text-decoration: none; color: var(--ink); border-top: 6px solid var(--orange); transition: transform .25s ease; }
.news:nth-child(2n) { border-top-color: var(--pink); }
a.news:hover { transform: translateY(-3px); }
.news__tag { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.news__t { font-weight: 900; font-size: 20px; line-height: 1.15; text-transform: uppercase; }
.news__x { font-size: 15px; color: var(--ink-soft); }
.news__more { margin-top: auto; font-size: 13px; font-weight: 800; color: var(--pink); }

/* ——— вопросы ——— */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-weight: 800; font-size: clamp(17px, 1.6vw, 20px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 28px; font-weight: 400; color: var(--pink); transition: transform .25s ease; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; max-width: 64ch; color: var(--ink-soft); }

/* ——— финал (леопард) ——— */
.final { position: relative; color: var(--white); text-align: center; background: #6b4a24; overflow: hidden; }
.final > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.final::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.42); }
.final .wrap { position: relative; z-index: 1; padding-top: clamp(80px, 12vw, 160px); padding-bottom: clamp(80px, 12vw, 160px); display: grid; justify-items: center; gap: 20px; }
.final__logo { display: flex; align-items: flex-end; gap: 6px; }
.final__logo .script:first-child { font-size: clamp(48px, 6vw, 84px); transform: translateY(-.2em); }
.final__logo .script:last-child { font-size: clamp(120px, 15vw, 200px); line-height: .7; }
.final .lede { margin: 0 auto 8px; }

/* ——— подвал ——— */
.ftr { background: var(--ink); color: rgba(255,255,255,.75); padding: 48px 0; font-size: 14px; }
.ftr__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.ftr a { color: var(--white); text-decoration: none; font-weight: 700; }
.ftr a:hover { color: var(--pink); }
.ftr .logo { color: var(--white); }
@media (max-width: 380px) { .hdr .logo__word { font-size: 11px; letter-spacing: .1em; } }

/* ——— страница поездки ——— */
.t-hero { padding: clamp(40px, 6vw, 72px) 0 0; }
.t-back { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--muted); margin-bottom: 18px; }
.t-back:hover { color: var(--pink); }
.knock { font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; line-height: .86; font-size: min(calc(104vw / var(--len)), 260px);
  background-size: cover; background-position: center 40%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
@supports not ((background-clip: text) or (-webkit-background-clip: text)) { .knock { color: var(--ink); -webkit-text-fill-color: var(--ink); } }
.t-sub { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; margin-top: 18px; font-weight: 700; font-size: 15px; }
.t-sub .dot::before { content: '·'; margin-right: 22px; color: var(--pink); }
.t-photo { margin-top: clamp(28px, 4vw, 48px); aspect-ratio: 21/9; overflow: hidden; background: var(--raspberry); }
.t-photo { position: relative; margin-left: 0; margin-right: 0; margin-bottom: 0; }
.t-photo img { width: 100%; height: 100%; object-fit: cover; }
.t-photo figcaption { position: absolute; right: 10px; bottom: 8px; font-size: 11px; color: rgba(255,255,255,.85); text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.t-photo figcaption a { text-decoration: none; }
@media (max-width: 700px) { .t-photo { aspect-ratio: 4/3; } }
.t-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 72px); align-items: start; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(64px, 8vw, 112px); }
@media (max-width: 960px) { .t-layout { grid-template-columns: 1fr; } .t-layout > .price-card { order: -1; position: static; } }
.t-block + .t-block { margin-top: clamp(44px, 6vw, 72px); }
.t-h { font-weight: 900; text-transform: uppercase; font-size: clamp(24px, 2.6vw, 34px); line-height: 1; letter-spacing: -.01em; margin-bottom: 18px; }
.t-lead { font-size: clamp(18px, 1.8vw, 22px); line-height: 1.5; font-weight: 500; }
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
@media (max-width: 700px) { .why { grid-template-columns: 1fr; } .why li { min-height: 0; padding: 16px 18px; } }
.why li { list-style: none; background: var(--pink); color: var(--white); padding: 20px; border-radius: var(--radius); font-weight: 800; font-size: 16px; line-height: 1.3; min-height: 120px; display: flex; align-items: flex-end; }
.why li:nth-child(2) { background: var(--orange); }
.why li:nth-child(3) { background: var(--ink); }
.why { padding: 0; }
.inc { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 700px) { .inc { grid-template-columns: 1fr; } }
.inc h3 { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.inc .list8 { margin-top: 10px; }
.prog { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--pink); }
.prog li { position: relative; padding: 0 0 28px 28px; }
.prog li::before { content: ''; position: absolute; left: -8px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--cream); border: 3px solid var(--pink); }
.prog__d { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.prog__t { font-weight: 900; font-size: 19px; text-transform: uppercase; margin: 2px 0 6px; }
.prog__x { color: var(--ink-soft); }
.prog-note { font-size: 14px; color: var(--muted); margin-top: 4px; }
.facts3 { display: grid; gap: 12px; }
.fact-card { background: var(--white); border-radius: var(--radius); padding: 22px 24px; }
.fact-card h3 { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: 6px; }
.fact-card b { display: block; font-weight: 800; font-size: 18px; margin-bottom: 4px; }
.fact-card p { color: var(--ink-soft); font-size: 15px; }
.t-cur { display: flex; flex-wrap: wrap; gap: 16px; }
.t-cur__i { display: flex; align-items: center; gap: 14px; background: var(--white); border-radius: 999px; padding: 6px 22px 6px 6px; text-decoration: none; }
.t-cur__i img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; }
.t-cur__i .script { font-size: 44px; color: var(--pink); }

.price-card { position: sticky; top: 88px; background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; }
.price-card .badge { justify-self: start; }
.pc__label { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.pc__big { font-weight: 900; font-size: 48px; line-height: 1; }
.pc__old { color: rgba(255,255,255,.55); font-size: 17px; }
.pc__old s { margin-right: 8px; }
.pc__soon { font-weight: 900; font-size: 34px; line-height: 1.05; text-transform: uppercase; color: var(--pink); }
.pc__line { border-top: 1px solid rgba(255,255,255,.16); padding-top: 14px; font-size: 14px; color: rgba(255,255,255,.8); display: grid; gap: 6px; }
.pc__line b { color: var(--white); }
.price-card .btn { width: 100%; }
.share { background: none; border: 0; color: rgba(255,255,255,.8); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; padding: 8px; text-decoration: underline; text-underline-offset: 4px; }
.share:hover { color: var(--white); }

.more { background: var(--paper); }
.more__row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 300px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px var(--pad) 20px; margin: 28px calc(var(--pad) * -1) 0; scrollbar-width: thin; }
.more__row .card { scroll-snap-align: start; }
.more__row .card__ph { aspect-ratio: 1; }

/* ——— «Ми вже були» на главной ——— */
.been__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }

/* ——— страница «Попередні подорожі» ——— */
.past-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(24px, 4vw, 40px); }
.past-hero .eyebrow { color: var(--pink); margin-bottom: 14px; }
.past-hero .lede { margin-top: 20px; }
.album { padding: clamp(40px, 6vw, 80px) 0; border-top: 1px solid var(--line); }
.album__head { display: grid; gap: 8px; margin-bottom: clamp(24px, 4vw, 40px); }
.album__city { font-size: clamp(56px, 7vw, 96px); color: var(--pink); line-height: .8; }
.album__meta { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.album__grid { columns: 4 200px; column-gap: 12px; }
@media (max-width: 600px) { .album__grid { columns: 2; column-gap: 8px; } .album__grid .album__ph { margin-bottom: 8px; } }
.album__ph { display: block; break-inside: avoid; margin-bottom: 12px; border-radius: var(--radius); overflow: hidden; background: var(--paper); cursor: zoom-in; }
.album__ph img { width: 100%; height: auto; transition: transform .5s cubic-bezier(.2,.7,.2,1), filter .3s ease; }
.album__ph:hover img { transform: scale(1.03); }
.album__ask { margin-top: 24px; font-size: 15px; color: var(--ink-soft); }
.album__ask a { color: var(--pink); font-weight: 800; }
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 32px; }
.review { margin: 0; background: var(--white); border-radius: var(--radius); padding: 24px; border-top: 6px solid var(--pink); }
.review p { font-size: 16px; }
.review cite { display: block; margin-top: 12px; font-style: normal; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.final--plain { background: var(--ink); }
.final--plain::after { display: none; }

/* ——— полка с книгами-альбомами ——— */
.shelf-sec { padding: clamp(24px, 4vw, 48px) 0 clamp(72px, 9vw, 120px); }
.shelf { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 320px)); justify-content: center; gap: clamp(48px, 6vw, 80px) clamp(32px, 6vw, 96px); }
.shelf__item { display: grid; justify-items: center; text-align: center; gap: 6px; }
.shelf__label { margin-top: 26px; font-weight: 900; font-size: 20px; text-transform: uppercase; }
.shelf__meta { font-size: 13px; color: var(--muted); max-width: 30ch; }
.shelf__btn { margin-top: 12px; }
.book { --d: 14px; display: block; width: min(100%, 280px); aspect-ratio: 5 / 7; border: 0; padding: 0; background: none; cursor: pointer; perspective: 1400px; }
.book__obj { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateY(24deg); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.book:hover .book__obj, .book:focus-visible .book__obj { transform: rotateY(8deg) translateY(-6px); }
.book__cover { position: absolute; inset: 0; transform: translateZ(var(--d)); background: var(--bg); color: var(--cream); border-radius: 2px 6px 6px 2px;
  display: grid; grid-template-rows: auto auto 1fr auto; padding: 20px 18px 16px 22px; text-align: left; overflow: hidden;
  box-shadow: 16px 16px 30px rgba(18,18,18,.26), inset 6px 0 10px rgba(0,0,0,.18), inset -1px 0 0 rgba(255,255,255,.12); }
.book__cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(255,255,255,.14), rgba(255,255,255,0) 35%, rgba(0,0,0,.06)); pointer-events: none; }
.book__spine { position: absolute; top: 0; bottom: 0; left: 0; width: calc(var(--d) * 2); transform-origin: left center; transform: translateZ(var(--d)) rotateY(90deg); background: var(--spine);
  display: flex; align-items: center; justify-content: center; border-radius: 2px 0 0 2px; }
.book__spine span { writing-mode: vertical-rl; transform: rotate(180deg); font-weight: 800; font-size: 9px; letter-spacing: .22em; color: var(--cream); white-space: nowrap; }
.book__top { font-weight: 800; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; opacity: .85; }
.book__title { display: grid; margin-top: 14px; font-weight: 900; text-transform: uppercase; line-height: .9; letter-spacing: -.01em; font-size: clamp(40px, 4.2vw, 54px); }
.book__accent { color: var(--accent); }
.book__emblem { align-self: center; justify-self: center; width: 58%; }
.book__emblem svg { width: 100%; height: auto; display: block; }
.book__year { font-weight: 800; font-size: 12px; letter-spacing: .2em; justify-self: end; }
@media (prefers-reduced-motion: reduce) { .book__obj { transform: none; } }
/* «Ми вже були» на главной: на телефоне — книги-альбомы вместо фото-карточек */
.been__books { display: grid; grid-template-columns: repeat(2, minmax(0, 250px)); justify-content: center; gap: 48px clamp(40px, 8vw, 120px); padding-top: 12px; }
.been__book { display: grid; justify-items: center; text-align: center; gap: 4px; }
.book--sm { text-decoration: none; }
@media (max-width: 700px) {
  .been__books { grid-template-columns: 1fr 1fr; gap: 20px 18px; padding: 8px 6px 0 14px; }
  .book--sm { --d: 9px; width: 100%; text-decoration: none; }
  .book--sm .book__obj { transform: rotateY(22deg); }
  .book--sm .book__cover { padding: 12px 10px 10px 14px; box-shadow: 10px 12px 22px rgba(18,18,18,.26), inset 4px 0 8px rgba(0,0,0,.18); }
  .book--sm .book__top { font-size: 7px; letter-spacing: .2em; }
  .book--sm .book__title { margin-top: 8px; font-size: 25px; }
  .book--sm .book__year { font-size: 9px; }
  .book--sm .book__spine span { font-size: 6px; letter-spacing: .16em; }
  .been__book .shelf__label { margin-top: 16px; font-size: 14px; }
  .been__book .shelf__meta { font-size: 11px; }
}

/* ——— окно-альбом ——— */
.album-modal { position: fixed; inset: 0; z-index: 90; background: rgba(18,18,18,.62); display: grid; place-items: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); }
.album-modal[hidden] { display: none; }
.album-modal__panel { position: relative; background: var(--cream); width: min(1100px, 100%); max-height: 100%; overflow: auto; overscroll-behavior: contain; border-radius: 8px;
  padding: 0 clamp(16px, 3vw, 40px) clamp(20px, 3vw, 40px); box-shadow: 0 40px 80px rgba(0,0,0,.35); }
.album-modal__head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; background: var(--cream);
  padding: clamp(16px, 3vw, 32px) 0 14px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.album-modal__head .album__city { font-size: clamp(44px, 5vw, 72px); }
.album-modal__close { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--ink); color: var(--white); font-size: 28px; line-height: 1; cursor: pointer; }
.album-modal__close:hover { background: var(--pink); }
.album-modal .lede { margin: 14px 0 22px; }

/* ——— фото крупно (lightbox) ——— */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(12,10,10,.94); display: grid; place-items: center;
  padding: max(56px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(56px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.lb[hidden] { display: none; }
.lb img { max-width: min(100%, 1100px); max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: var(--radius); user-select: none; }
.lb__close, .lb__nav { position: absolute; border: 0; background: rgba(255,255,255,.12); color: var(--white); width: 48px; height: 48px; border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lb__close:hover, .lb__nav:hover { background: var(--pink); }
.lb__close { top: max(12px, env(safe-area-inset-top, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); }
.lb__prev { left: max(12px, env(safe-area-inset-left, 0px)); top: 50%; transform: translateY(-50%); }
.lb__next { right: max(12px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); }
.lb__count { position: absolute; bottom: max(16px, env(safe-area-inset-bottom, 0px)); left: 0; right: 0; text-align: center; color: rgba(255,255,255,.75); font-size: 13px; font-weight: 700; letter-spacing: .1em; }
@media (max-width: 600px) { .lb__nav { top: auto; bottom: max(8px, env(safe-area-inset-bottom, 0px)); transform: none; } .lb__prev { left: 20%; } .lb__next { right: 20%; } }

/* ——— появление при скролле ——— */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
  .js .rv.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
