/* ============================================================
   EASY ASHIYANA — Premium Real Estate Website
   Design System & Styles
   ============================================================ */


/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colors */
  --primary: #0F172A;
  --secondary: #1E40AF;
  --accent: #D4AF37;
  --accent-light: #E8D48B;
  --accent-dark: #B8941F;
  --bg: #FFFFFF;
  --bg-light: #F8FAFC;
  --bg-warm: #FEFDFB;
  --text: #1E293B;
  --text-light: #64748B;
  --text-muted: #94A3B8;
  --border: #E2E8F0;
  --border-light: #F1F5F9;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0F172A 0%, #1E3A5F 50%, #1E40AF 100%);
  --gradient-accent: linear-gradient(135deg, #D4AF37 0%, #E8D48B 100%);
  --gradient-hero: linear-gradient(160deg, #0F172A 0%, #162544 40%, #1E40AF 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);

  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Sizing */
  --max-width: 1280px;
  --max-width-wide: 1440px;
  --header-height: 80px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 50px -12px rgba(15, 23, 42, 0.12);
  --shadow-2xl: 0 25px 60px -15px rgba(15, 23, 42, 0.18);
  --shadow-gold: 0 10px 30px -5px rgba(212, 175, 55, 0.25);
  --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.03), 0 8px 30px rgba(15, 23, 42, 0.06);
  --shadow-card-hover: 0 20px 50px -10px rgba(15, 23, 42, 0.15);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 200ms;
  --duration-normal: 350ms;
  --duration-slow: 500ms;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--duration-fast) var(--ease-in-out);
}

ul,
ol {
  list-style: none;
}

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

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

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}

h1 {
  font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 3vw + 0.5rem, 3rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.25rem, 2vw + 0.25rem, 1.75rem);
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

p {
  color: var(--text-light);
  line-height: 1.8;
}

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

.text-gold {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container-wide {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-5xl) 0;
  position: relative;
}

.section-light {
  background-color: var(--bg-light);
}

.section-dark {
  background: var(--gradient-primary);
  color: white;
}

/* ---------- Section Header ---------- */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-4xl);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: var(--space-lg);
}

.section-label::before,
.section-label::after {
  content: '';
  width: 24px;
  height: 1.5px;
  background: var(--accent);
  border-radius: 2px;
}

.section-header h2 {
  margin-bottom: var(--space-lg);
}

.section-header p {
  font-size: 1.1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--secondary);
  box-shadow: var(--shadow-xl);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent);
  color: var(--primary);
  box-shadow: var(--shadow-gold);
}

.btn-accent:hover {
  background: var(--accent-light);
  box-shadow: 0 15px 40px -5px rgba(212, 175, 55, 0.35);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--border);
}

.btn-outline-dark:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-blue-gold {
  background: var(--primary);
  color: var(--accent);
  border: 1.5px solid transparent;
  box-shadow: var(--shadow-md);
}

.btn-blue-gold:hover {
  background: var(--secondary);
  color: var(--accent-light);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-icon {
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn svg,
.btn i {
  flex-shrink: 0;
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

/* ---------- WhatsApp Float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all var(--duration-normal) var(--ease-out);
  animation: pulse-green 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: white;
}

@keyframes pulse-green {

  0%,
  100% {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
  }
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-lg) 0;
  transition: all var(--duration-normal) var(--ease-out);
}
.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: -1;
  transition: all var(--duration-normal) var(--ease-out);
  pointer-events: none;
}
.header.scrolled::before {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  box-shadow: var(--shadow-sm);
}
.header.scrolled {
  padding: var(--space-sm) 0;
}

.header.scrolled .nav-link {
  color: var(--text);
}

.header.scrolled .nav-link:hover {
  color: var(--accent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  z-index: 1001;
}

.logo-img {
  height: 44px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  border-radius: 6px;
  transition: all var(--duration-normal) var(--ease-out);
}

/* On dark hero: make the light background blend away */
.header:not(.scrolled) .logo-img {
  mix-blend-mode: screen;
  filter: contrast(1.1) brightness(1.1);
}

/* On scrolled: show normally */
.header.scrolled .logo-img {
  mix-blend-mode: normal;
  filter: none;
}

.footer-logo-img {
  mix-blend-mode: screen !important;
  filter: contrast(1.1) brightness(1.1) !important;
  height: 38px;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.logo-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.3) 100%);
}

.logo-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--primary);
  position: relative;
  z-index: 1;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.01em;
  transition: color var(--duration-normal) var(--ease-out);
}

.logo-text span {
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: all var(--duration-fast) var(--ease-in-out);
  position: relative;
  letter-spacing: 0.01em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--duration-normal) var(--ease-out);
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: white;
}

.header-cta {
  z-index: 1001;
}

.header-cta .btn {
  padding: 12px 28px;
  font-size: 0.875rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all var(--duration-fast) var(--ease-out);
}

.header.scrolled .menu-toggle span {
  background: var(--primary);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: visible;
  padding-top: calc(var(--header-height) + var(--space-xl));
  padding-bottom: calc(var(--space-2xl) + 50px);
  min-height: 750px;
}

/* Animated shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  filter: blur(60px);
}

.hero-shape-1 {
  width: 600px;
  height: 600px;
  background: var(--accent);
  top: -10%;
  right: -5%;
  animation: float-slow 20s ease-in-out infinite;
}

.hero-shape-2 {
  width: 400px;
  height: 400px;
  background: var(--secondary);
  bottom: -10%;
  left: -5%;
  animation: float-slow 25s ease-in-out infinite reverse;
}

.hero-shape-3 {
  width: 300px;
  height: 300px;
  background: var(--accent);
  bottom: 20%;
  right: 30%;
  animation: float-slow 18s ease-in-out infinite;
}

/* Grid pattern overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

/* Left Content */
.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.25);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 500;
  color: var(--accent-light);
  margin-bottom: var(--space-xl);
  backdrop-filter: blur(10px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.hero h1 {
  color: white;
  margin-bottom: var(--space-lg);
  line-height: 1.1;
}

.hero h1 .highlight {
  position: relative;
  display: inline-block;
}

.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 12px;
  background: rgba(212, 175, 55, 0.3);
  border-radius: 2px;
  z-index: -1;
}

.hero-description {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
  max-width: 500px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

/* Trust Indicators */
.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.trust-avatars {
  display: flex;
}

.trust-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(15, 23, 42, 0.8);
  margin-left: -10px;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
}

.trust-avatar:first-child {
  margin-left: 0;
}

.trust-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.trust-text strong {
  color: white;
  display: block;
  font-size: 0.95rem;
}

.trust-rating {
  display: flex;
  align-items: center;
  gap: 4px;
}

.trust-rating svg {
  width: 16px;
  height: 16px;
  fill: var(--accent);
}

/* Right Visual */
.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.4);
  aspect-ratio: 4 / 3.5;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s var(--ease-out);
}

.hero-image-wrapper:hover img {
  transform: scale(1.05);
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 23, 42, 0.6) 100%);
  pointer-events: none;
}

/* Floating Cards */
.hero-float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-2xl);
  z-index: 3;
  animation: float-gentle 6s ease-in-out infinite;
}

.float-card-1 {
  bottom: 30px;
  left: -60px;
  animation-delay: 0s;
}

.float-card-2 {
  top: 40px;
  right: -40px;
  animation-delay: 2s;
}

.float-card-3 {
  bottom: 140px;
  right: -50px;
  animation-delay: 4s;
}

@keyframes float-gentle {

  0%,
  100% {
    transform: translateY(0px);
  }

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

@keyframes float-slow {

  0%,
  100% {
    transform: translate(0, 0);
  }

  33% {
    transform: translate(30px, -30px);
  }

  66% {
    transform: translate(-20px, 20px);
  }
}

.float-stat {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.float-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.float-stat-icon.blue {
  background: rgba(30, 64, 175, 0.1);
  color: var(--secondary);
}

.float-stat-icon.gold {
  background: rgba(212, 175, 55, 0.12);
  color: var(--accent-dark);
}

.float-stat-icon.green {
  background: rgba(34, 197, 94, 0.1);
  color: #16A34A;
}

.float-stat-icon svg {
  width: 20px;
  height: 20px;
}

.float-stat-value {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.float-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Search Preview */
.hero-search {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 92%;
  max-width: 1100px;
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-lg) var(--space-xl);
  box-shadow: var(--shadow-2xl);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.search-field {
  flex: 1;
  position: relative;
}

.search-field label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.search-field select,
.search-field input {
  width: 100%;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--text);
  background: transparent;
  border: none;
  cursor: pointer;
}

.search-field select {
  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='%2394A3B8' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  padding-right: 20px;
}

.search-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

.search-btn {
  flex-shrink: 0;
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats {
  padding: var(--space-3xl) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.stat-item {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  border-radius: var(--radius-xl);
  background: var(--bg-light);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 0 0 4px 4px;
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.stat-item:hover::before {
  opacity: 1;
}

.stat-icon {
  width: 56px;
  height: 56px;
  background: rgba(212, 175, 55, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}

.stat-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent-dark);
  fill: none;
  stroke-width: 1.5;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: var(--space-xs);
  letter-spacing: -0.02em;
}

.stat-number .suffix {
  color: var(--accent);
}

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

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-choose .features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}

.feature-card {
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  background: white;
  border: 1px solid var(--border-light);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-normal) var(--ease-out);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}

.feature-card:hover::after {
  transform: scaleX(1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xl);
  transition: all var(--duration-normal) var(--ease-out);
}

.feature-icon.blue {
  background: rgba(30, 64, 175, 0.08);
}

.feature-icon.gold {
  background: rgba(212, 175, 55, 0.1);
}

.feature-icon.teal {
  background: rgba(20, 184, 166, 0.08);
}

.feature-icon.purple {
  background: rgba(147, 51, 234, 0.08);
}

.feature-icon.rose {
  background: rgba(244, 63, 94, 0.08);
}

.feature-icon.emerald {
  background: rgba(16, 185, 129, 0.08);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.5;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-card h3 {
  margin-bottom: var(--space-md);
  font-size: 1.2rem;
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================================
   FEATURED PROPERTIES
   ============================================================ */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}

.property-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: white;
  border: 1px solid var(--border-light);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
}

.property-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}

.property-image {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.property-card:hover .property-image img {
  transform: scale(1.08);
}

.property-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-sale {
  background: var(--secondary);
  color: white;
}

.badge-rent {
  background: var(--accent);
  color: var(--primary);
}

.badge-new {
  background: #10B981;
  color: white;
}

.property-save {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.property-save:hover {
  background: white;
  transform: scale(1.1);
}

.property-save svg {
  width: 18px;
  height: 18px;
  stroke: var(--text);
  fill: none;
  stroke-width: 2;
}

.property-content {
  padding: var(--space-xl);
}

.property-price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.property-price .period {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
}

.property-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--text);
}

.property-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.property-location svg {
  width: 15px;
  height: 15px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.property-meta {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-light);
}

.property-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.property-meta-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 1.5;
}

.properties-cta {
  text-align: center;
  margin-top: var(--space-3xl);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.service-card {
  padding: var(--space-2xl) var(--space-xl);
  border-radius: var(--radius-xl);
  background: white;
  text-align: center;
  transition: all var(--duration-normal) var(--ease-out);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover .service-icon {
  background: rgba(212, 175, 55, 0.15);
}

.service-card:hover .service-icon svg {
  stroke: var(--accent);
}

.service-card:hover h3 {
  color: white;
}

.service-card:hover p {
  color: rgba(255, 255, 255, 0.7);
}

.service-card>* {
  position: relative;
  z-index: 1;
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xl);
  transition: all var(--duration-normal) var(--ease-out);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--secondary);
  fill: none;
  stroke-width: 1.5;
  transition: stroke var(--duration-normal) var(--ease-out);
}

.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: var(--space-md);
  transition: color var(--duration-normal) var(--ease-out);
}

.service-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  transition: color var(--duration-normal) var(--ease-out);
}

/* ============================================================
   PROCESS / TIMELINE
   ============================================================ */
.process {
  background: var(--gradient-primary);
  color: white;
  overflow: hidden;
}

.process .section-label {
  color: var(--accent-light);
}

.process .section-header h2 {
  color: white;
}

.process .section-header p {
  color: rgba(255, 255, 255, 0.6);
}

.timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.timeline-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(50% + 40px);
  width: calc(100% - 80px);
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 0;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  flex: 1;
  padding: 0 var(--space-md);
}

.timeline-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: var(--space-xl);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  z-index: 1;
}

.timeline-step:hover .timeline-number {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
  transform: scale(1.1);
  box-shadow: var(--shadow-gold);
}

.timeline-step h3 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}

.timeline-step p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  max-width: 180px;
}

/* ============================================================
   TESTIMONIALS V2 — Premium Grid
   ============================================================ */
.testimonials-v2 {
  background: var(--bg-light);
}

/* Google Rating Badge */
.testimonials-rating-badge {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-3xl);
}

.rating-badge-inner {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  background: white;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.rating-badge-score {
  display: flex;
  align-items: center;
  gap: 6px;
}

.rating-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary);
}

.rating-stars-mini {
  display: flex;
  align-items: center;
  gap: 1px;
}

.rating-badge-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  padding-left: var(--space-md);
  border-left: 1px solid var(--border);
}

/* Testimonials Grid -> Slider */
.testimonials-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(33.333% - var(--space-xl) * 2/3);
  gap: var(--space-xl);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-top: 15px;
  padding-bottom: 20px;
  align-items: stretch;
}

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

.testimonials-grid {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

.testimonials-grid>.testi-card {
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Slider Navigation Buttons */
.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary);
  transition: all 0.2s ease;
}

.slider-nav-btn:hover {
  background: var(--primary);
  color: white;
}

.slider-nav-btn.prev-btn {
  left: -25px;
}

.slider-nav-btn.next-btn {
  right: -25px;
}

/* Testimonial Card */
.testi-card {
  border-radius: var(--radius-xl);
  transition: all var(--duration-normal) var(--ease-out);
}

.testi-card-inner {
  height: 100%;
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  background: white;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
  flex: 1;
}

.testi-card:hover .testi-card-inner {
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(212, 175, 55, 0.2);
}

/* Gold accent line on top */
.testi-card-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.testi-card:hover .testi-card-inner::before {
  opacity: 1;
}

/* Quote Icon */
.testi-quote-icon {
  margin-bottom: var(--space-lg);
}

/* Stars */
.testi-stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--space-lg);
}

.testi-stars svg {
  width: 16px;
  height: 16px;
  fill: var(--accent);
}

/* Text */
.testi-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: var(--space-xl);
  flex: 1;
  font-style: italic;
  border: none;
  padding: 0;
}

/* Author */
.testi-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-light);
}

.testi-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: white;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.testi-author-info {
  flex: 1;
  min-width: 0;
}

.testi-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
  line-height: 1.3;
}

.testi-role {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.testi-verified {
  flex-shrink: 0;
}

/* ---- Featured Card (dark) ---- */
.testi-card-featured .testi-card-inner {
  background: var(--gradient-primary);
  border-color: transparent;
  box-shadow: var(--shadow-xl);
}

.testi-card-featured .testi-card-inner::before {
  background: var(--gradient-accent);
  opacity: 1;
}

.testi-card-featured .testi-stars svg {
  fill: var(--accent);
}

.testi-card-featured .testi-text {
  color: rgba(255, 255, 255, 0.85);
}

.testi-card-featured .testi-author {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.testi-card-featured .testi-name {
  color: white;
}

.testi-card-featured .testi-role {
  color: rgba(255, 255, 255, 0.5);
}

.testi-card-featured:hover .testi-card-inner {
  box-shadow: var(--shadow-2xl);
  border-color: transparent;
}

/* Responsive */
@media (max-width: 1024px) {
  .testimonials-grid {
    grid-auto-columns: calc(50% - var(--space-xl) / 2);
  }
}

@media (max-width: 640px) {
  .testimonials-grid {
    grid-auto-columns: 100%;
  }

  .rating-badge-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    padding: 12px 20px;
  }

  .rating-badge-text {
    border-left: none;
    padding-left: 0;
    width: 100%;
    text-align: center;
  }
}


/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}

.faq-item.active {
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: var(--shadow-md);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding: var(--space-xl) var(--space-xl);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  transition: color var(--duration-fast) var(--ease-in-out);
  width: 100%;
  text-align: left;
}

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

.faq-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--duration-normal) var(--ease-out);
}

.faq-item.active .faq-toggle {
  background: var(--accent);
  transform: rotate(45deg);
}

.faq-toggle svg {
  width: 16px;
  height: 16px;
  stroke: var(--text);
  fill: none;
  stroke-width: 2;
  transition: stroke var(--duration-fast);
}

.faq-item.active .faq-toggle svg {
  stroke: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-normal) var(--ease-out);
}

.faq-answer-inner {
  padding: 0 var(--space-xl) var(--space-xl);
}

.faq-answer-inner p {
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: var(--space-5xl) 0;
}

.cta-card {
  background: var(--gradient-primary);
  border-radius: var(--radius-2xl);
  padding: var(--space-4xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: rgba(212, 175, 55, 0.08);
  border-radius: 50%;
  filter: blur(80px);
}

.cta-card::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: rgba(30, 64, 175, 0.15);
  border-radius: 50%;
  filter: blur(80px);
}

.cta-card>* {
  position: relative;
  z-index: 1;
}

.cta-card h2 {
  color: white;
  margin-bottom: var(--space-lg);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.cta-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.contact-info {
  padding-right: var(--space-2xl);
}

.contact-info h3 {
  font-size: 1.75rem;
  margin-bottom: var(--space-lg);
}

.contact-info>p {
  margin-bottom: var(--space-2xl);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(212, 175, 55, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent-dark);
  fill: none;
  stroke-width: 1.5;
}

.contact-detail h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.contact-detail p,
.contact-detail a {
  font-size: 0.9rem;
  color: var(--text-light);
}

.contact-detail a:hover {
  color: var(--accent);
}

.contact-socials {
  display: flex;
  gap: var(--space-md);
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast) var(--ease-out);
}

.social-link:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: var(--text-light);
  transition: fill var(--duration-fast);
}

.social-link:hover svg {
  fill: var(--primary);
}

/* Contact Form */
.contact-form-wrapper {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form-group {
  position: relative;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg-light);
  transition: all var(--duration-fast) var(--ease-in-out);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: white;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

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

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

.form-group select {
  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='%2394A3B8' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-error {
  display: none;
  font-size: 0.8rem;
  color: #EF4444;
  margin-top: 4px;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #EF4444;
}

.form-group.error .form-error {
  display: block;
}

.form-submit {
  margin-top: var(--space-lg);
}

.form-submit .btn {
  width: 100%;
  padding: 16px;
}

/* Form Success */
.form-success {
  display: none;
  text-align: center;
  padding: var(--space-2xl);
}

.form-success.show {
  display: block;
}

.form-success.show+.contact-form {
  display: none;
}

.form-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
}

.form-success-icon svg {
  width: 32px;
  height: 32px;
  stroke: #10B981;
  fill: none;
  stroke-width: 2;
}

.form-success h3 {
  margin-bottom: var(--space-sm);
}

/* Map */
.contact-map {
  margin-top: var(--space-3xl);
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 350px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.7);
  padding-top: var(--space-5xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-xl);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  margin: var(--space-lg) 0 var(--space-xl);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-brand .logo-text {
  color: white;
}

.footer h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: var(--space-xl);
  letter-spacing: 0.02em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  transition: all var(--duration-fast) var(--ease-in-out);
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(4px);
  display: inline-block;
}

.footer-newsletter p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  margin-bottom: var(--space-lg);
}

.newsletter-form {
  display: flex;
  gap: var(--space-sm);
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 0.9rem;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-list li {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
}

.footer-contact-list li strong {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-contact-list a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-list a:hover {
  color: white;
}

.newsletter-form input:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.12);
}

.newsletter-form button {
  padding: 12px 20px;
  background: var(--accent);
  color: var(--primary);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all var(--duration-fast) var(--ease-out);
}

.newsletter-form button:hover {
  background: var(--accent-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-xl) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-xl);
}

.footer-bottom-links a {
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delay for grid items */
.stagger-1 {
  transition-delay: 0.1s;
}

.stagger-2 {
  transition-delay: 0.2s;
}

.stagger-3 {
  transition-delay: 0.3s;
}

.stagger-4 {
  transition-delay: 0.4s;
}

.stagger-5 {
  transition-delay: 0.5s;
}

.stagger-6 {
  transition-delay: 0.6s;
}

.stagger-7 {
  transition-delay: 0.7s;
}

/* ============================================================
   LOADING SPINNER
   ============================================================ */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    text-align: center;
  }

  .hero-description {
    margin: 0 auto var(--space-2xl);
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
  }

  .float-card-1 {
    left: -20px;
    bottom: 20px;
  }

  .float-card-2 {
    right: -20px;
  }

  .float-card-3 {
    right: -20px;
    bottom: 120px;
  }

  .hero-search {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    margin-top: var(--space-3xl);
    flex-wrap: wrap;
  }

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

  .features-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

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

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

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

  .contact-info {
    padding-right: 0;
  }

  .timeline {
    flex-direction: column;
    gap: var(--space-2xl);
    align-items: flex-start;
    padding-left: 60px;
  }

  .timeline-step:not(:last-child)::after {
    top: 60px;
    left: 30px;
    width: 2px;
    height: calc(100% - 60px + var(--space-2xl));
  }

  .timeline-step {
    flex-direction: row;
    text-align: left;
    gap: var(--space-xl);
    padding: 0;
  }

  .timeline-number {
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 640px) {
  :root {
    --space-5xl: 5rem;
    --space-4xl: 3.5rem;
  }

  .container,
  .container-wide {
    padding: 0 var(--space-lg);
  }

  .header {
    padding: var(--space-md) 0;
  }

  .header.scrolled {
    padding: var(--space-md) 0;
  }

  .header-inner {
    padding: 0 var(--space-lg);
  }

  .logo-img {
    height: 36px;
  }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-2xl);
    transform: translateX(100%);
    transition: transform var(--duration-normal) var(--ease-out);
    z-index: 1000;
  }

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

  .nav-link {
    font-size: 1.5rem;
    color: white !important;
  }

  .menu-toggle {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + var(--space-xl)) 0 var(--space-2xl);
  }

  .hero h1 {
    font-size: 2.1rem;
    line-height: 1.2;
  }

  .hero-badge {
    display: none;
  }

  .hero-description {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .hero-trust {
    flex-direction: row;
    justify-content: space-between;
    gap: var(--space-lg);
    width: 100%;
    flex-wrap: nowrap;
  }

  .hero-trust .trust-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  .hero-trust .trust-avatar {
    width: 28px;
    height: 28px;
    font-size: 0.65rem;
    margin-left: -8px;
    border-width: 1px;
  }

  .hero-trust .trust-avatar:first-child {
    margin-left: 0;
  }

  .hero-trust .trust-text {
    font-size: 0.65rem;
  }

  .hero-trust .trust-text strong {
    font-size: 0.75rem;
  }

  .hero-trust .trust-rating svg {
    width: 12px;
    height: 12px;
  }

  .hero-float-card {
    display: none;
  }

  .hero-visual {
    display: none;
  }

  .hero-search {
    flex-direction: column;
    padding: var(--space-lg);
    gap: var(--space-md);
  }

  .search-divider {
    width: 100%;
    height: 1px;
  }

  .search-btn {
    width: 100%;
  }

  .search-btn .btn {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .stat-item {
    padding: var(--space-md) var(--space-sm);
    border-radius: var(--radius-lg);
  }

  .stat-icon {
    width: 40px;
    height: 40px;
    margin-bottom: var(--space-sm);
    margin-left: auto;
    margin-right: auto;
  }

  .stat-icon svg {
    width: 20px;
    height: 20px;
  }

  .stat-number {
    font-size: 1.5rem;
    margin-bottom: 2px;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: var(--space-md);
  }

  .feature-card {
    padding: var(--space-md);
  }

  .feature-icon {
    width: 40px;
    height: 40px;
    margin-bottom: var(--space-sm);
  }

  .feature-icon svg {
    width: 20px;
    height: 20px;
  }

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

  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .service-card {
    padding: var(--space-md);
  }

  .service-icon {
    width: 40px;
    height: 40px;
    margin-bottom: var(--space-sm);
    margin-left: auto;
    margin-right: auto;
  }

  .service-icon svg {
    width: 20px;
    height: 20px;
  }

  .service-card h3 {
    font-size: 0.9rem;
    margin-bottom: var(--space-xs);
  }

  .service-card p {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  .testimonial-card {
    min-width: 300px;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .cta-card {
    padding: var(--space-2xl) var(--space-lg);
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
  }
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.about-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-2xl);
  aspect-ratio: 4 / 5;
}

.about-experience-badge {
  position: absolute;
  bottom: var(--space-xl);
  right: var(--space-xl);
  background: var(--accent);
  color: var(--primary);
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-gold);
}

.about-experience-badge .number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  display: block;
}

.about-experience-badge .label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-content h3 {
  font-size: 1.75rem;
  margin-bottom: var(--space-lg);
}

.about-content>p {
  margin-bottom: var(--space-xl);
  font-size: 1.02rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.about-feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

.about-feature svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent-dark);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .about-image-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }
}

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

  .about-grid {
    display: flex;
    flex-direction: column-reverse;
    gap: var(--space-2xl);
  }

  .about-image-wrapper {
    aspect-ratio: 16 / 9;
    width: 100%;
    max-width: 100%;
  }

  .about-image-wrapper img {
    aspect-ratio: 16 / 9;
  }

  .about-experience-badge {
    bottom: var(--space-sm);
    right: var(--space-sm);
    padding: 10px 16px;
    border-radius: var(--radius-md);
  }

  .about-experience-badge .number {
    font-size: 1.25rem;
  }

  .about-experience-badge .label {
    font-size: 0.65rem;
  }

  .about-content h3 {
    font-size: 1.4rem;
  }

  .about-content>p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .about-content .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .section-header p {
    font-size: 0.9rem;
  }

  .feature-card h3 {
    font-size: 0.9rem;
  }

  .feature-card p {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  .video-content {
    padding: var(--space-md);
  }

  .video-card-badges .badge {
    font-size: 0.65rem;
    padding: 2px 6px;
  }

  .property-title {
    font-size: 1rem;
  }

  .property-subtitle {
    font-size: 0.75rem;
    margin-bottom: 6px;
  }

  .property-desc {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  .video-card-actions .btn {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .video-price {
    padding: 2px 8px !important;
    font-size: 0.65rem !important;
    bottom: 8px !important;
    right: 8px !important;
  }

  .timeline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    padding-left: 0;
  }

  .timeline-step {
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
  }

  .timeline-step:not(:last-child)::after {
    display: none;
  }

  .timeline-step:nth-child(5) {
    grid-column: span 2;
    max-width: 250px;
    margin: 0 auto;
  }

  .timeline-number {
    font-size: 1rem;
    margin: 0 auto var(--space-xs);
    width: 48px;
    height: 48px;
  }

  .timeline-step h3 {
    font-size: 0.95rem;
    margin-bottom: 4px;
  }

  .timeline-step p {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  .testi-card-inner {
    padding: var(--space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .testi-quote-icon svg {
    width: 24px;
    height: 24px;
  }

  .testi-text {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: var(--space-lg);
    flex: 1;
  }

  .testi-avatar {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }

  .testi-name {
    font-size: 0.85rem;
  }

  .testi-role {
    font-size: 0.75rem;
  }

  .slider-nav-btn {
    display: none !important;
  }

  .slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: var(--space-lg);
  }

  .slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    transition: all 0.3s ease;
  }

  .slider-dots .dot.active {
    background: var(--accent);
    width: 20px;
    border-radius: 4px;
  }

  .faq-question {
    font-size: 0.9rem;
    padding: var(--space-md);
    gap: var(--space-md);
  }

  .faq-answer-inner {
    padding: 0 var(--space-md) var(--space-md);
  }

  .faq-answer-inner p {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .faq-toggle {
    width: 24px;
    height: 24px;
  }

  .faq-toggle svg {
    width: 12px;
    height: 12px;
  }

  .cta-section {
    padding: var(--space-2xl) 0;
  }

  .cta-card {
    padding: var(--space-xl) var(--space-md);
    border-radius: var(--radius-xl);
  }

  .cta-card h2 {
    font-size: 1.3rem;
    margin-bottom: var(--space-sm);
  }

  .cta-card p {
    font-size: 0.85rem;
    margin-bottom: var(--space-xl);
  }

  .cta-actions {
    flex-direction: column;
    gap: var(--space-md);
  }

  .cta-actions .btn {
    padding: 10px 16px;
    font-size: 0.85rem;
    width: 100%;
    justify-content: center;
  }

  .cta-actions .btn svg {
    width: 14px;
    height: 14px;
  }

  .contact-info h3 {
    font-size: 1.3rem;
    margin-bottom: var(--space-sm);
  }

  .contact-info>p {
    font-size: 0.85rem;
    margin-bottom: var(--space-xl);
  }

  .contact-detail h4 {
    font-size: 0.85rem;
  }

  .contact-detail p,
  .contact-detail a {
    font-size: 0.8rem;
  }

  .form-group label {
    font-size: 0.75rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px var(--space-md);
    font-size: 0.85rem;
  }
    
  .hide-on-mobile { display: none; }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Page loader */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--primary);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s, visibility 0.5s;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  animation: pulse-loader 1.5s ease-in-out infinite;
}

@keyframes pulse-loader {

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

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

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--duration-normal) var(--ease-out);
  box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--secondary);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
  stroke: white;
  fill: none;
  stroke-width: 2;
}

@media (max-width: 640px) {
  .back-to-top {
    bottom: 85px;
    right: 20px;
  }
}


/* ============================================================
   VIDEO TOURS SECTION
   ============================================================ */
.video-tours-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
}

@media (max-width: 900px) {
  .video-tours-grid {
    grid-template-columns: 1fr;
  }
}

.video-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.video-thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  cursor: pointer;
  overflow: hidden;
}

.video-thumbnail video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  opacity: 0.85;
}

.video-thumbnail:hover video {
  transform: scale(1.05);
  opacity: 1;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease;
}

.video-thumbnail:hover .video-overlay {
  background: rgba(0, 0, 0, 0.1);
}

.play-button {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
}

.play-button svg {
  width: 24px;
  height: 24px;
  margin-left: 4px;
  color: var(--primary);
}

.video-thumbnail:hover .play-button {
  transform: scale(1.1);
  background: white;
}

.video-overlay-text {
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 12px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.video-price {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(15, 23, 42, 0.85);
  /* var(--primary) with opacity */
  color: white;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-content {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.video-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.video-card-badges .badge {
  background: rgba(212, 175, 55, 0.1);
  /* Gold tint */
  color: var(--accent-gold);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.property-title {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 4px;
  line-height: 1.3;
}

.property-subtitle {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 12px;
  font-weight: 500;
}

.property-desc {
  color: var(--text-main);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.property-details-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
  padding-top: 15px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.detail-item {
  font-size: 0.85rem;
  color: var(--text-main);
}

.detail-item strong {
  color: var(--primary);
  font-weight: 600;
  margin-right: 4px;
}

.video-card-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.video-card-actions .btn {
  flex: 1;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.9rem;
}

/* ============================================================
   VIDEO MODAL LIGHTBOX
   ============================================================ */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(5px);
}

.video-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.video-modal-content {
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: var(--primary);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.video-modal.active .video-modal-content {
  transform: translateY(0);
}

.video-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 2rem;
  line-height: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.video-modal-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: black;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-modal-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* This makes it fill the horizontal space like before */
}

.video-modal-info {
  padding: 25px 30px;
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: white;
}

.video-modal-info h3 {
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.video-modal-info p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  margin-bottom: 8px;
}

.modal-price {
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 700;
}

@media (max-width: 768px) {
  .video-modal-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .video-modal-info .btn {
    width: 100%;
    text-align: center;
  }
}

/* Fix for mobile menu background bleeding when scrolled */
/* Fix for mobile menu background */
.header.menu-open .menu-toggle span {
  background: white !important;
}

.header.menu-open::before {
  background: var(--primary) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: none !important;
}


