
/* =========================================================
   А-тур · дизайн-токены · v3 «Морская открытка» (22.10.2026)
   Идея: летний лагерь у моря — солёная бумага, глубокое море,
   песок и закатный коралл. Спокойно, тепло, без кислотных пастелей.
   Шрифты: Unbounded (заголовки) + Onest (текст). Оба OFL, с кириллицей.
   ========================================================= */















:root {
  /* ---- Палитра v6 «Логотип» (23.10): цвета знака А-тур, ярко, но без перебора ----
     Знак: тёмно-синий #004479, синий #156CB3, оранжевый #EB6411, красный #E30B2F,
     жёлтый #FFCE18, зелёный #5CB030. Яркие — пятнами и акцентами, большие поля — светлыми оттенками. */
  --c-cream:  #FFFCF7;   /* фон: тёплый белый */
  --c-white:  #FFFFFF;
  --c-ink:    #004479;   /* заголовки — тёмно-синий из знака */
  --c-slate:  #22364F;   /* текст */
  --c-navy:   #004479;
  --c-blue:   #156CB3;   /* ссылки, выбранное, вкладки (белый на нём 5,5:1) */
  --c-blue-d: #0E5C9E;
  --c-orangeL:#EB6411;   /* оранжевый знака — пятна, декор */
  --c-orange: #D5440B;   /* кнопки действия: чистый насыщенный оранжевый без коричневого (26.10), белый текст 4,5:1 */
  --c-orange-d:#B8390A;
  --c-yellow: #FFCE18;   /* вторая кнопка и плашки, текст тёмно-синий 6,7:1 */
  --c-red:    #E30B2F;   /* только «Хит продаж» (белый 4,8:1) */
  --c-greenL: #5CB030;   /* зелёный знака — галочки, пятна */
  --c-green:  #2E7D14;   /* зелёный для текста и кнопок с белым (5,2:1) */
  /* светлые поля — оттенки знака */
  --c-sky:    #E7F0FA;   /* синий */
  --c-lime:   #FFF5CC;   /* жёлтый */
  --c-pink:   #FDE8DA;   /* оранжевый */
  --c-peach:  #FDE8DA;
  --c-mint:   #EAF6E2;   /* зелёный */
  --c-rose:   #FDE5E9;   /* красный */
  /* совместимость со страницей лагеря */
  --c-mintB:  var(--c-greenL);
  --c-orangeB:var(--c-orangeL);
  --c-pinkB:  var(--c-red);

  --on-sky:   #0F4F87;
  --on-lime:  #6B5200;
  --on-pink:  #A3400A;
  --on-peach: #A3400A;
  --on-mint:  #2C6A12;

  /* ---- Роли ---- */
  --bg-page:     var(--c-cream);
  --bg-card:     #FFFFFF;
  --text:        var(--c-slate);
  --text-muted:  #56677F;
  --accent:      var(--c-orange);
  --on-accent:   #FFFFFF;
  --tile-1: var(--c-lime); --tile-2: var(--c-pink); --tile-3: var(--c-sky);
  --line:        #E8ECF2;
  --line-strong: #CBD8E8;
  --focus:       var(--c-blue);
  --error-bg:    var(--c-rose);
  --error-text:  #B3081F;
  --tone-1:      #F2F5F9;

/* ---- Шрифт ---- */
  --font: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Unbounded", "Onest", system-ui, sans-serif;

  /* Роли текста. Шкала 1,25; размер: телефон → компьютер */
  --h1-size: clamp(30px, 4.2vw, 58px);   --h1-weight: 500; --h1-lh: 1.08;
  --h2-size: clamp(24px, 2.8vw, 40px);   --h2-weight: 500; --h2-lh: 1.15;
  --h3-size: clamp(18px, 1.5vw, 21px);   --h3-weight: 600; --h3-lh: 1.25;
  --sub-size: clamp(17px, 1.3vw, 19px);  --sub-weight: 400; --sub-lh: 1.5;
  --text-size: 17px;                     --text-weight: 400; --text-lh: 1.55;
  --btn-size: 16px;                      --btn-weight: 600;
  --caption-size: 14px;                  --caption-weight: 500; --caption-ls: 0;

  /* ---- Форма ---- */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-pill: 999px;
  --shadow: 0 16px 40px -20px rgba(0, 68, 121, .30);

  --gap-section: 96px;
  --gutter: 16px;
  --container: 1280px;
}

@media (min-width: 768px) {
  :root { --gap-section: 128px; --gutter: 32px; }
}

/* v3: движение (Emil Kowalski) */
:root {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --dur-press: 140ms;
  --dur-hover: 200ms;
  --dur-modal: 280ms;
  --dur-reveal: 600ms;
}

/* А-тур · стили. Все цвета и размеры — из tokens.css */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
.nw { white-space: nowrap; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg-page); color: var(--text);
  font-family: var(--font); font-size: var(--text-size); line-height: var(--text-lh);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.ico { width: 20px; height: 20px; flex: none; }

/* ---------- Роли текста ---------- */
.h1 { font-size: var(--h1-size); font-weight: var(--h1-weight); line-height: var(--h1-lh); letter-spacing: -0.02em; margin: 0; }
.h2 { font-size: var(--h2-size); font-weight: var(--h2-weight); line-height: var(--h2-lh); letter-spacing: -0.015em; margin: 0; }
.h3 { font-size: var(--h3-size); font-weight: var(--h3-weight); line-height: var(--h3-lh); margin: 0; }
.sub { font-size: var(--sub-size); font-weight: var(--sub-weight); line-height: var(--sub-lh); margin: 0; }
.caption { display: inline-block; font-size: var(--caption-size); font-weight: var(--caption-weight); letter-spacing: var(--caption-ls); text-transform: uppercase; }
.caption--line { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.caption--line::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }

/* ---------- Плитки ---------- */
.tile { border-radius: var(--r-lg); padding: 28px; position: relative; overflow: hidden; text-decoration: none; }
.tile--lime   { background: var(--tile-1); }
.tile--pink   { background: var(--tile-2); }
.tile--sky    { background: var(--tile-3); }
.tile--white  { background: var(--bg-card); border: 1px solid var(--line); }
.tile--orange { background: var(--accent); color: var(--on-accent); }
.tile--ink    { background: var(--c-ink); color: var(--c-cream); }

/* ---------- Плашки и стикеры ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: var(--r-pill); font-size: 14px; font-weight: 700; line-height: 1.2; }
.pill--white { background: var(--c-white); }
.pill--ink { background: var(--c-ink); color: var(--c-cream); }
.pill--lime { background: var(--c-lime); }

.stickers { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sticker { padding: 8px 16px; border-radius: var(--r-pill); font-weight: 700; font-size: 15px; border: 1.5px solid var(--line-strong); }
.sticker:nth-child(odd)  { transform: rotate(-4deg); }
.sticker:nth-child(3n)   { transform: rotate(3deg); }
.sticker--pink   { background: var(--c-pink); }
.sticker--sky    { background: var(--c-sky); }
.sticker--orange { background: var(--c-orange); }
.sticker--white  { background: var(--c-white); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px; border-radius: var(--r-pill); border: 2px solid transparent;
  font-size: var(--btn-size); font-weight: var(--btn-weight); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn--accent { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.btn--accent:hover { transform: translateY(-2px); }
.btn--ghost { background: transparent; border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--c-ink); color: var(--c-cream); }
.btn--sm { min-height: 46px; padding: 0 20px; font-size: 16px; }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.link { background: none; border: 0; padding: 0; font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 3px; cursor: pointer; }

.round-arrow { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--c-white); color: var(--c-ink); flex: none; transition: transform .2s ease; }
.round-arrow--accent { background: var(--accent); }
.round-arrow--ink { background: var(--c-ink); color: var(--c-cream); }
.tile--white .round-arrow { background: var(--c-lime); }
a:hover > .round-arrow { transform: rotate(-45deg); }

/* ---------- Шапка ---------- */
.header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg-page) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header__row { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; text-decoration: none; display: inline-flex; align-items: flex-end; gap: 3px; }
.logo__dot { width: 11px; height: 11px; border-radius: 50%; background: var(--accent); margin-bottom: 8px; }
.logo--light { color: var(--c-cream); }
.nav { display: flex; gap: 22px; margin-left: 12px; }
.nav a { font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; padding: 6px 0; border-bottom: 3px solid transparent; }
.nav a:hover { border-bottom-color: var(--accent); }
.header__contacts { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.burger { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: var(--c-white); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.burger span { width: 20px; height: 2.5px; background: var(--c-ink); border-radius: 2px; transition: transform .2s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 1180px) {
  .nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gutter) 20px; background: var(--bg-page); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .nav.is-open { display: flex; }
  .nav a { font-size: 20px; font-weight: 700; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .burger { display: inline-flex; }
  .header__contacts { margin-left: auto; }
}
@media (max-width: 640px) {
  .header__phone { display: none; }
  .header__contacts .btn { display: none; }
}

/* ---------- Первый экран ---------- */
.hero { display: grid; gap: 16px; padding-top: 20px; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto auto; }
.hero__main { grid-column: 1 / 8; grid-row: 1 / 3; padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; align-items: flex-start; }
.hero__main .h1 { margin-top: 22px; max-width: 11ch; }
.hero__sub { margin-top: 18px; max-width: 34ch; }
.hero__photo { grid-column: 8 / 13; margin: 0; padding: 0; min-height: 380px; }
.hero__photo .photo, .hero__photo .ill { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__photo-cap { position: absolute; left: 18px; bottom: 18px; }
.hero__mini { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 190px; }
.hero__mini .round-arrow { align-self: flex-end; }
.hero > .hero__mini:nth-child(3) { grid-column: 8 / 10; }
.hero > .hero__mini:nth-child(4) { grid-column: 10 / 13; }

.search { margin-top: 32px; width: 100%; display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 6px; background: var(--c-white); border: 1.5px solid var(--line-strong); border-radius: var(--r-md); padding: 6px; }
.search__field { display: flex; flex-direction: column; justify-content: center; padding: 8px 16px; border-radius: 18px; min-width: 0; }
.search__field + .search__field { border-left: 1px solid var(--line); border-radius: 0 18px 18px 0; }
.search__field .caption { color: var(--text-muted); font-size: 12px; }
.search select { border: 0; background: transparent; font-weight: 700; font-size: 17px; padding: 2px 0; cursor: pointer; appearance: none; width: 100%; background-image: linear-gradient(45deg, transparent 50%, var(--c-ink) 50%), linear-gradient(135deg, var(--c-ink) 50%, transparent 50%); background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 22px; }
.search select:focus { outline: none; }
.search__field:focus-within { background: var(--c-cream); }
.search__btn { border-radius: 18px; }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr 1fr; }
  .hero__main { grid-column: 1 / 3; grid-row: auto; }
  .hero__photo { grid-column: 1 / 3; min-height: 300px; }
  .hero > .hero__mini:nth-child(3) { grid-column: 1 / 2; }
  .hero > .hero__mini:nth-child(4) { grid-column: 2 / 3; }
}
@media (max-width: 640px) {
  .hero > .hero__mini:nth-child(3), .hero > .hero__mini:nth-child(4) { grid-column: 1 / 3; min-height: 150px; flex-direction: row; align-items: flex-end; }
  .hero__mini > span:first-child { position: absolute; top: 24px; left: 28px; }
  .hero__mini .h3 { padding-top: 34px; }
  .search { grid-template-columns: 1fr; border-radius: var(--r-md); }
  .search__field + .search__field { border-left: 0; border-top: 1px solid var(--line); border-radius: 0; }
  .search__btn { width: 100%; }
  .hero__photo { min-height: 240px; }
}

/* ---------- Секции ---------- */
.section { margin-top: var(--gap-section); }
.section--tight { margin-top: calc(var(--gap-section) * .6); }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section__lead { max-width: 38ch; color: var(--text-muted); }

/* ---------- Каталог ---------- */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); border: 1.5px solid var(--line-strong); background: transparent; font-weight: 700; font-size: 15px; cursor: pointer; transition: background-color .15s; }
.chip:hover { background: var(--c-white); }
.chip.is-active { background: var(--c-ink); color: var(--c-cream); }
@media (max-width: 640px) {
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 24px; padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__media { position: relative; aspect-ratio: 16 / 10; background: var(--c-sky); margin: 8px 8px 0; border-radius: calc(var(--r-lg) - 8px); overflow: hidden; }
.card__media .ill { width: 100%; height: 100%; }
.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__media .photo { transition: transform .4s ease; }
.card:hover .card__media .photo { transform: scale(1.04); }
.card__link { text-decoration: none; }
.card__link:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.logo img { height: 52px; width: auto; }
.logo--light img { height: 64px; }
.card__badges { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; gap: 6px; flex-wrap: wrap; }
.card__body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__place { display: flex; gap: 6px; align-items: flex-start; color: var(--text-muted); font-size: 14px; line-height: 1.35; }
.card__place .ico { width: 16px; height: 16px; margin-top: 1px; }
.card__meta { display: flex; gap: 6px; flex-wrap: wrap; }
.card__meta .pill { background: var(--c-cream); border: 1px solid var(--line); font-size: 13px; padding: 5px 11px; }
.card__foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px dashed var(--line); }
.card__price { font-weight: 700; font-size: 22px; line-height: 1.1; white-space: nowrap; }
.card__price small { display: block; font-size: 12px; font-weight: 700; color: var(--text-muted); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 3px; }
.card__price--ask { font-size: 17px; }
.card__foot { flex-wrap: wrap; }
.card .btn { min-height: 48px; padding: 0 18px; font-size: 16px; flex: 1 0 auto; }
.empty { margin-top: 24px; font-size: 18px; }

/* ---------- Направления ---------- */
.dirs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dir { display: flex; flex-direction: column; gap: 8px; min-height: 200px; padding: 26px; }
.dir__note { color: var(--text-muted); font-size: 15px; max-width: 22ch; }
.dir .round-arrow { margin-top: auto; align-self: flex-end; }
.extras { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; margin-top: 16px; }
.extra { display: flex; flex-direction: column; gap: 10px; min-height: 220px; padding: 32px; }
.extra .h3 { font-size: clamp(22px, 2.3vw, 34px); max-width: 18ch; }
.extra__note { opacity: .85; max-width: 32ch; }
.extra .round-arrow { position: absolute; right: 24px; bottom: 24px; }
@media (max-width: 1000px) { .dirs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .dirs { gap: 10px; }
  .dir { min-height: 150px; padding: 20px; }
  .dir .round-arrow { width: 40px; height: 40px; }
  .dir .h3 { font-size: 18px; }
  .dir__note { font-size: 13px; }
  .extras { grid-template-columns: 1fr; }
  .extra { padding: 26px 26px 88px; }
}

/* ---------- О нас ---------- */
.about { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.about__item { min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.about__num { font-weight: 700; font-size: 15px; display: inline-flex; width: max-content; padding: 6px 12px; border-radius: var(--r-pill); border: 1.5px solid var(--line-strong); }
@media (max-width: 1000px) { .about { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .about { grid-template-columns: 1fr; } .about__item { min-height: 0; } }

/* ---------- Как забронировать ---------- */
.how { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; padding: clamp(32px, 5vw, 64px); align-items: center; }
.how__intro .h2 { margin-top: 14px; max-width: 12ch; }
.how__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.how__steps li { background: color-mix(in srgb, var(--c-cream) 8%, transparent); border: 1px solid color-mix(in srgb, var(--c-cream) 18%, transparent); border-radius: var(--r-md); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.how__steps b { font-size: 19px; font-weight: 700; margin-top: 18px; }
.how__steps span:last-child { opacity: .8; font-size: 15px; }
.how__n { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--c-ink); display: grid; place-items: center; font-weight: 700; font-size: 18px; }
@media (max-width: 1000px) { .how { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .how__steps { grid-template-columns: 1fr; } .how__steps b { margin-top: 10px; } }

/* ---------- Новости ---------- */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.news__item { display: flex; flex-direction: column; gap: 40px; min-height: 220px; justify-content: space-between; }
.news__item time { font-weight: 700; font-size: 14px; display: inline-block; width: max-content; padding: 6px 12px; border-radius: var(--r-pill); background: var(--c-lime); }
.news__item .h3 { font-size: 21px; }
@media (max-width: 1000px) { .news { grid-template-columns: 1fr; } .news__item { min-height: 0; gap: 18px; } }

/* ---------- Заявка ---------- */
.request { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; padding: clamp(28px, 5vw, 64px); }
.request__intro .h2 { margin: 14px 0 18px; max-width: 12ch; }
.request__phone { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-weight: 700; font-size: 22px; text-decoration: none; }
.request__form { background: var(--c-white); border: 1.5px solid var(--line-strong); border-radius: var(--r-md); padding: 24px; }
@media (max-width: 1000px) { .request { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .request__form { padding: 18px; margin: 0 -10px; } }

/* ---------- Форма ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field .caption { font-size: 12px; color: var(--text-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--r-sm);
  border: 1.5px solid color-mix(in srgb, var(--c-ink) 28%, transparent); background: var(--c-cream);
  font-size: 17px; transition: border-color .15s, background-color .15s;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-ink); background: var(--c-white); }
.field input.is-invalid { border-color: var(--c-ink); background: var(--error-bg); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--c-ink); }
.check a { text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 2px; }
.form__error { margin: 0; padding: 12px 16px; border-radius: var(--r-sm); background: var(--error-bg); color: var(--error-text); font-weight: 700; font-size: 15px; }
.form__done { text-align: center; padding: 36px 12px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.form__done p { margin: 0; }
.form__done-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--c-lime); display: grid; place-items: center; margin-bottom: 10px; border: 1.5px solid var(--line-strong); }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* ---------- Партнёры ---------- */
.partners { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.partners li { padding: 10px 16px; border-radius: var(--r-pill); background: var(--c-white); border: 1px solid var(--line); font-weight: 700; font-size: 15px; }

/* ---------- Подвал ---------- */
.footer { margin-top: var(--gap-section); background: var(--c-ink); color: var(--c-cream); padding: 64px 0 28px; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; }
.footer .caption { opacity: .7; margin-bottom: 12px; }
.footer__note { opacity: .8; max-width: 30ch; font-size: 15px; }
.footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer__list a { text-decoration: none; }
.footer__list a:hover, .footer__bottom a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.socials { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.socials a { padding: 8px 14px; border-radius: var(--r-pill); border: 1.5px solid color-mix(in srgb, var(--c-cream) 40%, transparent); text-decoration: none; font-weight: 700; font-size: 14px; }
.socials a:hover { background: var(--accent); color: var(--c-ink); border-color: var(--accent); }
.footer__bottom { display: flex; gap: 8px 24px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid color-mix(in srgb, var(--c-cream) 18%, transparent); font-size: 14px; opacity: .75; }
.footer__bottom a { text-decoration: none; }
@media (max-width: 1000px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Модалка ---------- */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: color-mix(in srgb, var(--c-ink) 55%, transparent); backdrop-filter: blur(4px); animation: fade .2s ease; }
.modal__panel { position: relative; width: min(640px, 100%); max-height: calc(100dvh - 32px); overflow: auto; background: var(--c-white); border: 1.5px solid var(--line-strong); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow); animation: pop .25s cubic-bezier(.16,1,.3,1); }
.modal__title { margin: 8px 0 22px; font-size: clamp(24px, 3vw, 32px); padding-right: 48px; }
.modal__close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--c-cream); cursor: pointer; display: grid; place-items: center; }
@media (max-width: 640px) {
  .modal { padding: 0; place-items: end stretch; }
  .modal__panel { width: 100%; border-radius: var(--r-lg) var(--r-lg) 0 0; padding: 26px 18px 22px; border-bottom: 0; max-height: 94dvh; }
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ================= v3: блоки как на a-deti.ru ================= */
.topbar { background: var(--c-ink); color: var(--c-cream); font-size: 13px; }
.topbar__row { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; }
.topbar nav { display: flex; gap: 20px; }
.topbar a { text-decoration: none; opacity: .85; }
.topbar a:hover { opacity: 1; text-decoration: underline; text-decoration-color: var(--accent); }
@media (max-width: 760px) { .topbar nav { display: none; } .topbar__row { justify-content: center; } }

.nav { gap: 18px; }
.nav a { font-size: 14px; }
@media (max-width: 1440px) and (min-width: 1181px) { .header__phone { display: none; } }
.btn { white-space: nowrap; }

.card__type { font-size: 13px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; }
.card__body .h3 { font-size: 22px; }
.card__place { margin: 0; }

.hits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hit { position: relative; display: block; aspect-ratio: 3 / 2; border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: var(--c-white); background: var(--c-ink); }
.hit .photo { transition: transform .4s ease; }
.hit:hover .photo { transform: scale(1.05); }
.hit::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, color-mix(in srgb, var(--c-ink) 88%, transparent)); }
.hit__badge { position: absolute; top: 16px; left: 16px; z-index: 1; background: var(--accent); color: var(--c-ink); }
.hit__title { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; font-weight: 700; font-size: 21px; line-height: 1.2; }
@media (max-width: 1000px) { .hits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .hits { grid-template-columns: 1fr; } }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tags a { padding: 9px 16px; border-radius: var(--r-pill); background: var(--c-white); border: 1px solid var(--line); font-weight: 700; font-size: 14px; text-decoration: none; }
.tags a:hover { border-color: var(--line-strong); }

.btn--ink { background: var(--c-ink); color: var(--c-cream); }
.btn--ink:hover { transform: translateY(-2px); }
.avia { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: clamp(28px, 4vw, 52px); flex-wrap: wrap; }
.avia__title { margin: 16px 0 12px; }
.avia__text { margin: 0; max-width: 52ch; font-size: 18px; }
.avia .pill { gap: 8px; }
.avia__btns { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 640px) { .avia__btns, .avia__btns .btn { width: 100%; } }

.section__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.news__item { padding: 0; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; gap: 0; justify-content: flex-start; }
.news__img { position: relative; aspect-ratio: 16 / 10; margin: 8px 8px 0; border-radius: calc(var(--r-lg) - 8px); overflow: hidden; }
.news__body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.news__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.news__more .ico { width: 18px; height: 18px; }
@media (max-width: 1000px) and (min-width: 641px) { .news { grid-template-columns: repeat(2, 1fr); } }

.about { grid-template-columns: repeat(3, 1fr); }
.about__item { min-height: 0; flex-direction: row; align-items: center; justify-content: flex-start; gap: 18px; padding: 22px 24px; }
.about__item p { margin: 0; font-weight: 700; font-size: 17px; line-height: 1.3; }
.about__logo { width: 76px; height: 64px; flex: none; display: grid; place-items: center; }
.about__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.about__num { flex: none; }
@media (max-width: 1000px) { .about { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .about { grid-template-columns: 1fr; } }

.reviews { display: grid; grid-template-columns: 320px 1fr; gap: 16px; align-items: start; }
.reviews__side { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 100px; }
.rating { display: flex; flex-direction: column; gap: 14px; }
.rating__row { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 16px; border-radius: var(--r-sm); background: color-mix(in srgb, var(--c-cream) 10%, transparent); font-weight: 700; }
.rating__row b { font-size: 30px; font-weight: 700; }
.rating__row small { font-size: 15px; opacity: .7; }
.reviews__list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.review { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.review header { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.review header b { font-size: 17px; font-weight: 700; }
.review p { margin: 0; font-size: 16px; }
.review footer { margin-top: auto; display: flex; justify-content: space-between; font-size: 13px; color: var(--text-muted); font-weight: 700; }
.stars { display: inline-flex; gap: 1px; color: var(--accent); flex: none; }
.stars .ico { width: 16px; height: 16px; }
@media (max-width: 1000px) { .reviews { grid-template-columns: 1fr; } .reviews__side { position: static; } }
@media (max-width: 640px) { .reviews__list { grid-template-columns: 1fr; } }

.partners { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.partners li { height: 112px; padding: 16px; display: grid; place-items: center; border-radius: var(--r-md); }
.partners img { max-width: 100%; max-height: 72px; object-fit: contain; }
@media (max-width: 1000px) { .partners { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .partners { grid-template-columns: repeat(2, 1fr); } .partners li { height: 96px; } }

.map { display: grid; grid-template-columns: 400px 1fr; gap: 16px; }
.map__card { display: flex; flex-direction: column; gap: 20px; }
.map__row { display: flex; gap: 14px; }
.map__row .ico { margin-top: 2px; color: var(--c-ink); }
.map__row .caption { font-size: 12px; color: var(--text-muted); }
.map__row p { margin: 4px 0 0; font-weight: 700; }
.map__row a { text-decoration: none; }
.map__frame { padding: 0; min-height: 420px; }
.map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__fallback { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 18px; text-align: center; padding: 24px; }
@media (max-width: 1000px) { .map { grid-template-columns: 1fr; } .map__frame { min-height: 320px; } }

.checks { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 10px; font-weight: 700; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .ico { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--c-ink); color: var(--c-lime); flex: none; }

.footer__badge { display: inline-block; margin: 6px 0 0; padding: 10px 14px; border-radius: var(--r-sm); border: 1px solid color-mix(in srgb, var(--c-cream) 25%, transparent); font-size: 14px; font-weight: 700; }
.footer__phone { font-weight: 700; font-size: 20px; }
.footer__muted { opacity: .7; font-size: 14px; }

/* ================= Страница тура ================= */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 18px; font-size: 14px; color: var(--text-muted); }
.crumbs a { text-decoration: none; font-weight: 700; color: var(--text); }
.crumbs a:hover { text-decoration: underline; text-decoration-color: var(--accent); }

.tour-hero { display: grid; grid-template-columns: 1fr 1.25fr; gap: 32px; padding-top: 22px; align-items: start; }
.tour-hero__pills { display: flex; gap: 8px; flex-wrap: wrap; }
.tour-hero__title { margin-top: 18px; }
.tour-hero__sub { margin-top: 14px; max-width: 30ch; }
.tour-hero__place { display: flex; gap: 8px; align-items: center; margin: 18px 0 0; font-weight: 700; }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.facts li { padding: 18px 20px; border-radius: var(--r-md); display: flex; flex-direction: column; gap: 2px; }
.facts b { font-size: 28px; font-weight: 700; line-height: 1.1; }
.facts span { font-size: 15px; }

.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; aspect-ratio: 16 / 10.5; }
.mosaic__item { position: relative; padding: 0; border: 0; border-radius: var(--r-md); overflow: hidden; cursor: zoom-in; background: var(--c-sky); }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.mosaic__item:hover img { transform: scale(1.05); }
.mosaic__item--big { grid-row: 1 / 3; border-radius: var(--r-lg); }
.mosaic__item--more span { position: absolute; inset: 0; display: grid; place-items: center; background: color-mix(in srgb, var(--c-ink) 55%, transparent); color: var(--c-white); font-weight: 700; font-size: 18px; }
@media (max-width: 1000px) { .tour-hero { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto; aspect-ratio: auto; }
  .mosaic__item { aspect-ratio: 4 / 3; }
  .mosaic__item--big { grid-column: 1 / 3; grid-row: auto; aspect-ratio: 4 / 3; }
  .mosaic__item:nth-child(3), .mosaic__item:nth-child(4) { display: none; }
  .facts b { font-size: 24px; }
}

.tour-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; margin-top: 64px; align-items: start; }
.tour-main { min-width: 0; }
.tabs { position: sticky; top: 77px; z-index: 5; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 10px 0; background: var(--bg-page); border-bottom: 1px solid var(--line); }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: none; padding: 9px 16px; border-radius: var(--r-pill); text-decoration: none; font-weight: 700; font-size: 14px; border: 1.5px solid transparent; }
.tabs a:hover { border-color: var(--line); }
.tabs a.is-active { background: var(--c-ink); color: var(--c-cream); }

.t-sec { padding-top: 64px; scroll-margin-top: 140px; }
.t-sec > .h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 18px; }
.t-sec p { max-width: 70ch; margin: 0 0 14px; }
.t-lead { font-size: 20px; font-weight: 700; line-height: 1.45; }
.t-sub { margin: 28px 0 12px; }
.t-sec__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.t-sec__head .h2 { font-size: clamp(28px, 3vw, 40px); }

.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 22px; }
.strip button, .gallery button { padding: 0; border: 0; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; background: var(--c-sky); }
.strip img, .gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.strip button:hover img, .gallery button:hover img { transform: scale(1.06); }
@media (max-width: 640px) { .strip { grid-template-columns: 1fr 1fr; } }

.checks--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; font-weight: 400; }
@media (max-width: 640px) { .checks--grid { grid-template-columns: 1fr; } }
.infra { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.infra li { padding: 18px 20px; border-radius: var(--r-md); font-weight: 700; }
@media (max-width: 640px) { .infra { grid-template-columns: 1fr; } }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.duo .tile { padding: 24px; }
.duo p { margin: 8px 0 0; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }
.program-banner { display: flex; flex-direction: column; gap: 10px; padding: 32px; }
.program-banner p { margin: 0; }
.points { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.points li { padding: 16px 20px 16px 48px; border-radius: var(--r-md); background: var(--c-white); border: 1px solid var(--line); position: relative; }
.points li::before { content: ""; position: absolute; left: 20px; top: 22px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.transfer { display: grid; grid-template-columns: 1fr 1.3fr; gap: 28px; padding: 32px; }
.transfer__route { margin-top: 8px; }
.transfer__price { font-size: 40px; font-weight: 700; margin: 12px 0 0; }
.transfer .checks { margin-top: 12px; font-weight: 400; }
@media (max-width: 760px) { .transfer { grid-template-columns: 1fr; } }
.docs { margin: 12px 0 0; padding-left: 22px; display: grid; gap: 8px; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .gallery { grid-template-columns: 1fr 1fr; } }

.tour-aside { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 12px; }
.shifts { padding: 24px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow); }
.shifts__from { margin: 4px 0 0; font-size: 34px; font-weight: 700; line-height: 1.1; }
.shifts__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.shift { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "r n p" "r d p"; gap: 2px 12px; align-items: center; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); cursor: pointer; transition: border-color .15s, background-color .15s; }
.shift input { grid-area: r; width: 20px; height: 20px; margin: 0; accent-color: var(--c-ink); }
.shift__name { grid-area: n; font-weight: 700; }
.shift__dates { grid-area: d; font-size: 14px; color: var(--text-muted); }
.shift__price { grid-area: p; font-weight: 700; font-size: 18px; white-space: nowrap; }
.shift:has(input:checked) { border-color: var(--c-ink); background: var(--c-lime); }
.shifts__note { margin: 0; font-size: 14px; color: var(--text-muted); }
.aside-phone { display: flex; flex-direction: column; gap: 4px; padding: 20px 24px; }
.aside-phone b { font-size: 22px; }
@media (max-width: 1000px) {
  .tour-layout { grid-template-columns: 1fr; margin-top: 40px; }
  .tour-aside { position: static; order: -1; }
  .tabs { top: 76px; }
}

.buybar { display: none; }
@media (max-width: 1000px) {
  .buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: var(--c-white); border-top: 1px solid var(--line); box-shadow: var(--shadow); }
  .buybar small { display: block; font-size: 12px; color: var(--text-muted); font-weight: 700; }
  .buybar b { font-size: 20px; font-weight: 700; }
  .tour ~ .footer, .tour + .footer { padding-bottom: 100px; }
}

.lightbox { position: fixed; inset: 0; z-index: 60; background: color-mix(in srgb, var(--c-ink) 94%, transparent); display: grid; place-items: center; padding: 56px 72px; }
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: 100%; max-height: calc(100dvh - 112px); object-fit: contain; border-radius: var(--r-sm); }
.lightbox__close, .lightbox__nav { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--c-cream); color: var(--c-ink); display: grid; place-items: center; cursor: pointer; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--prev .ico { transform: rotate(180deg); }
.lightbox__nav--next { right: 16px; }
.lightbox__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: var(--c-cream); font-weight: 700; }
@media (max-width: 640px) { .lightbox { padding: 64px 8px; } .lightbox__nav { top: auto; bottom: 10px; transform: none; width: 46px; height: 46px; } .lightbox__count { bottom: 24px; } }

/* ================= v2: спокойные сочетания ================= */
/* текст на цветных плитках — тёмный оттенок того же цвета */
.tile--sky   { color: var(--on-sky);  --text-muted: color-mix(in srgb, var(--on-sky) 82%, var(--c-sky)); }
.tile--lime  { color: var(--on-lime); --text-muted: color-mix(in srgb, var(--on-lime) 85%, var(--c-lime)); }
.tile--pink  { color: var(--on-pink); --text-muted: color-mix(in srgb, var(--on-pink) 82%, var(--c-pink)); }
.tile--orange{ background: var(--c-peach); color: var(--on-peach); --text-muted: var(--on-peach); }
.tile--ink   { --text-muted: color-mix(in srgb, var(--c-cream) 80%, var(--c-ink)); }
.sticker--pink   { color: var(--on-pink); }
.sticker--sky    { color: var(--on-sky); }
.sticker--orange { color: var(--on-accent); }
.sticker--white  { color: var(--text); }
.sticker { border-color: transparent; font-weight: 700; }
.sticker--white { border-color: var(--line-strong); }
.pill--lime { color: var(--on-lime); }
.round-arrow { color: var(--c-ink); }
.round-arrow--accent { color: var(--on-accent); }
.tile--sky .round-arrow, .tile--lime .round-arrow, .tile--pink .round-arrow { background: var(--c-white); }
.hit__badge { color: var(--on-accent); }
.how__n { color: var(--on-accent); }
.checks .ico { background: var(--c-ink); color: var(--c-white); }
.tile--lime .checks .ico, .tile--lime.checks .ico { background: var(--on-lime); color: var(--c-lime); }
.tile--sky .checks .ico { background: var(--on-sky); color: var(--c-sky); }
.avia .pill--ink { background: var(--on-peach); color: var(--c-peach); }
.avia .btn--ink { background: var(--on-peach); color: var(--c-white); }
.avia .btn--ghost { border-color: color-mix(in srgb, var(--on-peach) 45%, transparent); color: var(--on-peach); }
.request__form { border-color: transparent; box-shadow: var(--shadow); }
.search { border-color: transparent; box-shadow: var(--shadow); }
.facts b, .shifts__from, .transfer__price { font-weight: 700; }
.shift:has(input:checked) { border-color: var(--on-lime); color: var(--on-lime); }
.shift:has(input:checked) .shift__dates { color: var(--on-lime); }
.shift input { accent-color: var(--on-lime); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--c-ink); }
.h1, .h2 { letter-spacing: -0.01em; }

/* v2: партнёры — просто логотипы, без плашек. multiply убирает белый фон картинок на кремовом */
.partners { gap: 28px 40px; align-items: center; }
.partners li { background: none; border: 0; padding: 0; height: 96px; border-radius: 0; }
.partners img { max-height: 80px; mix-blend-mode: multiply; }
@media (max-width: 640px) { .partners { gap: 20px 24px; } .partners li { height: 80px; } .partners img { max-height: 64px; } }

/* ================= v3: дизайнерская чистка ================= */
/* браузерные поверхности — в палитре */
::selection { background: var(--c-lime); color: var(--on-lime); }
html { scrollbar-color: color-mix(in srgb, var(--c-ink) 35%, transparent) transparent; accent-color: var(--c-ink); }
input, textarea { caret-color: var(--c-ink); }
a { text-underline-offset: 3px; }
:focus-visible { outline-color: var(--c-ink); }
.ico { stroke-width: 2; }

/* подписи — обычным регистром, без «капса с разрядкой» */
.caption { text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 700; }
.field .caption { font-size: 14px; color: var(--text); }
.footer .caption { font-size: 15px; opacity: .75; }
.map__row .caption { font-size: 13px; color: var(--text-muted); font-weight: 400; }

/* приглушённый текст — контраст не ниже 4,5:1 */
:root { --text-muted: color-mix(in srgb, var(--c-slate) 82%, var(--c-cream)); }
.tile--ink { --text-muted: color-mix(in srgb, var(--c-cream) 90%, var(--c-ink)); }

/* селекты — нарисованная стрелка вместо градиентного треугольника */
.search select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%231F4E6E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 18px; background-position: right 0 center; padding-right: 26px;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%233A4350' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 18px; background-position: right 14px center; padding-right: 42px; }

/* первый экран */
.hero__main .h1 { margin-top: 0; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.quick button { min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid color-mix(in srgb, var(--on-lime) 30%, transparent); background: color-mix(in srgb, var(--c-white) 55%, transparent); color: var(--on-lime); font-weight: 700; font-size: 15px; cursor: pointer; transition: background-color .15s; }
.quick button:hover { background: var(--c-white); }
.hero__reg { display: flex; align-items: center; gap: 8px; margin: auto 0 0; padding-top: 28px; font-size: 14px; color: var(--text-muted); }
.hero__reg .ico { width: 18px; height: 18px; }
.hero__mini { justify-content: flex-start; gap: 8px; }
.hero__mini-text { font-size: 15px; color: var(--text-muted); }
.more-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; }
.more-link .ico { width: 18px; height: 18px; transition: transform .2s ease; }
a:hover .more-link .ico { transform: translateX(4px); }
.tile--ink .more-link { color: var(--c-cream); }
@media (max-width: 640px) {
  .hero > .hero__mini:nth-child(3), .hero > .hero__mini:nth-child(4) { flex-direction: column; align-items: flex-start; min-height: 0; }
  .hero__mini > span:first-child { position: static; }
  .hero__mini .h3 { padding-top: 0; }
  .more-link { margin-top: 10px; }
}

/* авиабилет */
.avia__title { display: flex; align-items: center; gap: 14px; margin-top: 0; }
.avia__ico { width: clamp(28px, 3vw, 40px); height: clamp(28px, 3vw, 40px); flex: none; }
.avia .btn--ghost:hover { background: var(--on-peach); color: var(--c-peach); }

/* о нас — список, а не сетка одинаковых карточек */
.about-sec { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: start; }
.about-sec .section__head { margin: 0; position: sticky; top: 110px; }
.about { list-style: none; margin: 0; padding: 0; display: block; }
.about li { display: flex; align-items: center; gap: 22px; padding: 20px 0; border-top: 1px solid var(--line); }
.about li:last-child { border-bottom: 1px solid var(--line); }
.about p { margin: 0; font-size: 19px; line-height: 1.4; }
.about__logo { width: 72px; height: 48px; flex: none; display: grid; place-items: center; }
.about__logo img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.about__icon { width: 72px; flex: none; display: grid; place-items: center; color: var(--c-ink); }
.about__icon .ico { width: 30px; height: 30px; }
@media (max-width: 900px) { .about-sec { grid-template-columns: 1fr; gap: 20px; } .about-sec .section__head { position: static; } .about p { font-size: 17px; } .about li { gap: 16px; } .about__logo, .about__icon { width: 56px; } }

/* галочки — линия в тон, без заливки кружком */
.checks .ico, .tile--lime .checks .ico, .tile--sky .checks .ico { background: none; padding: 0; width: 20px; height: 20px; margin-top: 2px; color: var(--c-ink); }
.tile--lime .checks .ico { color: var(--on-lime); }
.tile--sky .checks .ico { color: var(--on-sky); }
.checks { font-weight: 400; }

/* социальные ссылки и прочие hover */
.socials a:hover { color: var(--on-accent); }
.btn--ghost:hover { background: var(--c-ink); color: var(--c-white); border-color: var(--c-ink); }
.modal__panel { animation: pop .3s cubic-bezier(.16, 1, .3, 1); border: 0; }
.modal__title { margin-top: 0; }

/* страница тура */
.tour-hero__title { margin-top: 0; }
.tour-hero__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 16px 0 0; font-weight: 700; color: var(--c-ink); }
.tour-hero__meta span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); margin: 0 18px 3px -10px; vertical-align: middle; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; margin: 28px 0 0; }
.facts div { padding: 14px 0; border-top: 1px solid var(--line); }
.facts dt { font-size: 14px; color: var(--text-muted); }
.facts dd { margin: 2px 0 0; font-size: 20px; font-weight: 700; color: var(--c-ink); }
.duo { gap: 28px; }
.duo__item { padding-top: 18px; border-top: 1px solid var(--line); }
.duo__title { display: flex; align-items: center; gap: 10px; font-size: 20px; margin-bottom: 8px; }
.duo__title .ico { color: var(--c-ink); }
.program-banner p.h3 { font-size: clamp(20px, 2vw, 26px); }
.transfer__route { font-size: 18px; margin: 6px 0 0; }
.transfer__inc { margin: 0; font-weight: 700; }
.transfer__price { color: var(--on-sky); }
.shifts__head .h3 { font-size: 18px; }
.aside-phone { margin: 0; padding: 0 6px; font-size: 15px; color: var(--text-muted); }
.aside-phone a { display: block; margin-top: 2px; font-size: 20px; font-weight: 700; color: var(--c-ink); text-decoration: none; }
.mosaic__item--more span { background: color-mix(in srgb, var(--c-ink) 72%, transparent); }
.tabs a.is-active { background: var(--c-ink); color: var(--c-white); }
.card__type { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 14px; order: 2; }
.card__body .h3 { order: 1; }
.card__place { order: 3; }
.card__meta { order: 4; }
.card__foot { order: 5; }
.card__price small { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 13px; }
.rating .caption { color: var(--c-cream); opacity: .85; }
@media (max-width: 640px) { .avia__title { flex-direction: column; align-items: flex-start; gap: 10px; } }
.tile--lime { --text-muted: var(--on-lime); }
.rating__row { background: color-mix(in srgb, var(--c-white) 8%, transparent); color: var(--c-white); }
.rating__row small { opacity: 1; }

/* ================= v4: taste / Refactoring UI / движение ================= */
/* — линии заменены шагом тона и воздухом — */
.header { border-bottom: 0; backdrop-filter: none; background: var(--bg-page); }
.tabs { border-bottom: 0; background: var(--bg-page); }
.card, .news__item, .review, .tile--white, .map__card, .tags a, .chip, .partners li { border: 0; }
.card__foot { border-top: 0; padding-top: 6px; }
.card__meta .pill { border: 0; background: var(--tone-1); }
.tags a { background: var(--c-white); }
.about li, .about li:last-child { border: 0; padding: 14px 0; }
.about { display: grid; gap: 4px; }
.facts div { border-top: 0; padding: 12px 16px; background: var(--c-white); border-radius: var(--r-sm); }
.facts { gap: 8px; }
.duo__item { border-top: 0; padding: 22px 24px; background: var(--c-white); border-radius: var(--r-md); }
.footer__bottom { border-top: 0; }
.shift { border: 0; background: var(--tone-1); }
.shifts { border: 0; }
.socials a { border: 0; background: color-mix(in srgb, var(--c-white) 12%, transparent); }
.btn--ghost { border-width: 1.5px; }

/* — тени только у того, что парит (модалка, плашка снизу) — */
.search, .request__form, .shifts, .card:hover { box-shadow: none; }
.card:hover { transform: none; }

/* — Refactoring UI: иерархия — */
/* заголовки секций не длиннее двух строк на телефоне */
@media (max-width: 640px) { .section > .section__head .h2, .t-sec > .h2 { font-size: 28px; line-height: 1.1; } }
/* цена — главное в подвале карточки, подпись — тише */
.card__price { font-size: 24px; color: var(--c-ink); }
.card__price small { color: var(--text-muted); }
/* описание в карточке короче и тише, название — сильнее */
.card__body .h3 { font-size: 21px; color: var(--c-ink); }
/* межстрочный в длинном тексте и ширина строки */
.t-sec p { line-height: 1.6; max-width: 66ch; }
/* одинаковый отступ заголовка от контента во всех секциях */
.section__head { margin-bottom: 28px; }
/* отзывы: имя выделить, дату и источник приглушить */
.review footer { color: var(--text-muted); font-weight: 400; }

/* — движение: только transform/opacity, ease-out, < 300 мс в интерфейсе — */
.btn, .chip, .quick button, .tabs a, .shift, .round-arrow, .more-link .ico, .strip img, .gallery img, .mosaic__item img, .hit .photo {
  transition-timing-function: var(--ease-out);
}
.btn { transition: transform var(--dur-press) var(--ease-out), background-color var(--dur-hover) ease, color var(--dur-hover) ease; }
.btn:active, .quick button:active, .chip:active { transform: scale(0.97); }
.btn--accent:hover, .btn--ink:hover { transform: none; }
@media (hover: hover) and (pointer: fine) {
  .btn--accent:hover { background: color-mix(in srgb, var(--accent) 88%, var(--on-accent)); }
  .card .card__media .photo { transition: transform 500ms var(--ease-out); }
  .card:hover .card__media .photo { transform: scale(1.03); }
  .hit:hover .photo, .strip button:hover img, .gallery button:hover img, .mosaic__item:hover img { transform: scale(1.03); }
}
@media (hover: none) { .card:hover .card__media .photo, .hit:hover .photo { transform: none; } }

.modal__backdrop { animation: fade var(--dur-modal) var(--ease-out); backdrop-filter: none; }
.modal__panel { animation: modal-in var(--dur-modal) var(--ease-out); }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(0.97); } }
@media (max-width: 640px) { .modal__panel { animation: sheet-in 320ms cubic-bezier(0.32, 0.72, 0, 1); } @keyframes sheet-in { from { transform: translateY(100%); } } }
.lightbox { animation: fade 200ms var(--ease-out); }
.lightbox__img { animation: lb-in 240ms var(--ease-out); }
@keyframes lb-in { from { opacity: 0; transform: scale(0.97); } }

/* появление секций при прокрутке: контент виден без скрипта; прячется только когда скрипт готов */
html.reveal-on [data-reveal] { opacity: 0; transform: translateY(20px); }
html.reveal-on [data-reveal].is-in { opacity: 1; transform: none; transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }

/* одно «живое» место: фото на первом экране медленно приближается при загрузке */
.hero__photo .photo, .mosaic__item--big img { animation: hero-drift 1600ms var(--ease-out) both; }
@keyframes hero-drift { from { transform: scale(1.06); } }

@media (prefers-reduced-motion: reduce) {
  html.reveal-on [data-reveal] { opacity: 1; transform: none; }
  .hero__photo .photo, .mosaic__item--big img, .modal__panel, .lightbox__img { animation: none; }
}
/* v4b: правки по инспектору */
.hero__main .h1 { font-size: clamp(34px, 5.3vw, 76px); max-width: none; line-height: 1; }
.about-sec .h2 { font-size: clamp(28px, 3vw, 44px); }
@media (max-width: 640px) {
  .section > .section__head .h2, .t-sec > .h2 { font-size: 26px; }
  .avia__title { font-size: 28px; }
  .search__field + .search__field { border-top: 0; }
  .search { gap: 2px; background: var(--tone-1); padding: 4px; }
  .search__field { background: var(--c-white); border-radius: 18px; }
}
.search__field .caption { font-size: 13px; }
.map__addr { font-size: 18px; font-weight: 700; color: var(--on-sky); }
.rating { gap: 10px; }
.hero__main .h1 { font-size: clamp(30px, 4.6vw, 66px); }
.request__intro .h2 { max-width: none; font-size: clamp(26px, 3.2vw, 44px); }
.buybar { border-top: 0; }
.transfer__price { margin-top: 6px; }
.transfer__route { margin-top: 2px; }
.rating__row b { font-size: 26px; }
.review footer { align-items: center; gap: 12px; }
.review footer time { margin-left: auto; }
.review footer span:last-child { min-width: 52px; text-align: right; }
@media (min-width: 1001px) { .tabs { flex-wrap: wrap; overflow: visible; } }
.field input, .field select, .field textarea { border-color: transparent; background-color: var(--tone-1); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--c-ink); background-color: var(--c-white); }
.request__form { background: var(--c-white); }
.points li { border: 0; }
.footer__badge { border: 0; background: color-mix(in srgb, var(--c-white) 10%, transparent); }
.btn--ghost { border-color: transparent; background: var(--c-white); }
.btn--ghost:hover { background: var(--c-ink); color: var(--c-white); }
.avia .btn--ghost { background: color-mix(in srgb, var(--c-white) 60%, transparent); border-color: transparent; }
.quick button { border-color: transparent; }
.about { grid-template-columns: 1fr; }

/* ================= v5: арт-дирекция «Морская открытка» ================= */
body { font-feature-settings: "kern", "liga"; }
.h1, .h2, .tour-hero__title, .avia__title, .hit__title, .shifts__from, .transfer__price, .facts dd, .rating__row b {
  font-family: var(--font-display);
}
.h1, .h2 { letter-spacing: -0.025em; color: var(--c-ink); text-wrap: balance; }
.h3 { letter-spacing: -0.005em; color: var(--c-ink); text-wrap: balance; }
.tile--sky .h1, .tile--sky .h2, .tile--sky .h3 { color: var(--c-ink); }
.tile--ink .h1, .tile--ink .h2, .tile--ink .h3 { color: var(--c-white); }
.tile--pink .h3 { color: var(--on-pink); }
.tile--lime .h2, .tile--lime .h3 { color: var(--c-ink); }
p, li { text-wrap: pretty; }

/* первый экран: море + навигация, без лишнего */
.hero__main .h1 { font-size: clamp(30px, 4.2vw, 58px); line-height: 1.08; }
.hero__sub { color: var(--on-sky); }
.tile--sky { --text-muted: var(--on-sky); }
.quick button { color: var(--c-ink); background: color-mix(in srgb, var(--c-white) 70%, transparent); font-weight: 500; }
.quick button:hover { background: var(--c-white); }
.hero__reg { color: var(--on-sky); }
.hero__mini .h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.2; }
.tile--ink .hero__mini-text, .tile--ink .more-link { color: color-mix(in srgb, var(--c-white) 85%, var(--c-ink)); }
.tile--ink .more-link { color: var(--c-white); }

/* кнопки: коралл + морской текст, капсулы */
.btn { font-weight: 600; letter-spacing: 0; }
.btn--accent { color: var(--c-ink); }
.btn--ink { background: var(--c-ink); color: var(--c-white); }

/* карточки туров */
.card { border-radius: var(--r-lg); }
.card__body .h3 { font-size: 20px; font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; }
.card__price { font-family: var(--font-display); font-weight: 500; font-size: 22px; }
.card__price small { font-family: var(--font); }
.card__meta .pill { font-weight: 500; }
.pill--lime { background: var(--c-lime); color: var(--on-lime); }
.pill--ink { background: var(--c-ink); color: var(--c-white); }
.pill { font-weight: 500; }

/* хиты: подписи на фото крупнее */
.hit__title { font-weight: 500; font-size: clamp(18px, 1.5vw, 21px); letter-spacing: -0.01em; }
.hit::after { background: linear-gradient(transparent, color-mix(in srgb, var(--c-ink) 80%, transparent)); } /* taste-skill-ignore: scrim */

/* авиабилет — песок, морской заголовок */
.avia.tile--orange { background: var(--c-lime); color: var(--on-lime); }
.avia__title { color: var(--c-ink); font-weight: 500; }
.avia__ico { color: var(--c-orange); }
.avia .btn--ink { background: var(--c-ink); color: var(--c-white); }
.avia .btn--ghost { color: var(--c-ink); background: color-mix(in srgb, var(--c-white) 65%, transparent); }
.avia .btn--ghost:hover { background: var(--c-white); color: var(--c-ink); }
.avia__text { color: var(--on-lime); }

/* новости */
.news__item time { background: var(--c-sky); color: var(--on-sky); font-weight: 500; }
.news__item .h3 { font-size: 18px; }

/* о нас: иконки в цвет моря, акцент коралла точечно */
.about__icon { color: var(--c-orange); }
.about p { color: var(--c-slate); }

/* отзывы: рейтинг — море */
.rating { background: var(--c-ink); }
.rating__row b { font-weight: 500; font-size: 24px; }
.stars { color: var(--c-orange); }

/* заявка — песок */
.request.tile--lime { color: var(--on-lime); }
.checks .ico, .tile--lime .checks .ico { color: var(--c-orange); }
.tile--sky .checks .ico { color: var(--on-sky); }

/* подвал — глубокое море, коралловые акценты */
.footer { background: var(--c-ink); }
.topbar { background: var(--c-ink); }
.socials a:hover { background: var(--c-orange); color: var(--c-ink); }

/* поля и фокус */
.field input, .field select, .field textarea { font-size: 16px; }
::selection { background: var(--c-sky); color: var(--c-ink); }

/* страница тура */
.tour-hero__title { font-size: clamp(34px, 5.2vw, 72px); font-weight: 500; letter-spacing: -0.03em; }
.tour-hero__meta { color: var(--c-ink); font-weight: 500; }
.facts div { background: var(--c-white); }
.facts dd { font-weight: 500; font-size: 18px; }
.t-sec > .h2, .t-sec__head .h2 { font-size: clamp(24px, 2.4vw, 34px); }
.t-lead { font-weight: 500; color: var(--c-ink); }
.program-banner .h3 { font-family: var(--font-display); font-weight: 500; color: var(--c-white); }
.points li::before { background: var(--c-orange); }
.shift:has(input:checked) { background: var(--c-sky); color: var(--c-ink); }
.shift:has(input:checked) .shift__dates { color: var(--on-sky); }
.shift input { accent-color: var(--c-ink); }
.shifts__from { font-weight: 500; font-size: 30px; color: var(--c-ink); }
.transfer__price { font-weight: 500; color: var(--c-ink); }
.tabs a { font-weight: 500; }
.duo__title .ico { color: var(--c-orange); }
@media (max-width: 640px) {
  .section > .section__head .h2, .t-sec > .h2, .t-sec__head .h2 { font-size: 22px; line-height: 1.2; }
  .hero__main .h1 { font-size: 28px; }
  .avia__title { font-size: 22px; }
  .about-sec .h2, .request__intro .h2 { font-size: 24px; }
  .tour-hero__title { font-size: 34px; }
}

/* ================= v6: «Свет» — белый минимализм ================= */
body { background: #fff; }
/* поверхности — светлый холодный серый на белом */
.card, .news__item, .review, .tile--white, .map__card, .facts div, .duo__item, .points li, .shifts, .tags a, .btn--ghost { background: var(--bg-card); }
.card__meta .pill, .shift, .field input, .field select, .field textarea { background-color: #fff; }
.request__form .field input, .request__form .field select, .request__form .field textarea, .modal .field input, .modal .field select, .modal .field textarea { background-color: var(--bg-card); }
.request__form { background: #fff; }
.card__media, .news__img { margin: 0; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.card, .news__item { overflow: hidden; }

/* тёмные плашки → светлые */
.topbar { background: var(--bg-card); color: var(--text-muted); }
.topbar a { opacity: 1; }
.header { background: rgba(255,255,255,.96); }
.tile--ink { background: var(--c-sky); color: var(--c-ink); --text-muted: var(--on-sky); }
.tile--ink .h3, .tile--ink .h2 { color: var(--c-ink); }
.tile--ink .more-link, .tile--ink .hero__mini-text { color: var(--on-sky); }
.rating { background: var(--c-sky); color: var(--c-ink); }
.rating__row { background: #fff; color: var(--c-ink); }
.program-banner { background: var(--c-sky); color: var(--c-ink); }
.program-banner .h3 { color: var(--c-ink); }
.pill--ink { background: var(--c-ink); color: #fff; }
.mosaic__item--more span { background: rgba(24,33,45,.55); }
.tabs a.is-active { background: var(--c-ink); color: #fff; }

/* первый экран: белый с голубым полем */
.hero__main.tile--sky { background: var(--c-sky); }
.hero__sub, .hero__reg { color: var(--on-sky); }
.quick button { background: #fff; color: var(--c-ink); }
.quick button:hover { background: var(--c-ink); color: #fff; }

/* акцент — синий, белый текст */
.btn--accent { background: var(--accent); color: #fff; }
@media (hover: hover) and (pointer: fine) { .btn--accent:hover { background: #185FBA; } }
.btn--ink { background: var(--c-ink); color: #fff; }
.avia .btn--ink { background: var(--accent); color: #fff; }
.avia .btn--ghost { background: #fff; color: var(--c-ink); }
.avia__ico, .about__icon, .duo__title .ico, .checks .ico, .tile--lime .checks .ico, .stars { color: var(--accent); }
.points li::before { background: var(--accent); }
.hit__badge, .round-arrow--accent { background: var(--accent); color: #fff; }
.news__item time { background: var(--c-sky); color: var(--on-sky); }
.pill--lime { background: var(--c-sky); color: var(--on-sky); }
.shift:has(input:checked) { background: var(--c-sky); outline: 1.5px solid var(--accent); outline-offset: -1.5px; }
.shift input { accent-color: var(--accent); }
.socials a:hover { background: var(--accent); color: #fff; }
::selection { background: #CFE2FA; color: var(--c-ink); }
:focus-visible { outline-color: var(--accent); }

/* текстовые цвета на светлых полях */
.avia.tile--orange { background: var(--c-lime); color: var(--text); }
.avia__text { color: var(--text-muted); }
.request.tile--lime { background: var(--c-lime); color: var(--text); }
.tile--lime { --text-muted: #5D6877; }
.transfer.tile--sky { background: var(--c-sky); }

/* подвал — светлый */
.footer { background: var(--bg-card); color: var(--text); border-radius: 0; }
.footer .caption { color: var(--text-muted); opacity: 1; }
.footer__note { color: var(--text-muted); opacity: 1; }
.footer__bottom { color: var(--text-muted); opacity: 1; }
.footer__badge { background: #fff; color: var(--text); }
.socials a { background: #fff; color: var(--text); }
.footer__muted { color: var(--text-muted); opacity: 1; }

/* модалка и лайтбокс */
.modal__backdrop { background: rgba(24,33,45,.45); }
.modal__close { background: var(--bg-card); }
.lightbox { background: rgba(255,255,255,.97); }
.lightbox__close, .lightbox__nav { background: var(--bg-card); color: var(--c-ink); }
.lightbox__count { color: var(--text-muted); }

/* мобильная плашка */
.buybar { background: #fff; box-shadow: 0 -8px 24px -16px rgba(24,33,45,.35); }

/* v7: аккуратные радиокнопки вместо системных */
.shift input, .check input[type="checkbox"] { appearance: none; -webkit-appearance: none; margin: 0; flex: none; cursor: pointer; background: #fff; border: 1.5px solid var(--line-strong); transition: border-color var(--dur-hover) ease, box-shadow var(--dur-hover) var(--ease-out); }
.shift input { width: 18px; height: 18px; border-radius: 50%; }
.shift input:checked { border-color: var(--accent); box-shadow: inset 0 0 0 4px #fff; background: var(--accent); }
.shift:hover input:not(:checked) { border-color: var(--text-muted); }
.check input[type="checkbox"] { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; }
.check input[type="checkbox"]:checked { background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--accent); }
.shift:has(input:checked) { outline: 0; background: var(--c-sky); }
.shift { background: #fff; }

/* ================= v8: меню ================= */
.topbar { font-size: 13px; }
.topbar__row { min-height: 34px; }
.topbar a { color: var(--text-muted); }
.topbar a:hover { color: var(--c-ink); text-decoration: none; }
.header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease; }
.header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.header__row { min-height: 72px; gap: 32px; }
.logo img { height: 46px; }
.nav { margin: 0; flex: 1; display: block; }
.nav__main { display: flex; gap: 4px; justify-content: center; }
.nav__main a { position: relative; padding: 10px 12px; border-radius: var(--r-pill); font-size: 15px; font-weight: 500; color: var(--c-ink); text-decoration: none; white-space: nowrap; border: 0; transition: background-color .15s ease; }
.nav__main a:hover { background: var(--bg-card); border: 0; }
.nav__main a.is-current { background: var(--c-sky); color: var(--on-sky); }
.nav__extra { display: none; }
.header__contacts { margin-left: 0; gap: 20px; }
.header__phone { font-weight: 600; font-size: 15px; color: var(--c-ink); }
.header__phone .ico { width: 18px; height: 18px; color: var(--accent); }
/* контакты в шапке на компьютере: телефоны и почта столбиком, каждый с новой строки */
.header__contacts .header__contact-list { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; line-height: 1.3; }
/* второй номер не выделяем: он выглядит точно так же, как первый — тот же размер, вес, цвет и значок трубки */
.header__contacts .header__phone--extra { font-size: inherit; font-weight: inherit; color: inherit; }
/* почта — как телефон: тот же кегль, вес и цвет, тот же значок слева того же размера, правые края строк на одном уровне */
.header__contacts .header__email { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--c-ink); text-decoration: none; white-space: nowrap; }
.header__contacts .header__email .ico { width: 18px; height: 18px; flex: none; color: var(--accent); }
.header__contacts .header__email:hover { color: var(--accent); }
/* элементы выровнены по левому краю: значок фиксированной ширины, текст за ним одной строкой */
.header__contacts .header__contact-list > a { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: center; column-gap: 8px; justify-items: start; text-align: left; }
.header__contacts .header__contact-list > a .ico { width: 18px; height: 18px; flex: none; }
@media (max-width: 1360px) { .header__phone { display: none !important; } .header__contacts .header__contact-list { display: none; } }
@media (max-width: 1180px) and (min-width: 1061px) { .nav__main a { padding: 10px 9px; font-size: 14px; } .header__row { gap: 20px; } }

/* мобильное меню: панель на весь экран под шапкой */
@media (max-width: 1060px) {
  .burger { display: inline-flex; margin-left: 0; border: 0; background: var(--bg-card); width: 46px; height: 46px; }
  .burger span { width: 18px; height: 2px; background: var(--c-ink); }
  .header__row { justify-content: space-between; gap: 12px; }
  .header__contacts { margin-left: auto; }
  .nav { position: fixed; left: 0; right: 0; top: var(--hdr, 72px); bottom: 0; z-index: 39; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 8px var(--gutter) calc(24px + env(safe-area-inset-bottom)); background: #fff; overflow-y: auto; box-shadow: none; border: 0;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s var(--ease-out), transform .25s var(--ease-out), visibility 0s .25s; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s var(--ease-out), transform .25s var(--ease-out); }
  .nav__main { flex-direction: column; gap: 2px; justify-content: flex-start; }
  .nav__main a { font-family: var(--font-display); font-weight: 500; font-size: 22px; padding: 14px 4px; border-radius: 0; border-bottom: 0; }
  .nav__main a:hover { background: none; color: var(--accent); }
  .nav__extra { display: flex; flex-direction: column; gap: 16px; }
  .nav__sub { display: flex; flex-wrap: wrap; gap: 8px; }
  .nav__sub a { padding: 9px 14px; border-radius: var(--r-pill); background: var(--bg-card); font-size: 15px; font-weight: 500; text-decoration: none; color: var(--c-ink); }
  .nav__phone { font-size: 20px; font-weight: 600; color: var(--c-ink); text-decoration: none; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 640px) { .header__contacts { display: none; } .header__row { min-height: 64px; } .logo img { height: 40px; } }

/* меню разделов тура: одна строка, листается пальцем, края мягко гаснут */
.tabs { flex-wrap: nowrap !important; overflow-x: auto !important; gap: 4px; padding: 10px 0; top: 72px; background: rgba(255,255,255,.96); mask-image: linear-gradient(90deg, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); }
.tabs a { padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--text-muted); }
.tabs a:hover { color: var(--c-ink); background: var(--bg-card); border-color: transparent; }
.tabs a.is-active { background: var(--c-sky); color: var(--on-sky); }
@media (max-width: 640px) { .tabs { top: 64px; } }
/* v8b: снимаем старое мобильное меню на 1061–1180 */
@media (min-width: 1061px) {
  .nav { position: static !important; inset: auto; display: block !important; flex-direction: row; padding: 0; background: none; box-shadow: none; border: 0; opacity: 1; visibility: visible; transform: none; }
  .burger { display: none !important; }
  .header__contacts { margin-left: 0; }
  .header__contacts .btn { display: inline-flex !important; }
}
.nav .nav__phone { font-size: 20px; font-weight: 600; padding: 4px 0; border: 0; font-family: var(--font); }
/* контакты в мобильном меню: каждый с новой строки, почта — под телефонами */
.nav .nav__contacts { gap: 10px; }
.nav .nav__contacts .nav__email { font-size: 16px; color: var(--c-ink); text-decoration: none; padding-bottom: 6px; }
.nav .nav__contacts .btn { margin-top: 6px; }
.nav .nav__email { font-size: 15px; font-weight: 400; color: var(--muted); }
.nav .nav__email--mob { display: block; }
.nav .nav__sub a { border: 0; font-family: var(--font); }
.topbar__phone { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--c-ink) !important; }
.topbar__phone .ico { width: 15px; height: 15px; color: var(--accent); }

@media (max-width: 760px) { .topbar { display: none; } }

/* ================= v9: выпадающие списки ================= */
.dd { position: relative; width: 100%; }
.dd__native { position: absolute !important; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.dd__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; cursor: pointer; font: inherit; color: var(--c-ink); }
.dd__value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd__chev { flex: none; display: grid; place-items: center; width: 22px; height: 22px; color: var(--text-muted); transition: transform 200ms var(--ease-out); }
.dd__chev svg { width: 18px; height: 18px; }
.dd.is-open .dd__chev { transform: rotate(180deg); color: var(--accent); }

/* в поиске на первом экране — без рамки, крупно */
.dd--bare .dd__btn { padding: 2px 0; border: 0; background: none; font-size: 17px; font-weight: 600; min-height: 28px; }
/* в форме — как поле ввода */
.field .dd__btn { min-height: 52px; padding: 12px 14px 12px 16px; border-radius: var(--r-sm); border: 1.5px solid transparent; background: #fff; font-size: 16px; font-weight: 500; transition: border-color .15s, background-color .15s; }
.request__form .field .dd__btn, .modal .field .dd__btn { background: var(--bg-card); }
.field .dd__btn:hover { border-color: var(--line-strong); }
.field .dd.is-open .dd__btn, .field .dd__btn:focus-visible { border-color: var(--accent); background: #fff; outline: none; }

/* панель */
.dd__list { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 70; min-width: 220px; max-height: 320px; overflow-y: auto; margin: 0; padding: 6px; list-style: none;
  background: #fff; border-radius: 16px; box-shadow: 0 1px 2px rgba(24,33,45,.06), 0 18px 44px -14px rgba(24,33,45,.28);
  opacity: 0; visibility: hidden; transform: translateY(-4px) scale(.98); transform-origin: top center;
  transition: opacity 150ms var(--ease-out), transform 180ms var(--ease-out), visibility 0s 180ms; scrollbar-width: thin; }
.dd--up .dd__list { top: auto; bottom: calc(100% + 8px); transform-origin: bottom center; transform: translateY(4px) scale(.98); }
.dd.is-open .dd__list { opacity: 1; visibility: visible; transform: none; transition: opacity 150ms var(--ease-out), transform 180ms var(--ease-out); }
.dd__list:focus { outline: none; }
.dd--bare .dd__list { left: -16px; right: -16px; top: calc(100% + 14px); }
.dd--up.dd--bare .dd__list { bottom: calc(100% + 14px); top: auto; }
.dd__opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; padding: 9px 12px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--c-ink); cursor: pointer; line-height: 1.3; }
.dd__opt svg { width: 18px; height: 18px; flex: none; color: var(--accent); opacity: 0; transform: scale(.8); transition: opacity .15s, transform .15s var(--ease-out); }
.dd__opt.is-active { background: var(--bg-card); }
.dd__opt[aria-selected="true"] { color: var(--accent); }
.dd__opt[aria-selected="true"] svg { opacity: 1; transform: none; }
.dd__opt.is-disabled { opacity: .45; cursor: default; }
@media (prefers-reduced-motion: reduce) { .dd__list, .dd__chev, .dd__opt svg { transition: none; } }
/* поиск: поле, в котором открыт список, — над соседями */
.search__field:has(.dd.is-open) { position: relative; z-index: 5; }

/* ================= v10: идеи конкурента ================= */
.header__call { border: 0; background: none; padding: 8px 4px; font: inherit; font-size: 15px; font-weight: 500; color: var(--c-ink); cursor: pointer; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; white-space: nowrap; }
.header__call:hover { text-decoration-color: var(--accent); color: var(--accent); }
@media (max-width: 1240px) { .header__call { display: none; } }

.hero__offer { margin: 14px 0 0; font-size: 16px; color: var(--on-sky); }
.hero__offer b { font-weight: 600; color: var(--c-ink); }
.search__help { margin: 12px 0 0; font-size: 15px; color: var(--on-sky); }
.link-btn { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; color: var(--accent); cursor: pointer; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent); text-underline-offset: 3px; }
.link-btn:hover { text-decoration-color: var(--accent); }
.hero__reg a { color: var(--accent); font-weight: 500; }

.card__next { display: flex; gap: 6px; align-items: center; margin: 0; font-size: 14px; font-weight: 500; color: var(--on-sky); }
.card__next .ico { width: 16px; height: 16px; color: var(--accent); }

.faq__tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.faq__tabs button { min-height: 42px; padding: 0 18px; border: 0; border-radius: var(--r-pill); background: var(--bg-card); font: inherit; font-size: 15px; font-weight: 500; color: var(--c-ink); cursor: pointer; transition: background-color .15s; }
.faq__tabs button:hover { background: var(--tone-1); }
.faq__tabs button[aria-selected="true"] { background: var(--c-ink); color: #fff; }
.faq__list { display: grid; gap: 8px; max-width: 900px; }
.faq details { background: var(--bg-card); border-radius: var(--r-md); }
.faq details[hidden] { display: none; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-family: var(--font-display); font-weight: 500; font-size: 17px; color: var(--c-ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' fill='none' stroke='%231F6FD6' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform 200ms var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 24px 22px; color: var(--text); }
.faq details p { margin: 0 0 10px; max-width: 70ch; }
.faq details ul { margin: 0 0 10px; padding-left: 20px; display: grid; gap: 6px; }
.faq details a { color: var(--accent); }
.faq__note { font-size: 14px; color: var(--text-muted); }
@media (max-width: 640px) { .faq summary { padding: 16px 18px; font-size: 15px; } .faq details > div { padding: 0 18px 18px; } .faq__tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 16px; padding: 0 var(--gutter); scrollbar-width: none; } .faq__tabs button { flex: none; } }


/* =====================================================================
   v16 · баннер-слайдер (из v20)
   ===================================================================== */
.banner { position: relative; margin-top: 20px; }
.banner__track { position: relative; aspect-ratio: 1600 / 446; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(120deg, var(--c-sky), var(--c-pink)); box-shadow: 0 24px 50px -28px rgba(42,91,240,.55); }
.banner__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 600ms var(--ease-out), visibility 0s 600ms; }
.banner__slide.is-active { opacity: 1; visibility: visible; transition: opacity 600ms var(--ease-out); }
.banner__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.banner__nav { position: absolute; top: calc(50% - 11px); translate: 0 -50%; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--c-ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 20px -10px rgba(21,26,61,.5); transition: transform var(--dur-press) var(--ease-out); }
.banner__nav:active { transform: scale(.94); }
.banner__nav--prev { left: 16px; } .banner__nav--prev .ico { transform: rotate(180deg); }
.banner__nav--next { right: 16px; }
.banner__dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.banner__dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 99px; background: #D5D9EE; cursor: pointer; transition: width .3s var(--ease-out), background-color .3s; }
.banner__dots button[aria-current="true"] { width: 28px; background: var(--c-blue); }
@media (max-width: 640px) { .banner__track { border-radius: 16px; } }
.banner__ctrl { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 14px; }
.banner__ctrl .banner__dots { margin: 0; }
.banner .banner__nav { position: static; translate: none; width: 38px; height: 38px; background: #fff; border: 1.5px solid var(--line-strong); box-shadow: none; }
.banner .banner__nav .ico { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) { .banner .banner__nav:hover { border-color: var(--c-blue); color: var(--c-blue); } }
@media (max-width: 640px) { .banner .banner__nav { width: 34px; height: 34px; } }

/* =====================================================================
   v11 · страница лагеря в формате «ВИТА» (как на a-deti.ru/tour/detskiy-sanatoriy-vita/)
   ===================================================================== */
.btn--green { background: var(--c-mintB); color: var(--c-ink); box-shadow: 0 10px 22px -12px rgba(34,196,154,.9); }
@media (hover: hover) and (pointer: fine) { .btn--green:hover { background: #1BB08A; } }

.camp-hero { position: relative; overflow: hidden; padding: 18px 0 28px;
  background:
    radial-gradient(420px 300px at 92% 10%, rgba(255,95,162,.30), transparent 70%),
    radial-gradient(380px 300px at 70% 120%, rgba(34,196,154,.30), transparent 70%),
    linear-gradient(115deg, #FFF2B8 0%, #FFF6D6 34%, #E7EEFF 34.2%, #DCE6FF 62%, #FFE4F0 62.2%, #FFD9EA 100%); }
.camp-hero .crumbs { padding: 0; margin: 0 0 18px; }
.camp-hero__row { display: flex; gap: 32px; align-items: center; justify-content: space-between; }
.camp-hero__kicker { margin: 0 0 8px; font-weight: 800; color: var(--c-blue); font-size: 15px; }
.camp-hero .h1 { font-size: clamp(30px, 3.6vw, 50px); margin: 0; max-width: 20ch; }
.camp-hero__place { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; color: var(--c-slate); font-weight: 600; }
.camp-hero__place .ico { width: 20px; height: 20px; color: var(--c-pinkB); flex: none; margin-top: 2px; }
.camp-hero__place a { color: var(--c-blue); font-weight: 800; white-space: nowrap; }
.camp-hero__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.camp-hero__meta span { padding: 7px 14px; border-radius: var(--r-pill); background: rgba(255,255,255,.85); font-weight: 700; font-size: 14px; color: var(--c-ink); }
.camp-hero__meta .camp-hero__price { background: var(--c-blue); color: #fff; }
.camp-hero__logo { flex: none; width: 260px; padding: 18px 22px; background: #fff; border-radius: var(--r-md); box-shadow: 0 18px 40px -24px rgba(21,26,61,.45); }
.camp-hero__logo img { width: 100%; height: auto; display: block; }
.camp-back { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 800; color: var(--c-ink); text-decoration: none; font-size: 15px; }
.camp-back .ico { width: 18px; height: 18px; }
.camp-back:hover { color: var(--c-blue); }

.camp-media { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; margin-top: 24px; }
.camp-slider { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; background: var(--c-sky); }
.camp-slider__img { display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: zoom-in; background: none; }
.camp-slider__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.camp-slider__nav { position: absolute; top: 50%; translate: 0 -50%; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--c-ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 20px -10px rgba(21,26,61,.5); }
.camp-slider__nav:active { transform: scale(.94); }
.camp-slider__nav--prev { left: 14px; } .camp-slider__nav--prev .ico { transform: rotate(180deg); }
.camp-slider__nav--next { right: 14px; }
.camp-slider__count { position: absolute; left: 16px; bottom: 14px; padding: 5px 12px; border-radius: var(--r-pill); background: rgba(21,26,61,.6); color: #fff; font-weight: 700; font-size: 14px; }
.camp-thumbs { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; }
.camp-thumbs button { position: relative; padding: 0; border: 0; border-radius: var(--r-md); overflow: hidden; cursor: zoom-in; background: var(--c-sky); min-height: 0; }
.camp-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .camp-thumbs button:hover img { transform: scale(1.04); } }
.camp-thumbs__more span { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: rgba(42,91,240,.72); color: #fff; font-weight: 800; font-size: 15px; text-align: center; padding: 8px; }
.camp-thumbs__more .ico { width: 26px; height: 26px; }

.camp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; margin-top: 28px; align-items: start; }
.camp-tabs { position: sticky; top: calc(var(--hdr, 76px) + 8px); z-index: 6; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 6px; border-radius: var(--r-pill); background: var(--c-blue); box-shadow: 0 14px 30px -18px rgba(42,91,240,.9); }
.camp-tabs::-webkit-scrollbar { display: none; }
.camp-tabs a { flex: none; padding: 10px 16px; border-radius: var(--r-pill); color: #fff; text-decoration: none; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; transition: background-color var(--dur-hover) var(--ease-out), color var(--dur-hover); }
.camp-tabs a:hover { background: rgba(255,255,255,.16); }
.camp-tabs a.is-active { background: var(--c-yellow); color: var(--c-ink); }
.camp-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 22px 0 0; }
.camp-facts div { padding: 14px 16px; border-radius: var(--r-md); background: var(--c-lime); }
.camp-facts div:nth-child(2) { background: var(--c-pink); } .camp-facts div:nth-child(3) { background: var(--c-mint); } .camp-facts div:nth-child(4) { background: var(--c-sky); }
.camp-facts dt { font-size: 13px; font-weight: 700; color: var(--text-muted); }
.camp-facts dd { margin: 2px 0 0; font-weight: 800; color: var(--c-ink); font-size: 17px; }

.camp-sec { padding-top: 48px; scroll-margin-top: calc(var(--hdr, 76px) + 80px); }
.camp-sec__h { display: flex; align-items: center; gap: 16px; margin: 0 0 20px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; color: var(--c-blue); }
.camp-sec__h::after { content: ""; flex: 1; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--c-blue), rgba(42,91,240,0)); }
.camp-sec__h small { order: 2; padding: 5px 12px; border-radius: var(--r-pill); background: var(--c-lime); color: var(--on-lime); font-size: 14px; }
.camp-sec__body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.camp-sec--wide .camp-sec__body { grid-template-columns: 1fr; }
.camp-sec__text > :first-child { margin-top: 0; }
.camp-sec__text p { margin: 0 0 12px; }
.camp-sec__photo { padding: 0; border: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; background: var(--c-sky); box-shadow: 0 18px 36px -24px rgba(21,26,61,.5); }
.camp-sec__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.camp-sec:nth-of-type(even) .camp-sec__photo { border-radius: 46% 54% 40% 60% / 40% 45% 55% 60%; }
.camp-sec .checks--grid { grid-template-columns: 1fr; }
.clubs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
.clubs div { padding: 12px 14px; border-radius: var(--r-sm); background: var(--tone-1); }
.clubs div:nth-child(6n+1) { background: var(--c-lime); } .clubs div:nth-child(6n+2) { background: var(--c-pink); } .clubs div:nth-child(6n+3) { background: var(--c-mint); } .clubs div:nth-child(6n+4) { background: var(--c-sky); } .clubs div:nth-child(6n+5) { background: var(--c-peach); }
.clubs dt { font-weight: 800; color: var(--c-ink); }
.clubs dd { margin: 2px 0 0; font-size: 15px; }
.program-banner.tile { background: linear-gradient(120deg, var(--c-blue), #6C5CFF); color: #fff; border-radius: var(--r-md); padding: 22px 24px; }
.program-banner.tile .h3 { color: #fff; }
.acc { display: grid; gap: 10px; }
.acc details { background: #fff; border-radius: var(--r-md); box-shadow: 0 10px 26px -20px rgba(21,26,61,.35); }
.acc summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; cursor: pointer; list-style: none; font-weight: 800; color: var(--c-ink); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .ico { width: 22px; height: 22px; color: var(--c-blue); transition: transform var(--dur-hover) var(--ease-out); }
.acc details[open] summary .ico { transform: rotate(45deg); }
.acc .docs { margin: 0; padding: 0 22px 20px 44px; }
.acc .docs li { margin-bottom: 8px; }

.camp-aside { position: sticky; top: calc(var(--hdr, 76px) + 8px); }
.camp-aside__h { margin: 0 0 12px; font-size: 22px; font-weight: 800; color: var(--c-ink); }
.shift-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.shift-card { position: relative; overflow: hidden; padding: 18px 20px; border-radius: var(--r-md); background: #fff; box-shadow: 0 14px 30px -22px rgba(21,26,61,.45); }
.shift-card::before { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--c-lime); }
.shift-card--pink::before { background: var(--c-pink); } .shift-card--mint::before { background: var(--c-mint); } .shift-card--sky::before { background: var(--c-sky); }
.shift-card > * { position: relative; }
.shift-card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.shift-card__top b { font-size: 18px; font-weight: 800; color: var(--c-ink); text-transform: uppercase; letter-spacing: .02em; }
.shift-card__top span { font-weight: 800; font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; }
.shift-card__dates { display: inline-block; margin: 10px 0 0; padding: 6px 12px; border-radius: var(--r-pill); background: var(--c-orangeB); color: #fff; font-weight: 800; font-size: 14px; }
.shift-card__price { margin: 10px 0 12px; font-size: 28px; font-weight: 800; color: var(--c-ink); }
.camp-aside__note { margin: 14px 0 0; font-size: 14px; color: var(--text-muted); }
.camp-aside .aside-phone { margin-top: 8px; }

@media (max-width: 1060px) {
  .camp-layout { grid-template-columns: minmax(0, 1fr); }
  .camp-aside { position: static; }
  .shift-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .camp-hero__row { flex-direction: column-reverse; align-items: flex-start; gap: 16px; }
  .camp-hero__logo { width: 170px; padding: 12px 14px; }
  .camp-hero { background: radial-gradient(300px 220px at 100% 0%, rgba(255,95,162,.3), transparent 70%), linear-gradient(160deg, #FFF2B8 0%, #E7EEFF 55%, #FFE4F0 100%); }
  .camp-media { grid-template-columns: 1fr; }
  .camp-thumbs { grid-template-columns: repeat(4, 1fr); grid-template-rows: none; gap: 8px; }
  .camp-thumbs button { aspect-ratio: 1; border-radius: 14px; }
  .camp-thumbs__more span { font-size: 0; gap: 0; } .camp-thumbs__more .ico { width: 22px; height: 22px; }
  .camp-slider__nav { width: 40px; height: 40px; }
  .camp-facts { grid-template-columns: 1fr 1fr; }
  .camp-sec__body { grid-template-columns: 1fr; }
  .camp-sec__photo { order: -1; }
  .clubs { grid-template-columns: 1fr; }
  .shift-cards { grid-template-columns: 1fr; }
  .camp-tabs { top: calc(var(--hdr, 64px) + 6px); }
}
.shift-card { padding: 16px 18px; }
.shift-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.shift-card__price { margin: 0; font-size: 24px; }
.shift-card__top b { font-size: 16px; }
.shift-card__dates { margin-top: 8px; font-size: 13px; }
.camp-aside__h { font-size: 20px; }
@media (max-height: 820px) and (min-width: 1061px) { .camp-aside { position: static; } }
.camp-sec--wide .points { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 760px) { .camp-sec--wide .points { grid-template-columns: 1fr; } }

/* v12-аудит: подписи на фото, логотип лагеря */
/* подписи поверх фото — плотнее подложка */
.camp-slider__count { background: rgba(21,26,61,.78); backdrop-filter: blur(4px); }
.camp-thumbs__more span { background: rgba(29,69,201,.84); }
.camp-thumbs__more b { font-size: 26px; line-height: 1; font-weight: 800; }
.camp-thumbs__more small { font-size: 14px; font-weight: 700; }
@media (min-width: 641px) and (max-width: 1000px) { .hits > :nth-child(3):last-child { grid-column: 1 / -1; } }
.camp-hero__logo { display: grid; place-items: center; width: 240px; min-height: 140px; }
.camp-hero__logo img { width: auto; max-width: 100%; max-height: 120px; }

/* =====================================================================
   v16 «Логотип» (23.10): цвета знака А-тур, цветные размытые круги,
   баннер наверху. Ярко, но без перебора: большие поля — светлые оттенки,
   насыщенные цвета — в кнопках, плашках и пятнах.
   ===================================================================== */
body { background: var(--bg-page); }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle 300px at 6% 18%,  rgba(255,206,24,.30), transparent 70%),
    radial-gradient(circle 260px at 94% 12%, rgba(235,100,17,.16), transparent 70%),
    radial-gradient(circle 320px at 88% 70%, rgba(92,176,48,.16),  transparent 70%),
    radial-gradient(circle 280px at 12% 86%, rgba(21,108,179,.13), transparent 70%),
    radial-gradient(circle 200px at 52% 46%, rgba(227,11,47,.06),  transparent 70%); }
::selection { background: var(--c-yellow); color: var(--c-navy); }

/* шапка */
.header { background: rgba(255,252,247,.9); backdrop-filter: blur(10px); }
.nav__main a { color: var(--c-navy); }
.nav__main a:hover, .nav__main a.is-current { background: var(--c-sky); color: var(--c-blue-d); }
.header__call { color: var(--c-navy); }

/* кнопки: оранжевый — главное действие, синий — «Подробнее», жёлтый — вторичное */
.btn--accent { background: var(--c-orange); color: #fff; box-shadow: 0 10px 22px -14px rgba(201,79,8,.9); }
.btn--ink { background: var(--c-navy); color: #fff; }
.btn--ghost { background: #fff; color: var(--c-navy); border: 1.5px solid var(--line-strong); }
.btn--blue, .card .btn--accent { background: var(--c-blue); box-shadow: 0 10px 22px -14px rgba(21,108,179,.9); }
.btn--green { background: var(--c-green); color: #fff; box-shadow: 0 10px 22px -14px rgba(46,125,20,.9); }
@media (hover: hover) and (pointer: fine) {
  .btn--accent:hover { background: var(--c-orange-d); }
  .card .btn--accent:hover, .btn--blue:hover { background: var(--c-blue-d); }
  .btn--green:hover { background: #276B10; }
  .btn--ghost:hover { border-color: var(--c-blue); color: var(--c-blue-d); }
}
.btn[disabled] { opacity: 1; background: #F6DCCB; color: #8A3A08; box-shadow: none; }
p a:not([class]), li a:not([class]) { color: var(--c-blue-d); }

/* первый экран: без плиток «Зима» и «Пекин», фото на всю высоту */
.banner { margin-top: 20px; }
.banner + .hero { padding-top: 28px; }
.hero { grid-template-rows: auto; align-items: stretch; }
.hero__main { grid-row: 1; }
.hero__photo { grid-row: 1; min-height: 100%; }
.hero__main.tile--sky { background:
  radial-gradient(circle 160px at 100% 0%, rgba(255,206,24,.45), transparent 70%),
  radial-gradient(circle 140px at 0% 100%, rgba(92,176,48,.18), transparent 70%), var(--c-sky); }
.hero__main .h1 { color: var(--c-navy); }
.hero__offer b { color: var(--c-navy); }
.quick button { background: #fff; color: var(--c-navy); border: 1.5px solid var(--line-strong); }
@media (hover: hover) and (pointer: fine) { .quick button:hover { background: var(--c-yellow); border-color: var(--c-yellow); color: var(--c-navy); } }
.hero__reg .ico { color: var(--c-green); }
@media (max-width: 1000px) { .hero__photo { grid-row: auto; min-height: 300px; } }
@media (max-width: 640px) { .hero__photo { min-height: 240px; } }

/* баннер: точки и стрелки в цветах знака */
.banner__dots button { background: #D3DCE8; }
.banner__dots button[aria-current="true"] { background: var(--c-orange); }
.banner__track { background: var(--c-sky); box-shadow: 0 24px 50px -30px rgba(0,68,121,.55); }

/* карточки туров */
.card { background: #fff; }
.card__badges .pill--ink { background: var(--c-red); color: #fff; }
.card__meta .pill { background: var(--tone-1); color: var(--c-navy); }
.card__meta .pill--lime { background: var(--c-lime); color: var(--on-lime); }
.cards .card:nth-child(3n+2) .card__meta .pill--lime { background: var(--c-pink); color: var(--on-pink); }
.cards .card:nth-child(3n+3) .card__meta .pill--lime { background: var(--c-mint); color: var(--on-mint); }
.card__next { color: var(--c-blue-d); }
.card__price { color: var(--c-navy); }
.tags a { background: #fff; color: var(--c-navy); border: 1.5px solid var(--line); }
@media (hover: hover) and (pointer: fine) { .tags a:hover { border-color: var(--c-blue); color: var(--c-blue-d); } }

/* блоки */
.avia.tile--orange { background: radial-gradient(circle 220px at 100% 0%, rgba(235,100,17,.22), transparent 70%), var(--c-lime); color: var(--c-navy); }
.avia__title { color: var(--c-navy); }
.avia__ico { color: var(--c-orangeL); }
.avia__text { color: var(--c-slate); }
.news__item time { background: var(--c-lime); color: var(--on-lime); }
.news__item:nth-child(2) time { background: var(--c-pink); color: var(--on-pink); }
.news__item:nth-child(3) time { background: var(--c-mint); color: var(--on-mint); }
.about__icon { background: var(--c-sky); color: var(--c-blue); border-radius: 50%; }
.about li:nth-child(5) .about__icon { background: var(--c-pink); color: var(--on-pink); }
.about li:nth-child(6) .about__icon { background: var(--c-mint); color: var(--on-mint); }
.stars { color: #F2A900; }
.faq__tabs button { background: #fff; color: var(--c-navy); border: 1.5px solid var(--line-strong); }
.faq__tabs button[aria-selected="true"] { background: var(--c-blue); border-color: var(--c-blue); color: #fff; }
.request.tile--lime { background: radial-gradient(circle 240px at 100% 0%, rgba(235,100,17,.16), transparent 70%), radial-gradient(circle 220px at 0% 100%, rgba(92,176,48,.16), transparent 70%), var(--c-lime); }
.checks .ico { color: var(--c-green); }

/* подвал — тёмно-синий знака */
.footer { background: var(--c-navy); color: #fff; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.footer .caption, .footer__note, .footer__bottom, .footer__muted { color: rgba(255,255,255,.78); }
.footer a { color: #fff; }
.footer__badge { background: rgba(255,255,255,.1); color: #fff; }
.socials a { background: rgba(255,255,255,.12); color: #fff; }
@media (hover: hover) and (pointer: fine) { .socials a:hover { background: var(--c-yellow); color: var(--c-navy); } .footer__list a:hover { text-decoration-color: var(--c-yellow); } }

/* страница лагеря — в цветах знака */
.camp-hero { background:
  radial-gradient(circle 220px at 92% 12%, rgba(235,100,17,.22), transparent 70%),
  radial-gradient(circle 220px at 70% 120%, rgba(92,176,48,.22), transparent 70%),
  linear-gradient(115deg, #FFF1B8 0%, #FFF5CC 34%, #E7F0FA 34.2%, #DCE9F7 62%, #FDE8DA 62.2%, #FCDCC6 100%); }
@media (max-width: 760px) { .camp-hero { background: radial-gradient(circle 200px at 100% 0%, rgba(235,100,17,.22), transparent 70%), linear-gradient(160deg, #FFF1B8 0%, #E7F0FA 55%, #FDE8DA 100%); } }
.camp-hero__kicker, .camp-hero__place a { color: var(--c-blue-d); }
.camp-hero__place .ico { color: var(--c-red); }
.camp-hero__meta .camp-hero__price { background: var(--c-navy); }
.camp-hero .h1, .camp-sec__h, .camp-aside__h, .shift-card__top b, .shift-card__price, .camp-facts dd, .clubs dt { color: var(--c-navy); }
.camp-sec__h { color: var(--c-blue); }
.camp-hero .h1, .camp-sec__h, .camp-aside__h, .shift-card__price, .shift-card__top b { font-family: var(--font-display); font-weight: 500; }
.camp-tabs { background: var(--c-blue); box-shadow: 0 14px 30px -18px rgba(21,108,179,.9); }
.camp-tabs a.is-active { background: var(--c-yellow); color: var(--c-navy); }
.shift-card__dates { background: var(--c-orange); color: #fff; }
.camp-slider__count { background: rgba(0,48,86,.8); }
.camp-thumbs__more span { background: rgba(14,92,158,.86); }
.camp-thumbs__more b { font-family: var(--font-display); font-weight: 500; }
@media (max-width: 760px) { .camp-thumbs__more span { font-size: 14px; } .camp-thumbs__more b { font-size: 18px; } .camp-thumbs__more small, .camp-thumbs__more .ico { display: none; } }
.program-banner.tile { background: linear-gradient(120deg, var(--c-navy), var(--c-blue)); color: #fff; }
.program-banner.tile .h3 { color: #fff; }
.acc summary .ico { color: var(--c-orange); }
/* карточка смены: цена Unbounded шире — кнопка под ценой, во всю ширину */
.shift-card__foot { flex-direction: column; align-items: stretch; gap: 10px; }
.shift-card__price { font-size: 26px; }
.shift-card .btn { width: 100%; }
@media (max-width: 1060px) and (min-width: 761px) { .shift-card__foot { flex-direction: row; align-items: center; } .shift-card .btn { width: auto; } }
.hero__photo .photo { object-position: 50% 70%; }
.link-btn, .hero__reg a { color: var(--c-blue-d); }
/* первый экран: на ширинах до 1200 поиск не помещается в 7 колонок → одна колонка, фото широкой полосой */
@media (max-width: 1200px) {
  .hero { grid-template-columns: 1fr; }
  .hero__main, .hero__photo { grid-column: 1 / -1; grid-row: auto; }
  .hero__photo { min-height: 0; aspect-ratio: 16 / 7; }
}
@media (max-width: 640px) { .hero__photo { aspect-ratio: 4 / 3; } }
/* строка о реестре — обычным текстом, ссылка не уезжает в отдельную колонку */
.hero__reg { display: block; position: relative; padding-left: 26px; line-height: 1.5; }
.hero__reg .ico { position: absolute; left: 0; top: calc(28px + .15em); }
.header .logo { flex: none; } .header .logo img { width: 75px; height: auto; }
.about__icon { flex: none; width: 52px; height: 52px; display: grid; place-items: center; margin: 0; }
.about__icon .ico { width: 24px; height: 24px; }
.request .checks .ico, .tile--lime .checks .ico { color: var(--c-green); }
.faq details a, .request a, .check a { color: var(--c-blue-d); text-decoration-color: currentColor; }
/* иконка в кружке стоит по центру колонки логотипов — текст начинается с одной линии */
.about__icon { width: 52px; margin: 0 10px; }
@media (max-width: 900px) { .about__icon { width: 48px; height: 48px; margin: 0 4px; } }
/* страница лагеря: только цвета кнопок по стилю сайта (23.10) */
.camp-tabs a { color: #fff; }
.camp-tabs a.is-active { color: var(--c-navy); }
.btn--line { background: #fff; color: var(--c-navy); border: 1.5px solid var(--line-strong); }
@media (hover: hover) and (pointer: fine) { .btn--line:hover { border-color: var(--c-blue); color: var(--c-blue-d); } }
.footer__list a, .footer li a { color: #fff; }

/* =====================================================================
   v17 · проверка 23.10: шапка в границах, иконки, вкладки, факты, кнопки
   ===================================================================== */
/* шапка не выходит за край контента: телефон ИЛИ «Заказать звонок», не оба */
.header__row { gap: 24px; }
.header__contacts { gap: 18px; flex: none; }
.nav { min-width: 0; }
@media (min-width: 1361px) { .header__call { display: none; } }
/* вкладки страницы тура — в цвет страницы, без белой полосы */
.tabs { background: rgba(255,252,247,.94); backdrop-filter: blur(8px); }
.tabs a { color: var(--c-slate); font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .tabs a:hover { color: var(--c-navy); background: var(--c-sky); } }
.tabs a.is-active { background: var(--c-blue); color: #fff; }
/* факты — светлые оттенки знака, как на главной */
.facts div { background: var(--c-lime); border: 0; }
.facts div:nth-child(2) { background: var(--c-pink); }
.facts div:nth-child(3) { background: var(--c-mint); }
.facts div:nth-child(4) { background: var(--c-sky); }
.facts dt { color: var(--text-muted); }
.facts dd { color: var(--c-navy); }
/* неактивная кнопка — спокойная серая, понятно что «пока нельзя» */
.btn[disabled] { background: var(--tone-1); color: #56677F; box-shadow: none; cursor: not-allowed; }
/* значки в «Безопасность»: щит и галочка — в цвете знака */
.duo__title .ico { color: var(--c-orange); }
.points li::before { background: var(--c-orange); }
.shift input[type="radio"]:checked { accent-color: var(--c-orange); }
.mosaic__item--more span { background: rgba(0,48,86,.62); }
/* факты — минималистично: без плашек, тонкая цветная черта знака слева */
.facts { gap: 22px 28px; margin-top: 30px; }
.facts div { background: none !important; border-radius: 0; padding: 2px 0 2px 16px; border-left: 3px solid var(--c-yellow); }
.facts div:nth-child(2) { border-left-color: var(--c-orangeL); }
.facts div:nth-child(3) { border-left-color: var(--c-greenL); }
.facts div:nth-child(4) { border-left-color: var(--c-blue); }
.facts dt { font-size: 14px; color: var(--text-muted); }
.facts dd { margin-top: 4px; }

/* v18 · форма заявки: ровные поля одного вида, спокойный фон блока */
.request.tile--lime { background:
  radial-gradient(circle 260px at 100% 0%, rgba(255,206,24,.28), transparent 70%),
  radial-gradient(circle 240px at 0% 100%, rgba(92,176,48,.14), transparent 70%), #FFF9E8; }
.request { align-items: start; gap: clamp(28px, 4vw, 56px); }
.request__intro .sub { color: var(--c-slate); max-width: 40ch; }
.request__intro .checks { margin-top: 26px; gap: 12px; font-weight: 500; color: var(--c-navy); }
.request__call { margin: 26px 0 0; padding-top: 20px; border-top: 1px solid rgba(0,68,121,.12); color: var(--text-muted); font-size: 15px; }
.request__call a { color: var(--c-navy); font-weight: 600; text-decoration: none; font-size: 17px; white-space: nowrap; }
.request__form { border-radius: var(--r-lg); padding: clamp(22px, 2.6vw, 32px); box-shadow: 0 24px 50px -30px rgba(0,68,121,.45); border: 0; }
.form { gap: 16px 14px; }
.field .caption { font-size: 13px; font-weight: 600; color: var(--c-navy); margin-bottom: 6px; }
.request__form .field input, .request__form .field textarea, .request__form .field .dd__btn,
.modal .field input, .modal .field textarea, .modal .field .dd__btn {
  min-height: 52px; padding: 13px 16px; border-radius: 14px; border: 1.5px solid transparent;
  background: var(--tone-1); font-size: 16px; font-weight: 500; color: var(--c-navy); box-shadow: none; }
.request__form .field textarea, .modal .field textarea { min-height: 104px; }
.request__form .field input::placeholder, .request__form .field textarea::placeholder, .modal .field input::placeholder, .modal .field textarea::placeholder { color: #7A8798; font-weight: 400; }
@media (hover: hover) and (pointer: fine) { .request__form .field input:hover, .request__form .field textarea:hover, .request__form .field .dd__btn:hover, .modal .field input:hover, .modal .field textarea:hover, .modal .field .dd__btn:hover { border-color: var(--line-strong); } }
.request__form .field input:focus, .request__form .field textarea:focus, .request__form .field .dd.is-open .dd__btn, .request__form .field .dd__btn:focus-visible,
.modal .field input:focus, .modal .field textarea:focus, .modal .field .dd.is-open .dd__btn, .modal .field .dd__btn:focus-visible {
  background: #fff; border-color: var(--c-blue); box-shadow: 0 0 0 4px rgba(21,108,179,.12); outline: none; }
.check { align-items: flex-start; font-size: 14px; color: var(--c-slate); }
.check input[type="checkbox"]:checked { background-color: var(--c-orange); border-color: var(--c-orange); }
.form .btn[type="submit"] { min-height: 54px; margin-top: 4px; }
.request__intro .h2 { font-size: clamp(26px, 2.6vw, 38px); max-width: 14ch; margin-top: 0; }
.request__intro .h2 .nw { white-space: nowrap; }
/* неактивная кнопка формы — тот же оранжевый, приглушённый: видно, что это кнопка, но пока не нажать */
.form .btn[type="submit"][disabled] { background: var(--c-orange); color: #fff; opacity: .42; box-shadow: none; }
.request__form .field input:focus, .request__form .field textarea:focus, .modal .field input:focus, .modal .field textarea:focus { background-color: #fff; }

/* =====================================================================
   v19 · арт-ревизия акцентов (23.10). Иерархия:
   1) оранжевый — ТОЛЬКО действие «заявка / подобрать» (одна-две кнопки в зоне видимости);
   2) синий — навигация и выбор: ссылки, вкладки, выбранная смена, «Подробнее» (мягкая кнопка);
   3) жёлтый/зелёный/персик — светлые поля и декор, без смысла «нажми»;
   4) красный — только «Хит продаж».
   ===================================================================== */
/* «Подробнее» в карточках — вторичная мягкая кнопка, не спорит с оранжевой */
.card .btn--accent, .card .btn--blue { background: var(--c-sky); color: var(--c-blue-d); box-shadow: none; }
@media (hover: hover) and (pointer: fine) { .card .btn--accent:hover, .card .btn--blue:hover { background: var(--c-blue); color: #fff; } }
/* возраст — одна плашка одного цвета во всех карточках (раньше цвет менялся по позиции) */
.card__meta .pill--lime, .cards .card:nth-child(n) .card__meta .pill--lime { background: var(--c-lime); color: var(--on-lime); }
/* даты новостей и иконки «почему мы» — один спокойный цвет вместо радуги */
.news__item time, .news__item:nth-child(n) time { background: var(--tone-1); color: var(--c-navy); }
.about__icon, .about li:nth-child(n) .about__icon { background: var(--c-sky); color: var(--c-blue); }
/* декоративные значки — синие, а не оранжевые (оранжевый = действие) */
.points li::before { background: var(--c-blue); }
.duo__title .ico, .acc summary .ico, .avia__ico, .header__phone .ico, .topbar__phone .ico { color: var(--c-blue); }
.tour-hero__meta span + span::before { background: var(--c-blue); }
.dd__opt[aria-selected="true"], .dd__opt svg, .dd.is-open .dd__chev { color: var(--c-blue-d); }
.field .dd.is-open .dd__btn, .field .dd__btn:focus-visible { border-color: var(--c-blue); }
:focus-visible { outline-color: var(--c-blue); }
.link-btn, .header__call:hover { color: var(--c-blue-d); }
.check a, .crumbs a:hover, .card__link:hover { text-decoration-color: var(--c-blue); }
.socials a:hover { background: var(--c-yellow); color: var(--c-navy); }
.stars { color: #F2A900; }
/* выбор смены — синий (выбор), кнопка под ним — оранжевая (действие) */
.shift:has(input:checked) { background: var(--c-sky); outline-color: var(--c-blue); }
.shift input:checked { border-color: var(--c-blue); background: var(--c-blue); }
.shift input { accent-color: var(--c-blue); }
/* «ВИТА»: в колонке смен было 8 оранжевых пятен — даты стали мягкими, оранжевыми остались только кнопки */
.shift-card__dates { background: var(--c-pink); color: var(--on-pink); }
.shift-card::before, .shift-card--pink::before, .shift-card--mint::before, .shift-card--sky::before { background: var(--c-sky); opacity: .7; }
/* факты «ВИТЫ» — так же минималистично, как у «АРТ-КВЕСТа» */
.camp-facts { gap: 18px 24px; }
.camp-facts div, .camp-facts div:nth-child(n) { background: none; border-radius: 0; padding: 2px 0 2px 14px; border-left: 3px solid var(--c-yellow); }
.camp-facts div:nth-child(2) { border-left-color: var(--c-orangeL); }
.camp-facts div:nth-child(3) { border-left-color: var(--c-greenL); }
.camp-facts div:nth-child(4) { border-left-color: var(--c-blue); }
/* цена в шапке лагеря — не тёмная «кнопка», а спокойная плашка */
.camp-hero__meta .camp-hero__price { background: #fff; color: var(--c-navy); font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--c-blue); }
/* карта: вторичная кнопка — синяя, не тёмно-синяя глыба */
.map__frame .btn--ink, .map .btn--ink { background: var(--c-blue); }

/* =====================================================================
   v20 · меньше синего текста (23.10). Было: ~95% текста синего оттенка.
   Теперь: тёмно-синий — только крупные заголовки и цены; синий — только ссылки;
   всё остальное — нейтральный графит.
   ===================================================================== */
:root { --c-slate: #2B2F36; --text: #2B2F36; --text-muted: #6B717B; --c-graphite: #1F2328; }
body { color: var(--text); }
/* мелкие заголовки, подписи, пункты меню, поля — графит */
.h3, .card .h3, .card__link, .hit__title + *, .news__item .h3, .faq summary, .review header b,
.nav__main a, .header__phone, .header__call, .quick button, .tags a, .card__meta .pill, .faq__tabs button:not([aria-selected="true"]),
.field .caption, .request__form .field input, .request__form .field textarea, .request__form .field .dd__btn,
.modal .field input, .modal .field textarea, .modal .field .dd__btn, .dd__btn, .dd__opt,
.request__intro .checks, .hero__offer, .hero__offer b, .search__field .caption, .dd--bare .dd__btn,
.facts dd, .camp-facts dd, .tour-hero__meta, .tour-hero__place, .camp-hero__place, .camp-hero__meta span:not(.camp-hero__price),
.shift__name, .shift__price, .shift-card__top b, .duo__title, .t-sub, .points li, .points b, .clubs dt, .acc summary,
.transfer .h3, .transfer__route, .about p, .map__card b, .map__card p, .crumbs a, .crumbs span, .camp-back,
.btn--ghost, .btn--line, .card__meta .pill--lime, .news__item time, .avia__text, .program-banner + .t-sub,
.t-lead, .hero__sub, .hero__reg, .request__call { color: var(--c-graphite); }
.hero__sub, .t-lead, .hero__reg, .request__call, .tour-hero__sub, .camp-aside__note, .card__type, .card__place { color: var(--text-muted); }
.hero__sub, .t-lead { color: var(--c-slate); }
.card__meta .pill--lime { color: var(--on-lime); }
.news__item time { color: var(--text-muted); }
/* тёмно-синий оставляем: H1, H2, крупные цены, заголовки разделов лагеря */
.h1, .h2, .card__price, .shifts__from, .transfer__price, .shift-card__price, .camp-sec__h, .camp-aside__h, .camp-hero .h1, .rating__row b { color: var(--c-navy); }
/* ссылки — синие, это сигнал «нажми» */
.link-btn, .hero__reg a, .faq details a, .check a, .camp-hero__place a, .aside-phone a, .request__call a, p a:not([class]), li a:not([class]) { color: var(--c-blue-d); }
.nav__main a:hover, .nav__main a.is-current { color: var(--c-blue-d); }
.card .btn--accent { color: var(--c-blue-d); }
.footer a, .footer li a:not([class]), .footer p a:not([class]) { color: #fff; }
.duo--one { grid-template-columns: 1fr; }
/* клубы в программе — спокойно, без радуги */
.clubs div, .clubs div:nth-child(n) { background: var(--tone-1); }

/* =====================================================================
   v21 · чёткость (23.10): белые плашки отделены от фона, списки не обрезаются
   ===================================================================== */
/* фон страницы чуть плотнее — белое на нём читается как отдельный слой */
:root { --bg-page: #F7F4EE; --c-cream: #F7F4EE; --edge: rgba(0, 40, 80, .09);
  --lift: 0 1px 2px rgba(0, 30, 60, .06), 0 10px 28px -16px rgba(0, 30, 60, .22); }
body { background-color: var(--bg-page); }
.header { background: rgba(247,244,238,.92); }
.tabs { background: rgba(247,244,238,.94); }
/* все белые плашки — тонкая граница + мягкая тень */
.card, .news__item, .review, .faq details, .map__card, .shifts, .duo__item, .points li, .request__form,
.transfer, .acc details, .search, .rating__row, .hero__photo-cap, .tags a, .quick button, .btn--ghost, .btn--line,
.faq__tabs button:not([aria-selected="true"]), .banner .banner__nav, .about-sec .about li .about__logo {
  border: 1px solid var(--edge); box-shadow: var(--lift); }
.points li { border: 1px solid var(--edge); }
.shifts { background: #fff; }
.request__form { box-shadow: var(--lift); }
/* голубые и светлые поля — тоже со своей кромкой */
.tile--sky, .hero__main.tile--sky, .avia.tile--orange, .request.tile--lime, .map__frame { border: 1px solid var(--edge); }
/* выпадающий список не обрезается рамкой блока */
.hero__main, .search, .picker__box { overflow: visible; }
.hero__main { z-index: 3; }
.dd__list { z-index: 50; border: 1px solid var(--edge); box-shadow: 0 18px 40px -16px rgba(0, 30, 60, .35); }
:root { --text-muted: #5E646E; }
.tour-hero__sub, .facts dt, .aside-phone, .card__type, .card__place, .hero__reg, .request__call, .camp-aside__note, .shifts__note { color: var(--text-muted); }

/* v22 · управление баннером — современнее: полоски-прогресс слева, стрелки справа */
.banner__ctrl { justify-content: flex-start; gap: 8px; margin-top: 16px; }
.banner__ctrl .banner__dots { order: 0; margin-right: auto; gap: 6px; }
.banner__ctrl .banner__nav--prev { order: 1; } .banner__ctrl .banner__nav--next { order: 2; }
.banner__dots button, .banner__dots button[aria-current="true"] { position: relative; overflow: hidden; width: 48px; height: 4px; border-radius: 4px; background: rgba(0,40,80,.14); }
.banner__dots button::after { content: ""; position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: var(--c-navy); border-radius: inherit; }
.banner__dots button[aria-current="true"]::after { animation: bannerFill 6s linear forwards; }
.banner:hover .banner__dots button[aria-current="true"]::after { animation-play-state: paused; }
@keyframes bannerFill { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .banner__dots button[aria-current="true"]::after { animation: none; transform: scaleX(1); } }
.banner .banner__nav { width: 40px; height: 40px; border-radius: 50%; background: transparent; border: 1px solid rgba(0,40,80,.18); box-shadow: none; color: var(--c-navy); transition: background-color .2s var(--ease-out), color .2s, border-color .2s; }
@media (hover: hover) and (pointer: fine) { .banner .banner__nav:hover { background: var(--c-navy); border-color: var(--c-navy); color: #fff; } }
.banner .banner__nav .ico { width: 16px; height: 16px; }
.banner__dots button { cursor: pointer; padding: 10px 0; background-clip: content-box; height: 24px; }
.banner__dots button::after { top: 10px; bottom: 10px; }
.banner__dots button, .banner__dots button[aria-current="true"] { height: 4px; padding: 0; margin: 10px 0; background: rgba(0,40,80,.14); background-clip: border-box; }
.banner__dots button::after { top: 0; bottom: 0; }
/* фото «Орлёнка» целиком: прижато к низу, сверху продолжается небо того же цвета */
.hero__photo { background: linear-gradient(#0062C0, #0063C1); }
.hero__photo .photo { object-fit: contain; object-position: center bottom; animation: none; }
@media (max-width: 1200px) { .hero__photo { aspect-ratio: 3 / 2; min-height: 0; } }
/* без цветных свечений в углах плашек — ровный цвет */
.hero__main.tile--sky, .tile--sky { background: var(--c-sky); }
.request.tile--lime { background: #FFF9E8; }
.avia.tile--orange { background: var(--c-lime); }
.tile::before, .tile::after, .hero__main::before, .hero__main::after, .request::before, .request::after { display: none !important; }

/* v23 · первый экран компактнее — баннер, заголовок и поиск в одном экране */
.banner { margin-top: 14px; }
.banner__ctrl { margin-top: 6px; }
.banner .banner__nav { width: 34px; height: 34px; }
.banner + .hero { padding-top: 14px; }
@media (min-width: 1001px) {
  .hero__main { padding: 32px 40px 28px; }
  .hero__main .h1 { font-size: clamp(30px, 3.1vw, 46px); line-height: 1.04; }
  .hero__main .h1 br { display: none; }
  .hero__sub { margin-top: 12px; max-width: 46ch; font-size: 17px; }
  .hero__offer { margin-top: 8px; }
  .hero__main .search { margin-top: 18px; }
  .search__help { margin-top: 10px; }
  .quick { margin-top: 12px; }
  .hero__reg { padding-top: 16px; }
}
@media (min-width: 1201px) {
  .hero { grid-template-columns: 2fr 1fr; }
  .hero__main { grid-column: 1; padding: 28px 40px 24px; }
  .hero__photo { grid-column: 2; }
  .hero__main .h1 { font-size: clamp(30px, 2.55vw, 38px); white-space: nowrap; }
  .hero__sub { max-width: none; margin-top: 10px; }
  .hero__main .search { margin-top: 16px; max-width: none; }
  .quick { margin-top: 10px; }
  .search__help { margin-top: 10px; }
  .hero__reg { padding-top: 12px; }
}
/* управление баннером — в правом нижнем углу картинки, на стеклянной плашке (экономит строку) */
.banner { position: relative; }
.banner__ctrl { position: absolute; right: calc(var(--gutter) + 14px); bottom: 14px; margin: 0; padding: 5px 6px 5px 14px; gap: 6px;
  background: rgba(255,255,255,.78); backdrop-filter: blur(10px); border-radius: 999px; box-shadow: 0 6px 18px -8px rgba(0,30,60,.4); }
.banner__ctrl .banner__dots { margin-right: 6px; }
.banner__dots button, .banner__dots button[aria-current="true"] { width: 28px; margin: 0; }
.banner .banner__nav { width: 30px; height: 30px; border: 0; background: transparent; box-shadow: none; }
@media (max-width: 640px) { .banner__ctrl { right: calc(var(--gutter) + 8px); bottom: 8px; padding: 3px 4px 3px 10px; } .banner .banner__nav { width: 26px; height: 26px; } .banner__dots button, .banner__dots button[aria-current="true"] { width: 18px; } }
.banner + .hero { padding-top: 16px; }
@media (min-width: 1201px) { .hero__sub { font-size: 16px; } }
@media (min-width: 1201px) { .hero__reg .ico { top: calc(12px + .2em); } }
@media (max-width: 640px) {
  .banner__ctrl { position: static; margin-top: 8px; background: none; box-shadow: none; backdrop-filter: none; padding: 0; justify-content: flex-start; }
  .banner__ctrl .banner__dots { margin-right: auto; }
}

/* =====================================================================
   v24 · без фото на первом экране, кнопки без теней (26.10)
   ===================================================================== */
.hero, .hero:has(> .hero__main:only-child) { grid-template-columns: 1fr !important; }
.hero__main { grid-column: 1 / -1 !important; }
.btn, .btn--accent, .btn--ink, .btn--green, .btn--blue, .btn--sun, .card .btn--accent, .search__btn { box-shadow: none !important; }
/* второстепенные кнопки: при наведении фон остаётся белым (было: синий текст на тёмно-синем, 1,45:1) */
@media (hover: hover) and (pointer: fine) {
  .btn--ghost:hover, .btn--line:hover { background: #fff; color: var(--c-blue-d); border-color: var(--c-blue); }
  .avia .btn--ghost:hover { background: #fff; color: var(--c-blue-d); }
}
/* неактивная кнопка формы — без прозрачности, читаемая (5,0:1) */
.form .btn[type="submit"][disabled], .btn[disabled] { opacity: 1; background: #E6E1D8; color: #4F5560; box-shadow: none; }
/* телефон: заголовки не длиннее двух строк, крупные зоны нажатия, выбор в форме переносится */
@media (max-width: 640px) {
  .hero__main .h1 { font-size: 26px; white-space: normal; }
  .h2, .section__head .h2, .avia__title, .request__intro .h2 { font-size: 21px; line-height: 1.2; }
  .avia__title .ico { width: 22px; height: 22px; }
  .banner .banner__nav { width: 40px; height: 40px; }
  .field .dd__value { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.3; }
}
/* полоски баннера — тонкие на вид, но удобная зона нажатия 24px */
.banner__dots button, .banner__dots button[aria-current="true"] { height: 24px; margin: 0; background: transparent !important; }
.banner__dots button::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 4px; border-radius: 4px; background: rgba(0,40,80,.16); }
.banner__dots button::after { top: 10px; bottom: auto; height: 4px; }
@media (max-width: 640px) {
  .hero__main .h1 { font-size: 23px; }
  main .h2, .section__head .h2, .avia__title { font-size: 19px; }
  .banner__dots button, .banner__dots button[aria-current="true"] { width: 32px; }
}
@media (max-width: 640px) { .section > .section__head .h2, .t-sec > .h2, .t-sec__head .h2 { font-size: 19px; } }
/* мобильное меню: размытие шапки делало её «коробкой» для меню — оно открывалось полоской 32px */
.header { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: rgba(247,244,238,.97); }
/* окно заявки: заголовок в стиле остальных */
.modal__title { font-family: var(--font-display); font-weight: 500; color: var(--c-navy); font-size: clamp(22px, 2vw, 28px); }
/* логотипы «почему мы» — без белых плашек (просьба 22.10) */
.about-sec .about li .about__logo, .about__logo { border: 0 !important; box-shadow: none !important; background: none !important; }
/* строка «6–17 лет · Лето 2026 · Хит продаж»: на телефоне без точек в начале перенесённой строки */
@media (max-width: 640px) { .tour-hero__meta { gap: 4px 16px; } .tour-hero__meta span + span::before { display: none; } }
/* индикаторы баннера — по центру под картинкой, без стрелок; листается сам каждые 6 с */
.banner__ctrl, .banner .banner__ctrl { position: static !important; display: flex; justify-content: center; margin: 10px 0 0 !important; padding: 0 !important; background: none !important; box-shadow: none !important; backdrop-filter: none !important; }
.banner__ctrl .banner__dots { margin: 0 !important; gap: 8px; }
.banner__dots button, .banner__dots button[aria-current="true"] { width: 40px !important; }
.banner:hover .banner__dots button[aria-current="true"]::after { animation-play-state: running; }
@media (prefers-reduced-motion: reduce) { .banner__slide { transition: none; } }
/* длинные названия лагерей не сжимают мозаику фото */
.tour-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.tour-hero__title { overflow-wrap: anywhere; }
.tour-hero__title .nw { white-space: normal; }
@media (max-width: 1000px) { .tour-hero { grid-template-columns: minmax(0, 1fr); } }

/* =====================================================================
   v25 · новости (26.10)
   ===================================================================== */
.news-page .crumbs { padding-top: 22px; }
.news-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 24px; margin-top: 18px; }
.news-head .h1 { margin: 0; flex: 1 1 100%; font-size: clamp(30px, 4vw, 52px); }
.news-head .sub { margin: 0; color: var(--text-muted); flex: 1; }
.news--all { margin-top: 32px; grid-template-columns: repeat(3, 1fr); }
.news__item { position: relative; }
.news__cover { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.news__cover:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 3px; }
.news__item .news__more { color: var(--c-blue-d); }
@media (hover: hover) and (pointer: fine) { .news__item:hover .h3 { color: var(--c-blue-d); } .news__item:hover .photo { transform: scale(1.03); } }
.news__img .photo { transition: transform .4s var(--ease-out); }
@media (max-width: 1000px) { .news--all { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .news--all { grid-template-columns: 1fr; } }
.article { max-width: 820px; margin-top: 18px; }
.article__date { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--tone-1); color: var(--text-muted); font-size: 14px; }
.article__title { margin: 14px 0 0; font-size: clamp(26px, 3.4vw, 44px); line-height: 1.12; }
.article__text { margin-top: 24px; font-size: 18px; line-height: 1.65; color: var(--c-slate); }
.article__text p { margin: 0 0 14px; }
.article__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.article__gallery a { display: block; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--edge); background: #fff; }
.article__gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.article__gallery--one { grid-template-columns: minmax(0, 520px); }
.article__gallery--one img { aspect-ratio: auto; object-fit: contain; }
.article__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 32px; padding: 22px 26px; border-radius: var(--r-lg); background: var(--c-sky); border: 1px solid var(--edge); }
.article__cta p { margin: 0; color: var(--c-slate); }
.article__cta b { color: var(--c-navy); }
.article__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.article__nav a { display: block; padding: 16px 18px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--edge); text-decoration: none; color: var(--c-graphite); font-weight: 500; line-height: 1.35; }
.article__nav small { display: block; margin-bottom: 4px; color: var(--text-muted); font-size: 13px; }
.article__next { text-align: right; }
@media (hover: hover) and (pointer: fine) { .article__nav a:hover { border-color: var(--c-blue); color: var(--c-blue-d); } }
@media (max-width: 640px) { .article__gallery, .article__nav { grid-template-columns: 1fr; } .article__next { text-align: left; } .article__text { font-size: 17px; } }
.article { max-width: 880px; }
.article__title { font-size: clamp(22px, 2.5vw, 34px); line-height: 1.18; }
@media (max-width: 640px) { .article__title { font-size: 19px; } }
/* длинное название в «хлебных крошках» — в одну строку с многоточием */
.crumbs { display: flex; align-items: center; gap: 0 8px; min-width: 0; }
.crumbs > * { flex: none; }
.crumbs span[aria-current] { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* блок «Групповой авиабилет» — с фото мальчика с билетом (26.10) */
.avia.avia--photo { position: relative; background: #FEFEFE !important; min-height: 300px; padding-right: 42%; align-items: center; overflow: hidden; }
.avia--photo > *:not(.avia__photo) { position: relative; z-index: 1; }
.avia__photo { position: absolute; right: 0; bottom: 0; height: 100%; width: auto; max-width: 48%; object-fit: cover; object-position: left bottom; pointer-events: none; }
.avia--photo .btn--ghost { border: 1px solid var(--line-strong) !important; }
@media (max-width: 900px) { .avia.avia--photo { padding-right: 28px; padding-bottom: 0; display: flex; flex-direction: column; align-items: flex-start; } .avia__photo { position: static; max-width: 100%; width: 100%; height: auto; max-height: 300px; object-fit: contain; object-position: center bottom; margin-top: 16px; order: 3; } }
/* рейтинг: логотипы Яндекса и Google вместо подписей (26.10) */
.rating__row { align-items: center; gap: 16px; padding: 16px 20px; }
.rating__logo { display: block; height: 24px; width: auto; flex: none; }
.rating__logo--g { height: 26px; transform: translateY(2px); }
.rating__row b { white-space: nowrap; line-height: 1; }
@media (max-width: 640px) { .rating__row { padding: 14px 16px; } .rating__logo { height: 20px; } .rating__logo--g { height: 22px; } .rating__row b { font-size: 22px; } }

/* =====================================================================
   v26 · чистые цвета (26.10)
   ===================================================================== */
/* фон: светлее и нейтральнее; цветные круги гаснут в СВОЙ цвет (не в серый),
   стоят по углам и не перекрываются — без мутных переходов */
:root { --bg-page: #FAF8F4; --c-cream: #FAF8F4; }
body { background-color: var(--bg-page); }
body::before { background:
  radial-gradient(circle 340px at 0% 8%,    rgba(255,206,24,.26), rgba(255,206,24,0) 70%),
  radial-gradient(circle 300px at 100% 4%,  rgba(255,138,76,.16), rgba(255,138,76,0) 70%),
  radial-gradient(circle 320px at 100% 92%, rgba(120,190,80,.14), rgba(120,190,80,0) 70%),
  radial-gradient(circle 300px at 0% 96%,   rgba(90,160,230,.14), rgba(90,160,230,0) 70%) !important; }
.header { background: rgba(250,248,244,.97); }
/* вкладки разделов — самостоятельная белая плашка, без «полосы» с видимыми краями */
.tabs { background: #fff !important; border: 1px solid var(--edge); border-radius: 999px; padding: 5px !important; box-shadow: var(--lift); -webkit-mask-image: none !important; mask-image: none !important; backdrop-filter: none !important; top: calc(var(--hdr, 72px) + 10px) !important; }
.tabs a { padding: 9px 16px; }
.tabs a:not(.is-active) { color: var(--c-graphite); }
@media (hover: hover) and (pointer: fine) { .tabs a:not(.is-active):hover { background: var(--c-sky); color: var(--c-blue-d); } }
@media (max-width: 640px) { .tabs { border-radius: 16px; } }
/* оранжевое действие — без «грязной» тени */
.btn--accent { box-shadow: none !important; }
.tabs a { padding: 8px 12px; font-size: 14px; }
.tabs { scroll-padding: 0 12px; scrollbar-width: none; }
/* все разделы видны сразу: на компьютере вкладки переносятся в две строки внутри белой плашки */
@media (min-width: 1001px) { .tabs { flex-wrap: wrap !important; overflow: visible !important; border-radius: 24px; gap: 2px 4px; } }
.t-sec { scroll-margin-top: 200px; }
@media (max-width: 1000px) { .t-sec { scroll-margin-top: 150px; } }

/* =====================================================================
   v27 · вкладки разделов — без плашки и полосы (26.10)
   Обычное состояние: строка текстовых вкладок прямо на фоне, активная — синяя черта.
   При прокрутке вкладки прилипают и становятся частью шапки: фон во всю ширину экрана,
   общий с шапкой, без видимых краёв.
   ===================================================================== */
.tabs { position: sticky; z-index: 20; top: var(--hdr-h, 73px) !important;
  display: flex; flex-wrap: nowrap !important; overflow-x: auto !important; gap: 4px 28px !important;
  padding: 0 !important; margin-bottom: 8px; background: transparent !important; border: 0 !important; border-radius: 0 !important;
  box-shadow: none !important; -webkit-mask-image: none !important; mask-image: none !important; backdrop-filter: none !important;
  border-bottom: 1px solid var(--edge) !important; scrollbar-width: none; transition: background-color .2s var(--ease-out); }
.tabs::-webkit-scrollbar { display: none; }
.tabs a, .tabs a.is-active, .tabs a:not(.is-active) { flex: none; position: relative; padding: 16px 0 14px !important; border: 0 !important; border-radius: 0 !important; background: none !important; font-size: 15px; font-weight: 500; color: var(--c-slate); text-decoration: none; white-space: nowrap; }
.tabs a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--c-blue); transform: scaleX(0); transition: transform .25s var(--ease-out); }
.tabs a.is-active { color: var(--c-blue-d); font-weight: 600; }
.tabs a.is-active::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .tabs a:hover { color: var(--c-blue-d); } }
/* прилипли — фон шапки на всю ширину (тень-заливка), граница снизу как у шапки */
.tabs.is-stuck { background: rgba(250,248,244,.97) !important; box-shadow: 0 0 0 100vmax rgba(250,248,244,.97), 0 1px 0 100vmax var(--edge) !important; clip-path: inset(0 -100vmax -1px -100vmax); }
.header { border-bottom: 1px solid transparent; }
/* шапка и прилипшие вкладки — непрозрачные: текст страницы под ними не просвечивает */
.header { background: #FAF8F4 !important; }
.tabs.is-stuck { background: #fff !important; box-shadow: 0 0 0 100vmax #fff, 0 1px 0 100vmax var(--edge) !important; }
/* вкладки во всю ширину контейнера — все разделы помещаются в одну строку */
.tabs-wrap { position: sticky; top: var(--hdr-h, 73px); z-index: 20; margin-top: 40px; }
.tabs-wrap .tabs { position: static !important; margin: 0; gap: 4px 26px !important; }
.tabs-wrap:has(.tabs.is-stuck) { background: #fff; box-shadow: 0 0 0 100vmax #fff, 0 8px 20px -16px #133e6e80; clip-path: inset(0 -100vmax -12px -100vmax); }
.tabs-wrap .tabs.is-stuck { box-shadow: none !important; clip-path: none; background: transparent !important; }
.tour-layout { margin-top: 32px; }
.tour-aside { top: calc(var(--hdr-h, 73px) + 74px) !important; }
@media (max-width: 1000px) { .tabs-wrap { margin-top: 28px; } }
.banner__dots button, .banner__dots button[aria-current="true"] { height: 28px !important; } .banner__dots button::before, .banner__dots button::after { top: 12px !important; }
/* строка «возраст · сезон · …»: разделитель-точка не повисает в начале перенесённой строки */
.tour-hero__meta { display: flex; flex-wrap: wrap; gap: 6px 0; margin-left: -22px !important; clip-path: inset(-4px 0 -4px 22px); }
.tour-hero__meta span { position: relative; padding-left: 22px; }
.tour-hero__meta span::before, .tour-hero__meta span + span::before { content: ""; display: block !important; position: absolute; left: 9px; top: 50%; width: 4px; height: 4px; margin: -2px 0 0; border-radius: 50%; background: var(--c-blue); }
/* программа по дням — в одну колонку */
.clubs--days { grid-template-columns: 1fr !important; }
/* длинные названия лагерей в заголовке формы переносятся */
.request__intro .h2 .nw { white-space: normal; }
@media (max-width: 640px) { .facts { gap: 18px 16px; } .facts dd { font-size: 16px; overflow-wrap: anywhere; } .facts div { padding-left: 12px; } }

[data-page][hidden] { display: none !important; }

/* Integration with the existing PHP templates and their functional hooks. */
html:root { --brand: #156CB3; --brand-600: #0E5C9E; --brand-700: #004479; --ink-900: #004479; --ink-800: #22364F; --ink-700: #22364F; --ink-600: #56677F; --ink-500: #56677F; --page: #FAF8F4; --surface: #fff; }
body { background: #FAF8F4; }
.site-main { min-height: 50vh; }
.site-main > .hero { background: none; padding-bottom: 0; }
.design-logo { width: 75px; height: 52px; flex: 0 0 75px; }
.design-logo img { display: block; width: 75px !important; height: 52px !important; object-fit: contain; }
.design-skip { position: fixed; left: 12px; top: -100px; z-index: 200; background: white; padding: 12px; }
.design-skip:focus { top: 12px; }
.container-site { max-width: calc(var(--container) + var(--gutter) * 2); width: 100%; margin-inline: auto; padding-inline: var(--gutter); }
.hero__main .h1 { white-space: normal !important; }
.search__field select { width: 100%; padding: 5px 28px 5px 0; background: transparent; border: none; font-size: 16px; min-height: 34px; }
.quick a { display: inline-flex; align-items: center; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; color: var(--c-navy); text-decoration: none; font-size: 14px; }
.quick a:hover { background: var(--c-yellow); }
.header .nav__main { flex-wrap: wrap; }
.header .nav__main a { white-space: nowrap; }
.card .card__media { display: block; }
.card .card__body { display: flex; flex-direction: column; flex: 1; }
.card .card__meta { margin-top: auto; padding-top: 16px; }
.card .card__foot { flex-wrap: wrap; }
.card .card__price { white-space: normal; }
.news__body h3 a { text-decoration: none; }
.news__body .h3 { color: var(--c-navy); }
.tour-grid, .post-grid { gap: 24px; }
.section.partners { display: block; margin-inline: auto; padding-inline: var(--gutter); }
.partners__list { list-style: none; display: grid; grid-template-columns: repeat(5,1fr); gap: 24px; padding: 0; margin: 0; }
.partners__list li { display: grid; place-items: center; min-height: 90px; }
.partners__list img { max-width: 150px; max-height: 80px; object-fit: contain; }
.design-crumbs { padding-top: 22px; }
.page-tour-modern .crumbs { display: block; }
.page-tour-modern .crumbs ol { min-width: 0; flex-wrap: nowrap; }
.page-tour-modern .crumbs li { flex-shrink: 0; }
.page-tour-modern .crumbs li:last-child { min-width: 0; flex: 1 1 auto; }
.page-tour-modern .crumbs span[aria-current] { max-width: 100%; }
.design-tour-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.design-tour-tags a { text-decoration: none; background: #fff; border: 1px solid var(--line); font-weight: 500; font-size: 13px; }
.design-tour-intro { font-size: 17px; line-height: 1.6; color: var(--text-muted); max-width: 52ch; }
.tour-hero { margin-top: 20px; }
.tour-hero__title { overflow-wrap: anywhere; }
.tour-hero .mosaic:has(> :only-child) { grid-template-columns: 1fr; }
.tour-hero .mosaic:has(> :only-child) > :only-child { grid-column: 1; grid-row: 1 / 3; }
.tour-main { min-width: 0; }
.tour-aside { top: calc(var(--hdr-h, 73px) + 80px); }
.design-rich { overflow-wrap: anywhere; font-size: 17px; line-height: 1.7; }
.design-rich h2, .design-rich h3 { font-family: var(--font); font-size: 23px; line-height: 1.35; margin: 30px 0 16px; color: var(--c-navy); }
.design-rich img { max-width: 100%; height: auto; border-radius: var(--r-md); }
.design-rich iframe { max-width: 100%; }
.design-rich table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.design-rich td, .design-rich th { padding: 10px; border: 1px solid var(--line); }
.page-tour-modern .camp-table-scroll { max-width: 100%; margin: 24px 0; overflow-x: auto; overscroll-behavior-x: contain; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--bg-card); }
.page-tour-modern .camp-table-scroll:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.page-tour-modern .design-rich .camp-table-scroll > table { display: table; width: 100%; max-width: none; margin: 0; overflow: visible; table-layout: auto; font-size: 16px; line-height: 1.6; overflow-wrap: normal; word-break: normal; }
.page-tour-modern .camp-table-scroll td, .page-tour-modern .camp-table-scroll th { min-width: 5.25rem; padding: 12px 14px; vertical-align: top; white-space: normal; overflow-wrap: normal; word-break: normal; }
.page-tour-modern .camp-table-scroll > table > thead > tr > th,
.page-tour-modern .camp-table-scroll > table > tbody:first-of-type > tr:first-child > :is(td, th) { background: var(--c-sky); color: var(--c-navy); font-weight: 600; }
.page-tour-modern .camp-table-scroll--schedule :is(td, th) p { display: inline; margin: 0; padding: 0; }
.page-tour-modern .camp-table-scroll--schedule :is(td, th) blockquote { display: contents; margin: 0; padding: 0; border: 0; background: none; }
.page-tour-modern .camp-photo-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 16px 0; }
.page-tour-modern .camp-photo-links a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--bg-card); color: var(--c-navy); font-size: 16px; line-height: 1.4; font-weight: 600; text-decoration: none; }
.page-tour-modern .camp-photo-links a:hover { border-color: var(--c-blue); }
.page-tour-modern .camp-photo-links a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.page-tour-modern .camp-photo-links span { color: var(--c-blue); font-size: 13px; font-weight: 400; }
@media (max-width: 640px) {
  .page-tour-modern .camp-photo-links { grid-template-columns: 1fr; gap: 8px; margin: 8px 0; }
  .page-tour-modern .camp-photo-links a { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; }
  .page-tour-modern .camp-photo-links span { flex-shrink: 0; }
}
.design-booking { border-radius: var(--r-lg); background: #fff; scroll-margin-top: 180px; }
.design-booking .shift { grid-template-areas: none; grid-template-columns: 18px minmax(0,1fr); gap: 6px 10px; }
.design-booking .shift input { grid-area: auto; grid-row: 1 / 3; width: 17px; height: 17px; }
.design-booking .shift__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.design-booking .shift__body strong { font-size: 14px; font-weight: 500; line-height: 1.4; }
.design-booking .shift__price { grid-area: auto; grid-column: 2; font-size: 18px; color: var(--c-navy); }
.design-booking .shift--sold { opacity: .55; cursor: default; }
.design-booking .shifts__total { padding-top: 12px; }
.design-booking .caption { text-transform: none; }
.design-booking .btn { width: 100%; }
.design-pay { text-align: center; color: var(--c-blue); font-size: 14px; }
.design-photo-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: 24px; }
.design-photo-grid button { padding: 0; border: none; overflow: hidden; border-radius: var(--r-sm); background: #fff; cursor: zoom-in; }
.design-photo-grid img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.design-lightbox:not([open]), .modal:not([open]) { display: none; }
.design-lightbox[open] { position: fixed; inset: 0; width: 100%; height: 100%; max-width: 100%; max-height: 100%; border: 0; margin: 0; padding: 60px 70px; background: rgba(8,22,38,.96); color: white; display: flex; align-items: center; justify-content: center; -webkit-user-select: none; user-select: none; }
.design-lightbox::backdrop { background: rgba(8,22,38,.96); }
.design-lightbox > img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }
/* Жёлтое выделение текста сайта не должно окрашивать снимки при клике или свайпе. */
.design-lightbox::selection, .design-lightbox ::selection { background: transparent; }
.design-lightbox button { position: absolute; width: 44px; height: 44px; border: 1px solid #ffffff60; border-radius: 50%; background: #ffffff15; color: white; display: grid; place-items: center; cursor: pointer; }
.design-lb-close { right: 20px; top: 16px; }
.design-lb-prev { left: 16px; top: calc(50% - 22px); }
.design-lb-next { right: 16px; top: calc(50% - 22px); }
.design-lb-count { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; }
.modal[open] { position: fixed; inset: 0; width: min(560px,calc(100% - 32px)); height: fit-content; min-height: 0; max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 1px solid var(--line); border-radius: 24px; background: #fff; color: var(--text); display: block; overflow-y: auto; }
.modal::backdrop { background: rgba(0,35,65,.5); backdrop-filter: blur(5px); }
.modal .modal-in { width: 100%; box-sizing: border-box; padding: 24px; }
.modal-title { font-family: var(--font-display); font-weight: 500; font-size: 24px; line-height: 1.3; color: var(--c-navy); padding-right: 28px; }
.modal-close { position: absolute; top: 16px; right: 16px; }
.modal .lead-form, .modal .lead-form > .grid-2 { gap: 12px; }
.modal .field textarea { min-height: 88px; }
.lead-form .field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.lead-form .input { background: #fff; border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; width: 100%; min-width: 0; font-size: 16px; }
.lead-form .field-label { font-size: 14px; font-weight: 500; }
.lead-form .consent { font-size: 13px; line-height: 1.6; }
.btn-primary, .btn-accent { background: var(--c-orange) !important; border-color: var(--c-orange) !important; color: white !important; border-radius: var(--r-pill); font-weight: 500; }
.btn-outline, .btn-ghost { color: var(--c-navy); border-color: var(--line-strong); background: #fff; font-weight: 500; }
.page-h1, .section-title, .section-title span { color: var(--c-navy); font-family: var(--font-display); font-weight: 500; }
.page-h1 { font-size: clamp(27px,3.2vw,44px); }
.panel { border: 1px solid var(--line); box-shadow: none; background: #fff; }
.design-mobile-book { display: none; }
@media (max-width: 1000px) { .partners__list { grid-template-columns: repeat(3,1fr); } .tour-aside { position: static; } .design-mobile-book { display: flex; position: fixed; z-index: 25; bottom: 0; left: 0; right: 0; padding: 10px var(--gutter); padding-bottom: max(10px,env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); align-items: center; justify-content: space-between; gap: 12px; } .page-tour { padding-bottom: 85px; } .design-mobile-book > span { font-weight: 600; color: var(--c-navy); } .design-mobile-book .btn { min-height: 44px; padding-inline: 20px; } }
@media (max-width: 640px) { .partners__list { grid-template-columns: repeat(2,1fr); } .design-photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .design-lightbox[open] { padding: 60px 8px; } .design-lightbox .design-lb-prev, .design-lightbox .design-lb-next { top: auto; bottom: 16px; } .modal .modal-in { padding: 20px; } .modal-title { font-size: 20px; } .tour-hero__title { font-size: 32px; } .design-tour-intro { font-size: 16px; } .tour-layout { gap: 30px; } }
@media print { .header, .footer, .design-mobile-book, .tabs-wrap { display: none; } .tour-layout { display: block; } .tour-aside { position: static; } }

/* Compact catalogue controls and a filter that applies several choices together on mobile. */
.page-catalog { font-family: "Onest", system-ui, sans-serif; font-size: 15px; }
.page-catalog .page-h1 { font-family: "Onest", system-ui, sans-serif; font-size: clamp(24px, 2.8vw, 34px); font-weight: 600; line-height: 1.25; letter-spacing: -.02em; max-width: 35ch; }
.page-catalog .page-lead { font-size: 15px; line-height: 1.5; margin-top: 10px; max-width: 60ch; }
.page-catalog .page-top { padding-top: 20px; }
.page-catalog .card .h3 { font-family: "Onest", system-ui, sans-serif; font-size: 19px; font-weight: 600; line-height: 1.3; }
.page-catalog .card__body { padding: 18px; }
.page-catalog .card__place, .page-catalog .card__type { font-size: 13px; }
.catalog .list-head { display: flex; align-items: center; justify-content: flex-end; flex-wrap: nowrap; gap: 10px; min-height: 42px; margin: 0 0 16px; }
.catalog .list-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; min-width: 0; }
.catalog .sort-form, .catalog .sort-label { margin: 0; }
.catalog .sort-label > span { display: none; }
.catalog .sort-form .dd-btn, .catalog-side-toggle { height: 42px; min-height: 42px; border: 1px solid var(--line-strong); border-radius: 12px; font-size: 14px; font-family: "Onest", system-ui, sans-serif; font-weight: 500; padding: 8px 14px; background: white; box-shadow: none; }
.catalog .sort-form .dd-btn { min-width: 175px; }
.catalog-side-toggle { align-items: center; justify-content: center; gap: 8px; }
.catalog-side-toggle .ic { width: 17px; height: 17px; }
.catalog .side-title { font-size: 16px; font-weight: 600; }
.catalog .side-field .label { font-size: 13px; font-weight: 500; }
.catalog .side-submit { font-size: 15px; min-height: 44px; }
.catalog-message { color: #8d310d; font-size: 14px; line-height: 1.5; }
@media (min-width: 1024px) { .catalog-side-toggle { display: none; } }
@media (max-width: 1023px) {
  .page-catalog .page-h1 { font-size: 25px; }
  .page-catalog .page-lead { margin-bottom: 0; }
  .catalog { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
  .catalog-main { display: contents; }
  .catalog .list-head { order: 0; justify-content: space-between; margin-bottom: 0; }
  .catalog-side { order: 1; }
  .catalog-results, .catalog-message { order: 2; }
  [data-catalog-seo] { order: 3; }
  .catalog .view-toggle, .catalog-side .side-hints, .catalog-side .help-card { display: none; }
  .catalog-side-toggle { display: inline-flex; flex: 0 0 auto; }
  .catalog-side .side-filters { margin: 0; padding: 16px; gap: 12px; }
  html.js .catalog-side .side-submit { display: flex; justify-content: center; position: sticky; bottom: 10px; z-index: 4; }
  .catalog .sort-form .dd-btn { min-width: 0; width: 185px; max-width: 100%; }
  .catalog .sort-form .dd-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
@media (max-width: 360px) {
  .catalog-side-toggle { padding-inline: 10px; }
  .catalog .sort-form .dd-btn { width: 165px; font-size: 13px; padding-inline: 10px; }
}

.page-catalog .crumbs { display: block; overflow: hidden; }
.page-catalog .crumbs ol { min-width: 0; flex-wrap: nowrap; }
.page-catalog .crumbs li { flex-shrink: 0; }
.page-catalog .crumbs li:last-child { min-width: 0; flex: 1 1 auto; }

.topbar__tag { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.topbar__tag .ico { width: 16px; height: 16px; color: var(--c-orange); }

@media (min-width: 1061px) {
  .header .nav__main > a { font-size: 18px; line-height: 1.35; padding-inline: 10px; }
  .header .header__phone, .header .header__call, .header .header__contacts .btn, .header .header__contacts .header__email { font-size: 17px; }
}
@media (min-width: 1061px) and (max-width: 1180px) {
  .header .nav__main > a { padding-inline: 6px; }
  .header .header__row { gap: 16px; }
}

/* Первый экран: текст и фирменный знак вместо квадратных рекламных слайдов. */
.home-intro__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: clamp(28px, 5vw, 72px); padding-block: 48px 56px; }
.home-intro__copy { min-width: 0; }
.home-intro__badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 600; color: var(--c-navy); text-decoration: none; transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s; }
.home-intro__badge:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.home-intro__badge .ico { width: 17px; height: 17px; flex: none; color: #16966b; }
.home-intro__title { margin: 0; max-width: 14ch; font-size: clamp(36px, 4.2vw, 60px); line-height: 1.08; letter-spacing: -.035em; }
.home-intro__lead { margin: 22px 0 0; max-width: 60ch; font-size: 18px; line-height: 1.65; color: var(--text-muted); }
.home-intro__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.home-intro__actions .btn { min-height: 46px; padding-inline: 18px; font-size: 15px; gap: 7px; }
.home-intro__actions .btn--sun { background: var(--c-yellow); color: var(--c-navy); border-color: transparent; }
.home-intro__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 26px 0 0; }
.home-intro__stats dt { font-size: clamp(25px, 2.4vw, 34px); font-weight: 700; line-height: 1.2; color: var(--c-navy); white-space: nowrap; }
.home-intro__stats dd { margin: 7px 0 0; font-size: 14px; line-height: 1.4; color: var(--text-muted); }
.home-intro__brand { min-width: 0; display: grid; place-items: center; padding: 32px 12px; }
.home-intro__logo { display: block; width: min(100%, 400px); height: auto; object-fit: contain; animation: home-logo-float 6s ease-in-out infinite; }
.home-intro__name { font-size: 40px; font-weight: 700; color: var(--c-navy); text-align: center; }
@keyframes home-logo-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 960px) { .home-intro__inner { grid-template-columns: 1fr; gap: 18px; padding-block: 30px 36px; } .home-intro__title { max-width: 20ch; } .home-intro__brand { padding: 20px; } .home-intro__logo { max-width: 280px; } }
@media (max-width: 480px) { .home-intro__title { font-size: 34px; } .home-intro__lead { font-size: 16px; margin-top: 18px; } .home-intro__badge { font-size: 11px; padding-inline: 10px; } .home-intro__actions { gap: 8px; } .home-intro__actions .btn { width: 100%; justify-content: center; } .home-intro__stats { grid-template-columns: .75fr 1.35fr 1fr; gap: 10px; } .home-intro__stats dt { font-size: clamp(22px, 6vw, 25px); } .home-intro__stats dd { font-size: 12px; } .home-intro__logo { max-width: 230px; } }
@media (prefers-reduced-motion: reduce) { .home-intro__logo { animation: none; } }

/* Подбор и трансфер в фирменном синем оформлении. */
.home-tour-search { padding-top: 20px; }
.home-tour-search__panel { position: relative; padding: clamp(20px, 3vw, 36px); border-radius: 28px; background: linear-gradient(115deg, #073bf4 0%, #2458f6 60%, #4c76ff 100%); box-shadow: 0 18px 40px -24px #073bf480; }
.home-tour-search__filters { display: grid; grid-template-columns: minmax(130px, .8fr) minmax(180px, 1.15fr) minmax(210px, 1.2fr) auto; align-items: stretch; gap: 12px; min-width: 0; }
.home-tour-search__field { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 0; padding: 10px 16px; border: 1px solid #ffffff80; border-radius: 16px; background: #fff; }
.home-tour-search__field:has(.dd.is-open) { z-index: 8; }
.home-tour-search__field > span { color: #63718a; font-size: 13px; line-height: 1.4; }
.home-tour-search__field select { width: 100%; min-width: 0; min-height: 38px; padding: 4px 22px 4px 0; border: 0; background-color: transparent; font: inherit; font-size: 16px; color: #064574; }
.home-tour-search .dd-btn { min-height: 38px; padding: 4px 26px 4px 0; border: 0; border-radius: 8px; background: transparent; color: #064574; font-size: 16px; font-weight: 600; box-shadow: none; }
.home-tour-search .dd-btn::after { right: 0; }
.home-tour-search .dd-value.is-empty { color: #064574; }
.home-tour-search .dd.is-open .dd-btn, .home-tour-search .dd-btn:focus-visible { box-shadow: 0 0 0 3px #dce6ff; }
.home-tour-search .dd-list { top: calc(100% + 20px); left: -17px; right: -17px; z-index: 40; max-height: min(280px, 45vh); padding: 7px; border: 1px solid #dce6ff; border-radius: 18px; background: #fff; box-shadow: 0 14px 35px #052b6b33; }
.home-tour-search .dd-item { min-height: 44px; padding: 10px 12px; border-radius: 11px; color: #144374; font-size: 15px; font-weight: 500; line-height: 1.4; }
.home-tour-search .dd-item:hover, .home-tour-search .dd-item.is-active, .home-tour-search .dd-item[aria-selected="true"] { background: #edf3ff; color: #1249df; }
.home-tour-search .dd-item[aria-selected="true"]::before { color: #1249df; }
.home-tour-search .btn { min-height: 56px; padding: 14px 26px; border: 1px solid transparent; border-radius: 16px; background: #ffda48; color: #06386b; font-size: 16px; font-weight: 650; white-space: nowrap; }
.home-tour-search .btn:hover { background: #ffe875; color: #06386b; }
.home-tour-search__submit { align-self: stretch; }
.home-tour-search__separator { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 22px 0; color: #fff; font-size: 16px; font-weight: 500; line-height: 1.5; text-align: center; }
.home-tour-search__separator::before, .home-tour-search__separator::after { content: ""; flex: 1; height: 1px; background: #ffffff50; }
.home-tour-search__quick { display: flex; align-items: stretch; gap: 12px; }
.home-tour-search__input-wrap { position: relative; display: flex; align-items: center; flex: 1; min-width: 0; border: 1px solid #ffffff80; border-radius: 16px; background: #fff; }
.home-tour-search__input-wrap > .ico { flex: none; width: 22px; height: 22px; margin-left: 18px; color: #2458f6; }
.home-tour-search__input-wrap input { width: 100%; min-width: 0; min-height: 56px; padding: 14px; border: 0; border-radius: 16px; background: transparent; color: #064574; font: inherit; font-size: 16px; }
.home-tour-search__input-wrap input::placeholder { color: #68788f; opacity: 1; }
.home-tour-search__input-wrap:focus-within { box-shadow: 0 0 0 3px #b7ceff; }
.home-tour-search__input-wrap input:focus { outline: none; box-shadow: none; }
.home-tour-search__suggestions { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 30; max-height: 320px; overflow-y: auto; padding: 7px; border: 1px solid #dce6ff; border-radius: 18px; background: #fff; box-shadow: 0 14px 35px #052b6b33; }
.home-tour-search__suggestions a { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 11px; color: #144374; font-size: 15px; }
.home-tour-search__suggestions a:hover, .home-tour-search__suggestions a:focus-visible, .home-tour-search__suggestions a.is-active { background: #edf3ff; }
.home-tour-search__suggestions span { color: #63718a; font-size: 13px; }
.home-tour-search__suggestions p { margin: 8px; color: #63718a; font-size: 14px; }
.home-tour-search__status { margin: 14px 0 0; color: #fff; font-size: 14px; }
.home-tour-search__suggestions[hidden], .home-tour-search__status[hidden] { display: none; }
.home-offers .card { padding: 0; }
.home-offers .card .btn--accent { background: #2458f6; color: #fff; }
.home-offers .card__excerpt { order: 3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.avia.avia--blue { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; padding: clamp(24px, 4vw, 48px); border: 0; border-radius: 28px; background: radial-gradient(ellipse at 100% 0%, #ffffff30, transparent 55%), linear-gradient(115deg, #073bf4, #2458f6 60%, #4c76ff); color: #fff; }
.avia--blue .avia__copy { min-width: 0; }
.avia--blue .avia__label { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: #ffffff20; color: #fff; font-size: 13px; font-weight: 600; }
.avia--blue .avia__label .ico { width: 18px; height: 18px; }
.avia--blue .avia__title { display: block; margin: 16px 0 12px; color: #fff; font-size: clamp(25px, 2.6vw, 36px); font-weight: 650; line-height: 1.2; }
.avia--blue .avia__text { max-width: 58ch; color: #eef3ff; font-size: 17px; line-height: 1.6; }
.avia--blue .avia__btns { gap: 12px; justify-content: flex-end; }
.avia--blue .avia__btns .btn { min-height: 52px; padding: 13px 22px; border: 1px solid transparent; border-radius: 999px; font-size: 15px; font-weight: 650; }
.avia--blue .btn--sun { background: #ffda48; color: #06386b; }
.avia--blue .btn--sun:hover { background: #ffe875; }
.avia--blue .btn--ghost { background: #fff; color: #1249df; }
.avia--blue .btn--ghost:hover { background: #edf3ff; color: #1249df; }
@media (max-width: 960px) {
  .home-tour-search__filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-tour-search__submit { grid-column: 1 / -1; }
  .avia.avia--blue { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .avia--blue .avia__btns { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .home-tour-search__panel { padding: 18px; border-radius: 24px; }
  .home-tour-search__filters { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .home-tour-search__field { padding: 8px 14px; }
  .home-tour-search .dd-list { left: -15px; right: -15px; top: calc(100% + 17px); }
  .home-tour-search__separator { gap: 10px; margin: 20px 0; font-size: 14px; }
  .home-tour-search__separator::before, .home-tour-search__separator::after { flex-basis: 10px; }
  .home-tour-search__quick { position: relative; gap: 8px; }
  .home-tour-search__input-wrap { position: static; }
  .home-tour-search__input-wrap > .ico { width: 18px; height: 18px; margin-left: 12px; }
  .home-tour-search__input-wrap input { padding-inline: 10px; }
  .home-tour-search__quick > .btn { padding-inline: 18px; }
  .avia.avia--blue { border-radius: 24px; }
  .avia--blue .avia__btns { width: 100%; }
  .avia--blue .avia__btns .btn { width: 100%; }
}

/* Разделяем меню, вопросы и партнёров; сохраняем пропорции фирменного знака. */
.header { background: #FAF8F4; border-bottom: 1px solid #dce5f0; box-shadow: 0 5px 20px -17px #133e6e80; }
.tabs-wrap { background: #fff; border-block: 1px solid #dce5f0; box-shadow: 0 8px 20px -16px #133e6e80; }
.design-tour-tabs { background: #fff; }
.design-tour-tabs a[aria-current="true"], .design-tour-tabs a.is-active { background: #edf3ff; }
.page-home .faq details + details { margin-top: 14px; }
.page-home .section.partners { margin-top: 40px; padding-top: 32px; }
.footer .footer__brand-logo { display: inline-flex; width: auto; height: auto; padding: 12px; border-radius: 14px; background: #fff; }
.footer .footer__brand-logo img { display: block; width: 132px !important; height: auto !important; max-height: none; object-fit: contain; filter: none; }

.field-required { margin-left: 3px; color: #cf3d35; }

/* Страница лагеря: один снимок справа от текста, компактные характеристики и смены. */
.page-tour-modern .tour-hero { align-items: start; gap: 40px; }
.page-tour-modern .tour-hero__title { max-width: 10ch; font-size: clamp(38px, 5.2vw, 68px); line-height: 1.04; }
.page-tour-modern .tour-hero__sub { max-width: 38ch; font-size: 17px; }
.page-tour-modern .camp-summary-facts > .camp-summary-fact--location { border-color: var(--c-greenL); }
.page-tour-modern .camp-summary-facts + .design-tour-intro { margin-top: 24px; }
.camp-summary-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin: 28px 0 0; }
.camp-summary-facts > div { padding-left: 14px; border-left: 3px solid #ffce39; }
.camp-summary-facts > div:nth-child(2) { border-color: #ff6538; }
.camp-summary-facts > div:nth-child(3) { border-color: #46ad38; }
.camp-summary-facts > div:nth-child(4) { border-color: #1673b8; }
.camp-summary-facts dt { color: var(--text-muted); font-size: 13px; }
.camp-summary-facts dd { margin: 3px 0 0; font-size: 18px; font-weight: 600; line-height: 1.35; }
.page-tour-modern .tour-layout { grid-template-columns: minmax(0,1fr) 300px; gap: 32px; }
.page-tour-modern .camp-section { padding-top: 44px; }
.page-tour-modern .camp-section > .h2 { margin: 0 0 22px; font-size: clamp(25px,2.6vw,34px); }
.camp-section-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 28px; align-items: start; }
.camp-section-row > .design-rich { min-width: 0; }
.page-tour-modern .design-rich { font-size: 16px; line-height: 1.62; }
.page-tour-modern .design-rich .rich { font-size: inherit; line-height: inherit; }
.camp-section-image { margin: 0; overflow: hidden; border-radius: 22px; }
.camp-section-image img { display: block; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; }
.page-tour-modern .camp-section .t-lead { font-size: inherit; line-height: inherit; font-weight: inherit; }
.page-tour-modern .camp-section .checks--grid { grid-template-columns: 1fr; gap: 10px; }
.page-tour-modern .camp-section .checks li { position: relative; padding-left: 20px; }
.page-tour-modern .camp-section .checks li::before { content: '✓'; position: absolute; left: 0; top: 0; color: #0065a6; }
.page-tour-modern .camp-section .duo__item { min-width: 0; padding: 22px; border: 1px solid #e1e5ed; border-radius: 20px; background: #fff; box-shadow: 0 4px 12px #1432530a; }
.page-tour-modern .camp-section .duo__title { margin-top: 0; font-size: 19px; }
.page-tour-modern .camp-section .transfer { gap: 22px; padding: 28px; border: 1px solid #cbdfef; border-radius: 22px; background: #e5f0f9; }
.page-tour-modern .transfer__price { margin-top: 12px; font-size: 36px; font-weight: 600; }
.page-tour-modern .transfer__inc { color: #00528b; font-weight: 600; }
.page-tour-modern .transfer .h3 { margin-top: 0; font-size: 19px; }
.camp-original-details { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 15px; }
.camp-original-details summary { cursor: pointer; color: #00528b; font-size: 14px; }
.camp-original-details > .design-rich { margin-top: 16px; }
.page-tour-modern .design-booking { gap: 12px; padding: 24px 22px; border: 1px solid #e1e5ed; box-shadow: 0 6px 18px #1432530a; }
.page-tour-modern .design-booking > .h3 { order: -2; margin: 0; font-size: 17px; }
.page-tour-modern .design-booking .shifts__total { order: -1; padding: 0; }
.page-tour-modern .design-booking .shifts__total .caption { display: none; }
.page-tour-modern .design-booking .shifts__from { margin: 0 0 4px; font-size: 30px; }
.page-tour-modern .design-booking .shift { grid-template-columns: 16px minmax(0,1fr) auto; padding: 10px 4px; border-color: transparent; gap: 8px; }
.page-tour-modern .design-booking .shift input { grid-row: 1; grid-column: 1; width: 15px; height: 15px; }
.page-tour-modern .design-booking .shift__body { grid-column: 2; }
.page-tour-modern .design-booking .shift__body strong { font-size: 14px; }
.page-tour-modern .design-booking .shift__dates { font-size: 12px; }
.page-tour-modern .design-booking .shift__price { grid-column: 3; font-size: 15px; }
.page-tour-modern .design-booking .shift:has(input:checked) { border-color: #d8e5f1; background: #f0f6fb; }
.page-tour-modern .design-booking .btn--ghost, .page-tour-modern .design-booking .design-pay { display: none; }
.page-tour-modern .design-booking .shifts__note { font-size: 13px; }
.design-photo-grid > [hidden] { display: none; }
.camp-gallery-more { display: block; margin: 22px auto 0; }
@media (max-width: 1100px) {
  .page-tour-modern .tour-layout { grid-template-columns: minmax(0,1fr) 260px; gap: 24px; }
  .camp-section-row { gap: 20px; }
}
@media (max-width: 1000px) {
  .page-tour-modern .tour-hero { grid-template-columns: 1fr; }
  .page-tour-modern .tour-layout { display: flex; flex-direction: column; }
  .page-tour-modern .tour-main, .page-tour-modern .tour-aside { width: 100%; }
  .page-tour-modern .tour-aside { order: 0; }
}
@media (max-width: 640px) {
  .page-tour-modern .tour-hero { gap: 24px; }
  .page-tour-modern .tour-hero__title { max-width: none; font-size: 38px; }
  .camp-summary-facts { gap: 18px; }
  .camp-summary-facts dd { font-size: 16px; }
  .camp-section-row { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .page-tour-modern .camp-section { padding-top: 34px; }
  .page-tour-modern .camp-section .transfer { grid-template-columns: 1fr; padding: 22px; }
  .page-tour-modern .camp-section .duo { grid-template-columns: 1fr; }
}

/* Согласие: фиксированный размер галочки, текст занимает оставшуюся ширину. */
.lead-form .consent, .pay-form .consent { display: grid; grid-template-columns: 20px minmax(0,1fr); align-items: start; gap: 10px; width: 100%; margin: 0; font-size: 13px; line-height: 1.6; }
.lead-form .consent > span, .pay-form .consent > span { min-width: 0; overflow-wrap: anywhere; }
.lead-form .consent input[type="checkbox"], .pay-form .consent input[type="checkbox"] { appearance: none; -webkit-appearance: none; display: block; box-sizing: border-box; width: 20px; min-width: 20px; max-width: 20px; height: 20px; min-height: 20px; max-height: 20px; padding: 0; margin: 2px 0 0; border: 1.5px solid #a5b4c8; border-radius: 5px; background: #fff; box-shadow: none; cursor: pointer; }
.lead-form .consent input[type="checkbox"]:checked, .pay-form .consent input[type="checkbox"]:checked { border-color: #156cb3; background: #156cb3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m4 10 4 4 8-9' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px 16px no-repeat; }
.lead-form .consent input[type="checkbox"]:focus-visible, .pay-form .consent input[type="checkbox"]:focus-visible { outline: 3px solid #156cb34d; outline-offset: 3px; }
.lead-form .consent input[aria-invalid="true"] { border-color: #cf3d35; }
.lead-form .consent a { font-weight: 500; }
.lead-form [hidden] { display: none; }
.lead-form[aria-busy="true"] button[type="submit"] { cursor: wait; opacity: .65; }
.lead-notice { position: fixed; inset: max(18px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) auto auto; z-index: 10000; display: grid; grid-template-columns: 36px minmax(0,1fr) 24px; align-items: start; gap: 12px; box-sizing: border-box; width: min(440px,calc(100% - 32px)); max-width: none; margin: 0; padding: 20px; border: 1px solid #dce7ef; border-left: 4px solid #25966b; border-radius: 18px; background: #fff; color: #173b58; box-shadow: 0 14px 50px #14334f2e; font-family: var(--font); text-align: left; animation: lead-notice-in .2s ease-out both; }
.lead-notice::backdrop { background: transparent; pointer-events: none; }
.lead-notice__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #e4f5ec; color: #177849; font-size: 23px; font-weight: 600; }
.lead-notice--error { border-left-color: #d95448; }
.lead-notice--error .lead-notice__icon { background: #fff0ec; color: #ba382d; }
.lead-notice__body strong { display: block; margin: 0 0 5px; font-size: 16px; font-weight: 600; line-height: 1.35; }
.lead-notice__body p { margin: 0; color: #53677b; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.lead-notice__close { display: grid; place-items: center; width: 24px; height: 24px; min-height: 0; padding: 0; border: 0; border-radius: 5px; background: transparent; color: #5b6e82; font: inherit; font-size: 24px; line-height: 1; cursor: pointer; }
.lead-notice__close:hover { background: #edf2f7; }
.lead-notice__close:focus-visible { outline: 2px solid #156cb3; outline-offset: 2px; }
@keyframes lead-notice-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .lead-notice { animation: none; } }
@media (max-width: 600px) { .lead-notice { inset-inline: 16px; padding: 16px; gap: 10px; } }

/* Замечания к оформлению: доступное переключение стиля, компактные карточки и формы. */
.topbar__row { gap: 16px; flex-wrap: wrap; }
.topbar__row > nav { margin-left: auto; }
.topbar .look-switch { display: flex; align-items: center; flex: none; gap: 6px; margin-left: 6px; }
.topbar .look-seg { display: flex; padding: 3px; border-radius: 30px; background: #eaf0f8; }
.topbar .look-btn { border: 0; border-radius: 24px; padding: 6px 10px; background: transparent; color: #33475c; font: 600 12px/1.2 var(--font); cursor: pointer; }
.topbar .look-btn[aria-pressed="true"] { background: #fff; color: #004479; box-shadow: 0 1px 5px #19375221; }
.topbar .look-theme { display: none; }
html[data-style="bright"] .home-intro { position: relative; isolation: isolate; }
html[data-style="bright"] .home-intro::before { content: ''; position: absolute; z-index: -1; pointer-events: none; inset: -25px 0 -35px; background: radial-gradient(ellipse at 3% 25%,#ffe47780 0,transparent 38%),radial-gradient(ellipse at 75% 75%,#a1eec080 0,transparent 35%),radial-gradient(ellipse at 100% 45%,#ffcee780 0,transparent 35%); }
html[data-style="simple"] .home-intro::before { display: none; }
html[data-style="simple"] { --c-cream: #f8fafc; --text: #243647; --c-ink: #243647; }
html[data-style="simple"] .home-intro__title { font-family: var(--font); letter-spacing: -.025em; }
html[data-style="simple"] .home-tour-search__panel { background: #164d7b; box-shadow: none; }
html[data-style="simple"] .tile, html[data-style="simple"] .card { box-shadow: none; }
.footer .footer__brand-logo { padding: 0; border-radius: 0; background: transparent; }
.footer .footer__brand-logo img { background: transparent; }
.card__season { margin: 0 0 12px; color: #596c82; font-size: 12px; line-height: 1.5; }
.card__badges:empty { display: none; }
.avia--mint, .page-home #avia .avia { background: #e3f3e9; border: 1px solid #c7e4d3; color: #173b36; box-shadow: 0 12px 32px #285d3210; }
.avia--mint .avia__title, .page-home #avia .avia .avia__title { display: block; color: #173b36; font-size: clamp(24px,2.6vw,34px); }
.avia--mint .avia__label, .page-home #avia .avia .avia__label { display: inline-flex; align-items: center; gap: 8px; color: #206b54; background: #d0eadc; border-radius: 30px; padding: 8px 12px; }
.avia--mint .avia__text, .page-home #avia .avia .avia__text { color: #3b5c53; }
.avia--mint .btn--ghost, .page-home #avia .avia .btn--ghost { background: #fff; color: #245948; border-color: #b4d5c4; }
.page-tour-modern .tour-hero__title { max-width: none; font-size: clamp(30px,3.8vw,48px); line-height: 1.12; overflow-wrap: break-word; word-break: normal; }
.page-tour-modern .tour-hero__title--medium { font-size: clamp(28px,3vw,39px); }
.page-tour-modern .tour-hero__title--long { font-size: clamp(25px,2.5vw,32px); line-height: 1.2; letter-spacing: -.025em; }
.page-tour-modern .tabs-wrap { background: #e3f3e9; border: 1px solid #c9e2d5; border-radius: 16px; }
.page-tour-modern .design-tour-tabs { background: transparent; padding: 4px 12px; }
.page-tour-modern .design-tour-tabs a { color: #294f45; }
.page-tour-modern .design-tour-tabs a:hover, .page-tour-modern .design-tour-tabs a.is-active, .page-tour-modern .design-tour-tabs a[aria-current="true"] { color: #064b39; background: #cde8da; border-radius: 10px; border-bottom-color: #2f8769; }
.camp-section-row--program { display: flow-root; }
.camp-section-row--program > .camp-section-image { float: right; width: 42%; margin: 0 0 22px 26px; }
.camp-section-row--program > .design-rich { display: block; }
.camp-section-row--program .info-grid, .camp-section-row--program .duo, .camp-section-row--program .program-grid { clear: both; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.camp-section-row--program .points { clear: both; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding-top: 14px; }
.camp-section-row--program .t-sub { clear: both; padding-top: 18px; }
.camp-section-row--program .points li { padding: 14px 16px; }
.camp-section-row--program .info-card, .camp-section-row--program .duo__item { padding: 16px; }
/* Перекрываем общие стили label/input платформы только внутри наших форм. */
.lead-form, .lead-form .grid-2, .lead-form .field, .lead-form .consent, .lead-form .consent > span { min-width: 0; box-sizing: border-box; }
.lead-form .consent, .pay-form .consent { position: static; display: flex; flex-direction: row; align-items: flex-start; justify-content: flex-start; gap: 10px; width: 100%; max-width: 100%; white-space: normal; }
.lead-form .consent > input[type="checkbox"], .pay-form .consent > input[type="checkbox"] { position: static; flex: 0 0 20px; width: 20px; height: 20px; margin: 2px 0 0; transform: none; }
.lead-form .consent > span, .pay-form .consent > span { position: static; display: block; flex: 1 1 0%; width: auto; max-width: 100%; margin: 0; padding: 0; text-align: left; word-break: normal; overflow-wrap: break-word; }
.lead-form .consent a { display: inline; white-space: normal; }
@media (max-width: 1200px) { .topbar__row { gap: 8px 14px; } .header .nav__main { gap: 2px; } .header .nav__main a { font-size: 15px; padding-inline: 8px; } }
/* Между планшетом и ноутбуком все пункты помещаются до включения бургера. */
@media (min-width: 1061px) and (max-width: 1180px) {
  .header .nav__main > a { font-size: 14px; padding-inline: 5px; }
  .header .header__row { gap: 12px; }
}
@media (max-width: 760px) {
  .topbar__row > nav { display: none; } .topbar .look-switch { margin-left: auto; } .topbar__tag { font-size: 10px; } .topbar .look-btn { font-size: 11px; padding: 6px 8px; }
  .camp-section-row--program > .camp-section-image { float: none; width: 100%; margin: 0 0 20px; }
  .camp-section-row--program .points { grid-template-columns: 1fr; }
  .camp-section-row--program .info-grid, .camp-section-row--program .duo, .camp-section-row--program .program-grid { grid-template-columns: 1fr; }
  .page-tour-modern .tour-hero__title { font-size: 30px; } .page-tour-modern .tour-hero__title--medium { font-size: 28px; } .page-tour-modern .tour-hero__title--long { font-size: 25px; }
}

/* Прилипание боковой помощи и единое оформление разделов тура. */
@supports (overflow: clip) {
  body { overflow-x: clip; }
}
@media screen and (min-width: 1024px) {
  .page-cols > .page-aside,
  .catalog > .catalog-side > .help-card {
    position: sticky;
    top: calc(var(--hdr-h, 73px) + 16px);
    align-self: start;
    max-height: calc(100vh - var(--hdr-h, 73px) - 32px);
    max-height: calc(100dvh - var(--hdr-h, 73px) - 32px);
    overflow-y: auto;
    scrollbar-width: thin;
  }
  /* Боковая колонка тянется до конца списка: карточке есть куда прилипать. */
  .catalog > .catalog-side { display: block; align-self: stretch; }
  .catalog > .catalog-side > * + * { margin-top: 16px; }
}
@media screen and (max-width: 1023px) {
  .page-cols > .page-aside { position: static; max-height: none; overflow: visible; }
}
.page-tour-modern .tabs-wrap,
.page-tour-modern .tabs-wrap:has(.design-tour-tabs.is-stuck) {
  background: var(--c-blue);
  border-color: var(--c-blue);
  box-shadow: 0 8px 20px -16px #133e6e80;
  clip-path: none;
}
.page-tour-modern .tabs-wrap .design-tour-tabs,
.page-tour-modern .tabs-wrap .design-tour-tabs.is-stuck {
  background: transparent !important;
  box-shadow: none !important;
  border-bottom-color: transparent !important;
}
.page-tour-modern .tabs-wrap .design-tour-tabs a,
.page-tour-modern .tabs-wrap .design-tour-tabs a:hover,
.page-tour-modern .tabs-wrap .design-tour-tabs a.is-active,
.page-tour-modern .tabs-wrap .design-tour-tabs a[aria-current] { color: #fff; }
.page-tour-modern .tabs-wrap .design-tour-tabs a::after { bottom: 0; background: var(--c-yellow); }
.page-tour-modern .tabs-wrap .design-tour-tabs a[aria-current]::after,
.page-tour-modern .tabs-wrap .design-tour-tabs:not(:has(.is-active, [aria-current])) a:first-child::after { transform: scaleX(1); }
.page-tour-modern .tabs-wrap .design-tour-tabs a:focus-visible { outline: 2px solid var(--c-yellow); outline-offset: -3px; }
.page-tour-modern .camp-section-row--program .points li { padding: 14px 16px 14px 44px; }

/* Светлая/тёмная тема: поведение, cookie и aria уже обеспечивает at_look_switch/app.js.
   Подключать после текущих блоков design.css. Фирменные --c-white/--c-blue не меняем. */
.topbar .look-theme {
  display: inline-flex; flex: 0 0 44px; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-strong);
}
.topbar .look-theme .ic { width: 20px; height: 20px; }
.topbar .look-theme:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
html:root[data-theme="dark"] {
  color-scheme: dark;
  --bg-page: #101923; --c-cream: #101923; --bg-card: #182534;
  --bg: #101923; --surface: #182534; --surface-2: #213247; --card: #182534;
  --c-ink: #edf3fa; --c-navy: #edf3fa; --c-slate: #d7e1ed; --c-graphite: #e2eaf4;
  --text: #e2eaf4; --text-muted: #adbed1; --muted: #adbed1;
  --ink-900: #edf3fa; --ink-800: #e2eaf4; --ink-700: #d7e1ed;
  --ink-600: #adbed1; --ink-500: #adbed1;
  --tone-1: #213247; --line: #354b63; --line-strong: #6d859e;
  --edge: #354b63; --border: #354b63; --focus: #9bcaff;
  --c-sky: #203b55; --c-lime: #3e351c; --c-mint: #1c3c32;
  --c-pink: #422b22; --c-peach: #422b22; --c-rose: #402630;
  --on-sky: #b8dfff; --on-lime: #ffe397; --on-mint: #a6e7c4;
  --on-pink: #ffd0af; --on-peach: #ffd0af;
  --brand-600: #9bcaff; --brand-700: #b8dfff; --at-link: #9bcaff;
  --error-text: #ffb3aa; --danger-text: #ffb3aa;
  --lift: 0 1px 0 #354b63; --shadow: 0 14px 30px -20px #0009;
}
html:root[data-theme="dark"] body { background: var(--bg-page); color: var(--text); }
html:root[data-theme="dark"] body::before { display: none !important; }
html:root[data-theme="dark"] .header { background: var(--bg-card) !important; border-color: var(--line); }
html:root[data-theme="dark"] :is(.topbar, .topbar .look-seg, .topbar .look-theme) { background: var(--tone-1); color: var(--text); }
html:root[data-theme="dark"] .topbar .look-btn { color: var(--text-muted); }
html:root[data-theme="dark"] .topbar .look-btn[aria-pressed="true"] { background: var(--bg-card); color: var(--text); }
html:root[data-theme="dark"] :is(.topbar__tag, .home-intro__badge) { color: var(--at-link); }
html:root[data-theme="dark"] .topbar .look-theme:hover { background: var(--bg-card); }
/* SVG остаётся фирменным: светлая площадка нужна только обычному синему знаку. */
html:root[data-theme="dark"] .design-logo { background: #fff; border-radius: 10px; padding: 4px; }
html:root[data-theme="dark"] .design-logo img { width: 100% !important; height: 100% !important; }
html:root[data-theme="dark"] .home-intro__logo { background: #fff; border-radius: 20px; padding: 14px; }
html:root[data-theme="dark"] .footer { background: #0a1420; color: #edf3fa; border-top: 1px solid var(--line); }
html:root[data-theme="dark"] :is(.panel, .card, .news__item, .review, .faq details, .map__card,
  .shifts, .shift, .duo__item, .points li, .request__form, .transfer, .acc details, .search, .rating__row,
  .home-intro__badge, .design-mobile-book, .modal[open], .lead-notice, .quick a, .tags a) {
  background: var(--bg-card); border-color: var(--line); color: var(--text);
}
html:root[data-theme="dark"] :is(.card__season, .card__excerpt, .lead-notice__body p) { color: var(--text-muted); }
html:root[data-theme="dark"] :is(.btn--ghost, .btn--line, .btn-outline, .btn-ghost) {
  background: var(--tone-1); color: var(--text); border-color: var(--line-strong);
}
html:root[data-theme="dark"] :is(.card .btn--accent, .btn--ink) { background: var(--c-blue); color: #fff; }
html:root[data-theme="dark"] :is(.btn--sun, .home-intro__actions .btn--sun, .footer .socials a:hover) { color: #102943; }
html:root[data-theme="dark"] :is(.nav__main a:hover, .nav__main a.is-current) { color: var(--at-link); }
html:root[data-theme="dark"] :is(p a:not([class]), li a:not([class]), .link-btn, .link-strong,
  .aside-phone a, .request__call a, .design-pay, .card__link:hover, .review footer a) { color: var(--at-link); }
html:root[data-theme="dark"] .footer :is(a, li a:not([class]), p a:not([class])) { color: #edf3fa; }
/* Поля и оба вида выпадающих списков, включая подбор на главной. */
html:root[data-theme="dark"] :is(.lead-form .input, .field input:not([type="checkbox"]):not([type="radio"]),
  .field textarea, .field select, .dd-btn, .dd-list, .dd__btn, .dd__list,
  .home-tour-search__field, .home-tour-search__input-wrap, .home-tour-search__suggestions) {
  background-color: var(--tone-1); border-color: var(--line-strong); color: var(--text);
}
html:root[data-theme="dark"] :is(.field input, .field textarea, .home-tour-search__input-wrap input)::placeholder { color: var(--text-muted); opacity: 1; }
html:root[data-theme="dark"] :is(.dd-item, .dd__opt, .home-tour-search .dd-btn, .home-tour-search .dd-value.is-empty,
  .home-tour-search__field select, .home-tour-search__input-wrap input, .home-tour-search__suggestions a) { color: var(--text); }
html:root[data-theme="dark"] :is(.dd-item:hover, .dd-item.is-active, .dd-item[aria-selected="true"],
  .dd__opt:hover, .dd__opt[aria-selected="true"], .home-tour-search__suggestions a:hover,
  .home-tour-search__suggestions a:focus-visible, .home-tour-search__suggestions a.is-active) {
  background: var(--c-sky); color: var(--at-link);
}
html:root[data-theme="dark"] .dd-item[aria-selected="true"]::before { color: var(--at-link); }
html:root[data-theme="dark"] :is(.home-tour-search__field > span, .home-tour-search__suggestions span,
  .home-tour-search__suggestions p) { color: var(--text-muted); }
html:root[data-theme="dark"] :is(.field input:focus, .field textarea:focus) { background-color: var(--tone-1); border-color: var(--focus); }
html:root[data-theme="dark"] :is(.lead-form .consent input[type="checkbox"], .pay-form .consent input[type="checkbox"]) {
  background-color: var(--bg-page); border-color: var(--line-strong);
}
/* Только цвет фона: изображение белой галочки из существующего :checked сохраняется. */
html:root[data-theme="dark"] :is(.lead-form .consent input[type="checkbox"]:checked, .pay-form .consent input[type="checkbox"]:checked) {
  background-color: var(--c-blue); border-color: var(--focus);
}
html:root[data-theme="dark"] :is(.lead-form .consent a, .pay-form .consent a) { color: var(--at-link); }
html:root[data-theme="dark"] :is(.field-required, .lead-form .consent input[aria-invalid="true"]) { color: var(--error-text); border-color: var(--error-text); }
html:root[data-theme="dark"] :is(.lead-form .consent input:focus-visible, .pay-form .consent input:focus-visible) { outline-color: var(--focus); }
/* Исключения с фиксированным светлым фоном в актуальном макете. */
html:root[data-theme="dark"] .request.tile--lime { background: var(--bg-card); }
html:root[data-theme="dark"] :is(.design-booking .shift:has(input:checked), .rating__row) { background: var(--c-sky); }
html:root[data-theme="dark"] .page-tour-modern .camp-section .checks li::before { color: var(--at-link); }
html:root[data-theme="dark"] .page-tour-modern .camp-section .transfer__inc { color: var(--on-sky); }
html:root[data-theme="dark"] .program-banner.tile { background: linear-gradient(120deg, #17314c, var(--c-blue)); color: #fff; }
html:root[data-theme="dark"] .program-banner.tile .h3 { color: #fff; }
html:root[data-theme="dark"] :is(.avia--mint, #avia .avia) { background: var(--c-mint); border-color: #365e4b; color: var(--on-mint); }
html:root[data-theme="dark"] :is(.avia--mint .avia__title, #avia .avia .avia__title,
  .avia--mint .avia__text, #avia .avia .avia__text) { color: var(--on-mint); }
html:root[data-theme="dark"] :is(.avia--mint .avia__label, #avia .avia .avia__label,
  .avia--mint .btn--ghost, #avia .avia .btn--ghost) { background: #254a3c; color: var(--on-mint); border-color: #547d68; }
@media (max-width: 1060px) { html:root[data-theme="dark"] .header .nav { background: var(--bg-card); } }

/* Фирменная палитра подбора: одинаковая в обоих стилях и обеих темах.
   Локальные токены также используются существующими правилами тёмной темы. */
html:root .home-tour-search {
  color-scheme: light;
  --tone-1: #fff;
  --text: #064574;
  --text-muted: #63718a;
  --line-strong: #dce6ff;
  --focus: #b7ceff;
  --c-sky: #edf3ff;
  --at-link: #1249df;
}
html:root .home-tour-search .home-tour-search__panel {
  background: linear-gradient(115deg, #073bf4 0%, #2458f6 60%, #4c76ff 100%);
}
html:root .home-tour-search :is(.home-tour-search__field, .home-tour-search__input-wrap, .dd-list, .home-tour-search__suggestions) {
  background-color: #fff;
  border-color: #dce6ff;
}
html:root .home-tour-search :is(.home-tour-search__field > span, .home-tour-search__suggestions span, .home-tour-search__suggestions p) {
  color: #63718a;
}
html:root .home-tour-search :is(.home-tour-search__field select, .home-tour-search__input-wrap input, .dd-btn, .dd-value.is-empty) {
  color: #064574;
}
html:root .home-tour-search .home-tour-search__input-wrap input::placeholder { color: #68788f; opacity: 1; }
html:root .home-tour-search .dd-btn::after,
html:root .home-tour-search .home-tour-search__field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%234a4f7d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>");
}
html:root .home-tour-search .home-tour-search__input-wrap > .ico { color: #2458f6; }
html:root .home-tour-search :is(.dd-item, .home-tour-search__suggestions a) { color: #064574; }
html:root .home-tour-search :is(.dd-item:hover, .dd-item.is-active, .dd-item[aria-selected="true"], .home-tour-search__suggestions a:hover, .home-tour-search__suggestions a:focus-visible, .home-tour-search__suggestions a.is-active) {
  background: #edf3ff;
  color: #1249df;
}
html:root .home-tour-search .dd-item[aria-selected="true"]::before { color: #1249df; }
html:root .home-tour-search :is(.dd-btn, .dd-item) .dd-count { background: #edf3ff; color: #63718a; }
html:root .home-tour-search .btn { background: #ffe147; color: #064574; border-color: transparent; }
html:root .home-tour-search .btn:hover { background: #ffe875; color: #064574; }
html:root .home-tour-search .btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
html:root .home-tour-search :is(.home-tour-search__separator, .home-tour-search__status) { color: #fff; }
html:root .home-tour-search .home-tour-search__separator::before,
html:root .home-tour-search .home-tour-search__separator::after { background: #ffffff50; }

/* Солнце/луна без площадки; прежние размер цели 44 px и focus-visible сохранены. */
.topbar .look-theme { background: transparent !important; border: 0; box-shadow: none !important; }

/* Компактный первый экран телефона: логотип рядом с заголовком, действия в два ряда. */
@media (max-width: 640px) {
  .home-intro__inner {
    grid-template-columns: minmax(0, 1fr) 96px;
    column-gap: 12px;
    row-gap: 0;
    padding-block: 22px 26px;
  }
  .home-intro__copy { display: contents; }
  .home-intro__badge {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: start;
    margin: 0 0 12px;
    font-size: 11px;
    line-height: 1.35;
  }
  .home-intro__title {
    grid-column: 1;
    grid-row: 2;
    max-width: none;
    font-size: clamp(25px, 6.5vw, 30px);
    line-height: 1.12;
  }
  .home-intro__brand { grid-column: 2; grid-row: 2; width: 96px; padding: 0; }
  .home-intro__logo { width: 100%; max-width: 96px; }
  .home-intro__lead {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.5;
  }
  .home-intro__actions {
    grid-column: 1 / -1;
    grid-row: 4;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
  }
  .home-intro__actions .btn {
    width: auto;
    min-width: 0;
    min-height: 44px;
    padding: 10px 8px;
    gap: 5px;
    justify-content: center;
    font-size: 13px;
    line-height: 1.3;
    white-space: normal;
    text-align: center;
  }
  .home-intro__actions .btn:first-child { grid-column: 1 / -1; }
  .home-intro__actions .ico { width: 16px; height: 16px; flex: none; }
  .home-intro__stats { grid-column: 1 / -1; grid-row: 5; gap: 10px; margin-top: 18px; }
  .home-intro__stats dt { font-size: clamp(20px, 5.8vw, 24px); }
  .home-intro__stats dd { margin-top: 5px; font-size: 12px; }
  html:root[data-theme="dark"] .home-intro__logo { padding: 6px; border-radius: 12px; }
}

/* После подтверждения заявки поля больше не занимают место в форме. */
.lead-form.is-sent>:not(.form-message):not([data-form-success-actions]){display:none!important}
.lead-form.is-sent .form-message{margin-bottom:18px}.lead-form [data-form-success-actions][hidden]{display:none}
.camp-section-image--sized img{aspect-ratio:auto;object-fit:contain}

/* Редактируемая верхняя строка остаётся в пределах экрана. */
.topbar__tag{white-space:normal;overflow-wrap:anywhere;min-width:0;max-width:100%}.topbar__row>nav{min-width:0;flex-wrap:wrap}.topbar__row>nav a{overflow-wrap:anywhere}

/* Пункты, добавленные владельцем, переносятся без наложения на логотип и кнопку. */
.header .nav{min-width:0}.nav__main{flex-wrap:wrap;min-width:0}.nav__main a{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.header__contacts .btn{white-space:normal;text-align:center;max-width:clamp(160px,25vw,360px);overflow-wrap:anywhere}

/* Общие карточки трансфера и документов: условия каждого тура остаются своими. */
.page-tour-modern .tour-transfer > div { min-width: 0; overflow-wrap: anywhere; }
.page-tour-modern .tour-transfer--one { grid-template-columns: minmax(0,1fr); }
.page-tour-modern .tour-transfer__summary > :first-child,
.page-tour-modern .tour-transfer__included > :first-child { margin-top: 0; }
.page-tour-modern .tour-transfer__summary > :last-child,
.page-tour-modern .tour-transfer__included > :last-child { margin-bottom: 0; }
.page-tour-modern .tour-transfer__title { font-size: 19px; font-weight: 600; }
.page-tour-modern .tour-transfer .transfer__price { display: block; font-size: clamp(26px,3vw,36px); line-height: 1.2; }
.page-tour-modern .tour-transfer__included ul { padding-left: 1.4em; }
.page-tour-modern .tour-transfer__included li { padding-left: .2em; margin-bottom: 12px; }
.page-tour-modern .tour-transfer__included li::marker { content: "✓  "; color: var(--c-blue); }
.page-tour-modern .tour-documents { grid-template-columns: repeat(2,minmax(0,1fr)); }
.page-tour-modern .tour-documents.duo--one { grid-template-columns: minmax(0,1fr); }
.page-tour-modern .tour-documents__body { min-width: 0; overflow-wrap: anywhere; }
.page-tour-modern .tour-documents__body ul:not(.docs-list) { list-style: decimal; padding-left: 1.5em; }
.page-tour-modern .tour-documents__body li { margin-bottom: 14px; padding-left: .2em; }
.page-tour-modern .tour-documents__body li::before { content: none; }
.page-tour-modern .tour-documents__body img { max-width: 100%; height: auto; }
@media(max-width:760px) {
  .page-tour-modern .tour-documents { grid-template-columns: minmax(0,1fr); }
}
.page-tour-modern .tour-transfer .ticket-card { padding: 0; background: transparent; color: inherit; box-shadow: none; overflow: visible; }
.page-tour-modern .tour-transfer .ticket-card :is(.rich,b,.ticket-kicker,.ticket-route,.ticket-price) { color: inherit; }
.page-tour-modern .tour-transfer .ticket-price { padding: 0; border-radius: 0; background: transparent; }
.page-tour-modern .tour-transfer__included :is(.rich, .ticket-card) > :first-child { margin-top: 0; }
.page-tour-modern .tour-transfer__included li::before { content: none; }
.page-tour-modern .tour-transfer__price-line { display: block; font-size: 16px; line-height: 1.5; }
.page-tour-modern .tour-transfer__price-line .transfer__price { margin-top: 8px; white-space: nowrap; }
.page-tour-modern .tour-transfer img { max-width: 100%; max-height: 180px; width: auto; height: auto; object-fit: contain; }

/* Собственные цветные иллюстрации преимуществ продолжают палитру логотипа. */
.about-sec .about__art { display: grid; place-items: center; flex: 0 0 72px; width: 72px; height: 84px; }
.about-sec .about__art img { display: block; width: 84px; height: 84px; max-width: none; object-fit: contain; }
.about-sec .about li > p { min-width: 0; }
.camp-season-button { padding: 0; border: 0; border-bottom: 1px dashed currentColor; background: transparent; color: inherit; font: inherit; font-weight: inherit; line-height: inherit; text-align: left; cursor: pointer; }
.camp-location-link { color: inherit; text-decoration: underline; text-decoration-color: #7aac94; text-underline-offset: 4px; }
.camp-season-button:focus-visible, .camp-location-link:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.design-booking .shift[hidden], .shift-calendar [hidden] { display: none !important; }
.page-tour-modern .design-booking .shifts__calendar-button { display: flex; margin-top: 12px; font-size: 14px; }
@media (min-width: 1001px) {
  .page-tour-modern .design-booking { max-height: calc(100dvh - var(--hdr-h,73px) - 90px); overflow-y: auto; overscroll-behavior: contain; }
}
.modal.shift-calendar[open] { box-sizing: border-box; width: min(920px,calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 40px); padding: 0; border: 1px solid var(--line); border-radius: 24px; background: var(--bg-card,#fff); color: var(--c-ink); }
.shift-calendar__inner { display: flex; flex-direction: column; width: 100%; max-height: calc(100dvh - 44px); }
.shift-calendar__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 24px 26px 16px; background: var(--bg-card,#fff); border-bottom: 1px solid var(--line); }
.shift-calendar__header h2 { margin: 0 0 5px; color: var(--c-navy); font-size: 26px; }
.shift-calendar__header p { margin: 0; color: var(--text-muted); font-size: 14px; }
.shift-calendar__close { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; padding: 8px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--c-navy); cursor: pointer; }
.shift-calendar__filters { display: grid; grid-template-columns: 1fr 180px; gap: 16px; padding: 16px 26px; }
.shift-calendar__filters label { min-width: 0; font-size: 13px; color: var(--text-muted); }
.shift-calendar__filters .input, .shift-calendar__filters .select { display: block; width: 100%; margin-top: 6px; min-height: 44px; font-size: 16px; }
.shift-calendar__filters .input { border-radius: 12px; }
.shift-calendar__filters .dd { margin-top: 6px; }
.shift-calendar__filters .dd-native { display: none !important; }
.shift-calendar__results { overflow-y: auto; overscroll-behavior: contain; min-height: 0; padding: 0 26px 20px; }
.shift-calendar__count { margin: 0 0 12px; color: var(--text-muted); font-size: 13px; }
.shift-calendar__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.shift-calendar__option { display: grid; grid-template-columns: minmax(0,1fr); gap: 12px; min-width: 0; padding: 18px; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--bg-card,#fff); color: var(--c-ink); text-align: left; font: inherit; cursor: pointer; }
.shift-calendar__option strong { display: block; font-size: 16px; line-height: 1.4; }
.shift-calendar__dates { display: block; margin-top: 7px; color: var(--text-muted); font-size: 14px; }
.shift-calendar__cost { color: var(--c-navy); font-weight: 600; font-size: 18px; }
.shift-calendar__cost small { display: block; margin-top: 4px; color: var(--c-blue); font-size: 12px; font-weight: 400; }
.shift-calendar__option[aria-pressed="true"] { border-color: var(--c-blue); background: var(--c-sky); box-shadow: inset 0 0 0 1px var(--c-blue); }
.shift-calendar__option:hover:not(:disabled) { border-color: var(--c-blue); }
.shift-calendar__option:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.shift-calendar__option:disabled { opacity: .55; cursor: not-allowed; }
.shift-calendar__footer { padding: 14px 26px; border-top: 1px solid var(--line); color: var(--text-muted); font-size: 12px; line-height: 1.5; background: var(--bg-card,#fff); }
@media (max-width: 640px) {
  .modal.shift-calendar[open] { width: calc(100% - 20px); max-height: calc(100dvh - 20px); border-radius: 20px; }
  .shift-calendar__inner { max-height: calc(100dvh - 24px); }
  .shift-calendar__header { padding: 20px 18px 14px; }
  .shift-calendar__header h2 { font-size: 22px; }
  .shift-calendar__filters { grid-template-columns: minmax(0,1fr); gap: 10px; padding: 14px 18px; }
  .shift-calendar__grid { grid-template-columns: minmax(0,1fr); }
  .shift-calendar__results { padding: 0 18px 16px; }
  .shift-calendar__footer { padding: 12px 18px; }
}
@media (max-width: 900px) {
  .about-sec .about__art { flex-basis: 56px; width: 56px; height: 72px; }
  .about-sec .about__art img { width: 68px; height: 68px; }
}

/* Registry badge: the same clear feedback for a pointer and keyboard focus. */
html:root .home-intro__badge:focus-visible {
  background: var(--c-navy); border-color: var(--c-navy); color: #fff;
  text-decoration: none; box-shadow: 0 8px 22px #00447926; transform: translateY(-2px);
}
html:root .home-intro__badge:focus-visible .ico { color: var(--c-yellow); }
@media (hover: hover) {
  html:root .home-intro__badge:hover {
    background: var(--c-navy); border-color: var(--c-navy); color: #fff;
    text-decoration: none; box-shadow: 0 8px 22px #00447926; transform: translateY(-2px);
  }
  html:root .home-intro__badge:hover .ico { color: var(--c-yellow); }
}

/* Лагеря комплекса: вложенная навигация не становится общим каталогом. */
.tour-subcamp-grid{display:flex;flex-wrap:wrap;align-items:stretch;gap:14px;width:100%;margin:0}
.tour-subcamp-link{display:flex;align-items:center;justify-content:center;gap:12px;flex:1 1 28%;min-width:min(100%,180px);padding:19px 20px;border:1px solid var(--line,#e1e7ef);border-radius:18px;background:var(--surface,#fff);color:var(--c-blue-d,#004479);font-weight:650;line-height:1.45;text-decoration:none;box-shadow:0 4px 14px #00447908;transition:background .18s,color .18s,border-color .18s,box-shadow .18s}
.tour-subcamp-link span{flex:1;text-align:center;overflow-wrap:anywhere}
.tour-subcamp-link .ico{flex-shrink:0;width:18px;height:18px}
.tour-subcamp-link:focus-visible{outline:3px solid var(--c-yellow,#ffdf47);outline-offset:3px}
.tour-group-help{padding:28px}
.tour-group-help h2{margin-bottom:16px}
.tour-group-help p{margin:0 0 20px;line-height:1.65;color:var(--muted,#64748b)}
.tour-group-help .btn+.btn{margin-top:12px}
.design-mobile-book--group .btn{width:100%}
.page-tour-subcamp .mosaic:has(>.mosaic__item:only-child){grid-template-columns:minmax(0,1fr)}
@media(hover:hover){.tour-subcamp-link:hover{background:var(--c-blue,#004b7b);border-color:var(--c-blue,#004b7b);color:#fff;box-shadow:0 8px 20px #0044791c;text-decoration:none}}
@media(max-width:600px){.tour-subcamp-grid{gap:10px}.tour-subcamp-link{flex-basis:calc(50% - 5px);min-width:0;padding:15px 12px;border-radius:14px;font-size:14px}.tour-subcamp-link .ico{width:16px;height:16px}.tour-subcamp-siblings .section__head{flex-wrap:wrap;gap:12px}.tour-group-help{padding:22px}}
/* Родителям: навигация по темам и FAQ без зависимости от JavaScript. */
.parents-page { max-width: 1100px; margin-inline: auto; min-width: 0; overflow-wrap: anywhere; }
.parents-page :is(h2, h3, p) { margin-top: 0; }
.parents-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; padding: clamp(22px, 3.5vw, 40px); background: var(--c-sky); border: 1px solid var(--line-strong); border-radius: var(--r-lg); margin-bottom: 48px; }
.parents-intro-copy { min-width: 0; }
.parents-intro h2 { font-family: var(--font-display); font-size: clamp(21px, 2.5vw, 30px); line-height: 1.3; color: var(--c-ink); margin-bottom: 16px; }
.parents-intro p { margin-bottom: 0; line-height: 1.65; }
.parents-quick-links { display: grid; gap: 12px; min-width: 0; }
.parents-quick-links > a { display: grid; grid-template-columns: 28px minmax(0, 1fr) 20px; gap: 12px; align-items: center; padding: 20px; background: var(--bg-card); color: var(--c-ink); border: 1px solid var(--line-strong); border-radius: var(--r-md); text-decoration: none; }
.parents-quick-links > a:hover { border-color: var(--c-blue); }
.parents-quick-links > a > .ic:first-child { width: 28px; height: 28px; color: var(--c-blue); }
.parents-quick-links strong, .parents-quick-links span span { display: block; }
.parents-quick-links strong { margin-bottom: 5px; line-height: 1.35; }
.parents-quick-links span span { font-size: 14px; line-height: 1.5; color: var(--text-muted); }
.parents-faq-heading h2, .parents-contact h2 { font-family: var(--font-display); font-size: clamp(23px, 3vw, 34px); line-height: 1.3; color: var(--c-ink); margin-bottom: 12px; }
.parents-faq-heading p { color: var(--text-muted); margin-bottom: 20px; }
.parents-faq-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.parents-faq-nav a { display: flex; align-items: center; gap: 10px; min-height: 44px; max-width: 100%; padding: 9px 16px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); color: var(--c-ink); background: var(--bg-card); text-decoration: none; line-height: 1.4; }
.parents-faq-nav a:hover { background: var(--c-sky); border-color: var(--c-blue); }
.parents-faq-nav a span { flex: 0 0 auto; display: grid; place-items: center; min-width: 24px; height: 24px; padding-inline: 5px; border-radius: 50%; background: var(--c-sky); color: var(--c-blue-d); font-size: 12px; }
.parents-faq-groups { display: grid; gap: 36px; }
.parents-faq-group { min-width: 0; }
.parents-faq-group h3 { font-family: var(--font-display); font-size: clamp(18px, 2vw, 23px); line-height: 1.4; color: var(--c-ink); margin-bottom: 16px; scroll-margin-top: 150px; }
.parents-faq-list { display: grid; gap: 10px; }
.parents-faq-item { background: var(--bg-card); border: 1px solid var(--line-strong); border-radius: var(--r-md); min-width: 0; }
.parents-faq-item > summary, .parents-memo > summary { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 22px 24px; list-style: none; cursor: pointer; color: var(--c-ink); font-weight: 600; line-height: 1.5; }
.parents-faq-item > summary::-webkit-details-marker, .parents-memo > summary::-webkit-details-marker { display: none; }
.parents-faq-item > summary::after, .parents-memo > summary::after { content: "+"; display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: var(--c-sky); color: var(--c-blue-d); font-size: 23px; font-weight: 400; line-height: 1; }
.parents-faq-item[open] > summary::after, .parents-memo[open] > summary::after { content: "−"; }
.parents-faq-item[open] { border-color: var(--c-blue); }
.parents-faq-answer { padding: 0 24px 24px; max-width: 82ch; line-height: 1.7; }
.parents-faq-answer p { margin-bottom: 14px; }
.parents-faq-answer p:last-child { margin-bottom: 0; }
.parents-page :is(a, button, summary):focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.parents-contact { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: clamp(24px, 3.5vw, 40px); margin-block: 48px; border-radius: var(--r-lg); border: 1px solid var(--line-strong); background: var(--c-lime); }
.parents-contact > div { min-width: 0; }
.parents-contact h2 { font-size: clamp(20px, 2.5vw, 28px); }
.parents-contact p { max-width: 58ch; margin-bottom: 0; }
.parents-contact-actions { display: grid; flex: 0 0 220px; gap: 12px; }
.parents-contact-actions :is(a, button) { width: 100%; min-height: 48px; text-align: center; white-space: normal; }
.parents-memo { border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--bg-card); }
.parents-memo > div { padding: 0 24px 24px; min-width: 0; overflow-x: auto; }
.parents-memo .rich { overflow-wrap: anywhere; }
.parents-memo .rich :is(img, iframe, table) { max-width: 100%; }
html:root[data-theme="dark"] .parents-page :is(.parents-intro, .parents-contact) { background: var(--bg-card); }
html:root[data-theme="dark"] .parents-page :is(.parents-faq-nav a span, .parents-faq-item > summary::after, .parents-memo > summary::after, .parents-quick-links > a > .ic:first-child) { color: var(--at-link); }
@media (max-width: 760px) {
  .parents-intro { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-bottom: 36px; }
  .parents-contact { flex-direction: column; align-items: stretch; gap: 24px; margin-block: 36px; }
  .parents-contact-actions { flex-basis: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .parents-quick-links > a { padding: 16px; gap: 10px; }
  .parents-faq-nav { gap: 8px; margin-bottom: 28px; }
  .parents-faq-nav a { padding: 9px 13px; font-size: 14px; }
  .parents-faq-item > summary, .parents-memo > summary { padding: 18px; gap: 14px; }
  .parents-faq-answer, .parents-memo > div { padding: 0 18px 20px; }
  .parents-contact-actions { grid-template-columns: minmax(0, 1fr); }
}
