/* ============================
   RESET BÁSICO
   ============================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #050508;
  color: #f5f5f5;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  padding: 0;
  margin: 0;
  list-style: none;
}

/* ============================
   VARIABLES
   ============================ */
:root {
  --bg-main: #050508;
  --bg-alt: #0e0f13;
  --bg-light: #f6f6f6;
  --text-main: #f5f5f5;
  --text-muted: #b4b4c0;
  --text-dark: #111111;
  --gold: #d4af37;
  --gold-soft: #f1d787;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.45);
}

/* ============================
   LAYOUT BASE
   ============================ */
.container {
  width: min(1120px, 100% - 2.8rem);
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

.section-light {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.section-dark {
  background: radial-gradient(circle at top left, #26211a 0, #050508 45%, #050508 100%);
  color: var(--text-main);
}

.section-cta {
  background: linear-gradient(135deg, #111111, #26211a);
  color: var(--text-main);
}

/* ============================
   HEADER / NAV
   ============================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: linear-gradient(
    to bottom,
    rgba(5, 5, 8, 0.96),
    rgba(5, 5, 8, 0.88),
    rgba(5, 5, 8, 0)
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.85rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.logo-mark {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.6);
  position: relative;
  overflow: hidden;
}

.logo-mark::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 20% 0, rgba(241, 215, 135, 0.9), transparent 55%),
    radial-gradient(circle at 80% 100%, rgba(212, 175, 55, 0.9), transparent 60%);
}

.logo-text {
  font-weight: 600;
}

/* NAV */
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.9rem;
}

.main-nav a {
  position: relative;
  color: var(--text-muted);
  transition: color 0.2s ease-out;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  border-radius: 999px;
  transition: width 0.2s ease-out;
}

.main-nav a:hover {
  color: #ffffff;
}

.main-nav a:hover::after {
  width: 22px;
}

.nav-cta {
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.75);
  color: #fff;
  background: radial-gradient(circle at 0 0, rgba(241, 215, 135, 0.16), transparent 60%);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  margin-block: 4px;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ============================
   HERO
   ============================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 5.5rem 0 4rem;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden; /* para que el video no se salga */
}

/* el video ocupa todo el fondo */
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;              /* rellena sin deformar */
  filter: grayscale(20%) contrast(1.05);
  transform: scale(1.03);
  animation: heroZoom 20s ease-in-out infinite alternate;
  will-change: transform;
}


@keyframes heroZoomForward {
  0%   { transform: scale(1.0); }
  100% { transform: scale(1.18); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(5, 5, 8, 0.55), rgba(5, 5, 8, 0.65), rgba(5, 5, 8, 0.6)),
    radial-gradient(circle at 0 0, rgba(241, 215, 135, 0.15), transparent 65%);
  mix-blend-mode: multiply;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: var(--gold-soft);
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  max-width: 34rem;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  max-width: 32rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.hero-note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-stats {
  display: flex;
  gap: 1.8rem;
  flex-wrap: wrap;
}

.stat {
  padding-block: 0.4rem;
}

.stat-value {
  display: block;
  font-size: 1.4rem;
  font-weight: 600;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}


/* ===== Animaciones de entrada del hero ===== */

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-35px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(35px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* eyebrow desde la derecha */
.hero .eyebrow {
  animation: slideInRight 1.6s ease-out 0.1s forwards;
}

/* h1 desde la izquierda */
.hero h1 {
  animation: slideInLeft 1.6s ease-out 0.2s forwards;
}

/* subtítulo desde la derecha */
.hero .hero-subtitle {
  animation: slideInRight 1.6s ease-out 0.3s forwards;
}

/* stats desde la izquierda */
.hero .hero-stats {
  animation: slideInLeft 1.6s ease-out 0.4s forwards;
}

/* ============================
   BOTONES
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    transform 0.12s ease-out,
    box-shadow 0.12s ease-out,
    background 0.2s ease-out,
    border-color 0.2s ease-out;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: #111;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.55);
}

.btn-outline {
  border-color: rgba(212, 175, 55, 0.7);
  color: var(--gold-soft);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.08);
}

.btn-large {
  padding-inline: 1.9rem;
  padding-block: 1rem;
  font-size: 1rem;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--gold);
}

.btn-link::after {
  content: "↗";
  font-size: 0.85em;
}

/* ============================
   SECCIONES GENERALES
   ============================ */
.section-header {
  text-align: left;
  margin-bottom: 2.4rem;
}

.section-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
}

.section-header p {
  max-width: 32rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.section-light .section-header p {
  color: #6b6b77;
}

.section-grid {
  display: grid;
  gap: 2.4rem;
}

.section-text p {
  margin-bottom: 1rem;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
}

.check-list li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.check-list li::before {
  content: "▪";
  position: absolute;
  left: 0;
  top: 0.18rem;
  color: var(--gold);
}

.section-card {
  padding: 1.5rem 1.6rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.section-light .section-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
}

.section-card h3 {
  margin-top: 0;
  margin-bottom: 0.65rem;
  font-size: 1.1rem;
}

.mini-highlight {
  margin-top: 1.2rem;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  background: radial-gradient(circle at 0 0, rgba(212, 175, 55, 0.18), transparent 60%);
  font-size: 0.86rem;
  display: inline-flex;
  gap: 0.5rem;
}

.mini-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.mini-value {
  font-weight: 500;
}

/* ============================
   CARDS CARACTERÍSTICAS
   ============================ */
.card-grid {
  display: grid;
  gap: 1.6rem;
}

.feature-card {
  padding: 1.5rem 1.6rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at 0 0, rgba(212, 175, 55, 0.12), rgba(14, 15, 19, 0.92));
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.feature-card p {
  font-size: 0.94rem;
  color: var(--text-muted);
}

/* ============================
   UNIDADES
   ============================ */
.unit-grid {
  display: grid;
  gap: 1.8rem;
}

.unit-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  display: grid;
}

.unit-media {
  position: relative;
  min-height: 160px;
  background-size: cover;
  background-position: center;
}

.unit-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.65));
}

.unit-media-2 {
  background-image: url("https://images.pexels.com/photos/439227/pexels-photo-439227.jpeg");
}

.unit-media-3 {
  background-image: url("https://images.pexels.com/photos/439391/pexels-photo-439391.jpeg");
}

.unit-media-4 {
  background-image: url("https://images.pexels.com/photos/1571460/pexels-photo-1571460.jpeg");
}

.unit-tag {
  position: absolute;
  bottom: 1.1rem;
  left: 1.2rem;
  z-index: 2;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(255, 255, 255, 0.88);
  color: #111;
}

.unit-body {
  padding: 1.6rem 1.6rem 1.5rem;
}

.unit-body h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}

.unit-body p {
  margin-bottom: 0.8rem;
  font-size: 0.93rem;
}

.unit-note {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: #888899;
}

/* ============================
   DETALLES / LISTAS
   ============================ */
.details-grid {
  display: grid;
  gap: 1.8rem;
}

.detail-block {
  padding: 1.6rem 1.7rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: rgba(14, 15, 19, 0.96);
}

.detail-block h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
}

.bullet-list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.45rem;
  font-size: 0.93rem;
}

.bullet-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.18rem;
  color: var(--gold);
}

.steps-list {
  counter-reset: step;
}

.steps-list li {
  counter-increment: step;
  margin-bottom: 0.55rem;
  padding-left: 1.6rem;
  position: relative;
  font-size: 0.93rem;
}

.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.9);
  font-size: 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ============================
   CTA SECCIONES
   ============================ */
.section-cta .cta-inner {
  display: grid;
  gap: 1.4rem;
  align-items: center;
}

.section-cta h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.7rem;
  margin: 0 0 0.6rem;
}

.section-cta p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.section-light.section-cta p {
  color: #6b6b77;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

.cta-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.final-cta {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ============================
   UBICACIÓN
   ============================ */
.location-grid {
  display: grid;
  gap: 2rem;
}

.location-note {
  margin-top: 0.8rem;
  font-size: 0.86rem;
  color: #6b6b77;
}

.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.map-placeholder {
  background: linear-gradient(135deg, #111111, #26211a);
  padding: 2.6rem 2rem;
  color: #f5f5f5;
  text-align: left;
}

.map-placeholder p {
  margin: 0 0 0.4rem;
  font-weight: 500;
}

.map-placeholder span {
  font-size: 0.9rem;
  color: #c3c3cc;
}

/* ============================
   ASESORÍA / TESTIMONIOS
   ============================ */
.advisory-grid {
  display: grid;
  gap: 1.8rem;
  margin-bottom: 2rem;
}

.advisory-block {
  padding: 1.6rem 1.7rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: rgba(14, 15, 19, 0.96);
}

.advisory-block h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
}

.testimonials {
  display: grid;
  gap: 1.2rem;
}

.testimonial {
  margin: 0;
}

.testimonial blockquote {
  margin: 0 0 0.5rem;
  font-size: 0.93rem;
  color: var(--text-muted);
}

.testimonial figcaption {
  font-size: 0.85rem;
  color: #d2d2dd;
}

.advisory-cta {
  text-align: left;
}

/* ============================
   FOOTER
   ============================ */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2.8rem 0 2rem;
  background-color: #050508;
}

.footer-inner {
  display: grid;
  gap: 1.8rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 20rem;
}

.footer-contact h3 {
  margin-top: 0;
  font-size: 1rem;
}

.footer-contact ul li {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.footer-contact a {
  color: var(--gold);
}

.footer-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-copy {
  margin-bottom: 0.4rem;
}

.footer-small {
  margin: 0;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 767px) {
  .main-nav {
    position: fixed;
    inset: 56px 0 auto;
    transform: translateY(-120%);
    transition: transform 0.22s ease-out;
    background: rgba(5, 5, 8, 0.98);
    flex-direction: column;
    padding: 0.8rem 1.6rem 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .main-nav a {
    padding-block: 0.45rem;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
  }

  .site-header.nav-open .main-nav {
    transform: translateY(0%);
  }

  .site-header.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(3px) rotate(45deg);
  }

  .site-header.nav-open .nav-toggle span:nth-child(2) {
    transform: translateY(-3px) rotate(-45deg);
  }

  .hero {
    text-align: left;
  }

  .hero-stats {
    gap: 1.2rem;
  }

  .section {
    padding: 3.6rem 0;
  }

  .section-card {
    order: -1;
  }

  .unit-card {
    grid-template-columns: 1fr;
  }

  .map-placeholder {
    padding: 2rem 1.6rem;
  }

  /* video hero en mobile */
  .hero-video {
    max-width: 100%;
    margin-top: 1.4rem;
  }
}

@media (min-width: 768px) {
  .hero {
    padding: 6.3rem 0 5rem;
  }

  .hero-content {
    max-width: 42rem;
  }

  .section-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: center;
  }

  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .unit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .unit-card {
    grid-template-rows: auto 1fr;
  }

  .details-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .section-cta .cta-inner {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  }

  .location-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
  }

  .advisory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns:
      minmax(0, 1.1fr)
      minmax(0, 1.2fr)
      minmax(0, 1fr);
    align-items: flex-start;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3.1rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }
}

/* ===== Video del hero ===== */
.hero-video {
  margin-top: 1.8rem;
  max-width: 100%;
}

.hero-content .hero-video {
  display: block;
}

.hero-video-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
}

.hero-video-inner video,
.hero-video-inner iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
  border: 0;
}

/* ===== Centrado de la sección 2: CARACTERÍSTICAS (solo desktop) ===== */
@media (min-width: 1024px) {
  #caracteristicas .section-header {
    text-align: center;
  }

  #caracteristicas .section-header p {
    margin-left: auto;
    margin-right: auto;
  }

  #caracteristicas .card-grid {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    justify-items: center;
  }
}

/* ===== PRESENTACIÓN: imagen + texto a la derecha ===== */
/* SECCIÓN PRESENTACIÓN CON FONDO */

#presentacion {
  position: relative;
  z-index: 3;
  margin-top: -80px;
  padding-top: 6rem;
  padding-bottom: 5rem;
  overflow: hidden; /* por si la imagen se sale un poco */
}

/* capa de imagen de fondo */
#presentacion::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/fondo-blanco.svg"); /* 👉 cambialo por tu imagen */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.10; /* más alto = más fuerte la foto */
  z-index: 0;
}

/* el contenido por encima de la imagen */
#presentacion .presentacion-layout {
  position: relative;
  z-index: 1;
}

.presentacion-layout {
  display: grid;
  gap: 2.4rem;
  align-items: center;
}

/* imagen rectangular con sombra */
.presentacion-media {
  max-width: 520px;
}

.presentacion-media img {
  width: 100%;
  display: block;
  border-radius: 20px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35);
}

/* texto – estado inicial (oculto un poco hacia abajo) */
.presentacion-text {
  text-align: left;
  opacity: 0;
  transform: translateY(24px);
}

/* cuando entra en pantalla (scroll) */
.presentacion-text.is-visible {
  animation: slideUpPresentacion 1.1s ease-out forwards;
}

/* animación de deslizamiento de abajo hacia arriba */
@keyframes slideUpPresentacion {
  0% {
    opacity: 0;
    transform: translateY(28px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* layout desktop: imagen izq, texto der */
@media (min-width: 1024px) {
  .presentacion-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
  }

  .presentacion-media {
    justify-self: flex-start;
    transform: translateY(-40%);
  }

  .presentacion-text {
    max-width: 480px;
    justify-self: flex-end;
  }
}

/* layout mobile/tablet */
@media (max-width: 1023px) {
  .presentacion-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .presentacion-media {
    max-width: 100%;
    transform: translateY(-8%);
  }

  .presentacion-text {
    margin-top: 0.5rem;
  }
}

/* ===== Ajuste del HERO después de agregar la imagen de la sección 1 ===== */
.hero {
  padding-top: 3.5rem !important;    /* menos aire arriba */
  padding-bottom: 8rem !important;   /* más aire abajo */
}

/* ===== Scroll reveal genérico (de abajo hacia arriba) ===== */

.js-reveal-up {
  opacity: 0;
  transform: translateY(24px);
}

.js-reveal-up.is-visible {
  animation: revealUp 0.9s ease-out forwards;
}

@keyframes revealUp {
  0% {
    opacity: 0;
    transform: translateY(28px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Stagger: que las 6 cards entren una por una ===== */

#caracteristicas .feature-card.js-reveal-up.is-visible:nth-child(1) {
  animation-delay: 0s;
}

#caracteristicas .feature-card.js-reveal-up.is-visible:nth-child(2) {
  animation-delay: 0.25s;
}

#caracteristicas .feature-card.js-reveal-up.is-visible:nth-child(3) {
  animation-delay: 0.50s;
}

#caracteristicas .feature-card.js-reveal-up.is-visible:nth-child(4) {
  animation-delay: 0.100s;
}

#caracteristicas .feature-card.js-reveal-up.is-visible:nth-child(5) {
  animation-delay: 0.125s;
}

#caracteristicas .feature-card.js-reveal-up.is-visible:nth-child(6) {
  animation-delay: 0.75s;
}



/* ===== Stagger de las 3 unidades en GALERÍA ===== */

#galeria .unit-card.js-reveal-up.is-visible:nth-child(1) {
  animation-delay: 0s;
}

#galeria .unit-card.js-reveal-up.is-visible:nth-child(2) {
  animation-delay: 0.14s;
}

#galeria .unit-card.js-reveal-up.is-visible:nth-child(3) {
  animation-delay: 0.8s;
}
/* ===== Fondo con imagen en la sección GALERÍA ===== */

#galeria {
  position: relative;
  overflow: hidden;
}


/* capa de imagen + velo clarito para que siga siendo “light” */
#galeria::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/fondo-blanco.svg"); /* 👉 cambialo por tu imagen */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.10; /* más alto = más fuerte la foto */
  z-index: 0;
}

/* que el contenido quede por encima de la imagen */
#galeria .container {
  position: relative;
  z-index: 1;
}


/* ===== Stagger de las 3 cards en DETALLES ===== */

#detalles .detail-block.js-reveal-up.is-visible:nth-child(1) {
  animation-delay: 0s;
}

#detalles .detail-block.js-reveal-up.is-visible:nth-child(2) {
  animation-delay: 0.1s;
}

#detalles .detail-block.js-reveal-up.is-visible:nth-child(3) {
  animation-delay: 0.2s;
}

/* ===== Fondo con imagen en la sección UBICACIÓN ===== */

#ubicacion {
  position: relative;
  overflow: hidden;
}

/* capa de imagen + velo claro (para que siga siendo “section-light”) */
#ubicacion::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/fondo-blanco.svg"); /* 👉 cambialo por tu imagen */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.10; /* más alto = más fuerte la foto */
  z-index: 0;
}

/* que el contenido quede por encima de la imagen */
#ubicacion .container {
  position: relative;
  z-index: 1;
}

/* Stagger en la sección ASESORÍA */
#asesoria .section-header.js-reveal-up.is-visible {
  animation-delay: 0s;
}

#asesoria .advisory-block.js-reveal-up.is-visible {
  animation-delay: 0.1s;
}

#asesoria .advisory-cta.js-reveal-up.is-visible {
  animation-delay: 0.2s;
}
