/* ================================
   1. FUENTES LOCALES
   ================================ */

@font-face {
  font-family: "CeraPro";
  src: url("../fuentes/CeraPro-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "CeraPro";
  src: url("../fuentes/CeraPro-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "CeraPro";
  src: url("../fuentes/CeraPro-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Hamilton";
  src: url("../fuentes/Hamilton.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Karatone";
  src: url("../fuentes/Karatone.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Helpers de familia */
.font-cera {
  font-family: "CeraPro", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

.font-hamilton {
  font-family: "Hamilton", "CeraPro", system-ui, sans-serif;
}

.font-karatone {
  font-family: "Karatone", "CeraPro", system-ui, sans-serif;
}

/* ================================
   2. VARIABLES GLOBALES
   ================================ */

:root {
  /* Paleta principal (según imagen) */
  --color-verde-1: #1f2f22;
  --color-verde-2: #608368;
  --color-verde-3: #3c5846;
  --color-blanco: #ffffff;

  /* Derivados / neutros */
  --color-negro: #111111;
  --color-gris-100: #f4f4f4;
  --color-gris-200: #e5e5e5;
  --color-gris-300: #c9c9c9;
  --color-gris-400: #9b9b9b;

  /* Semánticos */
  --color-primary: var(--color-verde-2);
  --color-primary-dark: var(--color-verde-1);
  --color-primary-soft: var(--color-verde-3);
  --color-text-main: var(--color-verde-1);
  --color-text-muted: var(--color-gris-400);

  /* Fondo general */
  --color-background: #f7f7f7;

  /* Tipografía base */
  --font-primary: "CeraPro", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --font-display-1: "Hamilton", "CeraPro", system-ui, sans-serif;
  --font-display-2: "Karatone", "CeraPro", system-ui, sans-serif;

  /* Regla de 8px (espaciados) */
  --space-0: 0;
  --space-4: 4px;
  --space-8: 8px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;
  --space-56: 56px;
  --space-64: 64px;
}

/* ================================
   3. BASE / RESETEOS SUAVES
   ================================ */

html,
body {
  padding: 0;
  margin: 0;
  font-family: var(--font-primary);
  color: var(--color-text-main);
  background-color: var(--color-background);
}

body {
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  text-decoration: underline;
}

/* Encabezados usando CeraPro bold por defecto */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: var(--space-16);
}




/* ================================
   4. ESCALA TIPOGRÁFICA (fs-*)
   ================================ */

.fs-12 {
  font-size: 12px;
  line-height: 20px;
}

.fs-14 {
  font-size: 14px;
  line-height: 22px;
}

.fs-16 {
  font-size: 16px;
  line-height: 24px;
}

.fs-18 {
  font-size: 18px;
  line-height: 26px;
}

.fs-24 {
  font-size: 24px;
  line-height: 32px;
}

.fs-32 {
  font-size: 32px;
  line-height: 40px;
}

.fs-40 {
  font-size: 40px;
  line-height: 48px;
}

.fs-72 {
  font-size: 72px;
  line-height: 80px;
}

/* Pesos útiles */
.fw-regular {
  font-weight: 400;
}

.fw-medium {
  font-weight: 500;
}

.fw-semibold {
  font-weight: 600;
}

.fw-bold {
  font-weight: 700;
}

/* ================================
   5. UTILIDADES DE COLOR
   ================================ */

/* Textos */
.text-verde-1 {
  color: var(--color-verde-1) !important;
}
.text-verde-2 {
  color: var(--color-verde-2) !important;
}
.text-verde-3 {
  color: var(--color-verde-3) !important;
}
.text-blanco {
  color: var(--color-blanco) !important;
}
.text-muted-custom {
  color: var(--color-text-muted) !important;
}

/* Fondos */
.bg-verde-1 {
  background-color: var(--color-verde-1) !important;
}
.bg-verde-2 {
  background-color: var(--color-verde-2) !important;
}
.bg-verde-3 {
  background-color: var(--color-verde-3) !important;
}
.bg-blanco {
  background-color: var(--color-blanco) !important;
}
.bg-soft {
  background-color: var(--color-background) !important;
}

/* Bordes */
.border-verde-1 {
  border-color: var(--color-verde-1) !important;
}
.border-verde-2 {
  border-color: var(--color-verde-2) !important;
}
.border-verde-3 {
  border-color: var(--color-verde-3) !important;
}

/* ================================
   6. ESPACIADOS REGLA DE 8
   (además de las clases de Bootstrap)
   ================================ */

.gap-8 {
  gap: var(--space-8);
}
.gap-16 {
  gap: var(--space-16);
}
.gap-24 {
  gap: var(--space-24);
}
.gap-32 {
  gap: var(--space-32);
}
.gap-40 {
  gap: var(--space-40);
}

/* Padding vertical para secciones */
.section-padding {
  padding-top: var(--space-64);
  padding-bottom: var(--space-64);
}

.section-padding-sm {
  padding-top: var(--space-40);
  padding-bottom: var(--space-40);
}

/* Margen quick helpers (no chocan con Bootstrap) */
.mt-24x {
  margin-top: var(--space-24);
}
.mb-24x {
  margin-bottom: var(--space-24);
}
.mt-32x {
  margin-top: var(--space-32);
}
.mb-32x {
  margin-bottom: var(--space-32);
}

/* ================================
   7. COMPONENTES BASE
   ================================ */

/* Cards generales */
.card-custom {
  background-color: var(--color-blanco);
  border-radius: 16px;
  border: 1px solid var(--color-gris-200);
  padding: var(--space-24);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

/* Botón primario sobreescribiendo bootstrap */
.btn-primary {
  --bs-btn-color: var(--color-blanco);
  --bs-btn-bg: var(--color-primary);
  --bs-btn-border-color: var(--color-primary);
  --bs-btn-hover-bg: var(--color-primary-dark);
  --bs-btn-hover-border-color: var(--color-primary-dark);
  --bs-btn-active-bg: var(--color-primary-dark);
  --bs-btn-active-border-color: var(--color-primary-dark);
  --bs-btn-focus-shadow-rgb: 96, 131, 104; /* rgb de verde-2 */
  font-family: var(--font-primary);
  font-weight: 600;
  border-radius: 999px;
  padding-inline: var(--space-24);
  padding-block: 10px;
}

/* Botón secundario */
.btn-outline-primary {
  --bs-btn-color: var(--color-primary);
  --bs-btn-border-color: var(--color-primary);
  --bs-btn-hover-bg: var(--color-primary);
  --bs-btn-hover-color: var(--color-blanco);
  --bs-btn-hover-border-color: var(--color-primary);
  border-radius: 999px;
  padding-inline: var(--space-24);
  padding-block: 10px;
}

/* Badges / etiquetas */
.badge-pill {
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
}

/* ================================
   8. LAYOUTS / CONTENEDORES
   ================================ */

/* Contenedor ancho máximo más cómodo */
.container-narrow {
  max-width: 960px;
  margin-inline: auto;
}

/* Navbars con fondo blanco por defecto */
.navbar-custom {
  background-color: var(--color-blanco);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

/* Hero genérico (se puede ajustar por sección) */
.hero {
  padding-top: var(--space-64);
  padding-bottom: var(--space-64);
}

/* ================================
   9. UTILIDADES EXTRA
   ================================ */

.rounded-16 {
  border-radius: 16px !important;
}

.rounded-24 {
  border-radius: 24px !important;
}

.shadow-soft {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-verde-3);
  color: var(--color-blanco);
}

/* Para textos hero con display */
.display-hamilton {
  font-family: var(--font-display-1);
}

.display-karatone {
  font-family: var(--font-display-2);
}


/* ========================
   HEADER
   ======================== */
/* =====================================================
   HEADER ESTÁTICO CON FONDO VERDE OSCURO
   ===================================================== */
.header-site {
  width: 100%;
  background-color: var(--color-verde-1);
  padding-top: 16px;
  padding-bottom: 16px;
  position: fixed;      /* <<< antes absolute */
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;         /* <<< más alto que el menú */
}

/* Logo */
.header-logo {
  width: 38px;           /* ajustado a la proporción que veo en tu captura */
  height: auto;
  display: block;
}

/* Icono hamburguesa */
#menuToggle i {
  color: var(--color-blanco);
  line-height: 1;
}

/* Menú móvil */
.mobile-menu {
  position: fixed;
  inset: 0;
  transform: translateX(100%);
  transition: all 0.4s ease;
  z-index: 999;
  padding-top: 80px;
}

.mobile-menu.active {
  transform: translateX(0);
  margin-top: 68px;
}

.mobile-menu a {
  color: var(--color-blanco);
  font-size: 20px;
  text-decoration: none;
  display: block;
  padding: 12px 0;
  font-weight: 300;
}



/* ========================
   HERO
   ======================== */
.hero-home {
  height: 100vh;
  width: 100vw; /* ocupar todo el viewport horizontal */
  overflow: hidden;
  position: relative;
  background-color: var(--color-verde-1); /* mismo tono que el header */
}

.hero-desktop,
.hero-mobile {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-desktop img,
.hero-mobile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-logo {
  position: absolute;
  width: 40%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

@media (min-width: 768px) {
  .hero-logo {
    width: 25%;
  }
}
@media (max-width: 767px) {
  .hero-home {
    padding-top: 68px;
  }
}

/* ================================
   SECCIÓN INVITACIÓN
   ================================ */

.section-invitacion {
  background-color: #f6efe3; /* beige tipo papel */
  background-image: url(../imagenes/fondo.jpg);
}

/* Card principal */
.inv-card {
  margin: 0 auto;
  padding: 32px 24px 40px;
  border-radius: 24px;
}

/* Ilustración principal */
.inv-illustration{
    position: relative;
}
.inv-illustration img {
  width: 100%;
  max-width: 600px;
  height: auto;
  filter: opacity(0);
}
.inv-video {
    width: 100%;
    max-width: 600px;
    position: absolute;
    /* filter: blur(1px); */
    mix-blend-mode: darken;
    top: -4px;
    height: 800px !important;
}
.img-titulo{
  max-width: 800px;
  margin-top: 30px;
  margin-bottom:40px ;
  width: 100%;
}
/* Nombres con serif elegante (puedes usar Karatone si te gusta) */
.inv-names {
  font-family: var(--font-display-2); /* Karatone */
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  color: var(--color-verde-1);
  text-transform: uppercase;
}

.inv-and {
  font-family: var(--font-display-1); /* Hamilton */
  font-size: 72px;
  letter-spacing: 0.1em;
  color: var(--color-verde-2);
}

/* Pastilla de fecha */
.inv-date-pill {
  padding: 10px 24px;
  border-radius: 0px;
  border: 1px solid var(--color-verde-2);
  color: var(--color-verde-2);
  font-size: 16px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-align: center;
font-weight: bold;
}

/* Contador */
.inv-counter-box {
  background-color: var(--color-verde-1);
  color: var(--color-blanco);
  padding: 16px 8px;
  border-radius: 4px;
}

.inv-counter-box .fs-24 {
  font-family: var(--font-display-2);
  font-size: 40px !important;
}
.titulo-principal{
    margin-top: -270px;
}

/* Base para animaciones on-scroll */




.inv-illustration{
  position: relative;
  background: transparent;         /* o pon un color si quieres “mezclar” contra algo */
}

.inv-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  mix-blend-mode: darken !important;
  opacity: .95;                    /* a veces ayuda a que el darken se perciba */
  pointer-events: none;
  z-index: 1;
}

.inv-illustration img{
  position: relative;
  z-index: 2;                      /* la imagen queda encima */
}



@media (min-width: 768px) {
  .inv-card {
    padding: 40px 48px 48px;
  }

  .inv-names {
    font-size: 40px;
  }

  .inv-date-pill {
    font-size: 24px;
    font-weight: bold;
  }
  .invCountdown{
    width: 100%;
    max-width: 700px;
  }
}

@media (max-width: 768px) {
    .inv-illustration img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    .inv-video {
        width: 100%;
        max-width: 100%;
        top: -4px;
        height: auto !important;
    }
    .section-invitacion .container{
        max-width: 100%;
    }
    .invCountdown{
        width: 100%;
        max-width: 100%;
    }
    .section-invitacion .fs-72{
        font-size: 60px;
        line-height: 60px;
    }
 
}
@media (max-width: 580px) {
  
    .titulo-principal{
        margin-top: -120px;
    }
    .inv-card {
        padding: 0px;
    }
 
}

@media (max-width: 480px) {
  
    .titulo-principal{
        margin-top: -120px;
    }
    .section-invitacion .fs-72{
        font-size: 42px;
        line-height: 40px;
    }
    .section-invitacion .fs-24{
        font-size: 18px;
        line-height: 26px;
    }
    .inv-and{
        font-size: 42px;
        line-height: 70px;
    }
}

/* ================================
   SECCIÓN GALERÍA
   ================================ */
.section-gallery {
  position: relative;
  background-color: var(--color-verde-2);
  background-image: url(/src/imagenes/fondo-verde.jpg);
  background-size: cover;
  color: var(--color-blanco);
  padding-top: 72px;
  padding-bottom: 72px;
}

/* Separador tipo ondas en la parte superior */
.section-gallery::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 100%;
  height: 24px;
  background:
    radial-gradient(circle at 12px 12px, #608368 12px, transparent 13px);
  background-size: 24px 24px;
  background-repeat: repeat-x;
  transform: translateY(-100%);
}

/* Texto */
.gallery-text p {
  max-width: 640px;
  margin: 0 auto;
}

/* Viewport del carrusel */
.gallery-viewport {
  overflow-x: auto;
  overflow-y: visible;
  padding-bottom: 16px;
  margin-inline: -16px;
  padding-inline: 16px;
  scroll-snap-type: x mandatory;
}

/* Track */
.gallery-track {
  display: flex;
  align-items: stretch;
  gap: 24px;
}

/* Cada ítem */
.gallery-item {
  flex: 0 0 80%;               /* móvil: ocupa 80% y deja ver overflow */
  scroll-snap-align: center;
}

/* Marco blanco de la foto */
.gallery-photo-frame {
  background-color: #ffffff;
  padding: 16px;
  border-radius: 4px;
}

/* Imagen */
.gallery-photo-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* Desktop: 3 fotos completas + overflow de las demás */
@media (min-width: 768px) {
  .gallery-viewport {
    overflow: hidden;
    margin-inline: 0;
    padding-inline: 0;
  }

  .gallery-track {
    gap: 32px;
  }

  .gallery-item {
    flex: 0 0 calc(33.333% - 21.333px); /* 3 por fila con gap */
    scroll-snap-align: none;
  }
}

@media (max-width: 768px) {

    .section-gallery .container{
        max-width: 100%;
    }

 
}

/* ================================
   SECCIÓN ITINERARIO
   ================================ */

.section-itinerario {
  position: relative;
  background-color: var(--color-verde-1);
  color: var(--color-blanco);
  padding-top: 80px;
  padding-bottom: 80px;
}

/* ondas arriba y abajo */
/* ————————————————
   CURVA SUPERIOR
   ———————————————— */
.section-itinerario::before {
    content: "";
    position: absolute;
        top: 10px !important;
    transform: translateX(-50%);
    width: 100%;
    height: 60px;
    background-color: var(--color-verde-1);
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
    z-index: 1;
}

/* ————————————————
   CURVA INFERIOR
   ———————————————— */
.section-itinerario::after {
  content: "";
  position: absolute;
bottom: 10px !important;           /* saca la curva hacia abajo */
  transform: translateX(-50%);
  width: 100%;
  height: 60px;
  background-color: var(--color-verde-1);
  border-top-left-radius: 50%;
  border-top-right-radius: 50%;
  z-index: 1;
}
/* arriba (se ve el beige de la sección anterior) */
.section-itinerario::before {
  top: 0;
  transform: translateY(-100%);
}

/* abajo (onda hacia la siguiente sección beige) */
.section-itinerario::after {
  bottom: 0;
  transform: translateY(100%) rotate(180deg);
}

/* cards del itinerario */
.it-card {
  max-width: 340px;
}

.it-icon img {
  width: 140px;
  height: auto;
  margin-inline: auto;
}

/* botón "Ver ubicación" */
.btn-it-ubicacion {
  display: inline-block;
  padding: 8px 24px;
  border-radius: 999px;
  background-color: var(--color-blanco);
  color: var(--color-verde-1);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.btn-it-ubicacion:hover {
  background-color: #f6efe3;
  color: var(--color-verde-1);
  text-decoration: none;
}

/* en mobile sigue siendo 1 columna (#bootstrap hace el stack con col-12) */
@media (max-width: 767px) {
  .section-itinerario {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .it-icon img {
    width: 120px;
  }
}

/* ================================
   SECCIÓN CÓDIGO DE VESTIMENTA
   ================================ */

.section-vestimenta {
  background-color: #f6efe3;
  background-image: url("../imagenes/fondo.jpg"); /* mismo papel que invitación */
}

/* Títulos "Código de vestimenta" */
.dresscode-title {
  line-height: 1.1;
}

/* Subtítulo FORMAL ELEGANTE */
.dresscode-subtitle {
  font-family: var(--font-display-2); /* Karatone */
  font-size: 28px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Ilustración izquierda */
.dresscode-illustration img {
  max-width: 320px;
  height: auto;
}

/* Título "SUGERENCIA DE COLORES" reutiliza estilo inv-names */
.dresscode-colors-title {
  letter-spacing: 0.18em;
  font-size: 20px;
}

/* Pastillas de color */
.dresscode-color-pill {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: inline-block;
}

/* Colores sugeridos (ajusta si tienes hex específicos) */
.color-oro   { background-color: #a96a1e; }
.color-rojo  { background-color: #a52a2a; }
.color-azul  { background-color: #0c7ea8; }
.color-lila  { background-color: #9a69b3; }
.color-verde { background-color: #6aa48a; }

@media (max-width: 767.98px) {
  .dresscode-subtitle {
    font-size: 22px;
  }

  .dresscode-illustration img {
    max-width: 260px;
  }

  .dresscode-colors-title {
    font-size: 18px;
  }

  .dresscode-color-pill {
    width: 56px;
    height: 56px;
  }
  .section-vestimenta .text-left{
    text-align: center !important;
    margin-top: 20px;
  }
}

/* ================================
   SECCIÓN SUGERENCIA DE REGALOS
   ================================ */

.section-regalos {
  position: relative;
  background-color: var(--color-verde-1);
  /* Fondo general de la sección (textura verde) */
  background-image: url("../imagenes/fondo-3.jpg");
  background-size: cover;
  background-position: center;
  padding-top: 80px;
  padding-bottom: 80px;
}

/* Contenedor del ticket (estampilla) */
.gift-ticket {
  width: 100%;
  max-width: 650px;
  /* Imagen del ticket con los bordes perforados */
  background-image: url("../imagenes/ticket.jpg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  padding: 56px 32px 64px;
  color: var(--color-verde-1);
}

/* Texto intro dentro del ticket */
.gift-intro,
.gift-text {
  max-width: 640px;
}

/* Logos de tiendas */
.gift-store-logo {
  max-width: 260px;
  width: 100%;
  height: auto;
}

/* Botón "Ver aquí" (sobre-escribimos un poco Bootstrap) */
.gift-btn {
  background-color: var(--color-verde-1);
  color: var(--color-blanco);
  border-radius: 999px;
  padding: 8px 28px;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
}

.gift-btn:hover {
  background-color: var(--color-verde-3);
  color: var(--color-blanco);
}

/* Tarjeta bancaria */
.gift-card-wrapper {
  max-width: 420px;
  width: 100%;
}

.gift-card-img {
  width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ------- Responsive ------- */

@media (max-width: 767px) {
  .section-regalos {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .section-regalos .display-karatone{
    font-size: 45px;
  }

  .gift-ticket {
    padding: 40px 20px 48px;
    background-size: 100% 100%;
  }

  .gift-intro,
  .gift-text {
    font-size: 14px;
    line-height: 22px;
  }

  .gift-store-logo {
    max-width: 220px;
  }
}

/* ================================
   SECCIÓN IMPORTANTE
   ================================ */

.section-important {
  background-image: url("../imagenes/fondo.jpg"); /* mismo papel que invitación */
  background-size: cover;
  background-repeat: repeat;
  background-position: center;
}

/* Bloque genérico */
.important-block {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Subtítulo tipo script (Menú, No niños, Música) */
.important-subtitle {
  letter-spacing: 0.05em;
}

/* Iconos */
.important-icon img {
  max-width: 260px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

/* Texto de párrafos largos */
.important-text {
  max-width: 620px;
}

/* Botón “Sugerir canción” */
.btn-important {
  display: inline-block;
  padding: 10px 32px;
  border-radius: 999px;
  border: none;
  background-color: var(--color-verde-1);
  color: var(--color-blanco);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn-important:hover {
  background-color: var(--color-verde-3);
  color: var(--color-blanco);
  text-decoration: none;
}

/* Un poco de ajuste para pantallas pequeñas */
@media (max-width: 576px) {

  .important-text {
    font-size: 16px;
  }

  .important-icon img {
    max-width: 220px;
  }
}

/* ================================
   SECCIÓN ASISTENCIA / RSVP FINAL
   ================================ */

.section-asistencia {
  position: relative;
  background-color: var(--color-verde-2);   /* verde que ya usas */
  background-image: url(/src/imagenes/fondo-verde.jpg);
  color: var(--color-blanco);
  padding-top: 72px;
  padding-bottom: 0;

}



/* Pleca de circulitos arriba */
.section-asistencia::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 100%;
  height: 24px;
  background:
    radial-gradient(circle at 12px 12px, #608368 12px, transparent 13px);
  background-size: 24px 24px;
  background-repeat: repeat-x;
  transform: translateY(-100%);
}

/* Texto principal */
.asistencia-text p,
.asistencia-text h2 {
  margin-left: auto;
  margin-right: auto;
  max-width: 640px;
}

/* Botones */
.btn-asistencia {
  background-color: var(--color-verde-1);
  border: 1px solid var(--color-verde-1);
  color: var(--color-blanco);
  border-radius: 0;
  padding: 12px 40px;
  font-family: var(--font-display-2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 16px;
}

.btn-asistencia:hover {
  background-color: #121b14;
  border-color: #121b14;
  color: var(--color-blanco);
}

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

.btn-asistencia-outline:hover {
  background-color: var(--color-blanco);
  color: var(--color-verde-1);
}

/* Tarjetas con moño */
.asistencia-card-wrapper {
  display: flex;
  justify-content: center;
}

.asistencia-card-img {
  width: 100%;
  max-width: 620px;
  height: auto;
  display: block;
}

/* Imagen inferior: papel roto + botella + verde oliva */
.asistencia-bottom {
  width: 100%;
  background-image: url("../imagenes/fondo-botella.png");
  background-repeat: no-repeat;
  background-size: cover;        /* se estira para llenar el ancho */
  background-position: center top;
  /* Altura base pensada para un PNG de ~2000px ancho */
  min-height: 320px;
}

/* Desktop: un poco más alta */
@media (min-width: 768px) {
  .section-asistencia {
    padding-top: 96px;
  }

  .asistencia-bottom {
    min-height: 420px;
  }
}

/* Estado base para animaciones on-scroll */
[data-anim]{
  opacity: 0;
  visibility: hidden;
}

.anim-hidden{
  opacity: 0;
  visibility: hidden;
}

.anim-visible{
  opacity: 1;
  visibility: visible;
}

.animate__animated{
  backface-visibility: hidden;
  transform: translateZ(0);
}


.anim-init{
  opacity: 0;
  transform: translateY(12px);
  will-change: transform, opacity;
}

.anim-ready{
  opacity: 1;
  transform: none;
}

/* ===== Animaciones on-scroll (clases que usa el JS FINAL) ===== */


/* Opcional: evita flashes raros de animate.css */
.animate__animated{
  backface-visibility: hidden;
  transform: translateZ(0);
}


/* ===============================
   Animate.css helper (ESTABLE)
   =============================== */

/* estado oculto inicial */
.anim-hidden{
  opacity: 0;
  visibility: hidden;
}

/* estado visible (ya en pantalla) */
.anim-visible{
  opacity: 1;
  visibility: visible;
}

/* opcional: mejora rendimiento/fluidez */
.anim-hidden,
.anim-visible{
  will-change: opacity, transform;
}

@media (max-width: 768px) {
  .container{
    overflow: hidden;
  }
}