.hf-container {
  width: min(1200px, 94%);
  margin: 0 auto;
}

body {
  margin: 0;
  overflow-x: hidden;
}

.site-header,
.site-footer {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  z-index: 2000;
}

.site-header a,
.site-footer a {
  text-decoration: none;
}

.top-bar {
  background: transparent;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.top-bar-inner {
  min-height: 44px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.top-bar-inner .top-link:first-child {
  justify-self: start;
}

.top-bar-inner .top-link:nth-child(2) {
  justify-self: center;
}

.top-bar-inner .top-text {
  justify-self: end;
}

.top-link,
.top-text {
  display: inline-flex;
  align-items: center;
  color: inherit;
  white-space: nowrap;
}

.whatsapp-link {
  gap: 6px;
}

.whatsapp-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.main-nav {
  position: relative;
  background: transparent;
}

.nav-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  color: #000000;
  font-size: 34px;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.3px;
  margin-right: auto;
}

.brand img {
  display: block;
  width: 90px;
  height: auto;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #000000;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.primary-nav a {
  color: #000000;
  font-size: 16px;
  font-weight: 600;
}

.primary-nav-cta {
  display: none;
}

.quote-btn {
  margin-left: 6px;
  background: #2a78c4;
  color: #ffffff;
  border-radius: 5px;
  font-weight: 700;
  font-size: 16px;
  padding: 12px 20px;
  white-space: nowrap;
}

body.nav-open {
  overflow: hidden;
}

.site-header.nav-open .nav-toggle span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.site-header.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.contact-modal-open {
  overflow: hidden;
}

.contact-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center; /* Center vertically if fits */
  justify-content: center;
  padding: 40px 24px;
  overflow-y: auto; /* Allow the whole modal to scroll */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 3000;
}

.contact-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.contact-modal__backdrop {
  position: fixed; /* Fixed so it covers the whole screen even when modal scrolls */
  inset: 0;
  background: rgba(10, 22, 36, 0.72);
  backdrop-filter: blur(4px);
}

.contact-modal__dialog {
  position: relative;
  width: min(100%, 760px);
  margin: auto; /* Helps with centering in the scrollable flex container */
  border-radius: 18px;
  background: linear-gradient(135deg, #f7fbff 0%, #e6eef7 100%);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
}

.contact-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(33, 77, 128, 0.12);
  color: #133454;
  font-size: 24px;
  cursor: pointer;
}

.contact-modal__content {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.contact-modal__intro {
  padding: 30px;
  background:
    linear-gradient(160deg, rgba(33, 77, 128, 0.92), rgba(42, 120, 196, 0.86)),
    url("../images/g6.jpg") center/cover;
  color: #ffffff;
}

.contact-modal__eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.contact-modal__intro h2 {
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.05;
}

.contact-modal__intro p:last-child {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.contact-modal__form {
  display: grid;
  gap: 8px;
  padding: 30px;
}

.contact-modal__form label {
  color: #183a60;
  font-size: 13px;
  font-weight: 700;
}

.contact-modal__form input,
.contact-modal__form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #c8d7e8;
  border-radius: 10px;
  background: #ffffff;
  color: #16314d;
  font: inherit;
  padding: 11px 13px;
}

.contact-modal__form textarea {
  min-height: 90px;
  resize: vertical;
}

.contact-modal__form input:focus,
.contact-modal__form textarea:focus {
  outline: 2px solid rgba(42, 120, 196, 0.28);
  border-color: #2a78c4;
}

.contact-modal__form button {
  margin-top: 4px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #214d80, #2a78c4);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 18px;
  cursor: pointer;
}

.site-footer {
  background: var(--primary);
  color: var(--white);
  padding: 80px 0 40px;
  font-family: 'Inter', sans-serif;
}

.footer-top {
  padding: 0 0 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: left;
}

.footer-col h3 {
  color: var(--accent);
  margin-bottom: 25px;
  font-size: 1.25rem;
  font-family: 'Outfit', sans-serif;
}

.footer-col p {
  opacity: 0.8;
  font-size: 0.95rem;
  margin-bottom: 10px;
  line-height: 1.7;
}

.footer-col a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

.footer-bottom {
  background: rgba(0,0,0,0.3);
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  font-size: 0.85rem;
  opacity: 0.6;
}

.footer-bottom nav {
  display: flex;
  gap: 25px;
}

.footer-bottom nav a {
  color: var(--white);
  font-size: 0.85rem;
  opacity: 0.7;
  transition: var(--transition-smooth);
}

.footer-bottom nav a:hover {
  opacity: 1;
  color: var(--accent);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 1100px) {
  .top-bar-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 8px 0;
  }

  .top-bar-inner .top-link:first-child,
  .top-bar-inner .top-link:nth-child(2),
  .top-bar-inner .top-text {
    justify-self: center;
  }

  .brand {
    margin: 0;
    font-size: 30px;
  }

  .primary-nav a,
  .quote-btn {
    font-size: 15px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    text-align: left;
  }

  .footer-col h3 {
    font-size: 17px;
  }

  .footer-col p,
  .footer-bottom p,
  .footer-bottom nav a {
    font-size: 14px;
  }

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

  .contact-modal__intro,
  .contact-modal__form {
    padding: 20px;
  }
  .contact-modal__form {
    gap: 4px;
  }
}

@media (max-width: 980px) {
  .site-header {
    position: sticky;
    top: 0;
    background: #0a182c; /* Original Navy Background */
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
    z-index: 2000;
  }

  .site-header.scrolled {
    background: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  }

  .top-bar {
    display: none !important;
  }

  .nav-inner {
    min-height: 70px;
    padding: 0 5.5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .brand {
    margin: 0;
  }

  .brand img {
    display: block;
    width: 120px;
    height: auto;
    transition: filter 0.3s;
  }

  /* White Logo on Top (Navy Background) */
  .site-header:not(.scrolled) .brand img {
    filter: brightness(0) invert(1);
  }

  .quote-btn {
    display: none;
  }

  .nav-toggle {
    display: flex;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    width: 44px;
    height: 44px;
    border-radius: 10px;
    transition: all 0.3s;
  }

  .site-header.scrolled .nav-toggle {
    border-color: rgba(0,0,0,0.1);
    background: rgba(0,0,0,0.03);
  }

  .nav-toggle span {
    background: #fff; /* White bars on Navy */
  }

  .site-header.scrolled .nav-toggle span {
    background: #0a182c; /* Navy bars on White */
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 20px 5%;
    background: #0a182c; /* Match Navy Header */
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 40px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1100;
  }

  .site-header.nav-open .primary-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav a {
    display: block;
    padding: 12px 0;
    font-size: 1.1rem;
    color: #ffffff; /* White text on Navy */
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: color 0.2s;
  }

  .primary-nav a:hover,
  .primary-nav a:active {
    color: #c79f36; /* Gold accent on active/hover */
  }

  .primary-nav a:last-child {
    border-bottom: 0;
  }

  .primary-nav-cta {
    display: inline-flex;
    margin-top: 15px;
    background: #c79f36;
    color: #fff !important;
    padding: 15px;
    border-radius: 12px;
    font-weight: 700;
  }
}

@media (max-width: 480px) {
  .brand img {
    width: 85px;
  }
  .nav-inner {
    min-height: 60px;
  }
}

@media (max-width: 680px) {
  .top-bar {
    font-size: 13px;
  }

  .top-link,
  .top-text {
    white-space: normal;
    justify-content: center;
    text-align: center;
  }

  .brand img {
    width: 74px;
  }

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

  .footer-top {
    padding: 34px 0;
  }

  .footer-bottom-inner {
    min-height: auto;
    flex-direction: column;
    align-items: center;
    padding: 12px 0;
    text-align: center;
  }

  .footer-bottom nav {
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
  }

  .contact-modal {
    padding: 14px;
  }

  .contact-modal__intro,
  .contact-modal__form {
    padding: 18px;
  }

  .contact-modal__intro h2 {
    font-size: 24px;
  }

  .contact-modal__close {
    top: 15px;
    right: 15px;
    width: 44px;
    height: 44px;
    font-size: 28px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 100;
  }
}



:root {
  /* Color Palette - Luxury Refined */
  --primary: #0a0a0a;
  --primary-light: #151515;
  --accent: #d4af37;
  --accent-gradient: linear-gradient(135deg, #d4af37 0%, #f1d592 50%, #b8962e 100%);
  --accent-hover: #b8962e;
  --bg-light: #f4f4f4;
  --text-main: #2a2a2a;
  --text-muted: #555555;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.15);

  /* Spacing */
  --section-padding: 120px 0;
  --container-width: 1300px;

  /* Shadows */
  --shadow-premium: 0 30px 60px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --transition-smooth: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--primary);
}

.hf-container {
  width: min(var(--container-width), 94%);
  margin: 0 auto;
}

/* --- Header Redesign --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  transition: var(--transition-smooth);
  background: transparent;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  padding: 5px 0;
}

.site-header:not(.scrolled) {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.site-header.scrolled .nav-inner {
  min-height: 70px;
}

.site-header.scrolled .primary-nav a {
  color: var(--primary);
}

.site-header.scrolled .top-bar {
  display: none;
  /* Hide top bar on scroll for cleaner look */
}

.top-bar {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition-smooth);
}

.top-link,
.top-text {
  color: var(--white);
}

.site-header.scrolled .top-link,
.site-header.scrolled .top-text,
.site-header.scrolled .brand {
  color: var(--primary);
}

@media (min-width: 981px) {
  .site-header:not(.scrolled) .brand img {
    filter: brightness(0) invert(1);
    /* Make logo white when transparent header on desktop */
  }
}

/* --- Navigation --- */
.main-nav {
  transition: var(--transition-smooth);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;
  transition: var(--transition-smooth);
}

@media (min-width: 981px) {
  .primary-nav {
    display: flex;
    gap: 30px;
    align-items: center;
  }

  .primary-nav a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition-smooth);
    position: relative;
  }

  .primary-nav a:hover {
    color: var(--accent);
  }

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

  .primary-nav a:hover::after {
    width: 100%;
  }
}

.quote-btn {
  background: var(--accent-gradient);
  color: #000;
  /* Dark text on gold for premium look */
  padding: 14px 35px;
  border-radius: 4px;
  /* Sophisticated sharp/soft mix */
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 13px;
}

.quote-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

/* --- Hero Section Refined --- */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 750px;
  background: url('https://static.wixstatic.com/media/14e0cd_c7abe53afe6b485d8694a8b5a91af608~mv2.jpg/v1/fill/w_1901,h_845,al_c,q_90,enc_avif,quality_auto/14e0cd_c7abe53afe6b485d8694a8b5a91af608~mv2.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1000px;
  padding: 0 40px;
}

.hero-content h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  color: var(--white);
  line-height: 0.9;
  margin-bottom: 30px;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: -2px;
}

.hero-content p {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin-bottom: 35px;
  opacity: 0.9;
  animation: fadeInUp 1.2s ease-out;
}

/* --- Section Styling --- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.animate-in {
  opacity: 1;
  transform: translateY(0);
}

section {
  padding: var(--section-padding);
}

h1.hero-title,
h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent);
}

/* --- Iconic Section Elevated --- */
.iconic-section {
  padding: var(--section-padding);
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.iconic-section::before {
  content: 'MARBELLA';
  position: absolute;
  top: 50%;
  left: 5%;
  font-size: 10vw;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  color: #000;
  opacity: 0.03;
  transform: translateY(-50%);
  z-index: 0;
  pointer-events: none;
  letter-spacing: 2vw;
}

.iconic-container {
  position: relative;
  z-index: 1;
}

.iconic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 100px;
  align-items: center;
}

.iconic-image {
  position: relative;
}

.iconic-image::after {
  content: '';
  position: absolute;
  inset: 15px -15px -15px 15px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  z-index: -1;
}

.iconic-image img {
  width: 100%;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: var(--shadow-premium);
}

.iconic-content h2 {
  text-align: left;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 30px;
  font-weight: 600;
}

.iconic-content h2::after {
  display: none;
  /* Remove the inherited underline */
}

.iconic-content .eyebrow {
  display: flex;
  align-items: center;
  gap: 15px;
  font-family: 'Crimson Pro', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 20px;
}

.iconic-content .eyebrow::after {
  content: '';
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: var(--accent);
}

.iconic-content .lead {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 30px;
  line-height: 1.3;
}

.story-text p {
  margin-bottom: 20px;
  color: var(--text-muted);
  line-height: 2;
  font-size: 16px;
}

.btn-outline {
  display: inline-block;
  margin-top: 40px;
  padding: 16px 45px;
  border: 1px solid var(--primary);
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  transition: var(--transition-smooth);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

@media (max-width: 980px) {
  .iconic-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* --- Amenities Grid Refined --- */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.amenity-card {
  background: var(--white);
  border: 1px solid #eeeeee;
  border-radius: 4px;
  overflow: hidden;
  transition: var(--transition-smooth);
  text-align: left;
  padding: 0;
}

.amenity-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-premium);
  border-color: var(--accent);
}

.amenity-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.amenity-card h3 {
  padding: 25px 30px;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.amenity-card h3::after {
  content: '→';
  color: var(--accent);
  opacity: 0;
  transform: translateX(-10px);
  transition: var(--transition-smooth);
}

.amenity-card:hover h3::after {
  opacity: 1;
  transform: translateX(0);
}

/* --- Minimalist Gallery Grid --- */
.gallery-minimal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.gallery-minimal-item {
  position: relative;
  background: #f8fafc;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(0,0,0,0.03);
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.gallery-minimal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-minimal-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: rgba(199, 159, 54, 0.3);
}

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

@media (max-width: 1024px) {
  .gallery-minimal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 640px) {
  .gallery-minimal-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .gallery-minimal-item {
    border-radius: 12px;
  }
}
/* --- Location Connectivity Hub --- */
.location-hub-section {
  padding: 100px 0;
  background: #fdfdfd;
}

.location-hub-container {
  width: min(1300px, 94%);
  margin: 0 auto;
}

.location-grid-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

.location-content-side h1,
.location-content-side h2 {
  font-family: 'Crimson Pro', serif;
  font-size: 3rem;
  color: var(--primary);
  margin: 15px 0 25px;
  line-height: 1.1;
}

.location-main-desc {
  font-size: 1.15rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 20px;
}

.location-secondary-desc {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 40px;
}

.location-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.location-stat-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
  transition: all 0.4s ease;
}

.location-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  border-color: rgba(199, 159, 54, 0.2);
}

.stat-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 12px;
  color: var(--accent);
}

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

.stat-info h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.stat-info p {
  font-size: 0.9rem;
  color: #666;
  margin: 2px 0 0;
}

/* Map Styling */
.location-map-side {
  position: sticky;
  top: 100px;
}

.map-frame {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  border: 1px solid rgba(0,0,0,0.05);
}

.map-frame iframe {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}

.map-overlay-card {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  border: 1px solid rgba(255,255,255,0.4);
}

.map-overlay-card h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  color: var(--primary);
  margin: 0 0 10px;
}

.map-overlay-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
  margin: 0 0 20px;
}

.direction-btn {
  display: inline-block;
  padding: 12px 25px;
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.direction-btn:hover {
  background: var(--accent);
  transform: scale(1.05);
}

@media (max-width: 1100px) {
  .location-grid-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .location-map-side {
    position: static;
  }
  
  .map-frame iframe {
    height: 450px;
  }
}

@media (max-width: 640px) {
  .location-hub-section {
    padding: 60px 0;
  }
  
  .location-content-side h1,
  .location-content-side h2 {
    font-size: 2.2rem;
  }
  
  .location-stats-grid {
    grid-template-columns: 1fr;
  }
  
  .map-overlay-card {
    position: static;
    margin: 20px;
    background: #fff;
  }
}
.floorplan-showcase {
  padding: 100px 0;
  background: var(--white);
}

.section-header-centered h1,
.section-header-centered p {
  width: min(var(--container-width), 94%);
  margin: 0 auto 30px auto;
  text-align: center;
}

.floorplan-image-box {
  width: 100%;
  margin-bottom: 0px; 
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  position: relative;
  overflow: hidden;
  cursor: crosshair;
}

.floorplan-image-box img {
  width: 100%;
  height: auto;
  border-radius: 0;
  display: block;
  transition: opacity 0.3s ease;
}

/* Glassmorphism Magnifier */
.magnifier-glass {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 4px solid var(--white);
  border-radius: 50%;
  pointer-events: none; /* Let clicks pass through to container */
  visibility: hidden;
  opacity: 0;
  z-index: 100;
  box-shadow: 0 15px 50px rgba(0,0,0,0.3);
  background-repeat: no-repeat;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  background-color: #f0f0f0;
}

.floorplan-image-box:hover .magnifier-glass {
  visibility: visible;
  opacity: 1;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(100px) scale(1.1);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* --- Premium Minimalist Contact --- */
.contact-premium-section {
  padding: 120px 0;
  background: #fbf9f5; /* Warmer luxury background */
}

.contact-premium-container {
  width: min(1200px, 94%);
  margin: 0 auto;
}

.contact-premium-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.35fr;
  gap: 80px;
  align-items: start;
}
.contact-premium-info .section-tag {
  background: transparent;
  padding: 0;
  border-left: 3px solid var(--accent);
  padding-left: 15px;
  border-radius: 0;
  letter-spacing: 3px;
  font-size: 0.9rem;
}
  font-family: 'Crimson Pro', serif;
  font-size: 3.2rem;
  font-weight: 600;
  color: var(--primary);
  margin: 15px 0 25px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.contact-intro {
  font-size: 1.05rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 50px;
}

.contact-methods {
  display: grid;
  gap: 30px;
}

.contact-method-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 30px; /* Reduced vertical padding */
  background: var(--white);
  border-radius: 24px;
  border: 1px solid rgba(199, 159, 54, 0.1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  transition: all 0.4s ease;
}

.contact-method-card:hover {
  transform: translateX(10px);
  border-color: rgba(199, 159, 54, 0.2);
}

.method-icon {
  width: 54px;
  height: 54px;
  background: #f8f9fa;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.method-icon svg {
  width: 26px;
  height: 26px;
}

.method-text h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  margin: 0;
  color: var(--primary);
}

.method-text p, .method-text a {
  font-size: 0.95rem;
  color: #666;
  margin: 4px 0 0;
  text-decoration: none;
}

/* Form Styling */
.contact-premium-form-wrap {
  background: var(--white);
  padding: 50px;
  border-radius: 40px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.06);
  border: 1px solid rgba(199, 159, 54, 0.08);
}

.contact-minimal-form {
  display: grid;
  gap: 25px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input, .form-group textarea {
  padding: 16px 20px;
  background: var(--white); /* White inputs for better pop */
  border: 1px solid #e2e8f0; /* Soft visible border */
  border-radius: 12px;
  font-size: 1rem;
  color: #333;
  width: 100%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

.form-group input:hover {
  border-color: #cbd5e1;
}

.form-group input:focus, .form-group textarea:focus {
  background: var(--white);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(199, 159, 54, 0.12);
  outline: none;
}

.contact-submit-btn {
  padding: 20px 40px;
  background: linear-gradient(135deg, var(--primary) 0%, #0a254a 100%);
  color: var(--white);
  border: none;
  border-radius: 16px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 10px;
  box-shadow: 0 10px 30px rgba(18, 71, 138, 0.2);
}

.contact-submit-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.contact-submit-btn:hover {
  background: var(--accent);
  box-shadow: 0 15px 30px rgba(199, 159, 54, 0.3);
}

.contact-submit-btn:hover svg {
  transform: translate(5px, -5px);
}

@media (max-width: 1100px) {
  .contact-premium-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

@media (max-width: 640px) {
  .contact-premium-section {
    padding: 60px 0;
  }
  
  .contact-premium-info h1,
  .contact-premium-info h2 {
    font-size: 2.5rem;
  }
  
  .contact-premium-form-wrap {
    padding: 30px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-submit-btn {
    width: 100%;
  }
}


/* --- Scroll-Expanding Video Reveal --- */
.reveal-section {
  height: 180vh; 
  position: relative;
  background: var(--white);
  overflow: visible;
  margin: 60px 0;
  padding: 80px 0 0 0;
}

.reveal-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.reveal-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.1;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 20px;
}

.reveal-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent);
}

.reveal-subtitle {
  font-family: 'Crimson Pro', serif;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--accent);
  margin-top: 15px;
}

.reveal-container {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.reveal-video-wrap {
  width: 100%;
  max-width: 1350px;
  aspect-ratio: 16 / 9; /* Cinematic base ratio */
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.3);
  background: #000;
  transform: translateZ(0); /* Hardware acceleration for clarity */
  will-change: transform, border-radius;
}
@media (max-width: 980px) {
  .reveal-video-wrap {
    aspect-ratio: 16 / 10; /* Slightly taller on mobile for impact */
    margin: 0 15px;
    width: auto;
  }
}

.reveal-video {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important; /* Force show entire horizontal video */
  background: #000;
  display: block;
}

/* --- Why Choose Marbella Section --- */
.why-choose-section {
  background: #1a365d; /* Elegant deep navy */
  padding: 100px 0;
  color: #ffffff;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-video-box {
  width: 100%;
  max-width: 400px; /* Further reduced to make it shorter */
  margin: 0 auto;
  border-radius: 20px;
  padding: 15px; /* Creates the inner frame space */
  background: #0b1e38; /* Frame color */
  border: 1px solid var(--accent); /* Gold frame edge */
  box-shadow: 0 40px 100px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.video-expand-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.why-video-box:hover .video-expand-overlay {
  opacity: 1;
}

.expand-icon {
  width: 80px;
  height: 80px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transform: scale(0.8);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.why-video-box:hover .expand-icon {
  transform: scale(1);
}

.expand-icon svg {
  width: 30px;
  height: 30px;
  margin-left: 5px;
}

/* Video Modal Styles */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.video-modal.active {
  visibility: visible;
  opacity: 1;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 24, 44, 0.95);
  backdrop-filter: blur(10px);
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 50px 100px rgba(0,0,0,0.5);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-modal.active .modal-content {
  transform: scale(1);
}

.modal-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.2);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.modal-close:hover {
  background: var(--accent);
}

.why-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.why-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-family: 'Crimson Pro', serif;
  margin-bottom: 30px;
  line-height: 1.1;
  font-weight: 700;
  color: #fefefe;
}

.why-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.why-list li {
  font-size: 1.25rem;
  padding-left: 35px;
  position: relative;
  display: flex;
  align-items: center;
  font-weight: 500;
  color: #dae1e7;
}

.why-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #c79f36;
  font-size: 2.2rem;
  line-height: 0;
  top: 50%;
  transform: translateY(-2px);
}

.why-promo {
  font-size: 1.35rem;
  line-height: 1.6;
  color: #dae1e7;
  border-left: 3px solid #c79f36;
  padding-left: 25px;
  margin-top: 30px;
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
}

@media (max-width: 1024px) {
  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* --- Luxury Amenities Bento --- */
.luxury-amenities {
  padding: 100px 0;
  background: var(--white);
}

.section-header-centered {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 15px;
  background: rgba(199, 159, 54, 0.1);
  color: #c79f36;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.amenities-bento-grid {
  display: grid;
  grid-template-areas: 
    "club club gym"
    "pool games park"
    "track parking power";
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-rows: 280px;
  gap: 30px;
}

.bento-card {
  position: relative;
  border-radius: 30px;
  padding: 40px;
  background: linear-gradient(145deg, #ffffff, #fcfdfe);
  border: 1.5px solid #c79f36; /* Persistent Gold Border */
  box-shadow: 
    10px 10px 20px rgba(0, 0, 0, 0.02),
    -10px -10px 20px rgba(255, 255, 255, 0.9),
    0 5px 15px rgba(199, 159, 54, 0.08); /* Persistent Ambient Glow */
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-content {
  position: relative;
  z-index: 2;
}

.amenity-icon {
  width: 50px;
  height: 50px;
  color: #c79f36;
  margin-bottom: 25px;
  transition: transform 0.4s ease;
  filter: drop-shadow(0 5px 10px rgba(199, 159, 54, 0.2));
}

.amenity-icon svg {
  width: 100%;
  height: 100%;
}

.bento-card h3 {
  font-size: 1.6rem;
  font-family: 'Crimson Pro', serif;
  color: var(--primary);
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.bento-card p {
  font-size: 1rem;
  color: #6c7a87;
  line-height: 1.6;
  margin: 0;
}

.bento-card:hover {
  transform: translateY(-12px) scale(1.02);
  background: #fff;
  box-shadow: 
    20px 20px 40px rgba(0, 0, 0, 0.06),
    -10px -10px 30px rgba(255, 255, 255, 1),
    0 15px 35px rgba(199, 159, 54, 0.15); /* Stronger Lift Glow */
}

.bento-card:hover h3 {
  color: #c79f36;
}

.bento-card:hover .amenity-icon {
  transform: scale(1.1) rotate(5deg);
}


@media (max-width: 980px) {
  .amenities-bento-grid {
    grid-template-areas: none !important;
    grid-template-columns: 1fr !important;
    grid-auto-rows: auto !important;
    gap: 20px;
  }

  .bento-card {
    grid-area: auto !important; /* Force override of inline styles */
    height: auto !important;
    padding: 30px 20px;
    min-height: 220px;
  }

  .amenity-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
  }

  .bento-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
  }

  .luxury-amenities, .elite-specifications {
    padding: 60px 0;
  }
}

/* --- Minimalist Amenities Page Styles --- */
.amenities-minimal-section {
  padding: 100px 0;
  background: var(--white);
}

.amenity-category {
  margin-bottom: 80px;
}

.amenity-category:last-child {
  margin-bottom: 0;
}

.category-title {
  font-size: 2.2rem;
  font-family: 'Outfit', sans-serif;
  color: var(--primary);
  margin-bottom: 40px;
  position: relative;
  padding-left: 20px;
  font-weight: 700;
}

.category-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: var(--accent-gradient);
  border-radius: 20px;
}

.amenity-minimal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.amenity-minimal-card {
  padding: 40px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 25px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.amenity-minimal-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.05);
  border-color: rgba(199, 159, 54, 0.2);
}

.amenity-minimal-card .amenity-icon {
  width: 65px;
  height: 65px;
  background: rgba(199, 159, 54, 0.08);
  color: #c79f36;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  transition: all 0.4s ease;
  filter: none; /* Reset bento filter */
}

.amenity-minimal-card:hover .amenity-icon {
  background: var(--accent-gradient);
  color: var(--white);
  transform: rotate(10deg) scale(1.1);
}

.amenity-minimal-card h4 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 15px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
}

.amenity-minimal-card p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 1024px) {
  .amenity-minimal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .amenity-minimal-grid {
    grid-template-columns: 1fr;
  }
  
  .amenities-minimal-section {
    padding: 60px 0;
  }
  
  .category-title {
    font-size: 1.8rem;
  }
}

.reveal-video {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  background: #000;
  display: block;
}

.reveal-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
  z-index: 2;
}

/* --- SEO & Enhanced Floor Plan Styles --- */
.floorplan-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 50px;
}

.floorplan-image-box {
  width: 100%;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  transition: var(--transition-smooth);
  border: none;
}

.floorplan-image-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  border-color: var(--accent);
}

.img-caption {
  display: block;
  margin-top: 15px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.seo-specs-section {
  margin-top: 80px;
  padding: 80px 60px;
  background: var(--white);
  border-radius: 30px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 40px 100px rgba(0,0,0,0.03);
  position: relative;
  overflow: hidden;
}

.seo-specs-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-gradient);
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.specs-box {
  text-align: left;
}

.specs-box h3 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--primary);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  position: relative;
  padding-bottom: 20px;
}

.specs-box h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--accent);
}

.specs-box p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 30px;
  text-align: left; /* Explicitly force left-align */
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table td {
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  font-size: 1rem;
}

.specs-table td:first-child {
  font-weight: 600;
  color: var(--primary);
  width: 40%;
}

.specs-table td:last-child {
  color: var(--text-muted);
}

.specs-list {
  list-style: none;
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.specs-list li {
  font-size: 1.05rem;
  padding-left: 35px;
  position: relative;
  color: var(--primary);
  font-weight: 500;
  transition: var(--transition-smooth);
}

.specs-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 900;
  font-size: 1.2rem;
}

.specs-list li:hover {
  transform: translateX(10px);
  color: var(--accent);
}

@media (max-width: 980px) {
  .floorplan-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .specs-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .seo-specs-section {
    padding: 40px 20px;
  }
  
  .specs-box h3 {
    font-size: 1.5rem;
  }
}
.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0e2540;
}

.slider-track {
  position: relative;
  width: 100%;
  min-height: 560px;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  left: 0;
  right: 0;
  z-index: 2;
  width: min(1200px, 94%);
  margin: 0 auto;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 46px;
  align-items: center;
}

.hero-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(9, 18, 35, 0.42);
  z-index: -1;
}

.hero-copy {
  color: #ffffff;
  max-width: 720px;
}

.hero-copy h1 {
  margin: 0 0 16px;
  font-size: 58px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.hero-copy p {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
  max-width: 700px;
}

.hero-form-wrap {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(10, 24, 44, 0.46);
  padding: 28px 34px 30px;
}

.hero-form-wrap h2 {
  margin: 0 0 10px;
  font-size: 40px;
  font-weight: 700;
}

.hero-form-wrap > p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.35;
}

.hero-form {
  display: grid;
  gap: 10px;
}

.hero-form label {
  font-size: 15px;
  font-weight: 700;
}

.hero-form input {
  height: 30px;
  padding: 0 12px;
  border: none;
  outline: none;
  font-size: 15px;
}

.hero-form button {
  margin-top: 6px;
  width: fit-content;
  padding: 10px 28px;
  border: none;
  background: #ffffff;
  color: #0b1e38;
  font-size: 28px;
  font-weight: 700;
  cursor: pointer;
}

.hero-form input,
.hero-form button,
.contact-page-form button {
  max-width: 100%;
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.dot {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.dot.active {
  background: #ffffff;
  transform: scale(1.12);
}

@media (max-width: 768px) {
  .hero-overlay {
    grid-template-columns: 1fr;
    gap: 22px;
    height: 100%;
    padding: 28px 0 54px;
    align-content: center;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .hero-form-wrap {
    padding: 20px;
  }

  .hero-form-wrap h2 {
    font-size: 30px;
  }

  .hero-form button {
    font-size: 22px;
  }

  .slider-track,
  .slide img {
    min-height: 640px;
  }
}

@media (max-width: 480px) {
  .hero-overlay {
    height: 100%;
    gap: 18px;
  }

  .hero-copy h1 {
    font-size: 31px;
  }

  .hero-form button {
    font-size: 20px;
    padding: 10px 22px;
  }

  .slider-track,
  .slide img {
    min-height: 690px;
  }
}

@media (max-width: 1024px) {
  .hero-overlay {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
  }

  .hero-copy h1 {
    font-size: 46px;
  }

  .hero-form-wrap h2 {
    font-size: 32px;
  }
}

@media (max-width: 820px) {
  .hero-copy {
    max-width: 100%;
  }

  .hero-copy h1 {
    font-size: 40px;
  }

  .hero-form button {
    width: 100%;
    font-size: 20px;
  }
}

.fine-living-section {
  background: #eeeeee;
  padding: 56px 0 70px;
}

.fine-living-container {
  width: min(980px, 94%);
  margin: 0 auto;
}

.fine-living-section h2 {
  margin: 0 0 12px;
  text-align: center;
  color: #4e5964;
  font-size: 40px;
  font-weight: 700;
}

.fine-living-intro {
  margin: 0 auto 34px;
  max-width: 880px;
  color: #59626d;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

.fine-living-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 14px;
  align-items: stretch;
}

.fine-living-left img,
.fine-living-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.fine-living-right {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}

.fine-living-note {
  background: #072c5f;
  color: #ffffff;
  padding: 26px 24px;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
}

@media (max-width: 900px) {
  .fine-living-section h2 {
    font-size: 30px;
  }

  .fine-living-grid {
    grid-template-columns: 1fr;
  }

  .fine-living-right {
    grid-template-rows: auto auto;
  }
}

@media (max-width: 600px) {
  .fine-living-section {
    padding: 38px 0 46px;
  }

  .fine-living-section h2 {
    font-size: 25px;
  }

  .fine-living-note {
    padding: 20px 18px;
  }
}

.overview-video-section {
  background: #efefef;
  padding: 28px 0 42px;
}

.overview-video-container {
  width: min(1900px, 99%);
  margin: 0 auto;
}

.overview-video-section h2 {
  margin: 0 0 12px;
  text-align: center;
  color: #5c6570;
  font-size: 32px;
  font-weight: 500;
}

.overview-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.overview-video-card {
  background: #d8d8d8;
}

.overview-video-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  display: block;
}

@media (max-width: 1100px) {
  .overview-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .overview-video-section h2 {
    font-size: 24px;
  }

  .overview-video-grid {
    grid-template-columns: 1fr;
  }
}

.amenities-gallery-section {
  background: #efefef;
  padding: 34px 0 48px;
}

.amenities-gallery-wrap {
  width: min(980px, 94%);
  margin: 0 auto;
  text-align: center;
}

.amenities-gallery-wrap h1 {
  margin: 0 0 8px;
  color: #4e5964;
  font-size: 48px;
  font-weight: 700;
}

.amenities-gallery-wrap > p {
  margin: 0 auto 28px;
  color: #5f6770;
  font-size: 33px;
  line-height: 1.3;
  max-width: 820px;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 14px;
}

.amenity-card {
  margin: 0;
}

.amenity-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.amenity-card h3 {
  margin: 8px 0 0;
  color: #4b535e;
  font-size: 32px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .amenities-gallery-wrap h1 {
    font-size: 34px;
  }

  .amenities-gallery-wrap > p {
    font-size: 18px;
  }

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

  .amenity-card h3 {
    font-size: 22px;
  }
}

@media (max-width: 560px) {
  .amenities-gallery-section {
    padding: 26px 0 34px;
  }

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

  .amenities-gallery-wrap h1 {
    font-size: 28px;
  }

  .amenities-gallery-wrap > p {
    font-size: 16px;
  }
}

.gallery-hover-section {
  background: #f8fafc;
  padding: 100px 0;
}

.gallery-hover-wrap h1 {
  font-family: 'Crimson Pro', serif;
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.gallery-hover-wrap > p {
  font-size: 1.1rem;
  color: #64748b;
  margin-bottom: 60px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.gallery-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  background: #fff;
  cursor: pointer;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

/* Lightbox Styles */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: all 0.4s ease;
}

.lightbox-modal.active {
  visibility: visible;
  opacity: 1;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 24, 44, 0.98);
  backdrop-filter: blur(15px);
}

.lightbox-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 50px 100px rgba(0,0,0,0.8);
  transform: scale(0.95);
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.lightbox-modal.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: #fff;
  font-size: 50px;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
  transition: color 0.3s ease;
}

.lightbox-close:hover {
  color: #c79f36;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.lightbox-nav:hover {
  background: #c79f36;
  border-color: #c79f36;
  color: #fff;
}

.lightbox-nav svg {
  width: 30px;
  height: 30px;
}

.lightbox-prev {
  left: 40px;
}

.lightbox-next {
  right: 40px;
}

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Legacy Location Styles Removed - Replaced by .location-hub-section in main.css */

/* Legacy Section Cleaned */

/* Legacy Contact Styles Removed - Replaced by .contact-premium-section in main.css */
