/* =============================================================
   ЦПЗиР Fresh — main.css
   Структура: tokens → reset → base → layout → components → utils
   ============================================================= */

/* -------- 1. Design tokens ------------------------------------ */
:root {
  /* Цвета бренда */
  --c-blue: #2F5DA8;
  --c-blue-700: #244a85;
  --c-blue-50: #EAF4FB;
  --c-teal: #2FA7A0;
  --c-teal-700: #21807b;
  --c-green: #6FBF73;
  --c-green-700: #4d9e51;
  --c-ink: #16263A;
  --c-ink-soft: #475569;
  --c-mute: #7B8DA1;
  --c-line: #E1ECF4;
  --c-error: #B23A3A;
  --c-error-bg: #FBEEEE;
  --c-bg: #ffffff;
  --c-bg-soft: #F4F9FD;
  --c-bg-section: #EAF4FB;

  /* Градиенты */
  --grad-arc: linear-gradient(90deg, #2F5DA8 0%, #2FA7A0 55%, #6FBF73 100%);
  --grad-soft: linear-gradient(180deg, #EAF4FB 0%, #ffffff 100%);
  --grad-hero: radial-gradient(ellipse at 80% 0%, rgba(111, 191, 115, 0.18) 0%, transparent 55%),
               radial-gradient(ellipse at 0% 100%, rgba(47, 167, 160, 0.18) 0%, transparent 55%),
               linear-gradient(180deg, #EAF4FB 0%, #ffffff 100%);

  /* Типографика */
  --ff-display: 'Manrope', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ff-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fz-300: 0.875rem;
  --fz-400: 1rem;
  --fz-500: 1.125rem;
  --fz-600: 1.25rem;
  --fz-700: 1.5rem;
  --fz-800: 2rem;
  --fz-900: 2.75rem;
  --fz-display: clamp(2.25rem, 4.6vw, 4rem);
  --lh-tight: 1.1;
  --lh-normal: 1.55;

  /* Скругления */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Тени */
  --sh-sm: 0 1px 2px rgba(15, 35, 70, 0.06);
  --sh-md: 0 8px 24px rgba(15, 35, 70, 0.08);
  --sh-lg: 0 20px 60px rgba(15, 35, 70, 0.12);
  --sh-glow: 0 18px 60px rgba(47, 167, 160, 0.18);

  /* Сетка */
  --shell: 1320px;
  --shell-narrow: 920px;
  --gutter: clamp(20px, 4vw, 40px);

  /* Скорости */
  --t-fast: 0.18s ease;
  --t-mid: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

/* -------- 2. Reset / base ------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; max-width: 100%; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: var(--fz-400);
  line-height: var(--lh-normal);
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, picture { max-width: 100%; display: block; }
a { color: var(--c-blue); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--c-teal); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--c-teal);
  outline-offset: 3px;
  border-radius: 4px;
}
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 700;
  line-height: var(--lh-tight);
  margin: 0 0 0.5em;
  color: var(--c-ink);
  letter-spacing: -0.01em;
}
h1 { font-size: var(--fz-display); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: var(--fz-700); }
p { margin: 0 0 1em; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* -------- 3. Layout primitives -------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.shell-narrow {
  max-width: var(--shell-narrow);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section {
  padding: clamp(64px, 8vw, 120px) 0;
  position: relative;
}
.section-title-block {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-eyebrow {
  display: inline-block;
  font-family: var(--ff-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-teal);
  background: rgba(47, 167, 160, 0.08);
  padding: 8px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 18px;
}
.section-lead {
  font-size: var(--fz-500);
  color: var(--c-ink-soft);
  max-width: 60ch;
  margin: 0 auto;
}
.section--soft { background: var(--grad-soft); }
.section--mute { background: var(--c-bg-soft); }

/* -------- 4. Buttons ------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--r-pill);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--fz-400);
  letter-spacing: 0.01em;
  line-height: 1;
  transition: transform var(--t-fast), box-shadow var(--t-mid), background var(--t-mid), color var(--t-fast);
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn--primary {
  background: var(--grad-arc);
  color: #fff;
  box-shadow: var(--sh-glow);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 22px 60px rgba(47,167,160,0.28); color: #fff; }
.btn--ghost {
  background: rgba(255,255,255,0.7);
  color: var(--c-blue);
  border-color: var(--c-line);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--c-teal); color: var(--c-teal); transform: translateY(-2px); }
.btn--solid-blue {
  background: var(--c-blue);
  color: #fff;
}
.btn--solid-blue:hover { background: var(--c-blue-700); color: #fff; transform: translateY(-2px); }
.btn--icon { width: 48px; height: 48px; padding: 0; }

/* -------- 5. Header ------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: background var(--t-mid), border-color var(--t-mid), box-shadow var(--t-mid);
}
.site-header > .shell {
  max-width: none;
  padding-left: clamp(14px, 2vw, 28px);
  padding-right: clamp(14px, 2vw, 28px);
}
.site-header.is-stuck {
  background: rgba(255,255,255,0.95);
  border-bottom-color: var(--c-line);
  box-shadow: var(--sh-sm);
}
.site-header--grenada {
  background: rgba(242, 252, 250, 0.9);
  border-bottom-color: rgba(47, 167, 160, 0.2);
}
.site-header--grenada .btn--primary {
  background: linear-gradient(90deg, #2FA7A0 0%, #6FBF73 100%);
}
.site-header--selector .btn--primary {
  background: linear-gradient(90deg, #244a85 0%, #2F5DA8 100%);
}
.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  min-width: 0;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.site-logo svg, .site-logo img { height: 52px; width: auto; }
.primary-nav { flex: 1 1 auto; min-width: 0; margin-left: 8px; }
.primary-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: flex-start;
  flex-wrap: nowrap;
}
.primary-nav__list a {
  display: inline-block;
  padding: 10px 14px;
  border-radius: var(--r-pill);
  color: var(--c-ink);
  font-weight: 500;
  font-size: 0.97rem;
  white-space: nowrap;
  transition: background var(--t-fast), color var(--t-fast);
}
.primary-nav__list a:hover,
.primary-nav__list .current-menu-item > a {
  background: var(--c-blue-50);
  color: var(--c-blue);
}
.site-header__cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.site-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-line);
  background: rgba(255,255,255,0.86);
}
.site-switcher__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  font-family: var(--ff-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-ink-soft);
  white-space: nowrap;
  transition: color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.site-switcher__item.is-active {
  color: #fff;
  background: var(--grad-arc);
  box-shadow: 0 10px 26px rgba(47, 167, 160, 0.25);
}
.site-switcher__item:not(.is-active):hover {
  color: var(--c-blue);
  background: var(--c-blue-50);
}
button.site-switcher__item {
  border: 0;
  background: transparent;
  cursor: pointer;
}
.site-switcher__item--menu::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.site-switcher__menu { position: relative; }
.site-switcher__list {
  position: absolute;
  top: calc(100% - 2px);
  right: 0;
  z-index: 6;
  display: none;
  min-width: 220px;
  padding: 8px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--sh-md);
}
.site-switcher__list::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}
.site-switcher__menu.is-open .site-switcher__list,
.site-switcher__menu:focus-within .site-switcher__list { display: grid; }
@media (hover: hover) and (pointer: fine) {
  .site-switcher__menu:hover .site-switcher__list { display: grid; }
}
.site-switcher__list a {
  padding: 10px 14px;
  border-radius: 14px;
  color: var(--c-ink);
  font-family: var(--ff-display);
  font-weight: 700;
  white-space: nowrap;
}
.site-switcher__list a:hover,
.site-switcher__list a[aria-current="page"] {
  background: var(--c-blue-50);
  color: var(--c-blue);
}
.header-phones {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-phones__list {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.header-phone {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--c-ink);
  white-space: nowrap;
}
.header-phone:hover { color: var(--c-teal); }
.header-phone__icon {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--c-blue-50);
  color: var(--c-blue);
}
.header-phone__icon svg { width: 18px; height: 18px; }
.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--c-blue-50);
  color: var(--c-blue);
  align-items: center; justify-content: center;
}
.menu-toggle svg { width: 22px; height: 22px; }

/* -------- 6. Hero --------------------------------------------- */
.hero {
  position: relative;
  background: var(--grad-hero);
  padding: clamp(60px, 8vw, 110px) 0 clamp(80px, 10vw, 140px);
  overflow: hidden;
}
.hero--grenada {
  background: radial-gradient(ellipse at 80% 0%, rgba(111, 191, 115, 0.24) 0%, transparent 58%),
              radial-gradient(ellipse at 0% 100%, rgba(47, 167, 160, 0.24) 0%, transparent 58%),
              linear-gradient(180deg, #F1FBFA 0%, #ffffff 100%);
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}
.hero::before { width: 420px; height: 420px; background: rgba(47,167,160,0.4); top: -120px; right: -120px; }
.hero::after { width: 320px; height: 320px; background: rgba(111,191,115,0.35); bottom: -120px; left: -100px; }
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.hero__content > * { animation: cpzirRise 0.7s cubic-bezier(0.4,0,0.2,1) both; }
.hero__content > *:nth-child(1) { animation-delay: 0.05s; }
.hero__content > *:nth-child(2) { animation-delay: 0.15s; }
.hero__content > *:nth-child(3) { animation-delay: 0.25s; }
.hero__content > *:nth-child(4) { animation-delay: 0.35s; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  padding: 10px 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-line);
  font-family: var(--ff-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c-blue);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.hero__eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--c-green);
  box-shadow: 0 0 0 4px rgba(111,191,115,0.25);
}
.hero__title {
  font-size: var(--fz-display);
  margin-bottom: 24px;
  background: linear-gradient(120deg, #16263A 0%, #244a85 50%, #2FA7A0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__subtitle {
  font-size: var(--fz-500);
  color: var(--c-ink-soft);
  max-width: 32em;
  margin-bottom: 36px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.hero__visual {
  position: relative;
  aspect-ratio: 5 / 6;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--c-blue-50);
  box-shadow: var(--sh-lg);
}
.hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(47,93,168,0) 50%, rgba(22,38,58,0.45) 100%);
}
.hero__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  animation: cpzirFloat 14s ease-in-out infinite;
}
.hero__badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
}
.hero__badge-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--grad-arc);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
}
.hero__badge-icon svg { width: 24px; height: 24px; }
.hero__badge-title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--fz-500);
  color: var(--c-ink);
  margin-bottom: 2px;
}
.hero__badge-text { font-size: var(--fz-300); color: var(--c-ink-soft); }
.hero__metrics {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.hero__metric {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 22px;
}
.hero__metric-value {
  font-family: var(--ff-display);
  font-size: var(--fz-800);
  font-weight: 800;
  color: var(--c-blue);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.hero__metric-label { font-size: var(--fz-300); color: var(--c-ink-soft); }

/* -------- 7. About -------------------------------------------- */
.about {
  position: relative;
}
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.about__visual {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--c-blue-50);
  box-shadow: var(--sh-md);
}
.about__visual img { width:100%; height:100%; object-fit: cover; }
.about__sticker {
  position: absolute;
  bottom: 24px; right: 24px;
  background: rgba(255,255,255,0.95);
  border-radius: var(--r-lg);
  padding: 16px 20px;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--fz-300);
  color: var(--c-blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: var(--sh-md);
}
.about__title { margin-bottom: 24px; }
.about__title em {
  font-style: normal;
  background: var(--grad-arc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.about__lead {
  font-size: var(--fz-500);
  color: var(--c-ink-soft);
  margin-bottom: 28px;
}
.about__list {
  display: grid;
  gap: 18px;
}
.about__list-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.about__list-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--c-blue-50);
  color: var(--c-blue);
  display: inline-flex; align-items: center; justify-content: center;
}
.about__list-icon svg { width: 20px; height: 20px; }
.about__list-text strong {
  display: block;
  font-family: var(--ff-display);
  color: var(--c-ink);
  margin-bottom: 2px;
}

/* -------- 8. Services grid ------------------------------------ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform var(--t-mid), box-shadow var(--t-mid), border-color var(--t-mid);
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: auto -40px -60px auto;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(47,167,160,0.18), transparent 70%);
  transition: transform var(--t-slow);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: rgba(47,167,160,0.35);
}
.service-card:hover::before { transform: scale(1.4); }
.service-card__icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: var(--grad-arc);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.service-card__icon svg { width: 28px; height: 28px; }
.service-card__title {
  font-size: var(--fz-600);
  margin: 0;
}
.service-card__text {
  color: var(--c-ink-soft);
  font-size: var(--fz-400);
  margin: 0;
  flex-grow: 1;
}
.service-card__more {
  margin-top: 4px;
  font-family: var(--ff-display);
  font-weight: 600;
  color: var(--c-blue);
  display: inline-flex; align-items: center; gap: 8px;
}
.service-card__more::after { content: "→"; transition: transform var(--t-fast); }
.service-card:hover .service-card__more::after { transform: translateX(4px); }

/* -------- 9. Treatments --------------------------------------- */
.treatments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.treatment-card {
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background var(--t-mid), border-color var(--t-mid), transform var(--t-fast);
}
.treatment-card:hover {
  background: #fff;
  border-color: rgba(47,167,160,0.35);
  transform: translateY(-3px);
}
.treatment-card__icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: rgba(47,93,168,0.08);
  color: var(--c-blue);
  display: inline-flex; align-items: center; justify-content: center;
}
.treatment-card__icon svg { width: 24px; height: 24px; }
.treatment-card__title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--fz-500);
  color: var(--c-ink);
  margin: 0;
}
.treatment-card__text { font-size: var(--fz-300); color: var(--c-ink-soft); margin: 0; }

/* -------- Проживание ----------------------------------------- */
.stay-list { display: grid; gap: 20px; }
.stay {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-md);
  overflow: hidden;
}
.stay--plain { grid-template-columns: 1fr; }
.stay__photos {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--c-bg-section);
  overflow: hidden;
  touch-action: pan-y;
}
.stay__track {
  position: absolute;
  inset: 0;
  display: flex;
  transition: transform var(--t-mid);
}
.stay__photo {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.stay__nav {
  position: absolute;
  top: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--c-blue);
  box-shadow: var(--sh-md);
  cursor: pointer;
  transform: translateY(-50%);
}
.stay__nav--prev { left: 12px; }
.stay__nav--next { right: 12px; }
.stay__nav:hover { background: var(--c-teal); color: #fff; }
.stay__count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: rgba(22, 38, 58, 0.72);
  color: #fff;
  font-size: var(--fz-300);
  font-variant-numeric: tabular-nums;
}
.stay__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(20px, 3vw, 36px);
}
.stay__title { margin: 0; font-size: clamp(1.35rem, 2vw, 1.75rem); }
.stay__type {
  align-self: flex-start;
  margin: 0;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--c-bg-section);
  color: var(--c-blue);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--fz-300);
}
.stay__text { color: var(--c-ink-soft); font-size: var(--fz-400); }
.stay__text p { margin: 0 0 0.6em; }
.stay__text p:last-child { margin-bottom: 0; }
.stay__prices {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  margin: auto 0 0;
  padding-top: 8px;
}
.stay__prices div { display: grid; gap: 2px; }
.stay__prices dt { font-size: var(--fz-300); color: var(--c-mute); }
.stay__prices dd {
  margin: 0;
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: var(--fz-600);
  color: var(--c-ink);
}
.stay-note {
  margin: 18px 0 0;
  font-size: var(--fz-300);
  color: var(--c-ink-soft);
}
.meal-wrap { overflow-x: auto; }
.meal-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
}
.meal-table th,
.meal-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--c-line);
}
.meal-table tr:last-child td { border-bottom: 0; }
.meal-table th {
  background: var(--c-bg-soft);
  font-family: var(--ff-display);
  font-weight: 700;
}
.meal-table td:not(:first-child),
.meal-table th:not(:first-child) {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 720px) {
  .meal-table th,
  .meal-table td { padding: 10px 12px; }
  .meal-table th:not(:first-child) { white-space: normal; }
}
@media (max-width: 720px) {
  .stay { grid-template-columns: 1fr; }
  .stay__photos { aspect-ratio: 4 / 3; }
}

/* -------- 10. Advantages -------------------------------------- */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.advantage {
  text-align: left;
  padding: 28px;
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--c-line);
  position: relative;
  overflow: hidden;
}
.advantage__num {
  font-family: var(--ff-display);
  font-size: var(--fz-300);
  letter-spacing: 0.18em;
  color: var(--c-mute);
  margin-bottom: 18px;
}
.advantage__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--c-bg-section);
  color: var(--c-teal);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.advantage__icon svg { width: 28px; height: 28px; }
.advantage__title {
  font-size: var(--fz-600);
  margin: 0 0 8px;
}
.advantage__text { color: var(--c-ink-soft); margin: 0; }

/* -------- 11. Gallery ----------------------------------------- */
.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 130px;
  gap: 14px;
}
.gallery-mosaic__item {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  background: var(--c-blue-50);
  transition: transform var(--t-mid);
}
.gallery-mosaic__item:hover { transform: scale(1.02); }
.gallery-mosaic__item img { width:100%; height:100%; object-fit: cover; transition: transform var(--t-slow); }
.gallery-mosaic__item:hover img { transform: scale(1.06); }
.gallery-mosaic__item:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.gallery-mosaic__item:nth-child(2) { grid-column: span 2; grid-row: span 1; }
.gallery-mosaic__item:nth-child(3) { grid-column: span 2; grid-row: span 1; }
.gallery-mosaic__item:nth-child(4) { grid-column: span 2; grid-row: span 1; }
.gallery-mosaic__item:nth-child(5) { grid-column: span 2; grid-row: span 1; }
.gallery-mosaic__item:nth-child(6) { grid-column: span 2; grid-row: span 1; }
.album-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.album-grid a {
  display: block;
  background: #fff;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-sm);
}
.album-grid img { width: 100%; height: auto; display: block; }
.album-grid a { cursor: zoom-in; }
.album-grid a:hover { box-shadow: var(--sh-md); }
.album-grid a:focus-visible { outline: 2px solid var(--c-teal); outline-offset: 3px; }
.doc-viewer {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: #16263A;
  color: #fff;
}
.doc-viewer[hidden] { display: none; }
.doc-viewer__dialog {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.doc-viewer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  flex-shrink: 0;
}
.doc-viewer__tools {
  display: flex;
  align-items: center;
  gap: 8px;
}
.doc-viewer__count {
  margin: 0;
  font-family: var(--ff-display);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.doc-viewer__close,
.doc-viewer__tool,
.doc-viewer__nav {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--c-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--sh-md);
}
.doc-viewer__close svg,
.doc-viewer__tool svg,
.doc-viewer__nav svg { width: 22px; height: 22px; }
.doc-viewer__zoom {
  height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--c-ink);
  font-family: var(--ff-display);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  cursor: pointer;
  box-shadow: var(--sh-md);
}
.doc-viewer__close:hover,
.doc-viewer__tool:hover,
.doc-viewer__zoom:hover,
.doc-viewer__nav:hover { color: var(--c-teal); }
.doc-viewer__close:focus-visible,
.doc-viewer__tool:focus-visible,
.doc-viewer__zoom:focus-visible,
.doc-viewer__nav:focus-visible { outline: 2px solid var(--c-teal); outline-offset: 3px; }
.doc-viewer__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.doc-viewer__nav--prev { left: 16px; }
.doc-viewer__nav--next { right: 16px; }
.doc-viewer__stage {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 76px 20px;
}
.doc-viewer__stage.is-zoomed {
  overflow: auto;
  align-items: flex-start;
  justify-content: flex-start;
}
.doc-viewer__stage img {
  display: block;
  flex: none;
  max-width: none;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
}

/* -------- 12. Big CTA ----------------------------------------- */
.cta-block {
  position: relative;
  margin: 0 auto;
  border-radius: var(--r-xl);
  padding: clamp(56px, 7vw, 96px) clamp(28px, 5vw, 72px);
  background: linear-gradient(135deg, #2F5DA8 0%, #2FA7A0 60%, #6FBF73 110%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.cta-block::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 65%);
  z-index: -1;
}
.cta-block::after {
  content: "";
  position: absolute;
  inset: auto auto -45% -10%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 65%);
  z-index: -1;
}
.cta-block__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.cta-block__title {
  color: #fff;
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  margin: 0 0 16px;
}
.cta-block__text {
  color: rgba(255,255,255,0.85);
  font-size: var(--fz-500);
  margin: 0;
  max-width: 50ch;
}
.cta-block__actions {
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-end;
}
.cta-block .btn--primary {
  background: #fff;
  color: var(--c-blue);
  box-shadow: 0 12px 40px rgba(15,35,70,0.18);
}
.cta-block .btn--primary:hover { background: #fff; color: var(--c-teal); }
.cta-block .btn--ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
.cta-block .btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.1); }

/* -------- 13. Footer ------------------------------------------ */
.site-footer {
  background: #0F2540;
  color: rgba(255,255,255,0.75);
  padding: 80px 0 32px;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 0% 0%, rgba(47,167,160,0.15), transparent 50%),
              radial-gradient(ellipse at 100% 100%, rgba(111,191,115,0.12), transparent 50%);
  pointer-events: none;
}
.site-footer__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 56px;
}
.site-footer__brand .site-logo--big {
  background: #fff;
  border-radius: 18px;
  padding: 8px 12px;
}
.site-footer__brand .site-logo--big img { height: 84px; }
.site-footer__tagline {
  margin-top: 20px;
  color: rgba(255,255,255,0.7);
  max-width: 30em;
}
.site-footer__title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--fz-300);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0 0 18px;
}
.site-footer__list { display: grid; gap: 10px; }
.site-footer__list a {
  color: rgba(255,255,255,0.85);
  display: inline-flex; align-items: center; gap: 8px;
}
.site-footer__list a:hover { color: var(--c-green); }
.site-footer__contact-block { display: grid; gap: 18px; }
.site-footer__contact strong {
  display: block;
  font-family: var(--ff-display);
  font-size: var(--fz-300);
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.site-footer__contact a, .site-footer__contact span { color: #fff; font-size: var(--fz-500); }
.site-footer__bottom {
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: var(--fz-300);
  color: rgba(255,255,255,0.55);
}
.site-footer__bottom a { color: rgba(255,255,255,0.75); }
.site-footer__bottom a:hover { color: var(--c-green); }

/* -------- 14. Reveal animations ------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@keyframes cpzirRise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes cpzirFloat {
  0%, 100% { transform: scale(1.02) translateY(0); }
  50% { transform: scale(1.04) translateY(-8px); }
}

/* -------- 15. Mobile drawer ----------------------------------- */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(15, 37, 64, 0.6);
  backdrop-filter: blur(8px);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-mid), visibility var(--t-mid);
}
.mobile-drawer.is-open { opacity: 1; visibility: visible; }
.mobile-drawer__panel {
  position: absolute;
  top: 0; right: 0;
  height: 100%;
  width: min(360px, 92vw);
  background: #fff;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transform: translateX(100%);
  transition: transform var(--t-mid);
  overflow-y: auto;
}
.mobile-drawer.is-open .mobile-drawer__panel { transform: translateX(0); }
.mobile-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 16px; border-bottom: 1px solid var(--c-line);
}
.mobile-drawer__close {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--c-blue-50);
  color: var(--c-blue);
  display: inline-flex; align-items: center; justify-content: center;
}
.mobile-drawer__nav { display: grid; gap: 6px; }
.mobile-drawer__nav a {
  display: block; padding: 14px 16px;
  border-radius: var(--r-md);
  color: var(--c-ink);
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: var(--fz-500);
}
.mobile-drawer__nav a:hover { background: var(--c-blue-50); color: var(--c-blue); }
.mobile-drawer__contacts {
  margin-top: auto;
  display: grid; gap: 8px;
  border-top: 1px solid var(--c-line);
  padding-top: 20px;
}
.mobile-drawer__contacts a { font-family: var(--ff-display); font-weight: 600; color: var(--c-blue); }

/* -------- 16. WYSIWYG content (page/single) ------------------- */
.wysiwyg {
  font-size: var(--fz-500);
  color: var(--c-ink-soft);
}
.wysiwyg h2, .wysiwyg h3 { color: var(--c-ink); margin-top: 1.6em; }
.wysiwyg img { border-radius: var(--r-lg); margin: 24px 0; }
.wysiwyg ul, .wysiwyg ol { padding-left: 1.4em; margin: 0 0 1em; list-style: disc; }
.wysiwyg ol { list-style: decimal; }
.wysiwyg blockquote {
  margin: 24px 0;
  padding: 24px 28px;
  border-left: 4px solid var(--c-teal);
  background: var(--c-bg-soft);
  border-radius: var(--r-md);
  font-style: italic;
  color: var(--c-ink);
}
.wysiwyg a { color: var(--c-blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.wysiwyg a:hover { color: var(--c-teal); }

/* -------- Запись на лечение: форма CF7 ----------------------- */
.page-header__lead {
  max-width: 60ch;
  margin: 12px 0 0;
  font-size: var(--fz-500);
  color: var(--c-ink-soft);
}
.booking-section { padding-top: clamp(40px, 6vw, 72px); }
.booking {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.booking__card {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  padding: clamp(24px, 4vw, 44px);
}
.booking .wpcf7-form {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 16px;
  margin: 0;
}
.booking .wpcf7-form > * { grid-column: 1 / -1; margin: 0; }
.booking .wpcf7-form > p:nth-of-type(1),
.booking .wpcf7-form > p:nth-of-type(2) { grid-column: auto; }
.booking .hidden-fields-container { display: none; }
.booking .form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.booking .wpcf7-form > p > label {
  display: grid;
  gap: 8px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: var(--fz-300);
  color: var(--c-ink);
}
.booking .wpcf7-form label br { display: none; }
.booking .wpcf7-form-control-wrap { display: block; }
.booking input[type="text"],
.booking input[type="tel"],
.booking input[type="email"],
.booking textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid var(--c-mute);
  border-radius: var(--r-md);
  background: #fff;
  color: var(--c-ink);
  font-family: var(--ff-body);
  font-size: var(--fz-400);
  font-weight: 400;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.booking textarea { min-height: 128px; height: 128px; resize: vertical; line-height: var(--lh-normal); }
.booking input::placeholder,
.booking textarea::placeholder { color: var(--c-mute); opacity: 1; }
.booking input:hover,
.booking textarea:hover { border-color: var(--c-ink-soft); }
.booking input:focus,
.booking textarea:focus {
  outline: none;
  border-color: var(--c-teal);
  box-shadow: 0 0 0 4px rgba(47, 167, 160, 0.18);
}
.booking .wpcf7-form-control[aria-invalid="true"] { border-color: var(--c-error); }
.booking .wpcf7-form-control[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(178, 58, 58, 0.15); }
.booking .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: var(--fz-300);
  color: var(--c-error);
}
.booking .wpcf7-list-item { margin: 0; }
.booking .wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: var(--fz-300);
  line-height: 1.5;
  color: var(--c-ink-soft);
}
.booking .wpcf7-list-item input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--c-teal);
  cursor: pointer;
}
.booking .wpcf7-list-item a { color: var(--c-blue); text-decoration: underline; text-underline-offset: 3px; }
.booking .wpcf7-form > p:has(.wpcf7-submit) {
  display: flex;
  align-items: center;
  gap: 14px;
}
.booking .wpcf7-submit {
  min-height: 54px;
  padding: 0 32px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--grad-arc);
  color: #fff;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--fz-400);
  cursor: pointer;
  box-shadow: var(--sh-glow);
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.booking .wpcf7-submit:hover:not(:disabled) { transform: translateY(-2px); }
.booking .wpcf7-submit:focus-visible { outline: 2px solid var(--c-teal); outline-offset: 3px; }
.booking .wpcf7-submit:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; }
.booking .wpcf7-form.submitting .wpcf7-submit { opacity: 0.7; pointer-events: none; }
.booking .wpcf7-spinner { margin: 0; background-color: var(--c-teal); }
.booking .wpcf7 form .wpcf7-response-output {
  margin: 0;
  padding: 14px 18px;
  border: 0;
  border-radius: var(--r-md);
  font-size: var(--fz-300);
  background: var(--c-bg-soft);
  color: var(--c-ink);
}
.booking .wpcf7 form.init .wpcf7-response-output,
.booking .wpcf7 form.resetting .wpcf7-response-output,
.booking .wpcf7 form.submitting .wpcf7-response-output { display: none; }
.booking .wpcf7 form.invalid .wpcf7-response-output,
.booking .wpcf7 form.unaccepted .wpcf7-response-output,
.booking .wpcf7 form.spam .wpcf7-response-output,
.booking .wpcf7 form.failed .wpcf7-response-output,
.booking .wpcf7 form.aborted .wpcf7-response-output {
  background: var(--c-error-bg);
  color: var(--c-error);
}
.booking__done {
  display: grid;
  justify-items: start;
  gap: 14px;
  padding: 12px 0;
  outline: none;
}
.booking__done[hidden] { display: none; }
.booking__done-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(111, 191, 115, 0.18);
  color: var(--c-green-700);
}
.booking__done-title { margin: 6px 0 0; font-size: var(--fz-800); }
.booking__done-text { margin: 0 0 8px; max-width: 46ch; font-size: var(--fz-500); color: var(--c-ink-soft); }
.booking__done-text strong { color: var(--c-ink); white-space: nowrap; }
.booking__aside { padding-top: 8px; }
.booking__aside-title { font-size: var(--fz-700); margin: 0 0 16px; }
.booking__phones { display: grid; gap: 6px; margin: 0 0 32px; }
.booking__phones a {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--fz-600);
  color: var(--c-ink);
  font-variant-numeric: tabular-nums;
}
.booking__phones a:hover { color: var(--c-teal); }
.booking__facts { display: grid; gap: 18px; margin: 0; padding-top: 24px; border-top: 1px solid var(--c-line); }
.booking__facts dt { font-size: var(--fz-300); color: var(--c-mute); margin-bottom: 4px; }
.booking__facts dd { margin: 0; color: var(--c-ink); }
@media (max-width: 1024px) {
  .booking { grid-template-columns: 1fr; }
  .booking__aside { padding-top: 0; }
}
@media (max-width: 480px) {
  .booking .wpcf7-form { grid-template-columns: 1fr; }
  .booking .wpcf7-form > p:nth-of-type(1),
  .booking .wpcf7-form > p:nth-of-type(2) { grid-column: 1 / -1; }
  .booking .wpcf7-submit { width: 100%; }
  .booking .wpcf7-form > p:has(.wpcf7-submit) { flex-wrap: wrap; }
}

/* -------- 17. Page header (inner pages) ----------------------- */
.page-header {
  background: var(--grad-soft);
  padding: clamp(60px, 8vw, 110px) 0 clamp(40px, 6vw, 70px);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: -20% -20% auto auto;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,167,160,0.18), transparent 70%);
  z-index: 0;
}
.page-header__inner { position: relative; z-index: 1; }
.breadcrumbs {
  font-size: var(--fz-300);
  color: var(--c-mute);
  margin-bottom: 16px;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.breadcrumbs li { display: inline-flex; align-items: center; }
.breadcrumbs li + li::before {
  content: "·";
  margin: 0 0.45em;
}
.breadcrumbs a { color: var(--c-blue); }
.page-header--camp {
  padding-bottom: clamp(28px, 4vw, 48px);
}
.page-header--camp .section-eyebrow {
  margin-bottom: 10px;
}
.section--camp {
  padding-top: 0;
}
.camp-layout {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.camp-tabs {
  position: sticky;
  top: calc(var(--cpzir-header-h, 84px) + 16px);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}
.camp-tabs__link {
  display: block;
  padding: 12px 14px;
  border-radius: var(--r-md);
  color: var(--c-ink-soft);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--fz-300);
  line-height: 1.3;
  transition: background var(--t-fast), color var(--t-fast);
}
.camp-tabs__link:hover {
  background: var(--c-blue-50);
  color: var(--c-blue);
}
.camp-tabs__link.is-active {
  background: var(--grad-arc);
  color: #fff;
}
.camp-legal-content {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-sm);
  padding: clamp(20px, 3vw, 40px);
  font-size: var(--fz-400);
  line-height: 1.65;
  overflow-x: auto;
}
.camp-legal-content p { margin: 0 0 1em; }
.camp-legal-content > :first-child { margin-top: 0; }
.camp-legal-content strong { color: var(--c-ink); }
.camp-legal-content table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin: 24px 0;
}
.camp-legal-content th,
.camp-legal-content td {
  border: 1px solid var(--c-line);
  padding: 12px 14px;
  vertical-align: top;
}
.camp-legal-content th {
  background: var(--c-bg-soft);
  color: var(--c-ink);
  font-family: var(--ff-display);
  font-weight: 700;
}
.camp-legal-content h2, .camp-legal-content h3 {
  margin-top: 1.4em;
}
.camp-legal-note {
  margin: 18px 4px 0;
  color: var(--c-mute);
  font-size: var(--fz-300);
}

.promo {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: rgba(22, 38, 58, 0.55);
}
.promo[hidden] { display: none; }
.promo__dialog {
  position: relative;
  max-width: min(920px, 100%);
}
.promo__dialog img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100dvh - 48px);
  height: auto;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
}
.promo__close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--c-ink);
  cursor: pointer;
  box-shadow: var(--sh-sm);
}
.promo__close:hover { color: var(--c-teal); }

/* -------- 18. Responsive -------------------------------------- */
@media (max-width: 1440px) {
  .site-header__row { gap: 16px; }
  .primary-nav__list { gap: 2px; }
  .primary-nav__list a { padding: 8px 10px; font-size: 0.92rem; }
  .header-phone { font-size: 0.82rem; }
  .site-header__cta { gap: 12px; }
  .site-switcher__item { padding: 8px 11px; font-size: 0.82rem; }
}
@media (max-width: 1360px) {
  .primary-nav { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 1024px) {
  .hero__grid, .about__grid, .cta-block__inner { grid-template-columns: 1fr; }
  .hero__visual { aspect-ratio: 16 / 11; max-height: 460px; }
  .about__visual { aspect-ratio: 16 / 11; }
  .hero__metrics { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .gallery-mosaic { grid-template-columns: repeat(4, 1fr); }
  .gallery-mosaic__item:nth-child(n) { grid-column: span 2; grid-row: span 1; }
  .gallery-mosaic__item:nth-child(1) { grid-column: span 4; grid-row: span 2; }
  .album-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .header-phones__list { display: none; }
  .site-header__row { gap: 12px; padding: 14px 0; }
  .site-header__cta { gap: 8px; }
  .site-switcher { padding: 3px; }
  .site-switcher__item { padding: 8px 10px; font-size: 0.78rem; }
  .site-logo svg, .site-logo img { height: 44px; }
  .header-phone__icon { background: var(--grad-arc); color: #fff; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__metrics { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .gallery-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery-mosaic__item:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .gallery-mosaic__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .album-grid { grid-template-columns: 1fr; }
  .doc-viewer__nav--prev { left: 8px; }
  .doc-viewer__nav--next { right: 8px; }
  .doc-viewer__stage { padding: 4px 12px 28px; }
  .cta-block__actions { justify-content: flex-start; }
  .site-footer { padding-top: 56px; }
  .camp-layout { grid-template-columns: 1fr; gap: 16px; }
  .camp-tabs {
    position: sticky;
    top: var(--cpzir-header-h, 72px);
    z-index: 30;
    flex-direction: row;
    overflow-x: auto;
    border-radius: var(--r-pill);
    scrollbar-width: none;
  }
  .camp-tabs::-webkit-scrollbar { display: none; }
  .camp-tabs__link { white-space: nowrap; flex: 0 0 auto; }
}
@media (max-width: 480px) {
  .header-phones { display: none; }
  .site-switcher__item { padding: 8px 8px; font-size: 0.7rem; }
  .camp-legal-content th,
  .camp-legal-content td { padding: 10px; font-size: var(--fz-300); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .gate__door:hover .gate__photo,
  .gate__door:focus-visible .gate__photo { transform: none; }
}

/* -------- Разводящая: два фото на весь экран ----------------- */
.gate {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  height: 100dvh;
  padding: 10px;
  background: var(--c-bg-section);
}
.gate__brand {
  position: absolute;
  z-index: 2;
  top: 22px;
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 16px;
  padding: 6px 12px;
  box-shadow: var(--sh-md);
}
.gate__brand img { height: 48px; width: auto; }
.gate__door {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--r-xl);
  color: #fff;
}
.gate__door:hover,
.gate__door:focus-visible { color: #fff; }
.gate__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: var(--gate-pos, center);
  transform: scale(1.02);
  transition: transform var(--t-slow);
}
.gate__door::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22, 38, 58, 0.78) 0%, rgba(22, 38, 58, 0.18) 42%, rgba(22, 38, 58, 0) 68%);
}
.gate__door:hover .gate__photo,
.gate__door:focus-visible .gate__photo { transform: scale(1.06); }
.gate__copy {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: clamp(20px, 3vw, 36px);
}
.gate__title {
  display: block;
  margin: 0;
  color: #fff;
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3vw, 2.75rem);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
}
.gate__line {
  display: block;
  margin-top: 6px;
  font-size: var(--fz-500);
  color: rgba(255, 255, 255, 0.86);
}
.gate__go {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: var(--c-blue);
  transition: background var(--t-fast), color var(--t-fast);
}
.gate__door:hover .gate__go,
.gate__door:focus-visible .gate__go {
  background: var(--c-teal);
  color: #fff;
}
.gate__choices { display: grid; gap: 10px; }
.gate__choices a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 230px;
  min-height: 48px;
  padding: 10px 16px 10px 18px;
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--c-ink);
  font-family: var(--ff-display);
  font-weight: 700;
  box-shadow: var(--sh-md);
}
.gate__choices a::after { content: "→"; color: var(--c-teal); }
.gate__choices a:hover,
.gate__choices a:focus-visible { background: var(--c-teal); color: #fff; }
.gate__choices a:hover::after,
.gate__choices a:focus-visible::after { color: #fff; }
@media (max-width: 720px) {
  .gate { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .gate__brand { top: 16px; }
  .gate__brand img { height: 40px; }
  .gate__title { font-size: clamp(1.45rem, 6vw, 1.9rem); }
  .gate__go { width: 44px; height: 44px; }
  .gate__choices a { min-width: 0; }
  .gate__door:has(.gate__choices) .gate__copy { flex-direction: column; align-items: stretch; }
}
