/* ============================================================
   AZANOV RETREAT — DESIGN SYSTEM
   Private Retreats from A to Z
   ============================================================ */

/* Google Fonts loaded async via <head> in HTML to avoid render-blocking */

/* ---- TOKENS ---- */
:root {
  --teal: #40E0D0;
  --teal-dim: #2AB5A7;
  --teal-light: #E0F7FA;
  --gold: #C9A84C;
  --gold-light: #F0D98A;
  --deep: #003344;
  --bg: #06101A;
  --bg-2: #080F18;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-2: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.10);
  --border-teal: rgba(64, 224, 208, 0.25);
  --text: #EEF4F6;
  --text-muted: #7A9BA8;
  --text-dim: #3A5A68;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-xl: 48px;
  --shadow-glass: 0 8px 40px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 255, 255, 0.07) inset;
  --shadow-card: 0 24px 80px rgba(0, 0, 0, 0.6);
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-head: 'Cormorant', Georgia, serif;
  --font-body: 'PT Sans', system-ui, sans-serif;
}

/* ---- i18n FOUC PREVENTION (targeted) ---- */
/* Only the hero title flashes visibly — hide just that element.
   Global visibility:hidden on all [data-i18n] hurts LCP score. */
.hero__title {
  visibility: hidden;
}
body.i18n-ready .hero__title {
  visibility: visible;
  animation: i18n-fadein 0.15s ease both;
}
@keyframes i18n-fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============================================================
   PRELOADER — full-screen overlay (SEO-safe: content is in DOM
   underneath, crawlers read it via <noscript> or headless mode)
   ============================================================ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.45s ease;
  pointer-events: all;
}
#preloader.pl-done {
  opacity: 0;
  pointer-events: none;
}
.pl-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  width: min(400px, 88vw);
}
.pl-logo {
  height: 6rem;
  width: auto;
  opacity: 0.92;
  animation: pl-pulse 2.2s ease-in-out infinite alternate;
}
@keyframes pl-pulse {
  from { opacity: 0.75; transform: translateY(0); }
  to   { opacity: 1;    transform: translateY(-4px); }
}
.pl-bar-wrap {
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 99px;
  overflow: hidden;
}
.pl-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--teal-dim), var(--teal));
  border-radius: 99px;
  transition: width 0.1s linear;
  box-shadow: 0 0 12px rgba(64, 224, 208, 0.5);
}
.pl-footer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-family: var(--font-body);
}
.pl-status {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  flex: 1;
}
.pl-speed {
  font-size: 0.72rem;
  color: var(--teal-dim);
  font-variant-numeric: tabular-nums;
  min-width: 5rem;
  text-align: center;
}
.pl-pct {
  font-size: 0.78rem;
  color: var(--teal);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  min-width: 2.5rem;
  text-align: right;
}
/* Reduced motion: skip animation, hide immediately */
@media (prefers-reduced-motion: reduce) {
  #preloader { transition: none; }
  .pl-logo   { animation: none; }
  #preloader.pl-done { display: none; }
  #pl-bg { transition: none; }
}

/* ── Phase 2: Background pill ── */
#pl-bg {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: rgba(6, 16, 26, 0.92);
  border: 1px solid rgba(64, 224, 208, 0.2);
  border-radius: 12px;
  padding: 0.6rem 0.9rem;
  min-width: 160px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.35s ease;
  pointer-events: none;
}
#pl-bg.pl-bg--visible {
  transform: translateY(0);
  opacity: 1;
}
.pl-bg__bar-wrap {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
}
.pl-bg__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--teal-dim), var(--teal));
  border-radius: 99px;
  transition: width 0.3s ease;
}
.pl-bg__label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--text-muted);
}
.pl-bg__icon {
  font-size: 0.75rem;
  line-height: 1;
}

/* ---- RESET & BASE ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}

input,
select,
textarea {
  font-family: var(--font-body);
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--teal-dim);
  border-radius: 3px;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.h-display {
  font-family: var(--font-head);
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 700;
  line-height: 1em;
  letter-spacing: -0.02em;
}

.h1 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 5rem);
  font-weight: 700;
  line-height: 1em;
  letter-spacing: -0.02em;
}

.h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1em;
  letter-spacing: -0.02em;
}

.h3 {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 600;
  line-height: 1em;
}

.h4 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1em;
}

.label-upper {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
}

.body-lg {
  font-size: 1.125rem;
  line-height: 1.7;
}

.body-md {
  font-size: 1rem;
  line-height: 1.65;
}

.body-sm {
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 4rem);
}

.container-narrow {
  max-width: 900px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 4rem);
}

.section-pad {
  padding-block: clamp(4rem, 8vw, 8rem);
}

.section-pad-sm {
  padding-block: clamp(2rem, 4vw, 4rem);
}

#fleet {
  padding-bottom: 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gap-1 {
  gap: 0.5rem;
}

.gap-2 {
  gap: 1rem;
}

.gap-3 {
  gap: 1.5rem;
}

.gap-4 {
  gap: 2rem;
}

.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mt-8 {
  margin-top: 4rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 0;
}

.nav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.25rem 32px;
  width: 100%;
  box-sizing: border-box;
  /* Grid 1fr-auto-1fr: left and right columns are equal, so center is always
     the true visual center of the viewport regardless of logo/button widths */
}

/* Grid center column — always perfectly centered between logo and buttons */
.nav__menu-wrap {
  position: static;
  transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  margin: 0;
  border-radius: 24px;
  min-height: 3.5rem;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.nav--scrolled .nav__menu-wrap {
  background: rgba(6, 16, 26, 0.92);
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
}

.nav__logo-img {
  height: 6.75rem;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav__links a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s ease;
  text-align: center;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  min-height: 2.75rem;
}

.nav__links a:hover {
  color: var(--teal);
  background: rgba(255, 255, 255, 0.06);
}

.nav__links a.active {
  color: var(--teal);
  background: rgba(6, 180, 165, 0.12);
}

.nav__links .nav__icon {
  flex-shrink: 0;
  opacity: 0.85;
  width: 18px !important;
  height: 18px !important;
}

.nav__links a:hover .nav__icon,
.nav__links a.active .nav__icon {
  opacity: 1;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  justify-self: end; /* Grid: push to far right of the 3rd column */
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.lang-btn {
  background: none;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-btn:hover {
  color: var(--teal);
  border-color: var(--border-teal);
}

.lang-btn--active {
  color: var(--teal);
  border-color: var(--border-teal);
}

.lang-separator {
  color: var(--border);
}

/* Mobile: AZ-only logo image (hidden on desktop) */
.nav__logo-az {
  display: none;
  height: 2rem;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

/* Burger button (hidden on desktop) */
.nav__burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.nav__burger:hover {
  color: var(--teal);
  border-color: var(--border-teal);
  background: rgba(6, 180, 165, 0.1);
}

.nav__burger i {
  width: 1.25rem;
  height: 1.25rem;
}

/* Mobile menu overlay & drawer */
.nav__overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.nav__drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: min(280px, 85vw);
  max-width: 280px;
  height: 100%;
  height: 100dvh;
  z-index: 1002;
  background: var(--bg);
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  flex-direction: column;
  overflow: hidden;
  padding: 1rem 0;
  box-sizing: border-box;
}

.nav__drawer-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.nav__drawer-close:hover {
  color: var(--teal);
  border-color: var(--border-teal);
  background: rgba(6, 180, 165, 0.1);
}

/* Popup close hover: when hovering overlay (empty area), close button shows hover */
.nav__overlay:hover .nav__drawer:not(:hover) .nav__drawer-close {
  color: var(--teal);
  border-color: var(--border-teal);
  background: rgba(6, 180, 165, 0.1);
}

.nav__drawer-links {
  list-style: none;
  margin: 3.5rem 1rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex-shrink: 0;
}

.nav__drawer-links a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 12px;
  transition: color 0.2s, background 0.2s;
}

.nav__drawer-links a:hover,
.nav__drawer-links a.active {
  color: var(--teal);
  background: rgba(6, 180, 165, 0.12);
}

.nav__drawer-links .nav__icon {
  width: 18px !important;
  height: 18px !important;
  opacity: 0.85;
  flex-shrink: 0;
}

.nav__drawer-lang {
  margin: 1rem 1rem 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.nav__drawer-cta {
  margin: 1rem 1rem 0;
  flex-shrink: 0;
}

.nav__drawer-cta .btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 768px) {
  .lang-switcher {
    order: 2;
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: var(--radius-xl);
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}

a.btn {
  padding-left: 2rem;
}

.btn-primary {
  background: var(--teal);
  color: #000;
  padding: 0.875rem 2rem;
  font-size: 0.95rem;
}

.btn-primary:hover {
  background: var(--teal-dim);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(64, 224, 208, 0.35);
}

.btn-primary-lg {
  background: var(--teal);
  color: #000;
  padding: 1.125rem 2rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.btn-primary-lg:hover {
  background: var(--teal-dim);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(64, 224, 208, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 0.875rem 2rem;
  font-size: 0.95rem;
}

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.btn-ghost-lg {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 1.125rem 2.75rem;
  font-size: 1.1rem;
}

.btn-ghost-lg:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.05);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25D366;
  color: #000;
  padding: 0.875rem 2rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.btn-whatsapp .lucide,
.btn-whatsapp svg {
  color: #000;
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.btn-whatsapp:hover {
  background: #20BA5A;
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #1A0A00;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 700;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #B89840, #D4B85C);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.4);
}

button.btn.btn-gold {
  padding-left: 32px;
  padding-right: 32px;
}

span.btn.btn-gold {
  padding-left: 24px;
  padding-right: 24px;
}

.btn-teal {
  background: linear-gradient(135deg, var(--teal), var(--teal-dim));
  color: var(--deep);
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 700;
}

.btn-teal:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(64, 224, 208, 0.4);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
}

.btn-icon {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border-radius: 50%;
}

.btn-full {
  width: 100%;
}

/* ============================================================
   GLASS CARD
   ============================================================ */
.glass-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glass);
}

.glass-card-sm {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.glass-card-teal {
  background: rgba(64, 224, 208, 0.07);
  border: 1px solid var(--border-teal);
  border-radius: var(--radius-md);
}

/* ============================================================
   BADGES & CHIPS — yacht style: dark blue bg, gold/teal text, matching border
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 600;
}

.badge-teal {
  background: #0d1b2a;
  color: var(--teal);
  border: 1px solid var(--teal);
}

.badge-gold {
  background: #0d1b2a;
  color: var(--gold-light);
  border: 1px solid var(--gold-light);
}

.badge-white {
  background: #0d1b2a;
  color: var(--gold-light);
  border: 1px solid var(--gold-light);
}

.badge-green {
  background: #0d1b2a;
  color: #4EE88B;
  border: 1px solid #4EE88B;
}

/* ============================================================
   WATER ANIMATION
   ============================================================ */
.water-bg {
  position: relative;
  overflow: hidden;
}

.water-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 120% 80% at 20% 60%, rgba(64, 224, 208, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 100% 60% at 80% 30%, rgba(0, 51, 68, 0.6) 0%, transparent 70%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--deep) 100%);
  animation: water-drift 12s ease-in-out infinite alternate;
}

.water-bg>* {
  position: relative;
  z-index: 1;
}

@keyframes water-drift {
  0% {
    background-position: 0% 50%;
    opacity: 1;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
    opacity: 0.85;
  }
}

.water-shimmer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: repeating-linear-gradient(-45deg,
      transparent 0px,
      transparent 80px,
      rgba(64, 224, 208, 0.025) 80px,
      rgba(64, 224, 208, 0.025) 82px);
  animation: shimmer-move 20s linear infinite;
}

@keyframes shimmer-move {
  0% {
    transform: translateX(-100px) translateY(-100px);
  }

  100% {
    transform: translateX(100px) translateY(100px);
  }
}

/* Wave decorative SVG divider */
.wave-divider {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  /* Offset for fixed navbar */
  padding-bottom: 5rem;
}

@media (min-width: 768px) {
  .hero {
    padding-top: 140px;
  }
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #001825 0%, #003344 50%, #001020 100%);
}

.hero__bg-img {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
  animation: hero-zoom 20s ease-in-out infinite alternate;
  transition: opacity 0.5s ease;
}

/* After scroll: dim hero bg so dark background dominates for readability */
body.scrolled-past-hero .hero__bg-img {
  opacity: 0.04;
}

@keyframes hero-zoom {
  0% {
    transform: scale(1.0);
  }

  100% {
    transform: scale(1.08);
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom,
      rgba(0, 10, 20, 0.25) 0%,
      rgba(0, 10, 20, 0.08) 35%,
      rgba(6, 16, 26, 0.75) 70%,
      var(--bg-2) 100%);
}

.hero__content {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(0.75rem, 3vw, 2.5rem);
  width: 100%;
}

.hero__badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

/* Russian: more clearance from header, tag closer to heading */
html[lang="ru"] .hero {
  padding-top: 100px;
}

@media (min-width: 768px) {
  html[lang="ru"] .hero {
    padding-top: 160px;
  }
}

html[lang="ru"] .hero__badge-row {
  margin-bottom: 1rem;
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 6.5vw, 6.5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.hero__title em {
  font-style: italic;
  color: var(--teal);
}

.hero__sub {
  color: var(--text-muted);
  max-width: 580px;
  font-size: 1.15rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  /* Reserve height to prevent CLS when web fonts load */
  min-height: 60px;
}

.hero-retreat-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.125rem 1.5rem 1.125rem 1.125rem;
}

.hero-retreat-btn__avatars {
  display: flex;
  align-items: center;
  margin-left: -0.25rem;
}

.hero-retreat-btn__avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0, 0, 0, 0.15);
  margin-left: -10px;
  flex-shrink: 0;
}

.hero-retreat-btn__avatar:first-child {
  margin-left: 0;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  z-index: 10;
  animation: scroll-bounce 2.5s ease-in-out infinite;
}

.hero__scroll-hint svg {
  opacity: 0.4;
}

@keyframes scroll-bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header--center {
  text-align: center;
}

.section-header .label-upper {
  display: block;
  margin-bottom: 0.75rem;
}

.section-header .h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  font-size: 1.05rem;
}

.section-header--center p {
  margin-inline: auto;
}

/* ============================================================
   PHILOSOPHY / INCLUDED GRID
   ============================================================ */
.included-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.included-item {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: var(--transition);
}

.included-item:hover {
  border-color: var(--border-teal);
  background: rgba(64, 224, 208, 0.06);
  transform: translateY(-2px);
}

.included-item__icon {
  width: 2.75rem;
  height: 2.75rem;
  background: rgba(64, 224, 208, 0.12);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.included-item__text strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.included-item__text span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ============================================================
   PACKAGE CARDS — full width, image left / info right, carousel
   ============================================================ */
.packages-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.package-card {
  cursor: pointer;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
  display: grid;
  grid-template-columns: 55% 1fr;
  min-height: 320px;
}

.package-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(64, 224, 208, 0.2);
}

.package-card--imperial {
  border-color: rgba(201, 168, 76, 0.25);
}

.package-card--imperial:hover {
  border-color: rgba(201, 168, 76, 0.5);
}

/* Gallery: image left with carousel — larger for more right content */
.package-card__gallery {
  min-width: 0;
  min-height: 280px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--deep), #001825);
  cursor: pointer;
}

.package-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 260px;
}

.package-carousel__main {
  position: absolute;
  inset: 0;
}

.package-carousel__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.package-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(6, 16, 26, 0.7);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.package-carousel__arrow:hover {
  background: rgba(64, 224, 208, 0.25);
  border-color: var(--teal);
}

.package-carousel__arrow--prev {
  left: 0.75rem;
}

.package-carousel__arrow--next {
  right: 0.75rem;
}

.package-carousel__arrow i {
  width: 1.25rem;
  height: 1.25rem;
}

.package-carousel__thumbs {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  z-index: 2;
}

.package-carousel__thumb {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: none;
  cursor: pointer;
  transition: var(--transition);
}

.package-carousel__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.package-carousel__thumb:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

.package-carousel__thumb.active {
  border-color: var(--teal);
}

.package-card__badge-img {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
}

/* Body: info right — solid opaque bg so text is always visible */
.package-card__body {
  padding: 1.75rem 2rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: #EEF4F6;
  background: #0D1E2A;
  position: relative;
}

.package-card__name {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
}

.package-card__subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: -0.5rem;
}

.package-card__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 1rem;
  margin-top: 0.75rem;
}

.package-card__price-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.package-card__price-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal);
}

.package-card__price-nights {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.package-card__order-btn {
  margin-top: 0.75rem;
  width: 100%;
}

/* Included list in 2 columns */
.package-card__included {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 1.5rem;
}

.package-card__included li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.package-card__included li::before {
  content: '✦';
  color: var(--teal);
  font-size: 0.6rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.package-card__footer {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: flex-end;
  margin-top: auto;
}

/* Mobile: stack image on top */
@media (max-width: 768px) {
  .package-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .package-card__gallery {
    min-height: 320px;
  }

  .package-carousel__thumbs {
    bottom: 0.75rem;
  }

  .package-card__included {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   FLEET CATALOG
   ============================================================ */
.fleet-filter-bar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.fleet-filter-row--second {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  width: 100%;
}

.fleet-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.filter-separator {
  width: 1px;
  height: 1.75rem;
  background: var(--border);
  flex-shrink: 0;
  align-self: center;
}

.fleet-filter-row--type .filter-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.fleet-sort-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.fleet-filter-row--price {
  align-items: center;
  flex: 1;
  min-width: 0;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
}

@media (max-width: 768px) {
  .fleet-filter-row--second {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .fleet-filter-row--second .filter-separator {
    display: none;
  }

  .fleet-filter-row--price {
    flex: none;
    width: 100%;
  }

  .fleet-sort-wrap {
    margin-left: 0;
    width: 100%;
  }
}

.fleet-filter-row--price .filter-label {
  flex-shrink: 0;
}

.price-range-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal);
  flex-shrink: 0;
  min-width: 5rem;
}

.price-range-track {
  position: relative;
  height: 24px;
  flex: 1;
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: stretch;
}

.price-range-fill {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  pointer-events: none;
}

.price-range-fill::after {
  content: '';
  position: absolute;
  left: var(--fill-left, 0%);
  right: calc(100% - var(--fill-right, 100%));
  height: 100%;
  background: var(--teal);
  border-radius: 3px;
  transition: left 0.15s ease, right 0.15s ease;
}

.price-range-input {
  position: absolute;
  width: 100%;
  height: 24px;
  margin: 0;
  top: 50%;
  transform: translateY(-50%);
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  pointer-events: none;
}

.price-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  margin-top: -7px;
  border-radius: 50%;
  background: var(--teal);
  border: 2px solid var(--surface);
  cursor: grab;
  pointer-events: auto;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.price-range-input::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 2px 10px rgba(64, 224, 208, 0.5);
}

.price-range-input::-webkit-slider-runnable-track {
  height: 6px;
  background: transparent;
}

.price-range-input::-moz-range-thumb {
  width: 20px;
  height: 20px;
  margin-top: -7px;
  border-radius: 50%;
  background: var(--teal);
  border: 2px solid var(--surface);
  cursor: grab;
  pointer-events: auto;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.price-range-input::-moz-range-track {
  height: 6px;
  background: transparent;
}

.price-range-input--max {
  pointer-events: none;
}

.price-range-input--max::-webkit-slider-thumb,
.price-range-input--max::-moz-range-thumb {
  pointer-events: auto;
}

.filter-btn {
  padding: 0.45rem 1.1rem;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  transition: var(--transition);
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--teal);
  color: #000;
  border-color: var(--teal);
}

.filter-label {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.yacht-card {
  cursor: pointer;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.yacht-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: var(--border-teal);
}

.yacht-card__img {
  height: 220px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #001825, #003344);
  cursor: pointer;
}

.yacht-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.yacht-card:hover .yacht-card__img img {
  transform: scale(1.08);
}

.yacht-card__img .yacht-card__vibe {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: #0d1b2a;
}

.yacht-card__all-in {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: #0d1b2a;
  border: 1px solid var(--teal);
  border-radius: 99px;
  padding: 0.25rem 0.6rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--teal);
}

.yacht-card__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.yacht-card__name {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
}

.yacht-card__specs {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.yacht-card__spec {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.yacht-card__spec svg {
  color: var(--teal);
  flex-shrink: 0;
}

.yacht-card__price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: auto;
}

.yacht-card__price {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--teal);
}

.yacht-card__price-unit {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.yacht-card__footer {
  display: flex;
  gap: 0.6rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
}

.yacht-card.hidden {
  display: none;
}

/* ============================================================
   VILLA CATALOG (формат как у карточек яхт)
   ============================================================ */
.villas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .villas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .villas-grid {
    grid-template-columns: 1fr;
  }
}

.villa-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.villa-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: var(--border-teal);
}

.villa-card__img {
  height: 220px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #001825, #003344);
  cursor: pointer;
}

.villa-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.villa-card:hover .villa-card__img img {
  transform: scale(1.08);
}

.villa-card__img .villa-card__vibe {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: #0d1b2a;
}

.villa-card__all-in {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: #0d1b2a;
  border: 1px solid var(--teal);
  border-radius: 99px;
  padding: 0.25rem 0.6rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--teal);
}

.villa-card__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.villa-card__name {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
}

.villa-card__specs {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.villa-card__spec {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.villa-card__spec svg {
  color: var(--teal);
  flex-shrink: 0;
}

.villa-card__price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: auto;
}

.villa-card__price {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--teal);
}

.villa-card__price-unit {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.villa-card__footer {
  display: flex;
  gap: 0.6rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
}

/* ============================================================
   LOCATIONS
   ============================================================ */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.location-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 500px;
  position: relative;
  transition: var(--transition);
}

.location-card:hover {
  transform: scale(1.02);
}

.location-card__photo {
  position: absolute;
  inset: 0;
  cursor: pointer;
}

.location-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.location-card:hover .location-card__bg {
  transform: scale(1.1);
}

.location-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 10, 20, 0.92) 0%, rgba(0, 10, 20, 0.3) 60%, transparent 100%);
  pointer-events: none;
}

.location-card__arrow-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(64, 224, 208, 0.2);
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.location-card__photo:hover .location-card__arrow-hint {
  opacity: 1;
}

.location-card__arrow-hint i {
  width: 1.5rem;
  height: 1.5rem;
}

.location-card__content {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
}

.location-card__name {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.35rem;
}

.location-card__desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
}

.location-card__tag {
  margin-bottom: 0.6rem;
}

.location-card--featured .location-card__name {
  font-size: 2rem;
}

.location-card__footer {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: 1rem;
}

.location-card__footer .btn-ghost {
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.location-card__footer .btn-ghost:hover {
  color: var(--teal-light);
}

/* ============================================================
   CONCIERGE SERVICES GRID
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  /* единый отступ между строками и столбцами */
}

.service-item {
  padding: 1.75rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}

.service-item:hover {
  background: rgba(64, 224, 208, 0.07);
  border-color: var(--border-teal);
  transform: translateY(-3px);
}

.service-item__icon {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
}

.service-item__name {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.service-item__desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 2rem;
  max-width: 100%;
}

@media (max-width: 520px) {
  .faq-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.faq-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.25rem;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  transition: var(--transition);
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
}

.faq-tab .lucide {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* Square category buttons: icon on top, text in 2 rows */
.faq-tab--square {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.5rem;
  min-width: 0;
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  white-space: normal;
  text-align: center;
}

.faq-tab--square .faq-tab__icon {
  flex-shrink: 0;
  margin-bottom: 0.35rem;
}

.faq-tab--square .faq-tab__icon .lucide {
  width: 1.25rem;
  height: 1.25rem;
}

.faq-tab--square .faq-tab__text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  line-height: 1.15;
  font-size: 0.7rem;
}

.faq-tab--square .faq-tab__line1,
.faq-tab--square .faq-tab__line2 {
  display: block;
}

.faq-tab:hover {
  color: var(--teal);
  border-color: var(--border-teal);
}

.faq-tab.active {
  background: rgba(64, 224, 208, 0.12);
  color: var(--teal);
  border-color: var(--border-teal);
}

.faq-category {
  display: none;
}

.faq-category.active {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.12);
}

.faq-item.open {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--border-teal);
  box-shadow: 0 0 0 1px rgba(64, 224, 208, 0.2);
}

.faq-item.open:hover {
  background: rgba(255, 255, 255, 0.2);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 1.5rem;
  gap: 1rem;
  font-weight: 600;
  font-size: 1rem;
  text-align: left;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  transition: color 0.2s;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.faq-question:hover {
  color: var(--teal);
}

.faq-item.open .faq-question {
  color: var(--teal);
}

.faq-question__text {
  flex: 1;
  min-width: 0;
}

.faq-question__icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  color: var(--teal);
}

.faq-item.open .faq-question__icon {
  transform: rotate(45deg);
  background: rgba(64, 224, 208, 0.15);
  border-color: var(--teal);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-answer p {
  padding: 0.5rem 1.5rem 1.5rem;
  margin: 0;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

/* Full-bleed via margin (avoid transform so fold-section animation doesn't override) */
.testimonials-slider-container {
  width: 100vw;
  max-width: 100vw;
  position: relative;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 0.5rem;
}

.testimonials-slider {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 1.5rem;
  padding-bottom: 2rem;
  padding-top: 1rem;
  scrollbar-width: none;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.testimonials-slider::-webkit-scrollbar {
  display: none;
}

.testimonials-slider .testimonial-card {
  flex: 0 0 340px;
  scroll-snap-align: center;
  min-height: 0;
}

@media (max-width: 768px) {
  .testimonials-slider .testimonial-card {
    flex: 0 0 280px;
  }
}

.testimonials-nav-wrapper {
  max-width: 600px;
  margin: 0 auto;
  padding: 0.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 100px;
}

.testimonials-nav {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  gap: 0.25rem;
  padding: 0.25rem;
  justify-content: center;
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 5%, rgba(0, 0, 0, 1) 95%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 5%, rgba(0, 0, 0, 1) 95%, rgba(0, 0, 0, 0) 100%);
}

.testimonials-nav::-webkit-scrollbar {
  display: none;
}

.testimonials-nav-btn {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text-muted);
  flex: 0 0 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
  cursor: pointer;
  background: transparent;
  border: 1px solid transparent;
}

.testimonials-nav-btn:hover {
  color: var(--teal);
  background: rgba(64, 224, 208, 0.08);
}

.testimonials-nav-btn.active {
  color: var(--gold);
  border-color: rgba(201, 168, 76, 0.4);
  background: rgba(201, 168, 76, 0.15);
  transform: scale(1.1);
}

.testimonials-actions {
  text-align: center;
  margin-top: 0;
  margin-bottom: 32px;
}

.testimonial-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.testimonial-stars {
  color: var(--gold-light);
  letter-spacing: 0.1em;
  font-size: 0.9rem;
}

.testimonial-stars .icon-sm {
  width: 1em;
  /* Adjust based on desired icon size relative to font-size */
  height: 1em;
  vertical-align: middle;
}

.testimonial-text {
  font-size: 0.975rem;
  line-height: 1.7;
  color: var(--text-muted);
  font-style: italic;
}

.testimonial-text::before {
  content: '«';
  color: var(--teal);
  font-style: normal;
  font-size: 1.2rem;
}

.testimonial-text::after {
  content: '»';
  color: var(--teal);
  font-style: normal;
  font-size: 1.2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-top: auto;
}

.testimonial-avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: white;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial-detail {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ============================================================
   LEAD FORM (MULTI-STEP)
   ============================================================ */
.lead-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--deep) 40%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}

.lead-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(64, 224, 208, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(0, 51, 68, 0.4) 0%, transparent 60%);
  pointer-events: none;
}

.lead-form-wrapper {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.lead-progress-bar {
  height: 3px;
  background: var(--surface-2);
  border-radius: 99px;
  margin-bottom: 2.5rem;
  overflow: hidden;
}

.lead-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  border-radius: 99px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.lead-step {
  display: none;
  animation: step-in 0.4s ease;
}

.lead-step.active {
  display: block;
}

@keyframes step-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lead-step__label {
  margin-bottom: 0.6rem;
}

.lead-step__title {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.lead-step__desc {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.choice-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
  .choice-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.choice-btn {
  padding: 1.5rem 1rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.choice-btn__icon {
  font-size: 2rem;
}

.choice-btn__label {
  font-size: 0.85rem;
  font-weight: 600;
}

.choice-btn:hover {
  border-color: rgba(64, 224, 208, 0.5);
  background: rgba(64, 224, 208, 0.06);
  transform: translateY(-1px);
}

.choice-btn.selected {
  background: #fff;
  color: #000;
  border: 2px solid var(--teal);
  box-shadow: 0 0 0 1px var(--teal), 0 0 16px rgba(64, 224, 208, 0.5), 0 0 32px rgba(64, 224, 208, 0.25);
  transform: translateY(-2px);
}

.choice-btn.selected:hover {
  box-shadow: 0 0 0 2px var(--teal), 0 0 20px rgba(64, 224, 208, 0.6), 0 0 40px rgba(64, 224, 208, 0.3);
}

.choice-btn.selected .choice-btn__icon,
.choice-btn.selected .choice-btn__label {
  color: #000;
}

.choice-btn.selected .lucide {
  color: #000;
}

/* Step 2: main + sidebar layout, compact form */
.lead-step-2-body {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.lead-step-2-main {
  flex: 1;
  min-width: 0;
}

.lead-step-2-sidebar {
  flex-shrink: 0;
  width: 200px;
}

.lead-step-2-summary {
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.lead-step-2-summary__title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.lead-step-2-summary__line {
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.lead-step-2-summary__item {
  font-weight: 600;
}

.lead-step-2-summary__item.has-value {
  color: var(--teal);
}

.lead-step-2-summary__line:last-child {
  margin-bottom: 0;
}

#lead-step-2 .form-group {
  margin-bottom: 1rem;
}

#lead-step-2 #lead-step-2-guests {
  gap: 0.5rem;
  grid-template-columns: repeat(4, 1fr);
}

#lead-step-2 #lead-step-2-guests .choice-btn {
  padding: 0.6rem 0.5rem;
  gap: 0.25rem;
}

#lead-step-2 #lead-step-2-guests .choice-btn__icon {
  font-size: 1.2rem;
}

#lead-step-2 #lead-step-2-guests .choice-btn__label {
  font-size: 0.8rem;
}

#lead-step-2 .lead-nights-chips {
  margin-top: 0.5rem;
  gap: 0.5rem;
  grid-template-columns: repeat(5, 1fr);
}

.lead-nights-section--hidden {
  display: none !important;
}

.lead-step-2-summary__price {
  font-weight: 600;
  color: var(--teal);
}

@media (max-width: 639px) {
  #lead-step-2 .lead-nights-chips {
    grid-template-columns: repeat(2, 1fr);
  }

  .lead-step-2-body {
    flex-direction: column;
  }

  .lead-step-2-sidebar {
    width: 100%;
    order: -1;
  }

  #lead-step-2 #lead-step-2-guests {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   GUEST STEPPER (Fast Track exact count)
   ============================================================ */
.guest-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  width: fit-content;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.guest-stepper:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(64, 224, 208, 0.15);
}

.guest-stepper__btn {
  width: 3rem;
  height: 3rem;
  background: transparent;
  border: none;
  color: var(--teal);
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
  line-height: 1;
}

.guest-stepper__btn:hover {
  background: rgba(64, 224, 208, 0.12);
}

.guest-stepper__btn:active {
  background: rgba(64, 224, 208, 0.22);
}

.guest-stepper__btn:disabled {
  color: var(--text-dim);
  cursor: not-allowed;
  background: transparent;
}

.guest-stepper__divider {
  width: 1px;
  height: 2rem;
  background: var(--border);
  flex-shrink: 0;
}

.guest-stepper__input {
  width: 4.5rem;
  height: 3rem;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 600;
  text-align: center;
  outline: none;
  padding: 0;
  -moz-appearance: textfield;
  appearance: textfield;
}

.guest-stepper__input::-webkit-outer-spin-button,
.guest-stepper__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.guest-stepper__label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-left: 0.75rem;
  line-height: 3rem;
  white-space: nowrap;
}

.lead-ft-guests-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Hide/show states controlled by JS */
#lead-step-2-guests-stepper-wrap {
  display: none;
}

#lead-step-2-guests-stepper-wrap.visible {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Fast Track arrival time selector */
.ft-time-select-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.ft-time-icon {
  position: absolute;
  left: 1rem;
  width: 1rem;
  height: 1rem;
  color: var(--teal);
  pointer-events: none;
  flex-shrink: 0;
  z-index: 1;
}

.ft-time-select {
  padding-left: 2.75rem !important;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2340E0D0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  padding-right: 2.5rem !important;
}

.ft-time-select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(64, 224, 208, 0.15);
}

.ft-time-select option {
  background: #0F1E2A;
  color: var(--text);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  font-size: 0.975rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(64, 224, 208, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-dim);
}

.form-select option {
  background: #0F1E2A;
  color: var(--text);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
  display: none;
}

.checkbox-custom {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 5px;
  border: 2px solid var(--border);
  flex-shrink: 0;
  background: transparent;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkbox-item input[type="checkbox"]:checked+.checkbox-custom {
  background: var(--teal);
  border-color: var(--teal);
}

.checkbox-item input[type="checkbox"]:checked+.checkbox-custom::after {
  content: '✓';
  font-size: 0.7rem;
  color: #000;
  font-weight: 900;
}

.checkbox-text {
  font-size: 0.9rem;
}

.budget-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .budget-options {
    grid-template-columns: repeat(4, 1fr);
  }
}

.budget-option {
  padding: 1rem 0.75rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.budget-option__amount {
  font-size: 1rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.2rem;
}

.budget-option__label {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.budget-option:hover,
.budget-option.selected {
  border-color: var(--teal);
  background: rgba(64, 224, 208, 0.08);
}

.budget-option.selected .budget-option__amount {
  color: var(--teal);
}

/* Package price display (Step 3 — shown instead of budget selector for package orders) */
.package-price-display {
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-md);
  background: rgba(64, 224, 208, 0.07);
  border: 1px solid rgba(64, 224, 208, 0.25);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.package-price-display__amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal);
  font-family: var(--font-head);
  letter-spacing: -0.02em;
}

.package-price-display__note {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Addon toggle buttons (Step 4) */
.addon-toggle-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .addon-toggle-group {
    grid-template-columns: repeat(3, 1fr);
  }
}

.addon-toggle-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
  font-family: inherit;
  color: var(--text);
}

.addon-toggle-btn:hover {
  border-color: rgba(64, 224, 208, 0.4);
  background: rgba(64, 224, 208, 0.08);
}

.addon-toggle-btn.selected {
  background: rgba(64, 224, 208, 0.2);
  border-color: var(--teal);
  color: var(--teal);
  box-shadow: 0 0 0 1px rgba(64, 224, 208, 0.3);
}

.addon-toggle-btn.selected .addon-toggle-btn__icon {
  color: var(--teal);
}

.addon-toggle-btn__icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.addon-toggle-btn__label {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 600;
}

.addon-toggle-btn__price {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal);
  flex-shrink: 0;
}

.addon-toggle-btn.selected .addon-toggle-btn__price {
  color: var(--teal);
}

.contact-methods {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.contact-method-btn {
  padding: 0.55rem 1.25rem;
  border-radius: 99px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  transition: var(--transition);
}

.contact-method-btn:hover,
.contact-method-btn.selected {
  border-color: var(--teal);
  background: rgba(64, 224, 208, 0.1);
  color: var(--teal);
}

.lead-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
}

.step-counter {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.form-success {
  text-align: center;
  padding: 3rem 2rem;
}

.form-success__icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.form-success__title {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.form-success__sub {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding-block: 5rem 3rem;
}

.footer__grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer__brand .nav__logo {
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.footer__brand .nav__logo-img {
  height: 2.75rem;
}

.footer__tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 260px;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer__col-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  /* Improved contrast: #7A9BA8 (4.5:1 on dark bg) instead of #3A5A68 */
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--teal);
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer__contact-item strong {
  color: var(--text);
  font-size: 0.78rem;
  display: block;
}

.footer__bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: gap;
  gap: 1rem;
  color: var(--text-dim);
  font-size: 0.82rem;
}

.footer__cta-mega {
  background: #fff;
  border: 1px solid rgba(0, 51, 68, 0.12);
  border-radius: var(--radius-xl);
  padding: 4rem 2rem 3.5rem;
  text-align: center;
  margin-bottom: 4rem;
}

.footer__cta-mega-logo {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: 0 auto 1.5rem;
}

.footer__cta-mega .label-upper {
  color: #0D2847;
}

.footer__cta-mega .h2 {
  color: #0D2847;
  margin-bottom: 1rem;
}

.footer__cta-mega p {
  color: #2d4a6f;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.footer__cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   SKELETON LOADER
   ============================================================ */
.skeleton {
  background: linear-gradient(90deg, #0D1E28 0%, #152535 50%, #0D1E28 100%);
  background-size: 400% 100%;
  animation: skeleton-shimmer 1.6s ease-in-out infinite;
  border-radius: 8px;
}

@keyframes skeleton-shimmer {
  0% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.skeleton-section {
  padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 4vw, 4rem);
}

.skeleton-card {
  border-radius: var(--radius-lg);
  height: 320px;
}

.skeleton-title {
  height: 2.5rem;
  width: 60%;
  margin-bottom: 1rem;
}

.skeleton-text {
  height: 1rem;
  width: 80%;
  margin-bottom: 0.5rem;
}

.skeleton-text-short {
  height: 1rem;
  width: 40%;
}

/* ============================================================
   SCROLL ANIMATION — FOLD SECTIONS
   ============================================================ */
.fold-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fold-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   STATISTICS ROW
   ============================================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  padding: 2rem 0;
  margin-top: 1.5rem;
  width: 100%;
  justify-content: flex-start;
  align-items: flex-start;
  /* Reserve height to prevent CLS when fonts load */
  min-height: 90px;
}

.stat-item {
  text-align: center;
  min-width: 0;
}

.stat-number {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--teal);
  display: block;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ============================================================
   MODAL (Detail / Quick Book)
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

@media (min-width: 640px) {
  .modal-overlay {
    align-items: center;
  }
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  position: relative;
  background: #0D1E2A;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  width: 100%;
  max-width: 640px;
  max-height: 90svh;
  overflow-y: auto;
  padding: 2rem;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 640px) {
  .modal-box {
    border-radius: var(--radius-lg);
    transform: scale(0.95);
  }
}

.modal-overlay.open .modal-box {
  transform: translateY(0);
}

@media (min-width: 640px) {
  .modal-overlay.open .modal-box {
    transform: scale(1);
  }
}

.modal-handle {
  width: 3rem;
  height: 3px;
  background: var(--border);
  border-radius: 99px;
  margin: -1rem auto 1.5rem;
  display: block;
}

@media (min-width: 640px) {
  .modal-handle {
    display: none;
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  gap: 1rem;
  padding-right: 3rem;
  /* space for absolute .modal-close */
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

/* Hover on empty backdrop highlights close so user knows click closes */
.modal-overlay:hover .modal-box:not(:hover) .modal-close {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

/* ============================================================
   REVIEW FORM MODAL
   ============================================================ */
.review-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2100;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.review-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.review-modal-box {
  background: #0D1E2A;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 440px;
  max-height: 95svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-modal-overlay.open .review-modal-box {
  transform: scale(1);
}

.review-modal-overlay:hover .review-modal-box:not(:hover) .modal-close {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.review-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.review-modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.review-form {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 0;
}

.review-form .form-group {
  margin-bottom: 0;
}

.review-form .form-label {
  font-size: 0.8rem;
  margin-bottom: 0.35rem;
}

.review-stars-input {
  display: flex;
  gap: 0.25rem;
  margin-top: 0.25rem;
}

.review-star-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.review-star-btn:hover {
  color: var(--gold-light);
  border-color: rgba(201, 168, 76, 0.4);
}

.review-star-btn.active,
.review-star-btn.selected {
  color: var(--gold-light);
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.15);
}

.review-form-error {
  font-size: 0.85rem;
  color: #ff6b6b;
  padding: 0.5rem;
  background: rgba(255, 107, 107, 0.1);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 107, 107, 0.2);
}

.review-form-success {
  font-size: 0.9rem;
  color: var(--teal);
  padding: 0.75rem;
  background: rgba(64, 224, 208, 0.1);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(64, 224, 208, 0.2);
}

/* ============================================================
   CRYPTO EXCHANGE MODAL
   ============================================================ */
.crypto-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2100;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.crypto-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.crypto-modal-box {
  position: relative;
  background: #0D1E2A;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  max-height: 95svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.crypto-modal-overlay.open .crypto-modal-box {
  transform: scale(1);
}

.crypto-modal-overlay:hover .crypto-modal-box:not(:hover) .modal-close {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.crypto-modal-box .modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 5;
}

.crypto-modal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1.5rem 0;
  flex-shrink: 0;
}

.crypto-modal-icon {
  flex-shrink: 0;
}

.crypto-modal-title {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
}

.crypto-form {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 0;
}

.crypto-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 480px) {
  .crypto-form .form-row {
    grid-template-columns: 1fr;
  }
}

.crypto-form .form-group {
  margin-bottom: 0;
}

.crypto-form .form-label {
  font-size: 0.8rem;
  margin-bottom: 0.35rem;
}

.crypto-form .form-input {
  width: 100%;
}

.crypto-form select.form-input {
  appearance: auto;
  cursor: pointer;
}

.crypto-form-error {
  font-size: 0.85rem;
  color: #ff6b6b;
  padding: 0.5rem;
  background: rgba(255, 107, 107, 0.1);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 107, 107, 0.2);
}

.crypto-modal-step .form-success {
  padding: 2rem 1.5rem;
}

.modal-included {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1rem;
}

.modal-included li {
  display: flex;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.modal-included--compact {
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.modal-included--compact li {
  font-size: 0.78rem;
  line-height: 1.3;
}

/* Package modal: meta icons row (guests, bedrooms, sqm, name, yacht thumb) */
.package-meta-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 0.6rem;
}

.package-meta-icons--card {
  gap: 0.4rem 0.75rem;
  margin-top: 0.4rem;
  margin-bottom: 0.35rem;
}

.package-meta-icons--card .package-meta-item {
  font-size: 0.72rem;
}

.package-meta-icons--card .package-meta-item svg {
  width: 14px;
  height: 14px;
}

.package-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: #fff;
}

.package-meta-item .icon-teal,
.package-meta-item svg,
.package-meta-item i {
  color: var(--teal) !important;
  flex-shrink: 0;
}

.package-meta-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--teal);
}

.package-meta-yacht-thumb {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--teal);
  padding: 0;
  background: var(--surface);
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s, border-color 0.2s;
}

.package-meta-yacht-thumb:hover {
  transform: scale(1.08);
  border-color: var(--teal-dim);
}

.package-meta-yacht-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.package-meta-extras {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.5rem;
}

.package-meta-extra {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Package meta objects: 32x32 icons + clickable villa/yacht/excursion */
.package-meta-objects {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.6rem;
}

.package-meta-object {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}

.package-meta-object:hover {
  color: var(--teal);
}

.package-meta-object__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
}

.package-meta-object__icon svg {
  width: 32px;
  height: 32px;
}

.package-meta-object__label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Object info popover (villa, yacht, excursion — info + photos) */
.object-info-popover {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.object-info-popover.open {
  opacity: 1;
  pointer-events: all;
}

.object-info-popover__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 10, 20, 0.7);
  cursor: pointer;
}

.object-info-popover__content {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  padding-top: 3rem;
  padding-right: 3rem;
  max-width: 440px;
  width: 100%;
  max-height: 85vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.object-info-popover__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 2rem;
  height: 2rem;
  border: none;
  background: var(--surface);
  color: var(--text);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: background 0.2s, color 0.2s;
}

.object-info-popover__close:hover,
.object-info-popover:hover .object-info-popover__content:not(:hover) .object-info-popover__close {
  background: var(--teal);
  color: #000;
}

.object-info-popover__title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.object-info-popover__body {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  overflow: hidden;
}

.object-info-popover__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.object-info-popover__gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: opacity 0.2s;
}

.object-info-popover__gallery img:hover {
  opacity: 0.9;
}

/* Package detail popover (villa/yacht info when selecting package) */
.package-detail-popover {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.package-detail-popover.open {
  opacity: 1;
  pointer-events: all;
}

.package-detail-popover__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 10, 20, 0.7);
  cursor: pointer;
}

.package-detail-popover__content {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  padding-top: 3rem;
  padding-right: 3rem;
  max-width: 420px;
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.package-detail-popover__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 2rem;
  height: 2rem;
  border: none;
  background: var(--surface);
  color: var(--text);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: background 0.2s, color 0.2s;
}

.package-detail-popover__close:hover,
.package-detail-popover:hover .package-detail-popover__content:not(:hover) .package-detail-popover__close {
  background: var(--teal);
  color: #000;
}

#package-detail-popover-body {
  overflow: hidden;
  max-height: 55vh;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.package-detail-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
}

.package-detail-card:last-child {
  margin-bottom: 0;
}

.package-detail-card__img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
}

.package-detail-card__title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.package-detail-card__meta {
  font-size: 0.75rem;
  color: var(--teal);
  margin-bottom: 0.35rem;
}

.package-detail-card__desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Included item popover (nested, overlays package modal) */
.included-item-popover {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.included-item-popover.open {
  opacity: 1;
  pointer-events: all;
}

.included-item-popover__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 10, 20, 0.7);
  cursor: pointer;
}

.included-item-popover__content {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  padding-top: 3rem;
  padding-right: 3rem;
  max-width: 420px;
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.included-item-popover__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 2rem;
  height: 2rem;
  border: none;
  background: var(--surface);
  color: var(--text);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: background 0.2s, color 0.2s;
}

.included-item-popover__close:hover,
.included-item-popover:hover .included-item-popover__content:not(:hover) .included-item-popover__close {
  background: var(--teal);
  color: #000;
}

.included-item-popover__title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.included-item-popover__body {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  overflow: hidden;
}

.modal-included__clickable {
  cursor: pointer;
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.modal-included__clickable:hover {
  color: var(--teal);
  opacity: 0.9;
}

/* Included items as button grid (no scroll, one template) */
.included-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.5rem;
  width: 100%;
}

.included-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  font-size: 0.75rem;
  line-height: 1.25;
  transition: border-color 0.2s, background 0.2s;
}

.included-btn:hover {
  border-color: var(--teal);
  background: rgba(64, 224, 208, 0.08);
}

.included-btn__icon {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  color: var(--teal);
}

.included-btn__label {
  flex: 1;
  min-width: 0;
  white-space: normal;
  word-break: break-word;
  line-height: 1.35;
}

.included-btn__chevron {
  flex-shrink: 0;
  width: 0.875rem;
  height: 0.875rem;
  color: var(--teal);
  opacity: 0.8;
}

.included-btn--static {
  cursor: default;
  opacity: 0.95;
}

.included-btn--static:hover {
  border-color: var(--border);
  background: var(--surface);
}

/* Package accordion (tabs under price, one panel visible, no scroll) */
.package-accordion {
  margin-top: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
}

.package-accordion__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--border);
}

.package-accordion__tab {
  flex: 1;
  min-width: 0;
  padding: 0.5rem 0.5rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.package-accordion__tab:hover {
  color: var(--text);
  background: rgba(64, 224, 208, 0.06);
}

.package-accordion__tab.active {
  color: var(--teal);
  background: rgba(64, 224, 208, 0.1);
  border-bottom: 2px solid var(--teal);
  margin-bottom: -1px;
}

.package-accordion__content {
  padding: 0.75rem 1rem;
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  max-height: 420px;
}

.package-accordion__panel {
  display: none;
}

.package-accordion__panel.active {
  display: block;
}

.package-accordion__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.package-accordion__list li {
  padding: 0.25rem 0;
  font-size: 0.78rem;
  line-height: 1.3;
}

/* ============================================================
   UNIVERSAL ITEM MODAL
   ============================================================ */
.item-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 10, 20, 0.85);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

@media (min-width: 640px) {
  .item-modal-overlay {
    padding: 40px;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .item-modal-overlay {
    padding: 0;
    align-items: stretch;
  }

  .item-modal-box {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    max-height: 100vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .item-modal-inner {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
  }
}

.item-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.item-modal-box {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: calc(100vw - 80px);
  height: calc(100vh - 80px);
  max-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
}

.item-modal-inner {
  display: flex;
  align-items: stretch;
  gap: 20px;
  width: 100%;
  max-width: calc(100vw - 80px);
  height: calc(100vh - 80px);
  max-height: calc(100vh - 80px);
  position: relative;
  transform: translateY(100%);
  transition: transform 0.2s ease-out;
}


.item-modal-overlay.open .item-modal-inner {
  transform: translateY(0);
}

.item-modal-box {
  flex: 1;
  min-width: 0;
}

.item-modal-close-zone {
  flex-shrink: 0;
  padding: 20px;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: none;
  border: none;
  font: inherit;
}

.item-modal-close-zone:hover .item-modal-close-btn {
  background: var(--teal);
  color: #000;
  transform: rotate(90deg);
}

.item-modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  cursor: pointer;
  transition: var(--transition);
}

.item-modal-close-btn:hover {
  background: var(--teal);
  color: #000;
  transform: rotate(90deg);
}

.item-modal-overlay:hover .item-modal-inner:not(:hover) .item-modal-close-btn {
  background: var(--teal);
  color: #000;
  transform: rotate(90deg);
}

/* Item modal steps - zero scroll */
.item-modal-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.item-modal-step--detail {
  height: 100%;
}

.item-modal-step--calc {
  flex-direction: column;
  padding: 1rem 1.5rem 1.5rem;
}

.item-modal-calc-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.item-modal-tiny-photo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.item-modal-calc-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-modal-layout {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(200px, 1fr) minmax(200px, 1fr);
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

@media (min-width: 900px) {
  .item-modal-layout {
    grid-template-columns: 60% 40%;
    grid-template-rows: 1fr;
  }
}

/* Left side: Gallery — 60% in grid */
.item-modal-gallery {
  position: relative;
  overflow: hidden;
  background: #000;
  min-height: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.item-gallery-carousel {
  position: relative;
  flex: 1;
  width: 100%;
  min-height: 280px;
}

.item-gallery-main {
  position: absolute;
  inset: 0;
  cursor: pointer;
  overflow: hidden;
  background: #0D1E2A;
}

/* Disable the ken-burns scale while slide animation is active
   (the clone handles the exit, main img handles the enter) */
.item-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.item-gallery-main:hover img {
  transform: scale(1.03);
}

/* ── Skeleton shimmer while new photo loads ── */
.item-gallery-main.gallery-loading::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(
    90deg,
    rgba(13, 30, 42, 0.0) 0%,
    rgba(64, 224, 208, 0.06) 40%,
    rgba(64, 224, 208, 0.12) 50%,
    rgba(64, 224, 208, 0.06) 60%,
    rgba(13, 30, 42, 0.0) 100%
  );
  background-size: 200% 100%;
  animation: gallery-shimmer 1s linear infinite;
  pointer-events: none;
}
@keyframes gallery-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Slide exit animations (outgoing clone) ── */
.gallery-exit-left {
  animation: gallery-slide-out-left 0.32s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.gallery-exit-right {
  animation: gallery-slide-out-right 0.32s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes gallery-slide-out-left {
  from { transform: translateX(0);     opacity: 1; }
  to   { transform: translateX(-60px); opacity: 0; }
}
@keyframes gallery-slide-out-right {
  from { transform: translateX(0);    opacity: 1; }
  to   { transform: translateX(60px); opacity: 0; }
}

/* ── Slide enter animations (incoming image) ── */
/* Initial hidden position */
.gallery-enter-right {
  transform: translateX(60px);
  opacity: 0;
  transition: none;
}
.gallery-enter-left {
  transform: translateX(-60px);
  opacity: 0;
  transition: none;
}
/* Active: slide into place */
.gallery-enter-right--active,
.gallery-enter-left--active {
  transform: translateX(0) !important;
  opacity: 1 !important;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.3s ease !important;
}

.item-gallery-zoom-icon {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  color: #fff;
}

/* Show zoom only when hovering the photo itself — not the arrow buttons */
.item-gallery-main:hover .item-gallery-zoom-icon {
  opacity: 1;
}
/* Hide zoom when hovering over the nav arrows */
.item-gallery-main:has(.item-gallery-arrow:hover) .item-gallery-zoom-icon {
  opacity: 0;
}

.item-gallery-zoom-icon svg {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

/* Arrows overlay on photo — like package-carousel */
.item-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(6, 16, 26, 0.7);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.item-gallery-arrow:hover {
  background: rgba(64, 224, 208, 0.25);
  border-color: var(--teal);
}

.item-gallery-arrow--prev {
  left: 0.75rem;
}

.item-gallery-arrow--next {
  right: 0.75rem;
}

.item-gallery-arrow i {
  width: 1.25rem;
  height: 1.25rem;
}

/* Thumbs strip — horizontal scroll with arrows */
.item-gallery-thumbs-wrap {
  position: absolute;
  bottom: 0.75rem;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  z-index: 2;
  padding: 0 0.5rem;
}

.item-gallery-thumbs-arrow {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border: none;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.item-gallery-thumbs-arrow:hover {
  background: var(--teal);
  color: #000;
}

.item-gallery-thumbs-arrow i {
  width: 1rem;
  height: 1rem;
}

.item-gallery-thumbs {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  padding: 0.25rem 0;
  -webkit-overflow-scrolling: touch;
}

.item-gallery-thumbs::-webkit-scrollbar {
  height: 4px;
}

.item-gallery-thumbs::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.gallery-thumb {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: none;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

.gallery-thumb.active {
  border-color: var(--teal);
}

/* Right side: Info + CTA; scrollable on mobile */
.item-modal-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  background: #0D1E2A;
  position: relative;
}

.item-modal-info-block {
  flex: 1;
  min-height: 0;
  min-width: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 1.25rem 1.25rem 1.5rem;
  color: #EEF4F6;
  display: flex;
  flex-direction: column;
}

.item-modal-info-block::-webkit-scrollbar {
  width: 6px;
}

.item-modal-info-block::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 3px;
}

@media (min-width: 901px) {
  .item-modal-info-block {
    min-height: 280px;
  }
}

.item-modal-info-block>*:not(.package-accordion) {
  flex-shrink: 0;
}

.item-modal-info-block>.package-accordion {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

@media (min-width: 640px) {
  .item-modal-info-block {
    padding: 1.5rem 1.5rem 0;
  }
}

/* Step 2: lead form container - zero scroll */
#item-modal-step-2 .item-modal-lead-block {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0;
}

#item-modal-step-2 .item-modal-lead-block .lead-form-wrapper {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#item-modal-step-2 .item-modal-lead-block .glass-card {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.25rem !important;
}

#item-modal-step-2 .item-modal-lead-block .lead-step {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#item-modal-step-2 .item-modal-lead-block .lead-step.active {
  display: flex;
  flex-direction: column;
}

#item-modal-step-2 .item-modal-lead-block .lead-step>*:last-child {
  margin-top: auto;
}

/* Compact lead form when in item modal - zero scroll */
#item-modal-step-2 .lead-step__label {
  font-size: 0.65rem;
  margin-bottom: 0.3rem;
}

#item-modal-step-2 .lead-step__title {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

#item-modal-step-2 .lead-step__desc {
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

#item-modal-step-2 .choice-grid {
  gap: 0.75rem;
  margin-bottom: 1rem;
}

#item-modal-step-2 .choice-btn {
  padding: 0.875rem 0.75rem;
}

#item-modal-step-2 .choice-btn__icon {
  font-size: 1.5rem;
}

#item-modal-step-2 .choice-btn__label {
  font-size: 0.8rem;
}

#item-modal-step-2 .lead-progress-stories {
  margin-bottom: 1rem;
}

#item-modal-step-2 .form-group {
  margin-bottom: 1rem;
}

#item-modal-step-2 .form-label {
  font-size: 0.8rem;
  margin-bottom: 0.35rem;
}

#item-modal-step-2 .lead-nav {
  margin-top: 1rem;
  padding-top: 1rem;
}

#item-modal-step-2 .guest-selector__hint {
  margin-top: 0.5rem;
}

#item-modal-step-2 .lead-nights-chips {
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

#item-modal-step-2 .choice-btn--sm {
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
}

/* ============================================================
   FULLSCREEN GALLERY
   ============================================================ */
.fullscreen-gallery-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.fullscreen-gallery-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.fs-gallery-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.8);
  border-radius: var(--radius-md);
  user-select: none;
}

.fs-gallery-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}

.fs-gallery-close:hover {
  background: var(--teal);
  color: #000;
  transform: scale(1.1);
}

.fullscreen-gallery-overlay:hover:not(:has(.fs-gallery-img:hover)) .fs-gallery-close {
  background: var(--teal);
  color: #000;
  transform: scale(1.1);
}

.fs-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3.5rem;
  height: 3.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}

.fs-gallery-nav:hover {
  background: var(--teal);
  color: #000;
  transform: translateY(-50%) scale(1.1);
}

.fs-gallery-nav.prev {
  left: 1.5rem;
}

.fs-gallery-nav.next {
  right: 1.5rem;
}

.fs-gallery-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.4rem 1rem;
  border-radius: 99px;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

/* ============================================================
   RESPONSIVE OVERRIDES
   ============================================================ */
@media (max-width: 768px) {

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .nav__menu-wrap {
    display: none;
  }

  /* Mobile header: AZ-only logo + burger; rest in drawer */
  .nav__logo-img {
    display: none;
  }

  .nav__logo-az {
    display: block;
  }

  .nav__logo {
    min-width: 0;
  }

  .nav__right {
    display: none;
  }

  .nav__burger {
    display: flex;
    flex-shrink: 0;
  }

  .nav__inner {
    padding-left: clamp(0.75rem, 4vw, 1.25rem);
    padding-right: clamp(0.75rem, 4vw, 1.25rem);
  }

  .nav__overlay,
  .nav__drawer {
    display: flex;
  }

  .nav--open .nav__overlay {
    opacity: 1;
    pointer-events: auto;
  }

  .nav--open .nav__drawer {
    transform: translateX(0);
  }

  body.nav-drawer-open {
    overflow: hidden;
  }

  /* Push hero content down to avoid logo overlap on small screens */
  .hero__content {
    padding-top: 30px;
  }

  .hero__title {
    font-size: clamp(2.4rem, 10vw, 4rem);
  }

  .fleet-grid {
    grid-template-columns: 1fr;
  }

  .villas-grid {
    grid-template-columns: 1fr;
  }

  .choice-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .lead-nav {
    flex-direction: column;
    gap: 1rem;
  }

  .lead-nav .btn {
    width: 100%;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .budget-options {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   MISC / HELPERS
   ============================================================ */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin-block: 1rem;
}

.teal {
  color: var(--teal);
}

.gold {
  color: var(--gold-light);
}

.muted {
  color: var(--text-muted);
}

.bold {
  font-weight: 700;
}

.italic {
  font-style: italic;
}

.nowrap {
  white-space: nowrap;
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Pulse animation for live availability */
.pulse {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  background: #4EE88B;
  border-radius: 50%;
  animation: pulse-anim 2s ease-in-out infinite;
}

@keyframes pulse-anim {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}

/* Lucide Icons Styling */
.lucide {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  stroke-width: 2;
  transition: transform 0.2s ease;
}

.icon-sm {
  width: 16px !important;
  height: 16px !important;
}

.icon-xs {
  width: 14px !important;
  height: 14px !important;
  margin-right: 4px;
}

.teal .lucide {
  color: var(--teal);
}

.gold-light .lucide {
  color: var(--gold-light);
}

.btn .lucide {
  margin-left: 0.5rem;
}

.btn-icon .lucide {
  margin-left: 0;
}

.fill-current {
  fill: currentColor;
}

.sparkle-icon {
  color: var(--teal);
  animation: sparkle-pulse 2s infinite ease-in-out;
}

@keyframes sparkle-pulse {

  0%,
  100% {
    opacity: 0.8;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.modal-included li i {
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================================
   GLOBAL LEAD MODAL & FLOATING CTA
   ============================================================ */
.lead-modal-overlay {
  position: fixed;
  inset: 0;
  background: #171922;
  z-index: 2000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

@media (min-width: 640px) {
  .lead-modal-overlay {
    align-items: center;
  }
}

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

.lead-modal-inner {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transform: translateY(100%);
  transition: transform 0.2s ease-out;
}

.lead-modal-overlay.open .lead-modal-inner {
  transform: translateY(0);
}

.lead-form-wrapper {
  width: 100%;
  max-width: 860px;
  position: relative;
}

.lead-modal-close-zone {
  flex-shrink: 0;
  padding: 20px;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: none;
  border: none;
  font: inherit;
}

.lead-modal-close-zone:hover .lead-modal-close {
  background: var(--teal);
  color: #000;
  transform: rotate(90deg);
}

.lead-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border-radius: 50%;
  color: #fff;
  font-size: 1.25rem;
  border: 1px solid var(--border);
  transition: var(--transition);
  z-index: 10;
}

.lead-modal-close:hover {
  background: var(--teal);
  color: #000;
  transform: rotate(90deg);
}

.lead-modal-overlay:hover .glass-card:not(:hover) .lead-modal-close {
  background: var(--teal);
  color: #000;
  transform: rotate(90deg);
}

/* Lead modal: full-width nav and step-2 date block so they fill the card */
#lead-modal-overlay .lead-nav,
#lead-modal-overlay #lead-step-2 .lead-step-2-main,
#lead-modal-overlay #lead-step-2 .lead-step-2-dates-row,
#lead-modal-overlay #lead-step-2 .lead-step-2-dates-main,
#lead-modal-overlay #lead-step-2 .lead-step-2-dates-main .form-group,
#lead-modal-overlay #lead-date-field-trigger,
#lead-modal-overlay #lead-date-range {
  width: 100%;
}

/* Lead modal: fullwidth card on mobile (100% width, margin 0), tidy scroll rows, sticky nav in ONE ROW */
@media (max-width: 768px) {
  .lead-modal-overlay {
    padding: 0 !important;
    margin: 0 !important;
    align-items: flex-end;
    justify-content: stretch;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100vw;
  }

  .lead-modal-overlay .lead-form-wrapper {
    max-width: none !important;
    width: 100% !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
  }

  .lead-modal-overlay .lead-modal-card {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 1.25rem 20px 0 20px !important;
    padding-bottom: env(safe-area-inset-bottom, 0) !important;
    max-height: 94vh;
    display: flex;
    flex-direction: column;
    min-height: 0;
    margin: 10px 0 0 0 !important;
  }

  .lead-modal-card .lead-progress-stories {
    margin-bottom: 0.75rem;
  }

  .lead-modal-card .lead-step__title {
    font-size: 1.4rem;
  }

  .lead-modal-card .lead-step__desc {
    margin-bottom: 1rem;
    font-size: 0.875rem;
  }

  /* Step 1: scrollable row, no scrollbar, inner padding so shadows/glow not clipped */
  #lead-modal-overlay #lead-step-1 .choice-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
    padding: 0.5rem 12px 0.75rem;
    scroll-snap-type: x proximity;
    grid-template-columns: unset;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  #lead-modal-overlay #lead-step-1 .choice-grid::-webkit-scrollbar {
    display: none;
  }

  #lead-modal-overlay #lead-step-1 .choice-grid .choice-btn {
    flex: 0 0 auto;
    min-width: 110px;
    scroll-snap-align: start;
  }

  /* Step 2: scrollable row for guests – inner padding so glow/shadow not cut */
  #lead-modal-overlay #lead-step-2-guests {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem 12px 0.75rem;
    scroll-snap-type: x proximity;
    grid-template-columns: unset;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  #lead-modal-overlay #lead-step-2-guests::-webkit-scrollbar {
    display: none;
  }

  #lead-modal-overlay #lead-step-2-guests .choice-btn {
    flex: 0 0 auto;
    min-width: 84px;
    scroll-snap-align: start;
    padding: 0.55rem 0.5rem;
  }

  /* Step 2: scrollable row for nights – inner padding so glow/shadow not cut */
  #lead-modal-overlay #lead-step-2 .lead-nights-chips {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.5rem 12px 0.75rem;
    scroll-snap-type: x proximity;
    grid-template-columns: unset;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  #lead-modal-overlay #lead-step-2 .lead-nights-chips::-webkit-scrollbar {
    display: none;
  }

  #lead-modal-overlay #lead-step-2 .lead-nights-chips .choice-btn {
    flex: 0 0 auto;
    min-width: 68px;
    scroll-snap-align: start;
  }

  #lead-modal-overlay .lead-step-2-body {
    flex-direction: column;
  }

  #lead-modal-overlay .lead-step-2-sidebar {
    width: 100%;
    order: -1;
  }

  /* Sticky nav: ONE ROW, 20px from edges, back = icon only, Next = compact */
  #lead-modal-overlay .lead-nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0 -20px 0 -20px;
    padding: 0.75rem 20px;
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
    margin-top: auto;
    flex-shrink: 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
  }

  #lead-modal-overlay .lead-nav .btn,
  #lead-modal-overlay .lead-nav .btn-ghost,
  #lead-modal-overlay .lead-nav .btn-primary {
    width: auto !important;
    max-width: none !important;
  }

  #lead-modal-overlay .lead-nav .btn-ghost {
    flex: 0 0 auto !important;
  }

  #lead-modal-overlay .lead-nav .btn-ghost span {
    display: none;
  }

  #lead-modal-overlay .lead-nav .btn-ghost {
    padding: 0.6rem 0.75rem;
    min-width: 44px;
  }

  #lead-modal-overlay .lead-nav .btn-ghost .mr-2 {
    margin-right: 0;
  }

  #lead-modal-overlay .lead-nav .step-counter {
    display: none;
  }

  /* Next button: compact, not full-width */
  #lead-modal-overlay .lead-nav .btn-primary {
    flex: 0 0 auto;
    min-width: 100px;
    max-width: 140px;
    justify-content: center;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Step 3: scrollable row for budget, inner padding so shadow not clipped */
  #lead-modal-overlay #lead-step-3 .budget-options {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.5rem 12px 0.75rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  #lead-modal-overlay #lead-step-3 .budget-options::-webkit-scrollbar {
    display: none;
  }

  #lead-modal-overlay #lead-step-3 .budget-option {
    flex: 0 0 auto;
    min-width: 92px;
    scroll-snap-align: start;
  }

  /* Step 4: contact methods */
  #lead-modal-overlay #lead-step-4 .contact-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  #lead-modal-overlay #lead-step-4 .contact-method-btn {
    flex: 1;
    min-width: 0;
  }

  /* Step content + sticky nav */
  #lead-modal-overlay .lead-step.active {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    padding-bottom: 0;
  }

  #lead-modal-overlay .lead-step.active>*:not(.lead-nav) {
    flex-shrink: 0;
  }

  #lead-modal-overlay .lead-step.active .lead-nav {
    flex-shrink: 0;
  }
}

.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  pointer-events: none;
}

.floating-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-cta .btn {
  padding-left: 24px;
  padding-right: 24px;
}

@media (max-width: 768px) {
  .floating-cta {
    bottom: 1.5rem;
    right: 50%;
    transform: translateX(50%) translateY(20px);
    width: calc(100% - 3rem);
  }

  .floating-cta.visible {
    transform: translateX(50%) translateY(0);
  }
}

.lead-step {
  display: none;
}

.lead-step.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.choice-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
}

.choice-btn:hover {
  border-color: rgba(64, 224, 208, 0.5);
  background: rgba(64, 224, 208, 0.06);
  transform: translateY(-1px);
}

.choice-btn.selected {
  background: #fff;
  color: #000;
  border: 2px solid var(--teal);
  box-shadow: 0 0 0 1px var(--teal), 0 0 16px rgba(64, 224, 208, 0.5), 0 0 32px rgba(64, 224, 208, 0.25);
  transform: translateY(-2px);
}

.choice-btn.selected:hover {
  box-shadow: 0 0 0 2px var(--teal), 0 0 20px rgba(64, 224, 208, 0.6), 0 0 40px rgba(64, 224, 208, 0.3);
}

.choice-btn.selected .choice-btn__icon,
.choice-btn.selected .choice-btn__label,
.choice-btn.selected .lucide {
  color: #000;
}

.choice-btn__icon {
  font-size: 2rem;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.choice-btn__label {
  font-weight: 600;
  font-size: 0.95rem;
}

.lead-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.step-counter {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.budget-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.budget-option {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.budget-option:hover,
.budget-option.selected {
  border-color: var(--teal);
  background: rgba(64, 224, 208, 0.08);
}

.budget-option__amount {
  display: block;
  font-weight: 700;
  color: var(--teal);
}

.budget-option__label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.addon-toggle-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 0.5rem;
}

@media (min-width: 480px) {
  .addon-toggle-group {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-methods {
  display: flex;
  gap: 0.75rem;
}

.contact-method-btn {
  flex: 1;
  padding: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.contact-method-btn.selected {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(64, 224, 208, 0.08);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 0.875rem 1rem;
  border-radius: var(--radius-sm);
  color: #fff;
  transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--teal);
  outline: none;
  background: rgba(255, 255, 255, 0.08);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-success {
  text-align: center;
  padding-block: 2rem;
}

.form-success__icon {
  margin-bottom: 1.5rem;
}

.form-success__title {
  font-family: var(--font-head);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.form-success__sub {
  color: var(--text-muted);
  max-width: 400px;
  margin: 0 auto 2rem;
}

/* ============================================================
   UI ENHANCEMENTS: CALENDAR & DROPDOWNS
   ============================================================ */

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon i {
  position: absolute;
  left: calc(1rem + 20px);
  color: var(--teal);
  pointer-events: none;
  width: 18px;
  height: 18px;
}

.input-with-icon .form-input {
  padding-left: calc(3rem + 20px);
  width: 100%;
}

/* Date field: whole block (icon + input) is one trigger, opens calendar */
.date-field-trigger {
  cursor: pointer;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.date-field-trigger:hover {
  border-color: rgba(64, 224, 208, 0.5);
}

.date-field-trigger .form-input {
  cursor: pointer;
  border: none;
  background: transparent;
  box-shadow: none;
  padding-left: 0.875rem;
}

.date-field-trigger .form-input:focus {
  border: none;
  box-shadow: none;
  outline: none;
}

.date-field-trigger:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(64, 224, 208, 0.15);
  outline: none;
}

/* Clear + calendar buttons inside date input (right side) */
.input-with-clear {
  position: relative;
}

.input-with-clear .form-input {
  padding-right: 4rem;
}

.input-right-buttons {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.input-clear-btn {
  width: 1.25rem;
  height: 1.25rem;
  padding: 0;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: var(--text);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  line-height: 1;
  transition: background 0.2s, color 0.2s;
}

.input-clear-btn[hidden] {
  display: none;
}

.input-clear-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.input-clear-btn::before {
  content: '×';
  font-weight: 600;
}

.input-calendar-btn {
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  border: none;
  background: rgba(64, 224, 208, 0.15);
  color: var(--teal);
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.input-calendar-btn:hover {
  background: rgba(64, 224, 208, 0.3);
  color: var(--teal);
}

.input-calendar-btn i {
  width: 1rem;
  height: 1rem;
}

/* Date picker trigger (Step 3) */
.date-input-wrap {
  position: relative;
}

.date-input-trigger {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  text-align: left;
}

.date-input-trigger:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(64, 224, 208, 0.4);
}

.date-input-trigger:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 2px rgba(64, 224, 208, 0.2);
}

.date-input-trigger.is-open {
  border-color: var(--teal);
  box-shadow: 0 0 0 2px rgba(64, 224, 208, 0.25);
}

.date-input-trigger svg {
  flex-shrink: 0;
  color: var(--teal);
}

.date-input-trigger__text {
  flex: 1;
  color: var(--text-muted);
}

.date-input-trigger.has-value .date-input-trigger__text {
  color: var(--teal);
  font-weight: 500;
}

.date-input-hidden {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  border: none;
  background: transparent;
}

.lead-step-3-hint {
  margin-top: 0.75rem;
  margin-bottom: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Floating labels (lead form) */
.form-field--float {
  margin-bottom: 1.25rem;
}

.input-float-wrap,
.textarea-float-wrap,
.input-with-icon.input-with-icon--float {
  position: relative;
}

.form-label-float {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  pointer-events: none;
  transition: transform 0.2s ease, font-size 0.2s ease, color 0.2s ease;
}

.input-with-icon--float .form-label-float {
  left: 3rem;
}

.form-label-float--textarea {
  top: 1.125rem;
  transform: none;
}

.form-input:focus~.form-label-float,
.form-input:not(:placeholder-shown)~.form-label-float,
.form-input.has-value~.form-label-float,
.form-textarea:focus~.form-label-float,
.form-textarea:not(:placeholder-shown)~.form-label-float,
.form-textarea.has-value~.form-label-float {
  top: -0.35rem;
  left: 1rem;
  transform: translateY(-100%);
  font-size: 0.75rem;
  color: var(--teal);
}

.input-with-icon--float .form-input:focus~.form-label-float,
.input-with-icon--float .form-input:not(:placeholder-shown)~.form-label-float,
.input-with-icon--float .form-input.has-value~.form-label-float {
  left: 3rem;
}

.textarea-float-wrap .form-label-float--textarea.form-label-float {
  top: 1.125rem;
  transform: none;
}

.textarea-float-wrap .form-textarea:focus~.form-label-float,
.textarea-float-wrap .form-textarea:not(:placeholder-shown)~.form-label-float {
  top: -0.35rem;
  transform: translateY(-100%);
}

.choice-grid--sm {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.choice-btn--sm {
  padding: 0.65rem 0.5rem;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: white;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.choice-btn--sm:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(64, 224, 208, 0.4);
}

.choice-btn--sm.selected {
  background: #fff;
  color: #000;
  border: 2px solid var(--teal);
  font-weight: 600;
  box-shadow: 0 0 0 1px var(--teal), 0 0 12px rgba(64, 224, 208, 0.5), 0 0 24px rgba(64, 224, 208, 0.25);
}

.choice-btn--sm.selected:hover {
  box-shadow: 0 0 0 2px var(--teal), 0 0 16px rgba(64, 224, 208, 0.6), 0 0 32px rgba(64, 224, 208, 0.3);
}

.choice-btn--sm.selected .badge {
  background: #0d1b2a;
  color: var(--teal);
  border-color: var(--teal);
}

/* Step 2: Guests — compact selector */
.guest-selector {
  margin-bottom: 1rem;
}

.guest-selector__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.guest-selector__btn {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--teal);
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.guest-selector__btn:hover {
  background: rgba(64, 224, 208, 0.15);
  border-color: var(--teal);
}

.guest-selector__input {
  width: 4rem;
  padding: 0.6rem 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  -moz-appearance: textfield;
}

.guest-selector__input::-webkit-outer-spin-button,
.guest-selector__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.guest-selector__unit {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.guest-selector__slider {
  width: 100%;
  height: 8px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--surface);
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.guest-selector__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  background: var(--teal);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(64, 224, 208, 0.4);
  transition: transform 0.15s ease;
}

.guest-selector__slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

.guest-selector__slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: var(--teal);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(64, 224, 208, 0.4);
}

.guest-selector__hint {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Step 3: Dates & Nights — premium layout */
#lead-step-3 .lead-nav .btn-primary.lead-step-3-next {
  padding: 1rem 2rem;
  font-size: 1rem;
  box-shadow: 0 0 20px rgba(64, 224, 208, 0.35);
}

#lead-step-3 .lead-nav .btn-primary.lead-step-3-next:not(:disabled):hover {
  box-shadow: 0 0 28px rgba(64, 224, 208, 0.5);
}

.lead-step-3-dates-row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.lead-step-3-dates-main {
  flex: 1;
  min-width: 280px;
}

.lead-step-3-summary-wrap {
  flex: 0 0 auto;
  min-width: 220px;
}

.lead-step-3-summary {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(64, 224, 208, 0.2);
  box-shadow: 0 0 24px rgba(64, 224, 208, 0.12);
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0.6;
  transform: translateY(4px);
}

.lead-step-3-summary.lead-step-3-summary--visible {
  opacity: 1;
  transform: translateY(0);
  box-shadow: 0 0 28px rgba(64, 224, 208, 0.18);
}

.lead-step-3-summary__title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.lead-step-3-summary__line {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.lead-step-3-summary__line:last-child {
  margin-bottom: 0;
}

.lead-date-summary {
  margin-top: 0.6rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--teal);
  min-height: 1.4em;
}

@media (max-width: 640px) {
  .lead-step-3-dates-row {
    flex-direction: column;
  }

  .lead-step-3-summary-wrap {
    min-width: 100%;
  }
}

/* Flatpickr — Azanov Retreat theme (our colors & fonts, fits viewport) */
.flatpickr-calendar {
  font-family: var(--font-body) !important;
  background: var(--bg-2) !important;
  border: 1px solid var(--border-teal) !important;
  box-shadow: var(--shadow-card) !important;
  border-radius: var(--radius-md) !important;
  padding: 1rem !important;
  margin-top: 0.5rem !important;
  z-index: 2500 !important;
  max-width: min(380px, calc(100vw - 2rem)) !important;
  width: 100% !important;
  overflow: visible !important;
}

/* Ensure calendar stays within viewport when modal is open */
body:has(.lead-modal-overlay.open) .flatpickr-calendar.open {
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
}

.flatpickr-calendar.animate.open {
  animation: flatpickr-open 0.2s ease;
}

@keyframes flatpickr-open {
  from {
    opacity: 0;
    transform: translate(-50%, -8px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

body:has(.lead-modal-overlay.open) .flatpickr-calendar.animate.open {
  animation: flatpickr-open-modal 0.2s ease;
}

@keyframes flatpickr-open-modal {
  from {
    opacity: 0;
    transform: translate(-50%, -8px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* Remove gray backgrounds from month row; allow arrows and pills to show (no clipping) */
.flatpickr-months {
  overflow: visible !important;
  position: relative !important;
}

.flatpickr-months .flatpickr-month {
  background: transparent !important;
  color: var(--text) !important;
  fill: var(--text) !important;
  min-height: 48px !important;
  height: auto !important;
  overflow: visible !important;
  padding: 6px 36px 8px !important;
  box-sizing: border-box !important;
}

span.flatpickr-weekday {
  background: transparent !important;
}

.flatpickr-current-month {
  font-family: var(--font-body) !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: var(--text) !important;
  position: relative !important;
  width: auto !important;
  max-width: 100% !important;
  left: 0 !important;
  padding: 0 !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  flex-wrap: nowrap !important;
}

/* Month selector — pill-style, same fixed width as year wrapper */
.flatpickr-current-month .flatpickr-monthDropdown-months {
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  padding: 0.5rem 2.25rem 0.5rem 0.85rem !important;
  width: 9rem !important;
  min-width: 9rem !important;
  background: transparent !important;
  border: 1px solid var(--border-teal) !important;
  border-radius: 100px !important;
  color: var(--teal) !important;
  appearance: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2340E0D0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.6rem center !important;
  background-size: 1rem !important;
  box-sizing: border-box !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months:hover {
  border-color: var(--teal) !important;
  background-color: rgba(64, 224, 208, 0.08) !important;
  box-shadow: 0 0 12px rgba(64, 224, 208, 0.2) !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months:focus {
  outline: none !important;
  border-color: var(--teal) !important;
  box-shadow: 0 0 0 2px rgba(64, 224, 208, 0.25) !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month {
  background-color: var(--bg-2) !important;
  color: var(--text) !important;
}

/* Year pill — same fixed width as month, flex row with ‒/+ flanking the year number */
.flatpickr-current-month .numInputWrapper {
  font-family: var(--font-body) !important;
  background: transparent !important;
  border: 1px solid var(--border-teal) !important;
  border-radius: 100px !important;
  padding: 0 !important;
  margin-left: 0 !important;
  width: 7.5rem !important;
  min-width: 7.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  overflow: hidden !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  box-sizing: border-box !important;
  position: relative !important;
}

.flatpickr-current-month .numInputWrapper:hover {
  border-color: var(--teal) !important;
  box-shadow: 0 0 12px rgba(64, 224, 208, 0.2) !important;
}

.flatpickr-current-month .numInputWrapper input.cur-year {
  color: var(--teal) !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  width: 4ch !important;
  min-width: 0 !important;
  text-align: center !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-sizing: border-box !important;
  pointer-events: none !important;
}

.flatpickr-current-month .numInputWrapper input.cur-year:focus {
  outline: none !important;
}

/* Re-show arrowUp/Down as ‒ / + stepper buttons */
.flatpickr-current-month .numInputWrapper span.arrowUp,
.flatpickr-current-month .numInputWrapper span.arrowDown {
  display: flex !important;
  position: static !important;
  align-items: center !important;
  justify-content: center !important;
  width: 2.2rem !important;
  height: 2.2rem !important;
  opacity: 1 !important;
  cursor: pointer !important;
  transition: background 0.15s, color 0.15s !important;
  flex-shrink: 0 !important;
  border-radius: 100px !important;
}

.flatpickr-current-month .numInputWrapper span.arrowUp::after {
  content: '+' !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: var(--teal) !important;
  line-height: 1 !important;
}

.flatpickr-current-month .numInputWrapper span.arrowDown::after {
  content: '−' !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: var(--teal) !important;
  line-height: 1 !important;
}

.flatpickr-current-month .numInputWrapper span.arrowUp:hover,
.flatpickr-current-month .numInputWrapper span.arrowDown:hover {
  background: rgba(64, 224, 208, 0.12) !important;
}

/* Disabled minus when at min year */
.flatpickr-current-month .numInputWrapper span.arrowDown.fp-disabled {
  opacity: 0.3 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

.flatpickr-current-month .numInputWrapper span.arrowDown.fp-disabled::after {
  color: var(--text-muted) !important;
}

.flatpickr-weekday {
  color: var(--text-muted) !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  font-size: 0.7rem !important;
}

.flatpickr-day {
  font-family: var(--font-body) !important;
  color: var(--text) !important;
  border-radius: var(--radius-sm) !important;
  transition: all 0.2s ease !important;
  border: 1px solid transparent !important;
}

.flatpickr-day.today {
  border-color: var(--teal) !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: var(--teal) !important;
  border-color: var(--teal) !important;
  color: var(--deep) !important;
  font-weight: 700 !important;
}

.flatpickr-day:hover {
  background: var(--surface-2) !important;
}

.flatpickr-day.nextMonthDay,
.flatpickr-day.prevMonthDay {
  color: var(--text-dim) !important;
}

.flatpickr-prev-month,
.flatpickr-next-month {
  padding: 0.5rem !important;
  border-radius: var(--radius-sm) !important;
  transition: all 0.2s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.flatpickr-months .flatpickr-prev-month {
  left: 2px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  right: auto !important;
}

.flatpickr-months .flatpickr-next-month {
  right: 2px !important;
  left: auto !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
  background: rgba(64, 224, 208, 0.1) !important;
}

.flatpickr-prev-month:hover svg,
.flatpickr-next-month:hover svg {
  fill: var(--teal) !important;
}

.flatpickr-prev-month svg,
.flatpickr-next-month svg {
  fill: var(--text-muted);
  transition: fill 0.2s ease;
}

/* Ensure day grid fits — Flatpickr uses ~43px cells by default */
.flatpickr-calendar .dayContainer {
  width: 100% !important;
  min-width: 0 !important;
}

.flatpickr-calendar .flatpickr-innerContainer {
  overflow: hidden;
}

/* Custom styles for native select for better look on mobile or fallback */
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2340E0D0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
  padding-right: 3rem;
}

/* Badge styling inherited from BADGES section — dark blue bg, teal/gold text */

/* ============================================================
   AZBUKA A-Z
   ============================================================ */
.azbuka-slider-container {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.azbuka-slider {
  position: relative;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  /* Fix hover cutoff */
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
  padding-top: 1rem;
  /* Space for hover transform */
  scrollbar-width: none;
  padding-inline: max(clamp(1.25rem, 4vw, 4rem), calc((100vw - 1280px) / 2 + clamp(1.25rem, 4vw, 4rem)));
}

.azbuka-slider::-webkit-scrollbar {
  display: none;
}

.azbuka-slider .azbuka-card {
  flex: 0 0 340px;
  scroll-snap-align: center;
  height: auto;
}

@media (max-width: 768px) {
  .azbuka-slider .azbuka-card {
    flex: 0 0 280px;
  }
}

.azbuka-nav-wrapper {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  padding: 0.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 100px;
}

.azbuka-nav {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  scroll-behavior: smooth;
  gap: 0.25rem;
  padding: 0;
  cursor: grab;
  /* Mask edges for a clean fade effect */
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 5%, rgba(0, 0, 0, 1) 95%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 5%, rgba(0, 0, 0, 1) 95%, rgba(0, 0, 0, 0) 100%);
}

.azbuka-nav:active {
  cursor: grabbing;
}

.azbuka-nav::-webkit-scrollbar {
  display: none;
}

.azbuka-nav-btn {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text-muted);
  flex: 0 0 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
  cursor: pointer;
  background: transparent;
  border: 1px solid transparent;
  box-sizing: border-box;
}

.azbuka-nav-btn:hover {
  color: var(--teal);
  background: rgba(64, 224, 208, 0.08);
}

.azbuka-nav-btn.active {
  color: var(--gold);
  font-size: 1.05rem;
  border-color: rgba(201, 168, 76, 0.5);
  background: rgba(201, 168, 76, 0.2);
  box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.25);
}

.azbuka-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
}

.azbuka-card:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
  box-shadow: 0 10px 30px rgba(0, 51, 68, 0.4);
}

.azbuka-card__bg-letter {
  position: absolute;
  top: -15px;
  right: -5px;
  font-size: 9rem;
  font-family: var(--font-head);
  line-height: 1;
  color: rgba(64, 224, 208, 0.03);
  font-weight: 700;
  user-select: none;
  pointer-events: none;
  transition: color 0.35s ease;
}

.azbuka-card:hover .azbuka-card__bg-letter {
  color: rgba(64, 224, 208, 0.08);
}

.azbuka-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(64, 224, 208, 0.1);
  color: var(--teal);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  z-index: 1;
  font-size: 1.5rem;
}

.azbuka-card__letter {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  margin-right: 0.5rem;
}

.azbuka-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  z-index: 1;
  display: flex;
  align-items: baseline;
}

.azbuka-card__short {
  font-size: 0.9rem;
  color: var(--text-muted);
  z-index: 1;
  flex: 1;
}

.azbuka-card__more {
  margin-top: 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 1;
}

.azbuka-card:hover .azbuka-card__more {
  opacity: 1;
  transform: translateX(0);
}

.azbuka-modal-letter {
  font-family: var(--font-head);
  font-size: 5rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}