@font-face { font-family: "Onest"; src: url("../fonts/onest-cyrillic-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; src: url("../fonts/onest-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Slab"; src: url("../fonts/roboto-slab-cyrillic-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Slab"; src: url("../fonts/roboto-slab-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2212, U+FEFF, U+FFFD; }

@font-face { font-family: "Plex Mono"; src: url("../fonts/ibm-plex-mono-cyrillic-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20BD; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/ibm-plex-mono-cyrillic-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20BD; }

:root {
  --paper: #f4efe5;
  --paper-2: #ebe3d3;
  --card: #fbf8f2;
  --ink: #172a3a;
  --ink-2: #4b5967;
  --line: #d9ccb6;
  --wine: #a3322a;
  --wine-2: #82261f;
  --sea: #1d5e69;
  --sun: #e2a93b;
  --radius: 6px;
  --wrap: 1180px;
  --slab: "Slab", Georgia, serif;
  --sans: "Onest", system-ui, sans-serif;
  --mono: "Plex Mono", ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--sea); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--slab); font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(32px, 4.4vw, 52px); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 2px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 30; padding: 10px 14px; background: var(--ink); color: #fff; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kicker { font: 600 13px/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--wine); margin-bottom: 12px; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border: 2px solid transparent; border-radius: var(--radius); font: 600 17px/1 var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn--wine { background: var(--wine); color: #fff; }
.btn--wine:hover { background: var(--wine-2); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; min-height: 44px; font-size: 15px; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn--wide { width: 100%; }

/* Инфо-строка и шапка */
.infobar { background: var(--ink); color: #c9d3db; font-size: 13px; }
.infobar__row { display: flex; flex-wrap: wrap; gap: 6px 28px; align-items: center; min-height: 36px; }
.infobar b { color: #f6d48a; font-weight: 600; }
.infobar__reg { margin-left: auto; color: #8fa0ad; }
.infobar__pin { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 3px #e2a93b33; vertical-align: 1px; }
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 92%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.3) blur(8px); }
.top__row { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__mark { width: 46px; height: 46px; flex: none; transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); }
.brand__text { display: grid; line-height: 1; }
.brand__name { font: 800 25px/1 var(--slab); letter-spacing: -0.02em; }
.brand__sub { margin-top: 5px; font: 600 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--wine); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a, .top__phone span, .max-btn { white-space: nowrap; }
.brand { flex: none; }
@media (max-width: 1320px) { .nav__extra { display: none; } }
.nav a { position: relative; color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 500; padding: 8px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--wine); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:hover::after { transform: scaleX(1); }
.top__contact { display: flex; align-items: center; gap: 16px; }
.top__messengers { display: flex; gap: 6px; }
.top__messengers .max-btn { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); font: 600 14px var(--sans); cursor: pointer; transition: border-color .2s, background .2s; }
.top__messengers .max-btn:hover { border-color: var(--ink); background: var(--card); }
.top__messengers a { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: none; transition: border-color .2s, background .2s; }
.top__messengers a:hover { border-color: var(--ink); background: var(--card); }
.top__phone { display: grid; text-align: right; text-decoration: none; color: var(--ink); }
.top__phone span { font: 800 21px/1.1 var(--slab); }
.top__phone small { font-size: 12px; color: var(--ink-2); }

/* Первый экран: фото на всю ширину и табло */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: clamp(40px, 5vw, 72px) 0 0; background: var(--ink); }
.hero__media { position: absolute; inset: -6% 0 auto 0; height: 112%; z-index: -2; will-change: transform; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; animation: heroZoom 16s cubic-bezier(.2,.6,.2,1) both; }
@keyframes heroZoom { from { transform: scale(1.14); } to { transform: scale(1.02); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, #0d1a25f2 0%, #0d1a25b8 38%, #0d1a2540 70%, #0d1a2510 100%),
  linear-gradient(180deg, transparent 45%, #0d1a25d9 100%); }
.hero__inner { position: relative; }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border: 1px solid #ffffff33; border-radius: 999px; background: #0d1a2566; font: 600 13px var(--sans); letter-spacing: .04em; color: #e9eef2; animation: rise .8s .1s both; }
.hero__kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #7fe08a; box-shadow: 0 0 0 4px #7fe08a33; }
.hero__title { margin-top: 22px; font: 800 clamp(46px, 6.4vw, 92px)/0.98 var(--slab); letter-spacing: -0.03em; text-shadow: 0 2px 30px #0d1a2566; animation: rise .9s .2s both; }
.hero__accent { position: relative; display: inline-block; color: #f6d48a; }
.hero__wave { position: absolute; left: 0; right: 0; bottom: -0.14em; width: 100%; height: 0.22em; overflow: visible; }
.hero__wave path { fill: none; stroke: var(--wine); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 360; stroke-dashoffset: 360; animation: draw 1.4s .9s cubic-bezier(.6,0,.2,1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero__lead { max-width: 34em; margin-top: 26px; font-size: 20px; line-height: 1.55; color: #dfe6ec; animation: rise .9s .35s both; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; animation: rise .9s .45s both; }
.btn--sun { background: #f6d48a; color: var(--ink); }
.btn--sun:hover { background: #fff; }
.btn--glass { border-color: #ffffff66; color: #fff; background: #ffffff14; backdrop-filter: blur(6px); }
.btn--glass:hover { background: #fff; color: var(--ink); }
.hero__board { position: relative; margin-top: clamp(32px, 4vw, 52px); }
.hide-sm { display: inline; }

/* Табло отправлений */
.board { --flap-ink: #f3e6c4; position: relative; margin-bottom: -1px; padding: 22px 24px 0; border-radius: 12px 12px 0 0; background: linear-gradient(#0b151e, #0e1b26); box-shadow: 0 -20px 60px #00000059, inset 0 1px 0 #ffffff14; color: var(--flap-ink); }
.board__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-bottom: 16px; }
.board__title { display: flex; align-items: center; gap: 10px; font: 600 13px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: #9fb0bd; }
.board__lamp { width: 10px; height: 10px; border-radius: 50%; background: #f0b84b; box-shadow: 0 0 12px #f0b84b; animation: lamp 1.6s ease-in-out infinite; }
@keyframes lamp { 50% { opacity: .35; box-shadow: none; } }
.board__tabs { display: flex; padding: 4px; border-radius: 999px; background: #ffffff0f; }
.board__tabs button { min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: #c9d3db; font: 600 14px var(--sans); cursor: pointer; transition: background .2s, color .2s; }
.board__tabs button[aria-selected="true"] { background: #f6d48a; color: var(--ink); }
.board__cols, .board__row { display: grid; grid-template-columns: 124px 118px minmax(0, 1fr) 132px 148px; align-items: center; column-gap: 20px; }
.board__cols { padding: 0 0 10px; border-bottom: 1px solid #ffffff1a; font: 600 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #8597a6; }
.board__rows { margin: 0; padding: 0; list-style: none; }
.board__row { position: relative; padding: 16px 0; border-bottom: 1px solid #ffffff14; transition: background .2s; }
.board__row:hover { background: linear-gradient(90deg, transparent, #ffffff0a 20%, #ffffff0a 80%, transparent); }
.board__date { display: block; }
.board__cal { display: none; }
.board__day { font: 500 17px/1.25 var(--sans); color: #a8dccf; }
.board__name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; min-width: 0; font: 600 20px/1.3 var(--sans); color: #f7ecd2; }
.board__badge { padding: 4px 9px; border-radius: 4px; background: var(--wine); color: #fff; font: 700 12px/1 var(--sans); font-style: normal; letter-spacing: .08em; text-transform: uppercase; }
.board__price { font: 700 21px/1.2 var(--sans); color: #f6d48a; font-variant-numeric: tabular-nums; white-space: nowrap; }
.board__price small { font-size: 15px; font-weight: 500; color: #d9c48f; }
.board__go { justify-self: end; min-height: 44px; padding: 0 18px; border: 1px solid #f6d48a80; border-radius: 6px; background: transparent; color: #f6d48a; font: 600 16px var(--sans); cursor: pointer; transition: background .2s, color .2s; }
.board__go:hover, .board__row:hover .board__go { background: #f6d48a; color: var(--ink); }
.board__all { display: flex; justify-content: center; gap: 8px; padding: 18px 0 20px; color: #d3dce3; font-size: 16px; text-decoration: none; }
.board__all:hover { color: #fff; }
.flaps { display: inline-flex; gap: 3px; font: 600 27px/1 var(--mono); }
.flap { position: relative; display: inline-grid; place-items: center; min-width: 0.92em; height: 1.4em; padding: 0 1px; border-radius: 3px; background: linear-gradient(#1c3042 50%, #172938 50%); color: #f7ecd2; box-shadow: inset 0 -1px 0 #0006; }
.flap::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: #0b151e; }
.flap--sep { min-width: .4em; background: none; box-shadow: none; }
.flap--sep::after { display: none; }
.flap.is-flip { animation: flip .055s linear; }
@keyframes flip { from { transform: perspective(200px) rotateX(-80deg); filter: brightness(1.5); } to { transform: none; } }
.is-next .flap { color: #f6d48a; }

/* Билет — общий элемент расписания */
.ticket { position: relative; display: grid; grid-template-columns: 92px 148px minmax(0, 1fr) auto; align-items: stretch; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.ticket__stub { position: relative; display: grid; place-content: center; justify-items: center; padding: 14px 8px; border-right: 2px dashed var(--line); }
.ticket__stub::before, .ticket__stub::after { content: ""; position: absolute; right: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); }
.ticket__stub::before { top: -11px; clip-path: inset(50% 0 0 0); }
.ticket__stub::after { bottom: -11px; clip-path: inset(0 0 50% 0); }
.ticket__day { font: 800 46px/0.9 var(--slab); color: var(--ink); font-variant-numeric: tabular-nums; }
.ticket__wd, .ticket__month { margin-top: 6px; font: 600 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--wine); }
.ticket__img { width: 100%; height: 100%; min-height: 128px; object-fit: cover; }
.ticket__main { padding: 18px 22px; min-width: 0; }
.ticket__label { font-size: 13px; letter-spacing: .04em; color: var(--ink-2); text-transform: lowercase; }
.ticket__label::first-letter { text-transform: uppercase; }
.ticket__title { margin-top: 6px; font: 700 24px/1.15 var(--slab); }
.ticket__desc { margin-top: 6px; font-size: 16px; color: var(--ink-2); }
.ticket__side { display: grid; align-content: center; justify-items: end; gap: 12px; padding: 18px 22px; border-left: 1px solid var(--line); min-width: 210px; }
.ticket__prices { display: grid; justify-items: end; gap: 2px; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.ticket__prices b { font: 700 22px/1.2 var(--slab); color: var(--ink); }
.ticket__prices span:last-child b { font-size: 17px; }

/* Факты */
.facts { border-block: 1px solid var(--line); background: var(--paper-2); }
.facts__row { display: grid; grid-template-columns: repeat(3, 1fr); }
.facts p { padding: 22px 24px; font-size: 16px; color: var(--ink-2); }
.facts p + p { border-left: 1px solid var(--line); }
.facts b { display: block; color: var(--ink); font: 700 19px/1.3 var(--slab); margin-bottom: 2px; }

/* Расписание */
.schedule { padding: 88px 0 72px; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 40px; margin-bottom: 30px; }
.section-head__aside { max-width: 30em; color: var(--ink-2); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filters button { min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); font: 500 15px var(--sans); cursor: pointer; }
.filters button span { color: var(--ink-2); margin-left: 4px; font-variant-numeric: tabular-nums; }
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.filters button[aria-pressed="true"] span { color: #c9d2da; }
.month + .month { margin-top: 44px; }
.month__name { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; font: 800 15px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.month__name::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.tickets { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.ticket:target { outline: 3px solid var(--sun); }
.ticket { transition: transform .25s, box-shadow .25s, border-color .25s; }
.ticket:hover { transform: translateY(-3px); border-color: #c9b796; box-shadow: 0 16px 34px -20px #172a3a66; }
.ticket__img { transition: filter .3s; filter: saturate(.92); }
.ticket:hover .ticket__img { filter: saturate(1.15); }
.ticket__stub { transition: transform .35s cubic-bezier(.3,1.5,.5,1); transform-origin: right center; }
.ticket:hover .ticket__stub { transform: rotate(-3deg) translateX(-2px); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--d, 0ms), transform .6s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.ticket.reveal.is-in:hover { transform: translateY(-3px); }
.note { margin-top: 26px; font-size: 15px; color: var(--ink-2); }

/* Туры */
.tours { padding: 88px 0; background: var(--ink); color: var(--paper); }
.tours .kicker { color: var(--sun); }
.tours .section-head__aside { color: #c3ccd3; }
.tour-list { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid #ffffff26; }
.tour { border-bottom: 1px solid #ffffff26; }
.tour__open { display: grid; grid-template-columns: 132px 150px minmax(0, 1fr) 96px 150px; grid-template-areas: "img date title days price" "img date route days price"; align-items: center; column-gap: 26px; width: 100%; padding: 18px 0; border: 0; background: transparent; color: inherit; text-align: left; font: inherit; cursor: pointer; }
.tour__open:hover .tour__title { color: var(--sun); }
.tour__img { grid-area: img; width: 132px; height: 92px; object-fit: cover; border-radius: 4px; }
.tour__date { grid-area: date; font: 600 15px var(--sans); color: #c3ccd3; }
.tour__title { grid-area: title; align-self: end; font: 700 22px/1.2 var(--slab); transition: color .15s; }
.tour__route { grid-area: route; align-self: start; margin-top: 6px; font-size: 14px; color: #9fadb8; }
.tour__days { grid-area: days; font-size: 14px; color: #c3ccd3; }
.tour__days b { display: block; font: 800 40px/0.9 var(--slab); color: var(--paper); }
.tour__price { grid-area: price; justify-self: end; font: 700 21px var(--slab); white-space: nowrap; }

/* Индивидуальные */
.more { padding: 88px 0; }
.more__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.more__grid > div p { margin: 16px 0 26px; color: var(--ink-2); max-width: 28em; }
.more__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.more__list li { display: flex; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font: 700 20px/1.25 var(--slab); }
.more__list li::before { content: counter(more, decimal-leading-zero); counter-increment: more; font: 600 13px var(--sans); color: var(--wine); letter-spacing: .06em; }
.more__list { counter-reset: more; }

/* Как записаться */
.how { padding: 80px 0 96px; background: var(--paper-2); border-top: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin: 36px 0 0; padding: 0; list-style: none; counter-reset: s; }
.steps span { display: block; font: 800 64px/1 var(--slab); color: var(--wine); }
.steps h3 { margin: 10px 0 8px; font-size: 24px; }
.steps p { color: var(--ink-2); }

/* Подвал */
.foot { padding: 64px 0 110px; background: var(--ink); color: #dfe5ea; }
.foot a { color: #fff; }
.foot__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.foot__grid p + p { margin-top: 14px; }
.foot .brand__name { color: #fff; margin-bottom: 12px; }
.foot__title { font: 600 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--sun); margin-bottom: 14px; }
.foot__phones { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.foot__phones a { font: 700 20px var(--slab); text-decoration: none; }
.foot__phones span { display: block; font-size: 14px; color: #a9b5bf; }
.foot__muted { color: #a9b5bf; font-size: 14px; }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 20px; border-top: 1px solid #ffffff22; font-size: 13px; color: #8d9aa5; }
.foot__legal summary { cursor: pointer; }
.foot__legal ul { margin: 10px 0 0; padding-left: 18px; max-width: 760px; }
.foot__legal a { color: #c3ccd3; }

/* Мобильная панель */
.dock { display: none; }
.board__empty { padding: 22px 0; font-size: 17px; color: #d3dce3; list-style: none; }

/* Туры партнёров */
.partners { padding: 88px 0; background: var(--paper); border-top: 1px solid var(--line); }
.partner-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.partner { display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 18px; background: var(--card); border: 1px solid var(--line); border-top: 5px solid var(--sea); border-radius: var(--radius); }
.partner--bs { border-top-color: var(--sun); }
.partner__op { align-self: flex-start; padding: 4px 10px; border-radius: 4px; background: #1d5e6914; color: var(--sea); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.partner--bs .partner__op { background: #e2a93b26; color: #8a5a00; }
.partner__region { font-size: 15px; color: var(--ink-2); }
.partner__title { font: 700 21px/1.2 var(--slab); }
.partner__route { font-size: 15px; color: var(--ink-2); }
.partner__note { font-size: 14px; color: var(--ink-2); font-style: italic; }
.partner__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); }
.partner__price { font: 700 22px/1 var(--sans); white-space: nowrap; }
.partner__price small { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.partners__note { display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.partners__also { margin-top: 22px; padding: 14px 18px; border-left: 3px solid var(--wine); background: color-mix(in srgb, var(--wine) 6%, transparent); font-size: 16px; color: var(--ink); max-width: 62ch; }
.partners__sync { width: 9px; height: 9px; border-radius: 50%; background: #3f9b6e; box-shadow: 0 0 0 4px #3f9b6e26; }
.toast { position: fixed; z-index: 40; left: 50%; bottom: 24px; transform: translateX(-50%); width: min(100% - 32px, 420px); padding: 14px 18px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 16px; line-height: 1.45; box-shadow: 0 14px 40px #0b141d66; }
.toast b { color: #f6d48a; }

/* Окна */
.sheet { width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 10px; background: var(--card); color: var(--ink); box-shadow: 0 30px 80px #0b141d80; }
.sheet::backdrop { background: #0f1b26b3; }
.sheet__body { position: relative; display: grid; gap: 14px; padding: 30px; }
.sheet h2 { font-size: 30px; padding-right: 30px; }
.sheet__close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); font-size: 30px; line-height: 1; cursor: pointer; z-index: 2; }
.sheet__close:hover { background: var(--paper-2); }
.sheet__trip { font-weight: 600; color: var(--sea); }
.sheet__fine { font-size: 14px; color: var(--ink-2); text-align: center; }
.sheet__error { min-height: 0; color: var(--wine); font-size: 15px; }
.sheet__error:empty { display: none; }
.counters { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; padding: 16px; background: var(--paper); border-radius: var(--radius); }
.counters[hidden] { display: none; }
.counter { display: grid; grid-template-columns: 1fr 44px 34px 44px; align-items: center; gap: 4px; }
.counter span { font-size: 15px; color: var(--ink-2); }
.counter button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--card); color: var(--ink); font-size: 22px; cursor: pointer; }
.counter output { text-align: center; font: 700 20px var(--slab); }
.total { grid-column: 1 / -1; display: flex; justify-content: space-between; padding-top: 10px; border-top: 1px dashed var(--line); }
.total b { font: 800 24px var(--slab); }
.field { display: grid; gap: 6px; font-size: 15px; font-weight: 600; }
.field small { font-weight: 400; color: var(--ink-2); }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #c9bba2; border-radius: var(--radius); background: #fff; color: var(--ink); font: 400 17px var(--sans); }
.field textarea { min-height: 70px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid #e2a93b80; border-color: var(--ink); }
.sheet--tour { width: min(640px, calc(100% - 24px)); }
.sheet--tour .sheet__body { padding: 0 30px 30px; }
.sheet__photo { width: calc(100% + 60px); max-width: none; margin: 0 -30px 6px; aspect-ratio: 16 / 9; object-fit: cover; }
.sheet--tour .sheet__close { background: var(--card); }
.route__title { margin-top: 6px; font: 600 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.route { position: relative; display: grid; gap: 8px; margin: 0; padding: 0 0 0 26px; list-style: none; }
.route::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: repeating-linear-gradient(var(--line) 0 6px, transparent 6px 10px); }
.route li { position: relative; font-weight: 500; }
.route li::before { content: ""; position: absolute; left: -26px; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--card); border: 3px solid var(--sea); }
.route li:first-child::before, .route li:last-child::before { background: var(--wine); border-color: var(--wine); }
.tour__notes { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tour__notes li { padding: 6px 12px; border-radius: 999px; background: var(--paper-2); font-size: 14px; }

/* Планшет */
@media (max-width: 1080px) {
  .nav { display: none; }
  .nav--wide { display: none; }
  .top__contact { margin-left: auto; }
  .infobar__reg { display: none; }
  .board__cols, .board__row { grid-template-columns: 112px 104px minmax(0, 1fr) 120px; }
  .more__grid { grid-template-columns: 1fr; gap: 36px; }
  .board__cols span:last-child { display: none; }
  .board__go { grid-column: 3 / -1; justify-self: start; margin-top: 10px; }
  .ticket { grid-template-columns: 84px 120px minmax(0, 1fr); }
  .ticket__side { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; border-left: 0; border-top: 1px dashed var(--line); padding: 14px 20px; }
  .ticket__prices { justify-items: start; grid-auto-flow: column; gap: 18px; }
  .tour__open { grid-template-columns: 110px minmax(0, 1fr) auto; grid-template-areas: "img date price" "img title title" "img route days"; row-gap: 4px; }
  .tour__img { width: 110px; height: 100%; min-height: 96px; }
  .tour__days { justify-self: end; text-align: right; }
  .tour__days b { display: inline; font-size: 22px; }
  .tour__title { font-size: 20px; }
}

/* Телефон */
@media (max-width: 720px) {
  body { font-size: 17px; }
  html { scroll-padding-top: 70px; }
  .wrap { width: min(100% - 32px, var(--wrap)); }
  .top__row { min-height: 60px; gap: 12px; }
  .brand__name { font-size: 21px; }
  .brand__sub { font-size: 9px; letter-spacing: .12em; }
  .brand__name { font-size: 21px; }
  .brand__mark { width: 38px; height: 38px; }
  .top__messengers { display: none; }
  .top__phone small { font-size: 10px; }
  .top__phone span { font-size: 16px; }
  .infobar__row { min-height: 30px; gap: 2px 14px; font-size: 12px; padding: 5px 0; }
  .infobar__row p:first-child { display: none; }
  .hero { padding-top: 40px; }
  .hero__media img { object-position: 78% 50%; }
  .hero::before { background: linear-gradient(180deg, #0d1a25cc 0%, #0d1a2599 45%, #0d1a25f2 100%); }
  .hero__kicker { font-size: 12px; }
  .hide-sm { display: none; }
  .hero__title { font-size: 46px; }
  .hero__lead { font-size: 17px; margin-top: 22px; }
  .hero__board { margin-top: 40px; }
  .board { padding: 18px 16px 0; border-radius: 14px 14px 0 0; }
  .board__tabs { width: 100%; }
  .board__tabs button { flex: 1; padding: 0 8px; font-size: 13px; }
  .board__cols { display: none; }
  .board__row { grid-template-columns: 58px minmax(0, 1fr); grid-template-areas: "cal name" "cal meta"; column-gap: 14px; row-gap: 4px; padding: 14px 30px 14px 0; align-items: start; }
  .board__row:nth-child(n+5) { display: none; }
  .board__date { grid-area: cal; }
  .board__date .flaps { display: none; }
  .board__cal { display: grid; justify-items: center; align-content: center; height: 58px; border-radius: 8px; background: #1c3042; color: #f7ecd2; }
  .board__cal b { font: 700 25px/1 var(--sans); }
  .board__cal small { margin-top: 3px; font: 600 12px/1 var(--sans); text-transform: uppercase; letter-spacing: .06em; color: #a8dccf; }
  .is-next .board__cal { background: #f6d48a; color: var(--ink); }
  .is-next .board__cal small { color: var(--wine-2); }
  .board__name { grid-area: name; font-size: 17px; line-height: 1.3; }
  .board__badge { font-size: 11px; padding: 3px 7px; }
  .board__day, .board__price { grid-area: meta; align-self: center; font-size: 15px; }
  .board__price { justify-self: end; font-size: 17px; }
  .board__price small { font-size: 13px; }
  .board__go { position: absolute; inset: 0; z-index: 1; width: 100%; margin: 0; border: 0; border-radius: 0; background: transparent; color: transparent; font-size: 0; }
  .board__go:hover, .board__row:hover .board__go { background: #ffffff08; color: transparent; }
  .board__go:focus-visible { outline-offset: -3px; }
  .board__row::after { content: "›"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: #f6d48a; font: 400 30px/1 var(--sans); }
  .hero__actions .btn { flex: 1 1 100%; }
  .facts__row { grid-template-columns: 1fr; }
  .facts p { padding: 14px 0; }
  .facts p + p { border-left: 0; border-top: 1px solid var(--line); }
  .schedule, .tours, .more { padding: 56px 0; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 26px; padding: 2px 16px 6px; scrollbar-width: none; }
  .filters button { flex: none; }
  .print-btn { display: none; }
  .ticket { grid-template-columns: 70px minmax(0, 1fr); }
  .ticket__img { display: none; }
  .ticket__day { font-size: 38px; }
  .ticket__main { padding: 14px 16px; }
  .ticket__title { font-size: 20px; }
  .ticket__desc { font-size: 15px; }
  .ticket__side { padding: 12px 16px; min-width: 0; gap: 12px; }
  .ticket__prices { grid-auto-flow: row; gap: 0; }
  .more__list { grid-template-columns: 1fr; }
  .more__list li { font-size: 18px; padding: 12px 0; }
  .ticket__prices b { font-size: 19px; }
  .ticket__prices span:last-child b { font-size: 15px; }
  .tour__open { grid-template-columns: 84px minmax(0, 1fr); grid-template-areas: "img date" "img title" "route route" "days price"; column-gap: 14px; }
  .tour__img { width: 84px; min-height: 84px; }
  .tour__route { margin-top: 8px; }
  .tour__days { justify-self: start; text-align: left; }
  .more__grid { grid-template-columns: 1fr; gap: 30px; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps span { font-size: 48px; }
  .foot { padding-bottom: 120px; }
  .foot__grid { grid-template-columns: 1fr; gap: 30px; }
  .dock { position: fixed; z-index: 25; left: 12px; right: 12px; bottom: 12px; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 8px; padding: 8px; border-radius: 10px; background: var(--ink); box-shadow: 0 14px 40px #0b141d66; }
  .dock button { min-height: 48px; border: 0; border-radius: 6px; background: #ffffff1a; color: #fff; font: 600 17px var(--sans); cursor: pointer; }
  .toast { bottom: 84px; }
  .partners { padding: 56px 0; }
  .dock a { display: grid; place-items: center; min-height: 48px; border-radius: 6px; color: #fff; font-weight: 600; text-decoration: none; }
  .dock a:first-child { background: var(--wine); }
  .sheet { width: 100%; max-width: none; margin: auto 0 0; border-radius: 14px 14px 0 0; max-height: 92dvh; }
  .sheet__body { padding: 24px 20px; }
  .sheet--tour .sheet__body { padding: 0 20px 24px; }
  .sheet__photo { width: calc(100% + 40px); margin: 0 -20px 6px; }
  .counters { grid-template-columns: 1fr; }
}

/* Печать расписания */
@media print {
  @page { margin: 14mm; }
  body { background: #fff; font-size: 12pt; }
  .infobar, .top, .hero, .facts, .tours, .partners, .more, .how, .dock, .filters, .print-btn, .ticket__img, .ticket__side .btn, .foot__legal, dialog, .skip { display: none !important; }
  .schedule { padding: 0; }
  .ticket { break-inside: avoid; grid-template-columns: 70px 1fr auto; border-color: #999; }
  .ticket__side { border-color: #999; min-width: 0; }
  .foot { background: #fff; color: #000; padding: 12pt 0 0; }
  .foot a, .foot .brand__name { color: #000; }
  /* tour / excursion page: the program on paper, with the agency contacts from the footer */
  .crumbs, .detail [data-book], .detail__actions, .detail__print, .foot__docs, .foot__grid > div:last-child { display: none !important; }
  .page__main { padding: 0; min-height: 0; }
  .detail { display: block !important; }
  .detail__photo { position: static !important; width: 100% !important; height: 60mm !important; aspect-ratio: auto !important; object-fit: cover; margin-bottom: 10pt; }
  .detail h1 { font-size: 22pt; } .detail h2 { font-size: 14pt; margin-top: 12pt; }
  .days li, .terms section, .detail__dates li { break-inside: avoid; }
  .days summary { list-style: none; } .days summary::-webkit-details-marker, .days summary::after, .days summary::before { display: none !important; }
}
.detail__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.detail__print { margin: 4px 0 8px; }

/* ---------- Рабочий сайт: страницы экскурсий и туров, пустые состояния, форма ---------- */
.img-none { display: block; background: linear-gradient(135deg, var(--paper-2), color-mix(in srgb, var(--wine) 18%, var(--paper-2))); }
.empty { padding: 28px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--ink-2); list-style: none; }
.ticket__title a { color: inherit; text-decoration: none; }
.ticket__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 12px; font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--wine); flex: none; }
.consent a { color: inherit; }
.sheet__about { margin: 16px 0; }
.page__main { padding: 36px 0 80px; min-height: 60vh; }
.crumbs { margin: 0 0 20px; font-size: 16px; }
.crumbs a { color: var(--wine); font-weight: 600; text-decoration: none; }
.detail { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.detail__photo { width: 100%; height: auto; aspect-ratio: 9 / 6; object-fit: cover; border-radius: var(--radius); }
.detail h1 { margin: 0 0 12px; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; }
.detail h2 { margin: 28px 0 12px; font-size: 22px; }
.detail__lead { font-size: 19px; color: var(--ink-2); }
.detail__prices { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 16px 0; font-size: 18px; }
.detail__prices b { font-size: 26px; }
.detail__about p { margin: 0 0 12px; }
.detail__dates { list-style: none; margin: 0 0 20px; padding: 0; border-top: 1px solid var(--line); }
.detail__dates li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.legal { max-width: 70ch; }
.legal h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; }
.legal h2 { margin-top: 28px; font-size: 21px; }
.foot__legal a { color: inherit; }
@media (max-width: 860px) {
  .detail { grid-template-columns: 1fr; gap: 24px; }
  .detail__dates li { flex-wrap: wrap; }
}

.preview-bar { margin: 0; padding: 8px 16px; background: var(--sun); color: var(--ink); font: 600 14px/1.35 var(--sans); text-align: center; }

/* Направления: каждая строка — кнопка заявки */
.more__list li { display: block; padding: 0; }
.more__list li::before { display: none; }
.svc { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; width: 100%; padding: 16px 0; border: 0; background: none; text-align: left; cursor: pointer; color: var(--ink); }
.svc__title { font: 700 20px/1.25 var(--slab); }
.svc__text { grid-column: 1; font: 400 16px/1.4 var(--sans); color: var(--ink-2); }
.svc__go { grid-column: 2; grid-row: 1 / span 2; align-self: center; font: 600 15px var(--sans); color: var(--wine); white-space: nowrap; }
.svc:hover .svc__title { color: var(--wine); }
.svc:focus-visible { outline: 3px solid var(--sea); outline-offset: 2px; }
.more__list { grid-template-columns: 1fr; }

/* Другие туроператоры */
.ops { display: grid; gap: 16px; margin-top: 8px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.ops__lead { margin: 0; font-size: 18px; }
.ops__list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ops__list li { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font: 700 17px var(--slab); }
.ops .btn { justify-self: start; }
@media (max-width: 720px) {
  .svc { grid-template-columns: 1fr; }
  .svc__go { grid-column: 1; grid-row: auto; margin-top: 6px; }
  .ops { padding: 18px; }
}

/* Туры партнёров: фото, «показать все», блоки подбора */
.partner.is-extra { display: none; }
.partner__img { display: block; width: calc(100% + 40px); max-width: none; height: 170px; margin: -20px -20px 6px; object-fit: cover; }
.partners__more { display: flex; margin: 24px auto 0; }
.pickers__title { margin: 56px 0 16px; font: 700 26px/1.2 var(--slab); }
.pickers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.picker { display: grid; gap: 6px; width: 100%; height: 100%; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); text-align: left; cursor: pointer; color: var(--ink); transition: border-color .15s, transform .15s; }
.picker:hover { border-color: var(--wine); transform: translateY(-2px); }
.picker:focus-visible { outline: 3px solid var(--sea); outline-offset: 2px; }
.picker__op { font: 600 13px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--wine); }
.picker__title { font: 700 24px/1.15 var(--slab); }
.picker__text { color: var(--ink-2); font-size: 16px; }
.picker__go { margin-top: 8px; font-weight: 700; color: var(--wine); }
@media (max-width: 900px) { .pickers { grid-template-columns: 1fr; } }

/* Программа тура, условия, места */
.partner__title a { color: inherit; text-decoration: none; }
.partner__title a:hover { color: var(--wine); }
.partner__actions { display: flex; align-items: center; gap: 14px; }
.partner__more { font-weight: 600; color: var(--sea); }
.detail__note { color: var(--ink-2); font-style: italic; }
.detail .btn { margin: 6px 0 10px; }
.detail__photo { position: sticky; top: 96px; }
.seats { display: inline-block; margin: 10px 0 0; padding: 6px 12px; border-radius: 999px; background: #fbeed2; color: #7a4b00; font-size: 16px; }
.days { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.days li { border-bottom: 1px solid var(--line); }
.days summary { display: flex; gap: 12px; align-items: baseline; padding: 14px 0; cursor: pointer; font: 700 18px/1.35 var(--slab); list-style: none; }
.days summary::-webkit-details-marker { display: none; }
.days summary::after { content: "+"; margin-left: auto; font: 400 22px var(--sans); color: var(--wine); }
.days details[open] summary::after { content: "−"; }
.days__label { flex: none; min-width: 72px; font: 600 14px var(--sans); color: var(--wine); text-transform: uppercase; letter-spacing: .04em; }
.days__text { padding: 0 0 16px 84px; color: var(--ink-2); font-size: 17px; }
.days__text p { margin: 0 0 8px; }
.terms { display: grid; gap: 20px; margin-top: 28px; }
.terms section { padding: 18px 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.terms h2 { margin: 0 0 10px !important; font-size: 19px !important; }
.terms ul { margin: 0; padding-left: 20px; }
.terms li { margin: 4px 0; font-size: 16px; }
.terms__yes { border-left: 4px solid #3f9b6e !important; }
.terms__no { border-left: 4px solid var(--wine) !important; }
@media (max-width: 860px) { .detail__photo { position: static; } .days__text { padding-left: 0; } }

/* Туры по России: компактные строки в две колонки */
.tour-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.tour.is-extra { display: none; }
.tour__open { grid-template-columns: 88px minmax(0, 1fr) auto; grid-template-areas: none; column-gap: 16px; padding: 12px 0; }
.tour__img { grid-area: auto; width: 88px; height: 66px; }
.tour__body { display: grid; gap: 3px; min-width: 0; }
.tour__title { align-self: auto; font-size: 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tour__meta { font-size: 14px; color: #c3ccd3; }
.tour__meta b { color: var(--sun); font-weight: 600; }
.tour__route { grid-area: auto; margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13px; }
.tour__price { grid-area: auto; font-size: 17px; }
.tours__more { display: flex; margin: 26px auto 0; }
@media (max-width: 900px) {
  .tour-list { grid-template-columns: 1fr; }
  .tour__open { grid-template-columns: 72px minmax(0, 1fr); }
  .tour__img { width: 72px; height: 56px; grid-row: span 2; }
  .tour__price { grid-column: 2; justify-self: start; font-size: 16px; }
}

/* Первый экран: новое фото, на телефоне — своя вертикальная версия */
.hero__media picture { display: block; width: 100%; height: 100%; }
.hero__media img { object-position: 45% 45%; }
@media (max-width: 700px) { .hero__media img { object-position: 50% 50%; } }

/* Карточка партнёра на узком экране: фото по ширине карточки, цена и кнопки переносятся */
.partner { overflow: hidden; }
.partner__foot { flex-wrap: wrap; }
.partner__actions { flex-wrap: wrap; }
@media (max-width: 380px) {
  .brand__sub { display: none; }
  .brand__name { font-size: 18px; }
  .top__phone span { font-size: 15px; }
  .top__phone small { font-size: 11px; }
  .brand__mark { width: 34px; height: 34px; }
}
/* inside the compact row the old named grid areas must not apply */
.tour__body > * { grid-area: auto !important; justify-self: start; text-align: left; }
.tour__open { align-items: center; }
.tour__body { min-width: 0; overflow: hidden; }
.tour__route { display: block; max-width: 100%; }

/* Страница оплаты */
.pay { max-width: 520px; margin: 24px auto; padding: 32px 28px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); text-align: center; }
.pay h1 { font-size: clamp(24px, 4vw, 32px); line-height: 1.2; margin: 0 0 12px; }
.pay__sum { margin: 8px 0 20px; font: 800 44px/1 var(--slab); color: var(--wine); }
.pay__what { font-size: 18px; }
.pay__note { padding: 12px 14px; border-radius: 8px; background: #fbeed2; color: #6b4300; font-size: 16px; }
.pay__fine { margin-top: 14px; font-size: 14px; color: var(--ink-2); }
.pay__error { color: var(--wine); font-weight: 600; }
.pay__stamp { width: 72px; height: 72px; margin: 0 auto 12px; border-radius: 50%; background: #e3f1e7; color: #2f7d4f; font: 800 40px/72px var(--sans); }
.pay__go { font-size: 19px; min-height: 58px; }
.more-dates { margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: #fbeed2; color: #7a4b00; font-size: 13px; white-space: nowrap; }

/* Об агентстве (текст для поиска и людей) */
.about { padding: 72px 0 24px; }
.about__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.about h2 { margin: 0; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; }
.about__text p { margin: 0 0 14px; color: var(--ink-2); }
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; gap: 16px; } .about { padding: 48px 0 8px; } }

/* Отзывы туристов */
.reviews { padding: 80px 0 72px; border-top: 1px solid var(--line); }
.reviews__aside { display: grid; gap: 16px; justify-items: start; max-width: 30em; }
.review-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.review { display: flex; flex-direction: column; gap: 18px; padding: 26px 26px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.review[hidden] { display: none; }
.review blockquote { position: relative; margin: 0; padding-top: 30px; font-size: 17px; line-height: 1.6; }
.review blockquote::before { content: "\201C"; position: absolute; top: -10px; left: -2px; font: 700 64px/1 var(--slab); color: var(--wine); }
.review blockquote p + p { margin-top: 10px; }
.review__who { display: grid; gap: 2px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 15px; }
.review__who span { color: var(--ink-2); }
@media (max-width: 720px) { .reviews { padding: 56px 0 48px; } .review-list { grid-template-columns: 1fr; } .review { padding: 22px 20px 18px; } }

.foot__docs { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 15px; }
.foot__docs a { color: inherit; text-underline-offset: 3px; }

.foot__made { margin-top: 6px; }
.foot__made a { font-weight: 700; letter-spacing: 0.02em; }
@media print { .foot__made { display: none; } }

/* long operator words (prices joined with dashes, links) must not widen the page on a phone */
.detail__text, .detail__text li, .sheet__body li { min-width: 0; overflow-wrap: anywhere; }
