@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- THEME TOKENS --- */
:root {
  /* Fonts */
  --font-serif: 'Oswald', sans-serif;
  --font-heading: 'Oswald', sans-serif;
  --font-sans: 'Inter', sans-serif;

  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: all 0.2s ease;

  /* Glow / Shadow */
  --glow-gold: 0 10px 25px rgba(239, 68, 68, 0.35);

  /* Dark Theme Default (Zinc-950 Dark) */
  --bg-primary: #09090b;
  --bg-secondary: #030303;
  --bg-card: rgba(9, 9, 11, 0.75);
  --border-color: rgba(255, 255, 255, 0.05);
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --accent: #ef4444; /* Brand Red */
  --accent-blue: #3b82f6; /* Brand Blue */
  --accent-hover: #dc2626;
  --accent-rgb: 239, 68, 68;
  --glass-bg: rgba(9, 9, 11, 0.8);
  --glass-border: rgba(255, 255, 255, 0.05);
  --shadow-color: rgba(0, 0, 0, 0.8);
  --input-bg: rgba(255, 255, 255, 0.02);
}

[data-theme="light"] {
  /* Light Theme (Zinc Light) */
  --bg-primary: #fafafa;
  --bg-secondary: #f4f4f5;
  --bg-card: rgba(255, 255, 255, 0.8);
  --border-color: rgba(9, 9, 11, 0.08);
  --text-primary: #09090b;
  --text-secondary: #71717a;
  --accent: #ef4444; /* Brand Red */
  --accent-blue: #3b82f6;
  --accent-hover: #dc2626;
  --accent-rgb: 239, 68, 68;
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(9, 9, 11, 0.06);
  --shadow-color: rgba(225, 29, 72, 0.02);
  --input-bg: rgba(9, 9, 11, 0.02);
}

/* --- RESET & BASICS --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg-secondary);
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: background-color 0.5s ease, color 0.5s ease;
}

body {
  overflow-x: hidden;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-hover);
}

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

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

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

/* --- GRID OVERLAY & GLOW BLOBS --- */
.main-wrapper {
  position: relative;
  min-height: 100vh;
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 1;
}

.glow-blob {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.12) 0%, rgba(var(--accent-rgb), 0.02) 50%, transparent 100%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
  z-index: 0;
}

.glow-hero {
  top: 10%;
  left: -100px;
}

.glow-packages {
  bottom: 20%;
  right: -100px;
}

/* --- PREMIUM UTILITIES --- */
.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px 0 var(--shadow-color);
  border-radius: 24px; /* More rounded like atv-seven */
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: reveal 1s forwards 0.2s;
  position: relative;
  z-index: 2;
}

.section-tag {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.15);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-family: var(--font-heading);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-transform: uppercase;
}

.section-title span {
  font-style: normal;
  font-weight: 700;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  background-image: linear-gradient(90deg, var(--accent) 0%, var(--accent-blue) 100%);
}

.text-gradient {
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  background-image: linear-gradient(90deg, var(--accent) 0%, var(--accent-blue) 100%);
}

.mobile-only {
  display: none !important;
}

.gold-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 2.8rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-blue) 100%);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: 9999px; /* Pill shaped like atv-seven */
  cursor: pointer;
  box-shadow: var(--glow-gold);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.gold-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: 0.5s;
}

.gold-btn:hover::before {
  left: 100%;
}

.gold-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 30px rgba(var(--accent-rgb), 0.5);
  background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent-blue) 100%);
}

.outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.6rem;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: 9999px; /* Pill shaped */
  cursor: pointer;
  background: rgba(255, 255, 255, 0.02);
  transition: var(--transition-smooth);
}

.outline-btn:hover {
  background: rgba(var(--accent-rgb), 0.08);
  border-color: var(--accent);
  transform: translateY(-2px) scale(1.03);
}

.specs-btns {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.cta-features {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-top: 1rem;
}

.cta-features .separator-line {
  width: 1px;
  height: 40px;
  background-color: var(--border-color);
}

/* --- HEADER / NAVBAR --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
}

header.scrolled {
  padding: 0.8rem 0;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  transition: var(--transition-smooth);
}

header.scrolled .navbar-container {
  padding: 0.6rem 2rem;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-transform: uppercase;
}

.logo-icon {
  width: 26px;
  height: 26px;
  color: var(--accent);
  transition: transform var(--transition-fast);
}

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

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

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

.nav-menu {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.nav-link {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
  font-family: var(--font-heading);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--text-primary);
}

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

.nav-link.active {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Theme Toggle */
.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.theme-toggle:hover {
  transform: rotate(30deg);
  border-color: var(--accent);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: var(--text-primary);
  transition: var(--transition-smooth);
}

.theme-toggle .sun-icon {
  display: none;
}

[data-theme="light"] .theme-toggle .moon-icon {
  display: none;
}

[data-theme="light"] .theme-toggle .sun-icon {
  display: block;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1000;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  height: 30px;
  justify-content: center;
  align-items: center;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* Active state animations */
.menu-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background-color: var(--accent);
}

.menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.menu-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background-color: var(--accent);
}

/* --- HERO SECTION --- */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  background-color: var(--bg-primary);
  overflow: hidden;
  padding-top: 100px;
}

.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  width: 55vw;
  height: 100%;
  z-index: 1;
}

.hero-image-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: polygon(17% 0, 100% 0, 100% 100%, 4% 100%);
  z-index: 1;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-stripe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent) 0%, #f97316 100%);
  clip-path: polygon(12% 0, 19% 0, 6% 100%, -1% 100%);
  z-index: 2;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  z-index: 2;
  position: relative;
}

.hero-content-left {
  max-width: 650px;
  width: 100%;
  text-align: left;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 1s forwards 0.3s;
  position: relative;
  z-index: 10;
}

.hero-tag {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #f97316;
  margin-bottom: 1.5rem;
  display: inline-block;
  font-family: var(--font-heading);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4.2rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  color: var(--text-primary);
}

.hero-title .text-orange {
  color: #f97316;
}


.hero-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
  width: 100%;
  max-width: 480px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

.feature-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f97316;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.15);
}

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

.feature-text h4 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.feature-text p {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.3;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.hero-btns .gold-btn {
  padding: 1rem 2.2rem;
  background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  font-size: 0.8rem;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4);
}

.hero-btns .gold-btn:hover {
  background: linear-gradient(135deg, #dc2626 0%, #ea580c 100%);
  box-shadow: 0 6px 25px rgba(239, 68, 68, 0.6);
}

.btn-arrow-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.btn-arrow-circle svg {
  width: 14px;
  height: 14px;
}

.hero-btns .outline-btn {
  padding: 0.95rem 2.2rem;
  border: 1px solid var(--border-color);
  background: var(--input-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  border-radius: 50px;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.hero-btns .outline-btn:hover {
  background: rgba(var(--accent-rgb), 0.08);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.btn-pakej-icon {
  width: 16px;
  height: 16px;
  color: var(--text-primary);
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  cursor: pointer;
}

.scroll-indicator::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, #f97316 0%, transparent 100%);
  animation: pulseLine 2s infinite;
}

/* Responsive Overrides for Hero */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3.8rem;
  }
  .hero-media {
    width: 50vw;
  }
}

@media (max-width: 992px) {
  .hero {
    padding-top: 120px;
    padding-bottom: 80px;
    height: auto;
    min-height: 100vh;
  }
  
  .hero-media {
    width: 100vw;
    height: 100%;
    opacity: 0.15;
    z-index: 1;
  }
  
  .hero-image-wrap {
    clip-path: none;
  }
  
  .hero-stripe {
    display: none;
  }
  
  .hero-content-left {
    max-width: 100%;
    text-align: center;
  }
  
  .hero-tag {
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.4rem;
    text-align: center;
  }
  
  .hero-title br {
    display: none;
  }
  
  .hero-features {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    max-width: 450px;
    margin: 0 auto 3rem auto;
  }
  
  .hero-feature-item {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
  }
  
  .hero-btns {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.45rem;
    line-height: 1.25;
    margin-bottom: 2rem;
  }
  
  .hero-btns {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }
  
  .hero-btns .gold-btn,
  .hero-btns .outline-btn {
    width: 100%;
  }
}

/* --- FEATURED PROPERTIES --- */
.featured {
  padding: 8rem 0;
  background-color: var(--bg-secondary);
  position: relative;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  position: relative;
  z-index: 2;
}

.property-card {
  overflow: hidden;
  border-radius: 24px; /* More rounded */
  transition: var(--transition-smooth);
  position: relative;
}

.property-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 40px rgba(var(--accent-rgb), 0.15);
  border-color: rgba(var(--accent-rgb), 0.35);
}

.property-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  transition: var(--transition-smooth);
}

.property-card:hover::before {
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.25) 0%, transparent 70%);
}

.card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  z-index: 1;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.property-card:hover .card-img-wrap img {
  transform: scale(1.1);
}

.tour-badge {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  padding: 0.5rem 1.2rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(var(--accent-rgb), 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 9999px; /* Pill badge */
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tour-badge svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  animation: pulseGlow 1.5s infinite;
}

.card-content {
  padding: 2.2rem;
  position: relative;
  z-index: 1;
}

.card-price {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.card-location {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.card-location svg {
  width: 14px;
  height: 14px;
  fill: var(--accent);
}

.card-specs {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 1.2rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

/* --- SPECIFICATIONS --- */
.specs-section {
  padding: 8rem 0;
  background-color: var(--bg-secondary);
  position: relative;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  position: relative;
  z-index: 2;
}

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

.spec-card {
  padding: 1.8rem;
  border-radius: 16px;
  transition: var(--transition-smooth);
}

.spec-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb), 0.25);
  background: var(--bg-card);
}

.spec-icon-wrap {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.spec-icon-wrap svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.spec-card h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}

.spec-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- MORTGAGE CALCULATOR --- */
.calculator-section {
  padding: 8rem 0;
  background-color: var(--bg-primary);
  position: relative;
}

.calc-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
  border-radius: 24px;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 3rem;
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 500;
}

.calc-val {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 700;
}

/* Ranges Slider custom styling */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--border-color);
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  transition: transform 0.15s ease-in-out;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.25);
  background: var(--accent-hover);
}

.calc-results-card {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  height: 100%;
  justify-content: center;
}

.monthly-result {
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 2rem;
}

.monthly-result h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.monthly-val {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: var(--accent);
  font-weight: 700;
}

.chart-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

#chart-canvas {
  max-width: 180px;
  max-height: 180px;
}

.chart-legend {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
}

.legend-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 0.8rem;
  color: var(--text-secondary);
  gap: 1rem;
}

.legend-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.legend-color {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 4px;
  flex-shrink: 0;
}

.legend-item span:last-child {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1rem;
  flex-shrink: 0;
}

/* --- BOOKING / LEAD GENERATION --- */
.booking-section {
  padding: 8rem 0;
  background-color: var(--bg-secondary);
  position: relative;
}

.booking-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

/* --- BOOKING CTA GRID (Lighthouse / Mobile Refactoring) --- */
.booking-cta-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.booking-cta-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.booking-cta-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin: 0;
}

.booking-cta-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 3rem;
  border-radius: 20px;
}

[data-theme="light"] .booking-cta-right {
  background: rgba(0, 0, 0, 0.02);
}

.booking-cta-subtitle {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
  color: var(--text-primary);
}

.booking-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.booking-header h1,
.booking-header h3 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.booking-header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  font-weight: 700;
  font-family: var(--font-heading);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 1rem 1.2rem;
  border-radius: 12px;
  background: var(--input-bg);
  border: 1px solid var(--border-color);
  font-size: 0.9rem;
  width: 100%;
  transition: var(--transition-fast);
  color: var(--text-primary);
}

/* Custom select — hide OS chrome, show our own chevron */
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.8rem;
  cursor: pointer;
}

/* Option items inherit the card background so the list isn't OS-blue */
.form-group select option {
  background-color: var(--bg-card, #09090b);
  color: var(--text-primary);
}

[data-theme="light"] .form-group select option {
  background-color: #ffffff;
  color: #09090b;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), 0.02);
  outline: none;
}

.booking-form button {
  grid-column: span 2;
  margin-top: 1rem;
}

/* Booking Success State Overlay */
.booking-success-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.booking-success-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.success-icon-wrap {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.15);
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 2rem;
  animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.booking-success-overlay h4 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  text-transform: uppercase;
}

.booking-success-overlay p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 350px;
  text-align: center;
  line-height: 1.6;
}

/* --- FOOTER & CONTACTS --- */
footer {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 3rem 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-about p {
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  line-height: 1.4;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.contact-info-item:hover {
  color: var(--text-primary);
  transform: translateX(4px);
}

.contact-info-item svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 0.22rem;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.contact-info-item:hover svg {
  stroke: var(--accent-blue);
  transform: scale(1.15);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* Floating WhatsApp Widget */
.whatsapp-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.whatsapp-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
  position: relative;
}

.whatsapp-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  animation: pulseRadar 2s infinite;
}

.whatsapp-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.whatsapp-tooltip {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  pointer-events: none;
  opacity: 0;
  transform: translateX(20px);
  transition: var(--transition-smooth);
}

.whatsapp-widget:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.whatsapp-widget:hover {
  transform: scale(1.05);
}

/* --- ANIMATIONS & KEYFRAMES --- */
@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@keyframes pulseRadar {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes pulseGlow {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); opacity: 0.8; }
}

@keyframes pulseLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@keyframes scaleIn {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* --- RESPONSIVENESS --- */
@media (max-width: 1200px) {
  .properties-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .tour-wrapper {
    grid-template-columns: 1fr;
  }
  .tour-info-panel {
    margin-top: 2rem;
  }
  .calc-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .calc-results-card {
    border-left: none !important;
    border-top: 1px solid var(--border-color) !important;
  }
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 3.5rem;
  }
  .search-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .specs-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .booking-wrapper {
    padding: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .glass {
    padding: 1.8rem !important;
  }
  
  .specs-list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-color);
    flex-direction: column;
    padding: 6rem 3rem;
    align-items: flex-start;
    transition: var(--transition-smooth);
    z-index: 99;
  }

  .nav-menu.active {
    right: 0;
  }

  .menu-toggle {
    display: flex;
    z-index: 1000;
  }

  .mobile-only {
    display: block !important;
  }

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

  .nav-menu .gold-btn.mobile-only {
    display: inline-flex !important;
    margin-top: 2rem;
    width: 100%;
    padding: 0.8rem 2rem;
    font-size: 0.8rem;
    align-self: stretch;
  }

  .specs-btns {
    flex-direction: column;
    align-items: stretch !important;
    width: 100%;
    gap: 1rem;
  }

  .specs-btns .gold-btn,
  .specs-btns .outline-btn {
    width: 100%;
    text-align: center;
  }

  .cta-features {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 1rem;
  }

  .cta-features .separator-line {
    display: none !important;
  }

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

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

  .form-group.full-width,
  .booking-form button {
    grid-column: span 1;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 576px) {
  .booking-cta-grid {
    padding: 2rem 1.5rem !important;
    gap: 2rem !important;
  }
  .booking-cta-title {
    font-size: 1.8rem !important;
  }
  .booking-cta-right {
    padding: 1.5rem 1rem !important;
  }
  .search-bar {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .tour-canvas-container {
    height: 400px;
  }
  .room-picker-overlay {
    width: 90%;
    overflow-x: auto;
    white-space: nowrap;
    justify-content: flex-start;
    padding: 0.5rem;
  }
  .room-btn {
    flex: 0 0 auto;
  }
}

/* --- PROJECTS GALLERY SECTION --- */
.gallery-section {
  padding: 8rem 0;
  background-color: var(--bg-secondary);
  position: relative;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.gallery-item.large {
  grid-column: span 2;
  aspect-ratio: 8/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
  opacity: 0;
  transition: var(--transition-smooth);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

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

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 15px 35px rgba(var(--accent-rgb), 0.15);
}

.gallery-text {
  transform: translateY(20px);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

.gallery-item:hover .gallery-text {
  transform: translateY(0);
}

.gallery-text h4 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.gallery-text p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item.large {
    grid-column: span 2;
    aspect-ratio: 4/3;
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item.large {
    grid-column: span 1;
    aspect-ratio: 4/3;
  }
}

/* --- HOMEPAGE GATEWAY CTA ADDITIONS --- */
.tour-cta-grid {
  transition: var(--transition-smooth);
}
.tour-cta-grid:hover {
  border-color: rgba(var(--accent-rgb), 0.2);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6);
}
.tour-cta-preview:hover img {
  transform: scale(1.05);
}
.tour-cta-preview:hover .preview-overlay {
  background: rgba(9, 9, 11, 0.25) !important;
}
.tour-cta-preview:hover .play-btn {
  transform: scale(1.1);
  box-shadow: 0 0 35px rgba(var(--accent-rgb), 0.8) !important;
}

@media (max-width: 992px) {
  .tour-cta-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    padding: 2rem !important;
  }
  .specs-grid-portal {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .booking-cta-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
    padding: 2.5rem !important;
  }
  .booking-cta-title {
    font-size: 2.2rem !important;
  }
  .booking-cta-right {
    padding: 2rem !important;
  }
}

/* =========================================
   FLOW PROCESS SECTION
   ========================================= */

.flow-section {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.flow-section::before {
  content: '';
  position: absolute;
  top: 10%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 580px;
  margin: 0.8rem auto 0;
  text-align: center;
}

/* Vertical zigzag timeline */
.flow-timeline {
  position: relative;
  margin-top: 5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* The central spine line */
.flow-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(239, 68, 68, 0.4) 10%,
    rgba(59, 130, 246, 0.4) 50%,
    rgba(239, 68, 68, 0.4) 90%,
    transparent 100%
  );
}

.flow-step {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  position: relative;
  padding-right: calc(50% + 3rem);
  padding-bottom: 4rem;
}

.flow-step-right {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 3rem);
}

/* Step number bubble */
.flow-step-number {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  z-index: 2;
  box-shadow: 0 0 0 6px var(--bg-primary), 0 0 20px rgba(239, 68, 68, 0.25);
  transition: var(--transition-smooth);
}

.flow-step:hover .flow-step-number {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 6px var(--bg-primary), 0 0 30px rgba(239, 68, 68, 0.5);
}

/* Horizontal connector line from card to spine */
.flow-connector {
  position: absolute;
  top: 26px; /* vertically centre with bubble */
  right: calc(50% - 52px);
  width: calc(3rem + 52px - 26px);
  height: 2px;
  background: linear-gradient(to left, rgba(239, 68, 68, 0.5), transparent);
}

.flow-step-right .flow-connector {
  left: calc(50% - 52px);
  right: auto;
  background: linear-gradient(to right, rgba(239, 68, 68, 0.5), transparent);
}

/* Card itself */
.flow-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem 2.2rem;
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  transition: var(--transition-smooth);
  position: relative;
}

.flow-card:hover {
  transform: translateY(-4px);
  border-color: rgba(239, 68, 68, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(239, 68, 68, 0.15);
}

.flow-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 14px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: var(--transition-smooth);
}

.flow-card:hover .flow-icon {
  background: rgba(239, 68, 68, 0.15);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
}

.flow-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flow-card-body {
  flex: 1;
}

.flow-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  margin-bottom: 0.6rem;
}

.flow-card-body h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.flow-card-body p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* Last step – no connector bottom space */
.flow-step:last-child {
  padding-bottom: 0;
}

/* =========================================
   FAQ SECTION
   ========================================= */

.faq-section {
  padding: 8rem 0;
  background-color: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.faq-section::after {
  content: '';
  position: absolute;
  bottom: 5%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 3.5rem;
}

.faq-item {
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: rgba(239, 68, 68, 0.2);
}

.faq-item.is-open {
  border-color: rgba(239, 68, 68, 0.3);
  box-shadow: 0 8px 30px rgba(239, 68, 68, 0.08);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  text-align: left;
}

.faq-question span {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-primary);
  transition: color 0.25s ease;
}

.faq-item.is-open .faq-question span {
  color: var(--accent);
}

.faq-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.faq-item.is-open .faq-icon {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: var(--accent);
  transform: rotate(180deg);
}

.faq-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.25, 1, 0.5, 1), padding 0.3s ease;
  padding: 0 1.75rem;
}

.faq-answer.is-open {
  max-height: 400px;
  padding: 0 1.75rem 1.5rem;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

.faq-answer p strong {
  color: var(--text-primary);
  font-weight: 600;
}

.faq-cta {
  margin-top: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.faq-cta p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* =========================================
   SOCIAL MEDIA ICONS
   ========================================= */

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-bottom-social {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.footer-bottom-social .social-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-bottom-social .social-icon svg {
  width: 15px;
  height: 15px;
}

/* Facebook — blue */
.social-fb:hover {
  background: rgba(24, 119, 242, 0.12);
  border-color: rgba(24, 119, 242, 0.4);
  color: #1877f2;
  box-shadow: 0 0 16px rgba(24, 119, 242, 0.25);
  transform: translateY(-2px);
}

/* Instagram — pink/purple gradient glow */
.social-ig:hover {
  background: rgba(225, 48, 108, 0.1);
  border-color: rgba(225, 48, 108, 0.35);
  color: #e1306c;
  box-shadow: 0 0 16px rgba(225, 48, 108, 0.22);
  transform: translateY(-2px);
}

/* TikTok — cyan */
.social-tt:hover {
  background: rgba(0, 242, 234, 0.08);
  border-color: rgba(0, 242, 234, 0.3);
  color: #00f2ea;
  box-shadow: 0 0 16px rgba(0, 242, 234, 0.2);
  transform: translateY(-2px);
}

/* Footer bottom — 3-column layout: copyright | socials | credit */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  .footer-social {
    justify-content: flex-start;
  }
}

/* =========================================
   RESPONSIVE — Flow & FAQ
   ========================================= */

@media (max-width: 900px) {
  /* Collapse timeline to single column */
  .flow-timeline::before {
    left: 26px;
  }

  .flow-step,
  .flow-step-right {
    padding-right: 0;
    padding-left: 4.5rem;
    justify-content: flex-start;
  }

  .flow-step-number {
    left: 26px;
    transform: translateX(-50%);
  }

  .flow-connector,
  .flow-step-right .flow-connector {
    display: none;
  }

  .flow-card {
    max-width: 100%;
  }

  /* FAQ single column */
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .faq-cta {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  .flow-section,
  .faq-section {
    padding: 5rem 0;
  }

  .flow-card {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
  }

  .faq-question {
    padding: 1.2rem 1.2rem;
  }

  .faq-answer.is-open {
    padding: 0 1.2rem 1.2rem;
  }
}

/* --- BRANCH SECTION STYLES --- */
.branch-section {
  padding: 8rem 0;
  background-color: var(--bg-secondary);
  position: relative;
}

.branch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.branch-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem;
  border-radius: 20px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.branch-card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--accent-rgb), 0.3);
  box-shadow: 0 10px 30px rgba(var(--accent-rgb), 0.1);
}

.branch-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.branch-state {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
}

.branch-no {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
  border: 1px solid rgba(var(--accent-rgb), 0.2);
}

.branch-body {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.branch-info-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.branch-info-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.branch-info-item strong {
  color: var(--text-primary);
}

.branch-action {
  margin-top: auto;
}

.whatsapp-btn-branch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  width: 100%;
  padding: 0.8rem 1.5rem;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.whatsapp-btn-branch:hover {
  background-color: #128c7e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  color: #ffffff;
}

.whatsapp-btn-branch svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* --- EXTRA MOBILE RESPONSIVENESS OVERRIDES (360px Viewport Fixes) --- */
@media (max-width: 576px) {
  /* Fix the card padding to prevent horizontal overflow */
  .booking-cta-grid {
    padding: 1.5rem 1rem !important;
    gap: 2rem !important;
  }
  
  /* Fix the inner copywriting padding */
  .booking-cta-left {
    padding: 0 !important;
    gap: 1.2rem !important;
  }
  
  /* Reduce title size further to fit 360px viewport */
  .booking-cta-title {
    font-size: 1.7rem !important;
    line-height: 1.2 !important;
  }
  
  /* Reduce the right card padding and borders */
  .booking-cta-right {
    padding: 1.5rem 1rem !important;
    gap: 1.2rem !important;
  }
  
  /* Crucial: reduce button padding on mobile to prevent buttons from overflowing */
  .booking-cta-right .outline-btn,
  .booking-cta-right .gold-btn {
    padding: 0.8rem 1rem !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.05em !important;
  }

  /* Make sure the features stack is clean */
  .cta-features {
    gap: 0.8rem !important;
  }
  
  .cta-features span {
    font-size: 1.5rem !important;
  }
  
  .cta-features span[style*="font-size: 0.75rem"] {
    font-size: 0.7rem !important;
  }

  /* Calculator Page mobile fixes */
  .calc-inputs {
    padding: 1.5rem !important;
    gap: 1.5rem !important;
  }
  
  .calc-results-card {
    padding: 2rem 1.5rem !important;
    gap: 2rem !important;
  }
  
  .calc-label-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.3rem !important;
  }
  
  .monthly-val {
    font-size: 2.8rem !important;
  }
  
  .legend-item span:last-child {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
}
