body{
    font-family: "Poppins", sans-serif;
    font-weight: 100;
    margin: 0;
    color: #505050
}
.cursiva{
    font-family: "Alex Brush", cursive;
}

p{
    font-weight: 300;
}

  
  /* Título superior */
  .img_inicial h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
  }
  
  .img_inicial h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    letter-spacing: 2px;

  }
  
  /* Nombres en cursiva */
  .img_inicial .cursiva {
    font-size: 3rem;
    font-style: italic;
    font-family: "Alex Brush", cursive;
    margin: 0;
  }
  
  .pie{
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .parrafo h1{
    color: #7b8276;
    text-align: center;
    font-size: 3rem;
  }

  .parrafo p{
text-align: center;
padding: 0 30px;
  }

  .icon{
    padding: 0 100px;
  }

  h2{
    text-align: center;
    letter-spacing: 7px;
  }

  .recepcion {
    text-align: center;
    color: #505050;
    margin-top: 40px;
  }
  .recepcionimg{
    margin-top: 40px;
    margin-bottom: -20px;
  }
  /* Título */
  .recepcion h2, .rsvp h2, .verde h2 {
    font-size: 1rem;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 20px;
  }
  
  .fecha_recepcion {
    display: flex;
    justify-content: center; /* centra horizontalmente */
    align-items: center;      /* alinea verticalmente */
    gap: 40px;                /* espacio entre fecha y hora */
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 1.2rem;
    text-align: center;       /* asegura el centrado del texto interno */
  }
  
  .fecha_recepcion .fecha,
  .fecha_recepcion .hora {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .fecha_recepcion .fecha::after {
    content: "";
    width: 1px;
    height: 25px;
    background-color: #999;
    display: inline-block;
    margin-left: 20px;  /* separa el divisor de la fecha */
  }
  
  
  /* Dirección */
  .recepcion .direccion {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.5;
    max-width: 320px;
    margin: 0 auto 25px;
  }
  
  /* Botón */
  .boton_ubicacion {
    display: inline-block;
    background-color: #8b8f84;  /* gris verdoso suave */
    color: white;
    text-decoration: none;
    padding: 10px 30px;
    border-radius: 3px;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background-color 0.3s;
    margin-bottom: 50px;
    font-weight: 300;
    
  }
  
  .boton_ubicacion:hover {
    background-color: #6f736a;
  }
  
  .celebracion{
    margin-top: 30px;
    margin-bottom: -30px;
  }

  .civil{
    margin-bottom: -30px;
  }
  .hora span {
    font-size: 0.7em;     /* más pequeño que el texto principal */
    letter-spacing: 1px;        /* tono más claro */
  }
.recepcion p{
    margin: 0;
}

.verde{
    background-color: #8b8f84;
    color: white;
    padding-top: 50px;
    padding-bottom: 50px;
}

.verde p{
    text-align: center;
    padding: 0 30px;
}

.amazon{
    width: 100%;
    max-height: 50px;
    text-align: center;
    margin-top: 30px;
}

h2.rsvp__title {
    color: var(--olive);
}

/* CSS */
:root{
    --olive:#8b8f84;      /* color de los círculos */
    --text:#333;
    --muted:#6f6f6f;
  }
  
  .countdown{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:clamp(18px,6vw,90px);
    padding:20px 10px;
    text-align:center;
    font-family:'Playfair Display', serif;
  }
  
  .cd-unit{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:12px;
  }
  
  .cd-bubble{
    width:clamp(70px,14vw,120px);
    height:clamp(70px,14vw,120px);
    border-radius:50%;
    background:var(--olive);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:clamp(22px,4.5vw,40px);
    font-weight:300;
    line-height:1;
    box-shadow:0 2px 6px rgba(0,0,0,.06);
  }
  
  .cd-label{
    color:var(--muted);
    letter-spacing:2px;
    font-size:clamp(10px,2vw,14px);
  }
  
  /* Opcional: apila en pantallas muy pequeñas */
  @media (max-width:520px){
    .countdown{ gap:26px; flex-wrap:wrap; }
  }
  
  /* slider.css */
:root{
    --w: min(92vw, 420px);
    --h: calc(var(--w) * 1.05);
    --arrow:#bcbfb6;       /* gris verdoso */
    --dot:#c7cbc2;
    --dot-active:#8b8f84;
  }
  
  * { box-sizing: border-box; }
  
  .slider{
    width: var(--w);
    margin: 24px auto;
    position: relative;
    user-select: none;
    touch-action: pan-y;
    font-family: system-ui, sans-serif;
  }
  
  .viewport{
    width: 100%;
    height: var(--h);
    overflow: hidden;
    border-radius: 10px;
    background: #f6f6f6;
    box-shadow: 0 4px 18px rgba(0,0,0,.08);
  }
  
  .track{
    display: flex;
    width: 100%;
    height: 100%;
    transform: translateX(0);
    transition: transform .45s ease;
  }
  
  .slide{
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
  }
  
  .slide img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  /* Flechas */
  .nav{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px; height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.85);
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
    color: var(--arrow);
    font-size: 30px;
    line-height: 42px;
    cursor: pointer;
    z-index: 3;
    transition: background .2s, transform .2s;
  }
  .nav:hover{ background:#fff; transform: translateY(-50%) scale(1.04); }
  .prev{ left: -18px; }
  .next{ right: -18px; }
  
  /* Dots */
  .dots{
    display:flex; gap:8px;
    justify-content:center;
    margin-top:12px;
  }
  .dots button{
    width:8px; height:8px; border-radius:50%;
    background: var(--dot); border:none; padding:0;
  }
  .dots button.active{ background: var(--dot-active); }
  
  /* Zonas de tap (móviles) */
  .tap{
    position:absolute; top:0; bottom:0; width:45%;
    z-index:2; background:transparent;
  }
  .tap-left{ left:0; }
  .tap-right{ right:0; }
  
  /* Swipe feedback (opcional) */
  .slider.swiping .track{ transition: none; }

  /* No forzamos width fijo; respetamos el tamaño original */
.icon{
    opacity: 0;
    transform: translateY(16px);
    transition: transform .6s ease, opacity .6s ease;
    transform-origin: center;
    transform-box: fill-box; /* útil si son SVG */
  }
  
  /* Cuando entren en viewport */
  .icon.in-view{
    opacity: 1;
    transform: translateY(0);
  }
  
  /* ===== Variables de color ===== */
:root{
    --olive: #8b8f84;   /* verde/gris del estilo */
    --border:#bfc3bb;   /* borde de inputs */
    --text:#444; 
    --muted:#8a8a8a;
    --bg:#fff;
  }
  
  /* Utilidad: ocultar solo visualmente pero accesible a lectores de pantalla */
  .sr-only{
    position:absolute !important;
    width:1px; height:1px;
    padding:0; margin:-1px;
    overflow:hidden; clip:rect(0,0,0,0);
    white-space:nowrap; border:0;
  }
  
  /* ===== Contenedor ===== */
  .rsvp{
    max-width: min(680px, 92vw);
    margin: 24px auto 8px;
    color: var(--text);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  }
  
  /* Título */
  .rsvp__title{
    text-align:center;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 600;
    margin: 6px 0 18px;
  }
  
  /* Radios asistencia */
  .rsvp__asistencia{
    display:flex;
    justify-content: center;
    gap: clamp(24px, 6vw, 80px);
    border:0; padding: 4px 0 14px; margin:0 0 6px;
  }
  
  .rsvp__radio{
    display:flex; align-items:center; gap:10px;
    font-size: 1rem; color:#555;
  }
  
  /* Color del radio (soportado por navegadores modernos) */
  .rsvp__radio input[type="radio"]{ accent-color: var(--olive); }
  
  /* Campos */
  .rsvp__field{ margin: 12px 0; }
  
  .rsvp__field input,
  .rsvp__field textarea{
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 14px;
    background: var(--bg);
    font-size: 1rem;
    color: var(--text);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
  }
  
  /* Placeholder gris suave */
  .rsvp__field input::placeholder,
  .rsvp__field textarea::placeholder{
    color: var(--muted);
  }
  
  /* En foco: borde oliva y sombra sutil */
  .rsvp__field input:focus,
  .rsvp__field textarea:focus{
    border-color: var(--olive);
    box-shadow: 0 0 0 3px rgba(139,143,132,.15);
  }
  
  /* Botón (si lo usas) */
  .rsvp__btn{
    background: var(--olive);
    color:#fff;
    border:0;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: .5px;
    display:block;
    margin: 8px auto 0;
    cursor:pointer;
  }
  .rsvp__btn:hover{ filter: brightness(0.95); }
  
  /* Cierre cursivo */
  .rsvp__closing{
    text-align:center;
    color: var(--olive);
    margin: 18px 0 0;
    font-size: 3rem;
  }
  

  .music-btn {
    background-color: #8b8f84;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 18px;
    cursor: pointer;
    font-size: 0.9rem;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000; 
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
  }
  .music-btn:hover { filter: brightness(0.9); }



  
  /* --- Animación de zoom + fade --- */
  .img_inicial {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    text-align: start;
  }
  
  /* --- Animación principal con repetición suave --- */
  .img_inicial h3,
  .img_inicial h1 {
    opacity: 0;
    transform: scale(1.3);
    animation: zoomInFade 1.5s ease forwards, subtlePulse 6s ease-in-out 2s infinite;
    
  }
  
  /* h1 entra ligeramente después */
  .img_inicial h1 {
    animation-delay: 0.6s, 2.6s; /* segundo valor sincroniza el loop */
  }
  
  /* --- Keyframes de entrada --- */
  @keyframes zoomInFade {
    0% {
      opacity: 0;
      transform: scale(1.3);
    }
    60% {
      opacity: 1;
      transform: scale(1.05);
    }
    100% {
      opacity: 1;
      transform: scale(1);
    }
  }
  
  /* --- Keyframes del efecto repetitivo (pulso leve) --- */
  @keyframes subtlePulse {
    0%, 100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.03);
    }
  }
  
  /* --- Tipografía --- */
  .img_inicial h3 {
    font-size: 1.6rem;
    letter-spacing: 3px;
    justify-content: flex-end; 
    margin-bottom: 10px;
  }
  
  .img_inicial .cursiva {
    font-family: "Alex Brush", cursive;
    font-size: 3rem;
    margin: 0;
  }
  

  .img_inicial {
    background-image: url('https://mywedding.dbb.com.mx/img/principal.webp');
    background-size: cover;          /* Ajusta la imagen para cubrir todo el contenedor */
    background-position: center;     /* Centra la imagen */
    background-repeat: no-repeat;    /* Evita repeticiones */
    width: 100%;
    height: 100vh;                   /* Ocupa toda la altura de la pantalla */
    display: flex;                   /* Para centrar el texto */
    flex-direction: column;
    justify-content: flex-end;       /* Coloca el texto en la parte inferior */
    align-items: center;
    color: white;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
    padding-bottom: 60px;            /* Espacio desde el fondo */
    font-family: 'Playfair Display', serif;
  }
  
  @media (min-width: 768px) {
    body {
      display: flex;
      flex-direction: column;
      justify-content: center;  /* centra horizontalmente */
      align-items: center;      /* centra verticalmente */
      min-height: 100vh;        /* ocupa toda la altura de la pantalla */
      background-color: #f5f5f5; /* opcional, para contraste */
    }
  
    /* Contenedor principal (tu bloque de contenido) */
    .contenedor-principal {
      max-width: 1000px;
      width: 100%;
      background-color: #fff; /* fondo blanco */
      border-radius: 16px;    /* esquinas redondeadas */
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); /* sombra elegante */
      overflow: hidden;       /* para que nada sobresalga */
    }
  }
  
  