/* =====================================================
   NOA Garden — стили
   Шрифты: Playfair Display + Inter (подключены в HTML)
   ===================================================== */

*, *:before, *:after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #090909;
  --dark-1: #111;
  --dark-2: #1a1a1a;
  --dark-3: #242424;
  --white: #fff;
  --white-80: #fffc;
  --white-50: #ffffff80;
  --white-20: #fff3;
  --white-10: #ffffff1a;
  --gold: #c5a46a;
  --gold-light: #d4b97e;
  --gold-dark: #a8864f;
  --gold-10: #c5a46a1a;
  --gold-20: #c5a46a33;
  --nav-green: #1f5c3a;
  --nav-green-light: #2a7049;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --section-pad-x: clamp(24px, 6vw, 100px);
  --section-pad-y: clamp(60px, 8vh, 120px);
  --ease: cubic-bezier(.25, .46, .45, .94);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; height: -webkit-fill-available; }
body { background-color: var(--black); color: var(--white); font-family: var(--font-sans); font-size: 16px; line-height: 1.6; overflow-x: hidden; min-height: -webkit-fill-available; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-sans); background: 0 0; border: none; }
img { max-width: 100%; display: block; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--dark-3); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

.serif { font-family: var(--font-serif); }
.gold { color: var(--gold); }
.italic { font-style: italic; }
.uppercase { text-transform: uppercase; letter-spacing: .12em; }
.small-label { font-family: var(--font-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-size: 11px; font-weight: 500; }
.section-number { font-family: var(--font-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--white-50); font-size: 11px; font-weight: 400; }

.reveal { opacity: 0; transition: opacity .85s var(--ease-out), transform .85s var(--ease-out); transform: translateY(28px); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .32s; }
.reveal-delay-4 { transition-delay: .46s; }

.app { background: var(--black); min-height: 100vh; }
.main { padding-top: 0; }

/* ================ Навигация ================ */
@property --nav-compact {
  syntax: '<number>';
  inherits: true;
  initial-value: 0;
}

.nav {
  z-index: 900;
  --nav-compact: 0;
  --nav-pad-top: calc(16px - 3.2px * var(--nav-compact));
  --nav-pad-bottom: calc(12px - 2.4px * var(--nav-compact));
  --nav-inner-min-h: calc(64px - 12.8px * var(--nav-compact));
  --nav-logo-w: calc(179px - 35.8px * var(--nav-compact));
  --nav-logo-h: calc(64px - 12.8px * var(--nav-compact));
  --nav-burger-gap: calc(5px - 1px * var(--nav-compact));
  --nav-burger-line-w: calc(22px - 4.4px * var(--nav-compact));
  --nav-burger-line-h: calc(1.5px - 0.3px * var(--nav-compact));
  --nav-burger-open-y: calc(6.5px - 1.3px * var(--nav-compact));
  padding: var(--nav-pad-top) var(--section-pad-x) var(--nav-pad-bottom);
  transition:
    background .55s var(--ease-out),
    border-color .55s var(--ease-out),
    -webkit-backdrop-filter .55s var(--ease-out),
    backdrop-filter .55s var(--ease-out);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}
.nav--scrolled {
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--white-10);
  background: #090909a4;
}
.nav__inner {
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: var(--nav-inner-min-h);
  display: flex;
}
.nav__logo {
  align-items: center;
  width: var(--nav-logo-w);
  height: var(--nav-logo-h);
  display: inline-flex;
}
.nav__logo-img {
  object-fit: contain;
  object-position: left center;
  width: 100%;
  height: 100%;
  display: block;
  transition: opacity .45s var(--ease-out);
}
.nav__links { align-items: center; gap: 2px; display: flex; }
.nav__link { font-family: var(--font-sans); letter-spacing: .06em; color: var(--black); padding: 6px 12px; font-size: 17.42px; font-weight: 500; transition: color .2s; position: relative; }
.nav__link:after { content: ""; background: var(--nav-green); transform-origin: 0; height: 1.4px; transition: transform .3s var(--ease), background .2s var(--ease); position: absolute; bottom: 2px; left: 12px; right: 12px; transform: scaleX(0); }
.nav__link:hover { color: var(--dark-3); }
.nav__link:hover:after { transform: scaleX(1); background: var(--nav-green); }
.nav__link--active { color: var(--black); font-weight: 600; }
.nav__link--active:after { transform: scaleX(1); background: var(--nav-green); }
.nav__right { align-items: center; gap: 40px; display: flex; }

/* ---- Language switcher (flags in a row) ---- */
.nav__lang { align-items: center; gap: 8px; display: flex; }
.nav__lang-flag-btn { border-radius: 4px; padding: 0; line-height: 0; opacity: .55; transition: opacity .2s var(--ease), transform .2s var(--ease), filter .2s var(--ease); display: inline-flex; filter: grayscale(60%); text-decoration: none; color: inherit; border: none; background: none; cursor: pointer; }
.nav__lang-flag-btn:hover { opacity: 1; filter: grayscale(0); transform: translateY(-1px); }
.nav__lang-flag-btn.is-active { opacity: 1; filter: grayscale(0); }
.nav__lang-flag { object-fit: cover; width: 26px; height: 18px; border-radius: 3px; box-shadow: 0 0 0 1px #0000001f; display: block; }
.nav__lang-flag-btn.is-active .nav__lang-flag { box-shadow: 0 0 0 1.5px var(--gold); }

/* scrolled (dark) state */
.nav--scrolled .nav__lang-flag { box-shadow: 0 0 0 1px var(--white-20); }
.nav--scrolled .nav__lang-flag-btn.is-active .nav__lang-flag { box-shadow: 0 0 0 1.5px var(--gold); }
.nav__cta { font-family: var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--black); border: 2px solid var(--black); padding: 8px 16px; font-size: 14.52px; font-weight: 500; transition: background .2s, border-color .2s, color .2s; }
.nav__cta:hover { background: var(--black); border-color: var(--black); color: var(--white); }
.nav__burger {
  flex-direction: column;
  gap: var(--nav-burger-gap);
  padding: 4px;
  display: none;
}
.nav__burger span {
  background: var(--black);
  width: var(--nav-burger-line-w);
  height: var(--nav-burger-line-h);
  transition: transform .45s var(--ease-out), opacity .35s var(--ease-out), background .35s var(--ease-out);
  display: block;
}
.nav--scrolled .nav__link { color: var(--white-80); }
.nav--scrolled .nav__link:hover { color: var(--white); }
.nav--scrolled .nav__link--active { color: var(--white); }
.nav--scrolled .nav__link--active:after { transform: scaleX(1); background: var(--nav-green-light); }
.nav--scrolled .nav__link:hover:after { background: var(--nav-green-light); }
.nav--scrolled .nav__cta { color: var(--gold); border-color: var(--gold-20); }
.nav--scrolled .nav__cta:hover { background: var(--gold-10); border-color: var(--gold); color: var(--gold); }
.nav--scrolled .nav__burger span { background: var(--white); }
.nav__burger--open span:first-child { transform: translateY(var(--nav-burger-open-y)) rotate(45deg); }
.nav__burger--open span:nth-child(2) { opacity: 0; }
.nav__burger--open span:nth-child(3) { transform: translateY(calc(var(--nav-burger-open-y) * -1)) rotate(-45deg); }
.nav__mobile { display: none; }
.nav__mobile-link { font-family: var(--font-sans); letter-spacing: .04em; color: var(--white-80); border-bottom: 1px solid var(--white-10); padding: 16px 0; font-size: clamp(22px, 5.5vw, 28px); font-weight: 400; transition: color .2s; }
.nav__mobile-link:hover { color: var(--white); }
.nav__mobile-link--active { color: var(--gold); border-bottom-color: var(--gold); }
.nav__mobile-cta { font-family: var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); border: 2px solid var(--gold); text-align: center; align-self: flex-start; margin-top: auto; padding: 12px 22px; font-size: 14.4px; font-weight: 500; display: inline-block; width: fit-content; transition: background .2s, border-color .2s, color .2s; }
.nav__mobile-cta:hover { background: var(--gold-10); border-color: var(--gold-light); color: var(--gold-light); }
.nav__mobile-lang { grid-template-columns: repeat(3, auto); gap: 6px; justify-content: start; width: fit-content; margin-top: 28px; display: none; }
.nav__mobile-lang-btn { align-items: center; justify-content: center; gap: 6px; color: var(--white-80); border: 1px solid var(--white-10); border-radius: 999px; padding: 7px 10px; font-size: 13px; font-weight: 600; letter-spacing: .08em; transition: border-color .2s, color .2s, background .2s; display: inline-flex; text-decoration: none; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; position: relative; z-index: 1; }
.nav__mobile-lang-btn:hover { color: var(--white); border-color: var(--white-20); }
.nav__mobile-lang-btn.is-active { color: var(--gold); border-color: var(--gold-20); background: var(--gold-10); }
.nav__mobile-lang-btn .nav__lang-flag--mobile {
  object-fit: cover;
  width: 24px;
  height: 18px;
  min-width: 24px;
  min-height: 18px;
  flex-shrink: 0;
  border-radius: 3px;
  box-shadow: 0 0 0 1px var(--white-20);
  display: block;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.nav__mobile-lang-btn.is-active .nav__lang-flag--mobile {
  box-shadow: 0 0 0 1.5px var(--gold);
}

@media (max-width: 900px) {
  .nav {
    --nav-logo-w: calc(90px - 18px * var(--nav-compact));
    --nav-logo-h: calc(64px - 12.8px * var(--nav-compact));
    --nav-burger-gap: calc(9.1px - 1.82px * var(--nav-compact));
    --nav-burger-line-w: calc(40px - 8px * var(--nav-compact));
    --nav-burger-line-h: calc(2.8px - 0.56px * var(--nav-compact));
    --nav-burger-open-y: calc(11.9px - 2.38px * var(--nav-compact));
  }
  .nav__inner { align-items: center; }
  .nav__logo {
    margin-top: calc(8px - 1.6px * var(--nav-compact));
  }
  .nav__logo picture { display: block; width: 100%; height: 100%; }
  .nav__logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
  }
  .nav__links { display: none; }
  .nav__burger { display: flex; padding: 7.3px; position: relative; z-index: 1001; }
  .nav--scrolled .nav__burger--open span,
  .nav__burger--open span { background: var(--white); }
  .nav__cta { display: none; }
  .nav__lang { display: none; }
  .nav__mobile-lang { display: grid; position: relative; z-index: 2; }
  .nav__mobile {
    z-index: 950;
    visibility: hidden;
    pointer-events: none;
    display: block;
    position: fixed;
    inset: 0;
  }
  .nav__mobile.is-open {
    visibility: visible;
    pointer-events: auto;
  }
  .nav__mobile-backdrop {
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    background: #00000080;
    opacity: 0;
    transition: opacity .4s var(--ease);
    position: absolute;
    inset: 0;
  }
  .nav__mobile.is-open .nav__mobile-backdrop { opacity: 1; }
  .nav__mobile-panel {
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    background: #090909fa;
    border-left: 1px solid var(--white-10);
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    height: 100%;
    height: 100dvh;
    padding: max(20px, env(safe-area-inset-top)) var(--section-pad-x) max(28px, env(safe-area-inset-bottom));
    transition: transform .45s var(--ease-out);
    display: flex;
    position: absolute;
    top: 0;
    right: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
  }
  .nav__mobile.is-open .nav__mobile-panel { transform: translateX(0); }
  .nav__mobile-head {
    margin-bottom: clamp(32px, 8vh, 56px);
    display: flex;
  }
  .nav__mobile-logo { width: 120px; display: inline-flex; }
  .nav__mobile-logo-img { object-fit: contain; width: 100%; height: auto; display: block; }
  .nav__mobile-nav { flex-direction: column; gap: 0; flex: 1; display: flex; }
}
body.nav-menu-open { overflow: hidden; touch-action: none; }

/* ================ Hero ================ */
/*
  Градиент оверлея: правьте в styles.css или визуально (?overlay-editor=1).
  Переменные: --hero-overlay-direction, --hero-overlay-c1…p4, --hero-overlay-gradient
*/
.hero {
  --hero-overlay-direction: 202deg;
  --hero-overlay-c1: rgba(0,0,0,0.04);
  --hero-overlay-p1: 8%;
  --hero-overlay-c2: rgba(0,0,0,0.2);
  --hero-overlay-p2: 44%;
  --hero-overlay-c3: rgba(0,0,0,0.55);
  --hero-overlay-p3: 60%;
  --hero-overlay-c4: rgba(0,0,0,0.92);
  --hero-overlay-p4: 100%;
  --hero-overlay-gradient: linear-gradient(202deg, rgba(0,0,0,0.04) 8%, rgba(0,0,0,0.2) 44%, rgba(0,0,0,0.55) 60%, rgba(0,0,0,0.92) 100%);
  height: 100vh;
  min-height: 640px;
  padding: 0 var(--section-pad-x);
  justify-content: flex-start;
  align-items: center;
  display: flex;
  position: relative;
  overflow: hidden;
}
.hero__bg { will-change: transform; background-image: url(../images/foto-bg.jpg); background-position: 50%; background-size: cover; transition: transform 8s; position: absolute; inset: 0; transform: scale(1.04); }
@media (min-width: 901px) {
  .hero:hover .hero__bg { transform: scale(1); }
}
.hero__overlay { z-index: 1; background: var(--hero-overlay-gradient); position: absolute; inset: 0; }
.hero__content { z-index: 2; max-width: 820px; position: relative; }
.hero__tag { color: var(--white); margin-bottom: 24px; font-size: 13.2px; }
.hero__title { font-family: var(--font-serif); letter-spacing: -.02em; color: var(--white); margin-bottom: 48px; font-size: clamp(36px, 6vw, 84px); font-weight: 400; line-height: 1; }
.hero__title em, .hero__title-price { display: block; }
.hero__subtitle { font-family: var(--font-sans); color: var(--white-80); max-width: 520px; margin-bottom: 36px; font-size: clamp(13px, 1.4vw, 16px); font-weight: 300; line-height: 1.7; }
.hero__br { display: none; }
@media (min-width: 700px) { .hero__br { display: block; } }
.hero__actions { flex-wrap: wrap; align-items: center; gap: 16px; display: flex; }
.hero__btn { font-family: var(--font-sans); letter-spacing: .1em; text-transform: uppercase; transition: all .25s var(--ease); align-items: center; gap: 6px; padding: 13px 24px; font-size: 12px; font-weight: 500; display: inline-flex; }
.hero__btn--primary { background: var(--gold); color: var(--black); }
.hero__btn--primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.hero__btn--secondary { color: var(--white-80); border: 2px solid var(--white-20); background: 0 0; }
.hero__btn--secondary:hover { border-color: var(--white-50); color: var(--white); }
.hero__scroll { z-index: 2; color: var(--white-50); flex-direction: column; align-items: center; gap: 10px; transition: color .2s, transform .85s var(--ease-out); display: flex; position: absolute; bottom: 28px; left: 50%; width: fit-content; translate: -50% 0; }
.hero__scroll:hover { color: var(--gold); }
.hero__scroll-line { background: currentColor; width: 1px; height: 48px; animation: 1.8s ease-in-out infinite scrollPulse; display: block; }
.hero__scroll-text { letter-spacing: .2em; text-transform: uppercase; font-size: 9px; }
@keyframes scrollPulse { 0%, to { opacity: .5; transform: scaleY(1); } 50% { opacity: 1; transform: scaleY(.4); } }
@media (min-width: 901px) {
  .nav__logo.reveal,
  .nav__burger.reveal,
  .wa-float.reveal { opacity: 1; transform: none; }
  .hero .reveal { opacity: 1; animation: heroFadeIn 1s var(--ease-out) both; transform: none; }
  .hero .reveal-delay-1 { animation-delay: .2s; }
  .hero .reveal-delay-2 { animation-delay: .4s; }
  .hero .reveal-delay-3 { animation-delay: .6s; }
}
@keyframes heroFadeIn { 0% { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroBgZoomOut {
  from { transform: scale(1.14) translate(2%, 1%); }
  to { transform: scale(1) translate(0, 0); }
}
@keyframes heroBgZoomOutMobile {
  from { transform: scale(1.22) translate(2%, 1%); }
  to { transform: scale(1.1) translate(0, 0); }
}

@media (max-width: 900px) {
  .hero {
    /* Слой 1: базовый fallback */
    height: 100vh;
    /* Слой 2: iOS Safari < 15.4 — заполняет реальную видимую область */
    height: -webkit-fill-available;
    /* Слой 3: современные браузеры — svh = малый viewport (с видимым chrome) */
    height: 100svh;
    /* Слой 4: точное значение от JS (visualViewport.height) */
    height: var(--hero-h, 100svh);
    min-height: 0;
    max-height: var(--hero-h, 100svh);
    box-sizing: border-box;
  }
  .hero__bg,
  .hero__overlay {
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
  }
  .hero__bg {
    background-position: center center;
    background-repeat: no-repeat;
  }
  .reveal {
    transform: translateY(-22px);
    transition-duration: 0.95s;
  }
  .reveal.visible { transform: translateY(0); }
  .s01 .reveal { transform: translateY(-22px); }
  .nav__logo.reveal,
  .nav__burger.reveal {
    transform: none;
    transition: opacity 0.95s var(--ease-out);
  }
  .nav__logo.reveal.visible,
  .nav__burger.reveal.visible { transform: none; }
  .wa-float.reveal { transform: translateY(-22px); }
  .reveal-delay-1,
  .reveal-delay-2,
  .reveal-delay-3,
  .reveal-delay-4 { transition-delay: 0s; }
  .hero__bg {
    transition: none;
    animation: heroBgZoomOutMobile 14s var(--ease-out) forwards;
  }
  .hero__title {
    font-size: clamp(39.6px, 6.6vw, 92.4px);
    text-shadow:
      0 1px 3px rgba(0, 0, 0, 0.64),
      0 2px 10px rgba(0, 0, 0, 0.53),
      0 4px 24px rgba(0, 0, 0, 0.39);
  }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    width: fit-content;
  }
  .hero__btn {
    justify-content: center;
    min-height: 49px;
  }
  .hero__btn--primary {
    border: 1.2px solid transparent;
  }
  .hero__btn--secondary {
    border-width: 1.2px;
    border-color: var(--white);
  }
  .hero__btn--secondary:hover { border-color: var(--white); }
  .hero__scroll.reveal { transform: translateY(-22px); }
  .hero__scroll.reveal.visible { transform: translateY(0); }
}

@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .hero__bg { animation: none; transform: scale(1.1); }
  .reveal { transform: none; transition: none; }
}

/* ================ Секция 01: Ubicación ================ */
.s01 { color: #1c1c1c; padding: var(--section-pad-y) var(--section-pad-x); background: #e8e4dc; overflow: hidden; }
.s01__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: stretch; gap: clamp(32px, 4vw, 64px); max-width: 1400px; margin: 0 auto; display: grid; overflow: hidden; }
.s01__map-wrap { background: #fff; border: 1px solid #00000014; align-self: start; width: 100%; max-width: 100%; height: min(82vh, 780px); min-height: 0; position: relative; overflow: hidden; }
.s01__map { border: 0; width: 100%; height: 100%; display: block; }
.s01__map-skeleton {
  background: linear-gradient(90deg, #f1efe9 0%, #ffffff 45%, #f1efe9 100%);
  background-size: 200% 100%;
  width: 100%;
  height: 100%;
  animation: 1.2s ease-in-out infinite s01Shimmer;
  position: absolute;
  inset: 0;
}
.s01__map-load {
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  color: #1c1c1c;
  background: #ffffffd9;
  border: 1px solid #1c1c1c1f;
  border-radius: 999px;
  padding: 10px 14px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  transition: background .2s, border-color .2s, transform .2s;
  position: absolute;
  bottom: 16px;
  left: 16px;
}
.s01__map-load:hover { background: #fff; border-color: #1c1c1c40; transform: translateY(-1px); }
.s01__map-wrap.is-loaded .s01__map-skeleton,
.s01__map-wrap.is-loaded .s01__map-load { display: none; }
@keyframes s01Shimmer { 0% { background-position: 0 0; } 100% { background-position: -200% 0; } }
.s01__content { flex-direction: column; gap: 0; padding-top: 4px; display: flex; }
.s01__label { font-family: var(--font-sans); letter-spacing: .22em; text-transform: uppercase; color: #8a7a62; align-items: center; gap: 12px; margin-bottom: 20px; font-size: 10px; font-weight: 500; display: flex; }
.s01__label-line { background: #8a7a62; width: 28px; height: 1px; display: block; }
.s01__title { font-family: var(--font-serif); letter-spacing: -.02em; color: #1c1c1c; margin-bottom: 20px; font-size: clamp(32px, 4vw, 48px); font-weight: 400; line-height: 1.15; }
.s01__title em { font-style: italic; }
.s01__intro { font-family: var(--font-sans); color: #1c1c1cbf; max-width: 520px; margin-bottom: 32px; font-size: clamp(13px, 1.2vw, 15px); font-weight: 400; line-height: 1.65; }
.s01__list { flex-direction: column; flex: 1; list-style: none; display: flex; }
.s01__item { border-top: 1px solid #1c1c1c1f; grid-template-columns: 72px 1fr; align-items: start; gap: 20px; padding: 18px 0; display: grid; }
.s01__item:last-child { border-bottom: 1px solid #1c1c1c1f; }
.s01__distance { font-family: var(--font-sans); color: #8a7a62; white-space: nowrap; padding-top: 2px; font-size: 13px; font-weight: 400; }
.s01__item-title { font-family: var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: #1c1c1c; margin-bottom: 6px; font-size: 11px; font-weight: 600; display: block; }
.s01__item-desc { font-family: var(--font-sans); color: #1c1c1ca6; font-size: 13px; font-weight: 400; line-height: 1.55; }
.s01__footnote { font-family: var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: #1c1c1c66; margin-top: 28px; font-size: 9px; font-weight: 400; line-height: 1.6; }
.s01 .reveal { opacity: 0; transform: translateY(20px); }
.s01 .reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 960px) {
  .s01__inner { grid-template-columns: 1fr; }
  .s01__map-wrap { height: min(42vh, 336px); max-height: none; }
}
@media (max-width: 520px) {
  .s01__item { grid-template-columns: 64px 1fr; gap: 12px; }
}

/* ================ Секция 02: Vista aérea ================ */
.s02 {
  --s02-ratio: 1512 / 952;
  height: 70vh;
  min-height: 440px;
  padding: 0 var(--section-pad-x) clamp(48px, 7vh, 80px);
  align-items: flex-end;
  display: flex;
  position: relative;
  overflow: hidden;
  background: #0a1520;
}
.s02__overlay { z-index: 1; position: absolute; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
.s02__overlay svg { width: 100%; height: 100%; display: block; }
.s02__perimeter-line {
  fill: none;
  stroke: #00c8ff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .5;
  filter: drop-shadow(0 0 4px #00c8ff) drop-shadow(0 0 10px #00aaff);
  stroke-dasharray: 18 8;
  animation: s02DashMove 1.8s linear infinite;
}
.s02__signal-dot {
  fill: #fff;
  opacity: .5;
  filter: drop-shadow(0 0 6px #00c8ff) drop-shadow(0 0 14px #ffffff);
}
.s02__signal-dot--secondary {
  fill: #00c8ff;
  opacity: .5;
  filter: drop-shadow(0 0 8px #00c8ff);
}
@keyframes s02DashMove { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -52; } }
@media (prefers-reduced-motion: reduce) {
  .s02__perimeter-line { animation: none; }
}
.s02__content {
  z-index: 3;
  flex-direction: column;
  gap: 18px;
  max-width: min(760px, 100%);
  display: flex;
  position: relative;
}
.s02__content::before {
  content: "";
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 130% 150% at 0% 100%, #000000bf 0%, #0000008c 38%, #00000038 62%, #0000 82%),
    linear-gradient(90deg, #000000a6 0%, #00000059 52%, #0000 100%);
  border-radius: 12px;
  position: absolute;
  inset: -28px -36px -34px -40px;
}
.s02__label {
  font-family: var(--font-sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
  font-size: 10px;
  font-weight: 500;
  display: flex;
  position: relative;
}
.s02__label-line { background: var(--gold); width: 28px; height: 1px; display: block; }
.s02__title {
  font-family: var(--font-serif);
  letter-spacing: -.02em;
  color: var(--white);
  text-shadow: 0 2px 18px #00000080;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.2;
  position: relative;
}

@media (max-width: 960px) {
  .s02 {
    height: auto;
    min-height: 0;
    aspect-ratio: var(--s02-ratio);
    max-height: min(72vh, 620px);
    padding: 0 var(--section-pad-x) clamp(32px, 5vh, 56px);
  }
}

@media (max-width: 600px) {
  .s02 {
    max-height: none;
    aspect-ratio: var(--s02-ratio);
    padding: 0 var(--section-pad-x) clamp(16px, 4vw, 28px);
  }
  .s02__content {
    gap: 10px;
    max-width: 100%;
  }
  .s02__content::before {
    inset: -10px -8px -14px -10px;
    border-radius: 8px;
    background:
      radial-gradient(ellipse 120% 140% at 0% 100%, #000000d9 0%, #000000a6 42%, #00000059 68%, #0000 88%),
      linear-gradient(90deg, #000000bf 0%, #00000073 55%, #0000 100%);
  }
  .s02__label {
    font-size: 9px;
    gap: 8px;
    letter-spacing: .18em;
  }
  .s02__label-line { width: 20px; }
  .s02__title {
    font-size: clamp(20px, 5.8vw, 30px);
    line-height: 1.25;
    text-shadow: 0 1px 12px #000000a6;
  }
}

@media (max-width: 380px) {
  .s02__title br { display: none; }
  .s02__title em { display: block; margin-top: 4px; }
}

/* ================ Секция 03: Características ================ */
.s03 { color: #1c1c1c; padding: var(--section-pad-y) var(--section-pad-x); background: #e8e4dc; }
.s03__inner { grid-template-columns: 1fr 1fr; align-items: start; gap: 60px; display: grid; }
.s03__media { background: #d8d0c3; height: clamp(340px, 45vw, 580px); position: relative; overflow: hidden; }
.s03__slide { object-fit: cover; object-position: center; opacity: 0; width: 100%; height: 100%; transition: opacity .7s var(--ease), transform 1.8s var(--ease); position: absolute; inset: 0; transform: scale(1.015); pointer-events: none; }
.s03__slide--active { opacity: 1; transform: scale(1); }
.s03__media:hover .s03__slide--active { transform: scale(1.03); }
.s03__timer { z-index: 2; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); background: #00000047; border: 1px solid #ffffff73; border-radius: 50%; place-items: center; width: 42px; height: 42px; display: grid; position: absolute; bottom: 18px; right: 18px; }
.s03__timer-svg { width: 42px; height: 42px; display: block; transform: rotate(-90deg); }
.s03__timer-track, .s03__timer-progress { fill: none; stroke-width: 2.5px; }
.s03__timer-track { stroke: #ffffff3d; }
.s03__timer-progress { stroke: #fff; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100px; animation: 4s linear forwards s03Timer; }
@keyframes s03Timer { to { stroke-dashoffset: 0; } }
.s03__text-col { flex-direction: column; gap: 20px; display: flex; }
.s03__title { font-family: var(--font-serif); letter-spacing: -.02em; color: #1c1c1c; font-size: clamp(30px, 4vw, 52px); font-weight: 400; line-height: 1.15; }
.s03__body { font-family: var(--font-sans); color: #1c1c1cbf; max-width: 420px; font-size: clamp(13px, 1.2vw, 15px); font-weight: 300; line-height: 1.8; }
.s03__list { flex-direction: column; gap: 0; padding-top: 8px; list-style: none; display: flex; }
.s03__list-item { letter-spacing: .06em; color: #1c1c1cc7; border-top: 1px solid #1c1c1c1f; align-items: flex-start; gap: 14px; padding: 11px 0; font-size: 15.6px; display: flex; -webkit-tap-highlight-color: transparent; }
.s03__list-dot { color: #8a7a62; font-size: 16px; line-height: 1; flex-shrink: 0; }
.s03__list-text { flex: 1; min-width: 0; }
/* Chrome/Safari иногда автоматически оборачивают цифры в <a> — убираем вид ссылки */
.s03__list-item a,
.s03__list-item a:link,
.s03__list-item a:visited,
.s03__list-item a:hover,
.s03__list-item a:active {
  color: inherit;
  text-decoration: none;
  pointer-events: none;
  cursor: text;
}

@media (max-width: 900px) {
  .s03__inner { grid-template-columns: 1fr; gap: 36px; }
  .s03__media { height: 280px; }
}

/* ================ Секция 05: Галерея с табами ================ */
.s05 { background: var(--dark-1); padding: var(--section-pad-y) var(--section-pad-x); }
.s05__inner { flex-direction: column; gap: 56px; display: flex; }
.s05__header { flex-direction: column; gap: 16px; max-width: 620px; display: flex; }
.s05__title { font-family: var(--font-serif); letter-spacing: -.02em; color: var(--white); font-size: clamp(32px, 4.5vw, 60px); font-weight: 400; line-height: 1.1; }
.s05__intro { font-family: var(--font-sans); color: var(--white-80); font-size: clamp(13px, 1.2vw, 15px); font-weight: 300; line-height: 1.8; }
.s05__gallery { flex-direction: column; gap: 24px; display: flex; }
.s05__tabs { flex-wrap: wrap; gap: 8px; display: flex; }
.s05__tab { border: 1px solid var(--white-10); color: var(--white-50); letter-spacing: .12em; text-transform: uppercase; padding: 10px 18px; font-size: 11px; font-weight: 500; transition: background .25s, border-color .25s, color .25s; }
.s05__tab:hover, .s05__tab--active { background: var(--gold-10); border-color: var(--gold); color: var(--gold); }
.s05__viewer { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; gap: 24px; display: grid; }
.s05__main-photo { background: var(--dark-2); min-height: 560px; position: relative; overflow: hidden; }
.s05__main-photo img { object-fit: cover; object-position: center top; width: 100%; height: 100%; animation: s05FadeIn .5s var(--ease) both; display: block; }
.s05__photo-label { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--white-20); background: #00000085; align-items: center; gap: 14px; padding: 10px 14px; display: flex; position: absolute; bottom: 18px; left: 18px; }
.s05__photo-label span, .s05__photo-label strong { font-family: var(--font-sans); letter-spacing: .16em; text-transform: uppercase; font-size: 10px; }
.s05__photo-label span { color: var(--white-80); }
.s05__photo-label strong { color: var(--gold); font-weight: 500; }
.s05__side { background: var(--dark-2); flex-direction: column; gap: 22px; padding: 22px; display: flex; }
.s05__group-title { font-family: var(--font-serif); color: var(--white); margin-bottom: 12px; font-size: 34px; font-weight: 400; line-height: 1; }
.s05__group-desc { font-family: var(--font-sans); color: var(--white-80); font-size: 13px; font-weight: 300; line-height: 1.7; }
.s05__thumbs { grid-template-columns: 1fr 1fr; gap: 8px; display: grid; }
.s05__thumb { aspect-ratio: 1.25; opacity: .62; border: 1px solid #0000; transition: opacity .25s, border-color .25s; position: relative; overflow: hidden; cursor: pointer; padding: 0; }
.s05__thumb:hover, .s05__thumb--active { opacity: 1; border-color: var(--gold); }
.s05__thumb img { object-fit: cover; object-position: center top; width: 100%; height: 100%; display: block; }
@keyframes s05FadeIn { 0% { opacity: 0; transform: scale(1.015); } to { opacity: 1; transform: scale(1); } }

@media (max-width: 900px) {
  .s05__inner { gap: 20px; }
  .s05__header { gap: 8px; }
  .s05__gallery { gap: 16px; }
  .s05__tab:not(.s05__tab--active) { border-color: rgba(255, 255, 255, 0.14); }
  .s05__photo-label,
  .s05__group-title,
  .s05__group-desc,
  .s05__side > div:first-child { display: none; }
  .s05__viewer { grid-template-columns: 1fr; gap: 0; }
  .s05__main-photo {
    min-height: 0;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 10px;
    display: flex;
  }
  .s05__main-photo > img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    flex-shrink: 0;
  }
  .s05__main-photo .s05__thumbs {
    width: 100%;
    padding: 0 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .s05__main-photo .s05__thumb { aspect-ratio: 4 / 3; }
  .s05__side { display: none; }
}

/* ================ Секция 06v: Cinemagraph ================ */
.s06v { background: radial-gradient(circle at 50% 20%, #ffffff0a, transparent 32%), var(--black); padding: clamp(70px, 9vh, 120px) var(--section-pad-x); }
.s06v__inner { flex-direction: column; gap: 18px; max-width: 980px; margin: 0 auto; display: flex; }
.s06v__top { font-family: var(--font-sans); letter-spacing: .28em; text-transform: uppercase; color: var(--white-50); justify-content: space-between; align-items: center; gap: 24px; font-size: 9px; font-weight: 500; display: flex; }
.s06v__top span:last-child { padding-left: 14px; position: relative; }
.s06v__top span:last-child:before { content: ""; background: var(--gold); border-radius: 50%; width: 4px; height: 4px; position: absolute; top: 50%; left: 0; transform: translateY(-50%); }
.s06v__header { flex-direction: column; display: flex; }
.s06v__title { font-family: var(--font-serif); letter-spacing: -.02em; color: var(--white); font-size: clamp(32px, 4.5vw, 60px); font-weight: 400; line-height: 1.1; }
.s06v__title em { display: inline; }
.s06v__player {
  background: var(--dark-2);
  border: 1px solid var(--white-10);
  width: 100%;
  height: 500px;
  min-height: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
}
.s06v__media {
  object-fit: cover;
  object-position: center;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  inset: 0;
}
.s06v__player iframe.s06v__media {
  border: 0;
  object-fit: initial;
  transform: scale(1.12);
  transform-origin: center center;
}
.s06v__poster { display: none; }
.s06v__shade { background: linear-gradient(#0000 58%, #000000c2), linear-gradient(90deg, #00000061, #0000 42%); position: absolute; inset: 0; }
.s06v__play { border: 1px solid var(--white-20); width: 42px; height: 42px; color: var(--white); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); z-index: 3; background: #00000047; border-radius: 50%; place-items: center; transition: border-color .25s, background .25s; display: grid; position: absolute; bottom: 26px; right: 18px; }
.s06v__play:hover { border-color: var(--gold); background: #c5a46a1f; }
.s06v__play span { margin-left: 3px; font-size: 12px; display: block; }
.s06v__fullscreen { z-index: 3; border: 1px solid var(--white-20); width: 42px; height: 42px; color: var(--white); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); background: #00000047; border-radius: 50%; place-items: center; transition: border-color .25s, background .25s; display: grid; position: absolute; top: 18px; right: 18px; }
.s06v__fullscreen:hover { border-color: var(--gold); background: #c5a46a1f; }
.s06v__fullscreen span { font-size: 15px; line-height: 1; display: block; }
.s06v__modal { z-index: 1200; background: #000000b3; justify-content: center; align-items: center; padding: 24px; display: none; position: fixed; inset: 0; }
.s06v__modal.is-open { display: flex; }
.s06v__modal-dialog { background: #050505; border: 1px solid var(--white-20); width: min(92vw, 1480px); height: min(86vh, 920px); position: relative; overflow: hidden; }
.s06v__modal-content { width: 100%; height: 100%; }
.s06v__modal-media { border: 0; width: 100%; height: 100%; display: block; }
.s06v__modal-close { z-index: 2; border: 1px solid var(--white-20); width: 42px; height: 42px; color: var(--white); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); background: #00000070; border-radius: 50%; place-items: center; transition: border-color .25s, background .25s; display: grid; position: absolute; top: 14px; right: 14px; }
.s06v__modal-close:hover { border-color: var(--gold); background: #c5a46a1f; }
.s06v__modal-close span { font-size: 18px; line-height: 1; display: block; }
.s06v__mute { z-index: 3; border: 1px solid var(--white-20); width: 42px; height: 42px; color: var(--white); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); background: #00000047; border-radius: 50%; place-items: center; transition: border-color .25s, background .25s; display: grid; position: absolute; top: 18px; left: 18px; }
.s06v__mute:hover { border-color: var(--gold); background: #c5a46a1f; }
.s06v__mute span { font-size: 14px; line-height: 1; display: block; }
.s06v__next { z-index: 3; border: 1px solid var(--white-20); width: 42px; height: 42px; color: var(--white); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); background: #00000047; border-radius: 50%; place-items: center; transition: border-color .25s, background .25s; display: grid; position: absolute; bottom: 26px; right: 18px; }
.s06v__next:hover { border-color: var(--gold); background: #c5a46a1f; }
.s06v__next span { font-family: var(--font-serif); margin-top: -3px; font-size: 26px; line-height: 1; }
.s06v__caption { z-index: 3; flex-direction: column; align-items: flex-start; gap: 4px; display: flex; position: absolute; bottom: 18px; left: 18px; }
.s06v__caption span, .s06v__caption strong { color: var(--white); }
.s06v__caption span { font-family: var(--font-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--white-50); font-size: 9px; }
.s06v__caption strong { font-family: var(--font-serif); font-size: clamp(22px, 2.4vw, 34px); font-style: italic; font-weight: 400; }
.s06v__bottom { grid-template-columns: 1fr 1fr 1fr; gap: 8px; display: grid; }
.s06v__caption-count--desktop { display: none; }
.s06v__thumb, .s06v__info { background: var(--dark-2); border: 1px solid var(--white-10); min-height: 150px; }
.s06v__thumb { position: relative; overflow: hidden; }
.s06v__thumb img { object-fit: cover; filter: brightness(.92) saturate(); width: 100%; height: 100%; transition: transform .7s var(--ease); display: block; }
.s06v__thumb:hover img { transform: scale(1.04); }
.s06v__thumb-media {
  border: 0;
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  inset: 0;
  transform: scale(1.14);
  transform-origin: center center;
}
.s06v__thumb span { font-family: var(--font-serif); letter-spacing: -.02em; color: var(--white); text-shadow: 0 4px 18px #000000e0, 0 1px 2px #000000; z-index: 2; font-size: clamp(15.4px, 1.68vw, 23.8px); font-style: normal; font-weight: 400; line-height: 1.1; position: absolute; bottom: 12px; left: 14px; }
.s06v__info { flex-direction: column; justify-content: space-between; gap: 20px; padding: 24px; display: flex; }
.s06v__info span { font-family: var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-size: 10px; font-weight: 500; line-height: 1.5; }
.s06v__info p { font-family: var(--font-sans); color: var(--white-80); font-size: 12px; font-weight: 300; line-height: 1.7; }
.s06v__info a { width: fit-content; font-family: var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--white); border-bottom: 1px solid var(--gold); padding-bottom: 5px; font-size: 10px; }

@media (max-width: 900px) {
  .s06v__inner { max-width: none; }
  .s06v__player { width: 100%; height: 500px; min-height: 500px; }
  .s06v__bottom { grid-template-columns: 1fr; }
  .s06v__thumb--desktop-only { display: none; }
  .s06v__caption-count--desktop { display: none; }
  .s06v__caption-count--mobile { display: inline; }
}
@media (min-width: 901px) {
  .s06v__caption-count--mobile { display: none; }
  .s06v__caption-count--desktop { display: inline; }
}
@media (max-width: 560px) {
  .s06v__top { flex-direction: column; align-items: flex-start; }
  .s06v__play { right: 18px; }
  .s06v__modal { padding: 12px; }
  .s06v__modal-dialog { width: 100%; height: min(78vh, 560px); }
}

/* ================ Секция 06: Tour 360 ================ */
.s06 { min-height: 80vh; padding: var(--section-pad-y) var(--section-pad-x); align-items: center; display: flex; position: relative; overflow: hidden; }
.s06__bg { filter: brightness(.35); background-image: url(../images/Noa-garden-360.jpg); background-position: 50% 30%; background-size: cover; position: absolute; inset: 0; }
.s06__overlay { z-index: 1; background: radial-gradient(#0000 0%, #0009 100%); position: absolute; inset: 0; }
.s06__content { z-index: 2; flex-direction: column; gap: 20px; max-width: 600px; display: flex; position: relative; }
.s06__title { font-family: var(--font-serif); letter-spacing: -.02em; color: var(--white); font-size: clamp(48px, 7vw, 96px); font-weight: 400; line-height: 1; }
.s06__body { font-family: var(--font-sans); color: var(--white-80); max-width: 420px; font-size: clamp(13px, 1.2vw, 15px); font-weight: 300; line-height: 1.8; }
.s06__cta { font-family: var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); border: 2px solid var(--gold); background: transparent; align-items: center; gap: 8px; width: fit-content; margin-top: 8px; padding: 13px 24px; font-size: 12px; font-weight: 500; transition: background .2s, border-color .2s, color .2s; display: inline-flex; }
.s06__cta:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }

/* ================ Футер ================ */
.footer { background: var(--black); border-top: 1px solid var(--white-10); padding: clamp(60px, 8vh, 100px) var(--section-pad-x) 36px; }
.footer__inner { flex-direction: column; gap: 48px; display: flex; }
.footer__top { grid-template-columns: 1.4fr 1fr 1fr; align-items: start; gap: 40px; display: grid; }
.footer__logo { align-items: center; width: 179px; height: 64px; margin-bottom: 12px; display: inline-flex; }
.footer__logo-img { object-fit: contain; object-position: left center; width: 100%; height: 100%; display: block; }
.footer__tagline { letter-spacing: .16em; text-transform: uppercase; color: var(--white-50); margin-top: 6px; font-size: 11px; }
.footer__nav-title { font-family: var(--font-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--white-50); margin-bottom: 16px; font-size: 10px; font-weight: 500; }
.footer__nav-list { flex-direction: column; gap: 10px; list-style: none; display: flex; }
.footer__nav-link { font-family: var(--font-sans); color: var(--white-80); font-size: 13px; font-weight: 300; transition: color .2s; }
.footer__nav-link:hover { color: var(--white); }
.footer__contact { flex-direction: column; gap: 10px; display: flex; }
.footer__contact-link { font-family: var(--font-sans); color: var(--white-80); font-size: 13px; font-weight: 300; line-height: 1.4; transition: color .2s; }
.footer__contact-link:hover { color: var(--gold); }
.footer__social { gap: 10px; margin-top: 10px; display: flex; }
.footer__social-btn { border: 1px solid var(--white-20); width: 36px; height: 36px; color: var(--white-80); border-radius: 50%; justify-content: center; align-items: center; transition: border-color .2s, color .2s, background .2s; display: flex; }
.footer__social-btn:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-10); }
.footer__social-icon { flex-shrink: 0; width: 20px; height: 20px; display: block; }
.footer__divider { background: var(--white-10); height: 1px; }
.footer__bottom { flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; display: flex; }
.footer__legal { color: var(--white-50); letter-spacing: .04em; font-size: 11px; }
.footer__bottom-links { gap: 20px; display: flex; }
.footer__bottom-link { color: var(--white-50); font-size: 11px; transition: color .2s; }
.footer__bottom-link:hover { color: var(--white); }

@media (max-width: 1000px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__logo { width: 120px; height: 48px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ================ Kuula 360° Lightbox ================ */
.kuula-modal { z-index: 1400; display: none; position: fixed; inset: 0; }
.kuula-modal.is-open { display: block; }
.kuula-modal__backdrop { background: #000000d9; position: absolute; inset: 0; cursor: pointer; }
.kuula-modal__dialog { background: #050505; border: 1px solid var(--white-20); width: min(94vw, 1480px); height: min(88vh, 920px); position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); overflow: hidden; }
.kuula-modal__content { width: 100%; height: 100%; }
.kuula-modal__content iframe { border: 0; width: 100%; height: 100%; display: block; }
.kuula-modal__close { z-index: 2; cursor: pointer; border: 1px solid var(--white-20); width: 44px; height: 44px; color: var(--white); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); background: #00000070; border-radius: 50%; place-items: center; transition: border-color .25s, background .25s; display: grid; position: absolute; top: 14px; right: 56px; }
.kuula-modal__close:hover { border-color: var(--gold); background: #c5a46a1f; }
.kuula-modal__close span { font-size: 18px; line-height: 1; display: block; }
@media (max-width: 600px) {
  .kuula-modal__dialog { width: 100%; height: 100%; border: 0; }
}

/* ================ Prices PDF Modal ================ */
.prices-modal { z-index: 1450; display: none; position: fixed; inset: 0; }
.prices-modal.is-open { display: block; }
.prices-modal__backdrop { background: #00000082; position: absolute; inset: 0; cursor: pointer; }
.prices-modal__dialog {
  background: #050505;
  border: 1px solid var(--white-20);
  width: min(94vw, 1100px);
  height: min(90vh, 860px);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
}
.prices-modal__viewer { width: 100%; height: 100%; min-height: 0; flex: 1; }
.prices-modal__iframe { border: 0; width: 100%; height: 100%; display: block; }
.prices-modal__close {
  z-index: 2;
  cursor: pointer;
  border: 1px solid var(--white-20);
  width: 44px;
  height: 44px;
  color: var(--white);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: #00000070;
  border-radius: 50%;
  place-items: center;
  transition: border-color .25s, background .25s;
  display: grid;
  position: absolute;
  top: 14px;
  right: 14px;
}
.prices-modal__close:hover { border-color: var(--gold); background: #c5a46a1f; }
.prices-modal__close span { font-size: 18px; line-height: 1; display: block; }
@media (max-width: 900px) {
  .prices-modal__dialog {
    width: 100%;
    max-width: 100vw;
    height: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border: 0;
    transform: none;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    padding:
      env(safe-area-inset-top, 0)
      env(safe-area-inset-right, 0)
      env(safe-area-inset-bottom, 0)
      env(safe-area-inset-left, 0);
    box-sizing: border-box;
  }
  .prices-modal__viewer {
    flex: 1;
    min-height: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  .prices-modal__iframe {
    width: 100%;
    height: 100%;
    min-height: 100%;
  }
}

/* ================ Contact Form Modal ================ */
.contact-modal { z-index: 1500; display: none; position: fixed; inset: 0; }
.contact-modal.is-open { display: block; }
.contact-modal__backdrop { background: #00000082; position: absolute; inset: 0; cursor: pointer; }
.contact-modal__dialog {
  background: #0a0a0a;
  border: 1px solid var(--white-10);
  width: min(92vw, 480px);
  max-height: min(90vh, 680px);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: auto;
  box-shadow: 0 32px 80px -20px #000000bf;
}
.contact-modal__close {
  z-index: 2;
  cursor: pointer;
  border: 1px solid var(--white-20);
  width: 40px;
  height: 40px;
  color: var(--white);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: #00000070;
  border-radius: 50%;
  place-items: center;
  transition: border-color .25s, background .25s;
  display: grid;
  position: absolute;
  top: 16px;
  right: 16px;
}
.contact-modal__close:hover { border-color: var(--gold); background: #c5a46a1f; }
.contact-modal__close span { font-size: 16px; line-height: 1; display: block; }
.contact-modal__inner { padding: 40px 36px 36px; }
.contact-modal__header { margin-bottom: 28px; padding-right: 36px; }
.contact-modal__label { margin-bottom: 12px; display: block; }
.contact-modal__title {
  font-family: var(--font-serif);
  letter-spacing: -.02em;
  color: var(--white);
  margin-bottom: 10px;
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 400;
  line-height: 1.15;
}
.contact-modal__desc {
  font-family: var(--font-sans);
  color: var(--white-50);
  max-width: 36ch;
  font-size: 14px;
  line-height: 1.6;
}
.contact-modal__form { flex-direction: column; gap: 18px; display: flex; }
.contact-modal__field { flex-direction: column; gap: 8px; display: flex; }
.contact-modal__field-label {
  font-family: var(--font-sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white-50);
  font-size: 10px;
  font-weight: 500;
}
.contact-modal__input {
  font-family: var(--font-sans);
  color: var(--white);
  background: var(--dark-2);
  border: 1px solid var(--white-10);
  width: 100%;
  padding: 13px 16px;
  font-size: 15px;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.contact-modal__input::placeholder { color: var(--white-50); opacity: .45; }
.contact-modal__input:hover { border-color: var(--white-20); }
.contact-modal__input:focus {
  outline: none;
  border-color: var(--gold-20);
  background: var(--dark-1);
  box-shadow: 0 0 0 1px var(--gold-10);
}
.contact-modal__input:invalid:not(:placeholder-shown) { border-color: #c45c5c66; }
.contact-modal__submit {
  font-family: var(--font-sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  border: 1px solid var(--gold);
  width: 100%;
  margin-top: 6px;
  padding: 14px 24px;
  font-size: 12px;
  font-weight: 600;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.contact-modal__submit:hover { background: var(--gold-light); transform: translateY(-1px); }
.contact-modal__submit:active { transform: translateY(0); }
.contact-modal__submit:disabled { opacity: .65; cursor: not-allowed; transform: none; }
.contact-modal__error {
  font-family: var(--font-sans);
  color: #e8a0a0;
  border: 1px solid #c45c5c44;
  background: #c45c5c14;
  margin-top: 4px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.5;
}
.contact-modal__success { text-align: center; padding: 24px 0 8px; }
.contact-modal__success-icon {
  color: var(--gold);
  border: 1px solid var(--gold-20);
  background: var(--gold-10);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  font-size: 22px;
  line-height: 50px;
  display: block;
}
.contact-modal__success-title {
  font-family: var(--font-serif);
  color: var(--white);
  margin-bottom: 8px;
  font-size: 24px;
  font-weight: 400;
}
.contact-modal__success-text {
  font-family: var(--font-sans);
  color: var(--white-50);
  font-size: 14px;
  line-height: 1.6;
}
@media (max-width: 600px) {
  .contact-modal__dialog { width: 100%; max-height: 100%; height: 100%; border: 0; transform: none; top: 0; left: 0; }
  .contact-modal__inner { padding: 32px 24px 28px; }
  .contact-modal__header { padding-right: 44px; }
}

/* ================ Legal text modal ================ */
.legal-modal { z-index: 1550; display: none; position: fixed; inset: 0; }
.legal-modal.is-open { display: block; }
.legal-modal__backdrop { background: #00000082; position: absolute; inset: 0; cursor: pointer; }
.legal-modal__dialog {
  background: #0a0a0a;
  border: 1px solid var(--white-10);
  width: min(94vw, 720px);
  max-height: min(92vh, 880px);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 32px 80px -20px #000000bf;
}
.legal-modal__close {
  z-index: 3;
  cursor: pointer;
  border: 1px solid var(--white-20);
  width: 40px;
  height: 40px;
  color: var(--white);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: #00000070;
  border-radius: 50%;
  place-items: center;
  transition: border-color .25s, background .25s;
  display: grid;
  position: absolute;
  top: 16px;
  right: 16px;
}
.legal-modal__close:hover { border-color: var(--gold); background: #c5a46a1f; }
.legal-modal__close span { font-size: 16px; line-height: 1; display: block; }
.legal-modal__panels { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.legal-modal__panel {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 40px 36px 32px;
}
.legal-modal__panel[hidden] { display: none !important; }
.legal-modal__head { flex-shrink: 0; padding-right: 44px; margin-bottom: 20px; }
.legal-modal__label { margin-bottom: 10px; display: block; }
.legal-modal__title {
  font-family: var(--font-serif);
  letter-spacing: -.02em;
  color: var(--white);
  margin-bottom: 8px;
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 400;
  line-height: 1.2;
}
.legal-modal__updated {
  color: var(--white-50);
  font-size: 13px;
}
.legal-modal__content {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: 8px;
  -webkit-overflow-scrolling: touch;
}
.legal-modal__content .legal-page__section + .legal-page__section { margin-top: 28px; }
.legal-modal__content .legal-page__heading {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 12px;
}
.legal-modal__content .legal-page__section p {
  color: var(--white-80);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 10px;
}
.legal-modal__content .legal-page__section p:last-child { margin-bottom: 0; }
.legal-modal__content .legal-page__section a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-modal__content .legal-page__section a:hover { color: var(--gold); }
.legal-modal__content .legal-page__section strong { color: var(--white); font-weight: 500; }
@media (max-width: 600px) {
  .legal-modal__dialog {
    width: 100%;
    max-height: 100%;
    height: 100%;
    border: 0;
    transform: none;
    top: 0;
    left: 0;
  }
  .legal-modal__panel { padding: 32px 24px 24px; }
  .legal-modal__head { padding-right: 48px; }
}

/* ================ WhatsApp Float ================ */
.wa-float {
  z-index: 1300;
  color: var(--white);
  background: #25d366;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  box-shadow: 0 8px 24px #00000059, 0 2px 8px #25d36666;
  justify-content: center;
  align-items: center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  display: flex;
  position: fixed;
  right: 40px;
  bottom: 40px;
}
.wa-float:hover {
  background: #20bd5a;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 32px #00000066, 0 4px 12px #25d36680;
}
.wa-float__icon { display: block; }
@media (max-width: 600px) {
  .wa-float { width: 52px; height: 52px; right: 28px; bottom: 28px; }
  .wa-float__icon { width: 26px; height: 26px; }
}

/* ================ Legal pages ================ */
.legal-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--black);
}
.legal-header {
  border-bottom: 1px solid var(--white-10);
  background: var(--nav-green);
  padding: 16px var(--section-pad-x);
}
.legal-header__inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.legal-header__logo img { width: 120px; height: auto; opacity: .95; }
.legal-header__back {
  color: var(--white-80);
  font-size: 13px;
  letter-spacing: .04em;
  transition: color .2s;
}
.legal-header__back:hover { color: var(--gold-light); }
.legal-page {
  flex: 1;
  padding: clamp(48px, 8vh, 96px) var(--section-pad-x) clamp(64px, 10vh, 120px);
}
.legal-page__article {
  max-width: 720px;
  margin: 0 auto;
}
.legal-page__label {
  color: var(--gold);
  margin-bottom: 12px;
}
.legal-page__title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 12px;
}
.legal-page__updated {
  color: var(--white-50);
  font-size: 13px;
  margin-bottom: 40px;
}
.legal-page__section + .legal-page__section { margin-top: 36px; }
.legal-page__heading {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 14px;
}
.legal-page__section p {
  color: var(--white-80);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 12px;
}
.legal-page__section p:last-child { margin-bottom: 0; }
.legal-page__section a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-page__section a:hover { color: var(--gold); }
.legal-page__section strong { color: var(--white); font-weight: 500; }
.legal-footer {
  border-top: 1px solid var(--white-10);
  padding: 28px var(--section-pad-x) 36px;
  background: var(--dark-1);
}
.legal-footer__links {
  max-width: 720px;
  margin: 0 auto 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.legal-footer__links a {
  color: var(--white-50);
  font-size: 12px;
  transition: color .2s;
}
.legal-footer__links a:hover { color: var(--white); }
.legal-footer__copy {
  max-width: 720px;
  margin: 0 auto;
  color: var(--white-50);
  font-size: 11px;
  letter-spacing: .04em;
}
@media (max-width: 600px) {
  .legal-header__inner { flex-direction: column; align-items: flex-start; }
}
