
    /* ── Variables ─────────────────────────── */
    :root {
      --color-primary:   #E73851;
      --color-secondary: #fde74c;
      --color-third:     #464692;
      --color-dark:      #1a1a1a;
      --color-light:     #f8f9fa;
      --color-white:     #ffffff;
      --font-main:       'Nunito', sans-serif;
    }

    /* ── Reset mínimo ────────────────────────── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html, body { overflow-x: hidden; width: 100%; }

    body {
      font-family: var(--font-main);
      line-height: 1.6;
      color: var(--color-dark);
    }


    /* ── Hero ────────────────────────────────── */
    .hero {
      position: relative;
      min-height: 88vh;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      flex-direction: column; 
      padding-top: 5vh;
      background-color: var(--color-dark);
      overflow: hidden;
    }

    /* Overlay oscuro sobre el video */
    .hero-overlay {
      position: absolute;
      inset: 0; 
      background: rgba(0, 0, 0, 0.30);
      z-index: 2;
    }

    /* Facade del video: thumbnail clickeable */
    .hero-video-facade {
      position: absolute;
      inset: 0;
      z-index: 1;
      cursor: pointer;
    }
    .hero-video-facade img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    .hero-video-facade .play-btn {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 72px;
      height: 72px;
      background: rgba(255,255,255,0.15);
      border: 2px solid rgba(255,255,255,0.6);
      border-radius: 50%;
      backdrop-filter: blur(4px);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.3s, transform 0.3s;
    }
    .hero-video-facade:hover .play-btn {
      background: rgba(231, 56, 81, 0.85);
      transform: translate(-50%, -50%) scale(1.1);
    }
    .hero-video-facade .play-btn svg {
      width: 28px;
      height: 28px;
      fill: white;
      margin-left: 4px; /* centra visualmente el triángulo */
    }

    /* Iframe real (oculto hasta clic) */
    .hero-video-container {
      position: absolute;
      inset: 0;
      z-index: 1;
      overflow: hidden;
      display: none; /* se activa con JS al clicar la facade */
    }
    .hero-video-container iframe {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 100vw;
      height: 56.25vw;
      min-height: 100vh;
      min-width: 177.78vh;
    }

    /* Contenido del hero */
    .hero-content {
      position: relative;
      z-index: 3;
      text-align: center;
      color: var(--color-white);
      padding: 20px;
      max-width: 900px;
    }
    .hero-logo {
      margin-bottom: 1.5rem;
    }
    .hero-logo img {
      width: 384px;
      max-width: 80%;
      height: auto;
      margin: 0 auto;
    }
    .hero h1 {
      font-size: clamp(2rem, 5vw, 2.8125rem); /* 45px max */
      font-weight: 800;
      margin-bottom: 2rem;
      line-height: 0.8;
    }
    .hero .subtitle {
      font-size: clamp(1.3rem, 2.5vw, 1.875rem); /* 30px max */
      margin-bottom: 2rem;
      opacity: 0.92; 
      margin-left: auto;
      margin-right: auto;
      line-height: 1;
    }

    /* Botones */
    .btn-hero {
      display: inline-block;
      padding: 16px 32px;
      font-size: 1rem;
      font-weight: 600;
      font-family: var(--font-main);
      text-decoration: none;
      border-radius: 50px;
      transition: all 0.3s ease;
      border: none;
      cursor: pointer;
      line-height: 1;
    }
    .btn-hero-primary {
      background: var(--color-primary);
      color: var(--color-white);
    }
    .btn-hero-primary:hover {
      background: #c43046;
      transform: translateY(-2px);
      box-shadow: 0 10px 30px rgba(231, 56, 81, 0.4);
      color: var(--color-white);
    }
    .btn-hero-outline {
      background: transparent;
      color: var(--color-white);
      border: 2px solid rgba(255,255,255,0.8);
    }
    .btn-hero-outline:hover {
      background: var(--color-white);
      color: var(--color-dark);
      border-color: var(--color-white);
    }
    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
      justify-content: center;
    }

    /* ── Reduce motion ────────────────────────── */
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { transition-duration: 0.01ms !important; }
    }

/* === VARIABLES  === */
:root {
  --color-dark-light:  #2d2d2d;
  --color-gray:        #6c757d;
  --color-gray-light:  #e9ecef;
  --transition:        all 0.3s ease;
  --shadow-sm:         0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:         0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg:         0 10px 40px rgba(0,0,0,0.15);
  --radius-sm:         8px;
  --radius-md:         16px;
  --radius-lg:         24px;
  --font-main:         'Nunito', sans-serif;
}

/* Sobrescribir fuente de Bootstrap */
:root,
body {
  --bs-body-font-family: 'Nunito', sans-serif;
}
/* === TOP BAR === */
.top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.3);
  padding: 12px 0;
}

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

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

.site-logo img {
  height: 50px;
  width: auto;
}

.social-links {
  display: flex;
  gap: 16px;
}

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

.social-links a:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
}

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

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

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 700;
  line-height: 1.2;
}

p {
  margin: 0 0 1rem;
}

/* === UTILIDADES === */

.section {
  padding: 50px 0;
}

.section-title {
  font-size: 80px;
  margin-bottom: 1.5rem;
  color: var(--color-secondary);
  font-weight: 800;
}

.container-fluid {
  padding-left: 20px !important;
  padding-right: 20px !important;
}
.section-subtitle{
  font-size: 2.2rem;
  margin-bottom: 2.2rem;
  color: var(--color-white);
  font-weight: 700;
}

/* === HERO VIDEO & CTA BAR === */
.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

.hero-cta-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  background: var(--color-primary);
  padding: 38px 63px;
  text-align: center;
  border-radius: 30px;
  pointer-events: none;
  margin: 0 20px;
  height: 166px;
  transform: translateY(-15%);
  margin-bottom: -1rem;  
}

.hero-cta-bar__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-secondary);
  text-decoration: none;
  font-size: 50px;
  font-weight: 900;
  letter-spacing: -0.01em;
  transition: opacity 0.2s;
  
}

.hero-cta-bar__icon {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  flex-shrink: 0;
}

.hero-cta-bar__icon svg {
  width: 60px;       
  height: 60px;
  fill: var(--color-secondary);  
}


/* === BOTÓN FLOTANTE === */
.floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 90px;
  z-index: 9000;
}

.floating-btn--map {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 20px;
  font-family: var(--font-main);
  text-decoration: none;
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
  white-space: nowrap;
  min-width: 200px;
  overflow: hidden;
}

.floating-btn--map:hover {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.floating-btn--map svg {
  transition: fill 0.3s ease;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.floating-btn--map:hover svg {
  fill: var(--color-white);
}

/* Texto con efecto zoom */
.floating-btn--map .btn-text {
  position: relative;
  display: inline-block;
  z-index: 1;
}

/* Texto normal */
.floating-btn--map .btn-text::before {
  content: 'Cómo llegar';
  display: block;
  opacity: 1;
  transform: scale(1);
  transition: all 0.3s cubic-bezier(0.5, 0.12, 0.46, 0.88);
}

/* Texto hover — empieza grande y transparente */
.floating-btn--map .btn-text::after {
  content: '¡Click aquí!';
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%) scale(1.5);
  opacity: 0;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.5, 0.12, 0.46, 0.88);
}

/* En hover — intercambia textos */
.floating-btn--map:hover .btn-text::before {
  opacity: 0;
  transform: scale(0.5);
}

.floating-btn--map:hover .btn-text::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}
/* === BOTONES === */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  font-family: var(--font-main);
}

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

.btn-cta.btn-cta-primary:hover {
  background: #c43046;
  border-color: #c43046;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--color-white);
}

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

.btn-cta.btn-cta-outline:hover {
  background: var(--color-white);
  color: var(--color-dark);
}

/* === PRESENTACIÓN === */
.presentation {
  background: var(--color-third);
  padding: 120px 20px 0 20px;
}

.presentation .section-title {
  color: var(--color-white);
  font-size: 80px;
  margin-bottom: 1.5rem;
  font-weight: 900;
  text-align: center;
}
.presentation-video-wrapper {
  width: 100%;
  margin-top: 1.5rem; 
}

.presentation-video {
  width: calc(100% - 40px);
  height: auto;
  display: block;
  max-width: 100%;
  border-radius: 25px;
  margin: auto;
}

.presentation-video-title {
  color: var(--color-white);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

/* Botón amarillo para esta sección */
.btn-cta-secondary {
  background: var(--color-secondary);
  color: var(--color-third);
  border-color: var(--color-secondary);
  padding: 10px 180px;
  font-size: 2.5rem;
  font-weight: 700;
}

.btn-cta-secondary:hover {
  background: var(--color-primary);
  border-color:  var(--color-primary);
  color: #EAB230;
  box-shadow: var(--shadow-lg);
}

/* === APARTAMENTOS === */
.apartments {
  background: transparent;
}

.apartments .section-title{
  font-size: 45px;
}

.price-badge {
  text-align: center;
  margin: 2rem 0 3rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, #c43046 100%);
  border-radius: var(--radius-md);
  display: inline-block;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.price-label {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.9;
  margin-bottom: 0.25rem;
}

.price-amount {
  display: block;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-white);
}

.apartment-card {
  position: relative; 
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.apartment-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);;
  opacity: 0;
  transition: opacity 0.3s ease; 
}


.apartment-card:hover::after {
  opacity: 1;
}
.apartment-card img {
  width: 400px;
  height: 590px;
  object-fit: cover;
  
}

/* Subtítulo "El apartamento que siempre has querido" */
.apt-subtitle {
  color: var(--color-white);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin: 2.5rem 0 1.5rem;
}

/* Layout foto + card azul */
.apt-photo {
  height: 100%;
  min-height: 420px;
  border-radius: 25px;
  overflow: hidden;
}

.apt-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.apt-info-card {
  background: var(--color-secondary);
  border-radius: 25px;
  padding: 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.apt-desde {
  color: #2e2e5f;
  font-size: 2.2rem;
  margin: 0;
  opacity: 0.9;
  font-weight:100;
}

.apt-precio {
  color:#2e2e5f;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin: 0;
  line-height: 1;
}

.apt-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.apt-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #2e2e5f;
  font-size: 1.2rem;
  font-weight: 600;
}

.apt-rooms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 12px;
}

.apt-room-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #2e2e5f;
  font-size: 1rem;
}

.apt-room-item--full {
  grid-column: 1 / -1;
}

.apt-slideshow {
  position: relative;
  height: 100%;
  min-height: 420px;
  border-radius: 25px;
  overflow: hidden;
}

.apt-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.apt-slide.active {
  opacity: 1;
}

.apt-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 6s ease;
}

.apt-slide.active img {
  transform: scale(1.08); /* ← zoom suave mientras está activa */
}

.apt-gallery {
  position: relative;
}

/* Desktop — 3 columnas normales */
.apt-gallery__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.apt-gallery__prev,
.apt-gallery__next,
.apt-gallery__dots {
  display: none; /* ocultos en desktop */
}

.apt-gallery__prev,
.apt-gallery__next {
  color: var(--color-secondary); 
}

/* === ZONAS SOCIALES === */
.social-zones {
  background: transparent;
}

.zones-card {
  background: #FFFBF1;
  padding: 3rem 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 20px;
}

.zones-title {
  color: var(--color-primary);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 2rem;
}

.zones-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.zones-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-third);
  border-bottom: none;
  padding: 0;
}

.zones-list li::before {
  display: none; 
}

.zones-photo {
  height: 100%;
  min-height: 500px;
  border-radius: 20px;
  overflow: hidden;
}

.zones-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* === FACILIDAD DE COMPRA === */
.purchase-facility {
  background: var(--color-white);
}

.purchase-facility .section-title {
  color: var(--color-third);
  margin-bottom: 0.5rem;
}

.purchase-option {
  text-align: center;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.purchase-label {
  font-size: 1.75rem;
  color: #a5283a;
  margin: 0;
  font-weight: 400;
}

.purchase-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-third);
  margin: 0;
}

/* === AGENDA TU VISITA === */
.visit-cta {
  background: var(--color-third);
  padding: 80px 0;
}

.visit-title {
  color: var(--color-white);
  font-size: 80px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.visit-title--yellow {
  color: var(--color-secondary);
}

.visit-subtitle {
  color: var(--color-white);
  font-size: 35px;
  opacity: 0.9;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

/* === MAPA === */
.map-section {
  padding: 0;
}

.map-section iframe {
  display: block;
  width: 100%;
  height: 80vh;
  border: 0;
}

/* === FAQ === */
.faq {
  background: #FFFBF1; 
}

.faq .section-title {
  color: var(--color-third);
  margin-bottom: 2rem;
  font-size: 50px;
}

.faq .section-title span {
  color: var(--color-primary);
}

.faq-container {
  max-width: 100%;
  margin: 0;
}

.faq-item {
  margin-bottom: 0.75rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: 8px 7px 10px 0px rgba(0, 0, 0, 0.11);
}

.faq-question {
  padding: 1.2rem 1.5rem;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #FFFBF1;
  color: var(--color-third); 
  transition: var(--transition);
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

/* Ícono circular con + */
.faq-question::before {
  content: '+';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.3s ease;
  order: -1; 
}

.faq-question::after {
  display: none;
}

details[open] .faq-question::before {
  content: '−';
}


.faq-answer {
  padding: 0 1.5rem 1.25rem 3.5rem;
  color: #000;
  line-height: 1.7;
  font-size: 16px;
  font-weight: 500;
  background: #FFFBF1;
  border: none;
}

.faq-answer p {
  margin: 0 0 0.5rem;
}

.faq-answer p:last-child {
  margin: 0;
}

.faq-answer a {
  color: var(--color-primary);
  text-decoration: none;
}
.faq-question:hover::before {
  background: var(--color-third);
}

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

/* Abierto */
details[open] .faq-question::before {
  content: '−';
  background: var(--color-third);
}

details[open] .faq-question {
  color: var(--color-primary); 
}

/* === FORMULARIO === */
.contact-form {
  background: var(--color-primary);
  padding: 80px 0;
  border-radius: 60px 60px 0 0px;
}

/* Texto izquierda */
.contact-form__text {
  padding: 2rem 3rem 2rem 0;
}

.contact-form__title {
  color: var(--color-white);
  font-size: 60px;
  font-weight: 800;
  line-height: 1;
}

/* Card blanca */
.form-wrapper {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: 0 25px 80px rgba(0,0,0,0.2);
}

.form-logo {
  text-align: center;
  margin-bottom: 1rem;
}

.form-logo img {
  max-width: 160px;
  height: auto;
  margin: 0 auto;
}

.form-subtitle {
  font-size: 20px;
  color: var(--color-third);
  margin-bottom: 1.5rem;
  line-height: 1;
  font-weight: 600;
}

/* Campos */
.contact-form__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-field input,
.form-field select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--color-third);
  border-radius: 50px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--color-third);
  background: var(--color-white);
  transition: var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236c757d' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
  cursor: pointer;
}

.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(231,56,81,0.1);
}

.form-field input::placeholder,
.form-field select option[disabled] {
  color: var(--color-third);
  font-size: 18px;
}

/* Checkbox privacidad */
.form-field--check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--color-gray);
}

.form-field--check input {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    accent-color: var(--color-primary);
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
    margin-top: 2px;
}

.form-field--check label {
  cursor: pointer;
  line-height: 1.4;
}

.form-field--check a {
  color: #a5283a;
  text-decoration: underline;
}

/* Botón enviar */
.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--color-primary);
  color: #1c0728;
  border: none;
  border-radius: 50px;
  font-family: var(--font-main);
  font-size: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 4px;
}

.form-submit:hover {
  background: var(--color-secondary);
  color: #2B0A3D;
}

/* === FOOTER === */
.site-footer {
  background: var(--color-white);
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--color-gray-light);
}

.footer-logo {
  text-align: center;
  margin-bottom: 2rem;
}

.footer-logo img {
  max-width: 180px;
  height: auto;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  flex-wrap: wrap;
}

.footer-links li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 600;
  color: var(--color-third);
}

.footer-links li a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-third);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.footer-links li a:hover {
  color: var(--color-primary);
}

.footer-links li a:hover svg {
  fill: var(--color-primary);
}

.copyright {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-gray);
  margin: 0;
}

/* === LIGHTBOX === */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] { display: none; }

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.80);
  cursor: pointer;
}

/* Toolbar superior derecha */
.lightbox__toolbar {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 16px;
  background: rgba(0,0,0,0.5);
}

.lightbox__counter {
  position: fixed;
  top: 16px;
  left: 20px;
  z-index: 2;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-family: var(--font-main);
  background: rgba(0,0,0,0.4);
  padding: 6px 12px;
  border-radius: 20px;
}

.lightbox__btn {
  background: transparent;
  border: none;
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox__btn svg {
  width: 20px;
  height: 20px;
}

.lightbox__btn:hover { background: rgba(255,255,255,0.15); }
.lightbox__btn--close:hover { background: var(--color-primary); }

/* Share dropdown */
.lightbox__share-wrapper {
  position: relative;
}

.lightbox__share-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: white;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  min-width: 200px;
  overflow: hidden;
  z-index: 3;
}

.lightbox__share-menu[hidden] { display: none; }

.lightbox__share-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: #333;
  font-size: 0.9rem;
  font-family: var(--font-main);
  text-decoration: none;
  transition: background 0.15s;
}

.lightbox__share-item:hover {
  background: #f5f5f5;
  color: #333;
}

/* Contenido */
.lightbox__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 60px;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 78vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
  cursor: zoom-in;
}

.lightbox__img.zoomed {
  transform: scale(1.8);
  cursor: zoom-out;
}

.lightbox__caption {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  margin: 0;
  font-family: var(--font-main);
}

/* Flechas nav */
.lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  font-size: 3rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.lightbox__nav:hover { background: rgba(255,255,255,0.25); }
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }

.apartment-card[data-lightbox] { cursor: pointer; }

/* === WAVE PARALLAX === */
.parrallax {
  position: relative;
  overflow: hidden;
  background: var(--color-third);
}
.parrallax > *:not(.parrallax__wave) {
  position: relative;
  z-index: 1;
}
.parrallax__wave {
  position: absolute;
  top: -50%;
  left: 0;
  right: 0;
  bottom: -50%;
  background-image: url(/assets/images/wave.png);
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center center;
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}


  .whatsapp-link {
    margin-top: 1rem;
  }
  .whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    z-index: 9999;
    transition: transform 0.3s ease;
}

.whatsapp-float img {
    width: 32px;
    height: 32px;
}
  .whatsapp-button {
	position: fixed;
	bottom: 50px;
	right: 50px;
	width: 200px;

}

.whatsapp-button img {
	justify-content: center;
	/* box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); */
	width: 200px;
	height: auto;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* === MEDIA QUERIES === */
@media (min-width: 1200px) {
  .container-fluid {
    padding-left: 70px !important;
    padding-right: 70px !important;
  }
}

@media (max-width: 991px) {
  .section {
    padding: 30px 0;
  }

  .presentation .col-lg-6:first-child {
    margin-bottom: 2rem;
    text-align: center;
  }

    .apt-photo {
    min-height: 300px;
    border-radius:25px;
  }
  .apt-info-card {
    border-radius:25px;
  }

    .apt-slideshow {
    min-height: 300px;
    border-radius: 25px;
  }

  .zones-card {
    border-radius: 20px;
    padding: 2rem 1.5rem;
  }
  .zones-photo {
    min-height: 300px;
    border-radius:20px;
  }
}
@media (max-width: 768px) {

  .hero{
    min-height: 60vh;
    padding-top: 1vh;
  }
  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
    color: var(--color-white);
  }

  .footer-links {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  
  .copyright {
    font-size: 0.8rem;
    color: #6c757d;
    margin: 0;
  }
  

  .site-footer .text-md-start {
    text-align: center !important;
  }

  .site-footer .text-md-end {
    text-align: center !important;
  }

  .footer-logo {
    margin: 0 auto 1rem;
  }

}
@media (max-width: 767px) {
  .container-fluid {
    padding-left: 30px !important;
    padding-right: 30px !important;
  }
  .section {
    padding: 30px 0;
  }

  .hero-logo img {
    width: 220px;
  }

  .hero .subtitle{
    line-height: 0.8;
  }

  .hero-cta-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  background: var(--color-primary);
  padding: 10px 25px;
  text-align: center;
  border-radius: 15px;
  margin: 0 10px;
  height: 65px;
  transform: translateY(-330%);
  margin-bottom: 2rem;  
}

.hero-cta-bar__icon svg {
    width: 40px;
    height: 40px;
  }

  .hero-cta-bar__link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
  }

  .hero-cta-bar__text {
    text-align: left;
    line-height: 1;
    font-size: 20px;
  }

    
    .apartments .section-title{
      font-size: 25px;
    }

  .hero-cta-bar__icon {
    flex-shrink: 0;
  }

  .form-wrapper {
    padding: 2rem 1.5rem;
    margin: 0 ;
  }

  .form-field input{
    font-size: 10px;
    padding: 10px 10px;
  }

  .form-field select{
    font-size: 11px;
    padding: 10px 10px;
  }

  .form-submit{
    font-size: 16px;
    padding: 10px;
  }

  .contact-form{
    border-radius: 0;
  }

  .presentation{
    padding-top: 80px;
  }
  .presentation .section-title {
    font-size: 40px;
  }

  .btn-cta-secondary {
  font-size: 1.3rem;
  padding: 2px 100px;
  font-weight: 800;

}

  .presentation-video-title, .section-title, .section-subtitle, .apt-desde,.apt-precio,.visit-subtitle,.faq .section-title,.contact-form__title{
    font-size: 25px;
    line-height: 1;
  }

  .apt-features li, .apt-room-item,.footer-links li a,.footer-links li{
    font-size: 14px;
  }
  .price-badge {
    padding: 1rem 1.5rem;
  }

  .apt-gallery {
    overflow: hidden;
    border-radius: var(--radius-md);
  }

  .apt-gallery__track {
    display: flex;
    transition: transform 0.4s ease;
    gap: 0;
  }

  .apt-gallery__item {
    flex: 0 0 100%;
    width: 100%;
  }

  .apt-gallery__item .apartment-card {
    border-radius: var(--radius-md);
  }

  .apt-gallery__item .apartment-card img {
    height: 70vh;
    width: 100%;
    object-fit: cover;
  }
  .apartment-card::after {
    display: none;
  }
  /* Flechas */
  .apt-gallery__prev,
  .apt-gallery__next {
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    border: none;
    color: var(--color-secondary);
    font-size: 2.5rem;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    background: none;
  }


  .apt-gallery__prev { left: 0px; }
  .apt-gallery__next { right: 0px; }

  /* Dots */
  .apt-gallery__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  position: absolute;  
  bottom: 14px;        
  left: 0;
  right: 0;
  margin-top: 0;
  }
  

  .apt-gallery__dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background: rgba(253,231,76,0.4);
    cursor: pointer;
    padding: 10px;
    transition: background 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .apt-gallery__dot.active {
    background: var(--color-secondary);
    transform: scale(1.2);
  }
  .zones-card {
    text-align: center;
  }
    .contact-form__text {
    padding: 0 0 2rem 0;
    text-align: center;
  }

    .footer-links {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* Facilidad de compra — ítems misma altura */
  .purchase-facility .row {
    align-items: stretch;
  }

  .purchase-facility .col-4 {
    display: flex;
  }

  .purchase-option {
    height: 100%;
    padding: 1rem 0.25rem;
    justify-content: flex-start; /* alinea desde arriba */
  }

  .purchase-icon svg {
    width: 36px !important;
    height: 36px !important;
  }

  .purchase-icon {
    width: auto;
    height: auto;
    margin-bottom: 6px;
  }

  .purchase-label {
    font-size: 12px;
    line-height: 1;
     white-space: nowrap;
  }

  .purchase-value {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
  }

  /* Título de la sección */
  .purchase-facility .section-title {
    font-size: 28px;
    margin-bottom: 0.5rem;
  }

  .visit-title{
    font-size: 40px;
  }

  .map-section {
    padding: 20px;
    overflow: hidden;
    background-color: var(--color-third);
  }

  .map-section iframe {
    border-radius: 20px;
    height: 200px;
  }
  .footer-links li{
    line-height: 1;
    gap: 2;
  }

  .footer-logo img{
    width: 114px;
  }
}

@media (max-width: 576px) {
  .floating-btn--map span:last-child { display: none; }
  .floating-btn--map {
    width: 58px;
    height: 58px;
    justify-content: center;
    min-width: 50px;
  }
}

/* === REDUCE MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* === ANIMACIONES === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content > * {
  animation: fadeInUp 0.8s ease forwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.3s; }
.hero-content > *:nth-child(3) { animation-delay: 0.5s; }
