/* ============================================================
   CARESTAYS — Shared Stylesheet
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --teal: #86BEBF;
  --mint: #C8FDFB;
  --charcoal: #666B65;
  --dark: #2d3330;
  --bg: #f4fdfb;
  --white: #ffffff;
  /* Заголовки и акцентный текст — Figtree (раньше Playfair Display) */
  --serif: 'Figtree', system-ui, sans-serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --nav-break: 1100px;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  /* горизонтальный клип на html, не на body — иначе часто ломается position:sticky у блоков вроде #services .svc-stack-item */
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body { font-family: var(--sans); background: var(--bg); color: var(--dark); }
body.nav-drawer-open { overflow: hidden; }
::selection { background: var(--mint); }
img { max-width: 100%; display: block; }
a { text-decoration: none; }
/* Сайт без курсива: em/i не наклоняются, цвет наследует от .section-headline em и т.д. */
em, i { font-style: normal; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 80px; height: 72px;
  /* Без backdrop-filter на nav: иначе в Safari fixed-панель меню внутри #root привязывается к nav 72px и обрезает весь дровер */
  background: rgba(244, 253, 251, 0.98);
  border-bottom: none;
  transition: box-shadow 0.3s;
  display: flex;
  align-items: center;
  overflow: visible;
}
nav.scrolled { box-shadow: 0 2px 24px rgba(134,190,191,0.15); }

/* Шапка: nowrap + panel с margin-left:auto — стабильное прижатие меню вправо при переходах/FOUC */
.nav-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  gap: 16px;
  min-height: 72px;
  position: relative;
  z-index: 1;
  overflow: visible;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo img { height: 36px; width: auto; display: block; }

/* Бургер: планшет и мобильный — цель касания ≥44px, без подсветки tap на iOS */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  margin-left: auto;
  padding: 0;
  border: none;
  border-radius: 12px;
  background: rgba(134,190,191,0.22);
  cursor: pointer;
  z-index: 130;
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  color: inherit;
}
.nav-burger:hover { background: rgba(134,190,191,0.38); }
.nav-burger:focus { outline: none; }
.nav-burger:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}
.nav-burger-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--dark);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
  transform-origin: center;
}
.nav-burger.is-open .nav-burger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open .nav-burger-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.is-open .nav-burger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(45, 51, 48, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 110;
}
.nav-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-left: auto;
  flex: 0 1 auto;
  justify-content: flex-end;
  min-width: 0;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: nowrap;
}
/* Ссылки: без сдвига при active — линия снизу через псевдоэлемент */
.nav-links a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
  letter-spacing: 0.01em;
  padding: 8px 2px 10px;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--dark); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left center; }
.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* Выпадающее меню Services (десктоп: hover/focus-within; мобильный: вложенный список) */
.nav-dropdown {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
}
.nav-links .nav-dropdown-trigger {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
  letter-spacing: 0.01em;
  padding: 8px 2px 10px;
  transition: color 0.2s;
}
/* Без стрелки; подчёркивание только .nav-links a::after — при уходе курсора на меню линия не гаснет */
.nav-links .nav-dropdown-trigger:hover,
.nav-links .nav-dropdown-trigger.active {
  color: var(--dark);
}
.nav-links .nav-dropdown-trigger::before {
  display: none;
}
/* Линия как у .nav-links a::after: тот же transition; при наведении на панель меню линия остаётся */
.nav-dropdown:hover .nav-dropdown-trigger::after,
.nav-dropdown:focus-within .nav-dropdown-trigger::after {
  transform: scaleX(1);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
/* Панель выровнена по левому краю ссылки Services (не по центру экрана) */
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  transform: translateY(6px);
  min-width: min(340px, calc(100vw - 48px));
  padding: 10px;
  background: rgba(244, 253, 251, 1);
  border: 1px solid #E0ECEC;
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(45, 51, 48, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.2s;
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  position: relative;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown-menu a::after {
  display: none;
}
/* Hover / active — фон teal 10% непрозрачности */
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  background: rgba(134, 190, 191, 0.1);
  color: var(--dark);
}

.nav-right { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
/* Номер в шапке + минималистичная иконка телефона (inline SVG) */
.nav-number {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 900;
  color: var(--charcoal);
  letter-spacing: 0.01em;
  white-space: nowrap;
  padding: 8px 2px 10px;
}
/* Заливка иконки = тот же teal, что и обводки акцентов в навигации */
.nav-number-icon {
  display: flex;
  flex-shrink: 0;
  color: var(--teal);
  line-height: 0;
}
.nav-number-icon svg path {
  fill: currentColor;
  stroke: none;
}
.nav-number-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}
.nav-cta {
  background: var(--dark);
  color: white;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: background 0.25s ease, box-shadow 0.25s ease;
  letter-spacing: 0.02em;
  text-decoration: none;
  display: inline-block;
}
.nav-cta:hover { background: var(--teal); box-shadow: 0 4px 16px rgba(134, 190, 191, 0.45); }
.nav-cta:active { box-shadow: 0 2px 8px rgba(45, 51, 48, 0.2); }

@media (max-width: 1100px) {
  .nav-burger { display: flex; }
  .nav-overlay { display: block; }
  nav { padding: 0 40px; }
  .nav-panel {
    position: fixed;
    /* На всю ширину и высоту под 72px-шапкой; z-index > overlay, < бургер */
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 20px 24px max(32px, env(safe-area-inset-bottom, 0px) + 20px);
    max-height: none;
    min-height: 0;
    background: rgba(244, 253, 251, 0.99);
    transform: translateY(12px);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 8px 32px rgba(45, 51, 48, 0.1);
    flex: none;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    z-index: 120;
  }
  .nav-panel.is-open { transform: translateY(0); opacity: 1; }
  /* Дровер в portal: закрыт = hidden/display:none (нет тапов по форме); открыт = без анимации opacity (нет лагов) */
  .nav-panel--drawer {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    transform: none;
    opacity: 1;
    transition: none;
  }
  .nav-panel--drawer:not(.is-open) {
    display: none !important;
  }
  .nav-panel--drawer.is-open {
    display: flex !important;
  }
  /* Подменю Services/Locations: на мобильном всегда видимы (десктопные hover/focus скрывают их) */
  .nav-panel--drawer .nav-dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    position: static !important;
    transform: none !important;
  }
  .nav-panel:not(.is-open):not(.nav-panel--drawer) {
    display: none !important;
  }
  .contact-body,
  .careers-body {
    position: relative;
    z-index: 1;
  }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
  .nav-links a {
    padding: 16px 8px 16px 4px;
    border-bottom: 1px solid #E0ECEC;
    font-size: 18px;
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  .nav-links a::after { display: none; }
  .nav-dropdown {
    flex-direction: column;
    align-items: stretch;
    align-self: stretch;
    width: 100%;
  }
  .nav-links .nav-dropdown-trigger {
    padding: 16px 8px 16px 4px;
    border-bottom: 1px solid #E0ECEC;
    font-size: 18px;
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  .nav-links .nav-dropdown-trigger::before {
    display: none;
  }
  /* Планшет/мобильный: без вертикальной линии, подпункты вровень с остальными ссылками */
  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 8px 0;
    margin: -4px 0 0 0;
    min-width: 0;
    background: transparent;
  }
  .nav-dropdown-menu a {
    padding: 14px 8px 14px 4px;
    font-size: 16px;
    font-weight: 500;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    border-bottom: none;
  }
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    transform: none;
  }
  .nav-right {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid rgba(134, 190, 191, 0.25);
  }
  .nav-number { font-size: 16px; padding: 16px 4px 16px 0; }
  .nav-cta { text-align: center; padding: 14px 22px; }
}

@media (min-width: 1101px) {
  .nav-panel {
    visibility: visible !important;
    pointer-events: auto !important;
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    opacity: 1 !important;
    z-index: auto !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    margin-left: auto !important;
    flex: 0 1 auto !important;
    box-shadow: none !important;
    overflow: visible !important;
    background: transparent !important;
    padding: 0 !important;
  }
  .nav-links {
    flex-direction: row;
    flex-wrap: nowrap;
    width: auto;
  }
  .nav-right {
    flex-direction: row;
    align-items: center;
    width: auto;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }
}

@media (max-width: 600px) {
  .nav-number { font-size: 16px; }
}

/* ── FOOTER ── */
footer { background: var(--dark); color: white; padding: 64px 80px 40px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-logo {
  margin-bottom: 16px;
  display: inline-block;
  text-decoration: none;
}
.footer-logo img { height: 48px; width: auto; display: block; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.6; max-width: 260px; font-weight: 300; }
/* Иконка телефона — та же, что в nav (currentColor = teal) */
.footer-number { display: flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: 22px; font-weight: 600; color: var(--teal); margin-top: 20px; }
.footer-number-icon { display: flex; flex-shrink: 0; color: var(--teal); line-height: 0; }
.footer-number-icon svg { width: 16px; height: 16px; display: block; }
.footer-number-icon svg path { fill: currentColor; }
.footer-col-title { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-link { font-size: 14px; color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; font-weight: 300; }
.footer-link:hover { color: var(--teal); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; flex-wrap: wrap; gap: 16px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.28); }
.social-btn { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.07); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.2s, color 0.2s; font-size: 13px; color: rgba(255,255,255,0.5); text-decoration: none; }
.social-btn svg { flex-shrink: 0; display: block; }
.social-btn:hover { background: var(--teal); color: white; }

/* ── BUTTONS ── */
.btn-primary { background: var(--dark); color: white; padding: 15px 34px; border-radius: 100px; font-family: var(--sans); font-size: 15px; font-weight: 600; border: none; cursor: pointer; transition: all 0.2s; display: inline-block; text-decoration: none; }
.btn-primary:hover { background: var(--teal); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--dark); padding: 15px 34px; border-radius: 100px; font-family: var(--sans); font-size: 15px; font-weight: 600; border: 2px solid #E0ECEC; cursor: pointer; transition: all 0.2s; display: inline-block; text-decoration: none; }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }
.btn-teal { background: var(--teal); color: var(--dark); padding: 15px 34px; border-radius: 100px; font-family: var(--sans); font-size: 15px; font-weight: 700; border: none; cursor: pointer; transition: all 0.2s; display: inline-block; text-decoration: none; }
.btn-teal:hover { background: var(--mint); transform: translateY(-2px); }

/* ── SECTION LABELS ── */
.section-label { font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; }
.section-headline { font-family: var(--serif); font-size: clamp(36px, 4.5vw, 62px); font-weight: 500; line-height: 1.08; letter-spacing: -1.5px; text-wrap: balance; }
.section-sub { font-size: 16px; color: var(--charcoal); line-height: 1.68; margin-top: 18px; font-weight: 300; }

/* ── PAGE HERO (inner pages) ── */
/* Пастельный фон как у CTA/секций на главной, не bright mint */
/* Минимальная высота одна для всех внутренних страниц; главная использует .hero, не .page-hero */
.page-hero {
  padding: 140px 80px 80px;
  background: rgba(226, 243, 242, 1);
  position: relative;
  overflow: hidden;
  min-height: 500px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.page-hero::after { content: ''; position: absolute; top: -80px; right: -80px; width: 400px; height: 400px; border-radius: 50%; background: rgba(134,190,191,0.2); pointer-events: none; }
.page-kicker { font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--teal); margin-bottom: 20px; }
.page-title { font-family: var(--serif); font-size: clamp(48px, 6vw, 80px); font-weight: 500; line-height: 1.05; letter-spacing: -2px; max-width: 680px; }
.page-intro { font-size: 17px; color: var(--charcoal); max-width: 560px; line-height: 1.68; margin-top: 24px; font-weight: 300; }
/* Адрес под intro на страницах локаций */
.page-hero-location {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  max-width: 560px;
  font-size: 15px;
  color: var(--charcoal);
  line-height: 1.55;
  font-weight: 500;
}
.page-hero-location-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-hero-location-icon img { display: block; width: 24px; height: 24px; }

/* ── WHATSAPP ── */
.wa-widget { position: fixed; bottom: 32px; right: 32px; z-index: 200; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.wa-bubble { background: white; border-radius: 16px; padding: 16px 20px; max-width: 220px; box-shadow: 0 8px 32px rgba(0,0,0,0.12); font-size: 13px; color: var(--dark); line-height: 1.5; animation: slideUp 0.3s ease; }
@keyframes slideUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.wa-btn { width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 20px rgba(37,211,102,0.4); border: none; font-size: 26px; transition: transform 0.2s; }
.wa-btn:hover { transform: scale(1.1); }

/* ── PLACEHOLDER ── */
.ph { background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(134,190,191,0.1) 10px, rgba(134,190,191,0.1) 11px); display: flex; align-items: center; justify-content: center; font-family: monospace; font-size: 10px; color: rgba(45,51,48,0.3); text-align: center; }

/* Планшет: внутренние отступы страниц */
@media (max-width: 1100px) and (min-width: 601px) {
  .page-hero { padding: 120px 40px 64px; }
  footer { padding: 56px 40px 36px; }
}

@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .page-hero {
    padding: 120px 24px 60px;
    min-height: 0;
    display: block;
    /* Шапки внутренних страниц: без фото на мобильном — только пастель (перебивает background-image из локальных <style>) */
    background-image: none !important;
    background-color: rgba(226, 243, 242, 1) !important;
    background-size: auto !important;
  }
  footer { padding: 48px 24px 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ── Галерея локаций (Thornbury / Mentone): десктоп — горизонталь при вертикальном скролле; ≤1100px — карусель ── */
.location-gallery-section { background: #F4FDFB; position: relative; z-index: 2; margin-top: -6px; margin-bottom: -6px; }
.location-gallery-item {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #E0ECEC;
  flex-shrink: 0;
}
.location-gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
/* Первая карточка: изображение целиком, без обрезки */
.location-gallery-item--contain img {
  object-fit: contain;
  object-position: center;
}
.location-gallery-item .ph {
  width: 100%;
  height: 100%;
  min-height: 100%;
  border-radius: 0;
  font-size: 12px;
}

/* Десктоп: липкая секция, сдвиг ленты от скролла страницы */
@media (min-width: 1101px) {
  .location-gallery-section--scroll {
    position: relative;
    padding: 0;
    overflow: visible;
  }
  .location-gallery-sticky {
    position: sticky;
    top: 72px;
    height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    overflow: hidden;
  }
  .location-gallery-viewport {
    width: 100%;
    overflow: hidden;
    padding: 48px 80px;
    box-sizing: border-box;
  }
  .location-gallery-section--scroll .location-gallery-track {
    display: flex;
    gap: 28px;
    will-change: transform;
    padding: 0;
    margin: 0;
    overflow: visible;
  }
  .location-gallery-section--scroll .location-gallery-item {
    flex: 0 0 840px;
    width: 840px;
    aspect-ratio: 4 / 3;
  }
  /* Первая карточка подстраивается под изображение */
  .location-gallery-section--scroll .location-gallery-item--contain {
    flex: 0 0 auto;
    width: auto;
    aspect-ratio: unset;
    height: 630px;
  }
  .location-gallery-item--contain img {
    width: auto;
    height: 100%;
  }
}

/* Планшет и мобильный: карусель */
@media (max-width: 1100px) {
  .location-gallery-section--carousel {
    padding: 60px 0 72px;
    overflow: hidden;
  }
  .location-gallery-carousel {
    position: relative;
    padding: 0 56px;
    max-width: 100%;
    box-sizing: border-box;
  }
  .location-gallery-carousel-viewport {
    overflow: hidden;
    border-radius: 12px;
  }
  .location-gallery-carousel-track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
  }
  .location-gallery-section--carousel .location-gallery-item {
    flex: 0 0 100%;
    width: 100%;
    aspect-ratio: 4 / 3;
    max-height: min(72vh, 640px);
  }
  /* Первая карточка карусели: подстраивается под изображение */
  .location-gallery-section--carousel .location-gallery-item--contain {
    aspect-ratio: unset;
    max-height: none;
  }
  .location-gallery-section--carousel .location-gallery-item--contain img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  .location-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #E0ECEC;
    background: rgba(255, 255, 255, 0.95);
    color: var(--dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 4px 16px rgba(45, 51, 48, 0.08);
    transition: background 0.2s, box-shadow 0.2s;
  }
  .location-gallery-arrow:hover { background: #fff; box-shadow: 0 8px 24px rgba(45, 51, 48, 0.12); }
  .location-gallery-arrow--prev { left: 8px; }
  .location-gallery-arrow--next { right: 8px; }
  .location-gallery-arrow svg { width: 18px; height: 18px; display: block; }
  .location-gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding: 0 24px;
  }
  .location-gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(134, 190, 191, 0.35);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
  }
  .location-gallery-dot.is-active {
    background: var(--teal);
    transform: scale(1.15);
  }
}
@media (max-width: 1100px) and (prefers-reduced-motion: reduce) {
  .location-gallery-carousel-track { transition: none; }
}

/* ── Появление при скролле (scroll-reveal.js) ── */
.scroll-reveal {
  opacity: 0;
  transform: translate3d(0, 44px, 0);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--sr-delay, 0s);
}
.scroll-reveal.scroll-reveal--child {
  transform: translate3d(0, 28px, 0);
  transition-duration: 0.75s, 0.75s;
}
.scroll-reveal.scroll-reveal--slide-left {
  transform: translate3d(-36px, 32px, 0);
}
.scroll-reveal.scroll-reveal--slide-right {
  transform: translate3d(36px, 32px, 0);
}
.scroll-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
@media (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

