/* ===================================================
   АҚСУ САНАТОРИЙ — главная страница
   Палитра: тёмно-синий #0f3552 + голубой #0ea5e9 + белый
   =================================================== */

/* ── Токены ─────────────────────────────────────── */
html:has(body.page-home) {
  scroll-behavior: auto;
}

.page-home {
  overflow-x: clip;
  --ink:        #0a1929;
  --ink-muted:  #5c7080;
  --blue:       #0f3552;
  --blue-mid:   #1a5a8a;
  --sky:        #0ea5e9;
  --sky-light:  #38bdf8;
  --sky-deep:   #0369a1;
  --aqua:       #e0f2fe;
  --bg:         #f0f8fd;
  --white:      #ffffff;
  --line:       rgba(15, 53, 82, 0.1);
  --line-sky:   rgba(14, 165, 233, 0.2);

  --r-sm:  12px;
  --r-md:  20px;
  --r-lg:  28px;
  --r-xl:  36px;

  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --sh-sm:   0 4px 16px rgba(10, 45, 74, 0.08);
  --sh-md:   0 12px 40px rgba(10, 45, 74, 0.12);
  --sh-lg:   0 24px 64px rgba(10, 45, 74, 0.14);
  --sh-blue: 0 8px 24px rgba(2, 132, 199, 0.28);

  --section: clamp(3.5rem, 7vw, 5.5rem);
  --section-head: clamp(2rem, 4vw, 2.75rem);
  --container: min(1140px, 100% - 2rem - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));

  --color-bg:  var(--bg);
  --color-text: var(--ink);

  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.page-home [id] { scroll-margin-top: calc(var(--header-h, 80px) + 1rem); }

/* ── Шапка ─────────────────────────────────────── */
.page-home .header--home {
  --header-h: 80px;
  position: sticky;
  top: 0;
  z-index: 100;
  overflow-x: clip;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(14, 165, 233, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 10px 40px rgba(15, 53, 82, 0.07);
  backdrop-filter: blur(10px) saturate(1.08);
  -webkit-backdrop-filter: blur(10px) saturate(1.08);
}

.page-home .header--home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 8%, var(--sky-light) 35%, var(--sky) 50%, var(--sky-light) 65%, transparent 92%);
  opacity: 0.85;
  pointer-events: none;
}

.page-home .header__inner {
  gap: 1.25rem;
  min-height: var(--header-h);
  min-width: 0;
}

.page-home .menu-toggle {
  display: none;
  flex-shrink: 0;
}

.page-home .header--home .logo.logo--home {
  display: inline-flex;
  flex-shrink: 0;
}

.page-home .header--home .logo__img {
  width: auto;
  height: 40px;
  max-width: min(160px, 42vw);
}

@media (min-width: 769px) {
  .page-home .header--home .logo__img {
    height: auto;
    width: 180px;
    max-width: 180px;
  }
}

.page-home .header__nav {
  padding: 0.3rem;
  border-radius: 999px;
  background: rgba(240, 248, 253, 0.92);
  border: 1px solid rgba(14, 165, 233, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.page-home .header__nav .nav__link {
  position: relative;
  padding: 0.5rem 0.8rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-muted);
  text-decoration: none;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.page-home .header__nav .nav__link:hover {
  color: var(--sky-deep);
  background: rgba(255, 255, 255, 0.88);
}

.page-home .header__nav .nav__link--active {
  color: #fff;
  background: linear-gradient(160deg, var(--sky) 0%, #0284c7 100%);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.28);
}

.page-home .header__nav .nav__link--active::after {
  display: none;
}

.page-home .header__actions {
  gap: 0.55rem;
  flex-shrink: 0;
  margin-left: auto;
}

.page-home .header__phone {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.85rem 0.35rem 0.35rem;
  text-decoration: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line-sky);
  box-shadow: var(--sh-sm);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.page-home .header__phone:hover {
  background: #fff;
  border-color: rgba(14, 165, 233, 0.35);
  box-shadow: 0 8px 22px rgba(14, 165, 233, 0.12);
  transform: translateY(-1px);
}

.page-home .header__phone-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  flex-shrink: 0;
  color: #fff;
  background: linear-gradient(160deg, var(--sky) 0%, #0284c7 100%);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.page-home .header__phone-icon svg {
  width: 16px;
  height: 16px;
}

.page-home .header__phone-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.05rem;
  line-height: 1.15;
}

.page-home .header__phone-label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.page-home .header__phone strong {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--blue);
  white-space: nowrap;
}

.page-home .header__phone:hover strong {
  color: var(--sky-deep);
}

.page-home .header__call {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(160deg, #f0f9ff 0%, #e0f2fe 100%);
  color: var(--sky-deep);
  border: 1px solid var(--line-sky);
  text-decoration: none;
  box-shadow: var(--sh-sm);
  transition: background 0.2s, transform 0.2s;
}

.page-home .header__call:hover {
  background: #bae6fd;
  transform: translateY(-1px);
}

.page-home .menu-toggle {
  background: #fff;
  border: 1px solid var(--line-sky);
  border-radius: 999px;
  box-shadow: var(--sh-sm);
}

.page-home .menu-toggle span {
  background: var(--sky-deep);
}


/* ── Кнопки ─────────────────────────────────────── */
.page-home .h-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

.page-home .h-btn:active {
  transform: translateY(1px) scale(0.984);
  transition-duration: 0.1s;
}

/* иконка-чип (общий) */
.page-home .h-btn__chip {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  flex-shrink: 0;
  transition:
    transform 0.4s var(--ease-spring),
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.page-home .h-btn__chip svg {
  width: 17px;
  height: 17px;
  stroke-width: 2;
  display: block;
}

.page-home .h-btn__label {
  position: relative;
  z-index: 2;
}

/* кнопка с иконкой — асимметричный padding */
.page-home .h-btn:has(> .h-btn__chip) {
  padding: 0.375rem 1.5rem 0.375rem 0.375rem;
  gap: 0.65rem;
}

/* ═══ PRIMARY — финальная версия ═══ */
.page-home .btn-primary,
.page-home .primary-btn:not(.primary-btn--invert) {
  overflow: hidden;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
  background: linear-gradient(
    168deg,
    #0e7fb8 0%,
    #2aabe8 38%,
    #5ec4f7 72%,
    #38bdf8 100%
  );
  box-shadow:
    0 4px 14px rgba(3, 105, 161, 0.22),
    0 8px 28px rgba(14, 165, 233, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(3, 105, 161, 0.2);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  animation: hx-primary-glow 5.5s ease-in-out infinite;
}

.page-home .btn-primary .h-btn__chip,
.page-home .primary-btn:not(.primary-btn--invert) .h-btn__chip {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 2px 6px rgba(3, 105, 161, 0.15);
}

.page-home .btn-primary .h-btn__label,
.page-home .primary-btn:not(.primary-btn--invert) .h-btn__label {
  font-weight: 650;
  letter-spacing: 0.015em;
  text-shadow: 0 1px 0 rgba(3, 105, 161, 0.2);
}

/* блик «вода» */
.page-home .btn-primary::before,
.page-home .primary-btn:not(.primary-btn--invert):not(.h-btn--swap)::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    transparent 28%,
    rgba(255, 255, 255, 0.42) 48%,
    transparent 68%
  );
  transform: translateX(-130%) skewX(-12deg);
  animation: hx-primary-sheen 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

/* верхний блик */
.page-home .btn-primary::after,
.page-home .primary-btn:not(.primary-btn--invert):not(.h-btn--swap)::after {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 48%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.page-home .btn-primary:hover,
.page-home .primary-btn:not(.primary-btn--invert):hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.58);
  background: linear-gradient(
    168deg,
    #1192cf 0%,
    #32b5ed 40%,
    #6ecbf8 75%,
    #7dd3fc 100%
  );
  box-shadow:
    0 8px 22px rgba(3, 105, 161, 0.28),
    0 14px 36px rgba(42, 171, 232, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.52);
  animation: none;
}

.page-home .btn-primary:hover .h-btn__chip,
.page-home .primary-btn:not(.primary-btn--invert):hover .h-btn__chip {
  transform: scale(1.06);
  background: rgba(255, 255, 255, 0.26);
  border-color: rgba(255, 255, 255, 0.45);
}

.page-home .btn-primary:active,
.page-home .primary-btn:not(.primary-btn--invert):active {
  transform: translateY(0) scale(0.986);
  box-shadow:
    0 2px 8px rgba(3, 105, 161, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

@keyframes hx-primary-sheen {
  0%,
  65% {
    transform: translateX(-130%) skewX(-12deg);
    opacity: 0;
  }
  72% {
    opacity: 0.4;
  }
  86% {
    transform: translateX(130%) skewX(-12deg);
    opacity: 0.5;
  }
  100% {
    opacity: 0;
  }
}

@keyframes hx-primary-glow {
  0%,
  100% {
    box-shadow:
      0 4px 14px rgba(3, 105, 161, 0.2),
      0 8px 28px rgba(14, 165, 233, 0.24),
      inset 0 1px 0 rgba(255, 255, 255, 0.45),
      inset 0 -1px 0 rgba(3, 105, 161, 0.2);
  }
  50% {
    box-shadow:
      0 6px 18px rgba(42, 171, 232, 0.26),
      0 12px 32px rgba(14, 165, 233, 0.32),
      inset 0 1px 0 rgba(255, 255, 255, 0.52),
      inset 0 -1px 0 rgba(3, 105, 161, 0.15);
  }
}

/* — PRIMARY-INVERT (на тёмном фоне) — */
.page-home .btn-primary-invert {
  color: var(--sky-deep);
  background: #fff;
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.page-home .btn-primary-invert .h-btn__chip { background: var(--aqua); color: var(--sky-deep); }
.page-home .btn-primary-invert:hover {
  transform: translateY(-2px);
  background: #f0f9ff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* — GHOST / OUTLINE ——————— */
.page-home .btn-ghost {
  color: var(--sky-deep);
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--line-sky);
  box-shadow: var(--sh-sm);
  backdrop-filter: blur(8px);
}
.page-home .btn-ghost .h-btn__chip { background: var(--aqua); color: var(--sky-deep); }
.page-home .btn-ghost:hover {
  transform: translateY(-2px);
  background: #fff;
  border-color: rgba(2, 132, 199, 0.5);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.14);
}

/* — GHOST-WA (WhatsApp) ——— */
.page-home .btn-wa {
  color: #065f46;
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: var(--sh-sm);
}
.page-home .btn-wa .h-btn__chip { background: rgba(209, 250, 229, 0.9); color: #059669; }
.page-home .btn-wa:hover {
  transform: translateY(-2px);
  background: #f0fdf4;
  border-color: rgba(16, 185, 129, 0.55);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.16);
}


/* кнопка в шапке — тот же стиль, компактнее */
.page-home .btn-primary--header,
.page-home .primary-btn--header {
  min-height: 44px;
  font-size: 0.875rem;
}
.page-home .btn-primary--header:has(> .h-btn__chip),
.page-home .primary-btn--header:has(> .h-btn__chip) {
  padding: 0.3rem 1.15rem 0.3rem 0.3rem;
}
.page-home .btn-primary--header .h-btn__chip,
.page-home .primary-btn--header .h-btn__chip {
  width: 30px;
  height: 30px;
}
.page-home .btn-primary--header .h-btn__chip svg,
.page-home .primary-btn--header .h-btn__chip svg {
  width: 15px;
  height: 15px;
}

/* широкая кнопка на всю ширину */
.page-home .h-btn--wide {
  width: 100%;
  justify-content: center;
}

/* фокус */
.page-home .h-btn:focus-visible {
  outline: 3px solid rgba(56, 189, 248, 0.6);
  outline-offset: 2px;
}

/* ── Reveal ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.reveal.is-inview { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  .page-home .btn-primary::before,
  .page-home .primary-btn:not(.primary-btn--invert)::before,
  .page-home .btn-primary,
  .page-home .primary-btn:not(.primary-btn--invert),
  .page-home .hx-hero__arc,
  .hx-water__ripple { animation: none; }
}

/* ── Общая обёртка секции ───────────────────────── */
.hx-section {
  padding-block: var(--section);
}

.hx-section--alt {
  background: linear-gradient(180deg, #fff 0%, #f5fbff 100%);
  border-block: 1px solid var(--line-sky);
}

.hx-section--overlap {
  padding-top: 0;
  margin-top: clamp(-1.25rem, -2vw, -0.75rem);
  position: relative;
  z-index: 3;
}

.hx-section--tight-bottom {
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.hx-section__head {
  margin-bottom: var(--section-head);
  text-align: left;
}

.hx-section__head--spaced {
  margin-top: clamp(2rem, 4vw, 2.75rem);
}

.hx-inner {
  max-width: 680px;
}

.hx-section__head .hx-desc {
  margin-left: 0;
  margin-right: 0;
}

.page-home .home-main > .hx-section:last-of-type {
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* надзаголовок */
.hx-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky-deep);
}
.hx-label::before {
  content: "";
  width: 20px; height: 2px;
  border-radius: 2px;
  background: currentColor;
  flex-shrink: 0;
}
.hx-label--white { color: rgba(255,255,255,0.7); }
.hx-label--white::before { background: rgba(255,255,255,0.5); }

/* заголовок секции */
.home-x h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 3.2vw, 2.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-align: left;
  text-wrap: balance;
}

.home-x h2 em {
  font-style: normal;
  color: var(--sky-deep);
}
.home-x h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hx-desc {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-muted);
}

/* ══════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════ */
.hx-hero {
  position: relative;
  padding: clamp(1.25rem, 2.5vw, 1.75rem) 0 clamp(3rem, 5vw, 4rem);
  overflow: hidden;
}

/* сетчатый mesh-градиент фона */
.hx-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at -5% -5%, rgba(56, 189, 248, 0.28) 0%, transparent 50%),
    radial-gradient(ellipse 55% 45% at 105% 25%, rgba(15, 53, 82, 0.1) 0%, transparent 48%),
    linear-gradient(180deg, #f4fbff 0%, var(--bg) 100%);
  pointer-events: none;
}

/* декоративные кольца */
.hx-hero__aura { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hx-hero__arc {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.5px);
}
.hx-hero__arc--1 {
  width: min(560px, 90vw); height: min(560px, 90vw);
  right: -8%; bottom: -38%;
  border: 2px solid transparent;
  border-top-color: rgba(56, 189, 248, 0.45);
  border-left-color: rgba(125, 211, 252, 0.28);
  animation: hx-arc-spin 22s linear infinite;
  opacity: 0.65;
}
.hx-hero__arc--2 {
  width: min(380px, 70vw); height: min(380px, 70vw);
  right: 10%; bottom: -15%;
  border: 2px solid transparent;
  border-top-color: rgba(125, 211, 252, 0.38);
  border-bottom-color: rgba(14, 165, 233, 0.2);
  animation: hx-arc-spin 16s linear infinite reverse;
  opacity: 0.45;
}
.hx-hero__arc--3 {
  width: min(220px, 50vw); height: min(220px, 50vw);
  right: 25%; bottom: 8%;
  border: 1.5px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 0 50px rgba(14, 165, 233, 0.2);
  animation: hx-arc-pulse 6s ease-in-out infinite;
  opacity: 0.5;
}
@keyframes hx-arc-spin   { to { transform: rotate(360deg); } }
@keyframes hx-arc-pulse  {
  0%,100% { transform: scale(1); opacity: 0.4; }
  50%     { transform: scale(1.07); opacity: 0.65; }
}

/* сетка hero */
.hx-hero__layout {
  position: relative;
  z-index: 2;
}

.hx-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(1.75rem, 3.5vw, 3rem);
  align-items: center;
}

.hx-hero__copy,
.hx-hero__visual {
  min-width: 0;
}

.hx-hero__below {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

/* лого в hero (только десктоп) */
.hx-hero__logo {
  display: none;
  margin-bottom: 1.5rem;
  line-height: 0;
}
.hx-hero__logo img {
  width: min(200px, 72vw);
  height: auto;
}

.hx-hero__location {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky-deep);
}

.hx-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.hx-hero__chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--sky-deep);
  background: rgba(224, 242, 254, 0.9);
  border: 1px solid rgba(14, 165, 233, 0.2);
}

.hx-hero__chips li svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: var(--sky);
}

.hx-hero__tagline {
  margin: 0.55rem 0 0;
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
}

/* заголовок */
.hx-hero .hx-title {
  margin: 0;
  font-size: clamp(1.85rem, 3.2vw + 0.5rem, 2.75rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.04em;
  color: var(--blue);
  font-family: "Lora", "Times New Roman", serif;
  text-wrap: balance;
}
.hx-hero .hx-title em {
  font-style: normal;
  color: var(--sky);
}

.hx-hero .hx-lead {
  margin: 0.7rem 0 0;
  max-width: 36rem;
  font-size: clamp(1rem, 1.7vw, 1.125rem);
  line-height: 1.72;
  color: var(--ink-muted);
}

/* кнопки в hero */
.hx-hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hx-hero__cta .h-btn {
  flex: 0 1 auto;
}
.hx-hero__note {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: 1 1 100%;
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}
.hx-hero__note::before {
  content: "";
  flex-shrink: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

/* якорные ссылки */
.hx-hero__below .hx-anchors {
  margin-top: 1rem;
}

.hx-anchors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.hx-anchors a {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--blue-mid);
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--line-sky);
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.hx-anchors a:hover {
  color: var(--sky-deep);
  background: #fff;
  border-color: rgba(2, 132, 199, 0.4);
  transform: translateY(-1px);
}

/* три преимущества в hero */
.hx-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hx-pillar {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1rem;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: var(--sh-sm);
  backdrop-filter: blur(12px);
}
.hx-pillar__icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #e0f2fe 0%, #bae6fd 100%);
  border: 1px solid rgba(14, 165, 233, 0.18);
  color: var(--sky-deep);
}
.hx-pillar__icon svg { width: 19px; height: 19px; stroke-width: 1.9; }
.hx-pillar__text {
  min-width: 0;
}

.hx-pillar__text strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.01em;
}

.hx-pillar__text span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.8125rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

/* фото в hero */
.hx-hero__visual { position: relative; isolation: isolate; }
.hx-hero__visual::after {
  content: "";
  position: absolute;
  inset: -5% -8% -5% 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.16) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}
.hx-hero__frame {
  position: relative;
  margin: 0;
  aspect-ratio: 5 / 4;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  border: 1px solid rgba(255,255,255,0.6);
  background: #e8f4fc;
}

.hx-hero__frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 68% center;
}

/* бейдж */
.hx-hero__badge {
  position: absolute;
  left: 1.1rem;
  bottom: 1.1rem;
  top: auto;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.95rem;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(255,255,255,0.8);
  backdrop-filter: blur(16px);
  box-shadow: var(--sh-md);
}
.hx-hero__badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  line-height: 0;
  background: linear-gradient(145deg, var(--aqua), #bae6fd);
  color: var(--sky-deep);
}

.hx-hero__badge-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}
.hx-hero__badge strong {
  display: block;
  font-size: 0.84rem; font-weight: 800;
  color: var(--ink); letter-spacing: -0.01em;
}
.hx-hero__badge > div span {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.7rem; color: var(--ink-muted);
}

/* ══════════════════════════════════════════════════
   ЧИСЛА / ФАКТЫ (новый блок)
══════════════════════════════════════════════════ */
.hx-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-md);
  border: 1px solid var(--line-sky);
  background: var(--white);
}
.hx-fact {
  padding: 1.75rem 1.5rem;
  border-right: 1px solid var(--line-sky);
  position: relative;
}
.hx-fact:last-child { border-right: none; }
.hx-fact::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sky), transparent);
}
.hx-fact__num {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.hx-fact__num span {
  font-size: 0.55em;
  color: var(--sky);
  vertical-align: super;
  margin-left: 1px;
}
.hx-fact__label {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-muted);
  line-height: 1.4;
}

/* ══════════════════════════════════════════════════
   КАК ЗАПИСАТЬСЯ — шаги
══════════════════════════════════════════════════ */
.hx-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  counter-reset: step;
  position: relative;
}
.hx-steps::after {
  content: "";
  position: absolute;
  top: 2.35rem;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-sky) 25%, var(--line-sky) 75%, transparent);
  pointer-events: none;
}
.hx-step {
  position: relative;
  padding: 1.6rem 1.4rem 1.4rem;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line-sky);
  box-shadow: var(--sh-sm);
  counter-increment: step;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.hx-step:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.hx-step__num {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 14px;
  margin-bottom: 1rem;
  font-size: 1rem; font-weight: 900;
  color: #fff;
  background: linear-gradient(145deg, var(--sky) 0%, #0284c7 100%);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.3);
}
.hx-step__num::before { content: counter(step); }
.hx-step h3 { margin: 0; font-size: 1.0625rem; font-weight: 800; }
.hx-step p  { margin: 0.5rem 0 0; font-size: 0.9rem; color: var(--ink-muted); line-height: 1.6; }

/* ══════════════════════════════════════════════════
   TRUST-BAR
══════════════════════════════════════════════════ */
.hx-trustbar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line-sky);
  box-shadow: var(--sh-sm);
}
.hx-trustbar__item {
  padding: 1.2rem 1.4rem;
  position: relative;
}
.hx-trustbar__item:not(:last-child) {
  border-right: 1px solid var(--line-sky);
}
.hx-trustbar__item strong {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--blue);
}
.hx-trustbar__item strong::before {
  content: "";
  flex-shrink: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sky);
}
.hx-trustbar__item span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

/* ══════════════════════════════════════════════════
   КАРТОЧКИ УСЛУГ
══════════════════════════════════════════════════ */
.hx-cards {
  display: grid;
  gap: 1rem;
}
.hx-cards--3 { grid-template-columns: repeat(3, 1fr); }
.hx-cards--6 {
  grid-template-columns: repeat(3, 1fr);
}
.hx-card {
  padding: 1.4rem 1.3rem 1.3rem;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line-sky);
  box-shadow: var(--sh-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.25s;
}
.hx-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-md);
  border-color: rgba(2, 132, 199, 0.28);
}
.hx-card__icon {
  width: 50px; height: 50px;
  border-radius: 16px;
  display: grid; place-items: center;
  color: var(--sky-deep);
  background: linear-gradient(145deg, var(--aqua) 0%, #bae6fd 100%);
  border: 1px solid rgba(14, 165, 233, 0.18);
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.14);
  transition: transform 0.3s var(--ease-spring);
}
.hx-card:hover .hx-card__icon { transform: scale(1.08) rotate(-3deg); }
.hx-card__icon svg { width: 22px; height: 22px; stroke-width: 1.75; }
.hx-card h3 { margin: 0.85rem 0 0; font-size: 1rem; font-weight: 800; }
.hx-card p  { margin: 0.4rem 0 0; font-size: 0.9rem; color: var(--ink-muted); line-height: 1.55; }

/* ══════════════════════════════════════════════════
   ПУТЁВКИ — ключевой блок
══════════════════════════════════════════════════ */
.hx-section--packs {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 8vw, 6rem);
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(56, 189, 248, 0.14) 0%, transparent 58%),
    radial-gradient(ellipse 45% 40% at 100% 80%, rgba(15, 53, 82, 0.06) 0%, transparent 55%),
    linear-gradient(180deg, #fff 0%, #f0f9ff 48%, #e8f4fc 100%);
  border-block: 1px solid var(--line-sky);
}

.hx-packs__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hx-packs__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(14, 165, 233, 0.14);
}

.hx-packs__ring--1 {
  width: min(520px, 90vw);
  height: min(520px, 90vw);
  top: -28%;
  right: -12%;
  opacity: 0.7;
}

.hx-packs__ring--2 {
  width: min(320px, 60vw);
  height: min(320px, 60vw);
  bottom: -18%;
  left: -8%;
  border-color: rgba(14, 165, 233, 0.1);
}

.hx-packs__wrap {
  position: relative;
  z-index: 1;
}

.hx-packs__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.55rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.hx-packs__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem 0.45rem 0.45rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--blue-mid);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line-sky);
  box-shadow: var(--sh-sm);
}

.hx-packs__trust-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  flex-shrink: 0;
  color: var(--sky-deep);
  background: linear-gradient(145deg, #e0f2fe, #bae6fd);
}

.hx-packs__trust-icon svg {
  width: 14px;
  height: 14px;
}

/* сетка карточек — столбик до широкого десктопа */
.hx-packs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 40rem;
  margin-inline: auto;
  align-items: stretch;
}

.hx-pack {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border-radius: calc(var(--r-xl) + 4px);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.hx-pack__header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hx-pack__duration {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 5.25rem;
  height: 5.25rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 10px 28px rgba(0, 0, 0, 0.12);
}

.hx-pack__days {
  font-size: 2.35rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
}

.hx-pack__days-label {
  margin-top: 0.15rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}

.hx-pack__title-wrap {
  min-width: 0;
  padding-top: 0.15rem;
}

.hx-pack__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.72;
}

.hx-pack h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hx-pack__lead {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
}

.hx-pack__feats {
  display: grid;
  gap: 0.55rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  flex: 1;
}

.hx-pack__feats li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  line-height: 1.45;
}

.hx-pack__feat-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(145deg, rgba(56, 189, 248, 0.95), #0284c7);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.28);
}

.hx-pack__feat-icon svg {
  width: 17px;
  height: 17px;
}

.hx-pack__foot {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

/* — карточка 10 дней (featured) — */
.hx-pack--featured {
  color: rgba(255, 255, 255, 0.94);
  background: linear-gradient(160deg, #0c2d47 0%, #0f3552 45%, #1a5a8a 100%);
  border: 1px solid rgba(125, 211, 252, 0.22);
  box-shadow: 0 20px 50px rgba(8, 28, 48, 0.22);
}

.hx-pack--featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(8, 28, 48, 0.28);
}

.hx-pack__header--featured {
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hx-pack__badge {
  align-self: flex-start;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a2840;
  background: linear-gradient(90deg, #fde68a, #fbbf24);
}

.hx-pack__intro {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
}

.hx-pack__days-line {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
}

.hx-pack__days-big {
  font-size: clamp(3rem, 6vw, 3.75rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  color: #fff;
}

.hx-pack__days-text {
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.hx-pack--featured .hx-pack__title-wrap {
  padding-top: 0;
  min-width: 0;
}

.hx-pack--featured h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.35rem, 2.2vw, 1.6rem);
  line-height: 1.2;
}

.hx-pack--featured .hx-pack__lead {
  margin: 0.6rem 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  line-height: 1.6;
}

.hx-pack--featured .hx-pack__feats li {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* — карточка 7 дней — */
.hx-pack--lite {
  overflow: hidden;
  background:
    linear-gradient(180deg, #fff 0%, #f8fcff 100%);
  border: 1px solid var(--line-sky);
  box-shadow: var(--sh-md);
}

.hx-pack--lite::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--sky), var(--sky-light), #7dd3fc);
}

.hx-pack--lite:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-lg);
  border-color: rgba(2, 132, 199, 0.35);
}

.hx-pack__watermark {
  position: absolute;
  right: -0.15rem;
  bottom: -1.5rem;
  font-size: clamp(7rem, 14vw, 9.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(14, 165, 233, 0.07);
  pointer-events: none;
  user-select: none;
}

.hx-pack--lite .hx-pack__duration {
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 18px;
  color: var(--sky-deep);
  background: linear-gradient(145deg, #e0f2fe 0%, #bae6fd 100%);
  border: 1px solid rgba(14, 165, 233, 0.22);
  box-shadow: 0 8px 22px rgba(14, 165, 233, 0.16);
}

.hx-pack--lite .hx-pack__days {
  font-size: 2rem;
  color: var(--blue);
}

.hx-pack--lite .hx-pack__days-label {
  color: var(--sky-deep);
  opacity: 1;
}

.hx-pack--lite .hx-pack__kicker {
  color: var(--sky-deep);
  opacity: 1;
}

.hx-pack--lite h3 {
  color: var(--ink);
}

.hx-pack--lite .hx-pack__lead {
  color: var(--ink-muted);
}

.hx-pack--lite .hx-pack__feats li {
  background: rgba(240, 248, 253, 0.9);
  border: 1px solid rgba(14, 165, 233, 0.12);
}

.hx-pack__feat-icon--lite {
  color: var(--sky-deep);
  background: #fff;
  border: 1px solid var(--line-sky);
  box-shadow: var(--sh-sm);
}

.hx-pack--lite .hx-pack__foot {
  border-top-color: var(--line-sky);
}

.hx-packs__note {
  margin: clamp(1.75rem, 3vw, 2.25rem) 0 0;
  max-width: 36rem;
  text-align: left;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink-muted);
}

/* legacy list (другие блоки) */
.hx-list {
  margin: 1.1rem 0 1.5rem;
  padding: 0;
  list-style: none;
  flex: 1;
}
.hx-list li {
  position: relative;
  padding-left: 1.35rem;
  margin: 0.45rem 0;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.hx-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.6em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sky);
}

/* ══════════════════════════════════════════════════
   МИНЕРАЛЬНЫЕ ВОДЫ
══════════════════════════════════════════════════ */
.hx-water {
  position: relative;
  min-height: clamp(520px, 62vh, 640px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hx-water::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.45), transparent);
}

.hx-water__bg {
  position: absolute;
  inset: 0;
}

.hx-water__bg img {
  width: 100%;
  height: 100%;
  display: block;
}

.hx-water__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 15% 50%, rgba(8, 28, 48, 0.92) 0%, transparent 58%),
    radial-gradient(ellipse 55% 60% at 85% 40%, rgba(14, 165, 233, 0.22) 0%, transparent 55%),
    linear-gradient(90deg, rgba(8, 28, 48, 0.94) 0%, rgba(10, 38, 62, 0.78) 48%, rgba(8, 28, 48, 0.35) 100%),
    linear-gradient(0deg, rgba(8, 28, 48, 0.5) 0%, transparent 45%);
}

.hx-water__aura {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hx-water__ripple {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(125, 211, 252, 0.22);
  opacity: 0.5;
}

.hx-water__ripple--1 {
  width: min(420px, 70vw);
  height: min(420px, 70vw);
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  animation: hx-water-pulse 7s ease-in-out infinite;
}

.hx-water__ripple--2 {
  width: min(300px, 55vw);
  height: min(300px, 55vw);
  right: 14%;
  top: 50%;
  transform: translateY(-50%);
  animation: hx-water-pulse 7s ease-in-out 1.2s infinite;
}

.hx-water__ripple--3 {
  width: min(180px, 40vw);
  height: min(180px, 40vw);
  right: 20%;
  top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, transparent 70%);
  border-color: rgba(56, 189, 248, 0.35);
  animation: hx-water-pulse 5s ease-in-out 0.6s infinite;
}

@keyframes hx-water-pulse {
  0%,
  100% {
    transform: translateY(-50%) scale(1);
    opacity: 0.35;
  }
  50% {
    transform: translateY(-50%) scale(1.06);
    opacity: 0.65;
  }
}

.hx-water__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
  padding: var(--section) 0;
  color: #fff;
}

.hx-water__copy {
  max-width: 36rem;
}

.hx-water__inner h2 {
  margin: 0;
  max-width: 22ch;
  color: #fff;
  text-wrap: balance;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hx-water__lead {
  margin: 1rem 0 0;
  max-width: 32rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.8);
}

.hx-water__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
}

.hx-water__tags li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem 0.45rem 0.45rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.hx-water__tag-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  flex-shrink: 0;
  color: var(--sky-light);
  background: rgba(14, 165, 233, 0.18);
}

.hx-water__tag-icon svg {
  width: 14px;
  height: 14px;
}

.hx-water__aside {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.hx-water__photo {
  position: relative;
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  min-height: 100%;
}

.hx-water__photo img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hx-water__photo figcaption {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line-sky);
}

.hx-water__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.35rem;
  border-radius: var(--r-xl);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.06) 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  overflow: hidden;
}

.hx-water__panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
}

.hx-water__panel-title {
  margin: 0 0 1rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.hx-water__stats {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
}

.hx-water__stat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hx-water__stat-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex-shrink: 0;
  color: #fff;
  background: linear-gradient(160deg, #f97316 0%, #ea580c 100%);
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.35);
}

.hx-water__stat-icon--warm {
  background: linear-gradient(160deg, #38bdf8 0%, #0284c7 100%);
  box-shadow: 0 6px 16px rgba(14, 165, 233, 0.35);
}

.hx-water__stat-icon svg {
  width: 18px;
  height: 18px;
}

.hx-water__stat-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hx-water__stat-text strong {
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}

.hx-water__stat-text span {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.72);
}

.hx-water .btn-ghost {
  margin-top: auto;
  background: #fff;
  border-color: rgba(255, 255, 255, 0.9);
  color: #075985;
}

.hx-water .btn-ghost:hover {
  background: #f0f9ff;
  color: var(--blue);
  border-color: #fff;
}

/* Фото на главной: без пустых полей */
.page-home .hx-water__bg img {
  object-fit: cover;
  object-position: center;
}

/* ══════════════════════════════════════════════════
   ГАЛЕРЕЯ
══════════════════════════════════════════════════ */
.hx-gallery__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-bottom: var(--section-head);
}

.hx-gallery__head-copy {
  flex: 1 1 auto;
  min-width: min(100%, 16rem);
  text-align: left;
}

.hx-gallery__head h2 {
  margin: 0;
  text-align: left;
}

.hx-gallery__head .h-btn {
  flex-shrink: 0;
}

/* 3 колонки: верхний ряд 3 фото, низ — 1 + широкое */
.hx-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.hx-shot {
  position: relative;
  margin: 0;
  min-width: 0;
  width: 100%;
  align-self: start;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-sky);
  background: var(--white);
  box-shadow: var(--sh-sm);
}

.hx-shot--wide {
  grid-column: span 2;
}

.hx-shot__link {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  line-height: 0;
  font-size: 0;
  color: inherit;
  text-decoration: none;
  cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
  background: #e8f4fc;
}

.hx-shot--wide .hx-shot__link {
  aspect-ratio: 16 / 9;
}

.hx-shot__link:focus-visible {
  outline: 3px solid rgba(56, 189, 248, 0.65);
  outline-offset: 2px;
}

.hx-shot__link img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s var(--ease);
}

/* lightGallery не должен ломать превью в сетке */
#hx-gallery .hx-shot__link img {
  height: 100% !important;
  width: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

.hx-shot__zoom {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  color: var(--sky-deep);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line-sky);
  box-shadow: var(--sh-sm);
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.25s ease, transform 0.25s var(--ease-spring);
  pointer-events: none;
}

.hx-shot__zoom svg {
  width: 18px;
  height: 18px;
}

.hx-shot:hover .hx-shot__zoom,
.hx-shot__link:focus-visible .hx-shot__zoom {
  opacity: 1;
  transform: scale(1);
}

.hx-shot__link:hover img,
.hx-shot__link:focus-visible img {
  transform: scale(1.04);
}

.hx-shot__link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 28, 48, 0.35) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}

.hx-shot__link:hover::after,
.hx-shot__link:focus-visible::after {
  opacity: 1;
}

.hx-shot figcaption {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  z-index: 3;
  pointer-events: none;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line-sky);
  box-shadow: var(--sh-sm);
}

/* ══════════════════════════════════════════════════
   ОТЗЫВ (новый блок)
══════════════════════════════════════════════════ */
.hx-review {
  padding: 2.5rem 2rem;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, #0f3552 0%, #1a5a8a 100%);
  color: rgba(255,255,255,0.9);
  position: relative;
  overflow: hidden;
  box-shadow: var(--sh-lg);
}
.hx-review::before {
  content: "\201C";
  position: absolute;
  top: -0.5rem; left: 1.5rem;
  font-size: 8rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: rgba(255,255,255,0.08);
  pointer-events: none;
}
.hx-review__text {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.75;
  color: rgba(255,255,255,0.92);
  font-style: italic;
  margin: 0 0 1.5rem;
  position: relative;
  z-index: 1;
}
.hx-review__author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  position: relative;
  z-index: 1;
}
.hx-review__avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  display: grid; place-items: center;
  font-size: 1.25rem;
  color: rgba(255,255,255,0.9);
  flex-shrink: 0;
}
.hx-review__name {
  display: block;
  font-weight: 700;
  color: #fff;
  font-size: 0.9375rem;
}
.hx-review__meta {
  display: block;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.1rem;
}
.hx-review__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
}
.hx-review__stars svg {
  width: 18px; height: 18px;
  fill: #f59e0b;
  color: #f59e0b;
}

/* ══════════════════════════════════════════════════
   FAQ
══════════════════════════════════════════════════ */
.hx-faq {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

.hx-faq .hx-section__head {
  margin-bottom: 0;
}
.hx-qa { display: grid; gap: 0.6rem; }
.hx-q {
  border-radius: var(--r-md);
  border: 1px solid var(--line-sky);
  background: var(--white);
  overflow: hidden;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.hx-q[open] {
  border-color: rgba(2, 132, 199, 0.3);
  box-shadow: var(--sh-sm);
}
.hx-q summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.05rem 1.15rem;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--ink);
  user-select: none;
}
.hx-q summary::-webkit-details-marker { display: none; }
.hx-q__icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 9px;
  display: grid; place-items: center;
  background: var(--aqua);
  color: var(--sky-deep);
  transition: transform 0.3s var(--ease), background 0.2s;
}
.hx-q__icon svg { width: 14px; height: 14px; stroke-width: 2.5; transition: transform 0.3s var(--ease); }
.hx-q[open] .hx-q__icon { background: #bae6fd; }
.hx-q[open] .hx-q__icon svg { transform: rotate(45deg); }
.hx-a {
  padding: 0 1.15rem 1.05rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ink-muted);
}

/* ══════════════════════════════════════════════════
   CTA
══════════════════════════════════════════════════ */
.hx-cta {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 4vw, 2.75rem);
  border-radius: var(--r-xl);
  background:
    radial-gradient(ellipse 80% 70% at 0% 100%, rgba(14, 165, 233, 0.1) 0%, transparent 55%),
    var(--white);
  border: 1px solid var(--line-sky);
  box-shadow: var(--sh-md);
  overflow: hidden;
}
.hx-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.4), transparent 40%, rgba(14, 165, 233, 0.15));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.hx-cta h2 {
  margin: 0 0 0.5rem;
  text-align: left;
  text-wrap: balance;
}
.hx-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ══════════════════════════════════════════════════
   ПОДВАЛ (единый блок)
══════════════════════════════════════════════════ */
.hx-site-footer {
  position: relative;
  margin-top: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(14, 165, 233, 0.14) 0%, transparent 55%),
    linear-gradient(180deg, #0b2438 0%, #0d2d45 38%, #0a1f32 100%);
  color: rgba(255, 255, 255, 0.82);
}

.hx-site-footer__glow {
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 70%;
  background: radial-gradient(ellipse at 50% 100%, rgba(14, 165, 233, 0.18) 0%, transparent 62%);
  pointer-events: none;
}

.hx-site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(56, 189, 248, 0.55) 50%, transparent 100%);
  opacity: 0.9;
}

/* — CTA-полоса — */
.hx-footer-strip {
  position: relative;
  z-index: 1;
  padding: clamp(2.25rem, 5vw, 3rem) 0;
}

.hx-footer-strip__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) auto;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
  padding-bottom: clamp(2rem, 4vw, 2.75rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hx-footer-strip__copy {
  min-width: 0;
}

.hx-footer-strip .h-btn {
  flex-shrink: 0;
}

.hx-footer-strip__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky-light);
}

.hx-footer-strip__title {
  margin: 0;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.hx-footer-strip__lead {
  margin: 0.65rem 0 0;
  max-width: 32rem;
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.68);
}

/* — основной подвал — */
.page-home .hx-footer.footer {
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding: clamp(2.25rem, 4vw, 3rem) 0 1.5rem;
  background: transparent;
  border-top: none;
}

.page-home .hx-footer__grid {
  grid-template-columns: 1.4fr 0.85fr 1.15fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  margin-bottom: clamp(1.75rem, 3vw, 2.25rem);
}

.page-home .hx-footer__logo {
  display: inline-flex;
  margin-bottom: 1.1rem;
  filter: drop-shadow(0 4px 18px rgba(14, 165, 233, 0.22));
}

.page-home .hx-footer__logo .logo__img {
  width: min(200px, 58vw);
  height: auto;
}

.page-home .hx-footer__desc {
  margin: 0;
  max-width: 26rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.68);
}

.page-home .hx-footer__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.15rem;
}

.page-home .hx-footer__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.page-home .hx-footer__title {
  position: relative;
  margin: 0 0 1.1rem;
  padding-bottom: 0.65rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.page-home .hx-footer__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--sky-light), transparent);
}

.page-home .hx-footer__links {
  display: grid;
  gap: 0.55rem;
}

.page-home .hx-footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.page-home .hx-footer__links a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.45);
  transition: background 0.2s ease, transform 0.2s ease;
}

.page-home .hx-footer__links a:hover {
  color: #fff;
  transform: translateX(2px);
}

.page-home .hx-footer__links a:hover::before {
  background: var(--sky-light);
  transform: scale(1.2);
}

.page-home .hx-footer__contacts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.page-home .hx-footer__contact {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-home a.hx-footer__contact:hover {
  color: #fff;
}

.page-home a.hx-footer__contact:hover .hx-footer__icon {
  background: rgba(14, 165, 233, 0.22);
  border-color: rgba(56, 189, 248, 0.45);
}

.page-home .hx-footer__contact--static {
  color: rgba(255, 255, 255, 0.68);
}

.page-home .hx-footer__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: var(--sky-light);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.page-home .hx-footer__icon svg {
  width: 17px;
  height: 17px;
}

.page-home .hx-footer__icon--wa {
  color: #25d366;
}


.page-home .hx-footer__contact-text {
  padding-top: 0.45rem;
}

.page-home .hx-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.page-home .hx-footer__copy,
.page-home .hx-footer__note {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.page-home .hx-footer__copy {
  color: rgba(255, 255, 255, 0.48);
}

.page-home .hx-footer__note {
  color: rgba(255, 255, 255, 0.38);
  font-weight: 500;
}

/* ══════════════════════════════════════════════════
   МОДАЛЬНОЕ ОКНО
══════════════════════════════════════════════════ */
.home-modal {
  position: fixed;
  inset: 0;
  z-index: 700;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.home-modal--open {
  pointer-events: auto;
  opacity: 1;
}

.home-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 22, 38, 0.6);
  backdrop-filter: blur(5px);
}

.home-modal__dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(440px, calc(100% - 1.25rem));
  max-height: calc(100dvh - 1.5rem - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--line-sky);
  box-shadow: 0 32px 80px rgba(8, 22, 38, 0.25);
  outline: none;
}

body.home-modal-open {
  overflow: hidden;
}

body.home-modal-open .header--home {
  padding-right: var(--scrollbar-gap, 0);
}

.home-modal__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  padding: 1.1rem 1.15rem 0.85rem;
  border-bottom: 1px solid var(--line-sky);
}

.home-modal__head-copy {
  min-width: 0;
  flex: 1 1 auto;
  padding-right: 0.25rem;
}

.home-modal__kicker {
  margin: 0 0 0.25rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky-deep);
  line-height: 1.2;
}

.home-modal__title {
  margin: 0;
  font-size: 1.2rem;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.25;
  min-height: 1.5rem;
}

.home-modal__close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-sky);
  background: var(--bg);
  cursor: pointer;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: var(--ink-muted);
  transition: background 0.2s, color 0.2s;
}

.home-modal__close:hover { background: var(--aqua); color: var(--sky-deep); }

.home-modal__form {
  flex: 1 1 auto;
  min-height: 0;
  padding: 1rem 1.15rem 0.85rem;
}

.home-modal__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.home-modal__field {
  min-width: 0;
}

.home-modal__label {
  display: block;
  margin: 0 0 0.3rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
}

.home-modal__req {
  color: #e02020;
}

.home-modal__input,
.home-modal__textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--line-sky);
  background: var(--bg);
  font: inherit;
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.home-modal__input:focus,
.home-modal__textarea:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
  background: var(--white);
}

.home-modal__textarea {
  resize: none;
  min-height: 4.25rem;
  margin-bottom: 0.75rem;
}

.home-modal__submit {
  width: 100%;
}

.home-modal__hint {
  margin: 0.65rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  text-align: center;
  color: var(--ink-muted);
}

.home-modal__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.6rem;
  flex-shrink: 0;
  padding: 0.85rem 1.15rem 1.1rem;
  border-top: 1px solid var(--line-sky);
  background: var(--bg);
  text-align: center;
}

.home-modal__foot-label {
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.home-modal__phone {
  font-weight: 800;
  font-size: 0.9375rem;
  color: var(--blue);
  text-decoration: none;
}

.home-modal__phone:hover {
  color: var(--sky-deep);
}

/* ── Промо-модалка (консультация) ───────────────── */
.home-promo-modal__dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(600px, calc(100% - 1.5rem));
  max-height: calc(100dvh - 1rem - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--white);
  border: none;
  box-shadow:
    0 24px 64px rgba(8, 22, 38, 0.2),
    0 0 0 1px rgba(14, 165, 233, 0.07);
  outline: none;
}

body.home-modal-open.has-tabbar .home-promo-modal__dialog {
  max-height: calc(
    100dvh - var(--tabbar-h) - env(safe-area-inset-bottom, 0px) - 0.75rem
  );
}

.home-promo-modal__close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 3;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-color: rgba(14, 165, 233, 0.12);
  box-shadow: 0 4px 14px rgba(8, 22, 38, 0.08);
}

.home-promo-modal__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  align-items: stretch;
  min-height: 0;
  flex: 1 1 auto;
}

.home-promo-modal__body {
  order: 1;
  padding: 1.3rem 1.2rem 1.15rem;
  overflow-y: auto;
  min-width: 0;
}

.home-promo-modal__visual {
  order: 2;
  position: relative;
  margin: 0;
  overflow: hidden;
  min-height: 320px;
  background: linear-gradient(165deg, #e0f2fe 0%, #bae6fd 100%);
}

.home-promo-modal__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0%, transparent 28%);
  pointer-events: none;
}

.home-promo-modal__visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: 72% 18%;
}

.home-promo-modal__visual-tag {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  right: 0.75rem;
  margin: 0;
  padding: 0.38rem 0.65rem;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  color: var(--sky-deep);
  background: rgba(255, 255, 255, 0.92);
  border: none;
  box-shadow: 0 4px 14px rgba(8, 22, 38, 0.1);
}

.home-promo-modal__lead {
  margin: 0.45rem 0 1rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

.home-promo-modal__form {
  display: grid;
  gap: 0.65rem;
}

.home-promo-modal__field {
  min-width: 0;
}

.home-promo-modal__submit {
  width: 100%;
  margin-top: 0.15rem;
}

.home-promo-modal__body .home-modal__hint {
  text-align: left;
  margin-top: 0.55rem;
}

@media (max-width: 768px) {
  .home-promo-modal__dialog {
    width: calc(100% - 1rem);
    max-height: calc(
      100dvh - var(--tabbar-h) - env(safe-area-inset-bottom, 0px) - 0.5rem
    );
  }

  .home-promo-modal__layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .home-promo-modal__visual {
    order: 1;
    flex-shrink: 0;
    width: 100%;
    height: 232px;
    min-height: 232px;
    max-height: none;
  }

  .home-promo-modal__visual img {
    width: 100%;
    height: 232px;
    min-height: 232px;
    object-fit: cover;
    object-position: 62% 20%;
  }

  .home-promo-modal__visual::after {
    background: linear-gradient(180deg, transparent 62%, rgba(255, 255, 255, 0.1) 100%);
  }

  .home-promo-modal__body {
    order: 2;
    padding: 1rem 1rem 1.15rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .home-promo-modal__close {
    top: 0.55rem;
    right: 0.55rem;
  }
}

@media (max-width: 390px) {
  .home-promo-modal__visual,
  .home-promo-modal__visual img {
    height: 210px;
    min-height: 210px;
  }

  .home-promo-modal__lead {
    margin-bottom: 0.85rem;
    font-size: 0.84rem;
  }
}

/* ══════════════════════════════════════════════════
   ТАББАР — переливание центральной кнопки
══════════════════════════════════════════════════ */
.page-home .tabbar__item--active { color: var(--sky-deep); }
.page-home .tabbar__item--active .tabbar__icon {
  background: linear-gradient(180deg, #e0f2fe 0%, rgba(186,230,253,0.5) 100%);
  color: var(--sky-deep);
}
.page-home .tabbar__item--center .tabbar__label { color: var(--sky-deep); }
.page-home .tabbar__item--center .tabbar__icon--center {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(125deg, #0ea5e9 0%, #38bdf8 30%, #7dd3fc 48%, #38bdf8 65%, #0284c7 100%);
  background-size: 240% 240%;
  animation: hx-center-flow 6s ease-in-out infinite;
}
.page-home .tabbar__item--center .tabbar__icon--center::before {
  content: "";
  position: absolute; inset: -4px;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 28%, rgba(255,255,255,0.5) 48%, transparent 68%);
  transform: translateX(-120%) skewX(-14deg);
  animation: hx-center-sheen 7.5s ease-in-out infinite;
  pointer-events: none; z-index: 0;
}
.page-home .tabbar__item--center .tabbar__icon--center::after {
  content: "";
  position: absolute;
  top: 0; left: 12%; right: 12%; height: 40%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.38) 0%, transparent 100%);
  pointer-events: none; z-index: 0;
}
.page-home .tabbar__item--center .tabbar__icon--center svg { position: relative; z-index: 1; }
@keyframes hx-center-flow {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}
@keyframes hx-center-sheen {
  0%,62%  { transform: translateX(-120%) skewX(-14deg); opacity: 0; }
  70%     { opacity: 0.42; }
  86%     { transform: translateX(120%) skewX(-14deg); opacity: 0.55; }
  100%    { opacity: 0; }
}

/* ══════════════════════════════════════════════════
   STICKY CTA — скрыт (используем таббар)
══════════════════════════════════════════════════ */
.hx-sticky-cta { display: none !important; }

/* lightGallery — под стиль сайта */
.lg-backdrop {
  background-color: rgba(8, 22, 38, 0.94);
}

.lg-toolbar,
.lg-thumb-outer {
  background: linear-gradient(180deg, rgba(8, 28, 48, 0.55) 0%, transparent 100%);
}

.lg-sub-html {
  background: linear-gradient(0deg, rgba(8, 28, 48, 0.75) 0%, transparent 100%);
}

.lg-sub-html h4 {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.lg-icon,
.lg-counter {
  color: rgba(255, 255, 255, 0.92);
}

.lg-thumb-item.active,
.lg-thumb-item:hover {
  border-color: var(--sky-light);
}

/* ══════════════════════════════════════════════════
   АДАПТИВ
══════════════════════════════════════════════════ */

/* Планшет — факты 2×2, карточки 2 колонки */
@media (max-width: 1024px) and (min-width: 769px) {
  .hx-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hx-fact {
    border-right: none;
    border-bottom: 1px solid var(--line-sky);
  }

  .hx-fact:nth-child(odd) {
    border-right: 1px solid var(--line-sky);
  }

  .hx-fact:nth-child(n + 3) {
    border-bottom: none;
  }
}

@media (max-width: 900px) {
  .hx-footer-strip__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hx-footer-strip__lead {
    margin-inline: auto;
  }

  .hx-footer-strip .h-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Узкий десктоп / планшет — уплотняем шапку */
@media (max-width: 1100px) {
  .page-home .header--home .logo__img {
    width: 148px;
    max-width: 148px;
  }

  .page-home .header__nav .nav__link {
    padding: 0.45rem 0.6rem;
    font-size: 0.8125rem;
  }

  .page-home .header__phone-text {
    display: none;
  }

  .page-home .header__phone {
    width: 42px;
    height: 42px;
    padding: 0;
    justify-content: center;
  }

  .page-home .btn-primary--header .h-btn__label {
    display: none;
  }

  .page-home .btn-primary--header,
  .page-home .btn-primary--header:has(> .h-btn__chip) {
    min-width: 44px;
    min-height: 44px;
    padding: 0.3rem;
    justify-content: center;
  }
}

/* ~1000px и уже — нав не влезает, бургер + иконки */
@media (max-width: 1024px) {
  .page-home .header__inner {
    gap: 0.65rem;
  }

  .page-home .header__nav {
    display: none !important;
  }

  .page-home .menu-toggle {
    display: flex !important;
  }
}

@media (max-width: 768px) {
  .page-home .header--home {
    --header-h: 64px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #fff;
  }

  .reveal {
    transform: none;
    transition: opacity 0.32s ease;
  }

  .hx-hero__arc,
  .hx-water__ripple {
    animation: none !important;
  }

  .hx-water__panel {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .page-home .header__phone { display: none; }
  .page-home .header__call { display: flex; }
  .page-home .header__nav { display: none !important; }
  .page-home .menu-toggle { display: none !important; }

  .hx-section--overlap {
    margin-top: 0;
    padding-top: 0.5rem;
  }

  .hx-hero {
    padding-bottom: 2.5rem;
  }

  .hx-hero__grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .hx-hero__visual {
    order: -1;
  }

  .hx-hero__frame {
    aspect-ratio: 4 / 3;
  }

  .hx-hero__frame img {
    object-position: 62% center;
  }

  .hx-hero__badge {
    left: 0.75rem;
    bottom: 0.75rem;
    top: auto;
    max-width: calc(100% - 1.5rem);
    padding: 0.55rem 0.75rem;
  }

  .hx-hero__badge strong {
    font-size: 0.78rem;
  }

  .hx-gallery {
    grid-template-columns: 1fr;
  }

  .hx-shot--wide {
    grid-column: span 1;
  }

  .hx-shot--wide .hx-shot__link {
    aspect-ratio: 4 / 3;
  }

  .hx-gallery__head {
    flex-direction: column;
    align-items: stretch;
  }

  .hx-gallery__head .h-btn {
    width: 100%;
    justify-content: center;
  }

  .hx-shot__zoom {
    opacity: 0.9;
    transform: scale(1);
  }

  .page-home .btn-primary--header .h-btn__label,
  .page-home .primary-btn--header .h-btn__label { display: none; }
  .page-home .btn-primary--header,
  .page-home .primary-btn--header,
  .page-home .btn-primary--header:has(> .h-btn__chip),
  .page-home .primary-btn--header:has(> .h-btn__chip) {
    min-width: 44px;
    padding: 0.3rem;
    justify-content: center;
  }

  .hx-hero__logo { display: none; }
  .hx-hero__aura { opacity: 0.4; }
  .hx-hero .hx-title { font-size: clamp(1.65rem, 6.5vw, 2.35rem); }
  .hx-hero__cta {
    margin-top: 1.5rem;
  }
  .hx-hero__cta .h-btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
  .hx-pillars { grid-template-columns: 1fr; gap: 0.5rem; }

  .hx-facts { grid-template-columns: 1fr; }
  .hx-fact { border-right: none !important; border-bottom: 1px solid var(--line-sky); }
  .hx-fact:last-child { border-bottom: none; }

  .hx-steps { grid-template-columns: 1fr; }
  .hx-steps::after { display: none; }

  .hx-trustbar {
    display: flex;
    flex-direction: column;
  }
  .hx-trustbar__item:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--line-sky);
  }

  .hx-cards--6,
  .hx-cards--3 { grid-template-columns: 1fr; }
  .hx-pack__intro {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .hx-pack__days-line {
    justify-content: flex-start;
  }

  .hx-pack__header {
    gap: 0.85rem;
  }

  .hx-packs__trust {
    flex-direction: column;
    align-items: stretch;
  }

  .hx-packs__trust li {
    width: 100%;
    max-width: 18rem;
  }

  .hx-water { min-height: auto; }
  .hx-water__inner { grid-template-columns: 1fr; }
  .hx-water__inner h2 { max-width: none; }
  .hx-water__aside {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .hx-water__photo img { min-height: 200px; aspect-ratio: 16 / 10; }
  .hx-water__aura { opacity: 0.45; }
  .hx-faq { grid-template-columns: 1fr; gap: 1.5rem; }
  .hx-cta { grid-template-columns: 1fr; }
  .hx-cta__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .hx-cta__actions .h-btn {
    width: 100%;
    justify-content: center;
  }
  .page-home .hx-footer__grid {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
  }

  .page-home .hx-footer__brand {
    text-align: center;
  }

  .page-home .hx-footer__desc { max-width: none; }

  .page-home .hx-footer__logo {
    justify-content: center;
    width: 100%;
  }

  .page-home .hx-footer__tags { justify-content: center; }

  .page-home .hx-footer__col {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .page-home .hx-footer__title {
    text-align: left;
  }

  .page-home .hx-footer__title::after {
    left: 0;
    right: auto;
  }

  .page-home .hx-footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .page-home .hx-footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
  }

  .page-home .hx-footer__contact {
    align-items: flex-start;
  }

  .page-home .hx-footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .home-modal__fields {
    grid-template-columns: 1fr;
  }

  .home-promo-modal__layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .hx-hero__grid {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
  }

  .hx-hero__visual {
    order: -1;
  }

  .hx-pillars {
    grid-template-columns: 1fr;
  }

  .hx-faq { grid-template-columns: 1fr; }
  .hx-faq .hx-section__head { margin-bottom: var(--section-head); }
  .hx-cta { grid-template-columns: 1fr; }
  .hx-water__inner { grid-template-columns: 1fr; }
  .hx-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hx-shot--wide { grid-column: span 2; }
  .hx-cards--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-home .hx-footer__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (min-width: 1100px) {
  .hx-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: clamp(2rem, 3.5vw, 3.5rem);
  }

  .hx-packs {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 1.75rem;
    max-width: none;
    margin-inline: 0;
  }
}

@media (min-width: 769px) and (max-width: 991px) {
  .hx-pillars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Consultation modal: keep the entire form visible in the available viewport. */
.home-promo-modal__dialog {
  width: min(720px, calc(100% - 1.5rem));
}
.home-promo-modal__layout {
  grid-template-columns: minmax(0, 1fr) 260px;
}
.home-promo-modal__body {
  padding: 1.15rem;
}
.home-promo-modal__form {
  gap: 0.5rem;
}
.home-promo-modal__body .home-modal__input {
  min-height: 44px;
  padding: 0.6rem 0.75rem;
  font-size: 16px;
}
@media (max-width: 768px) {
  .home-promo-modal__dialog {
    width: min(480px, calc(100% - 1rem));
  }
  .home-promo-modal__layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
  }
  .home-promo-modal__visual,
  .home-promo-modal__visual img {
    height: clamp(88px, 20dvh, 160px);
    min-height: 0;
  }
  .home-promo-modal__visual img {
    object-position: 62% 28%;
  }
  .home-promo-modal__visual-tag {
    left: 0.75rem;
    right: auto;
    bottom: 0.5rem;
    padding: 0.25rem 0.6rem;
    font-size: 0.56rem;
  }
  .home-promo-modal__body {
    padding: 0.85rem 1rem;
  }
  .home-promo-modal__body .home-modal__title {
    font-size: 1.1rem;
    line-height: 1.3;
    min-height: 0;
  }
  .home-promo-modal__lead {
    margin: 0.4rem 0 0.65rem;
    font-size: 0.8rem;
    line-height: 1.45;
  }
  .home-promo-modal__body .home-modal__label {
    margin-bottom: 0.2rem;
  }
  .home-promo-modal__body .home-modal__hint {
    margin: 0.1rem 0 0;
    font-size: 0.72rem;
    line-height: 1.35;
  }
}
@media (max-height: 600px) {
  .home-promo-modal__body {
    padding: 0.75rem 1rem;
  }
  .home-promo-modal__visual,
  .home-promo-modal__visual img {
    min-height: 0;
  }
  .home-promo-modal__lead {
    margin: 0.35rem 0 0.5rem;
    font-size: 0.8rem;
    line-height: 1.4;
  }
}
@media (max-width: 768px) and (max-height: 600px) {
  .home-promo-modal__visual,
  .home-promo-modal__visual img {
    height: 72px;
  }
  .home-promo-modal__visual-tag {
    display: none;
  }
}
@media (max-height: 480px) {
  .home-promo-modal__visual,
  .home-promo-modal__lead,
  .home-promo-modal__body .home-modal__hint {
    display: none;
  }
  .home-promo-modal__layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .home-promo-modal__body {
    order: 1;
  }
}

/* Treatment directions: styles for the section already present in index.html. */
.hx-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}
.hx-directions__head {
  max-width: 720px;
  margin: 0 auto var(--section-head);
  text-align: center;
}
.hx-directions__head h2 {
  margin-inline: auto;
  text-align: center;
  margin-bottom: 1rem;
}
.hx-directions__head .hx-label {
  justify-content: center;
}
.hx-directions__rule {
  display: block;
  width: 48px;
  height: 3px;
  margin: 0 auto;
  border-radius: 3px;
  background: var(--sky);
}
.hx-directions__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.hx-direction {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  min-width: 0;
  padding: 1.35rem;
  overflow: hidden;
  border: 1px solid var(--line-sky);
  border-radius: var(--r-md);
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.hx-direction:hover {
  color: var(--white);
  border-color: var(--sky-light);
  box-shadow: var(--sh-sm);
}
.hx-direction__bg,
.hx-direction__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hx-direction__bg {
  object-fit: cover;
}
.hx-direction__overlay {
  background: linear-gradient(145deg, rgba(10, 37, 59, 0.88), rgba(15, 53, 82, 0.94));
}
.hx-direction__icon {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: var(--r-sm);
  background: rgba(224, 242, 254, 0.1);
  color: #bae6fd;
}
.hx-direction__glyph {
  display: block;
  width: 32px;
  height: 32px;
}
.hx-direction__body {
  display: block;
  min-width: 0;
  padding-bottom: 1.5rem;
}
.hx-direction__body strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 800;
  line-height: 1.4;
  overflow-wrap: break-word;
}
.hx-direction__body > span {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.76);
}
.hx-direction__arrow {
  position: absolute;
  right: 1.1rem;
  bottom: 1rem;
  color: var(--sky-light);
}
.hx-direction__arrow svg {
  display: block;
  width: 20px;
  height: 20px;
}
@media (max-width: 1024px) {
  .hx-directions__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .hx-directions__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }
  .hx-direction {
    flex-direction: row;
    align-items: center;
    gap: 0.9rem;
    padding: 1.1rem;
  }
  .hx-direction__body {
    padding: 0 1.2rem 0 0;
  }
  .hx-direction__arrow {
    top: 50%;
    bottom: auto;
    right: 0.85rem;
    transform: translateY(-50%);
  }
}

/* Refinements for the four annotated blocks; keep the existing Aksu palette. */
.hx-detail-icon { display:block; width:28px; height:28px; flex-shrink:0; }
.hx-detail-link {
  display:inline-flex; align-items:center; gap:0.75rem; align-self:flex-start;
  padding:0.4rem 0; border:0; background:none; font:inherit;
  font-size:0.8125rem; font-weight:800; color:var(--sky-deep);
  text-decoration:none; cursor:pointer;
}
.hx-detail-link > span { font-size:1.15rem; line-height:1; transition:transform 0.2s; }
.hx-detail-link:hover { color:var(--blue); }
.hx-detail-link:hover > span { transform:translate(2px,-2px); }
.hx-detail-link:focus-visible,.hx-reviews__arrow:focus-visible,.hx-reviews__dot:focus-visible,.hx-reviews:focus-visible {
  outline:3px solid var(--sky); outline-offset:4px;
}
.hx-steps--refined { gap:1.15rem; }
.hx-steps--refined::after { display:none; }
.hx-steps--refined .hx-step {
  display:flex; flex-direction:column; align-items:flex-start; padding:1.5rem;
  border-radius:var(--r-lg); border:1px solid var(--line-sky);
  background:linear-gradient(155deg,#fff 55%,#f0f9ff 100%);
  box-shadow:0 6px 24px rgba(15,53,82,0.045);
}
.hx-step__top { width:100%; display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:1.5rem; }
.hx-step__number { font-size:0.68rem; font-weight:800; letter-spacing:0.13em; color:var(--sky-deep); }
.hx-step__symbol {
  display:grid; place-items:center; width:48px; height:48px;
  background:var(--aqua); border:1px solid rgba(14,165,233,0.12);
  color:var(--sky-deep); border-radius:15px;
}
.hx-steps--refined .hx-step h3 { font-size:1.06rem; letter-spacing:-0.02em; }
.hx-steps--refined .hx-step p { margin:0.65rem 0 1.3rem; line-height:1.65; }
.hx-steps--refined .hx-detail-link { margin-top:auto; }
.hx-approach .hx-section__head { margin-bottom:1.75rem; }
.hx-approach__grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; }
.hx-approach__card {
  display:flex; flex-direction:column; align-items:flex-start; min-width:0;
  padding:1.5rem; background:#fff; border:1px solid var(--line-sky);
  border-radius:var(--r-lg); box-shadow:0 6px 24px rgba(15,53,82,0.04);
}
.hx-approach__icon {
  display:grid; place-items:center; width:52px; height:52px; margin-bottom:1.25rem;
  border-radius:16px; background:#e0f2fe; color:var(--sky-deep);
}
.hx-approach__card:nth-child(2) .hx-approach__icon { background:#eaf3fb; color:var(--blue-mid); }
.hx-approach__card:nth-child(3) .hx-approach__icon { background:#eef6f8; color:#28667b; }
.hx-approach__card h3 { margin:0; font-size:1.06rem; line-height:1.4; font-weight:800; letter-spacing:-0.02em; }
.hx-approach__card p { margin:0.65rem 0 1.3rem; color:var(--ink-muted); font-size:0.9rem; line-height:1.65; }
.hx-approach__note {
  display:flex; align-items:center; gap:0.5rem; width:100%; margin-top:auto;
  padding-top:1rem; border-top:1px solid var(--line-sky); font-size:0.72rem;
  line-height:1.5; color:var(--blue-mid); font-weight:600;
}
.hx-approach__note > span { color:var(--sky-deep); }
.hx-packs__trust--refined {
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0.75rem;
  width:100%; margin-top:1.5rem; align-items:stretch;
}
.hx-packs__trust--refined li {
  display:flex; align-items:center; gap:0.8rem; width:100%; max-width:none;
  min-width:0; padding:1rem; border-radius:var(--r-md);
  background:rgba(255,255,255,0.82); box-shadow:none;
}
.hx-packs__trust--refined .hx-packs__trust-icon {
  width:42px; height:42px; border-radius:12px; background:var(--aqua);
}
.hx-packs__trust--refined .hx-packs__trust-icon svg { width:26px; height:26px; }
.hx-inclusion-copy { display:block; min-width:0; }
.hx-inclusion-copy strong { display:block; font-size:0.85rem; font-weight:800; color:var(--blue); }
.hx-inclusion-copy > span { display:block; margin-top:0.15rem; font-size:0.72rem; font-weight:500; line-height:1.5; color:var(--ink-muted); }
.hx-reviews__heading { display:flex; align-items:flex-end; justify-content:space-between; gap:1.5rem; margin-bottom:1.75rem; }
.hx-reviews__heading .hx-section__head { margin:0; }
.hx-reviews__heading h2 { margin-bottom:0; }
.hx-reviews__controls { display:flex; align-items:center; gap:0.85rem; flex-shrink:0; }
.hx-reviews__controls[hidden],.hx-reviews__dots[hidden] { display:none; }
.hx-reviews__arrow {
  display:grid; place-items:center; width:44px; height:44px; padding:11px;
  border:1px solid rgba(14,165,233,0.25); border-radius:50%; background:#fff;
  color:var(--sky-deep); cursor:pointer; transition:background 0.2s,opacity 0.2s;
}
.hx-reviews__arrow svg { display:block; width:20px; height:20px; }
.hx-reviews__arrow--prev svg { transform:rotate(180deg); }
.hx-reviews__arrow:hover:enabled { background:var(--aqua); }
.hx-reviews__arrow:disabled { opacity:0.35; cursor:default; }
.hx-reviews__counter { min-width:48px; font-size:0.75rem; font-weight:700; color:var(--ink-muted); font-variant-numeric:tabular-nums; text-align:center; }
.hx-reviews { overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x mandatory; scrollbar-width:none; border-radius:var(--r-xl); }
.hx-reviews::-webkit-scrollbar { display:none; }
.hx-reviews__track { display:flex; gap:1rem; align-items:stretch; position:relative; }
.hx-review__slide { flex:0 0 100%; min-width:0; scroll-snap-align:start; scroll-snap-stop:always; display:flex; flex-direction:column; box-shadow:none; }
.hx-review__top { display:flex; justify-content:space-between; align-items:center; gap:1rem; margin-bottom:1.5rem; min-height:24px; position:relative; z-index:1; }
.hx-review__top .hx-review__stars { margin-bottom:0; }
.hx-review__slide .hx-review__text { padding:0; margin:0 0 1.75rem; border:0; background:none; font-size:clamp(1rem,1.5vw,1.15rem); line-height:1.8; }
.hx-review__slide .hx-review__author { margin-top:auto; padding-top:1.25rem; border-top:1px solid #ffffff24; }
.hx-review__slide .hx-review__avatar { width:44px; height:44px; font-size:1rem; }
.hx-reviews__dots { display:flex; justify-content:center; gap:0.3rem; margin-top:1rem; }
.hx-reviews__dot { display:grid; place-items:center; width:32px; height:32px; padding:0; border:0; border-radius:50%; background:none; cursor:pointer; }
.hx-reviews__dot::before { content:''; width:7px; height:7px; border-radius:999px; background:#b3d4e7; transition:width 0.2s,background 0.2s; }
.hx-reviews__dot[aria-current="true"]::before { width:22px; background:var(--sky-deep); }
@media (max-width:768px) {
  .hx-steps--refined { gap:0.85rem; }
  .hx-steps--refined .hx-step { padding:1.2rem 1.25rem; }
  .hx-step__top { margin-bottom:0.85rem; }
  .hx-step__symbol { width:42px; height:42px; border-radius:13px; }
  .hx-step__symbol .hx-detail-icon { width:26px; height:26px; }
  .hx-steps--refined .hx-step p { margin-bottom:0.85rem; }
  .hx-approach__grid { grid-template-columns:1fr; gap:0.85rem; }
  .hx-approach__card { display:grid; grid-template-columns:46px minmax(0,1fr); gap:0 0.9rem; padding:1.2rem; align-items:start; }
  .hx-approach__icon { grid-column:1; grid-row:1 / 3; width:46px; height:46px; margin:0; border-radius:14px; }
  .hx-approach__card h3 { grid-column:2; font-size:1rem; }
  .hx-approach__card p { grid-column:2; margin:0.5rem 0 1rem; font-size:0.85rem; }
  .hx-approach__note { grid-column:1 / -1; padding-top:0.8rem; font-size:0.72rem; }
  .hx-packs__trust--refined { gap:0.55rem; margin-top:1.2rem; }
  .hx-packs__trust--refined li { flex-direction:column; align-items:flex-start; gap:0.7rem; padding:0.85rem 0.75rem; border-radius:16px; }
  .hx-packs__trust--refined .hx-packs__trust-icon { width:36px; height:36px; border-radius:11px; }
  .hx-packs__trust--refined .hx-packs__trust-icon svg { width:24px; height:24px; }
  .hx-inclusion-copy strong { font-size:0.75rem; }
  .hx-inclusion-copy > span { font-size:0.66rem; line-height:1.5; }
  .hx-reviews__heading { align-items:flex-start; gap:1rem; }
  .hx-reviews__controls { gap:0.4rem; padding-top:0.25rem; }
  .hx-reviews__counter { min-width:40px; font-size:0.65rem; }
  .hx-reviews__arrow { width:36px; height:36px; padding:8px; }
  .hx-review__slide { padding:1.5rem; border-radius:var(--r-lg); }
  .hx-review__top { margin-bottom:1.1rem; gap:0.6rem; }
  .hx-review__slide .hx-review__text { font-size:0.95rem; line-height:1.75; margin-bottom:1.25rem; }
}
@media (max-width:380px) {
  .hx-packs__trust--refined { gap:0.4rem; }
  .hx-packs__trust--refined li { padding:0.75rem 0.55rem; }
  .hx-inclusion-copy strong { font-size:0.67rem; }
  .hx-inclusion-copy > span { font-size:0.62rem; }
  .hx-reviews__heading { flex-direction:column; }
  .hx-reviews__controls { align-self:flex-end; }
  .hx-review__slide { padding:1.2rem; }
}

/* CMS gallery: row height is independent of image proportions and card width. */
#hx-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: clamp(190px, 24vw, 280px);
  grid-auto-flow: row dense;
  align-items: stretch;
}
#hx-gallery .hx-shot {
  height: 100%;
  min-height: 0;
  align-self: stretch;
}
#hx-gallery .hx-shot__link {
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
}
#hx-gallery .hx-shot figcaption {
  max-width: calc(100% - 1.7rem);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.4;
}
@media (max-width: 992px) {
  #hx-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(150px, 35vw, 260px);
  }
}
