/* =========================================================
   Женский ретрит на Мальдивах · Наталия Ладица
   styles/style.css — ПОЛНАЯ ЗАМЕНА ФАЙЛА
   Палитра: глубокий океан · бирюза · тёплый песок · золото
   ========================================================= */

:root {
  --ocean-deep: #0A3D5C;
  --ocean-dark: #0F5A7A;
  --ocean-bright: #1B7F8C;
  --ocean-mid: #2A9D8F;

  --sand: #F5F1E8;
  --sand-strong: #E8E0D0;
  --gold: #C9A96E;
  --gold-light: #E5D3A8;

  --ink: #1A2E35;
  --muted: #5A717A;
  --paper: #FFFFFF;
  --line: rgba(10, 61, 92, 0.12);

  --shadow: 0 22px 60px rgba(10, 61, 92, 0.10);
  --shadow-soft: 0 12px 34px rgba(10, 61, 92, 0.06);
  --radius: 26px;
  --radius-small: 16px;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.social-retention-lock { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

h1, h2, h3, p { margin-top: 0; }

h1, h2 {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

h1 { margin-bottom: 26px; font-size: clamp(3.1rem, 5.4vw, 5.8rem); }
h2 { margin-bottom: 22px; font-size: clamp(2.25rem, 3.8vw, 4.1rem); }

h3 {
  margin-bottom: 12px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.35;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

/* ---------- ШАПКА ---------- */
.site-header {
  position: fixed;
  z-index: 50;
  top: 0; right: 0; left: 0;
  color: var(--paper);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled,
body.menu-open .site-header {
  background: rgba(10, 61, 92, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 30px rgba(10, 61, 92, 0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 26px;
}

.brand { display: inline-flex; align-items: center; }

.brand-logo {
  width: 188px;
  height: auto;
  display: block;
}

.desktop-nav {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 23px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.desktop-nav a { position: relative; padding: 8px 0; }

.desktop-nav a::after {
  position: absolute;
  right: 0; bottom: 2px; left: 0;
  height: 1px;
  background: var(--paper);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after { transform: scaleX(1); }

.header-cta {
  flex: 0 0 auto;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---------- КНОПКИ ---------- */
.button {
  display: inline-flex;
  min-height: 52px;
  padding: 13px 24px;
  align-items: center;
  justify-content: center;
  color: #0A2A36;
  background: linear-gradient(45deg, #0ee3ff, #8bfff1);
  border: 1px solid transparent;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(14, 227, 255, 0.28);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  color: var(--paper);
  background: var(--ocean-deep);
  box-shadow: 0 15px 36px rgba(10, 61, 92, 0.38);
  transform: translateY(-2px);
}

.button:focus-visible,
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(201, 169, 110, 0.85);
  outline-offset: 4px;
}

.button-ghost {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: none;
  text-transform: none;
  letter-spacing: normal;
}

.button-ghost:hover,
.button-ghost:focus-visible {
  color: var(--ocean-deep);
  background: var(--paper);
  border-color: var(--paper);
}

.button-white {
  color: var(--ocean-deep);
  background: var(--paper);
  border-color: var(--paper);
}

.button-white:hover,
.button-white:focus-visible { background: var(--sand); }

.button-full { width: 100%; }

.menu-toggle { display: none; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  color: var(--paper);
  background: var(--ocean-deep);
}

.hero-image,
.hero-overlay { position: absolute; inset: 0; }

.hero-image {
  background-position: center center;
  background-size: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 61, 92, 0.94) 0%, rgba(15, 90, 122, 0.78) 46%, rgba(15, 90, 122, 0.22) 82%, rgba(15, 90, 122, 0.12) 100%),
    linear-gradient(0deg, rgba(10, 61, 92, 0.40), transparent 58%);
}

.hero-content {
  position: relative;
  display: grid;
  min-height: 760px;
  padding-top: 108px;
  padding-bottom: 96px;
  align-items: center;
}

.hero-copy { max-width: 960px; }

.hero h1 {
  max-width: none;
  margin-bottom: 32px;
  font-size: clamp(2.7rem, 3.8vw, 4.1rem);
}

.eyebrow {
  margin-bottom: 22px;
  color: var(--ocean-bright);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow-light { color: var(--gold-light); }

.hero-lead {
  max-width: 760px;
  margin-bottom: 34px;
  font-size: clamp(1.03rem, 1.4vw, 1.22rem);
  line-height: 1.78;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-dates {
  display: flex;
  width: fit-content;
  margin: 0 0 36px;
  padding: 15px 20px;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-dates div { display: grid; gap: 3px; }

.hero-dates strong {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero-dates span {
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0.72;
  text-transform: uppercase;
}

.hero-dates i {
  display: block;
  width: 1px;
  height: 34px;
  background: rgba(255, 255, 255, 0.28);
}

/* ---------- ФАКТЫ ---------- */
.quick-facts {
  position: relative;
  z-index: 2;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.facts-grid { display: grid; grid-template-columns: repeat(5, 1fr); }

.facts-grid article {
  padding: 27px 22px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.facts-grid article:first-child { border-left: 1px solid var(--line); }

.facts-grid strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ocean-bright);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.65rem;
  line-height: 1;
}

.facts-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* ---------- СЕКЦИИ ---------- */
.section { padding: 112px 0; }
.section-tint { background: var(--sand); }

.section-heading-centered {
  max-width: 800px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading-centered > p:not(.eyebrow) { color: var(--muted); }

.sticky-heading { position: sticky; top: 120px; align-self: start; }
.sticky-heading > p:not(.eyebrow) { color: var(--muted); }

.text-link {
  display: inline-flex;
  padding-bottom: 3px;
  align-items: center;
  gap: 10px;
  color: var(--ocean-bright);
  border-bottom: 1px solid currentColor;
  font-size: 0.82rem;
  font-weight: 700;
}

.text-link:hover { color: var(--ocean-deep); }

/* ---------- ДЛЯ КОГО ---------- */
.need-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }

.need-grid article {
  min-height: 218px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.need-grid article:hover {
  border-color: rgba(27, 127, 140, 0.45);
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}

.need-grid h3 { font-size: 1.05rem; color: var(--ocean-deep); }
.need-grid p { margin-bottom: 0; color: var(--muted); font-size: 0.82rem; }

/* ---------- ПРОГРАММА ---------- */
.program-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, 1fr);
  align-items: stretch;
}

.program-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.program-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--sand-strong);
  flex: 0 0 auto;
}

.program-card > div {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 28px;
}

.program-card > div > span {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.program-card h3 {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ocean-deep);
  margin-bottom: 14px;
}

.program-card p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.program-card p:last-of-type { margin-bottom: 0; }

.program-card-final {
  color: var(--paper);
  background: var(--ocean-deep);
  border-color: transparent;
}

.program-card-final h3 { color: var(--paper); }
.program-card-final p { color: rgba(255, 255, 255, 0.82); margin-bottom: 22px; }
.program-card-final > div > span { color: var(--gold-light); }

.program-card .value-note {
  margin-top: auto;
  padding: 16px 18px;
  color: var(--ocean-deep);
  background: var(--sand);
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.6;
}

/* ---------- МЕСТО / ГАЛЕРЕЯ ---------- */
.place-layout {
  display: grid;
  align-items: center;
  gap: 70px;
  grid-template-columns: 1.05fr 0.95fr;
}

.place-copy > p:not(.eyebrow) { color: var(--muted); }

.place-gallery { display: grid; gap: 12px; }

/* Большое фото (десктоп — статичное сверху) */
.place-main {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius-small);
}

.place-main img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--sand-strong);
}

.place-main figcaption {
  position: absolute;
  right: 12px; bottom: 12px;
  padding: 7px 11px;
  color: var(--paper);
  background: rgba(10, 61, 92, 0.82);
  border-radius: 999px;
  font-size: 0.63rem;
  font-weight: 700;
}

/* Карусель */
.place-slider { position: relative; }

.place-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
  scrollbar-width: none;
}
.place-track::-webkit-scrollbar { display: none; }

.place-slide {
  flex: 0 0 calc((100% - 12px) / 2);
  scroll-snap-align: start;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-small);
}

.place-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--sand-strong);
  transition: transform 500ms ease;
}

.place-slide:hover img { transform: scale(1.035); }

/* Стрелки — только на десктопе */
.place-arrow {
  position: absolute;
  top: calc(50% - 18px);
  z-index: 2;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: rgba(10, 61, 92, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 180ms ease, opacity 180ms ease, transform 180ms ease;
}
.place-arrow:hover { background: var(--ocean-bright); transform: scale(1.06); }
.place-arrow:disabled { opacity: 0.32; cursor: default; transform: none; }
.place-arrow--prev { left: 10px; }
.place-arrow--next { right: 10px; }

/* Прогресс-полоска */
.place-progress {
  height: 3px;
  margin-top: 14px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.place-progress-fill {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--button-gradient);
  border-radius: 999px;
  transform-origin: left center;
  transform: scaleX(0.15);
  transition: transform 120ms ease;
}

.check-list { margin: 24px 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 27px; color: var(--muted); }
.check-list li + li { margin-top: 10px; }
.check-list li::before {
  position: absolute;
  top: 0; left: 0;
  color: var(--ocean-bright);
  content: "✓";
  font-weight: 800;
}

/* --- Адаптив галереи --- */
@media (max-width: 900px) {
  .place-layout { grid-template-columns: 1fr; gap: 40px; }

  /* На мобиле большое фото становится первым слайдом карусели (JS добавляет .is-slide) */
  .place-main.is-slide {
    flex: 0 0 82%;
    scroll-snap-align: start;
    border-radius: var(--radius-small);
  }
  .place-main.is-slide img { aspect-ratio: 4 / 3; }

  .place-slide { flex: 0 0 82%; }

  /* Стрелки на мобиле не нужны — работает свайп */
  .place-arrow { display: none; }
}
/* ---------- СТОИМОСТЬ ---------- */
.program-price-card {
  display: grid;
  overflow: hidden;
  color: var(--paper);
  background: var(--ocean-deep);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  grid-template-columns: 0.9fr 1.1fr;
}

.program-price-main,
.program-includes { padding: 55px; }

.program-price-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(145deg, var(--ocean-bright), var(--ocean-dark));
}

.program-price-main > span {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.price-value strong {
  display: block;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(4.3rem, 7vw, 7rem);
  font-weight: 600;
  line-height: 0.82;
}

.price-value small {
  display: block;
  margin-top: 13px;
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.program-price-main > p {
  margin: 27px 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
}

.deposit-note {
  padding: 18px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 13px;
}

.deposit-note strong { display: block; margin-bottom: 6px; color: var(--gold-light); }
.deposit-note span { display: block; font-size: 0.74rem; line-height: 1.6; opacity: 0.82; }

.program-includes h3 {
  margin-bottom: 24px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 2.3rem;
  font-weight: 600;
}

.program-includes .check-list { color: rgba(255, 255, 255, 0.84); font-size: 0.82rem; }
.program-includes .check-list li { color: inherit; }
.program-includes .check-list li::before { color: var(--gold-light); }

.expense-grid {
  display: grid;
  margin-top: 24px;
  gap: 20px;
  grid-template-columns: repeat(2, 1fr);
}

.expense-card {
  padding: 40px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
}

.expense-card-separate { background: var(--sand); border-color: var(--sand-strong); }

.expense-card h3 {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--ocean-deep);
}

.expense-card ul { padding-left: 20px; color: var(--muted); font-size: 0.82rem; line-height: 1.8; }
.expense-card p { color: var(--muted); font-size: 0.88rem; line-height: 1.7; }
.expense-card p:last-child { margin-bottom: 0; }
.expense-card .text-link { margin-top: 18px; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; gap: 74px; grid-template-columns: 0.7fr 1.3fr; }

.faq-list details { padding: 0; border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }

.faq-list summary {
  position: relative;
  padding: 23px 54px 23px 0;
  cursor: pointer;
  color: var(--ocean-deep);
  font-size: 0.92rem;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  position: absolute;
  top: 18px; right: 0;
  display: grid;
  width: 34px; height: 34px;
  place-items: center;
  color: var(--paper);
  background: var(--ocean-bright);
  border-radius: 50%;
  content: "+";
  font-size: 1.2rem;
}

.faq-list details[open] summary::after { content: "−"; }

.faq-list details p {
  max-width: 680px;
  margin: -4px 50px 24px 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

/* ---------- КОНСУЛЬТАЦИЯ ---------- */
.consultation {
  padding: 110px 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 88% 12%, rgba(42, 157, 143, 0.30), transparent 38%),
    linear-gradient(135deg, var(--ocean-deep), var(--ocean-dark));
}

.consultation-grid {
  display: grid;
  align-items: center;
  gap: 75px;
  grid-template-columns: 1.1fr 0.9fr;
}

.consultation-copy p:not(.eyebrow) { color: rgba(255, 255, 255, 0.84); font-size: 1rem; line-height: 1.7; }

.consultation-copy ul {
  margin: 27px 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  list-style: none;
}

.consultation-copy li { position: relative; padding-left: 27px; }
.consultation-copy li + li { margin-top: 9px; }

.consultation-copy li::before {
  position: absolute;
  top: 0; left: 0;
  color: var(--gold);
  content: "✓";
  font-weight: 800;
}

.consultation-form {
  padding: 35px;
  color: var(--ink);
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.consultation-form iframe { display: block; width: 100%; min-height: 590px; border: 0; }

.form-heading { padding: 0 12px 18px; }

.form-heading > span {
  display: block;
  margin-bottom: 17px;
  color: var(--ocean-bright);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.form-heading h3 {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--ocean-deep);
}

.form-heading p { margin-bottom: 0; color: var(--muted); font-size: 0.78rem; }

/* ---------- ПОДВАЛ ---------- */
.site-footer {
  padding: 68px 0 28px;
  color: rgba(255, 255, 255, 0.78);
  background: #062A3F;
}

.footer-grid {
  display: grid;
  padding-bottom: 50px;
  gap: 70px;
  grid-template-columns: 1.15fr 0.85fr 1fr;
}

.brand-footer { color: var(--paper); margin-bottom: 20px; }

.footer-grid p { margin-top: 20px; font-size: 0.75rem; line-height: 1.6; }

.footer-grid h2 {
  margin-bottom: 19px;
  color: var(--paper);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-grid > div > a:not(.brand) {
  display: block;
  margin-top: 10px;
  font-size: 0.71rem;
}

.footer-grid > div > a:hover,
.footer-grid > div > a:focus-visible { color: var(--paper); }

.footer-bottom {
  display: flex;
  padding-top: 22px;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.61rem;
}

/* ---------- ВИДЕО-БЛОКИ ---------- */
.outcome-layout {
  display: grid;
  align-items: center;
  gap: 70px;
  grid-template-columns: 0.8fr 1.2fr;
}

.outcome-photo--video { max-width: 380px; margin: 0 auto; width: 100%; }

.intro-invitation-video-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 9 / 16;
  background: var(--ocean-deep);
}

.intro-invitation-video { display: block; width: 100%; height: 100%; object-fit: cover; }

.intro-invitation-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 88%;
  padding: 0;
  color: var(--paper);
  background: none;
  border: 0;
  cursor: pointer;
  text-align: center;
}

.intro-invitation-play[hidden],
.intro-invitation-play.is-hidden { display: none; }

.intro-invitation-play-circle {
  display: grid;
  width: 78px; height: 78px;
  margin-bottom: 26px;
  place-items: center;
  flex-shrink: 0;
  background: var(--paper);
  border-radius: 50%;
  color: var(--ocean-deep);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  transition: transform 220ms ease;
}

.intro-invitation-play-circle svg { width: 22px; height: 22px; margin-left: 3px; fill: currentColor; }
.intro-invitation-play:hover .intro-invitation-play-circle { transform: scale(1.08); }

.intro-invitation-play-title {
  margin-bottom: 10px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 31px;
  font-weight: 500;
  line-height: 1.15;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.intro-invitation-play-meta {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.92;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.intro-invitation-caption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.outcome-list { margin-top: 38px; }

.outcome-list article {
  display: grid;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  gap: 20px;
  grid-template-columns: 48px 1fr;
}

.outcome-list article:last-child { border-bottom: 1px solid var(--line); }

.outcome-list strong {
  color: var(--gold);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.8rem;
  line-height: 1;
}

.outcome-list h3 { margin-bottom: 6px; font-size: 1.05rem; color: var(--ocean-deep); }
.outcome-list p { margin-bottom: 0; color: var(--muted); font-size: 0.82rem; }

.process-section { padding: 62px 0 70px; background: var(--ocean-deep); color: var(--paper); }

.process-eyebrow {
  margin: 0 0 36px;
  color: var(--gold-light);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-align: center;
  text-transform: uppercase;
}

.process-chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 0 16px;
}

.process-step {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(18px, 1.5vw, 24px);
  font-weight: 500;
  text-align: center;
}

.process-sep { display: flex; align-items: center; gap: 12px; align-self: stretch; }
.process-sep::before { content: ""; width: 1px; background: rgba(255, 255, 255, 0.25); }
.process-sep::after { content: "→"; color: rgba(255, 255, 255, 0.65); font-size: 14px; }

.film-strip { position: relative; overflow: hidden; height: min(92vh, 820px); background: var(--ocean-deep); }
.film-strip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.film-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 61, 92, 0.60), rgba(10, 61, 92, 0) 55%);
  pointer-events: none;
}

.film-strip-overlay {
  position: absolute;
  left: clamp(20px, 7vw, 120px);
  bottom: clamp(26px, 10vh, 92px);
  z-index: 2;
  max-width: 760px;
  color: var(--paper);
}

.film-strip-eyebrow {
  margin: 0 0 14px;
  color: var(--gold-light);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.film-strip-title { margin: 0; font-size: clamp(34px, 4.6vw, 62px); line-height: 1.12; text-shadow: 0 3px 22px rgba(0, 0, 0, 0.45); }

.sound-toggle {
  position: absolute;
  right: clamp(16px, 4vw, 64px);
  bottom: clamp(18px, 6vh, 52px);
  z-index: 2;
  padding: 0 0 7px;
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
  color: var(--paper);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.sound-toggle:hover { color: var(--gold-light); border-bottom-color: var(--gold-light); }

.video-stage {
  display: flex;
  justify-content: center;
  max-width: 1060px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sand-strong);
}

.video-stage video {
  display: block;
  height: min(78vh, 860px);
  max-width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: var(--ocean-deep);
}

/* ---------- SOCIAL RETENTION ---------- */
.social-retention-trigger {
  position: fixed;
  z-index: 42;
  left: 0;
  bottom: 18vh;
  width: 178px;
  min-height: 70px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-left: 0;
  border-radius: 0 24px 24px 0;
  background: var(--ocean-bright);
  color: var(--paper);
  box-shadow: 0 12px 42px rgba(10, 61, 92, 0.28);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
  transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease, background 0.25s ease;
}

.social-retention-trigger:hover { background: var(--ocean-mid); transform: translateX(4px); }

.social-retention-trigger-arrow {
  width: 27px; height: 27px;
  flex: 0 0 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-size: 15px;
  line-height: 1;
}

.social-retention-trigger-label { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.social-retention-trigger-label > span { display: block; white-space: nowrap; }

.social-retention-trigger.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-115%);
}

.social-retention {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.social-retention.is-open { opacity: 1; visibility: visible; pointer-events: auto; }

.social-retention-backdrop {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
  background: rgba(6, 42, 63, 0.70);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: default;
}

.social-retention-card {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  max-height: min(820px, 92vh);
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 28px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 35px 110px rgba(6, 42, 63, 0.40);
  transform: translateY(18px) scale(0.985);
  transition: transform 0.32s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.social-retention.is-open .social-retention-card { transform: translateY(0) scale(1); }

.social-retention-close {
  position: absolute;
  z-index: 3;
  top: 16px; right: 17px;
  width: 42px; height: 42px;
  border: 1px solid rgba(10, 61, 92, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}

.social-retention-copy {
  position: relative;
  min-height: 590px;
  padding: 54px 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--ocean-deep);
  color: #fff;
  overflow: hidden;
}

.social-retention-eyebrow {
  margin: 0 0 18px;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
  font-weight: 700;
}

.social-retention-copy h2 {
  max-width: 590px;
  margin: 0 0 20px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(34px, 3.6vw, 50px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.social-retention-copy > p:not(.social-retention-eyebrow) {
  max-width: 600px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.65;
}

.social-retention-actions {
  padding: 62px 42px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--paper);
}

.social-retention-label {
  margin: 0 0 24px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
}

.social-retention-socials { display: grid; grid-template-columns: 1fr; gap: 12px; }

.social-retention-social {
  min-height: 70px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.social-retention-social:hover {
  transform: translateY(-2px);
  border-color: rgba(27, 127, 140, 0.5);
  box-shadow: 0 10px 26px rgba(10, 61, 92, 0.10);
}

.social-retention-social.is-unconfigured { display: none; }

.social-retention-icon {
  width: 40px; height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--sand);
  color: var(--ocean-deep);
}

.social-retention-icon svg { width: 23px; height: 23px; display: block; fill: currentColor; }

.social-retention-social-copy { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.social-retention-social-copy strong { font-size: 13px; line-height: 1.2; }
.social-retention-social-copy small { font-size: 9.5px; line-height: 1.25; font-weight: 400; color: var(--muted); }

.social-retention-continue {
  align-self: flex-start;
  margin-top: 25px;
  padding: 0 0 6px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: none;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

/* ---------- АДАПТИВ ---------- */
@media (max-width: 1100px) {
  .desktop-nav { gap: 14px; }
  .desktop-nav a { font-size: 0.82rem; }
  .header-cta { display: none; }
  .place-layout, .faq-layout, .consultation-grid { gap: 48px; }
  .program-price-main, .program-includes { padding: 42px; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 74px; }
  .header-inner { min-height: 70px; }

  .menu-toggle {
    display: grid;
    width: 42px; height: 42px;
    margin-left: auto;
    padding: 10px;
    place-content: center;
    gap: 5px;
    color: inherit;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 50%;
    cursor: pointer;
  }

  .menu-toggle span { display: block; width: 18px; height: 2px; background: currentColor; }

  .desktop-nav { display: none; }

  .desktop-nav.is-open {
    display: flex;
    position: fixed;
    z-index: 49;
    top: 70px; right: 0; left: 0;
    max-height: calc(100vh - 70px);
    padding: 20px;
    flex-direction: column;
    gap: 0;
    color: var(--paper);
    background: var(--ocean-deep);
    overflow-y: auto;
  }

  .desktop-nav.is-open a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
  }

  .hero { min-height: auto; }
  .hero-content { display: block; min-height: auto; padding-top: 112px; padding-bottom: 64px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(10, 61, 92, 0.94), rgba(15, 90, 122, 0.70)); }
  .hero-image { background-position: 62% center; }

  .facts-grid { grid-template-columns: repeat(3, 1fr); }
  .facts-grid article:nth-child(4),
  .facts-grid article:nth-child(5) { border-top: 1px solid var(--line); }
  .facts-grid article:nth-child(4) { border-left: 1px solid var(--line); }

  .section { padding: 86px 0; }

  .need-grid, .program-grid, .expense-grid { grid-template-columns: 1fr; }

  .place-layout, .consultation-grid, .faq-layout { grid-template-columns: 1fr; }
  .sticky-heading { position: static; }

  .program-price-card { grid-template-columns: 1fr; }

  .outcome-layout { grid-template-columns: 1fr; gap: 40px; }
  .outcome-photo--video { max-width: 340px; }
  .intro-invitation-play-circle { width: 66px; height: 66px; margin-bottom: 20px; }
  .intro-invitation-play-title { font-size: 26px; }

  .process-section { padding: 46px 0 52px; }
  .process-eyebrow { margin-bottom: 24px; }
  .process-chain { flex-direction: column; gap: 10px; }
  .process-sep { align-self: center; }
  .process-sep::before { display: none; }
  .process-sep::after { content: "↓"; font-size: 16px; }

  .film-strip { height: auto; aspect-ratio: 9 / 16; }
  .film-strip-overlay { left: 20px; right: 20px; bottom: 64px; }
  .film-strip-title { font-size: clamp(28px, 8vw, 40px); }
  .sound-toggle { right: 20px; bottom: 20px; }

  .video-stage video { width: 100%; height: auto; }

  .social-retention { padding: 12px; align-items: end; }
  .social-retention-card {
    width: 100%;
    max-height: 94svh;
    grid-template-columns: 1fr;
    border-radius: 24px 24px 18px 18px;
  }
  .social-retention-copy { min-height: auto; padding: 40px 28px 34px; }
  .social-retention-copy h2 { font-size: clamp(30px, 8vw, 44px); }
  .social-retention-actions { padding: 31px 24px 28px; }
  .social-retention-close {
    position: fixed;
    top: max(22px, env(safe-area-inset-top));
    right: 22px;
    background: rgba(255, 255, 255, 0.96);
  }
  .social-retention-socials { grid-template-columns: 1fr 1fr; }

  .social-retention-trigger {
    position: static;
    width: 160px;
    min-height: 62px;
    margin: 18px 0 24px;
    font-size: 8px;
    border-radius: 0 21px 21px 0;
  }
}

@media (max-width: 620px) {
  body { font-size: 15px; }

  .container { width: min(calc(100% - 28px), var(--container)); }
  .brand-logo { width: 148px; }

  h1 { font-size: clamp(2.35rem, 11.2vw, 3.4rem); }
  h2 { font-size: clamp(2rem, 9vw, 2.8rem); }

  .hero h1 { margin-bottom: 26px; font-size: clamp(1.6rem, 6.6vw, 2.6rem); letter-spacing: -0.05em; }
  .hero-lead { margin-bottom: 28px; font-size: 0.94rem; line-height: 1.72; }
  .hero-actions { display: grid; width: 100%; }
  .hero-actions .button { width: 100%; }

  .hero-dates {
    width: 100%;
    margin-bottom: 30px;
    padding: 14px 15px;
    justify-content: space-between;
    gap: 10px;
    border-radius: 16px;
  }
  .hero-dates strong { font-size: 0.72rem; }
  .hero-dates span { font-size: 0.5rem; }
  .hero-dates i { height: 30px; }

  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .facts-grid article,
  .facts-grid article:first-child,
  .facts-grid article:nth-child(4) { border: 0; border-bottom: 1px solid var(--line); }
  .facts-grid article:nth-child(odd) { border-right: 1px solid var(--line); }
  .facts-grid article:last-child { grid-column: 1 / -1; }

  .section { padding: 72px 0; }
  .need-grid article { min-height: auto; }

  .program-card > div { padding: 22px; }
  .program-card h3 { font-size: 1.2rem; }

  .expense-card,
  .consultation-form { padding: 26px; }

  .place-gallery { grid-template-columns: 1fr; }
  .place-gallery .place-main, .place-gallery figure { height: 260px; min-height: 0; grid-column: auto; }

  .program-price-main, .program-includes { padding: 30px; }
  .price-value strong { font-size: 4.4rem; }
  .program-includes h3 { font-size: 1.9rem; }
  .expense-card h3 { font-size: 1.7rem; }

  .faq-list summary { padding-right: 46px; }
  .consultation { padding: 72px 0; }
  .form-heading h3 { font-size: 1.8rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 8px; }

  .outcome-photo--video { max-width: 300px; }
  .intro-invitation-play-circle { width: 58px; height: 58px; margin-bottom: 16px; }
  .intro-invitation-play-circle svg { width: 18px; height: 18px; }
  .intro-invitation-play-title { font-size: 22px; }
  .intro-invitation-play-meta { font-size: 0.58rem; }
  .outcome-list article { gap: 12px; grid-template-columns: 38px 1fr; }

  .social-retention { padding: 7px; }
  .social-retention-card { max-height: 95svh; border-radius: 20px 20px 14px 14px; }
  .social-retention-copy { padding: 37px 21px 27px; }
  .social-retention-copy h2 { margin-bottom: 17px; font-size: 32px; }
  .social-retention-actions { padding: 25px 18px 24px; }
  .social-retention-label { font-size: 19px; }
  .social-retention-socials { grid-template-columns: 1fr; }
  .social-retention-social { min-height: 58px; }
}

/* =========================================================
   ПАТЧ: блок ведущей + блок отзывов
   ========================================================= */

/* --- Ведущая ретрита --- */
.master-layout {
  display: grid;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  grid-template-columns: 0.85fr 1.15fr;
}

.master-photo {
  min-height: 560px;
  background: var(--sand-strong);
}

.master-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.master-copy {
  padding: 60px;
  align-self: center;
}

.master-copy .eyebrow { margin-bottom: 18px; }

.master-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 3.4vw, 3.4rem);
}

.master-lead {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.6;
}

.master-copy .check-list {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

/* --- Отзывы --- */
.reviews-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, 1fr);
}

.review-card {
  margin: 0;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  box-shadow: var(--shadow-soft);
}

.review-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  background: var(--sand-strong);
}

/* --- Адаптив --- */
@media (max-width: 900px) {
  .master-layout { grid-template-columns: 1fr; }
  .master-photo { min-height: 420px; }
  .master-copy { padding: 34px 26px; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .master-photo { min-height: 340px; }
  .master-copy { padding: 26px 22px; }
  .reviews-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   ПАТЧ: раннее бронирование + секция размещения
   ========================================================= */

/* --- Бронирование места (под блоком цены) --- */
.booking-note {
  display: grid;
  gap: 34px;
  align-items: center;
  grid-template-columns: 220px 1fr;
  margin-top: 26px;
  padding: 30px 36px;
  background: var(--sand);
  border: 1px solid var(--line);
  border-left: 3px solid var(--ocean-bright);
  border-radius: var(--radius-small);
}

.booking-note-label {
  color: var(--muted);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.booking-note p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  line-height: 1.45;
}

.booking-note strong { font-weight: 700; }

.booking-note-extra {
  max-width: 900px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: center;
}

/* --- Размещение --- */
.accommodation-grid {
  display: grid;
  align-items: stretch;
  gap: 20px;
  grid-template-columns: repeat(2, 1fr);
}

.accommodation-card {
  position: relative;
  padding: 42px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  box-shadow: var(--shadow-soft);
}

.accommodation-card-featured { border: 2px solid var(--ocean-bright); }

.accommodation-card > span {
  display: block;
  margin-bottom: 17px;
  color: #ffffff;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.accommodation-card h3 {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--ocean-deep);
}

.accommodation-price {
  display: inline-block;
  margin: 5px 0 13px;
  padding: 7px 12px;
  color: var(--ocean-deep);
  background: var(--sand);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.accommodation-price-alt {
  margin-left: 6px;
  color: var(--gold);
  background: var(--sand-strong);
}

.accommodation-card .check-list {
  min-height: 170px;
  color: var(--muted);
  font-size: 0.82rem;
}

.accommodation-card .check-list li { margin-top: 8px; }

.accommodation-exclude {
  margin: 22px 0;
  padding: 18px 20px;
  background: var(--sand);
  border-radius: 12px;
}

.accommodation-exclude h4 {
  margin: 0 0 10px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ocean-deep);
}

.accommodation-exclude ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.7;
}

.accommodation-card .text-link { margin-top: 6px; }

/* --- Примечание про сопровождающего --- */
.companion-note {
  display: grid;
  margin-top: 20px;
  padding: 28px 34px;
  align-items: center;
  gap: 30px;
  color: var(--paper);
  background: var(--ocean-deep);
  border-radius: var(--radius-small);
  grid-template-columns: 0.5fr 1.5fr;
}

.companion-note strong {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.6rem;
  line-height: 1.1;
}

.companion-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
}

/* --- Адаптив --- */
@media (max-width: 900px) {
  .accommodation-grid { grid-template-columns: 1fr; }
  .accommodation-card .check-list { min-height: auto; }
  .companion-note { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .booking-note {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px 20px;
  }
  .accommodation-card { padding: 26px; }
  .accommodation-card h3 { font-size: 1.7rem; }
  .popular {
    position: static;
    display: inline-block;
    margin: -26px 0 25px;
    border-radius: 0 0 10px 10px;
  }
  .companion-note { padding: 25px; gap: 12px; }
}

/* =========================================================
   ПАТЧ: размещение — 3 колонки, крупные цены, апгрейд
   ========================================================= */

.accommodation-grid {
  display: grid;
  align-items: stretch;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.accommodation-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  box-shadow: var(--shadow-soft);
}

.accommodation-card-featured { border: 2px solid var(--ocean-bright); }

.accommodation-tag {
  display: block;
  margin-bottom: 14px;
  color: var(--ocean-bright);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.accommodation-card h3 {
  margin-bottom: 18px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ocean-deep);
}

/* --- Цена крупно --- */
.accommodation-price {
  display: block;
  margin: 0 0 16px;
}

.accommodation-price strong {
  display: block;
  color: var(--ocean-deep);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(2.4rem, 3.2vw, 3.2rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

.accommodation-price small {
  display: block;
  margin-top: 8px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* --- Подпись про категорию и продление --- */
.accommodation-upgrade {
  margin: 0 0 20px;
  padding: 11px 14px;
  color: var(--ocean-deep);
  background: var(--sand);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.45;
}

.accommodation-upgrade::before {
  margin-right: 6px;
  color: var(--gold);
  content: "↑";
  font-weight: 800;
}

/* --- Списки --- */
.accommodation-card .check-list {
  min-height: 0;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.accommodation-card .check-list li { padding-left: 24px; }
.accommodation-card .check-list li + li { margin-top: 8px; }

/* --- Не включено --- */
.accommodation-exclude {
  margin: 0 0 18px;
  padding: 14px 16px;
  background: var(--sand);
  border-radius: 10px;
}

.accommodation-exclude h4 {
  margin: 0 0 8px;
  color: var(--ocean-deep);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.accommodation-exclude ul {
  margin: 0;
  padding-left: 16px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.55;
}

/* --- Кнопка прижата к низу карточки --- */
.accommodation-card .text-link {
  margin-top: auto;
  align-self: flex-start;
}

/* --- Бейдж «Популярный вариант» --- */
.popular {
  position: absolute;
  top: 0;
  right: 24px;
  padding: 7px 12px;
  color: var(--paper);
  background: var(--ocean-bright);
  border-radius: 0 0 10px 10px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --- Сжатие на средних экранах --- */
@media (max-width: 1100px) {
  .accommodation-card { padding: 28px 22px; }
  .accommodation-card h3 { font-size: 1.3rem; }
  .accommodation-price strong { font-size: 2.2rem; }
  .accommodation-card .check-list { font-size: 0.74rem; }
}

/* --- Одна колонка на планшете и ниже --- */
@media (max-width: 900px) {
  .accommodation-grid { grid-template-columns: 1fr; }
  .accommodation-card { padding: 30px 26px; }
  .accommodation-card h3 { font-size: 1.5rem; }
  .accommodation-price strong { font-size: 2.6rem; }
  .accommodation-card .check-list { font-size: 0.8rem; }
}

@media (max-width: 620px) {
  .popular {
    position: static;
    display: inline-block;
    margin: -30px 0 22px;
    border-radius: 0 0 10px 10px;
  }
  .accommodation-card { padding: 26px 20px; }
  .accommodation-price strong { font-size: 2.2rem; }
}

/* =========================================================
   ПАТЧ: блок авиаперелёта (виджет Aviasales)
   ========================================================= */

.flights-card {
  overflow: hidden;
  padding: 40px;
  background: var(--sand);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ocean-bright);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

/* --- Чипы с датами --- */
.flights-dates {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 28px;
  gap: 12px;
}

.flights-chip {
  display: grid;
  min-width: 150px;
  padding: 14px 18px;
  gap: 3px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
}

.flights-chip strong {
  color: var(--ocean-deep);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
}

.flights-chip span {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.flights-chip-alt {
  background: var(--ocean-deep);
  border-color: transparent;
}

.flights-chip-alt strong { color: var(--paper); }
.flights-chip-alt span { color: var(--gold-light); }

/* --- Контейнер виджета: белое «окно» в песочной рамке --- */
.flights-widget {
  overflow: hidden;
  min-height: 380px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  box-shadow: var(--shadow-soft);
}

.flights-widget iframe {
  display: block;
  width: 100%;
  border: 0;
}

.flights-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.flights-card .text-link { margin-top: 6px; }

/* --- Адаптив --- */
@media (max-width: 620px) {
  .flights-card { padding: 24px; }
  .flights-dates { gap: 8px; }
  .flights-chip { min-width: calc(50% - 4px); padding: 12px 14px; }
  .flights-chip strong { font-size: 0.92rem; }
  .flights-widget { min-height: 300px; }
}

/* =========================================================
   ПАТЧ: блок экскурсий по желанию
   ========================================================= */

.exc-head {
  display: grid;
  align-items: end;
  margin-bottom: 48px;
  gap: 40px;
  grid-template-columns: 1.1fr 0.9fr;
}

.exc-head h2 { margin-bottom: 0; }

.exc-lead {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* --- Карточки --- */
.exc-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  box-shadow: var(--shadow-soft);
}

.exc-card-photo { overflow: hidden; background: var(--sand-strong); }

.exc-card-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 500ms ease;
}

.exc-card:hover .exc-card-photo img { transform: scale(1.035); }

.exc-card-body { padding: 24px 26px 28px; }

.exc-card-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.exc-card-title h3 {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ocean-deep);
}

.exc-price {
  flex: 0 0 auto;
  color: var(--gold);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  white-space: nowrap;
}

.exc-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

/* --- Сетка 3 со ступенькой --- */
.exc-grid-3 {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, 1fr);
}

.exc-card-offset { margin-top: 44px; }

/* --- Сетка 2 крупные --- */
.exc-grid-2 {
  display: grid;
  margin-top: 22px;
  gap: 22px;
  grid-template-columns: repeat(2, 1fr);
}

.exc-card--big .exc-card-photo img { aspect-ratio: 3 / 2; }
.exc-card--big .exc-card-title h3 { font-size: 1.6rem; }
.exc-card--big .exc-card-body { padding: 26px 30px 30px; }

/* --- И ещё --- */
.exc-more { margin-top: 52px; }

.exc-more-label {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.exc-more-list {
  display: grid;
  padding: 0;
  margin: 0;
  gap: 0 40px;
  list-style: none;
  grid-template-columns: repeat(2, 1fr);
}

.exc-more-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.exc-more-list li span { color: var(--ink); font-size: 0.88rem; }

.exc-more-list li strong {
  color: var(--gold);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  white-space: nowrap;
}

/* --- Финал --- */
.exc-footer {
  display: grid;
  margin-top: 44px;
  padding-top: 32px;
  align-items: start;
  gap: 40px;
  border-top: 1px solid var(--line);
  grid-template-columns: 0.7fr 1.3fr;
}

.exc-footer-strong {
  margin: 0;
  color: var(--ocean-deep);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

.exc-footer-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.65;
}

/* --- Адаптив --- */
@media (max-width: 900px) {
  .exc-head { grid-template-columns: 1fr; gap: 20px; }
  .exc-grid-3 { grid-template-columns: 1fr; }
  .exc-card-offset { margin-top: 0; }
  .exc-grid-2 { grid-template-columns: 1fr; }
  .exc-more-list { grid-template-columns: 1fr; }
  .exc-footer { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 620px) {
  .exc-card-photo img { aspect-ratio: 4 / 3; }
  .exc-card--big .exc-card-photo img { aspect-ratio: 4 / 3; }
  .exc-card-title h3 { font-size: 1.25rem; }
  .exc-card--big .exc-card-title h3 { font-size: 1.35rem; }
  .exc-price { font-size: 1rem; }
  .exc-footer-strong { font-size: 1.1rem; }
}

/* =========================================================
   ПАТЧ: лайтбокс галереи места
   ========================================================= */

.place-gallery img { cursor: zoom-in; }

.place-lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: rgba(6, 42, 63, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.place-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lb-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: none;
  border: 0;
  cursor: zoom-out;
}

.lb-figure {
  position: relative;
  z-index: 1;
  display: grid;
  margin: 0;
  justify-items: center;
  gap: 16px;
  max-width: min(1240px, 94vw);
}

.lb-img {
  display: block;
  max-width: 94vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  background: var(--ocean-deep);
  border-radius: 16px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

.lb-caption {
  min-height: 1.4em;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-align: center;
}

.lb-counter {
  position: absolute;
  z-index: 2;
  top: 24px;
  left: 28px;
  color: var(--gold-light);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.lb-close {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 16px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.lb-close:hover { background: var(--ocean-bright); transform: rotate(90deg); }

.lb-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.lb-arrow:hover { background: var(--ocean-bright); }
.lb-arrow--prev { left: 18px; }
.lb-arrow--next { right: 18px; }
.lb-arrow:active { transform: translateY(-50%) scale(0.94); }

.lb-close:focus-visible,
.lb-arrow:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 3px;
}

@media (max-width: 620px) {
  .place-lightbox { padding: 10px; }
  .lb-img { max-height: 72vh; border-radius: 12px; }
  .lb-counter { top: 16px; left: 16px; }
  .lb-close { top: 10px; right: 10px; width: 42px; height: 42px; }
  .lb-arrow { width: 42px; height: 42px; font-size: 1.4rem; }
  .lb-arrow--prev { left: 8px; }
  .lb-arrow--next { right: 8px; }
  .lb-caption { font-size: 0.72rem; padding: 0 56px; }
}