/* TNA site · one stylesheet. Brand colours taken from the Tilda site:
   navy #27304F, peach #EF9E74, mint-grey #F3F7F6, Montserrat. */

:root {
  --navy: #27304f;
  --navy-2: #1c2440;
  --ink: #23283a;
  --muted: #6b7183;
  --line: #e3e6ec;
  --tint: #f3f7f6;
  --paper: #ffffff;
  --accent: #ef9e74;
  --accent-ink: #b9582a;
  --accent-hover: #e8875a;
  --ok: #2f9e6b;
  --hot: #e0552f;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(28, 36, 64, .08);
  --shadow-lg: 0 24px 60px rgba(28, 36, 64, .18);
  --hdr-h: 72px;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 16px/1.6 var(--font);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.01em; }
h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; color: var(--navy); }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

/* ── boot ── */
.boot { min-height: 100vh; display: grid; place-content: center; gap: 18px; justify-items: center; background: var(--navy); }
.boot .logo__mark { color: #fff; font-size: 28px; }
.boot__bar { width: 120px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.15); position: relative; overflow: hidden; }
.boot__bar::after { content: ""; position: absolute; inset: 0; width: 40%; background: var(--accent); animation: boot 1s ease-in-out infinite; }
@keyframes boot { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--accent); color: #2a1a10; box-shadow: 0 8px 20px rgba(239,158,116,.35); }
.btn--accent:hover { background: var(--accent-hover); }
.btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,.18); }
.btn--line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--line:hover { background: var(--navy); color: #fff; }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .7; cursor: default; }
.link { background: none; border: 0; padding: 0; color: var(--accent-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 3px solid rgba(0,0,0,.15); border-top-color: currentColor; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── logo ── */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.logo__mark { font-weight: 800; font-size: 22px; letter-spacing: .06em; }
.logo__text { font-size: 10px; line-height: 1.15; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; opacity: .85; }

/* ── header ── */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr-h); color: #fff; transition: background .25s, box-shadow .25s, color .25s; }
.hdr--scrolled, .hdr--solid { background: rgba(255,255,255,.96); backdrop-filter: blur(12px); color: var(--navy); box-shadow: 0 1px 0 var(--line); }
.hdr--scrolled .logo, .hdr--solid .logo { color: var(--navy); }
.hdr__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.nav { display: flex; gap: 24px; margin-left: auto; font-size: 14px; font-weight: 600; }
.nav a { text-decoration: none; opacity: .9; }
.nav a:hover { opacity: 1; color: var(--accent); }
.nav__drop { position: relative; }
.nav__menu {
  position: absolute; top: calc(100% + 14px); left: -20px; min-width: 220px; padding: 10px;
  background: #fff; color: var(--ink); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  display: grid; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s;
}
.nav__menu::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.nav__menu a { padding: 8px 12px; border-radius: 8px; }
.nav__menu a:hover { background: var(--tint); color: var(--navy); }
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu { opacity: 1; visibility: visible; transform: none; }
.hdr__phone { font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; }
.burger span { display: block; height: 2px; margin: 5px 0; background: currentColor; border-radius: 2px; transition: .2s; }

@media (max-width: 1080px) {
  .hdr__phone { display: none; }
}
@media (max-width: 900px) {
  .burger { display: block; }
  .hdr__cta { display: none; }
  .nav {
    position: fixed; inset: var(--hdr-h) 0 auto; flex-direction: column; gap: 0; margin: 0;
    background: #fff; color: var(--navy); padding: 8px 16px 20px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .2s; max-height: calc(100vh - var(--hdr-h)); overflow: auto;
  }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav__menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 12px; min-width: 0; grid-template-columns: 1fr 1fr; }
  .nav__menu a { font-size: 14px; border: 0; padding: 8px 4px; }
  .hdr--open { background: #fff; color: var(--navy); }
  .hdr--open .logo { color: var(--navy); }
  .hdr--open .nav { opacity: 1; visibility: visible; transform: none; }
  .hdr--open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hdr--open .burger span:nth-child(2) { opacity: 0; }
  .hdr--open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ── hero ── */
.hero { position: relative; color: #fff; min-height: 100svh; display: flex; align-items: flex-end; padding: calc(var(--hdr-h) + 40px) 0 72px; isolation: isolate; }
.hero--dest { min-height: 88svh; }
.hero__bg { position: absolute; inset: 0; z-index: -1; background: var(--navy); overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 18s ease-out both; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,26,48,.55) 0%, rgba(20,26,48,.15) 35%, rgba(20,26,48,.75) 100%); }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__title { font-size: clamp(44px, 9vw, 110px); font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; line-height: .95; margin: 18px 0 20px; }
.hero__lead { font-size: clamp(17px, 2vw, 21px); max-width: 640px; opacity: .92; margin-bottom: 28px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 48px; margin: 48px 0 0; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.25); flex-wrap: wrap; }
.hero__stats div { min-width: 120px; }
.hero__stats dt { font-size: 40px; font-weight: 800; line-height: 1; }
.hero__stats dd { margin: 6px 0 0; font-size: 13px; opacity: .8; line-height: 1.35; }
.hero__facts { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.hero__facts span { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.14); backdrop-filter: blur(8px); font-size: 14px; }
.hero__buy {
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap; padding: 20px 24px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius); backdrop-filter: blur(14px); width: fit-content; max-width: 100%;
}
.hero__next { display: grid; gap: 4px; font-size: 14px; }
.hero__next > span:first-child { opacity: .75; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.hero__next b { font-size: 17px; }
.crumbs { display: flex; gap: 8px; font-size: 13px; opacity: .8; margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.live-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(255,255,255,.14); backdrop-filter: blur(8px); }
.live-pill--dark { background: var(--tint); color: var(--navy); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,.7); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,.6); } 70% { box-shadow: 0 0 0 8px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }

@media (max-width: 640px) {
  .hero { padding-bottom: 40px; }
  .hero__stats { gap: 24px; }
  .hero__stats dt { font-size: 30px; }
  .hero__buy { gap: 18px; padding: 16px; }
  .hero__buy .btn { width: 100%; }
}

/* ── sections ── */
.section { padding: 96px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--navy); color: #fff; }
.section--dark h2 { color: #fff; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section__note { max-width: 340px; color: var(--muted); margin: 0; }
.eyebrow { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-ink); margin-bottom: 12px; }
.eyebrow--light { color: var(--accent); }
.lead-light { font-size: 18px; opacity: .85; max-width: 520px; }
.empty { padding: 40px; text-align: center; color: var(--muted); background: var(--tint); border-radius: var(--radius); }
@media (max-width: 640px) { .section { padding: 64px 0; } .section__head { margin-bottom: 28px; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split--about { grid-template-columns: 1.5fr 1fr; }
@media (max-width: 900px) { .split, .split--about { grid-template-columns: 1fr; gap: 40px; } }

.prose p { font-size: 17px; color: #3a3f52; }
.prose h2 { margin-bottom: 24px; }

.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 36px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; background: rgba(47,158,107,.12); color: var(--ok); }
.ticks--minus li::before { content: "–"; background: rgba(107,113,131,.12); color: var(--muted); }
.ticks--light li::before { background: rgba(239,158,116,.2); color: var(--accent); }
#includes h2 { font-size: clamp(24px, 3vw, 32px); }

/* ── chips (calendar filters) ── */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; align-items: center; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 18px; font-size: 14px; font-weight: 600; cursor: pointer; transition: .15s; }
.chip:hover { border-color: var(--navy); }
.chip--on { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips__sep { width: 1px; height: 24px; background: var(--line); margin: 0 6px; }
@media (max-width: 640px) {
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 24px; padding: 0 16px 4px; scrollbar-width: none; }
  .chip { flex: none; }
}

/* ── calendar ── */
.cal-month { margin-bottom: 40px; }
.cal-month__title { font-size: 15px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 14px; }
.cal-rows { display: grid; gap: 10px; }
.cal-row {
  display: grid; grid-template-columns: 96px 72px minmax(0, 1fr) 210px 200px auto; align-items: center; gap: 20px;
  padding: 14px 20px 14px 14px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.cal-row:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-1px); }
.cal-row--full { opacity: .72; }
.cal-row__date { display: grid; text-decoration: none; text-align: center; padding: 8px 4px; border-radius: var(--radius-sm); background: var(--tint); color: var(--navy); }
.cal-row__date b { font-size: 22px; line-height: 1.1; font-weight: 800; }
.cal-row__date span { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.cal-row__thumb img { width: 72px; height: 72px; border-radius: var(--radius-sm); object-fit: cover; background: var(--tint); }
.cal-row__name { display: block; font-size: 19px; font-weight: 700; text-decoration: none; color: var(--navy); }
.cal-row__name:hover { color: var(--accent-ink); }
.cal-row__meta { font-size: 13px; color: var(--muted); }
.cal-row__price { text-align: right; }
@media (max-width: 1080px) {
  .cal-row { grid-template-columns: 84px minmax(0, 1fr) auto; grid-template-areas: "date main price" "date spots btn"; row-gap: 8px; }
  .cal-row__date { grid-area: date; }
  .cal-row__thumb { display: none; }
  .cal-row__main { grid-area: main; }
  .cal-row__spots { grid-area: spots; }
  .cal-row__price { grid-area: price; }
  .cal-row .btn { grid-area: btn; justify-self: end; }
}
@media (max-width: 560px) {
  .cal-row { grid-template-columns: 64px minmax(0, 1fr); grid-template-areas: "date main" "date spots" "price price" "btn btn"; padding: 12px; gap: 6px 14px; }
  .cal-row__date b { font-size: 17px; }
  .cal-row__name { font-size: 17px; }
  .cal-row__price { text-align: left; padding-top: 8px; border-top: 1px dashed var(--line); margin-top: 4px; }
  .cal-row .btn { width: 100%; justify-self: stretch; }
}

/* ── live badges & price ── */
.spots { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.spots--ok { background: rgba(47,158,107,.1); color: var(--ok); }
.spots--ok .dot { background: var(--ok); }
.spots--hot { background: rgba(224,85,47,.1); color: var(--hot); }
.spots--hot .dot { background: var(--hot); animation: pulse-hot 1.4s infinite; }
@keyframes pulse-hot { 0% { box-shadow: 0 0 0 0 rgba(224,85,47,.6); } 70% { box-shadow: 0 0 0 8px rgba(224,85,47,0); } 100% { box-shadow: 0 0 0 0 rgba(224,85,47,0); } }
.spots--full { background: #eef0f4; color: var(--muted); }
.spots--pre { background: rgba(239,158,116,.15); color: var(--accent-ink); }
[data-live] { display: inline-block; border-radius: 12px; }
[data-live].flash { animation: flash 2.2s ease-out; }
@keyframes flash { 0% { box-shadow: 0 0 0 4px rgba(239,158,116,.9); background: rgba(239,158,116,.25); } 100% { box-shadow: 0 0 0 4px rgba(239,158,116,0); background: transparent; } }

.price { display: grid; line-height: 1.2; }
.price [data-live] { display: grid; }
.price__now { font-size: 20px; font-weight: 800; color: var(--navy); white-space: nowrap; }
.price__old { font-size: 13px; color: var(--muted); }
.price__promo { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--hot); }
.price__rub { font-size: 12px; color: var(--muted); white-space: nowrap; }
.price__label { font-size: 13px; opacity: .8; }
.price--hero .price__now { font-size: 34px; color: #fff; }
.price--hero .price__rub { color: rgba(255,255,255,.8); font-size: 13px; }

/* ── destination cards ── */
.dest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.dest-grid--row { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .dest-grid--row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .dest-grid--row { grid-template-columns: 1fr; } }
.dest-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; box-shadow: 0 1px 0 var(--line); transition: transform .25s, box-shadow .25s; }
.dest-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.dest-card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); }
.dest-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.dest-card:hover .dest-card__img img { transform: scale(1.05); }
.dest-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.dest-card__region { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-ink); }
.dest-card h3 { font-size: 24px; font-weight: 800; color: var(--navy); }
.dest-card p { font-size: 14px; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dest-card__foot { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; font-size: 14px; align-items: baseline; flex-wrap: wrap; }
.dest-card__price { font-weight: 800; color: var(--navy); font-size: 17px; }
.dest-card__next { color: var(--muted); }
.dest-card .spots { margin-top: 4px; }

/* ── how to book ── */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { counter-increment: s; padding: 32px 28px; border-radius: var(--radius); background: var(--tint); position: relative; }
.steps li::before { content: "0" counter(s); display: block; font-size: 48px; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 18px; }
.steps b { display: block; font-size: 19px; color: var(--navy); margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }
.how-extra { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.how-extra__card { padding: 28px; border-radius: var(--radius); border: 1.5px solid var(--line); }
.how-extra__card h3 { color: var(--navy); margin-bottom: 8px; }
.how-extra__card p { color: var(--muted); }
@media (max-width: 800px) { .steps, .how-extra { grid-template-columns: 1fr; } }

/* ── telegram ── */
.tg__in { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.tg p { color: var(--muted); max-width: 620px; margin: 16px 0 0; }
@media (max-width: 700px) { .tg__in { flex-direction: column; align-items: flex-start; } }

/* ── destination: subnav, tabs ── */
.subnav { position: sticky; top: var(--hdr-h); z-index: 40; background: rgba(255,255,255,.97); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav__in { display: flex; gap: 28px; align-items: center; height: 60px; overflow-x: auto; scrollbar-width: none; }
.subnav a { font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; color: var(--muted); }
.subnav a:hover { color: var(--navy); }
.subnav .btn { margin-left: auto; flex: none; }
@media (max-width: 640px) { .subnav .btn { display: none; } .subnav__in { gap: 20px; } }

.tabs-wrap { padding-top: 40px; }
.tabs { display: inline-flex; gap: 8px; padding: 6px; background: var(--tint); border-radius: 999px; flex-wrap: wrap; }
.tab { border: 0; background: transparent; border-radius: 999px; padding: 10px 22px; cursor: pointer; display: grid; text-align: left; line-height: 1.3; }
.tab b { font-size: 15px; color: var(--navy); }
.tab span { font-size: 12px; color: var(--muted); }
.tab--on { background: #fff; box-shadow: var(--shadow); }
@media (max-width: 560px) { .tabs { border-radius: var(--radius); display: grid; width: 100%; } .tab { border-radius: var(--radius-sm); } }

/* ── facts card ── */
.facts { background: var(--tint); border-radius: var(--radius); padding: 28px; display: grid; gap: 0; position: sticky; top: 150px; }
.facts__row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid #dfe5e3; font-size: 15px; }
.facts__row span { color: var(--muted); }
.facts__row b { text-align: right; color: var(--navy); }
.facts__row--col { flex-direction: column; gap: 4px; }
.facts__row--col b { text-align: left; font-weight: 500; font-size: 14px; }
.facts .btn { margin-top: 22px; }
.difficulty { letter-spacing: 3px; color: var(--accent-ink) !important; }

/* ── program days ── */
.days { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.day { background: #fff; border-radius: var(--radius); overflow: hidden; }
.day__head { width: 100%; display: flex; align-items: center; gap: 20px; padding: 22px 26px; border: 0; background: none; text-align: left; cursor: pointer; }
.day__n { flex: none; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-ink); background: rgba(239,158,116,.15); padding: 6px 12px; border-radius: 999px; }
.day__title { font-size: 18px; font-weight: 700; color: var(--navy); flex: 1; }
.day__chev { width: 12px; height: 12px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; flex: none; }
.day--open .day__chev { transform: rotate(-135deg); }
.day__body { display: none; padding: 0 26px 22px 26px; }
.day--open .day__body { display: block; }
.day__body p { font-size: 16px; }
@media (max-width: 560px) { .day__head { flex-wrap: wrap; gap: 10px; padding: 18px; } .day__body { padding: 0 18px 18px; } }

/* ── departures ── */
.dep-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.dep { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: var(--radius); border: 1.5px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s; }
.dep:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.dep--full { background: #fafbfc; }
.dep__top { display: grid; gap: 10px; justify-items: start; }
.dep__dates { font-size: 19px; color: var(--navy); }
.dep__price .price__now { font-size: 26px; }
.dep__single { font-size: 13px; color: var(--muted); margin-top: -8px; }
.dep .btn { margin-top: auto; }
.dates-note { margin: 28px 0 0; color: var(--muted); }
.empty-dates { padding: 40px; border-radius: var(--radius); background: var(--tint); text-align: center; }

/* ── gallery & lightbox ── */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; }
.gallery__item { padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; background: var(--tint); }
.gallery__item:nth-child(6n + 1) { grid-column: span 2; grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery__item:hover img { transform: scale(1.04); }
@media (max-width: 800px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; } }
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(10,13,25,.94); display: grid; place-items: center; }
.lb[hidden] { display: none; }
.lb__img { max-width: 92vw; max-height: 86vh; border-radius: 8px; object-fit: contain; }
.lb__close, .lb__nav { position: absolute; border: 0; background: rgba(255,255,255,.1); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 30px; cursor: pointer; display: grid; place-items: center; }
.lb__close { top: 20px; right: 20px; }
.lb__prev { left: 20px; top: 50%; }
.lb__next { right: 20px; top: 50%; }

/* ── forms ── */
.card-form, .modal__box { background: #fff; color: var(--ink); border-radius: 24px; padding: 32px; box-shadow: var(--shadow-lg); }
.card-form h3 { font-size: 24px; color: var(--navy); margin-bottom: 20px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
.field { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); grid-column: span 2; }
.field--short { grid-column: span 1; }
.field i { font-style: normal; font-weight: 400; }
.field input, .field select, .field textarea {
  font: 500 16px var(--font); color: var(--ink); padding: 14px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: #fafbfc; outline: none; transition: border-color .15s, background .15s; width: 100%;
}
.field textarea { resize: vertical; min-height: 56px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); background: #fff; }
.field:has(input[name=name]), .field:has(input[name=phone]) { grid-column: span 1; }
.check { grid-column: span 2; display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent-ink); flex: none; }
.form__error { grid-column: span 2; margin: 0; color: var(--hot); font-size: 14px; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 560px) {
  .card-form, .modal__box { padding: 22px; }
  .form__grid { grid-template-columns: 1fr; }
  .field, .field--short, .check, .form__error, .field:has(input[name=name]), .field:has(input[name=phone]) { grid-column: span 1; }
}

.done { text-align: center; padding: 24px 0; display: grid; justify-items: center; gap: 4px; }
.done__icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(47,158,107,.12); color: var(--ok); display: grid; place-items: center; font-size: 30px; font-weight: 800; margin-bottom: 12px; animation: pop .4s cubic-bezier(.2,1.6,.4,1); }
@keyframes pop { from { transform: scale(.3); opacity: 0; } to { transform: none; opacity: 1; } }
.done h3 { font-size: 24px; color: var(--navy); }
.done p { color: var(--muted); max-width: 360px; }

.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(15,20,38,.55); backdrop-filter: blur(4px); opacity: 0; transition: opacity .2s; overflow-y: auto; }
.modal--in { opacity: 1; }
.modal__box { width: min(560px, 100%); position: relative; transform: translateY(16px) scale(.98); transition: transform .25s; max-height: calc(100vh - 32px); overflow-y: auto; }
.modal--in .modal__box { transform: none; }
.modal__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--tint); font-size: 24px; cursor: pointer; line-height: 1; }
.modal h3 { font-size: 24px; color: var(--navy); padding-right: 40px; }
.modal__sub { color: var(--muted); margin: 6px 0 18px; font-size: 15px; }
.modal__dep { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--tint); margin-bottom: 18px; color: var(--navy); }

/* ── footer ── */
.ftr { background: var(--navy-2); color: rgba(255,255,255,.85); padding: 72px 0 32px; font-size: 14px; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.ftr h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px; }
.ftr__claim { margin: 18px 0 10px; font-weight: 600; color: #fff; }
.ftr__muted { color: rgba(255,255,255,.55); font-size: 12px; line-height: 1.6; }
.ftr__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ftr__list a, .ftr__bottom a { text-decoration: none; color: inherit; }
.ftr__list a:hover, .ftr__bottom a:hover { color: var(--accent); }
.ftr__list:has(li:nth-child(8)) { grid-template-columns: 1fr 1fr; }
.ftr__bottom { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; color: rgba(255,255,255,.55); }
@media (max-width: 800px) { .ftr__grid { grid-template-columns: 1fr; gap: 36px; } }

/* ── 404 / legal ── */
.nf { padding: calc(var(--hdr-h) + 64px) 0 96px; }
.nf h1 { font-size: clamp(32px, 5vw, 52px); color: var(--navy); margin-bottom: 16px; }
.nf p { color: var(--muted); margin-bottom: 36px; }
.legal { padding: calc(var(--hdr-h) + 56px) 0 96px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(28px, 4vw, 40px); color: var(--navy); margin-bottom: 32px; }
.legal p { color: #3a3f52; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
.legal h3 { margin: 32px 0 12px; color: var(--navy); font-size: 19px; }
.cal-more { text-align: center; margin-top: 8px; }
.cal-row__thumb img, .dest-card__img img, .gallery__item img { color: transparent; font-size: 0; }
