/* =========================================================
   FeelSea — общий стиль для RU и EN версий
   Цвета меняются здесь, в :root
   ========================================================= */
:root {
  --ink: #0f1a24;        /* основной текст, тёмные блоки */
  --sea: #1d4a5e;        /* глубокий морской */
  --sea-soft: #5e8a99;
  --sand: #f3eee5;       /* тёплый песочный фон */
  --foam: #fbfaf7;       /* основной фон */
  --butter: #fff6b8;     /* акцент (как кнопки на сайте туров) */
  --line: rgba(15, 26, 36, .12);
  --muted: #5b6670;
  --radius: 4px;
  --wrap: 1200px;
  --font: "Jost", "Helvetica Neue", Arial, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--foam);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 400; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; }
h2 { font-size: clamp(30px, 4.2vw, 48px); text-transform: uppercase; }
h3 { font-size: 22px; text-transform: uppercase; letter-spacing: .04em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

.section { padding: 88px 0; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--ink); color: #eef2f4; }
.section--dark .eyebrow { color: var(--butter); }
.section--dark .muted { color: #a8b4bc; }
@media (max-width: 767px) { .section { padding: 64px 0; } }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sea);
  margin-bottom: 14px;
}
.lead { font-size: 19px; max-width: 680px; }
.muted { color: var(--muted); }
.accent { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; }
.section-head { max-width: 760px; margin-bottom: 48px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px;
  font: 500 14px/1 var(--font);
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--butter); color: var(--ink); }
.btn--primary:hover { background: #fff; }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--sea); }
.link-arrow {
  font-weight: 500; font-size: 14px; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.link-arrow::after { content: " →"; }

/* ---------- Шапка ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: #fff;
  transition: background .3s, color .3s, box-shadow .3s;
}
.header.is-solid { background: rgba(251,250,247,.96); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(8px); }
.header__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { font-size: 24px; font-weight: 500; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.logo span { font-family: var(--serif); font-style: italic; text-transform: none; font-weight: 500; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; opacity: .9; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.lang { display: flex; gap: 6px; font-size: 13px; font-weight: 500; letter-spacing: .1em; }
.lang a { text-decoration: none; opacity: .55; }
.lang a.is-active { opacity: 1; }
.header__cta { padding: 11px 18px; }
.burger { display: none; background: none; border: 0; color: inherit; padding: 8px; margin-left: auto; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; }

@media (max-width: 1080px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .lang { order: 3; }
  .header.is-open { background: var(--foam); color: var(--ink); }
  .header.is-open .nav {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--foam); padding: 8px 16px 24px; box-shadow: 0 12px 24px rgba(0,0,0,.08);
  }
  .header.is-open .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
}

/* ---------- Фото-слоты ---------- */
.photo { position: relative; overflow: hidden; background: linear-gradient(135deg, #c9d8dc, #e9e2d3); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.is-missing img { display: none; }
/* Подписи «какое фото сюда» видны только при просмотре на своём компьютере,
   на живом сайте вместо них просто спокойный градиент */
.is-dev .photo.is-missing::after {
  content: "📷 " attr(data-label);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 16px;
  font-size: 13px; letter-spacing: .08em; color: rgba(15,26,36,.6);
  border: 1px dashed rgba(15,26,36,.25);
}

/* ---------- Первый экран ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg.photo { background: linear-gradient(160deg, #24495a 0%, #0f1a24 70%); }
.is-dev .hero__bg.is-missing::after { color: rgba(255,255,255,.35); border: 0; align-items: flex-start; padding-top: 100px; }
.hero__bg::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(15,26,36,.35) 0%, rgba(15,26,36,.15) 40%, rgba(15,26,36,.75) 100%);
}
.hero__content { position: relative; z-index: 2; padding-top: 140px; padding-bottom: 72px; }
.hero__slogan { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 3vw, 30px); margin-bottom: 18px; color: var(--butter); }
.hero h1 { font-size: clamp(36px, 6.4vw, 78px); text-transform: uppercase; max-width: 980px; }
.hero__sub { font-size: clamp(17px, 2vw, 20px); max-width: 640px; opacity: .92; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 34px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.hero__tags span::before { content: "— "; color: var(--butter); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Цифры ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.stat { padding: 34px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: clamp(34px, 4vw, 48px); font-weight: 400; line-height: 1; margin-bottom: 8px; color: var(--sea); }
.stat span { font-size: 15px; color: var(--muted); }
@media (max-width: 767px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 12px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------- Обо мне ---------- */
.about { display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: center; }
.about__photo { aspect-ratio: 4 / 5; border-radius: var(--radius); }
.about__quote { font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.35; border-left: 2px solid var(--sea); padding-left: 20px; margin: 28px 0; }
.about__sign { font-family: var(--serif); font-style: italic; font-size: 30px; margin-top: 8px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.badge { font-size: 13px; letter-spacing: .08em; padding: 7px 12px; border: 1px solid var(--line); border-radius: 40px; background: #fff; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; gap: 36px; } .about__photo { max-width: 460px; } }

/* ---------- Преимущества ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); }
.why__item { background: var(--ink); padding: 34px 28px; }
.why__num { font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--butter); display: block; margin-bottom: 12px; }
.why__item h3 { font-size: 18px; }
.why__item p { color: #a8b4bc; margin: 0; font-size: 16px; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .why { grid-template-columns: 1fr; } }

/* ---------- Направления (3 главные карточки) ---------- */
.directions { display: grid; gap: 28px; }
.direction { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.direction:nth-child(even) .direction__photo { order: 2; }
.direction__photo { min-height: 380px; }
.direction__body { padding: 44px; display: flex; flex-direction: column; }
.direction__num { font-size: 13px; letter-spacing: .22em; color: var(--sea); margin-bottom: 14px; }
.direction__body h3 { font-size: clamp(24px, 2.6vw, 32px); }
.direction__list { list-style: none; padding: 0; margin: 6px 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.direction__list li { font-size: 14px; padding: 6px 12px; background: var(--sand); border-radius: 40px; }
.direction__foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; }
.price { font-size: 15px; color: var(--muted); }
.price b { font-size: 24px; font-weight: 400; color: var(--ink); }
@media (max-width: 900px) {
  .direction { grid-template-columns: 1fr; }
  .direction:nth-child(even) .direction__photo { order: 0; }
  .direction__photo { min-height: 240px; aspect-ratio: 16 / 10; }
  .direction__body { padding: 28px 22px; }
}

/* ---------- Календарь туров ---------- */
.tours { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tour { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.tour:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15,26,36,.1); }
.tour__photo { aspect-ratio: 4 / 3; }
.tour__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.tour__date { font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--sea); }
.tour__body h3 { font-size: 19px; margin: 8px 0 6px; }
.tour__meta { font-size: 15px; color: var(--muted); margin-bottom: 16px; }
.tour__price { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 14px; font-size: 15px; }
.tour__price { gap: 10px; align-items: center; }
.tour__price b { font-weight: 500; font-size: 15px; white-space: nowrap; }
.tag-soon { white-space: nowrap; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; background: var(--butter); padding: 3px 8px; border-radius: 3px; }
@media (max-width: 1080px) { .tours { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tours { grid-template-columns: 1fr; } }

/* ---------- Дополнительные форматы ---------- */
.extras { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.extra { padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--foam); }
.extra__icon { font-size: 26px; margin-bottom: 12px; display: block; }
.extra h3 { font-size: 16px; letter-spacing: .06em; }
.extra p { font-size: 15px; color: var(--muted); margin: 0; }
@media (max-width: 1080px) { .extras { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .extras { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .extras { grid-template-columns: 1fr; } }

/* ---------- Как это работает ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.step { border-top: 1px solid var(--ink); padding-top: 20px; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--sea); display: block; margin-bottom: 8px; }
.step h3 { font-size: 17px; }
.step p { font-size: 15px; color: var(--muted); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Отзывы ---------- */
.reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.review { aspect-ratio: 9 / 16; border-radius: var(--radius); }
.review--video { position: relative; }
.review--video video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .reviews { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .review { scroll-snap-align: start; }
}

/* ---------- Галерея ---------- */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 180px; gap: 8px; }
.gallery .photo:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.gallery .photo:nth-child(2), .gallery .photo:nth-child(3) { grid-column: span 3; }
.gallery .photo:nth-child(n+4) { grid-column: span 2; }
@media (max-width: 700px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .gallery .photo:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .gallery .photo:nth-child(1) { grid-column: span 2; grid-row: span 2; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 22px 40px 22px 0; position: relative;
  font-size: 19px; font-weight: 400;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 28px; font-weight: 300; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 40px 22px 0; color: var(--muted); margin: 0; }

/* ---------- Контакты ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.contact h2 { font-size: clamp(32px, 4.6vw, 56px); }
.contact__links { display: grid; gap: 12px; }
.contact__link {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 24px; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius);
  text-decoration: none; transition: background .2s, border-color .2s;
}
.contact__link:hover { background: rgba(255,255,255,.06); border-color: var(--butter); }
.contact__link b { font-weight: 500; letter-spacing: .1em; text-transform: uppercase; font-size: 15px; }
.contact__link span { color: #a8b4bc; font-size: 15px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Подвал ---------- */
.footer { background: var(--ink); color: #8d9aa3; border-top: 1px solid rgba(255,255,255,.08); padding: 28px 0; font-size: 14px; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }

/* ---------- Плавающая кнопка WhatsApp ---------- */
.float-wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  transition: transform .2s;
}
.float-wa:hover { transform: scale(1.07); }
.float-wa svg { width: 30px; height: 30px; }

/* ---------- Плавное появление ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
