/* ---- шрифты: хранятся на своём хостинге (Google Fonts, лицензия SIL OFL), к серверам Google сайт не обращается ---- */
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/cormorant-garamond-italic-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/cormorant-garamond-italic-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url('../fonts/cormorant-garamond-italic-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url('../fonts/cormorant-garamond-italic-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/cormorant-garamond-normal-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/cormorant-garamond-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/cormorant-garamond-normal-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/cormorant-garamond-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/cormorant-garamond-normal-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/cormorant-garamond-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/golos-text-normal-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/golos-text-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/golos-text-normal-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/golos-text-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/golos-text-normal-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/golos-text-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ==========================================================================
   Метаком — туристическая компания, Сызрань
   Палитра: песок, морская пена, лагуна, глубокая вода, коралл (акцент)
   Шрифты: Cormorant Garamond (заголовки), Golos Text (текст)
   ========================================================================== */

:root {
  --ink: #10283a;
  --ink-soft: #3f5a6d;
  --ink-muted: #7a8f9c;

  --sea-deep: #0e3d5c;
  --sea: #1c6e93;
  --lagoon: #3da6c2;
  --lagoon-light: #9bd8e4;
  --foam: #eef7f8;
  --foam-strong: #dcefF2;

  --sand: #f7f0e4;
  --sand-deep: #ead9bd;
  --sand-line: #e2d3b8;

  --coral: #e8735a;
  --coral-dark: #d2604a;
  --sun: #f3b562;

  --brand-blue: #1c4e9c;

  --white: #ffffff;

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Golos Text", "Segoe UI", Arial, sans-serif;

  --radius: 22px;
  --radius-sm: 12px;
  --shadow-soft: 0 12px 40px rgba(14, 61, 92, 0.10);
  --shadow-card: 0 18px 50px rgba(14, 61, 92, 0.14);

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ------------------------------------------------ базовое */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: only light; }
:root, :root[data-theme="dark"] { color-scheme: only light; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand) !important;
  color: var(--ink) !important;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--sea); text-decoration: none; }
a:hover { color: var(--sea-deep); }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(42px, 6.2vw, 78px); }
h2 { font-size: clamp(34px, 4.6vw, 56px); }
h3 { font-size: clamp(22px, 2.4vw, 28px); }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--sea); }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--lagoon); outline-offset: 3px; border-radius: 6px; }
section[id] { scroll-margin-top: 84px; } /* чтобы закреплённая шапка не закрывала начало раздела */

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sea);
  margin: 0 0 14px;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 8px; flex: none;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 8'><path d='M1 4c3-4 6-4 9 0s6 4 9 0 6-4 8 0' fill='none' stroke='%233da6c2' stroke-width='1.8' stroke-linecap='round'/></svg>") no-repeat center / contain;
}
.eyebrow-light { color: var(--lagoon-light); }
.eyebrow-light::before { filter: brightness(1.6); }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-lead { font-size: 18px; color: var(--ink-soft); margin-top: 18px; max-width: 640px; }

/* ------------------------------------------------ кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600; font-size: 16px;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 17px 32px; font-size: 17px; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 10px 26px rgba(232, 115, 90, 0.35); }
.btn-coral:hover { background: var(--coral-dark); color: #fff; box-shadow: 0 14px 32px rgba(232, 115, 90, 0.42); }
.btn-ghost { background: rgba(255,255,255,.55); color: var(--sea-deep); border-color: rgba(14,61,92,.18); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; color: var(--sea-deep); }
.btn-white { background: #fff; color: var(--sea-deep); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.btn-white:hover { color: var(--sea-deep); background: var(--foam); }
.btn-max { background: var(--sea-deep); color: #fff; }
.btn-max:hover { background: var(--sea); color: #fff; }

.max-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,.7);
  animation: pulse 2.2s infinite;
}
.max-dot-dark { background: var(--coral); box-shadow: 0 0 0 0 rgba(232,115,90,.6); animation-name: pulse-coral; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7);} 70% { box-shadow: 0 0 0 8px rgba(255,255,255,0);} 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0);} }
@keyframes pulse-coral { 0% { box-shadow: 0 0 0 0 rgba(232,115,90,.6);} 70% { box-shadow: 0 0 0 8px rgba(232,115,90,0);} 100% { box-shadow: 0 0 0 0 rgba(232,115,90,0);} }

/* ------------------------------------------------ шапка */
.site-header {
  position: sticky; top: 0; z-index: 50;
  transition: background .35s, box-shadow .35s, padding .35s;
  background: transparent;
}
.site-header.scrolled {
  background: rgba(247, 240, 228, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(14,61,92,.08), 0 8px 30px rgba(14,61,92,.06);
}
.header-inner { display: flex; align-items: center; gap: 32px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand-emblem { width: 64px; height: auto; transition: transform .4s var(--ease); }
.brand:hover .brand-emblem { transform: translateX(3px) rotate(-3deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 30px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-blue); }
.brand-sub { font-size: 11.5px; letter-spacing: 0.06em; color: var(--ink-muted); margin-top: 3px; }

.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--ink); font-weight: 500; font-size: 15.5px; position: relative; padding: 4px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--lagoon); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); border-radius: 2px; }
.nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--sea-deep); font-size: 16px; white-space: nowrap; }
.header-phone svg { color: var(--lagoon); }

.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; flex-direction: column; justify-content: center; gap: 5px; }
.burger span { display: block; height: 2px; background: var(--sea-deep); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: none; }

/* ------------------------------------------------ первый экран (оформление из второго макета, цвета и шрифты базовые) */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: -92px;
  padding: calc(92px + 40px) 0 170px;
  min-height: clamp(720px, 100svh, 960px);
  display: flex; align-items: center;
  background: var(--sand);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  width: 100%; height: 118%; object-fit: cover; object-position: 30% 50%;
  transform-origin: 70% 40%;
  animation: kenburns 28s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(95deg, rgba(247,240,228,.97) 0%, rgba(247,240,228,.86) 32%, rgba(247,240,228,.3) 56%, rgba(247,240,228,0) 72%),
    linear-gradient(to bottom, rgba(247,240,228,.8) 0%, rgba(247,240,228,0) 20%);
}

.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 620px) 1fr; align-items: center; width: min(1240px, 100% - var(--gutter) * 2); }

.hero-title { font-size: clamp(44px, 5.8vw, 82px); line-height: 1; margin: 6px 0 26px; }
.hero-title .line { display: block; overflow: hidden; padding: .04em .1em .24em 0; margin-bottom: -.24em; }
@media (min-width: 901px) { .hero-title .line { white-space: nowrap; } }
.hero-title .line > span { display: inline-block; transform: translateY(110%); animation: rise 1s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { transform: none; } }

.hero-copy .lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-soft); max-width: 520px; margin: 0 0 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 46px; }

.hero-facts { display: flex; margin: 0; max-width: 600px; }
.hero-facts > div { padding: 0 26px; border-left: 1px solid rgba(14,61,92,.18); }
.hero-facts > div:first-child { padding-left: 0; border-left: 0; }
.hero-facts dt { font-family: var(--font-display); font-weight: 600; font-size: 38px; line-height: 1; white-space: nowrap; color: var(--sea-deep); margin-bottom: 6px; font-variant-numeric: lining-nums; }
.hero-facts dd { margin: 0; font-size: 13.5px; line-height: 1.4; color: var(--ink-muted); }

.load { opacity: 0; transform: translateY(18px); animation: fade-up .9s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes fade-up { to { opacity: 1; transform: none; } }

/* полароиды «мы там были» */
.snap {
  margin: 0; background: #fff; position: relative;
  box-shadow: 0 30px 50px -25px rgba(14,61,92,.55), 0 2px 6px rgba(14,61,92,.12);
}
.snap img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.snap figcaption { font-family: var(--font-display); font-style: italic; font-size: 19px; line-height: 1.1; color: var(--ink-soft); padding: 8px 2px 1px; }
.snap::before {
  content: ""; position: absolute; top: -11px; left: 50%; width: 64px; height: 22px; margin-left: -32px;
  background: rgba(234,217,189,.85); transform: rotate(-4deg); box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.collage { position: relative; justify-self: end; align-self: start; width: 460px; height: 490px; margin-top: -10px; }
.collage .snap { position: absolute; padding: 9px 9px 8px; rotate: var(--r); transition: rotate .6s var(--ease), translate .6s var(--ease), box-shadow .6s; }
.collage .snap.load { animation: fade-up .9s var(--ease) forwards, bob 8s ease-in-out infinite; animation-delay: var(--d, 0s), calc(var(--d, 0s) + 1s); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.collage .snap:hover { rotate: 0deg; translate: 0 -8px; z-index: 5; box-shadow: 0 40px 60px -25px rgba(14,61,92,.6); }
.snap--1 { --r: -7deg; width: 160px; left: 0; top: 10px; z-index: 1; }
.snap--2 { --r: 4deg; width: 250px; left: 130px; top: 40px; z-index: 2; }
.snap--2 img { aspect-ratio: 4 / 3; }
.snap--2 figcaption { font-size: 22px; }
.snap--3 { --r: 6deg; width: 140px; left: 16px; top: 284px; z-index: 3; animation-duration: .9s, 9s !important; }
.snap--4 { --r: -5deg; width: 150px; left: 300px; top: 215px; z-index: 1; animation-duration: .9s, 7s !important; }

.hero-note {
  position: absolute; left: 180px; top: 352px; width: 104px; margin: 0; z-index: 4;
  padding: 7px 9px 8px; border-radius: 4px;
  background: rgba(255,255,255,.88); box-shadow: 0 10px 22px -12px rgba(14,61,92,.5);
  rotate: -3deg;
  font-family: var(--font-display); font-style: italic; font-size: 14px; line-height: 1.2; color: var(--ink-soft);
}
.hero-note::before {
  content: ""; position: absolute; left: -26px; top: -14px; width: 30px; height: 18px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 18'><path d='M27 16C22 6 13 2 3 4' fill='none' stroke='%231c6e93' stroke-width='1.5' stroke-linecap='round'/><path d='M7 1 3 4l4 3' fill='none' stroke='%231c6e93' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / contain;
}

/* карточка «горячие туры в MAX» */
.hotcard {
  position: absolute; right: 0; bottom: -120px; width: 350px; z-index: 6;
  display: grid; gap: 8px; padding: 22px 24px 20px;
  background: #fff; color: var(--ink);
  border-radius: 22px 22px 22px 6px;
  box-shadow: 0 30px 60px -30px rgba(14,61,92,.6);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.hotcard:hover { color: var(--ink); transform: translateY(-6px); box-shadow: 0 40px 70px -30px rgba(14,61,92,.7); }
.hotcard.load { animation: fade-up .9s var(--ease) forwards; }
.hotcard-badge {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 10px; border-radius: 999px;
  background: var(--coral); color: #fff; font-size: 12px; font-weight: 600; line-height: 1; letter-spacing: .06em; text-transform: uppercase;
}
.hotcard-badge .max-dot { width: 7px; height: 7px; }
.hotcard strong { font-family: var(--font-display); font-weight: 500; font-size: 23px; line-height: 1.2; margin-top: 4px; }
.hotcard-text { font-size: 14.5px; color: var(--ink-muted); line-height: 1.45; }
.hotcard-go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--coral-dark); margin-top: 4px; }
.hotcard-go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.hotcard:hover .hotcard-go svg { transform: translateX(5px); }

/* волны */
.hero-waves { position: absolute; left: 0; right: 0; bottom: -1px; height: 120px; z-index: -1; pointer-events: none; }
.hero-waves .w { position: absolute; bottom: 0; left: 0; width: 200%; height: 100%; }
.hero-waves .w1 { fill: rgba(255,255,255,.45); animation: drift 22s linear infinite; }
.hero-waves .w2 { fill: rgba(247,240,228,.6); animation: drift 15s linear infinite reverse; height: 90%; }
.hero-waves .w3 { fill: var(--sand); animation: drift 30s linear infinite; height: 70%; }
@keyframes drift { to { transform: translateX(-50%); } }

/* ------------------------------------------------ направления: мозаика */
.directions { padding: clamp(50px, 7vw, 90px) 0 clamp(70px, 9vw, 120px); background: var(--sand); position: relative; }
.mosaic {
  display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 138px; gap: 14px;
  grid-template-areas:
    "tr tr tr tr tr eg eg eg ae ae ae ae"
    "tr tr tr tr tr eg eg eg ae ae ae ae"
    "tr tr tr tr tr mv mv mv mv th th th"
    "nt nt cn cn cn mv mv mv mv th th th"
    "nt nt cn cn cn vn vn vn vn sl sl sl"
    "cu cu cu cu cu vn vn vn vn sl sl sl"
    "cu cu cu cu cu do do do do do do do";
}
.dcard--tr { grid-area: tr; } .dcard--eg { grid-area: eg; } .dcard--ae { grid-area: ae; }
.dcard--mv { grid-area: mv; } .dcard--th { grid-area: th; } .note-card { grid-area: nt; }
.dcard--cn { grid-area: cn; } .dcard--vn { grid-area: vn; } .dcard--sl { grid-area: sl; }
.dcard--cu { grid-area: cu; } .dcard--do { grid-area: do; }

.dcard {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 20px; background: var(--sand-deep); color: #fff;
  display: flex; align-items: flex-end;
  box-shadow: var(--shadow-soft);
}
.dcard:hover { color: #fff; }
.dcard--tr { border-radius: 20px 20px 20px 90px; }
.dcard--do { border-radius: 20px 90px 20px 20px; }
.dcard > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.dcard::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(10,33,48,.78) 0%, rgba(10,33,48,.28) 38%, rgba(10,33,48,0) 62%);
}
.dcard:hover > img { transform: scale(1.07); }
.dcard-body { display: grid; gap: 4px; padding: 22px 24px; max-width: 94%; }
.dcard--tr .dcard-body { padding: 30px 34px 36px 60px; }
.dcard-name { font-family: var(--font-display); font-weight: 500; font-size: 32px; line-height: 1.05; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.dcard--tr .dcard-name { font-size: 54px; }
.dcard-note { font-size: 14px; line-height: 1.4; opacity: .9; }
.dcard-more {
  position: absolute; top: 16px; right: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px;
  background: rgba(255,255,255,.95); color: var(--ink); font-size: 14px; font-weight: 600;
  opacity: 0; transform: translateY(-8px); transition: opacity .35s, transform .35s var(--ease);
}
.dcard-more i { width: 14px; height: 2px; background: currentColor; position: relative; }
.dcard-more i::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); }
.dcard:hover .dcard-more, .dcard:focus-visible .dcard-more { opacity: 1; transform: none; }

/* личное фото из поездки выглядывает при наведении */
.dcard-peek {
  position: absolute; z-index: 1; margin: 0;
  top: 22px; left: 22px; width: 150px;
  background: #fff; padding: 7px 7px 4px; color: var(--ink);
  box-shadow: 0 20px 30px -14px rgba(0,0,0,.55);
  opacity: 0; transform: translateY(-20px) rotate(-10deg) scale(.9);
  transition: opacity .45s, transform .6s var(--ease);
}
.dcard-peek img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.dcard-peek figcaption { font-family: var(--font-display); font-style: italic; font-size: 17px; line-height: 1.2; padding: 5px 2px 2px; }
.dcard:hover .dcard-peek { opacity: 1; transform: rotate(-5deg); }

/* заметка «если страны нет в списке» */
.note-card {
  border-radius: 20px; padding: 22px 20px;
  background: rgba(255,255,255,.55);
  border: 1.5px dashed rgba(14,61,92,.22);
  display: flex; flex-direction: column; justify-content: center; position: relative;
}
.note-card-hand { font-family: var(--font-display); font-style: italic; font-size: 25px; line-height: 1.15; color: var(--ink); margin: 0; }
.note-card-small { font-size: 14px; color: var(--ink-muted); margin: 8px 0 0; }
.note-card-flight { position: absolute; right: -30px; bottom: 16px; width: 80px; z-index: 3; overflow: visible; }
.note-card-flight .route { fill: none; stroke: var(--sea); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 5 6; animation: flight 2.6s linear infinite; }
.note-card-flight .plane { fill: var(--sea); }
@keyframes flight { to { stroke-dashoffset: -22; } }

/* ------------------------------------------------ направления: штампы в паспорте */
.passport {
  position: relative; margin-top: clamp(40px, 6vw, 72px);
  padding: 34px clamp(20px, 4vw, 48px) 40px;
  border-radius: 26px;
  background-color: #fbf7ef;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='40' viewBox='0 0 160 40'><path d='M0 20c20-14 40-14 60 0s40 14 60 0 30-10 40-6' fill='none' stroke='%233da6c2' stroke-opacity='.12' stroke-width='1'/></svg>");
  background-size: 160px 40px;
  box-shadow: var(--shadow-soft), inset 0 0 0 1px rgba(14,61,92,.06);
  overflow: hidden;
}
.passport-head { position: relative; display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 24px; margin-bottom: 26px; }
.passport-title { font-size: clamp(26px, 3vw, 34px); }
.passport-title em { font-style: italic; font-weight: 400; color: var(--sea); }
.passport-hint { margin: 0; font-size: 14px; color: var(--ink-muted); }
.passport-groups { position: relative; display: grid; grid-template-columns: 1.45fr 1fr .95fr; gap: 26px 34px; }
.passport-group h4 { margin: 0 0 16px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted); }
.stamps { display: flex; flex-wrap: wrap; gap: 16px 12px; align-items: center; }

.stamp {
  position: relative;
  color: var(--c, var(--sea));
  background: transparent;
  border: 2px solid currentColor; border-radius: 7px;
  padding: 10px 15px 9px;
  font-family: var(--font-body); font-size: 13.5px; font-weight: 600; line-height: 1; letter-spacing: .12em; text-transform: uppercase;
  rotate: var(--rot, -2deg);
  opacity: .82;
  transition: rotate .35s var(--ease), transform .35s var(--ease), background .3s, color .3s, opacity .3s;
}
.stamp::before { content: ""; position: absolute; inset: 3px; border: 1px dashed currentColor; border-radius: 4px; opacity: .55; pointer-events: none; }
.stamp--round { border-radius: 999px; padding: 10px 18px 9px; }
.stamp--round::before { border-radius: 999px; }
.stamp:hover, .stamp:focus-visible { rotate: 0deg; transform: scale(1.07); opacity: 1; background: rgba(255,255,255,.7); }
.stamp:active { transform: scale(.96); }
.stamp.is-picked { background: var(--c, var(--sea)); color: #fff; opacity: 1; }
.stamp.is-picked::before { border-color: rgba(255,255,255,.7); }
.stamp--unknown {
  --c: var(--ink-soft);
  display: block; margin: 30px auto 0;
  font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 20px; letter-spacing: 0; text-transform: none;
  border-style: dashed; padding: 12px 22px 11px;
}
.stamp--unknown::before { display: none; }
.stamp--unknown.is-picked { --c: var(--coral); }

.passport.in .stamp { animation: stamp-in .55s var(--ease) backwards; }
.passport.in .passport-group:nth-child(2) .stamp { animation-delay: .25s; }
.passport.in .passport-group:nth-child(3) .stamp { animation-delay: .5s; }
.passport.in .stamp--unknown { animation-delay: .75s; }
@keyframes stamp-in { from { opacity: 0; transform: scale(1.6); } 60% { opacity: 1; transform: scale(.95); } }

/* ------------------------------------------------ туроператоры */
.operators { padding: clamp(60px, 8vw, 110px) 0; background: var(--foam); overflow: hidden; }
.marquee { overflow: hidden; margin: 8px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 44s linear infinite; padding: 6px 0; }
.marquee-reverse .marquee-track { animation-direction: reverse; animation-duration: 52s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.op {
  flex: none;
  font-family: var(--font-display); font-weight: 600; font-size: 26px; letter-spacing: .02em;
  color: var(--sea-deep);
  background: #fff; border-radius: 16px; padding: 14px 30px;
  box-shadow: 0 6px 20px rgba(14,61,92,.07);
  border: 1px solid rgba(14,61,92,.06);
}
.operators-note { text-align: center; color: var(--ink-soft); margin: 34px auto 0; max-width: 620px; font-size: 16px; }

/* ------------------------------------------------ MAX */
.max-section {
  position: relative; overflow: hidden;
  color: #fff;
  background: linear-gradient(160deg, #0e3d5c 0%, #1c6e93 55%, #2c95b3 100%);
  padding: clamp(70px, 9vw, 120px) 0;
}
.max-bubbles { position: absolute; inset: 0; pointer-events: none; }
.max-bubbles span {
  position: absolute; bottom: -80px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.28);
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.25), rgba(255,255,255,.02));
  animation: bubble 18s linear infinite;
}
.max-bubbles span:nth-child(1) { left: 6%; width: 36px; height: 36px; animation-duration: 21s; }
.max-bubbles span:nth-child(2) { left: 18%; width: 18px; height: 18px; animation-duration: 15s; animation-delay: -6s; }
.max-bubbles span:nth-child(3) { left: 31%; width: 54px; height: 54px; animation-duration: 27s; animation-delay: -12s; }
.max-bubbles span:nth-child(4) { left: 52%; width: 24px; height: 24px; animation-duration: 17s; animation-delay: -3s; }
.max-bubbles span:nth-child(5) { left: 67%; width: 42px; height: 42px; animation-duration: 24s; animation-delay: -15s; }
.max-bubbles span:nth-child(6) { left: 82%; width: 16px; height: 16px; animation-duration: 14s; animation-delay: -9s; }
.max-bubbles span:nth-child(7) { left: 93%; width: 30px; height: 30px; animation-duration: 20s; animation-delay: -18s; }
@keyframes bubble { 0% { transform: translateY(0) translateX(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: .8; } 100% { transform: translateY(-120vh) translateX(30px); opacity: 0; } }

.max-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.max-copy h2 em { color: var(--sun); }
.lead-light { font-size: 18px; color: rgba(255,255,255,.86); max-width: 560px; }
.max-perks { list-style: none; padding: 0; margin: 24px 0 34px; display: grid; gap: 12px; }
.max-perks li { position: relative; padding-left: 30px; color: rgba(255,255,255,.92); }
.max-perks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--sun) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><path d='M4 9.5l3 3 7-7' fill='none' stroke='%230e3d5c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / 12px;
}

.max-card {
  display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: end;
}
.max-phone {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 28px; padding: 18px; color: #fff;
  transform: rotate(-2deg);
  transition: transform .5s var(--ease);
}
.max-card:hover .max-phone { transform: rotate(0deg); }
.max-phone-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.18); margin-bottom: 14px; }
.max-phone-head img { background: #fff; border-radius: 10px; padding: 3px; width: 40px; height: auto; }
.max-phone-head div { display: flex; flex-direction: column; line-height: 1.2; }
.max-phone-head strong { font-size: 15px; }
.max-phone-head span { font-size: 12.5px; opacity: .7; }
.max-msg { background: rgba(255,255,255,.14); border-radius: 16px 16px 16px 4px; padding: 12px 14px 8px; margin-bottom: 10px; font-size: 14.5px; }
.max-msg p { margin: 0 0 4px; line-height: 1.45; }
.max-msg span { font-size: 11.5px; opacity: .6; }
.max-msg-muted { background: transparent; border: 1px dashed rgba(255,255,255,.3); font-size: 12.5px; opacity: .8; margin-bottom: 0; }
.max-qr { background: #fff; border-radius: 20px; padding: 14px; width: 168px; color: var(--ink); text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.max-qr img { width: 132px; height: 132px; margin: 0 auto 8px; }
.max-qr p { font-size: 11.5px; line-height: 1.35; margin: 0; color: var(--ink-soft); }

/* ------------------------------------------------ шаги */
.steps { padding: clamp(60px, 8vw, 110px) 0; background: var(--sand); }
.steps-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  position: relative;
}
.steps-list::before {
  content: ""; position: absolute; left: 4%; right: 4%; top: 30px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--lagoon) 0 10px, transparent 10px 20px);
  opacity: .5;
}
.step { position: relative; padding-top: 18px; }
.step:nth-child(2) { translate: 0 28px; }
.step:nth-child(4) { translate: 0 28px; }
.step-num {
  display: inline-grid; place-items: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: #fff; color: var(--sea);
  font-family: var(--font-display); font-weight: 600; font-size: 24px;
  box-shadow: var(--shadow-soft); margin-bottom: 18px; position: relative;
}
.step h3 { font-size: 24px; margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: 15.5px; margin: 0; }

/* ------------------------------------------------ о нас */
.about { padding: clamp(60px, 8vw, 110px) 0; background: var(--foam); overflow: hidden; }
.about-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.about-copy p { color: var(--ink-soft); }
.about-copy h2 { margin-bottom: 20px; }
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.team-member { margin: 0; }
.team-member img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow-soft); }
.team-member figcaption { display: flex; flex-direction: column; margin-top: 10px; line-height: 1.3; }
.team-member strong { font-size: 15.5px; }
.team-member span { font-size: 13px; color: var(--ink-muted); }

.about-gallery {
  display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 120px; gap: 14px;
}
.about-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow-soft); transition: transform .5s var(--ease); }
.about-gallery img:hover { transform: scale(1.03) rotate(-.5deg); }
.g-1 { grid-column: 1 / 5; grid-row: 1 / 3; }
.g-2 { grid-column: 5 / 7; grid-row: 1 / 3; }
.g-3 { grid-column: 1 / 3; grid-row: 3 / 5; }
.g-4 { grid-column: 3 / 7; grid-row: 3 / 5; }

/* ------------------------------------------------ частые вопросы */
.faq { padding: clamp(60px, 8vw, 110px) 0; background: #fffdf8; position: relative; }
.faq-inner { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
.faq-head { position: sticky; top: 110px; }
.faq-head h2 { margin-bottom: 4px; }
.faq-ask { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: #fff; border-radius: 18px;
  border: 1px solid rgba(14,61,92,.07);
  box-shadow: 0 6px 18px rgba(14,61,92,.05);
  transition: box-shadow .35s var(--ease), border-color .35s;
}
.faq-item:hover { box-shadow: var(--shadow-soft); }
.faq-item[open] { border-color: rgba(61,166,194,.45); box-shadow: var(--shadow-soft); }
.faq-item summary {
  display: grid; grid-template-columns: 30px minmax(0, 1fr) 32px; gap: 12px; align-items: center;
  padding: 18px 20px 18px 22px; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-num { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--coral); font-variant-numeric: tabular-nums; }
.faq-q { font-family: var(--font-body); font-weight: 600; font-size: 17px; line-height: 1.4; color: var(--ink); transition: color .3s; }
.faq-item summary:hover .faq-q { color: var(--sea); }
.faq-icon {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid rgba(28,110,147,.45);
  background:
    linear-gradient(var(--sea), var(--sea)) center / 12px 2px no-repeat,
    linear-gradient(var(--sea), var(--sea)) center / 2px 12px no-repeat;
  transition: transform .35s var(--ease), background-color .35s, border-color .35s;
}
.faq-item[open] .faq-icon {
  transform: rotate(45deg); background-color: var(--sea); border-color: var(--sea);
  background-image: linear-gradient(#fff, #fff), linear-gradient(#fff, #fff);
}
.faq-a p { margin: 0; padding: 0 24px 22px 64px; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.faq-a a { font-weight: 600; }
.faq-item[open] .faq-a p { animation: fade-up .45s var(--ease); }
/* плавное раскрытие там, где браузер это умеет */
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq-item::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
  .faq-item[open]::details-content { block-size: auto; }
}
@media (max-width: 900px) {
  .faq-inner { grid-template-columns: 1fr; }
  .faq-head { position: static; }
}
@media (max-width: 560px) {
  .faq-item summary { grid-template-columns: 30px minmax(0, 1fr) 30px; gap: 10px; padding: 16px 14px 16px 16px; }
  .faq-q { font-size: 16px; }
  .faq-icon { width: 30px; height: 30px; }
  .faq-a p { padding: 0 16px 18px 16px; font-size: 15.5px; }
  .faq-ask .btn { flex: 1 1 auto; }
}

/* ------------------------------------------------ заявка */
.request { padding: clamp(60px, 8vw, 110px) 0; background: linear-gradient(180deg, var(--sand) 0%, #f2e6d2 100%); }
.request-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
.request-copy > p { color: var(--ink-soft); font-size: 17px; }
.request-copy h2 { margin-bottom: 16px; }
.request-alt { display: grid; gap: 12px; margin-top: 30px; }
.alt-link {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border-radius: 16px; padding: 12px 16px;
  color: var(--ink); box-shadow: 0 6px 18px rgba(14,61,92,.06);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.alt-link:hover { transform: translateX(4px); box-shadow: var(--shadow-soft); color: var(--ink); }
.alt-link > span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.alt-link strong { font-size: 16px; }
.alt-link small { font-size: 12.5px; color: var(--ink-muted); }
.alt-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--foam); color: var(--sea); flex: none; }
.alt-icon-max { background: var(--sea-deep); }

.request-side .request-alt { margin-top: 0; }
.request-side .alt-link { padding: 16px 20px; }
.request-side .alt-link strong { font-size: 18px; }
.reach-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.reach-list li { position: relative; padding-left: 30px; color: var(--ink-soft); font-size: 16.5px; line-height: 1.5; }
.reach-list li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 8px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 8'><path d='M1 4c2.5-3 5-3 7.5 0s5 3 7.5 0' fill='none' stroke='%23e8735a' stroke-width='1.8' stroke-linecap='round'/></svg>") no-repeat center / contain;
}
.pick-note {
  margin: 0; padding: 14px 18px; border-radius: 14px;
  background: var(--sea-deep); color: #fff; font-size: 15.5px; line-height: 1.45;
}
.pick-note.flash { animation: pick-flash .9s var(--ease); }
@keyframes pick-flash { 0% { transform: scale(.96); box-shadow: 0 0 0 0 rgba(61,166,194,.6); } 60% { transform: scale(1.02); box-shadow: 0 0 0 10px rgba(61,166,194,0); } 100% { transform: none; } }

/* ------------------------------------------------ контакты */
.contacts { padding: clamp(60px, 8vw, 110px) 0 clamp(80px, 10vw, 140px); background: var(--foam); }
.contacts-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 60px); align-items: start; }
.contacts-info dl { margin: 0 0 30px; display: grid; gap: 18px; }
.contacts-info dt { font-size: 12.5px; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-muted); font-weight: 600; margin-bottom: 4px; }
.contacts-info dd { margin: 0; font-size: 17px; }
.contacts-info dd small { color: var(--ink-muted); font-size: 14px; }
.contacts-info dd a { font-weight: 600; }
.route h3 { font-size: 24px; margin-bottom: 10px; }
.route > p { color: var(--ink-soft); font-size: 15.5px; }
.route-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.route-photos figure { margin: 0; }
.route-photos img { aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow-soft); }
.route-photos figcaption { font-size: 12.5px; color: var(--ink-muted); margin-top: 6px; line-height: 1.3; }
.map { position: relative; height: 100%; min-height: 520px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); background: #dfe9ec; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-link { position: absolute; left: 14px; bottom: 14px; background: #fff; padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; box-shadow: 0 6px 18px rgba(0,0,0,.15); }

/* ------------------------------------------------ подвал */
.site-footer { position: relative; background: var(--sea-deep); color: rgba(255,255,255,.8); padding: 0 0 100px; }
.footer-wave { position: absolute; left: 0; right: 0; top: -1px; height: 60px; transform: translateY(-99%); }
.footer-wave svg { width: 100%; height: 100%; display: block; }
.footer-wave path { fill: var(--sea-deep); }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1.4fr 1fr; gap: 30px; padding: 30px 0 34px; align-items: start; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { background: #fff; border-radius: 12px; padding: 4px; }
.footer-brand div { display: flex; flex-direction: column; line-height: 1.25; }
.footer-brand strong { font-family: var(--font-display); font-size: 26px; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.footer-brand span { font-size: 13px; opacity: .7; }
.footer-legal p { margin: 0 0 6px; font-size: 14px; }
.footer-legal a, .footer-contacts a { color: var(--lagoon-light); }
.footer-legal a:hover, .footer-contacts a:hover { color: #fff; }
.footer-contacts { display: grid; gap: 8px; font-size: 15.5px; justify-items: start; }
.footer-copy { text-align: center; font-size: 12.5px; opacity: .55; margin: 0; padding: 0 var(--gutter); }

/* ------------------------------------------------ мобильная панель */
.mobile-bar {
  display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
  gap: 8px; padding: 8px; border-radius: 999px;
  background: rgba(255,255,255,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 40px rgba(14,61,92,.22);
}
.mobile-bar a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 999px; font-weight: 600; font-size: 15px; }
.mb-call { background: var(--coral); color: #fff; }
.mb-max { background: var(--sea-deep); color: #fff; }

/* ------------------------------------------------ появление при скролле */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }
.delay-3 { transition-delay: .36s; }
.delay-4 { transition-delay: .48s; }
.step.reveal.in:nth-child(2), .step.reveal.in:nth-child(4) { transform: translateY(28px); }

/* ------------------------------------------------ адаптив */
@media (max-width: 1100px) {
  .nav { gap: 18px; }
  .header-phone span { display: none; }
  .steps-list { grid-template-columns: repeat(2, 1fr); }
  .steps-list::before { display: none; }
  .step:nth-child(2), .step:nth-child(4), .step.reveal.in:nth-child(2), .step.reveal.in:nth-child(4) { translate: 0 0; transform: none; }
}

@media (max-width: 900px) {
  .nav, .header-actions .btn-max { display: none; }
  .header-phone span { display: inline; }
  .burger { display: flex; }
  .mobile-menu {
    display: grid; gap: 4px; padding: 0 var(--gutter);
    max-height: 0; overflow: hidden; transition: max-height .4s var(--ease), padding .4s;
    background: rgba(247,240,228,.96); backdrop-filter: blur(14px);
  }
  .mobile-menu.open { max-height: 420px; padding: 10px var(--gutter) 22px; box-shadow: 0 20px 40px rgba(14,61,92,.12); }
  .mobile-menu a { padding: 12px 4px; font-size: 18px; font-weight: 500; color: var(--ink); border-bottom: 1px solid rgba(14,61,92,.08); }
  .mobile-menu a.btn { margin-top: 12px; border: 0; justify-content: center; }
  .site-header { background: rgba(247,240,228,.86); backdrop-filter: blur(14px); }
  .about-inner, .request-inner, .contacts-grid, .max-inner { grid-template-columns: 1fr; }
  .about-gallery { grid-auto-rows: 100px; }
  .map { min-height: 380px; }
  .footer-inner { grid-template-columns: 1fr; gap: 22px; }
  .mobile-bar { display: flex; }
  .site-footer { padding-bottom: 110px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand-emblem { width: 50px; }
  .brand-name { font-size: 24px; }
  .brand-sub { display: none; }
  .header-phone span { display: none; }
  .steps-list { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; }
  .about-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .g-1 { grid-column: 1 / 3; grid-row: auto; }
  .g-2 { grid-column: 1 / 2; grid-row: auto; }
  .g-3 { grid-column: 2 / 3; grid-row: auto; }
  .g-4 { grid-column: 1 / 3; grid-row: auto; }
  .max-card { grid-template-columns: 1fr; justify-items: center; }
  .max-qr { display: none; } /* на телефоне QR не нужен — есть кнопка */
  .route-photos { gap: 8px; }
  .op { font-size: 20px; padding: 10px 20px; }
  .btn-lg { padding: 15px 24px; font-size: 16px; }
  .hero-cta .btn { flex: 1; }
}


/* ------------------------------------------------ адаптив: первый экран и направления */
@media (max-width: 1180px) {
  .collage { transform: scale(.86); transform-origin: top right; }
  .hotcard { width: 320px; }
}
@media (max-width: 900px) {
  .hero { padding: calc(92px + 20px) 0 90px; min-height: 0; display: block; }
  .hero-media img { object-position: 72% 50%; }
  .hero-media::after { background: linear-gradient(to bottom, rgba(247,240,228,.95) 0%, rgba(247,240,228,.9) 50%, rgba(247,240,228,.2) 74%, rgba(247,240,228,0) 100%); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-cta { display: none; } /* на телефоне и планшете эти действия есть в нижней панели */
  .collage { justify-self: center; width: 460px; height: 490px; transform: none; margin: 40px auto 0; }
  .hotcard { position: relative; right: auto; bottom: auto; width: auto; margin-top: 34px; }
  .hero-waves { height: 70px; }

  .mosaic { grid-template-columns: 1fr 1fr; grid-template-areas: none; grid-auto-rows: 210px; gap: 12px; }
  .mosaic > * { grid-area: auto !important; }
  .dcard--tr, .dcard--do, .dcard--vn { grid-column: span 2; }
  .dcard--tr { grid-row: span 2; }
  .note-card { grid-column: span 2; }
  .note-card-flight { display: none; }
  .dcard--tr .dcard-body { padding: 24px 24px 30px 40px; }
  .dcard--tr .dcard-name { font-size: 42px; }

  .passport-groups { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 560px) {
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
  .collage { transform: scale(.72); transform-origin: top center; margin-bottom: -125px; }
  .hero-note { display: none; }
  .hero-facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); row-gap: 18px; }
  .hero-facts > div { padding: 0 16px; }
  .hero-facts > div:nth-child(3) { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
  .hero-facts dt { font-size: 28px; }
  .hero-facts dd { font-size: 12px; }
  .mosaic { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .mosaic > * { grid-column: auto !important; grid-row: auto !important; }
  .dcard-name, .dcard--tr .dcard-name { font-size: 32px; }
  .dcard--tr .dcard-body { padding: 22px 24px 28px 36px; }
  .note-card { min-height: 0; }
  .passport { padding: 26px 18px 30px; }
  .stamps { gap: 14px 10px; }
  .stamp { font-size: 12.5px; padding: 9px 12px 8px; }
  .stamp--unknown { font-size: 18px; }
}
/* касание вместо наведения: личные фото показываем сразу */
@media (hover: none) {
  .dcard-peek { width: 110px; transition-delay: .5s; }
  .dcard.in .dcard-peek { opacity: 1; transform: rotate(-5deg); }
  .dcard-peek figcaption { font-size: 14px; }
  .dcard-more { display: none; }
}

/* ------------------------------------------------ меньше движения */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img, .collage .snap, .hero-waves .w, .note-card-flight .route, .marquee-track, .max-bubbles span, .max-dot, .passport.in .stamp { animation: none !important; }
  .load, .collage .snap.load, .hotcard.load { opacity: 1 !important; transform: none !important; }
  .hero-title .line > span { transform: none; animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ------------------------------------------------ юридические документы */
.doc-page { background: #fffdf8 !important; }
.doc { max-width: 820px; margin: 0 auto; padding: 36px var(--gutter) 90px; }
.doc-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; font-weight: 600; }
.doc-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.doc-nav a { padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--sand-line); background: #fff; font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.doc-nav a:hover { border-color: var(--lagoon); color: var(--sea-deep); }
.doc-nav a[aria-current="page"] { background: var(--sea-deep); border-color: var(--sea-deep); color: #fff; }
.doc h1 { font-size: clamp(32px, 4.6vw, 48px); margin-bottom: 8px; }
.doc h2 { font-size: clamp(24px, 3vw, 30px); margin: 38px 0 12px; }
.doc h3 { font-family: var(--font-body); font-size: 17px; font-weight: 600; margin: 24px 0 8px; }
.doc p, .doc li { color: var(--ink-soft); font-size: 16px; line-height: 1.65; }
.doc ul { padding-left: 22px; margin: 0 0 1em; }
.doc li { margin-bottom: 4px; }
.doc-updated { font-size: 14px; color: var(--ink-muted) !important; margin-bottom: 30px; }
.doc-note { margin-top: 30px; padding: 16px 20px; border-radius: 14px; background: var(--foam); }
.doc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.doc-footer { padding: 34px 0 30px !important; }
.doc-footer .footer-inner { grid-template-columns: 1.3fr 1fr; padding: 0; }


/* ссылки на документы в подвале */
.footer-docs { display: grid; gap: 6px; margin-top: 14px; justify-items: start; }
.footer-docs a, .footer-docs button { font-size: 13.5px; color: var(--lagoon-light); }
.footer-docs button { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; font-size: 13.5px; }
.footer-docs a:hover, .footer-docs button:hover { color: #fff; }
.footer-legal p { margin-bottom: 4px; }

/* ------------------------------------------------ уведомление о cookie (компактное) */
.cookie {
  position: fixed; left: 50%; bottom: 18px; z-index: 80;
  width: min(760px, calc(100% - 32px));
  display: flex; align-items: center; gap: 16px;
  padding: 12px 12px 12px 18px;
  background: rgba(16,40,58,.94); color: #e8f1f4;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 0 16px 40px -14px rgba(14,61,92,.55);
  opacity: 0; transform: translate(-50%, 12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.cookie[hidden] { display: none; }
.cookie.show { opacity: 1; transform: translate(-50%, 0); }
.cookie-text { margin: 0; flex: 1; font-size: 13px; line-height: 1.45; color: #e8f1f4; }
.cookie-text a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.cookie-ok {
  flex: none; padding: 10px 20px; border-radius: 999px; border: 0;
  background: #fff; color: var(--sea-deep); font-size: 14px; font-weight: 600;
  transition: background .25s;
}
.cookie-ok:hover, .cookie-ok:focus-visible { background: var(--foam); }
/* на телефоне и планшете уведомление встаёт над нижней панелью «Позвонить / Горячие туры» */
@media (max-width: 900px) {
  .cookie { bottom: 84px; }
}
@media (max-width: 560px) {
  .cookie { gap: 10px; padding: 10px 10px 10px 14px; }
  .cookie-text { font-size: 12px; }
  .cookie-ok { padding: 9px 14px; font-size: 13px; }
  .doc-footer .footer-inner { grid-template-columns: 1fr; }
}

/* настройки аналитики на странице cookies.html */
.cookie-settings { margin-top: 34px; padding: 24px 26px; border-radius: 18px; background: #fff; border: 1px solid rgba(14,61,92,.08); box-shadow: var(--shadow-soft); scroll-margin-top: 100px; }
.doc .cookie-settings-title { font-family: var(--font-display); font-size: 24px; color: var(--ink) !important; margin: 0 0 6px; }
.cookie-settings-status { margin: 0 0 16px; }
.cookie-settings-note { margin: 12px 0 0; font-size: 14px !important; color: var(--ink-muted) !important; }
@media (prefers-reduced-motion: reduce) { .cookie { transition: none; } }
