/* ========================================
   VARIABLES & RESET
   ======================================== */
:root {
  --bg-primary: #e8f2ee;
  --bg-secondary: #d5e8e1;
  --bg-card: #eef6f3;
  --bg-card-hover: #e4f0ec;
  --surface: #cfe0d9;
  --border: rgba(10,80,60,0.08);
  --border-hover: rgba(15,191,143,0.25);

  --text-primary: #1a2e35;
  --text-secondary: #5a7a7a;
  --text-muted: #8da8a8;

  --accent: #0fbf8f;
  --accent-light: #0da87d;
  --accent-dark: #0a8f6a;
  --accent-glow: rgba(15,191,143,0.2);
  --cta: #0fbf8f;
  --cta-light: #3aedc4;
  --cta-glow: rgba(15,191,143,0.25);
  --gradient-primary: linear-gradient(135deg, #0a8f6a, #0fbf8f, #3aedc4);
  --gradient-cta: linear-gradient(135deg, #0a8f6a, #0fbf8f, #3aedc4);
  --gradient-hero: linear-gradient(160deg, #062a2a 0%, #0a3d3d 30%, #0e4f4a 50%, #0d6b5e 80%, #0fbf8f 100%);
  --gradient-card: linear-gradient(145deg, rgba(15,191,143,0.08), rgba(58,237,196,0.04));

  --gold: #e6a817;
  --success: #0fbf8f;
  --danger: #e17055;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --shadow-sm: 0 2px 10px rgba(10,60,50,0.08);
  --shadow-md: 0 8px 30px rgba(10,60,50,0.1);
  --shadow-lg: 0 20px 50px rgba(10,60,50,0.12);
  --shadow-glow: 0 0 40px var(--accent-glow);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg-secondary);
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

/* ========================================
   UTILITIES
   ======================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(135deg, #0fbf8f, #0a8f6a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-cta);
  color: #fff;
  box-shadow: 0 0 40px var(--cta-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 60px var(--cta-glow);
}

.btn-outline {
  background: rgba(255,255,255,0.15);
  color: #ffffff;
  border: 1.5px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(10px);
}
.btn-outline:hover {
  border-color: #ffffff;
  color: #ffffff;
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

.btn-card {
  width: 100%;
  background: var(--accent);
  color: #ffffff;
  border: none;
}
.btn-card:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--cta-glow);
}

.btn-full { width: 100%; }

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  padding: 10px 0;
  background: rgba(18,70,58,0.93);
  backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 2px solid rgba(15,191,143,0.4);
  box-shadow: 0 4px 24px rgba(10,50,40,0.2);
}
.navbar.scrolled .logo-text {
  color: #ffffff;
}
.navbar.scrolled .nav-links a {
  color: rgba(255,255,255,0.75);
}
.navbar.scrolled .nav-links a:hover {
  color: #ffffff;
}
.navbar.scrolled .nav-toggle span {
  background: #ffffff;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
}
.logo-icon {
  font-size: 1.5rem;
  color: var(--accent);
  display: flex;
  align-items: center;
}
.logo-text {
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

/* Белый текст в hero */
.hero .nav-logo .logo-text,
.hero .hero-content { color: #ffffff; }

/* Hero gradient text: white to emerald (readable on dark bg) */
.hero .gradient-text {
  background: linear-gradient(135deg, #3aedc4, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Nav links are white when over hero, dark when scrolled */
.navbar:not(.scrolled) .nav-links a {
  color: rgba(255,255,255,0.75);
}
.navbar:not(.scrolled) .nav-links a:hover {
  color: #ffffff;
}
.navbar:not(.scrolled) .logo-text {
  color: #ffffff;
}
.navbar:not(.scrolled) .nav-toggle span {
  background: #ffffff;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-links a:hover {
  color: var(--text-primary);
}
.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========================================
   HERO
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}
.hero-bg::before {
  content: '';
  position: absolute;
  top: 15%;
  left: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15,191,143,0.25), transparent 70%);
  animation: float 12s ease-in-out infinite;
}
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: -5%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58,237,196,0.15), transparent 70%);
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 780px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-xl);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.1s backwards;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto 40px;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
  animation: fadeInUp 0.8s ease 0.3s backwards;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

.stat {
  text-align: center;
}
.stat-number {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff, #b2f0df);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  margin-top: 4px;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   HERO WAVES (animated ocean — 5 layers)
   ======================================== */
.hero-waves {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 280px;
  z-index: 2;
  pointer-events: none;
}

.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
}

/* Layer 1: distant glow */
.wave-glow {
  fill: rgba(15,191,143,0.12);
  animation: waveGlow 8s ease-in-out infinite;
}
/* Layer 2: deep water */
.wave-1 {
  fill: rgba(15,191,143,0.18);
  animation: waveMove1 5s ease-in-out infinite;
}
/* Layer 3: mid water */
.wave-2 {
  fill: rgba(15,191,143,0.28);
  animation: waveMove2 3.5s ease-in-out infinite;
}
/* Layer 4: sea foam (white shimmer) */
.wave-highlight {
  fill: rgba(255,255,255,0.15);
  animation: waveHighlight 4s ease-in-out infinite;
}
/* Layer 5: foreground — rich teal on hero, blends to page bg below */
.wave-3 {
  fill: #2a9e80;
  animation: waveMove3 6s ease-in-out infinite;
}

@keyframes waveGlow {
  0%, 100% { transform: translateX(-3%) scaleY(1); }
  50% { transform: translateX(-22%) scaleY(1.1); }
}
@keyframes waveMove1 {
  0%, 100% { transform: translateX(0) scaleY(1); }
  50% { transform: translateX(-25%) scaleY(1.18); }
}
@keyframes waveMove2 {
  0%, 100% { transform: translateX(-10%) scaleY(1); }
  50% { transform: translateX(-35%) scaleY(0.88); }
}
@keyframes waveHighlight {
  0%, 100% { transform: translateX(-8%) scaleY(1); opacity: 0.5; }
  50% { transform: translateX(-30%) scaleY(1.12); opacity: 1; }
}
@keyframes waveMove3 {
  0%, 100% { transform: translateX(-5%) scaleY(1); }
  50% { transform: translateX(-20%) scaleY(1.1); }
}

/* Gradient bridge: teal wave → mint page bg */
.hero-to-content {
  height: 100px;
  background: linear-gradient(to bottom, #2a9e80, rgba(6,20,18,0.85));
  margin-top: -2px;
  position: relative;
  z-index: 1;
}

/* ========================================
   WAVE DIVIDERS (between sections)
   ======================================== */
.wave-divider {
  position: relative;
  width: 100%;
  height: 90px;
  overflow: hidden;
  line-height: 0;
  margin-top: -1px;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 100%;
}

.wave-divider--to-dark {
  background: var(--bg-primary);
}
.wave-divider--to-dark svg path {
  fill: var(--bg-secondary);
}

.wave-divider--to-light {
  background: var(--bg-secondary);
}
.wave-divider--to-light svg path {
  fill: var(--bg-primary);
}

.wave-divider--from-video {
  background: rgba(6,20,18,0.85);
}
.wave-divider--from-video svg path {
  fill: var(--bg-secondary);
}

/* ========================================
   FOOTER WAVE
   ======================================== */
.footer-wave {
  width: 100%;
  height: 40px;
  line-height: 0;
  overflow: hidden;
  margin-bottom: 20px;
}
.footer-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ========================================
   FOAM PARTICLES (sea spray)
   ======================================== */
.foam-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.foam-dot {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  box-shadow: 0 0 6px rgba(255,255,255,0.3);
  animation: foamFloat linear infinite;
  will-change: transform, opacity;
}

@keyframes foamFloat {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0;
  }
  15% {
    opacity: 0.35;
  }
  50% {
    transform: translate(calc(-20px + 40px * var(--r, 0.5)), -60px) scale(0.8);
    opacity: 0.2;
  }
  100% {
    transform: translate(calc(-30px + 60px * var(--r, 0.5)), -120px) scale(0.3);
    opacity: 0;
  }
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
  padding: 100px 0;
}
.section-dark {
  background: var(--bg-secondary);
}

/* ========================================
   VIDEO BACKGROUND SECTION
   ======================================== */
.section-video {
  position: relative;
  overflow: clip;           /* clips only the video-bg that bleeds, */
  overflow-clip-margin: 0;  /* but allows inline content to render */
}

.video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  contain: strict;
}

.video-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease;
  will-change: opacity;
}
.video-slide.active {
  opacity: 1;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6,20,18,0.55) 0%,
    rgba(6,20,18,0.4) 40%,
    rgba(6,20,18,0.55) 100%
  );
  z-index: 1;
}

/* Video dots */
.video-indicators {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.vid-dot {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  border: none;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: background 0.3s ease;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.vid-dot.active {
  background: rgba(255,255,255,0.35);
}
.vid-dot.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 2px;
  animation: dotProgress 8s linear forwards;
}

@keyframes dotProgress {
  to { width: 100%; }
}

/* Section-video overrides: white text on dark video */
.section-video .section-tag {
  color: var(--cta-light);
}
.section-video .section-title {
  color: #ffffff;
}
.section-video .section-desc {
  color: rgba(255,255,255,0.7);
}

/* Filter buttons on video */
.section-video .filter-btn {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
}
.section-video .filter-btn:hover {
  border-color: rgba(255,255,255,0.35);
  color: #ffffff;
}
.section-video .filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Cards on video: glassmorphism */
.section-video .card {
  background: rgba(10,30,28,0.55);
  backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.section-video .card:hover {
  background: rgba(10,30,28,0.65);
  border-color: rgba(15,191,143,0.3);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.section-video .card-title,
.section-video .price-value {
  color: #ffffff;
}
.section-video .card-description,
.section-video .feature,
.section-video .price-period {
  color: rgba(255,255,255,0.65);
}
.section-video .card-badge {
  background: rgba(15,191,143,0.2);
  color: #3aedc4;
  box-shadow: none;
  border: 1px solid rgba(15,191,143,0.3);
}
.section-video .card-fav {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  box-shadow: none;
}
.section-video .card-image-placeholder {
  background: rgba(15,191,143,0.08);
  border-bottom-color: rgba(255,255,255,0.08);
}
.section-video .placeholder-text {
  color: rgba(255,255,255,0.4);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* ========================================
   FILTERS
   ======================================== */
.filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 10px 22px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover {
  border-color: var(--accent);
  color: var(--text-primary);
}
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 30px var(--accent-glow);
}

/* ========================================
   APARTMENT CARDS
   ======================================== */
.apartments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
  box-shadow: var(--shadow-sm);
}
.card.visible {
  opacity: 1;
  transform: translateY(0);
}
.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card.visible:hover {
  transform: translateY(-6px);
}

.card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--gradient-card);
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}
.card:hover .card-image img {
  transform: scale(1.06);
}

.card-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gradient-card);
  border-bottom: 1px solid var(--border);
}
.placeholder-icon {
  font-size: 2.4rem;
  opacity: 0.4;
}
.placeholder-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 14px;
  background: rgba(238,246,243,0.92);
  backdrop-filter: blur(10px);
  border: none;
  border-radius: var(--radius-xl);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-dark);
  box-shadow: 0 2px 8px rgba(10,60,50,0.1);
}

.card-fav {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(238,246,243,0.88);
  backdrop-filter: blur(10px);
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(10,60,50,0.1);
}
.card-fav:hover, .card-fav.active {
  color: #e74c3c;
  background: rgba(231,76,60,0.15);
  border-color: rgba(231,76,60,0.3);
}

.card-body {
  padding: 22px;
}

.card-price {
  margin-bottom: 10px;
}
.price-value {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.price-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-left: 2px;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
}

.card-description {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}
.feature {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.feat-icon {
  font-style: normal;
  font-size: 0.95rem;
}

/* ========================================
   ADVANTAGES
   ======================================== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.adv-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
  box-shadow: var(--shadow-sm);
}
.adv-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.adv-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.adv-card.visible:hover {
  transform: translateY(-4px);
}
.adv-icon {
  font-size: 2.2rem;
  margin-bottom: 18px;
  color: var(--accent);
  display: flex;
  align-items: center;
}
.adv-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.adv-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================
   REVIEWS
   ======================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
  box-shadow: var(--shadow-sm);
}
.review-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.review-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}
.review-card.visible:hover {
  transform: translateY(-4px);
}
.review-stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.review-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 22px;
  font-style: italic;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  flex-shrink: 0;
}
.author-name {
  font-weight: 600;
  font-size: 0.92rem;
}
.author-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ========================================
   FAQ (Частые вопросы)
   ======================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: rgba(15,191,143,0.04);
  border: 1px solid rgba(15,191,143,0.15);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-item:hover {
  border-color: rgba(15,191,143,0.35);
}
.faq-item.active {
  border-color: rgba(15,191,143,0.4);
  box-shadow: 0 0 30px rgba(15,191,143,0.08);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s ease;
}
.faq-question:hover {
  color: var(--color-primary);
}
.faq-chevron {
  flex-shrink: 0;
  color: var(--color-primary);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 24px;
}
.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 24px 20px;
}
.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}
.faq-answer a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}
.faq-answer a:hover {
  text-decoration: underline;
}

/* ========================================
   FOOTER SEO TEXT
   ======================================== */
.footer-seo {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 10px;
}
.footer-seo p {
  color: var(--text-tertiary, rgba(255,255,255,0.35));
  font-size: 0.78rem;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* ========================================
   FINDER (Подбор квартиры)
   ======================================== */
.finder-section {
  padding-top: 20px;
}
.finder-card {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  padding: 48px;
  background: linear-gradient(135deg, rgba(15,191,143,0.08), rgba(58,237,196,0.04));
  border: 1px solid rgba(15,191,143,0.25);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(15,191,143,0.08);
}
.finder-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}
.finder-icon {
  font-size: 3.5rem;
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15,191,143,0.1);
  border-radius: 50%;
  border: 1px solid rgba(15,191,143,0.2);
}
.finder-content {
  flex: 1;
}
.finder-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 10px;
  padding: 4px 14px;
  background: rgba(15,191,143,0.1);
  border-radius: var(--radius-xl);
}
.finder-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.finder-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}
.finder-desc strong {
  color: var(--text-primary);
}
.finder-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin-bottom: 28px;
}
.finder-feature {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.finder-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

/* ========================================
   CONTACT
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info--centered {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.contact-item:hover {
  border-color: var(--border-hover);
  transform: translateX(6px);
}
.contact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-icon-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
}
.contact-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}
.contact-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
}
a.contact-value:hover {
  color: var(--accent);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 0.92rem;
  transition: var(--transition);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239898a8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}
.form-group select option {
  background: var(--bg-card);
  color: var(--text-primary);
}
.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

/* Date picker styles */
.form-dates-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.dates-toggle {
  display: flex;
  gap: 4px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 3px;
  margin-bottom: 12px;
}
.dates-mode {
  flex: 1;
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  background: transparent;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}
.dates-mode.active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px var(--accent-glow);
}

.dates-preview {
  margin-top: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  min-height: 1.4em;
  letter-spacing: 0.5px;
}

.dates-cal-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dates-cal-field {
  flex: 1;
}
.dates-cal-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.dates-cal-sep {
  color: var(--accent);
  font-size: 1.2rem;
  margin-top: 18px;
}
.dates-cal-field input[type="date"] {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
}
.dates-cal-field input[type="date"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

/* ========================================
   APARTMENT MODAL
   ======================================== */
.card { cursor: pointer; }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6,20,18,0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
  transform: translateY(30px) scale(0.96);
  transition: transform 0.35s ease;
  position: relative;
}
.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.modal-close:hover {
  background: rgba(0,0,0,0.5);
  transform: rotate(90deg);
}

/* Gallery */
.modal-gallery {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--gradient-card);
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.gallery-slides {
  position: relative;
  width: 100%;
  height: 100%;
}
.gallery-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.gallery-slides img.active {
  opacity: 1;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.gallery-placeholder span {
  font-size: 3rem;
  opacity: 0.4;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  display: none;
  align-items: center;
  justify-content: center;
}
.gallery-arrow:hover {
  background: rgba(0,0,0,0.55);
}
.gallery-prev { left: 14px; }
.gallery-next { right: 14px; }
.gallery-arrow.visible { display: flex; }

.gallery-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}
.gallery-dot.active {
  background: #fff;
  transform: scale(1.25);
}

.modal-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 7px 18px;
  background: rgba(15,191,143,0.9);
  border-radius: var(--radius-xl);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

/* Modal body */
.modal-body {
  padding: 36px;
}

.modal-price {
  margin-bottom: 8px;
}
.modal-price-value {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-primary);
}
.modal-price-period {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-left: 4px;
}

.modal-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.modal-features {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.modal-features .feature {
  padding: 10px 18px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.modal-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}

.modal-subtitle {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.modal-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.amenity-tag {
  padding: 10px 18px;
  background: var(--surface);
  border-radius: var(--radius-xl);
  font-size: 1.0rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.modal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.modal-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--surface);
  border-radius: var(--radius-xl);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}
.modal-link:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--accent-glow);
}

.modal-book {
  margin-top: 8px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  padding: 50px 0 30px;
  border-top: 1px solid var(--border);
}
.footer-top {
  text-align: center;
  margin-bottom: 30px;
}
.footer-top .nav-logo {
  justify-content: center;
  margin-bottom: 14px;
}
.footer-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 440px;
  margin: 0 auto;
}
.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ========================================
   SCROLL TO TOP
   ======================================== */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1.3rem;
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(15,191,143,0.3);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(15,191,143,0.4);
}

/* ========================================
   ANIMATIONS (AOS-like)
   ======================================== */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-aos].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   BOOKING WIDGET (HomeReserve)
   ======================================== */
.widget-wrapper {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(15, 191, 143, 0.15);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  transition: var(--transition);
  min-height: 300px;
  position: relative;
  overflow: visible;
}

.widget-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0.6;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.widget-wrapper:hover {
  border-color: rgba(15, 191, 143, 0.25);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.1),
    0 0 30px rgba(15, 191, 143, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Ensure widget content fills nicely */
#hr-widget {
  width: 100%;
  min-height: 250px;
}

/* Section separator (between booking and advantages) */
.section-sep {
  display: flex;
  justify-content: center;
  padding: 0;
  background: var(--bg-secondary);
}

.sep-line {
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg,
    transparent,
    rgba(15, 191, 143, 0.4),
    transparent
  );
  border-radius: 1px;
}

/* ========================================
   RESPONSIVE — Mobile-first adaptations
   ======================================== */

/* ---------- Tablet (≤ 900px) ---------- */
@media (max-width: 900px) {
  .container {
    padding: 0 20px;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .hero-stats {
    gap: 30px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .advantages-grid,
  .reviews-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .contact-info--centered {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .widget-wrapper {
    padding: 20px;
  }

  .section {
    padding: 70px 0;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .modal {
    max-width: 90vw;
  }
  .modal-body {
    padding: 24px;
  }
  .modal-title {
    font-size: 1.4rem;
  }
  .modal-price-value {
    font-size: 1.8rem;
  }
}

/* ---------- Mobile (≤ 640px) ---------- */
@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  /* ---- Nav ---- */
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 30, 25, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    z-index: 999;
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
  }
  .nav-links a {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.85) !important;
  }
  .nav-links a:hover {
    color: #fff !important;
  }

  .nav-toggle {
    z-index: 1001;
  }
  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* ---- Hero ---- */
  .hero {
    min-height: 85vh;
    padding: 90px 16px 60px;
  }

  .hero-title {
    font-size: 2rem;
    letter-spacing: -0.5px;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 28px;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 14px;
    margin-bottom: 20px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
  }
  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
    padding: 14px 24px;
  }

  .hero-stats {
    flex-direction: row;
    gap: 20px;
  }
  .stat-number {
    font-size: 1.5rem;
  }
  .stat-label {
    font-size: 0.72rem;
  }

  /* ---- Hero waves: simplified on mobile ---- */
  .hero-waves {
    height: 120px;
  }
  .wave-glow,
  .wave-highlight {
    display: none; /* remove 2 heavy animation layers on mobile */
  }
  .wave {
    animation-duration: 12s !important; /* slow down = less GPU */
  }

  .hero-to-content {
    height: 60px;
  }

  /* ---- Section video: NO video on mobile ---- */
  .section-video {
    overflow: visible; /* let widget content show fully */
  }
  .section-video .video-bg {
    /* Hide actual video elements; use a gradient fallback */
    overflow: hidden; /* keep video-bg itself clipped */
    background: linear-gradient(
      160deg,
      #062a2a 0%,
      #0a3d3d 30%,
      #0e4f4a 55%,
      #0d6b5e 80%,
      rgba(15, 191, 143, 0.3) 100%
    );
  }
  .section-video .video-slide {
    display: none !important; /* completely remove videos from rendering */
  }
  .section-video .video-indicators {
    display: none; /* no dots if no videos */
  }
  .section-video .video-overlay {
    background: linear-gradient(
      180deg,
      rgba(6, 20, 18, 0.35) 0%,
      rgba(6, 20, 18, 0.2) 50%,
      rgba(6, 20, 18, 0.4) 100%
    );
  }

  /* ---- Sections ---- */
  .section {
    padding: 50px 0;
  }
  .section-header {
    margin-bottom: 28px;
  }
  .section-tag {
    font-size: 0.72rem;
    letter-spacing: 2px;
  }
  .section-title {
    font-size: 1.5rem;
    letter-spacing: -0.5px;
  }
  .section-desc {
    font-size: 0.92rem;
  }

  /* ---- Widget: remove ALL container constraints on mobile ---- */
  body {
    overflow-x: clip;
  }
  .section-video > .container {
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .section-video .section-header {
    padding: 0 16px !important; /* keep text readable */
  }
  .widget-wrapper {
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    overflow: visible !important;
    min-height: 200px;
    width: 100% !important;
    position: static !important;
    left: auto !important;
    transform: none !important;
  }
  .widget-wrapper::before {
    display: none !important;
  }
  #hr-widget {
    min-height: 200px;
    overflow: visible !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
  /* Force all widget internals to respect width */
  #hr-widget *:not(svg):not(svg *) {
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  #hr-widget img,
  #hr-widget video {
    max-width: 100% !important;
    height: auto !important;
  }

  /* ---- Grids ---- */
  .advantages-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .adv-card {
    padding: 24px 20px;
  }
  .adv-icon {
    font-size: 1.8rem;
    margin-bottom: 12px;
  }
  .adv-card h3 {
    font-size: 1rem;
  }
  .adv-card p {
    font-size: 0.85rem;
  }

  .review-card {
    padding: 22px 20px;
  }
  .review-text {
    font-size: 0.9rem;
  }

  /* ---- Contact ---- */
  .contact-info--centered {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .contact-item {
    padding: 16px 18px;
    gap: 14px;
  }
  .contact-icon {
    font-size: 1.3rem;
  }
  .contact-value {
    font-size: 0.9rem;
  }

  /* ---- Wave dividers: thinner on mobile ---- */
  .wave-divider {
    height: 45px;
  }

  /* ---- Footer ---- */
  .footer {
    padding: 36px 0 20px;
  }
  .footer-desc {
    font-size: 0.82rem;
  }

  /* ---- Scroll-top button ---- */
  .scroll-top {
    bottom: 20px;
    right: 16px;
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }

  /* ---- Modals ---- */
  .modal-overlay {
    padding: 12px;
  }
  .modal {
    max-width: 100%;
    max-height: 92vh;
  }
  .modal-body {
    padding: 20px;
  }
  .modal-title {
    font-size: 1.2rem;
  }
  .modal-price-value {
    font-size: 1.6rem;
  }
  .modal-features .feature {
    font-size: 0.9rem;
    padding: 8px 14px;
  }
  .modal-description {
    font-size: 1rem;
  }
  .amenity-tag {
    font-size: 0.88rem;
    padding: 8px 14px;
  }
  .modal-link {
    font-size: 0.92rem;
    padding: 12px 18px;
  }
}

/* ---------- Small phones (≤ 380px) ---------- */
@media (max-width: 380px) {
  .hero-title {
    font-size: 1.7rem;
  }
  .hero-stats {
    gap: 14px;
  }
  .stat-number {
    font-size: 1.3rem;
  }
  .btn {
    font-size: 0.88rem;
    padding: 12px 20px;
  }
}

/* ---------- Reduce motion (accessibility) ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}

