/*
 * Inmobiliaria Vega - Premium Design System
 * Modern CSS Grid & Flexbox, Glassmorphism, Micro-interactions, Responsive
 */

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

:root {
  /* Colors */
  --primary: #0F2C59;       /* Deep Corporate Blue from Logo */
  --primary-light: #1E468A;
  --primary-dark: #071731;
  --secondary: #C52228;     /* Elegant Red from Logo */
  --secondary-light: #E12A31;
  --secondary-dark: #91161B;
  --accent: #C5A880;        /* Luxury Gold for premium highlights */
  --accent-light: #DFCDAE;
  
  --dark: #0F172A;          /* Slate 900 */
  --light: #F8FAFC;         /* Slate 50 */
  --muted: #64748B;         /* Slate 500 */
  --border: #E2E8F0;        /* Slate 200 */
  --white: #FFFFFF;
  
  --bg-gradient: linear-gradient(135deg, #0F2C59 0%, #071731 100%);
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-bg-dark: rgba(15, 23, 42, 0.8);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.08);
  
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout */
  --container-width: 1200px;
  --header-height: 80px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 5rem 0;
}

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

.section-dark h2, .section-dark h3 {
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.75rem;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--secondary);
  border-radius: 2px;
}

.section-header p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-dark .section-header p {
  color: var(--accent-light);
}

/* Typography & Utilities */
.text-accent { color: var(--accent) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-white { color: var(--white) !important; }
.text-muted { color: var(--muted) !important; }
.text-center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition-normal);
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 44, 89, 0.2);
}

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

.btn-secondary:hover {
  background-color: var(--secondary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(197, 34, 40, 0.2);
}

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

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

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

.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: var(--transition-normal);
}

.header.scrolled {
  height: 70px;
  background-color: var(--glass-bg);
  backdrop-filter: blur(10px);
  box-shadow: var(--glass-shadow);
  border-bottom-color: var(--glass-border);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
}

.logo svg {
  height: 50px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--primary-dark);
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
}

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

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

.nav-link.active {
  color: var(--secondary);
  font-weight: 600;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-left: 1px solid var(--border);
  padding-left: 1.5rem;
  margin-left: 1rem;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.lang-btn.active {
  color: var(--primary);
  background-color: var(--border);
}

.lang-btn:hover:not(.active) {
  color: var(--secondary);
}

/* Burger Menu */
.burger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
}

.burger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-dark);
  margin: 5px 0;
  transition: var(--transition-normal);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  background: #000;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(15, 44, 89, 0.85) 0%, rgba(15, 23, 42, 0.4) 100%);
  z-index: 1;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.hero .container {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.hero-content {
  max-width: 650px;
}

.hero-tagline {
  color: var(--accent-light);
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.hero h1 {
  color: var(--white);
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero-text {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  font-weight: 300;
}

/* Featured / Showcase Project */
.featured-project {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.featured-image-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.featured-image-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.featured-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--secondary);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  padding: 0.5rem 1rem;
  letter-spacing: 1px;
  border-radius: 4px;
}

.featured-content {
  padding-right: 1rem;
}

.featured-subtitle {
  color: var(--secondary);
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
}

.featured-content h3 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.featured-text {
  color: var(--muted);
  margin-bottom: 2rem;
}

.featured-amenities-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.amenity-mini-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--primary-dark);
  font-weight: 500;
}

.amenity-mini-item svg {
  color: var(--accent);
  width: 20px;
  height: 20px;
}

/* Current Developments / Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.project-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border: 1px solid var(--border);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(15, 44, 89, 0.1);
}

.project-card-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.project-status-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  color: var(--white);
  font-family: var(--font-heading);
  text-transform: uppercase;
}

.status-construction { background-color: var(--primary); }
.status-presale { background-color: var(--secondary); }
.status-ready { background-color: #10B981; }

.project-type-tag {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background-color: rgba(15, 23, 42, 0.85);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.project-card-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-card-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  font-weight: 500;
}

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

.project-card-content h4 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.project-card-text {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 4.2rem;
}

.project-card-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-card-cta {
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--secondary);
  font-size: 0.85rem;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.project-card-cta:hover {
  color: var(--primary);
}

/* Why Invest Section */
.why-invest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
}

.why-invest-card {
  text-align: center;
  background-color: var(--white);
  padding: 2.5rem 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: var(--transition-normal);
}

.why-invest-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.why-invest-icon {
  width: 70px;
  height: 70px;
  background-color: var(--light);
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: var(--transition-normal);
}

.why-invest-card:hover .why-invest-icon {
  background-color: var(--secondary);
  color: var(--white);
}

.why-invest-icon svg {
  width: 32px;
  height: 32px;
}

.why-invest-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.why-invest-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* About Us Blocks */
.about-teaser {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.about-teaser-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.about-img-box {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.about-img-box img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.about-img-box.offset {
  margin-top: 2rem;
}

.about-teaser-content h3 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.about-values-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.value-mini-card {
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
}

.value-mini-card h5 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.value-mini-card p {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Testimonials */
.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  height: auto;
}

.testimonial-track {
  display: flex;
  transition: transform var(--transition-slow);
}

.testimonial-slide {
  min-width: 100%;
  text-align: center;
  padding: 0 2rem;
}

.testimonial-quote {
  font-size: 1.5rem;
  font-family: var(--font-heading);
  font-weight: 300;
  font-style: italic;
  margin-bottom: 2rem;
  position: relative;
}

.testimonial-author {
  font-weight: 700;
  color: var(--accent-light);
  text-transform: uppercase;
  font-family: var(--font-heading);
  font-size: 1rem;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.testimonial-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

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

/* Forms & Lead Gen */
.lead-gen-section {
  position: relative;
  overflow: hidden;
}

.lead-gen-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.lead-gen-info h3 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.lead-gen-info p {
  color: var(--accent-light);
  margin-bottom: 2rem;
}

.lead-gen-contact-details {
  list-style: none;
}

.lead-gen-contact-details li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.lead-gen-contact-details li svg {
  color: var(--secondary);
  width: 20px;
  height: 20px;
}

.lead-form-wrapper {
  background-color: var(--white);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  color: var(--dark);
}

.lead-form-wrapper h4 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

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

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background-color: var(--light);
  transition: var(--transition-fast);
  color: var(--dark);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(15, 44, 89, 0.08);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 1rem;
}

.form-check input {
  margin-top: 0.25rem;
}

.form-check label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: none;
  cursor: pointer;
}

.form-feedback {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 4px;
  display: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-feedback.success {
  background-color: #D1FAE5;
  color: #065F46;
  border: 1px solid #A7F3D0;
  display: block;
}

.form-feedback.error {
  background-color: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FCA5A5;
  display: block;
}

/* Footer */
.footer {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.9rem;
}

.footer h5 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

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

.footer-brand svg {
  height: 45px;
  margin-bottom: 1.5rem;
}

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

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.05);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-link:hover {
  background-color: var(--secondary);
  transform: translateY(-2px);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

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

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-contact svg {
  color: var(--secondary);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-newsletter p {
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 0.75rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px 0 0 4px;
  background-color: rgba(255,255,255,0.05);
  color: var(--white);
  font-size: 0.85rem;
}

.newsletter-form input:focus {
  outline: none;
  background-color: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
}

.newsletter-form button {
  background-color: var(--secondary);
  color: var(--white);
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  font-weight: 600;
}

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

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

/* Individual Project Detail Pages Styles */
.project-detail-hero {
  min-height: 60vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: 4rem;
  padding-top: 120px;
}

.project-detail-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 44, 89, 0.4) 100%);
  z-index: 1;
}

.project-detail-hero .container {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.project-detail-info-strip {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.info-strip-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255,255,255,0.1);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.85rem;
  backdrop-filter: blur(4px);
}

/* Split Detail Layout */
.project-detail-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.project-main-content h3 {
  font-size: 1.8rem;
  margin: 2.5rem 0 1.25rem;
}

.project-main-content h3:first-child {
  margin-top: 0;
}

.project-main-content p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* Amenities Card Grid */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.amenity-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  transition: var(--transition-fast);
}

.amenity-card:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 15px rgba(197, 168, 128, 0.1);
}

.amenity-card-icon {
  width: 48px;
  height: 48px;
  background-color: var(--light);
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.amenity-card h5 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-dark);
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.gallery-item {
  border-radius: 6px;
  overflow: hidden;
  height: 140px;
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

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

.gallery-item::after {
  content: '\002B';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 44, 89, 0.4);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  font-weight: 300;
  transition: var(--transition-fast);
}

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

/* Master Plan Box */
.master-plan-box {
  border: 1px solid var(--border);
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: 6px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.master-plan-box img {
  margin: 0 auto 1.5rem;
  max-height: 400px;
  object-fit: contain;
  cursor: pointer;
}

/* Investment Table / Cards */
.benefits-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.benefit-item {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: 6px;
  border-left: 4px solid var(--accent);
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.benefit-item h5 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.benefit-item p {
  margin-bottom: 0 !important;
  font-size: 0.9rem;
}

/* FAQs Accordion */
.accordion {
  margin: 2rem 0;
}

.accordion-item {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--primary-dark);
  font-size: 1.05rem;
}

.accordion-header svg {
  transition: var(--transition-fast);
  color: var(--secondary);
}

.accordion-item.active .accordion-header svg {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease;
  color: var(--muted);
  font-size: 0.95rem;
}

.accordion-item.active .accordion-content {
  max-height: 200px; /* Expands with JS */
  padding-top: 1rem;
}

/* Right Sidebar Sticky form */
.sidebar-sticky {
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.sidebar-card h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.sidebar-card .price-tag {
  color: var(--secondary);
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  margin-bottom: 1.5rem;
}

/* Landing Page Specific Styling */
.landing-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 100;
}

.landing-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.landing-hero {
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding-top: 120px;
  position: relative;
  background-size: cover;
  background-position: center;
}

.landing-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(15, 44, 89, 0.95) 0%, rgba(15, 23, 42, 0.7) 100%);
  z-index: 1;
}

.landing-hero .container {
  position: relative;
  z-index: 2;
  grid-column: 1 / span 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  color: var(--white);
}

.landing-hero-content h1 {
  font-size: 3.5rem;
  color: var(--white);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.landing-hero-content p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.landing-benefits-list {
  list-style: none;
}

.landing-benefits-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.landing-benefits-list li svg {
  color: var(--accent);
}

.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 1rem 0;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transform: translateY(100%);
  transition: transform var(--transition-normal);
}

.sticky-cta-bar.show {
  transform: translateY(0);
}

.sticky-cta-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  transform: scale(0.95);
  transition: transform var(--transition-normal);
}

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

.lightbox-caption {
  color: var(--white);
  margin-top: 1rem;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.1rem;
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  color: var(--secondary);
}

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  user-select: none;
}

.lightbox-prev:hover, .lightbox-next:hover {
  background-color: var(--white);
  color: var(--dark);
}

.lightbox-prev { left: -80px; }
.lightbox-next { right: -80px; }

/* Interactive map container */
.map-placeholder {
  background-color: #E2E8F0;
  border-radius: 8px;
  height: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border: 1px solid var(--border);
  color: var(--primary-dark);
  text-align: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.map-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M0 0h100v100H0z' fill='%23e2e8f0'/%3E%3Cpath d='M10 10h80v80H10z' fill='none' stroke='%23cbd5e1' stroke-width='2'/%3E%3Cpath d='M10 50h80M50 10v80' stroke='%23cbd5e1' stroke-width='1'/%3E%3C/svg%3E") repeat;
  opacity: 0.4;
  z-index: 1;
}

.map-placeholder * {
  position: relative;
  z-index: 2;
}

.map-placeholder svg {
  width: 48px;
  height: 48px;
  color: var(--secondary);
}

/* Timeline & Team (About Page) */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 3rem auto 0;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--border);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: var(--white);
  border: 4px solid var(--accent);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.timeline-left { left: 0; }
.timeline-right { left: 50%; }

.timeline-right::after { left: -10px; }

.timeline-content {
  padding: 1.5rem;
  background-color: var(--white);
  position: relative;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  border: 1px solid var(--border);
}

.timeline-date {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--secondary);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

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

.team-member {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
  text-align: center;
  transition: var(--transition-normal);
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.team-member-img {
  height: 280px;
  overflow: hidden;
  background-color: var(--border);
  position: relative;
}

.team-member-img svg {
  width: 100px;
  height: 100px;
  color: var(--muted);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.team-member-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member-info {
  padding: 1.5rem;
}

.team-member-info h4 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.team-member-info p {
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Animations Trigger */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Responsive Adaptations */
@media (max-width: 1024px) {
  .featured-project {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .featured-image-wrapper img {
    height: 380px;
  }
  
  .about-teaser {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .lead-gen-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .project-detail-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .sidebar-sticky {
    position: static;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

@media (max-width: 768px) {
  h1 { font-size: 2.5rem !important; }
  h2 { font-size: 2rem !important; }
  
  .burger {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--white);
    flex-direction: column;
    padding: 3rem 0;
    gap: 2rem;
    transition: var(--transition-normal);
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    z-index: 999;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .lang-switcher {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
    margin-top: 1rem;
  }
  
  .hero {
    text-align: center;
  }
  
  .hero .btn-group {
    justify-content: center;
  }
  
  .timeline::after {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 20px;
  }
  
  .timeline-item::after {
    left: 21px;
  }
  
  .timeline-right {
    left: 0%;
  }
  
  .landing-hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-bottom: 3rem;
  }
  
  .landing-hero .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .lead-form-wrapper {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-teaser-images {
    grid-template-columns: 1fr;
  }
  
  .about-img-box.offset {
    margin-top: 0;
  }
}

/* Language toggle hide/show classes */
body.lang-es .lang-en { display: none !important; }
body.lang-en .lang-es { display: none !important; }

/* Custom theme menu overrides */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
}
.nav-menu li {
  position: relative;
}