/* ================================================================
   OW TRAVEL — iOS 27 Glassmorphism Design System
   Ultra-Premium, Mobile-First
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,700;0,800;1,700&display=swap');

/* ── CSS Custom Properties ── */
:root {
  /* Core Palette — Dark */
  --bg-void:        #080810;
  --bg-deep:        #0d0d1a;
  --bg-surface:     #12121f;
  --bg-elevated:    #1a1a2e;

  /* Glass System */
  --glass-bg:       rgba(255,255,255,0.04);
  --glass-bg-md:    rgba(255,255,255,0.07);
  --glass-bg-hi:    rgba(255,255,255,0.12);
  --glass-border:   rgba(255,255,255,0.10);
  --glass-border-hi:rgba(255,255,255,0.22);
  --glass-shadow:   0 8px 32px rgba(0,0,0,0.6), 0 1px 0 rgba(255,255,255,0.06) inset;

  /* Accent — Lime Neon */
  --lime:           #c8ff00;
  --lime-glow:      rgba(200,255,0,0.35);
  --lime-subtle:    rgba(200,255,0,0.08);
  --lime-dark:      #a0cc00;
  --lime-text:      #121212;

  /* Text */
  --text-primary:   #f2f2f7;
  --text-secondary: rgba(242,242,247,0.65);
  --text-tertiary:  rgba(242,242,247,0.35);

  /* Stars */
  --star-color:     rgba(255, 255, 255, 0.85);
  --star-glow:      rgba(255, 255, 255, 0.45);

  /* Borders */
  --border:         rgba(255,255,255,0.08);
  --border-active:  rgba(200,255,0,0.4);

  /* Typography */
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', 'Georgia', serif;

  /* Motion */
  --spring:       cubic-bezier(0.34,1.56,0.64,1);
  --ease-smooth:  cubic-bezier(0.4,0,0.2,1);
  --ease-out:     cubic-bezier(0,0,0.2,1);

  /* Radius — iOS 27 Style */
  --r-xs:  8px;
  --r-sm:  14px;
  --r-md:  20px;
  --r-lg:  28px;
  --r-xl:  36px;
  --r-pill:999px;
}

/* Light Theme — Pure White & High Contrast Palette */
body.light-theme {
  --bg-void:        #ffffff;
  --bg-deep:        #f8f9fa;
  --bg-surface:     #f1f5f9;
  --bg-elevated:    #ffffff;
  --glass-bg:       rgba(255, 255, 255, 0.95);
  --glass-bg-md:    rgba(248, 250, 252, 0.98);
  --glass-bg-hi:    rgba(241, 245, 249, 0.98);
  --glass-border:   rgba(0, 0, 0, 0.12);
  --glass-border-hi:rgba(0, 0, 0, 0.20);
  --glass-shadow:   0 8px 32px rgba(0, 0, 0, 0.08), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  --lime:           #0088cc;
  --lime-glow:      rgba(0, 136, 204, 0.25);
  --lime-subtle:    rgba(0, 136, 204, 0.09);
  --lime-dark:      #006699;
  --lime-text:      #ffffff;
  --text-primary:   #111827;
  --text-secondary: rgba(17, 24, 39, 0.75);
  --text-tertiary:  rgba(17, 24, 39, 0.45);
  --border:         rgba(0, 0, 0, 0.10);
  --border-active:  rgba(0, 136, 204, 0.5);
  --star-color:     rgba(0, 136, 204, 0.3);
  --star-glow:      rgba(0, 136, 204, 0.1);
}

/* ── Global Reset ── */
*, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background 0.4s var(--ease-smooth), color 0.4s var(--ease-smooth);
}

/* ── Animated Background Orbs ── */
body::before,
body::after {
  content: '';
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  transition: opacity 0.5s;
}
body::before {
  width: 600px; height: 600px;
  top: -150px; left: -150px;
  background: radial-gradient(circle, #c8ff00 0%, transparent 70%);
  animation: orb-drift1 18s ease-in-out infinite alternate;
}
body::after {
  width: 500px; height: 500px;
  bottom: -100px; right: -100px;
  background: radial-gradient(circle, #0070f3 0%, transparent 70%);
  animation: orb-drift2 22s ease-in-out infinite alternate;
}

/* Light theme — stronger orbs for depth on grey-green bg */
body.light-theme::before {
  opacity: 0.35;
  background: radial-gradient(circle, #90b800 0%, transparent 70%);
}
body.light-theme::after  {
  opacity: 0.20;
  background: radial-gradient(circle, #6aad50 0%, transparent 70%);
}

/* Light theme colour sprite blobs — extra depth layer */
body.light-theme .hero-section::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  top: 5%; right: 5%;
  background: radial-gradient(circle, rgba(106,158,0,0.42) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(75px);
  pointer-events: none;
  z-index: 0;
  animation: orb-drift1 20s ease-in-out infinite alternate;
}
body.light-theme .hero-section::after {
  content: '';
  position: absolute;
  width: 380px; height: 380px;
  bottom: 10%; left: 5%;
  background: radial-gradient(circle, rgba(80,140,60,0.20) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(55px);
  pointer-events: none;
  z-index: 0;
  animation: orb-drift2 25s ease-in-out infinite alternate;
}

@keyframes orb-drift1 {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(80px,120px) scale(1.2); }
}
@keyframes orb-drift2 {
  0%   { transform: translate(0,0) scale(1.1); }
  100% { transform: translate(-80px,-60px) scale(0.9); }
}

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Glass Utility ── */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  box-shadow: var(--glass-shadow);
}

.glass-md {
  background: var(--glass-bg-md);
  border: 1px solid var(--glass-border-hi);
  backdrop-filter: blur(30px) saturate(2);
  -webkit-backdrop-filter: blur(30px) saturate(2);
  box-shadow: var(--glass-shadow);
}

/* ── Typography ── */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 9vw, 5.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.display-md {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
}
.label-accent {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
}
.body-lg { font-size: clamp(1rem, 2.5vw, 1.15rem); line-height: 1.65; color: var(--text-secondary); }
.body-sm { font-size: 0.875rem; line-height: 1.55; color: var(--text-secondary); }

/* ── Buttons ── */
.btn-lime {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lime);
  color: var(--lime-text);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s var(--spring);
  position: relative;
  overflow: hidden;
}
.btn-lime::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn-lime:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 8px 24px var(--lime-glow); }
.btn-lime:hover::before { opacity: 1; }
.btn-lime:active { transform: scale(0.97); }

.btn-glass {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--glass-bg-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  border: 1px solid var(--glass-border-hi);
  cursor: pointer;
  text-decoration: none;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.25s var(--spring);
}
.btn-glass:hover { background: var(--glass-bg-hi); transform: translateY(-2px); border-color: var(--border-active); }

/* ── HEADER ── */
.main-header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 900;
  padding: 8px 0;
  background: var(--glass-bg-md);
  backdrop-filter: blur(40px) saturate(2);
  -webkit-backdrop-filter: blur(40px) saturate(2);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 32px rgba(0,0,0,0.3);
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  will-change: transform;
  transition: all 0.4s var(--ease-smooth);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 12px;
}

/* Logo */
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-badge {
  width: 44px; height: 44px;
  background: var(--lime);
  color: var(--lime-text);
  font-weight: 900;
  font-size: 0.65rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
  box-shadow: 0 4px 14px var(--lime-glow);
  flex-shrink: 0;
  transition: transform 0.25s var(--spring);
}
.logo-wrap:hover .logo-badge { transform: rotate(-5deg) scale(1.08); }
.logo-name { font-weight: 700; font-size: 1rem; color: var(--text-primary); }
.logo-sub  { font-size: 0.7rem; color: var(--text-tertiary); font-weight: 400; }

/* Nav */
.main-nav {
  display: none;
  gap: 16px;
  background: none;
  border: none;
  padding: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  align-items: center;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 0;
  border-radius: 0;
  transition: color 0.2s var(--ease-smooth);
  position: relative;
  white-space: nowrap;
}
.main-nav a:hover {
  color: var(--text-primary);
  background: none;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--lime);
  transition: all 0.25s ease;
  transform: translateX(-50%);
}
.main-nav a:hover::after {
  width: 100%;
}
.main-nav a.nav-home::after {
  display: none !important;
}
.main-nav a.nav-home {
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
.main-nav a.nav-home:hover {
  opacity: 0.85;
}

/* ── Nav Dropdown Menu ── */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-dropdown > a::after {
  content: ' ▾';
  font-size: 0.75rem;
  margin-left: 2px;
  opacity: 0.7;
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--bg-deep);
  border: 1px solid var(--glass-border-hi);
  border-radius: var(--r-md);
  padding: 8px;
  min-width: 220px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s var(--ease-smooth);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(4px);
}
.nav-dropdown-menu a {
  padding: 10px 14px !important;
  border-radius: var(--r-sm) !important;
  font-size: 0.82rem !important;
  color: var(--text-secondary) !important;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s ease !important;
}
.nav-dropdown-menu a::after {
  display: none !important;
}
.nav-dropdown-menu a:hover {
  background: var(--glass-bg-hi) !important;
  color: var(--lime) !important;
}


@media (min-width: 1000px) { .main-nav { display: flex; gap: 20px; } }
@media (min-width: 900px) and (max-width: 999px) { .main-nav { display: flex; gap: 12px; } }
@media (min-width: 900px) and (max-width: 999px) { .main-nav a { font-size: 0.75rem; } }

/* Двухэтажное меню для десктопа (экраны от 900px) */
@media (min-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    height: auto;
    gap: 12px 0;
    padding: 6px 0;
  }
  .logo-wrap {
    order: 1;
  }
  .header-right {
    order: 2;
  }
  .main-nav {
    order: 3;
    flex-basis: 100%;
    width: 100%;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 10px;
    margin-top: 2px;
  }
}

/* Header Right */
.header-right { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

.theme-btn {
  width: 38px; height: 38px;
  border-radius: var(--r-pill);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  color: var(--text-primary);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.2s var(--ease-smooth);
}
.theme-btn:hover { background: var(--glass-bg-md); border-color: var(--border-active); }

.sun-icon  { display: none; }
body.light-theme .sun-icon  { display: block; }
body.light-theme .moon-icon { display: none; }

/* ── MOBILE NAV DRAWER ── */
.mobile-menu-btn { display: flex; }
@media (min-width: 900px) { .mobile-menu-btn { display: none; } }

/* .mobile-nav-cta скрыта по умолчанию — показывается только в .open */
.mobile-nav-cta { display: none; }

/* Hide theme toggle button globally — strictly dark theme mode */
#theme-toggle,
#mobile-theme-btn {
  display: none !important;
}


/* ── CTA кнопки хедера (desktop & mobile base) ── */
.btn-header-cta {
  padding: 10px 18px;
  font-size: 0.85rem;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  flex-shrink: 0;
}
.btn-header-cta .svg-icon-inline {
  color: inherit !important;
}

/* ── Mobile Header Layout (Screens <= 899px) ── */
.main-header .logo-br {
  display: none;
}

@media (max-width: 899px) {
  .main-header .container {
    padding: 0 10px !important;
  }
  .header-inner {
    gap: 6px !important;
  }
  .header-right {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }

  /* Logo text: OST& WEST in 2 rows on mobile */
  .main-header .logo-sub {
    display: none !important;
  }
  .main-header .logo-br {
    display: block !important;
  }
  .main-header .logo-name {
    font-size: 0.78rem !important;
    line-height: 1.05 !important;
    letter-spacing: 0.02em !important;
    text-align: right !important;
  }
  .main-header .logo-badge {
    width: 34px !important;
    height: 34px !important;
  }
  .main-header .logo-badge svg {
    width: 34px !important;
    height: 34px !important;
  }

  /* Mobile hamburger menu toggle button */
  .mobile-menu-btn {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
  }

  /* Tourvisor Callback Button ("Заказать звонок!") */
  .tv-free-button {
    flex-shrink: 0 !important;
  }
  .tv-free-button a,
  .tv-free-button button,
  .tv-free-button div {
    font-size: 0.82rem !important;
    padding: 6px 12px !important;
    height: 36px !important;
    line-height: 24px !important;
    border-radius: var(--r-pill) !important;
    white-space: nowrap !important;
  }

  /* "Написать НАМ" pictogram button */
  .header-dropdown-wrap {
    flex-shrink: 0 !important;
  }
  .header-right .btn-header-dropdown {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: var(--lime) !important;
    background-image: none !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(200, 255, 0, 0.3) !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
  }

  /* Hide button text on mobile so it functions strictly as a pictogram icon button */
  .header-right .btn-header-dropdown .btn-text {
    display: none !important;
  }

  /* Center embedded SVG pictogram icon */
  .header-right .btn-header-dropdown .header-btn-svg {
    width: 18px !important;
    height: 18px !important;
    display: block !important;
    stroke: #121212 !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
  }
}


/* Desktop компакт: 900–1100px */
@media (min-width: 900px) and (max-width: 1100px) {
  .btn-header-cta {
    padding: 8px 14px;
    font-size: 0.78rem;
  }
}

/* Иконки в мобильном меню */
.mobile-nav-cta svg,
.mobile-nav-cta .svg-icon-inline {
  color: inherit !important;
}


/* Mobile dropdown menu */
.main-nav.open {
  display: flex !important;
  flex-direction: column;
  position: fixed;
  top: 64px;
  left: 0; right: 0;
  padding: 16px 20px 24px;
  background: rgba(12, 12, 22, 0.97);
  backdrop-filter: blur(40px) saturate(2);
  -webkit-backdrop-filter: blur(40px) saturate(2);
  border-bottom: 1px solid var(--glass-border-hi);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  z-index: 890;
  gap: 4px;
  animation: navSlideDown 0.25s var(--ease-smooth) both;
}
@keyframes navSlideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.main-nav.open a {
  font-size: 1rem;
  font-weight: 700;
  padding: 13px 16px;
  border-radius: 12px;
  color: var(--text-secondary);
  transition: background 0.18s ease, color 0.18s ease;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.main-nav.open a:last-of-type { border-bottom: none; }
.main-nav.open a:hover,
.main-nav.open a:active { background: var(--glass-bg-md); color: var(--text-primary); }
.main-nav.open a::after { display: none; }

/* CTA + утилиты в мобильном меню */
.main-nav.open .mobile-nav-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--glass-border-hi);
}
.main-nav.open .mobile-nav-cta a,
.main-nav.open .mobile-nav-cta button {
  width: 100% !important;
  justify-content: center !important;
  padding: 14px 20px !important;
  font-size: 0.95rem !important;
  border-radius: var(--r-pill) !important;
  font-weight: 700;
  display: flex !important;
  align-items: center;
  gap: 8px;
  border-bottom: none !important;
  background: none;
}
.main-nav.open .mobile-nav-cta .mobile-cta-call {
  background: var(--lime) !important;
  color: var(--lime-text) !important;
  border: none !important;
}
.main-nav.open .mobile-nav-cta .mobile-cta-tg {
  background: var(--glass-bg-md) !important;
  border: 1px solid var(--border-active) !important;
  color: var(--lime) !important;
}

/* Утилиты (кабинет + тема) в дропдауне на мобильном */
.mobile-nav-utils {
  display: none;
}
.main-nav.open .mobile-nav-utils {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--glass-border);
}
.main-nav.open .mobile-nav-utils .theme-btn {
  width: 44px; height: 44px;
  border-color: var(--glass-border-hi);
}

/* ── HERO SECTION ── */
.hero-section {
  position: relative;
  min-height: clamp(520px, 70vh, 720px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 16px;
  padding-bottom: 0;
  overflow: hidden;
  z-index: 1;
}

.hero-content {
  display: flex !important;
  position: relative;
  z-index: 5;
  align-items: center;
  justify-content: center;
  padding-top: 0;
  margin-top: 0;
  margin-bottom: 10px;
}

.hero-title,
.hero-ctas,
.hero-stats {
  display: none !important;
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 480px;
    justify-content: flex-start;
    padding-top: 10px;
    padding-bottom: 0;
  }
}

.hero-globe-wrapper {
  position: absolute;
  top: calc(50% + 45px);
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(90vw, 820px);
  height: min(90vw, 820px);
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.95;
  transition: opacity 0.5s ease;
  animation: globe-entry 3s cubic-bezier(0.1, 0.75, 0.25, 1) forwards;
  will-change: transform;
  transform: translate3d(-50%, -50%, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}

@keyframes globe-entry {
  0% {
    transform: translate(-50%, -50%) scale(0.3);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.95;
  }
}
/* Subtle radial glow behind the globe so it doesn’t blend into the bg */
.hero-globe-wrapper::before {
  content: '';
  position: absolute;
  inset: -6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,100,200,0.18) 0%, rgba(0,60,140,0.10) 45%, transparent 72%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
  animation: orb-drift2 20s ease-in-out infinite alternate;
}
body.dark-theme .hero-globe-wrapper::before {
  background: radial-gradient(circle, rgba(0,120,255,0.22) 0%, rgba(0,50,120,0.14) 45%, transparent 72%);
}
body.light-theme .hero-globe-wrapper::before {
  background: radial-gradient(circle, rgba(80,160,255,0.20) 0%, rgba(40,100,200,0.10) 45%, transparent 72%);
}

/* Mobile Only: Globe +20% larger again */
@media (max-width: 768px) {
  .hero-globe-wrapper {
    left: 50%;
    top: calc(50% + 25px);
    width: min(138vw, 600px);
    height: min(138vw, 600px);
  }
}

body.light-theme .hero-globe-wrapper {
  opacity: 0.98;
}

#hero-globe-canvas {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.hero-content::before {
  content: '';
  position: absolute;
  inset: -20px -80px;
  background: radial-gradient(circle, rgba(8,8,16,0.65) 0%, rgba(8,8,16,0) 72%);
  z-index: -1;
  border-radius: 50%;
  filter: blur(28px);
  pointer-events: none;
}
body.light-theme .hero-content::before {
  /* Soft warm haze behind text for readability on grey bg */
  background: radial-gradient(circle, rgba(200,210,230,0.70) 0%, rgba(200,210,230,0) 72%);
  filter: blur(30px);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--glass-bg-md);
  border: 1px solid var(--glass-border-hi);
  backdrop-filter: blur(20px);
  border-radius: var(--r-pill);
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--lime);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.7); }
}

.hero-title {
  max-width: 850px;
  padding: 0 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0 auto;
  text-align: center;
}
.hero-title-top {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 2.2vw, 1.25rem);
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.8));
}
.hero-title-main {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.25;
  font-style: italic;
  background: linear-gradient(135deg, var(--text-primary) 50%, var(--lime) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter:
    drop-shadow(0 0 6px rgba(0,0,0,0.95))
    drop-shadow(0 0 14px rgba(0,0,0,0.80))
    drop-shadow(0 2px 3px rgba(0,0,0,0.90));
}
body.light-theme .hero-title-main {
  background: linear-gradient(135deg, var(--text-primary) 50%, #5c8a00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter:
    drop-shadow(0 0 7px rgba(255,255,255,1.0))
    drop-shadow(0 0 16px rgba(255,255,255,0.85))
    drop-shadow(0 2px 4px rgba(0,0,0,0.25));
}
body.light-theme .hero-title-top {
  color: var(--text-secondary);
  filter: none;
}

.hero-desc { color: var(--text-secondary); max-width: 480px; font-size: 1rem; line-height: 1.6; }
body.light-theme .hero-desc { color: rgba(28,28,30,0.85); font-weight: 500; }

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* Hero floating stats — iOS 27 Glass Cards */
.hero-stats {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}
.stat-pill {
  background: var(--glass-bg-md);
  border: 1px solid var(--glass-border-hi);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border-radius: var(--r-pill);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float-bob 4s ease-in-out infinite;
}
.stat-pill:nth-child(2) { animation-delay: 0.7s; }
.stat-pill:nth-child(3) { animation-delay: 1.4s; }
@keyframes float-bob {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}
.stat-num { font-size: 1.25rem; font-weight: 800; color: var(--lime); font-variant-numeric: tabular-nums; }
.stat-lbl { font-size: 0.75rem; color: var(--text-secondary); font-weight: 500; }

/* Star System for Hero Background */
.hero-stars-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-star {
  position: absolute;
  background: var(--star-color);
  border-radius: 50%;
  box-shadow: 0 0 3px var(--star-glow);
  opacity: 0;
  animation: star-twinkle 4s ease-in-out infinite;
}

@keyframes star-twinkle {
  0%, 100% {
    opacity: 0.15;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* ── MARQUEE RIBBON ── */
.marquee-section {
  position: relative;
  z-index: 1;
  padding: 40px 0;
  overflow: hidden;
}
.marquee-section::before,
.marquee-section::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee-section::before { left: 0; background: linear-gradient(to right, var(--bg-void), transparent); }
.marquee-section::after  { right: 0; background: linear-gradient(to left,  var(--bg-void), transparent); }

.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: ticker 30s linear infinite;
  will-change: transform;
  transform: translateZ(0);
  contain: layout style;
}
.marquee-track:hover { animation-play-state: paused; }

@keyframes ticker {
  0%   { transform: translate3d(0,0,0); }
  100% { transform: translate3d(-50%,0,0); }
}

/* ── OFFER CARDS — iOS 27 Liquid Glass ── */
.offer-card {
  position: relative;
  width: 300px;
  height: 420px;
  border-radius: var(--r-xl);
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.4s var(--spring), box-shadow 0.4s var(--ease-smooth);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4), 0 1px 0 rgba(255,255,255,0.08) inset;
  contain: content;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.offer-card:hover {
  transform: translateY(-8px) scale(1.02) translateZ(0);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5), 0 0 0 1px var(--border-active);
}
.offer-card:active { transform: scale(0.97) translateZ(0); }

.card-bg-layer {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease-smooth);
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.offer-card:hover .card-bg-layer { transform: scale(1.06) translateZ(0); }

.card-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.75) 70%, rgba(0,0,0,0.92) 100%);
}

.card-tag {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 3;
  background: var(--lime);
  color: var(--lime-text);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--r-pill);
}

.card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  padding: 24px;
  /* Liquid Glass Bottom Panel */
  background: rgba(10,10,20,0.5);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-top: 1px solid rgba(255,255,255,0.10);
}
.card-title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.card-sub   { font-size: 0.82rem; color: rgba(255,255,255,0.65); margin-bottom: 12px; }
.card-price { font-size: 1.3rem; font-weight: 800; color: var(--lime); }
.card-arrow {
  position: absolute;
  bottom: 24px; right: 24px;
  width: 36px; height: 36px;
  background: var(--lime);
  color: var(--lime-text);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.25s var(--spring);
}
.offer-card:hover .card-arrow { transform: translate(3px,-3px) scale(1.1); }

/* ── ABOUT / EXPERT SECTION ── */
.about-section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.about-glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(30px) saturate(1.8);
  -webkit-backdrop-filter: blur(30px) saturate(1.8);
  border-radius: var(--r-xl);
  padding: clamp(32px,6vw,64px);
  box-shadow: var(--glass-shadow), 0 0 80px rgba(200,255,0,0.04);
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 768px) {
  .about-glass-card { grid-template-columns: 1fr 1.2fr; }
}

/* Photo wrapper */
.photo-frame {
  position: relative;
  max-width: 380px;
  width: 100%;
  margin: 0 auto;
}
.photo-frame::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--lime), transparent 50%, rgba(200,255,0,0.3));
  z-index: 0;
}
.expert-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: calc(var(--r-xl) - 2px);
  object-fit: cover;
  aspect-ratio: 3/4;
  display: block;
}
.experience-pill {
  position: absolute;
  bottom: -16px; right: -16px;
  z-index: 2;
  background: var(--lime);
  color: var(--lime-text);
  border-radius: var(--r-md);
  padding: 16px 20px;
  text-align: center;
  box-shadow: 0 8px 24px var(--lime-glow);
}
.exp-num { font-size: 2rem; font-weight: 900; line-height: 1; display: block; }
.exp-lbl { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; display: block; letter-spacing: 0.08em; }

/* About text area */
.about-info { display: flex; flex-direction: column; gap: 24px; }
.section-eyebrow { display: block; margin-bottom: 4px; }
.about-lead { font-size: clamp(1rem,2.5vw,1.1rem); line-height: 1.7; color: var(--text-secondary); }

.expert-quote {
  background: var(--lime-subtle);
  border-left: 3px solid var(--lime);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 20px 24px;
}
.expert-quote blockquote { font-style: italic; color: var(--text-secondary); line-height: 1.65; margin-bottom: 10px; }
.expert-quote cite { font-weight: 700; font-style: normal; color: var(--text-primary); font-size: 0.875rem; }

/* Feature chips */
.features-wrap { display: flex; flex-wrap: wrap; gap: 10px; }
.feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--glass-bg-md);
  border: 1px solid var(--glass-border-hi);
  border-radius: var(--r-pill);
  padding: 6px 16px 6px 8px;
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  transition: all 0.2s var(--ease-smooth);
}
.feature-chip:hover {
  background: var(--lime-subtle);
  border-color: var(--border-active);
  transform: translateY(-1px);
}
.chip-icon-wrap {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 136, 204, 0.15);
  color: #0088cc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
body.light-theme .chip-icon-wrap {
  background: rgba(0, 122, 255, 0.12);
  color: #007aff;
}
.chip-svg {
  width: 15px;
  height: 15px;
  display: block;
}

/* ── WOW: Scrolling Numbers / Counter Strip ── */
.counter-strip {
  position: relative;
  z-index: 1;
  padding: 60px 0;
  overflow: hidden;
}
.counter-strip-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 640px) { .counter-strip-inner { grid-template-columns: repeat(4, 1fr); } }

.counter-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 28px 20px;
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.3s var(--spring);
  position: relative;
  overflow: hidden;
}
.counter-card::before {
  content: '';
  position: absolute;
  top: -40px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 80px;
  background: var(--lime-glow);
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.5;
}
.counter-card:hover { transform: translateY(-4px); border-color: var(--border-active); box-shadow: 0 12px 32px var(--lime-glow); }
.counter-num {
  font-size: clamp(2rem, 6vw, 2.8rem);
  font-weight: 900;
  color: var(--lime);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.counter-lbl { font-size: 0.78rem; color: var(--text-secondary); font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; }

/* ── QUIZ SECTION ── */
.quiz-section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.quiz-wrap {
  max-width: 600px;
  margin: 0 auto;
}

.section-header { text-align: center; margin-bottom: 48px; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem,5vw,2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
}
.section-desc { color: var(--text-secondary); font-size: 1rem; line-height: 1.6; max-width: 500px; margin: 0 auto; }

.quiz-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  backdrop-filter: blur(30px) saturate(1.8);
  -webkit-backdrop-filter: blur(30px) saturate(1.8);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
}

/* Progress Bar */
.quiz-progress-area { padding: 24px 28px 0; }
.progress-track {
  height: 4px;
  background: var(--glass-bg-md);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 8px;
}
.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--lime) 0%, rgba(200,255,0,0.6) 100%);
  border-radius: 2px;
  transition: width 0.5s var(--ease-smooth);
  box-shadow: 0 0 12px var(--lime-glow);
}
.progress-label { font-size: 0.75rem; color: var(--text-tertiary); font-weight: 500; }

/* Quiz Steps */
.quiz-body { padding: 28px; }
.quiz-step { display: none; }
.quiz-step.active { display: block; animation: step-in 0.4s var(--ease-out); }
@keyframes step-in {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
.quiz-question { font-size: 1.25rem; font-weight: 700; margin-bottom: 24px; line-height: 1.3; }

/* Option Cards */
.quiz-options { display: flex; flex-direction: column; gap: 12px; }
.option-label {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--glass-bg-md);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all 0.2s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}
.option-label:hover { border-color: var(--border-active); background: var(--lime-subtle); }
.option-label input { position: absolute; opacity: 0; width: 0; height: 0; }

.option-radio {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid var(--glass-border-hi);
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s var(--spring);
}
.option-label input:checked ~ .option-radio {
  border-color: var(--lime);
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime-glow);
}
.option-label input:checked ~ .option-radio::after {
  content: '✓';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 900;
  color: var(--lime-text);
}
.option-text { font-size: 0.95rem; font-weight: 500; }
.option-label input:checked ~ .option-text { font-weight: 700; color: var(--text-primary); }
.option-label:has(input:checked) { border-color: var(--border-active); background: var(--lime-subtle); }

/* Quiz Footer */
.quiz-footer {
  display: none !important;
}

/* ── FAQ SECTION ── */
.faq-section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

/* Category Pills */
.faq-cats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.faq-cat {
  padding: 10px 20px;
  border-radius: var(--r-pill);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text-secondary);
  backdrop-filter: blur(10px);
  transition: all 0.2s var(--ease-smooth);
  white-space: nowrap;
}
.faq-cat:hover  { background: var(--glass-bg-md); color: var(--text-primary); }
.faq-cat.active { background: var(--lime); color: var(--lime-text); border-color: var(--lime); box-shadow: 0 4px 16px var(--lime-glow); }

/* Accordion */
.faq-group { display: none; }
.faq-group.active { display: flex; flex-direction: column; gap: 12px; }

.accordion {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.accordion:hover { border-color: var(--glass-border-hi); }
.accordion.open  { border-color: var(--border-active); box-shadow: 0 4px 20px var(--lime-glow); }

.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  line-height: 1.4;
  transition: color 0.2s;
}
.accordion.open .accordion-trigger { color: var(--lime); }

.acc-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--glass-bg-md);
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  color: var(--lime);
  transition: transform 0.3s var(--spring), background 0.2s;
}
.accordion.open .acc-icon { transform: rotate(45deg); background: var(--lime-subtle); }

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-smooth);
}
.accordion.open .accordion-body { max-height: 600px; }
.accordion-body p {
  padding: 0 22px 22px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ── MEDIA SECTION ── */
.media-section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.media-grid {
  display: flex !important;
  flex-direction: row !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory !important;
  gap: 28px !important;
  padding: 16px 4px 32px 4px !important;
  scrollbar-width: thin;
}
.media-grid::-webkit-scrollbar {
  height: 6px;
}
.media-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 3px;
}
.media-grid::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}
body.light-theme .media-grid::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
}

.media-card {
  flex: 0 0 540px !important;
  width: 540px !important;
  scroll-snap-align: center !important;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.35s var(--spring);
  display: flex;
  flex-direction: column;
}
@media (max-width: 768px) {
  .media-card {
    flex: 0 0 85vw !important;
    width: 85vw !important;
  }
}
.media-card:hover { transform: translateY(-8px) scale(1.01); border-color: var(--border-active); box-shadow: 0 16px 40px rgba(0,0,0,0.3), 0 0 30px var(--lime-glow); }

.media-thumb {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.media-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--bg-void) 0%, transparent 60%);
}
.media-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.media-source { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lime); margin-bottom: 8px; }
.media-title { font-size: 1rem; font-weight: 700; line-height: 1.35; margin-bottom: 10px; }
.media-excerpt { font-size: 0.83rem; color: var(--text-secondary); line-height: 1.55; flex: 1; margin-bottom: 16px; }
.media-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s, gap 0.2s;
}
.media-link:hover { color: var(--lime); gap: 10px; }

.media-card.hidden {
  display: none !important;
}

/* ── MODAL (Liquid Glass Overlay) ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease-smooth);
}
.modal-overlay.open {
  opacity: 1; pointer-events: all;
}
@media (min-width: 640px) {
  .modal-overlay { align-items: center; }
}

.modal-sheet {
  width: 100%;
  max-width: 520px;
  background: var(--glass-bg-hi);
  border: 1px solid var(--glass-border-hi);
  backdrop-filter: blur(40px) saturate(2);
  -webkit-backdrop-filter: blur(40px) saturate(2);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  padding: 32px 28px 48px;
  box-shadow: 0 -8px 60px rgba(0,0,0,0.5);
  transform: translateY(40px);
  transition: transform 0.4s var(--spring);
  position: relative;
  max-height: 92svh;
  overflow-y: auto;
}
@media (min-width: 640px) {
  .modal-sheet {
    border-radius: var(--r-xl);
    padding: 40px;
    transform: scale(0.92) translateY(0);
  }
  .modal-overlay.open .modal-sheet { transform: scale(1) translateY(0); }
}
.modal-overlay.open .modal-sheet { transform: translateY(0); }

/* Handle bar */
.modal-handle {
  width: 36px; height: 4px;
  background: var(--glass-border-hi);
  border-radius: 2px;
  margin: 0 auto 24px;
  display: block;
}
@media (min-width: 640px) { .modal-handle { display: none; } }

.modal-close-btn {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--glass-bg-md);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.modal-close-btn:hover { background: var(--glass-bg-hi); color: var(--lime); }

.modal-hero-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--r-lg);
  margin-bottom: 20px;
  background-size: cover;
  background-position: center;
}
.modal-tag { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lime); margin-bottom: 8px; }
.modal-title { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; margin-bottom: 8px; }
.modal-price { font-size: 1.5rem; font-weight: 900; color: var(--lime); margin-bottom: 16px; }
.modal-text  { font-size: 0.92rem; line-height: 1.65; color: var(--text-secondary); margin-bottom: 28px; }
.modal-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── FOOTER ── */
.main-footer {
  position: relative;
  z-index: 1;
  padding: 80px 0 40px;
  border-top: 1px solid var(--glass-border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand p  { font-size: 0.875rem; color: var(--text-secondary); }
.footer-contact  { font-size: 0.875rem; color: var(--text-primary); line-height: 1.8; }
.footer-nav h4   { font-weight: 700; margin-bottom: 16px; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-tertiary); }
.footer-nav ul   { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-nav a    { font-size: 0.875rem; color: var(--text-secondary); text-decoration: none; transition: color 0.2s; }
.footer-nav a:hover { color: var(--lime); }
.footer-legal   { font-size: 0.82rem; color: var(--text-tertiary); }
.footer-legal p  { margin-bottom: 6px; }
.footer-copy    { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--glass-border); font-size: 0.75rem; color: var(--text-tertiary); }

/* ── SCROLL REVEAL Animation ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── iPhone-specific Safe Area / Notch handling ── */
@supports (padding: max(0px)) {
  .main-header { padding-top: max(12px, env(safe-area-inset-top)); }
  .modal-sheet { padding-bottom: max(48px, env(safe-area-inset-bottom)); }
  .main-footer { padding-bottom: max(40px, env(safe-area-inset-bottom)); }
}

/* ── Scrollbar Styling ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--glass-border-hi); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--lime); }

/* ── SEARCH RESULTS & TOURVISOR ── */
.search-results-section {
  position: relative;
  z-index: 1;
  padding: 20px 0 80px;
}
.results-glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(30px) saturate(1.8);
  -webkit-backdrop-filter: blur(30px) saturate(1.8);
  border-radius: var(--r-xl);
  padding: clamp(24px, 5vw, 44px);
  box-shadow: var(--glass-shadow);
}
.results-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

/* Tabs Navigation */
.results-tabs-wrapper {
  margin-bottom: 32px;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 16px;
}
.results-tabs {
  display: inline-flex;
  background: var(--glass-bg-md);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-pill);
  padding: 4px;
}
.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 10px 22px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--r-pill);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s var(--spring);
}
.tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}
.tab-btn.active {
  background: var(--lime);
  color: var(--lime-text);
  box-shadow: 0 4px 12px var(--lime-glow);
}
body.light-theme .tab-btn.active {
  color: #fff;
  background: var(--lime-dark);
}

.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
  animation: step-in 0.4s var(--ease-out);
}

/* Expert Cards Grid */
.expert-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.expert-tour-card {
  display: flex;
  flex-direction: column;
  background: var(--glass-bg-md);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  transition: transform 0.3s var(--spring), border-color 0.3s, box-shadow 0.3s;
}
.expert-tour-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-active);
  box-shadow: 0 16px 36px var(--lime-glow), var(--glass-shadow);
}
.expert-card-image-wrapper {
  height: 200px;
  position: relative;
  overflow: hidden;
}
.expert-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-smooth);
}
.expert-tour-card:hover .expert-card-image {
  transform: scale(1.08);
}
.expert-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--lime);
  color: var(--lime-text);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--r-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.expert-card-rating {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--r-xs);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.expert-card-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}
.expert-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}
.expert-card-details {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.expert-card-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--glass-border);
  padding-top: 16px;
  margin-top: auto;
}
.expert-card-price-label {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  display: block;
}
.expert-card-price-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--lime);
}
body.light-theme .expert-card-price-value {
  color: var(--lime-dark);
}

/* Tourvisor Search Widget & Simulator */
.tourvisor-container {
  min-height: 380px;
  border-radius: var(--r-lg);
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.2);
  overflow: hidden;
  position: relative;
}
body.light-theme .tourvisor-container {
  background: rgba(255, 255, 255, 0.4);
}

/* Simulator Form Styling */
.simulator-search-bar {
  background: var(--glass-bg-md);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  padding: 20px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.simulator-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.simulator-input-group label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}
.simulator-input, .simulator-select {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.88rem;
  transition: border-color 0.2s, background-color 0.2s;
}
body.light-theme .simulator-input,
body.light-theme .simulator-select {
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-primary);
}
.simulator-input:focus, .simulator-select:focus {
  outline: none;
  border-color: var(--border-active);
}
.simulator-search-btn {
  align-self: flex-end;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Segment controls for simulated search type */
.simulator-tab-segment {
  display: flex;
  background: rgba(0, 0, 0, 0.15);
  border-radius: var(--r-sm);
  padding: 3px;
  margin-bottom: 16px;
  grid-column: 1 / -1;
  width: fit-content;
}
body.light-theme .simulator-tab-segment {
  background: rgba(0, 0, 0, 0.05);
}
.segment-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  padding: 6px 16px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: calc(var(--r-sm) - 2px);
  cursor: pointer;
  transition: all 0.2s;
}
.segment-btn.active {
  background: var(--glass-bg-hi);
  color: var(--text-primary);
}

/* Advanced filter pill row */
.simulator-filters-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  margin-top: 8px;
  border-top: 1px solid var(--glass-border);
  padding-top: 16px;
}
.simulator-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}
.simulator-filter-pill:hover {
  border-color: var(--border-active);
  background: var(--lime-subtle);
  color: var(--text-primary);
}
.simulator-filter-pill.active {
  border-color: var(--border-active);
  background: var(--lime-subtle);
  color: var(--lime);
  font-weight: 600;
}
body.light-theme .simulator-filter-pill.active {
  color: var(--lime-dark);
}

.tour-loading-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  padding: 40px;
  text-align: center;
}
.tour-loading-placeholder .spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--glass-border);
  border-top-color: var(--lime);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

/* ── Mobile Fine-Tuning ── */
@media (max-width: 639px) {
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn-lime,
  .hero-ctas .btn-glass { width: 100%; max-width: 300px; justify-content: center; }
  .about-glass-card { padding: 28px 22px; }
  .quiz-body { padding: 20px; }
  .quiz-footer { padding: 16px 20px; }
  .faq-cats { gap: 6px; }
  .faq-cat { padding: 8px 14px; font-size: 0.78rem; }
  .results-header { flex-direction: column; align-items: stretch; }
  .results-header button { width: 100%; justify-content: center; margin-top: 10px; }
}

/* ================================================================
   ADDITIONAL STYLES — TRAVEL MAP, PERSONAL CABINET & TESTIMONIALS
   ================================================================ */

/* --- Expert & Company Separation --- */
.expert-section {
  position: relative;
  z-index: 1;
  padding: 100px 0 40px;
}
.company-section {
  position: relative;
  z-index: 1;
  padding: 40px 0 60px;
}

/* --- Why Trust Us Section --- */
.trust-section {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  background: radial-gradient(circle at 10% 20%, rgba(200, 255, 0, 0.02) 0%, transparent 60%);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.trust-card {
  padding: 32px 24px;
  border-radius: var(--r-lg);
  transition: all 0.3s var(--spring);
}
.trust-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-active);
  box-shadow: 0 12px 32px var(--lime-glow), var(--glass-shadow);
}
.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: var(--r-sm);
  background: var(--glass-bg-md);
  border: 1px solid var(--glass-border-hi);
  backdrop-filter: blur(12px) saturate(1.8);
  -webkit-backdrop-filter: blur(12px) saturate(1.8);
  color: var(--lime);
  margin-bottom: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.35s var(--spring);
}
body.light-theme .trust-icon {
  color: var(--lime-dark);
}
.trust-icon svg {
  width: 1.6rem;
  height: 1.6rem;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}
.trust-card:hover .trust-icon {
  transform: scale(1.1) rotate(5deg);
  border-color: var(--border-active);
  box-shadow: 0 12px 28px var(--lime-glow);
  background: var(--glass-bg-hi);
}
.trust-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.trust-card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Client Photos Grid */
.client-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.client-photo-card {
  position: relative;
  height: 280px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  transition: transform 0.3s var(--spring);
}
.client-photo-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0,0,0,0.5);
}
.client-photo {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease-smooth);
}
.client-photo-card:hover .client-photo {
  transform: scale(1.08);
}
.client-photo-desc {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  color: #fff;
}
.client-photo-desc strong {
  display: block;
  font-size: 0.9rem;
}
.client-photo-desc span {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.7);
}

/* --- Interactive World Map --- */
.map-section {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}
.map-container-wrap {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
}
@media (max-width: 900px) {
  .map-container-wrap {
    grid-template-columns: 1fr;
  }
}
.map-canvas-container {
  min-height: 400px;
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-svg {
  background: radial-gradient(circle, rgba(15,15,30,0.8) 0%, rgba(8,8,16,0.95) 100%);
  display: block;
}
body.light-theme .map-svg {
  background: radial-gradient(circle, rgba(255,255,255,0.9) 0%, rgba(235,237,242,0.95) 100%);
}
.map-node {
  cursor: pointer;
  pointer-events: all;
  transition: transform 0.25s var(--spring);
}
.map-node:hover {
  transform: scale(1.2) !important;
}
.node-label {
  fill: var(--text-primary);
  font-family: var(--font-body);
  pointer-events: none;
  opacity: 0.75;
  transition: opacity 0.2s, font-weight 0.2s;
  text-shadow: 0 1px 4px rgba(0,0,0,0.9);
}
body.light-theme .node-label {
  text-shadow: 0 1px 2px rgba(255,255,255,0.9);
  fill: var(--text-primary);
}
.map-node:hover .node-label,
.map-node.active .node-label {
  opacity: 1;
  font-weight: 800;
  fill: var(--lime);
}
body.light-theme .map-node:hover .node-label,
body.light-theme .map-node.active .node-label {
  fill: var(--lime-dark);
}

/* Pulsing Node Rings */
.pulse-lime {
  animation: pulse-node 2s infinite;
}
.pulse-lime-ring {
  animation: pulse-ring 2s infinite;
  transform-origin: center;
}
.pulse-red {
  animation: pulse-node-red 2s infinite;
}
.pulse-red-ring {
  animation: pulse-ring-red 2s infinite;
  transform-origin: center;
}

@keyframes pulse-node {
  0%, 100% { transform: scale(1); fill: var(--lime); }
  50% { transform: scale(1.1); fill: #fff; }
}
@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}
@keyframes pulse-node-red {
  0%, 100% { transform: scale(1); fill: #ff4500; }
  50% { transform: scale(1.15); fill: #ff6347; }
}
@keyframes pulse-ring-red {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Radar Sweeps */
.radar-circle {
  animation: radar-sweep 6s linear infinite;
  transform-origin: 450px 140px;
}
.radar-circle-delayed {
  animation: radar-sweep 6s linear infinite 3s;
  transform-origin: 450px 140px;
}
@keyframes radar-sweep {
  0% { opacity: 0.15; transform: scale(0.5); }
  50% { opacity: 0.25; }
  100% { opacity: 0; transform: scale(1.8); }
}

.flight-path {
  stroke-dasharray: 6,6;
  animation: flight-flow 30s linear infinite;
  opacity: 0.2;
  transition: opacity 0.3s, stroke-width 0.3s;
}
.flight-path.active {
  opacity: 0.95;
  stroke-width: 2px;
  stroke: var(--lime);
}
@keyframes flight-flow {
  to { stroke-dashoffset: -200; }
}

/* Map info panel */
.map-info-panel {
  border-radius: var(--r-xl);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 300px;
}
.map-info-default {
  text-align: center;
  color: var(--text-secondary);
}
.map-info-default h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.map-info-default p {
  font-size: 0.88rem;
  line-height: 1.55;
}

.country-details-card {
  animation: step-in 0.4s var(--ease-out);
}
.country-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.country-flag-icon {
  font-size: 1.8rem;
}
.country-grid-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
@media (min-width: 480px) {
  .country-grid-info {
    grid-template-columns: repeat(2, 1fr);
  }
}
.info-field {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-sm);
  padding: 12px;
}
body.light-theme .info-field {
  background: rgba(0,0,0,0.02);
}
.info-field-lbl {
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--text-tertiary);
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}
.info-field-val {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}
.info-field-val.price-highlight {
  color: var(--lime);
  font-size: 1rem;
  font-weight: 800;
}
body.light-theme .info-field-val.price-highlight {
  color: var(--lime-dark);
}

/* --- Personal Cabinet --- */
.cabinet-sheet {
  background: var(--bg-void);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  box-shadow: var(--glass-shadow);
  width: 95%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: clamp(20px, 4vw, 36px);
  animation: sheet-slide-up 0.5s var(--spring);
}
body.light-theme .cabinet-sheet {
  background: var(--bg-surface);
}
@keyframes sheet-slide-up {
  from { transform: translateY(60px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cabinet-login-view {
  text-align: center;
  padding: 40px 10px;
}

/* Dashboard views */
.cabinet-dash-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 20px;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}
.cabinet-dash-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
}
@media (max-width: 768px) {
  .cabinet-dash-grid {
    grid-template-columns: 1fr;
  }
}

/* Documents */
.cabinet-docs-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cabinet-doc-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: var(--r-md);
  transition: border-color 0.2s;
}
.cabinet-doc-card:hover {
  border-color: var(--border-active);
}
.doc-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  flex-shrink: 0;
}
.doc-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--lime);
  stroke-width: 2;
  fill: none;
}
body.light-theme .doc-icon svg {
  stroke: var(--lime-dark);
}
body.light-theme .doc-icon {
  background: rgba(0,0,0,0.04);
}
.doc-info {
  flex: 1;
}
.doc-info h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.3;
}
.doc-info p {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}
.doc-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.status-badge {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
}
.status-badge.doc-signed {
  background: rgba(0, 188, 255, 0.15);
  color: #00bcff;
}
.status-badge.doc-ready {
  background: rgba(200, 255, 0, 0.15);
  color: var(--lime);
}
body.light-theme .status-badge.doc-ready {
  color: var(--lime-dark);
}

/* --- Video Reviews Block --- */
.video-reviews-section {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}
.video-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.video-card {
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform 0.3s var(--spring);
}
.video-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-active);
  box-shadow: 0 16px 36px var(--lime-glow), var(--glass-shadow);
}
.video-thumbnail {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-play-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--glass-bg-hi);
  border: 1px solid var(--glass-border-hi);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--spring), background 0.2s;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}
.video-card:hover .video-play-btn {
  transform: scale(1.15);
  background: var(--lime);
  color: var(--lime-text);
  border-color: var(--lime);
}
.video-badge-live {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(255, 69, 0, 0.85);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}
.video-card-body {
  padding: 20px;
}
.video-author {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.video-meta {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.video-quote {
  font-size: 0.82rem;
  color: var(--text-tertiary);
  font-style: italic;
  line-height: 1.5;
}

/* Video Modal Sheet */
.video-modal-sheet {
  background: #000;
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  box-shadow: var(--glass-shadow);
  width: 90%;
  max-width: 720px;
  aspect-ratio: 16/9;
  position: relative;
  padding: 0;
  animation: sheet-slide-up 0.4s var(--spring);
  overflow: hidden;
}
.video-player-container {
  width: 100%;
  height: 100%;
}

/* --- Personal Selection Form --- */
.selection-section {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}
.selection-glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(30px) saturate(1.8);
  -webkit-backdrop-filter: blur(30px) saturate(1.8);
  border-radius: var(--r-xl);
  padding: clamp(24px, 5vw, 48px);
  box-shadow: var(--glass-shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 768px) {
  .selection-glass-card {
    grid-template-columns: 1fr;
  }
}
.selection-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.selection-form-area {
  position: relative;
  background: var(--glass-bg-md);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--glass-shadow);
  overflow: hidden;
}
.selection-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.selection-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.selection-form .form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.selection-loader-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,8,16,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  animation: step-in 0.35s ease;
}
body.light-theme .selection-loader-overlay {
  background: rgba(255,255,255,0.92);
}
.selection-loader-content {
  text-align: center;
}

/* --- Social Icons Block --- */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.social-link {
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  background: var(--glass-bg-md);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.25s var(--spring);
}
.social-link svg {
  transition: transform 0.25s var(--spring);
}
.social-link:hover {
  color: var(--lime-text);
  background: var(--lime);
  border-color: var(--lime);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 20px var(--lime-glow);
}
.social-link:hover svg {
  transform: scale(1.08);
}
body.light-theme .social-link:hover {
  color: #fff;
  background: var(--lime-dark);
  border-color: var(--lime-dark);
  box-shadow: 0 8px 20px var(--lime-glow);
}

/* --- Hot Tours Section --- */
.hot-tours-section {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}
.hot-tours-glass-wrapper {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(30px) saturate(1.8);
  -webkit-backdrop-filter: blur(30px) saturate(1.8);
  border-radius: var(--r-xl);
  padding: clamp(20px, 4vw, 36px);
  box-shadow: var(--glass-shadow);
  min-height: 250px;
}

/* --- Tourvisor Hot Tours Overrides --- */
.tv-hot-tours {
  font-family: var(--font-body) !important;
}
.tv-hot-tours .tv-ht-item {
  background: var(--glass-bg-md) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: var(--r-md) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: var(--glass-shadow) !important;
  transition: transform 0.3s var(--spring), border-color 0.3s, box-shadow 0.3s !important;
  padding: 16px !important;
}
.tv-hot-tours .tv-ht-item:hover {
  transform: translateY(-6px) !important;
  border-color: var(--border-active) !important;
  box-shadow: 0 16px 36px var(--lime-glow), var(--glass-shadow) !important;
}
.tv-hot-tours .tv-ht-hotel-name a,
.tv-hot-tours .tv-ht-hotel-name {
  color: var(--text-primary) !important;
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
}
.tv-hot-tours .tv-ht-price {
  color: var(--lime) !important;
  font-weight: 800 !important;
}
body.light-theme .tv-hot-tours .tv-ht-price {
  color: var(--lime-dark) !important;
}

/* --- Custom Social Contact Buttons Style --- */
.contact-buttons-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 360px;
  margin: 0 auto;
  width: 100%;
}
.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.25s var(--spring), background-color 0.25s, border-color 0.25s;
}
.contact-btn svg {
  flex-shrink: 0;
}
.telegram-btn {
  grid-column: 1 / span 2;
  justify-self: center;
  width: 100%;
}
body.dark-theme .contact-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
body.dark-theme .contact-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
  border-color: var(--border-active);
}
body.light-theme .contact-btn {
  background: #f2f2f7;
  color: #1c1c1e;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
body.light-theme .contact-btn:hover {
  background: #e5e5ea;
  transform: translateY(-2px);
  border-color: var(--border-active);
}

/* --- Header Mobile Overflows Fix --- */
@media (max-width: 768px) {
  .logo-sub {
    display: none !important;
  }
  .header-right .btn-text {
    display: none !important;
  }
  .header-right #callback-btn,
  .header-right #cabinet-toggle-btn,
  .header-right .btn-lime {
    padding: 10px 12px !important;
    font-size: 0.85rem !important;
    min-height: 38px;
    height: 38px;
    box-sizing: border-box;
    display: inline-flex !important; /* Keep visible on mobile as icons */
    align-items: center;
    justify-content: center;
    gap: 0 !important;
  }
  .theme-btn {
    min-height: 38px;
    height: 38px;
    width: 38px;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }
}

@media (max-width: 380px) {
  /* On very narrow screens, make them even tighter */
  .header-right #callback-btn,
  .header-right #cabinet-toggle-btn,
  .header-right .btn-lime {
    padding: 8px 10px !important;
    font-size: 0.78rem !important;
    min-height: 34px;
    height: 34px;
  }
  .theme-btn {
    min-height: 34px;
    height: 34px;
    width: 34px;
  }
  .logo-name {
    font-size: 1rem !important;
  }
}

/* --- Tourvisor Widget Container Height Limit & Scrollbar --- */
.search-results-section {
  position: relative;
  z-index: 10;
  margin-top: -160px;
  padding-bottom: 60px;
}
.tourvisor-container {
  max-height: 500px;
  overflow-y: auto;
  padding-right: 4px;
}
@media (max-width: 768px) {
  .search-results-section {
    margin-top: -110px !important;
    padding-bottom: 40px;
  }
  .search-results-section .container {
    padding: 0 8px !important;
  }
  .results-glass-card {
    padding: 16px 10px !important;
  }
  .tourvisor-container {
    max-height: none !important;
    overflow-y: visible !important;
    padding-right: 0 !important;
  }
}
.tourvisor-container::-webkit-scrollbar {
  width: 6px;
}
.tourvisor-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 3px;
}
.tourvisor-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}
.tourvisor-container::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}
body.light-theme .tourvisor-container::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.02);
}
body.light-theme .tourvisor-container::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
}

/* App Banner Strip & Header Adjustments */
.app-banner-strip {
  background: #1c1c27;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  height: 52px;
  position: relative;
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: margin-top 0.3s ease;
  overflow: hidden;
}
body.light-theme .app-banner-strip {
  background: #f2f2f7;
  color: #1a1f10;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
}
.banner-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  overflow: hidden;
}
.banner-marquee-container {
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  align-items: center;
  flex: 1;
  width: 100%;
}
.banner-marquee-track {
  display: inline-block;
  white-space: nowrap;
  will-change: transform;
  animation: bannerTicker 18s linear infinite;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--lime);
}
body.light-theme .banner-marquee-track {
  color: #2e7d32;
}
@keyframes bannerTicker {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-33.333%, 0, 0); }
}
.banner-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.store-link {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
}
.store-link:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #fff;
  transform: translateY(-1px);
}
body.light-theme .store-link {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: #1a1f10;
}
body.light-theme .store-link:hover {
  background: rgba(0, 0, 0, 0.1);
  border-color: #1a1f10;
}
.banner-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}
.banner-close:hover {
  color: #fff;
}
body.light-theme .banner-close {
  color: rgba(26, 31, 16, 0.6);
}
body.light-theme .banner-close:hover {
  color: #1a1f10;
}

/* Adjust fixed header top positioning - Header stays at the very top (top: 0) */
.main-header {
  top: 0 !important;
}

.app-banner-strip {
  position: fixed;
  top: 72px; /* По умолчанию на мобильных (хедер 72px) */
  left: 0;
  width: 100%;
  z-index: 890; /* Сразу под хедером */
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  will-change: transform;
  transition: transform 0.3s ease, margin-top 0.3s ease, top 0.3s ease;
}

body {
  padding-top: 124px; /* По умолчанию на мобильных: 72px (хедер) + 52px (баннер) */
  transition: padding-top 0.3s ease;
}

body.banner-closed {
  padding-top: 72px; /* Только высота хедера */
}

body.banner-closed .app-banner-strip {
  transform: translateY(-52px);
  margin-top: -72px; /* Сдвиг за хедер */
}

/* Корректируем сдвиги под двухэтажный хедер на десктопе (высота хедера ~128px) */
@media (min-width: 900px) {
  .app-banner-strip {
    top: 128px;
  }
  body {
    padding-top: 180px; /* 128px (хедер) + 52px (баннер) */
  }
  body.banner-closed {
    padding-top: 128px;
  }
  body.banner-closed .app-banner-strip {
    margin-top: -128px;
  }
}

@media (max-width: 768px) {
  .app-banner-strip {
    height: 56px;
    top: 72px; /* Sits below header on mobile too */
  }
  .banner-inner {
    gap: 8px;
  }
  .store-link {
    padding: 5px 8px;
    font-size: 0.65rem;
  }
  body {
    padding-top: 128px; /* 72px (header) + 56px (banner) */
  }
  body.banner-closed {
    padding-top: 72px;
  }
  body.banner-closed .app-banner-strip {
    transform: translateY(-56px);
    margin-top: -72px;
  }
}

/* Mobile Swiper Slider for Articles (Наши статьи) */
@media (max-width: 768px) {
  .media-section .media-grid {
    padding: 16px 20px 32px 20px !important;
    margin: 0 -20px !important; /* Full width edge-to-edge swiping */
    scrollbar-width: none;
  }
  .media-section .media-grid::-webkit-scrollbar {
    display: none;
  }
  .media-section .media-card {
    min-height: auto !important;
    height: auto !important;
  }
}/* Collapsible Articles */
.article-expand-wrapper {
  position: relative;
  max-height: 180px;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.article-expand-wrapper.expanded {
  max-height: 2000px;
}
.article-fade-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(to top, rgba(15, 15, 25, 0.95), transparent);
  pointer-events: none;
  transition: opacity 0.3s;
}
.article-expand-wrapper.expanded .article-fade-overlay {
  opacity: 0;
}
body.light-theme .article-fade-overlay {
  background: linear-gradient(to top, rgba(175, 185, 165, 0.97), transparent);
}

.btn-read-more {
  background: none;
  border: none;
  color: var(--lime);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  margin-top: 12px;
}
.btn-read-more::after {
  content: '↓';
  display: inline-block;
  transition: transform 0.2s ease;
}
.btn-read-more.expanded::after {
  transform: rotate(180deg);
}
.btn-read-more:hover {
  color: var(--text-primary);
}

/* Mobile Hamburger Button */
.mobile-menu-btn {
  display: none;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
@media (max-width: 900px) {
  .mobile-menu-btn {
    display: flex !important;
  }
}
.mobile-menu-btn svg line {
  transition: transform 0.3s ease, opacity 0.2s ease;
  transform-origin: center;
}
.mobile-menu-btn.open .line-2 {
  opacity: 0;
}
.mobile-menu-btn.open .line-1 {
  transform: translateY(6px) rotate(45deg);
}
.mobile-menu-btn.open .line-3 {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Nav Overlay Menu */
@media (max-width: 900px) {
  .main-nav.open {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 80px;
    left: 16px;
    right: 16px;
    background: rgba(15, 15, 25, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 24px;
    gap: 16px;
    z-index: 1000;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    animation: menu-slide-down 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  .main-nav.open a {
    font-size: 1.1rem;
    font-weight: 600;
    width: 100%;
    text-align: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .main-nav.open a:last-child {
    border-bottom: none;
  }
}
@keyframes menu-slide-down {
  from {
    transform: translateY(-10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* --- Inline SVG icons replacing text emojis --- */
.svg-icon-inline {
  width: 1.1em;
  height: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: inline-block;
  vertical-align: -0.15em;
  margin-right: 0.35em;
  color: var(--lime);
}
body.light-theme .svg-icon-inline {
  color: var(--lime-dark);
}

/* ── YANDEX REVIEWS INLINE SECTION ── */
.yandex-reviews-section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.yandex-maps-widget {
  display: flex;
  height: 650px;
  background: #ffffff;
  color: #000000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(0, 0, 0, 0.1);
  max-width: 1100px;
  margin: 0 auto;
}

/* Sidebar (Отзывы) */
.yandex-widget-sidebar {
  width: 420px;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border-right: 1px solid #e5e5e5;
  flex-shrink: 0;
  position: relative;
}

/* Header */
.yandex-widget-header {
  padding: 12px 16px;
  border-bottom: 1px solid #f2f2f2;
  display: flex;
  align-items: center;
  gap: 12px;
}

.yandex-logo-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #000000;
  font-size: 0.9rem;
  font-weight: 700;
}
.yandex-logo-badge {
  width: 24px;
  height: 24px;
  background: #e61414;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 0.85rem;
}

.yandex-search-bar {
  flex: 1;
  background: #f2f2f2;
  border-radius: 8px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.yandex-search-bar svg {
  color: #8c8c8c;
  flex-shrink: 0;
}
.yandex-search-input {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 0.82rem;
  color: #000000;
  outline: none;
}

.yandex-header-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #8c8c8c;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

/* Scrollable Content */
.yandex-widget-content {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  padding-bottom: 80px; /* Space for write review button */
}

/* Org Details */
.yandex-org-info {
  margin-bottom: 16px;
}
.yandex-org-title {
  font-size: 1.35rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  color: #000000;
}
.yandex-verified {
  color: #4bb34b;
  display: inline-flex;
}

.yandex-org-tabs {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid #f2f2f2;
  margin-top: 14px;
  padding-bottom: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.yandex-org-tabs::-webkit-scrollbar {
  display: none;
}
.yandex-tab {
  font-size: 0.8rem;
  color: #7f7f7f;
  font-weight: 500;
  text-decoration: none;
  padding-bottom: 8px;
  white-space: nowrap;
}
.yandex-tab.active {
  color: #000000;
  font-weight: 700;
  border-bottom: 2px solid #3f60ff;
}

/* Rating Summary Box */
.yandex-rating-box {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.yandex-rating-large {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}
.yandex-rating-stars-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.yandex-stars-row {
  display: flex;
  gap: 2px;
}
.yandex-stars-row svg {
  width: 14px;
  height: 14px;
  fill: #ffc107;
}
.yandex-rating-count {
  font-size: 0.78rem;
  color: #7f7f7f;
}
.yandex-rate-place {
  text-align: right;
  font-size: 0.78rem;
  color: #7f7f7f;
}

/* Review Filters (Badges) */
.yandex-reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.yandex-reviews-title {
  font-size: 0.95rem;
  font-weight: 700;
}
.yandex-sort-link {
  font-size: 0.8rem;
  color: #3f60ff;
  text-decoration: none;
}

.yandex-badges-row {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}
.yandex-badges-row::-webkit-scrollbar {
  display: none;
}
.yandex-badge {
  background: #f2f2f2;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.78rem;
  color: #000000;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}
.yandex-badge-dot {
  width: 6px;
  height: 6px;
  background: #4bb34b;
  border-radius: 50%;
}

/* Reviews List */
.yandex-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.yandex-review-card {
  padding-bottom: 16px;
  border-bottom: 1px solid #f2f2f2;
}

.yandex-review-card:last-child {
  border-bottom: none;
}

.yandex-review-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.yandex-author-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.yandex-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ff5722;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.yandex-author-info {
  display: flex;
  flex-direction: column;
}
.yandex-author-name {
  font-size: 0.85rem;
  font-weight: 700;
}
.yandex-author-rank {
  font-size: 0.72rem;
  color: #7f7f7f;
}
.yandex-subscribe-btn {
  border: 1px solid #e0e0e0;
  background: transparent;
  color: #3f60ff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  cursor: pointer;
}

.yandex-review-stars-date {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.yandex-review-date {
  font-size: 0.72rem;
  color: #7f7f7f;
}

.yandex-review-text {
  font-size: 0.82rem;
  line-height: 1.5;
  color: #333333;
  margin-bottom: 10px;
}

/* Image attachments */
.yandex-review-photos {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.yandex-review-photos::-webkit-scrollbar {
  display: none;
}
.yandex-review-photos img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.yandex-review-footer {
  display: flex;
  align-items: center;
  gap: 16px;
}
.yandex-action-btn {
  background: none;
  border: none;
  color: #7f7f7f;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

/* Write Review Floating Button */
.yandex-write-btn-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(to top, rgba(255,255,255,1) 80%, rgba(255,255,255,0));
  display: flex;
  justify-content: center;
  z-index: 10;
}
.yandex-write-btn {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  color: #000000;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
}
.yandex-write-btn:hover {
  background: #f7f7f7;
  transform: translateY(-1px);
}

/* Right Map Column (Desktop Only) */
.yandex-widget-map {
  flex: 1;
  background-image: url('assets/images/yandex_map_screenshot.png');
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Map overlay buttons */
.yandex-map-controls {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.yandex-map-zoom {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  overflow: hidden;
}
.yandex-zoom-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: #ffffff;
  color: #333;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.yandex-zoom-btn:first-child {
  border-bottom: 1px solid #f2f2f2;
}

@media (max-width: 899px) {
  .yandex-maps-widget {
    flex-direction: column;
    height: auto;
    max-height: 600px;
  }
  .yandex-widget-sidebar {
    width: 100%;
  }
  .yandex-widget-map {
    display: none;
  }
}

@media (max-width: 768px) {
  .yandex-reviews-section { padding: 40px 0; }
}

/* Hide header duplicate callback button (replaced by Tourvisor widget) */
#callback-btn {
  display: none !important;
}

/* Align and style Tourvisor free button widget to match site lime design system */
.tv-free-button {
  display: inline-flex !important;
  align-items: center;
  vertical-align: middle;
  flex-shrink: 0;
}

.tv-free-button,
.tv-free-button a,
.tv-free-button button,
.tv-free-button div,
.tv-free-button td,
.tv-free-button span {
  background-color: var(--lime) !important;
  background-image: none !important;
  color: var(--lime-text, #121212) !important;
  font-family: var(--font-body, 'Inter', sans-serif) !important;
  font-weight: 700 !important;
  border-radius: var(--r-pill) !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(200, 255, 0, 0.25) !important;
  text-shadow: none !important;
}

.tv-free-button a,
.tv-free-button button,
.tv-free-button div {
  padding: 6px 14px !important;
  font-size: 0.85rem !important;
  height: 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.25s ease !important;
}

.tv-free-button a:hover,
.tv-free-button button:hover {
  box-shadow: 0 8px 24px var(--lime-glow, rgba(200, 255, 0, 0.4)) !important;
  transform: translateY(-1px) !important;
}

.btn-header-dropdown {
  border-radius: var(--r-pill);
}


/* ── Header Dropdown Menu ── */
.header-dropdown-wrap {
  position: relative;
  display: inline-block;
  z-index: 950;
}
.btn-header-dropdown {
  cursor: pointer;
}
.dropdown-caret {
  width: 10px;
  height: 10px;
  margin-left: 6px;
  transition: transform 0.2s ease;
}
.header-dropdown-wrap.open .dropdown-caret {
  transform: rotate(180deg);
}
.header-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 220px;
  background: var(--bg-void);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  display: none;
  flex-direction: column;
  padding: 8px;
  gap: 4px;
  animation: dropdownFadeIn 0.2s ease forwards;
}
body.light-theme .header-dropdown-menu {
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.header-dropdown-wrap.open .header-dropdown-menu {
  display: flex;
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s;
}
.dropdown-item:hover {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
}
body.light-theme .dropdown-item:hover {
  background: rgba(0,0,0,0.04);
}
.item-icon {
  display: none !important;
}
@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .header-dropdown-wrap .btn-header-dropdown svg {
    margin-right: 0 !important;
  }
}







/* ── 2GIS Maps Widget ── */
.dg-maps-widget {
  display: flex;
  height: 650px;
  background: #ffffff;
  color: #000000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(0, 0, 0, 0.1);
  max-width: 1100px;
  margin: 0 auto;
}

/* Sidebar */
.dg-widget-sidebar {
  width: 420px;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border-right: 1px solid #e5e5e5;
  flex-shrink: 0;
  position: relative;
}

/* Header */
.dg-widget-header {
  padding: 12px 16px;
  border-bottom: 1px solid #f2f2f2;
  display: flex;
  align-items: center;
  gap: 12px;
}

.dg-logo-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #000000;
  font-size: 0.9rem;
  font-weight: 700;
}
.dg-logo-badge {
  background: #2ebd59;
  border-radius: 6px;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

.dg-search-bar {
  flex: 1;
  background: #f2f2f2;
  border-radius: 8px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.dg-search-bar svg {
  color: #8c8c8c;
  flex-shrink: 0;
}
.dg-search-input {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 0.82rem;
  color: #000000;
  outline: none;
}

.dg-header-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #8c8c8c;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

/* Scrollable Content */
.dg-widget-content {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  padding-bottom: 80px;
}

/* Org Details */
.dg-org-info {
  margin-bottom: 16px;
}
.dg-org-title {
  font-size: 1.35rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  color: #000000;
}
.dg-verified {
  color: #2ebd59;
  display: inline-flex;
}

.dg-org-tabs {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid #f2f2f2;
  margin-top: 14px;
  padding-bottom: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.dg-org-tabs::-webkit-scrollbar {
  display: none;
}
.dg-tab {
  font-size: 0.8rem;
  color: #7f7f7f;
  font-weight: 500;
  text-decoration: none;
  padding-bottom: 8px;
  white-space: nowrap;
}
.dg-tab.active {
  color: #000000;
  font-weight: 700;
  border-bottom: 2px solid #2ebd59;
}

/* Rating Summary Box */
.dg-rating-box {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.dg-rating-large {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}
.dg-rating-stars-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dg-stars-row {
  display: flex;
  gap: 2px;
}
.dg-stars-row svg {
  width: 14px;
  height: 14px;
  fill: #ffc107;
}
.dg-rating-count {
  font-size: 0.78rem;
  color: #7f7f7f;
}
.dg-rate-place {
  text-align: right;
  font-size: 0.78rem;
  color: #7f7f7f;
}

/* Review Filters */
.dg-reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.dg-reviews-title {
  font-size: 0.95rem;
  font-weight: 700;
}
.dg-sort-link {
  font-size: 0.8rem;
  color: #2ebd59;
  text-decoration: none;
}

/* Reviews List */
.dg-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dg-review-card {
  padding-bottom: 16px;
  border-bottom: 1px solid #f2f2f2;
}
.dg-review-card:last-child {
  border-bottom: none;
}

.dg-review-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.dg-author-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dg-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.dg-author-info {
  display: flex;
  flex-direction: column;
}
.dg-author-name {
  font-size: 0.85rem;
  font-weight: 700;
}
.dg-author-rank {
  font-size: 0.72rem;
  color: #7f7f7f;
}

.dg-review-stars-date {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.dg-review-date {
  font-size: 0.72rem;
  color: #7f7f7f;
}

.dg-review-text {
  font-size: 0.82rem;
  line-height: 1.5;
  color: #333333;
  margin-bottom: 10px;
}

.dg-review-footer {
  display: flex;
  align-items: center;
  gap: 16px;
}
.dg-action-btn {
  background: none;
  border: none;
  color: #7f7f7f;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

/* Write Review Floating Button */
.dg-write-btn-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(to top, rgba(255,255,255,1) 80%, rgba(255,255,255,0));
  display: flex;
  justify-content: center;
  z-index: 10;
}
.dg-write-btn {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  color: #000000;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.dg-write-btn:hover {
  background: #f7f7f7;
  transform: translateY(-1px);
}

/* Right Map Column */
.dg-widget-map {
  flex: 1;
  background-image: url('assets/images/yandex_map_screenshot.png');
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Map overlay buttons */
.dg-map-controls {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dg-map-zoom {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  overflow: hidden;
}
.dg-zoom-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: #ffffff;
  color: #333;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dg-zoom-btn:first-child {
  border-bottom: 1px solid #f2f2f2;
}

@media (max-width: 899px) {
  .dg-maps-widget {
    flex-direction: column;
    height: auto;
    max-height: 600px;
    margin-top: 30px !important;
  }
  .dg-widget-sidebar {
    width: 100%;
  }
  .dg-widget-map {
    display: none;
  }
}

/* ================================================================
   MOBILE IMPROVEMENTS — Step 7
   Larger text, bigger touch targets (≥44px), better readability
   ================================================================ */

@media (max-width: 768px) {

  /* ── Base font bump ── */
  html { font-size: 17px; }

  /* ── Hero & section CTAs ── */
  .btn-lime,
  .btn-glass {
    min-height: 48px !important;
    padding: 13px 22px !important;
    font-size: 0.95rem !important;
  }

  /* ── Section headings ── */
  .section-title,
  .display-md,
  .display-lg {
    font-size: clamp(1.6rem, 6.5vw, 2.4rem) !important;
    line-height: 1.2 !important;
  }

  /* ── Body text ── */
  .section-desc,
  .hero-desc {
    font-size: 0.95rem !important;
    line-height: 1.65 !important;
  }

  /* ── Header CTA buttons ── */
  .header-right .btn-header-cta {
    height: 44px !important;
    padding: 10px 14px !important;
    font-size: 0.8rem !important;
  }
  .header-right .btn-header-cta .btn-text {
    font-size: 0.78rem !important;
  }

  /* ── Form inputs ── */
  input[type="text"],
  input[type="tel"],
  input[type="email"],
  select,
  textarea {
    min-height: 48px !important;
    font-size: 1rem !important;
    padding: 12px 16px !important;
  }

  /* ── Consent checkbox label ── */
  label[for^="consent-"] {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
  }

  /* ── Footer contact ── */
  .footer-contact {
    font-size: 0.92rem !important;
    line-height: 1.8 !important;
  }
}

/* Extra-small phones (< 400px) */
@media (max-width: 400px) {
  html { font-size: 16px; }

  .btn-lime,
  .btn-glass {
    min-height: 46px !important;
    padding: 12px 18px !important;
    font-size: 0.88rem !important;
  }

  .header-right .btn-header-cta {
    height: 40px !important;
    padding: 8px 10px !important;
  }
  .header-right .btn-header-cta .btn-text {
    font-size: 0.72rem !important;
  }
}

/* ── TOURVISOR FULLSCREEN MODAL & WIDGET MODE OVERRIDES ── */
html.fullscreen-widget-mode,
body.fullscreen-widget-mode,
body.fullscreen-widget {
  margin: 0 !important;
  padding: 0 !important;
  background: #5299c6 !important;
  overflow-x: hidden !important;
}

.fullscreen-widget-mode .app-banner-strip,
.fullscreen-widget-mode #main-header,
.fullscreen-widget-mode .section-header,
.fullscreen-widget-mode .main-footer,
.fullscreen-widget-mode .hero-stars-container,
.fullscreen-widget-mode .breadcrumbs,
.fullscreen-widget-mode br,
body.fullscreen-widget .app-banner-strip,
body.fullscreen-widget #main-header,
body.fullscreen-widget .section-header,
body.fullscreen-widget .main-footer,
body.fullscreen-widget .hero-stars-container,
body.fullscreen-widget .breadcrumbs,
body.fullscreen-widget br {
  display: none !important;
}

.fullscreen-widget-mode main,
.fullscreen-widget-mode .mobile-search-hero,
body.fullscreen-widget main,
body.fullscreen-widget .mobile-search-hero {
  padding: 0 !important;
  margin: 0 !important;
  min-height: 100vh !important;
  background: #eaf2f8 !important;
}

.fullscreen-widget-mode .selection-page-section,
body.fullscreen-widget .selection-page-section {
  padding: 0 !important;
  margin: 0 !important;
  background: #eaf2f8 !important;
}

.fullscreen-widget-mode .container,
body.fullscreen-widget .container {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

.fullscreen-widget-mode .results-glass-card,
body.fullscreen-widget .results-glass-card {
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: #eaf2f8 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-radius: 0 !important;
}

/* Скрываем фоновые анимированные сферы в полноэкранном режиме */
.fullscreen-widget-mode body::before,
.fullscreen-widget-mode body::after,
body.fullscreen-widget::before,
body.fullscreen-widget::after {
  display: none !important;
}

/* Force Tourvisor popups/overlays to stick directly to top: 0 without black gaps */
.fullscreen-widget-mode div[style*="position: fixed"],
.fullscreen-widget-mode div[style*="position: absolute"],
body.fullscreen-widget div[style*="position: fixed"],
body.fullscreen-widget div[style*="position: absolute"],
[class*="tv_modal"],
[class*="tv-modal"],
[class*="tv_popup"],
[class*="tv-popup"],
[class*="tv_cart"],
[class*="tv-cart-wrap"],
.TVModalContainer,
.TVModalOverlay {
  top: 0 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}


