/* ==========================================================================
   LAS ÁGATAS 175 — LUXURY REAL ESTATE DESIGN SYSTEM
   Bricks Consultores Inmobiliarios
   Target: Young Families (Early 40s with 2 school-age children)
   Colors: Deep Forest Emerald, Champagne Gold, Warm Alabaster Ivory
   ========================================================================== */

:root {
  /* Color Palette */
  --primary-dark: #0B1912;
  --primary-emerald: #12281D;
  --primary-emerald-light: #1A382A;
  --primary-surface: #1E3F30;
  
  --gold-accent: #C8A96E;
  --gold-light: #DEC28C;
  --gold-dark: #A6874E;
  --gold-gradient: linear-gradient(135deg, #DFCA9B 0%, #C8A96E 50%, #B08D4D 100%);
  --gold-gradient-subtle: linear-gradient(135deg, rgba(200, 169, 110, 0.15) 0%, rgba(200, 169, 110, 0.05) 100%);
  
  --bg-ivory: #FAF8F5;
  --bg-sand: #F2ECE1;
  --bg-sand-dark: #E5DDCE;
  --card-white: #FFFFFF;
  
  --text-dark: #1A2621;
  --text-body: #3E4B44;
  --text-muted: #6B7A72;
  --text-light: #FAF8F5;
  --text-light-muted: rgba(250, 248, 245, 0.75);
  
  --border-light: rgba(18, 40, 29, 0.1);
  --border-gold: rgba(200, 169, 110, 0.35);
  
  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Shadows & Elevation */
  --shadow-sm: 0 2px 8px rgba(11, 25, 18, 0.04);
  --shadow-md: 0 8px 24px rgba(11, 25, 18, 0.08);
  --shadow-lg: 0 16px 40px rgba(11, 25, 18, 0.12);
  --shadow-gold: 0 8px 30px rgba(200, 169, 110, 0.25);
  --shadow-card: 0 10px 30px -5px rgba(18, 40, 29, 0.06), 0 0 0 1px rgba(18, 40, 29, 0.04);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

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

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

body {
  background-color: var(--bg-ivory);
  color: var(--text-body);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(11, 25, 18, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200, 169, 110, 0.2);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  padding: 0.65rem 0;
  background: rgba(11, 25, 18, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  text-decoration: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.brand-logo-link:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.brand-logo-img {
  height: 40px;
  width: auto;
  aspect-ratio: 1/1;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 10px rgba(200, 169, 110, 0.25));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.brand-logo-link:hover .brand-logo-img {
  transform: scale(1.08) rotate(1.5deg);
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 16px rgba(223, 202, 155, 0.45));
}

.brand-text-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  line-height: 1.05;
}

.brand-title span {
  color: var(--gold-accent);
}

.brand-subtitle {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  white-space: nowrap;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light-muted);
  letter-spacing: 0.02em;
  position: relative;
  padding: 0.3rem 0;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-light);
}

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

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

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

/* Language Toggle Button */
.lang-switcher {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(200, 169, 110, 0.3);
  border-radius: var(--radius-full);
  padding: 3px;
  position: relative;
}

.lang-btn {
  padding: 0.3rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-light-muted);
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}

.lang-btn.active {
  background: var(--gold-gradient);
  color: var(--primary-dark);
  box-shadow: 0 2px 8px rgba(200, 169, 110, 0.4);
}

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  background: var(--gold-gradient);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-gold);
  transition: var(--transition-normal);
  white-space: nowrap;
}

.btn-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(200, 169, 110, 0.4);
  background: #FFF;
  color: var(--primary-emerald);
}

/* Mobile Toggle */
.mobile-toggle-btn {
  display: none;
  color: var(--gold-accent);
  font-size: 1.5rem;
  padding: 0.5rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8.5rem 0 5rem;
  background-color: var(--primary-dark);
  overflow: hidden;
}

.hero-bg-slider {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('images/terrace-lounge.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: heroKenBurns 20s infinite alternate ease-in-out;
}

@keyframes heroKenBurns {
  from { transform: scale(1.0); }
  to { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(11, 25, 18, 0.50) 0%,
    rgba(11, 25, 18, 0.22) 40%,
    rgba(11, 25, 18, 0.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 840px;
  color: var(--text-light);
}

.hero-badge-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  background: rgba(11, 25, 18, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(200, 169, 110, 0.5);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
}

.hero-badge-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  background: rgba(11, 25, 18, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: var(--radius-full);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: #FFFFFF;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.85), 0 2px 6px rgba(0, 0, 0, 0.75);
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
  font-weight: 400;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.85);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
  line-height: 1.75;
  margin-bottom: 2.2rem;
  max-width: 700px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
}

.hero-specs-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-bottom: 2.5rem;
  padding: 1.1rem 1.6rem;
  background: rgba(11, 25, 18, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(200, 169, 110, 0.35);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45);
}

.spec-pill {
  display: flex;
  flex-direction: column;
}

.spec-pill-value {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-accent);
  line-height: 1;
}

.spec-pill-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.04em;
  margin-top: 0.25rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 2.2rem;
  background: var(--gold-gradient);
  color: var(--primary-dark);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-gold);
  transition: var(--transition-normal);
}

.btn-primary-hero:hover {
  transform: translateY(-3px);
  background: #FFF;
  color: var(--primary-emerald);
  box-shadow: 0 15px 35px rgba(200, 169, 110, 0.45);
}

.btn-secondary-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.05rem 1.8rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
  transition: var(--transition-normal);
}

.btn-secondary-hero:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--gold-accent);
  color: var(--gold-light);
}

/* ==========================================================================
   METRICS BAR (STAT RIBBON)
   ========================================================================== */
.metrics-ribbon {
  background: var(--primary-emerald);
  border-top: 1px solid rgba(200, 169, 110, 0.2);
  border-bottom: 1px solid rgba(200, 169, 110, 0.2);
  padding: 2.2rem 0;
  position: relative;
  z-index: 10;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1.5rem;
}

.metric-card {
  text-align: center;
  position: relative;
  padding: 0 0.5rem;
}

.metric-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.metric-icon {
  color: var(--gold-accent);
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.metric-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.1;
}

.metric-num span {
  font-size: 1.1rem;
  color: var(--gold-accent);
}

.metric-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
}

/* ==========================================================================
   SHARED SECTION STYLING
   ========================================================================== */
.section {
  padding: 6.5rem 0;
  position: relative;
}

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

.section-dark {
  background-color: var(--primary-dark);
  color: var(--text-light);
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header.text-center {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 0.85rem;
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--gold-accent);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 600;
  line-height: 1.22;
  color: var(--text-dark);
  margin-bottom: 1.2rem;
}

.section-dark .section-title {
  color: var(--text-light);
}

.section-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.section-dark .section-description {
  color: var(--text-light-muted);
}

/* ==========================================================================
   WHY THIS APARTMENT / FAMILY PILLARS SECTION
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.pillar-card {
  background: var(--card-white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--gold-gradient);
  transition: height var(--transition-normal);
}

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

.pillar-card:hover::before {
  height: 100%;
}

.pillar-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(200, 169, 110, 0.12);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.pillar-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--primary-emerald);
  margin-bottom: 0.9rem;
}

.pillar-text {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.pillar-highlights {
  list-style: none;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
}

.pillar-highlights li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary-emerald);
}

.pillar-highlights li i {
  color: var(--gold-accent);
  font-size: 0.85rem;
}

/* ==========================================================================
   FEATURE STORY SPLIT SECTIONS (IMMERSIVE LIFESTYLE)
   ========================================================================== */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
  margin-bottom: 5.5rem;
}

.feature-split:last-child {
  margin-bottom: 0;
}

.feature-split.reversed .feature-visual {
  order: 1;
}

.feature-split.reversed .feature-text {
  order: 2;
}

.feature-visual {
  position: relative;
}

.feature-image-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.feature-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.feature-split:hover .feature-img {
  transform: scale(1.03);
}

.feature-tag-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(11, 25, 18, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(200, 169, 110, 0.4);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  color: var(--text-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-tag-badge i {
  color: var(--gold-accent);
}

.feature-quote-card {
  background: var(--primary-emerald);
  color: var(--text-light);
  padding: 2.2rem;
  border-radius: var(--radius-md);
  margin-top: 2rem;
  position: relative;
  border-left: 4px solid var(--gold-accent);
}

.feature-quote-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(250, 248, 245, 0.95);
  margin-bottom: 0.75rem;
}

.feature-quote-author {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* ==========================================================================
   CONDOMINIUM & AMENITIES
   ========================================================================== */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.amenity-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  transition: var(--transition-normal);
}

.amenity-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold-accent);
  transform: translateY(-4px);
}

.amenity-icon {
  font-size: 2rem;
  color: var(--gold-accent);
  margin-bottom: 1.25rem;
}

.amenity-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.6rem;
}

.amenity-desc {
  font-size: 0.9rem;
  color: var(--text-light-muted);
  line-height: 1.65;
}

/* ==========================================================================
   INTERACTIVE GALLERY WITH FILTER TABS
   ========================================================================== */
.gallery-section {
  background: var(--bg-ivory);
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 3rem;
}

.gallery-filter-btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  background: var(--card-white);
  border: 1px solid var(--border-light);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-body);
  transition: var(--transition-fast);
}

.gallery-filter-btn:hover {
  border-color: var(--gold-accent);
  color: var(--primary-emerald);
}

.gallery-filter-btn.active {
  background: var(--primary-emerald);
  border-color: var(--primary-emerald);
  color: var(--gold-light);
  box-shadow: var(--shadow-sm);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 270px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.gallery-item.hide {
  display: none;
}

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

.gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11, 25, 18, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0.9;
  transition: var(--transition-normal);
}

.gallery-caption-title {
  color: var(--text-light);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
}

.gallery-caption-category {
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.gallery-zoom-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(11, 25, 18, 0.6);
  backdrop-filter: blur(4px);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  opacity: 0;
  transform: scale(0.8);
  transition: var(--transition-fast);
}

.gallery-item:hover .gallery-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

/* ==========================================================================
   SCHOOLS & LOCATION RADIUS EXPLORER
   ========================================================================== */
.location-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.location-copy h3 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--primary-emerald);
  margin-bottom: 1rem;
}

.location-copy p {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.schools-card-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.school-item-card {
  background: var(--card-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.school-item-card:hover {
  border-color: var(--gold-accent);
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.school-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.school-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(200, 169, 110, 0.12);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.school-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-emerald);
}

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

.school-time-badge {
  text-align: right;
}

.school-time-val {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1;
}

.school-time-dist {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-top: 2px;
}

/* ==========================================================================
   FLOOR PLAN & SPACES BREAKDOWN
   ========================================================================== */
.spaces-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.space-tab-btn {
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-sm);
  background: var(--card-white);
  border: 1px solid var(--border-light);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-body);
  transition: var(--transition-fast);
}

.space-tab-btn.active {
  background: var(--primary-emerald);
  color: var(--gold-light);
  border-color: var(--primary-emerald);
}

.spaces-content-container {
  background: var(--card-white);
  border-radius: var(--radius-md);
  padding: 3rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
}

.space-pane {
  display: none;
}

.space-pane.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  animation: fadeIn 0.4s ease;
}

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

.space-pane-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.space-detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.space-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.space-detail-item i {
  color: var(--gold-accent);
  font-size: 1.1rem;
  margin-top: 0.2rem;
}

.space-detail-title {
  font-weight: 600;
  color: var(--primary-emerald);
  font-size: 0.95rem;
}

.space-detail-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FINISHES GRID
   ========================================================================== */
.finishes-table-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.finish-card {
  background: var(--card-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.finish-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-accent);
}

.finish-badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background: rgba(200, 169, 110, 0.12);
  color: var(--gold-dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  margin-bottom: 0.85rem;
}

.finish-card h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--primary-emerald);
  margin-bottom: 0.45rem;
}

.finish-card p {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ==========================================================================
   INVESTMENT & MORTGAGE ESTIMATOR
   ========================================================================== */
.pricing-hero-card {
  background: var(--primary-emerald);
  color: var(--text-light);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  border: 1px solid rgba(200, 169, 110, 0.35);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.price-display-block {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  padding-right: 2.5rem;
}

.price-label-tag {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.6rem;
}

.price-main-amount {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 700;
  color: var(--text-light);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.price-sqm-rate {
  font-size: 1rem;
  color: var(--gold-accent);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.price-inclusions-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.price-inclusions-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-light-muted);
}

.price-inclusions-list li i {
  color: var(--gold-accent);
}

/* Mortgage Estimator Form */
.calculator-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.calc-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.calc-input-group {
  margin-bottom: 1.2rem;
}

.calc-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-light-muted);
  margin-bottom: 0.4rem;
}

.calc-range-slider {
  width: 100%;
  accent-color: var(--gold-accent);
}

.calc-result-box {
  background: rgba(11, 25, 18, 0.6);
  border: 1px solid rgba(200, 169, 110, 0.3);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
  margin-top: 1.5rem;
}

.calc-monthly-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-light);
}

.calc-monthly-val {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-light);
  margin: 0.2rem 0;
}

.calc-disclaimer {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ==========================================================================
   CONTACT & SCHEDULE TOUR FORM
   ========================================================================== */
.contact-section-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.contact-card-box {
  background: var(--card-white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

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

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-emerald);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--bg-ivory);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-accent);
  background: #FFF;
  box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.15);
}

.btn-submit-tour {
  width: 100%;
  padding: 1.1rem;
  background: var(--gold-gradient);
  color: var(--primary-dark);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-gold);
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.btn-submit-tour:hover {
  background: var(--primary-emerald);
  color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.direct-wa-button-card {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: #25D366;
  color: #FFF;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.direct-wa-button-card:hover {
  background: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

/* Agent Information Card */
.agent-profile-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--bg-sand);
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
}

.agent-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 2px solid var(--gold-accent);
  object-fit: cover;
}

.agent-info h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--primary-emerald);
}

.agent-role {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.agent-cred {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8, 18, 13, 0.96);
  backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-modal.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.lightbox-wrapper {
  position: relative;
  max-width: 1100px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img-element {
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  object-fit: contain;
}

.lightbox-caption-bar {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: var(--text-light);
}

.lightbox-caption-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold-light);
}

.lightbox-counter {
  font-size: 0.8rem;
  color: var(--text-light-muted);
}

.lightbox-btn-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--text-light);
  font-size: 2rem;
  line-height: 1;
  padding: 0.5rem;
  transition: var(--transition-fast);
}

.lightbox-btn-close:hover {
  color: var(--gold-accent);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

.lightbox-nav-btn:hover {
  background: var(--gold-gradient);
  color: var(--primary-dark);
}

.lightbox-prev {
  left: -70px;
}

.lightbox-next {
  right: -70px;
}

/* ==========================================================================
   FLOATING QUICK ACTIONS / CONCIERGE WIDGET
   ========================================================================== */
.floating-concierge-wrap {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 990;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.floating-wa-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.35rem;
  background: #25D366;
  color: #FFF;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: var(--transition-normal);
}

.floating-wa-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
  background: #20BA5A;
}

.floating-giuliana-btn,
.floating-zoe-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.15rem;
  background: rgba(11, 25, 18, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(200, 169, 110, 0.4);
  color: var(--gold-light);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.floating-giuliana-btn:hover,
.floating-zoe-btn:hover {
  background: var(--primary-emerald);
  color: #FFF;
  border-color: var(--gold-accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(200, 169, 110, 0.35);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--primary-dark);
  color: var(--text-light);
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(200, 169, 110, 0.2);
}

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

.footer-brand-text {
  font-size: 0.85rem;
  color: var(--text-light-muted);
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-heading {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold-accent);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-light-muted);
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .feature-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .feature-split.reversed .feature-visual {
    order: unset;
  }
  .feature-split.reversed .feature-text {
    order: unset;
  }
  .location-overview-grid {
    grid-template-columns: 1fr;
  }
  .pricing-hero-card {
    grid-template-columns: 1fr;
  }
  .price-display-block {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-right: 0;
    padding-bottom: 2rem;
  }
  .contact-section-grid {
    grid-template-columns: 1fr;
  }
  .amenities-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
  }
  .space-pane.active {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .mobile-toggle-btn {
    display: block;
  }
  .amenities-grid {
    grid-template-columns: 1fr;
  }
  .footer-main-grid {
    grid-template-columns: 1fr;
  }
  .lightbox-prev {
    left: 10px;
  }
  .lightbox-next {
    right: 10px;
  }
  .floating-concierge-wrap {
    bottom: 1rem;
    right: 1rem;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metric-card:not(:last-child)::after {
    display: none;
  }
}

/* ==========================================================================
   VIDEO TOUR & REEL SHOWCASE STYLES
   ========================================================================== */
.video-section {
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(30, 63, 48, 0.45) 0%, var(--primary-dark) 70%);
  border-top: 1px solid rgba(200, 169, 110, 0.15);
  border-bottom: 1px solid rgba(200, 169, 110, 0.15);
  overflow: hidden;
}

.video-section::before {
  content: '';
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(200, 169, 110, 0.12) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.video-showcase-card {
  max-width: 1040px;
  margin: 0 auto;
  background: rgba(18, 40, 29, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(200, 169, 110, 0.3);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.6), 0 0 40px rgba(200, 169, 110, 0.08);
  overflow: hidden;
  transition: border-color var(--transition-normal);
}

.video-showcase-card:hover {
  border-color: rgba(200, 169, 110, 0.5);
}

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

.property-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

/* Custom Play Overlay */
.video-play-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 25, 18, 0.25) 0%, rgba(11, 25, 18, 0.7) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  z-index: 10;
  cursor: pointer;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.video-play-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.video-overlay-play-btn {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  padding-left: 5px;
  box-shadow: 0 0 0 10px rgba(200, 169, 110, 0.25), 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  animation: pulsePlayGlow 3s infinite ease-in-out;
}

@keyframes pulsePlayGlow {
  0%, 100% {
    box-shadow: 0 0 0 8px rgba(200, 169, 110, 0.25), 0 10px 30px rgba(0, 0, 0, 0.5);
  }
  50% {
    box-shadow: 0 0 0 18px rgba(200, 169, 110, 0.4), 0 15px 40px rgba(200, 169, 110, 0.3);
  }
}

.video-play-overlay:hover .video-overlay-play-btn {
  transform: scale(1.1);
  background: #FFFFFF;
  color: var(--primary-emerald);
}

.video-overlay-caption {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.video-overlay-pill {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(11, 25, 18, 0.8);
  border: 1px solid rgba(200, 169, 110, 0.5);
  border-radius: var(--radius-full);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.video-overlay-prompt {
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* Video Highlight Feature Bar */
.video-features-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.5rem 2rem;
  background: rgba(11, 25, 18, 0.65);
  border-top: 1px solid rgba(200, 169, 110, 0.15);
  border-bottom: 1px solid rgba(200, 169, 110, 0.15);
}

.video-feature-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.video-feature-item i {
  font-size: 1.4rem;
  color: var(--gold-accent);
  background: rgba(200, 169, 110, 0.12);
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.video-feature-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
  line-height: 1.2;
}

.video-feature-item span {
  display: block;
  font-size: 0.76rem;
  color: var(--text-light-muted);
  margin-top: 2px;
}

/* Video Section CTA Footer */
.video-cta-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.75rem 2.25rem;
  background: rgba(18, 40, 29, 0.5);
}

.video-cta-text h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 0.35rem;
}

.video-cta-text p {
  font-size: 0.88rem;
  color: var(--text-light-muted);
  line-height: 1.5;
}

.video-cta-footer .btn-primary-hero {
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .video-features-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .video-cta-footer {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .video-features-bar {
    grid-template-columns: 1fr;
  }
  .video-overlay-play-btn {
    width: 64px;
    height: 64px;
    font-size: 1.5rem;
  }
}

