
    :root {
      --color-primario: #b08d57;
      --color-secundario: #f3e7d6;
      --color-fondo: #faf5ef;
      --color-detalles: #efe0cb;
      --color-acento: #78866b;
      --color-texto: #333333;
      --color-blanco: #ffffff;
      --max-width: 1100px;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }

    body {
      font-family: "Montserrat", sans-serif;
      background-color: var(--color-fondo);
      color: var(--color-texto);
      line-height: 1.6;
    }

    video {
            width: 100%;       /* Ocupa todo el ancho disponible */
            height: auto;      /* Mantiene la proporción original */
            display: block;    /* Elimina espacios en blanco */
        }

    img { max-width: 100%; display: inline-block; }

    .container {
      width: 90%;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 3rem 0;
    }

    h1, h2, h3 {
      font-family: "Playfair Display", serif;
      color: var(--color-primario);
    }


        /* BOTÓN MÚSICA */
    .music-toggle {
      position: fixed;
      right: 1rem;
      bottom: 1rem;
      z-index: 20;
      border: none;
      border-radius: 999px;
      padding: 0.6rem 1.1rem;
      background-color: rgba(176, 141, 87, 0.95);
      color: var(--color-blanco);
      font-size: 0.85rem;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      cursor: pointer;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    }

    .music-toggle:hover {
      box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
    }

    /* =========================
       ANIMACIONES
    ========================= */
    .animate {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity .9s ease, transform .9s ease;
    }

    .animate.show {
      opacity: 1;
      transform: translateY(0);
    }

    .fade { transform: none; }
    .zoom { transform: scale(.96); }
    .zoom.show { transform: scale(1); }

    .delay-1 { transition-delay: .15s; }
    .delay-2 { transition-delay: .3s; }
    .delay-3 { transition-delay: .45s; }
    .delay-4 { transition-delay: .6s; }

    .hero-animate {
      opacity: 0;
      transform: translateY(20px);
      animation: heroFade 1.4s ease forwards;
    }

    .hero-animate.delay { animation-delay: .4s; }

    @keyframes heroFade {
      to { opacity: 1; transform: translateY(0); }
    }

    /* =========================
       HERO
    ========================= */
    header.hero {
      min-height: 80vh;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: white;
      background:
        linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.35)),
        url("https://adrianyliliana.com/img/portada-min.jpg") center/cover;
    }

    .hero-names {
      font-size: clamp(2.4rem, 6vw, 3.5rem);
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .hero-divider {
      width: 80px;
      height: 2px;
      background: white;
      margin: .8rem auto;
    }

    .hero-date {
      font-size: 1.1rem;
      letter-spacing: .18em;
    }

    .hero-subtitle {
      margin-top: 1.2rem;
      font-size: .95rem;
    }

    .countdown-quote{
      padding: 10px;
    }

    /* SEPARADOR DECORATIVO ENTRE SECCIONES */
    .section-ornament {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.75rem;
      margin: 1.5rem auto 0;
      max-width: 260px;
    }

    .section-ornament-line {
      flex: 1;
      height: 1px;
      background: rgba(0, 0, 0, 0.18);
    }

    .section-ornament-icon {
      font-size: 0.9rem;
      color: var(--color-primario);
      letter-spacing: 0.2em;
    }

    /* =========================
       CONTADOR
    ========================= */
    #countdown { background: white; }

    .countdown-banner {
      background: var(--color-primario);
      color: white;
      padding: 2.8rem 0;
      text-align: center;
    }

    .countdown-save {
      letter-spacing: .18em;
      margin-bottom: 1.8rem;
    }

    .countdown-grid {
      display: flex;
      justify-content: center;
      gap: 2.4rem;
      flex-wrap: wrap;
    }

    .countdown-number { font-size: 1.9rem;font-weight: 600; }

    .countdown-lower {
      text-align: center;
      padding: 1rem 0 0rem;
    }

    .texto-boda{
      font-weight: 500;
      padding: 10px;
      font-size: 25px;
      font-family: initial;
      color: var(--color-primario);
    }

    /* =========================
       GRATITUDE
    ========================= */
    .gratitude-grid {
      display: grid;
      gap: 2rem;
      margin-top: 15px;
      align-items: center;
    }

    @media (min-width:768px) {
      .gratitude-grid { grid-template-columns: 1.1fr 1.3fr; }
    }

    .gratitude-photo {
      overflow: hidden;
    }

    /* =========================
       TIMELINE
    ========================= */
    #timeline { background: white; }

    .timeline {
      position: relative;
      max-width: 700px;
      margin: auto;
    }

    .timeline::before {
      content:"";
      position:absolute;
      left:50%;
      top:0;
      bottom:0;
      width:2px;
      background: rgba(176,141,87,.3);
      transform:translateX(-50%);
    }

    .timeline-item {
      display:grid;
      grid-template-columns:1fr auto 1fr;
      gap:1rem;
      margin-bottom:2rem;
    }

    /* =========================
       PADRES
    ========================= */
    #parents { background: var(--color-secundario); }

    .parents-wrapper {
      text-align:center;
      max-width:700px;
      margin:auto;
    }

    .parents-amp {
      font-family:"Great Vibes", cursive;
      font-size:2.4rem;
      color:var(--color-primario);
    }

    /* =========================
       DETAILS
    ========================= */
    #details { background: var(--color-detalles); }

    /* =========================
       LOCATION
    ========================= */
    .map-wrapper {
      border-radius:1rem;
      overflow:hidden;
      box-shadow:0 10px 28px rgba(0,0,0,.08);
    }

    footer {
      text-align:center;
      font-size:.8rem;
      padding:2rem 0;
      opacity:.7;
    }

     /* CABECERAS DE SECCIÓN CON SVG */
    .section-header {
      text-align: center;
      margin-bottom: 1rem;
    }

    .section-icon {
      width: 42px;
      height: 42px;
      margin: 0 auto 0.6rem;
      display: block;
    }

    .section-title {
      font-size: 1.8rem;
    }



    /* TIMELINE VERTICAL */
    #timeline {
      background-color: var(--color-blanco); /* diferente al gratitude para separarlo */
    }

    .timeline {
      position: relative;
      max-width: 700px;
      margin: 0 auto;
      padding: 2rem 0 0;
    }

    .timeline::before {
      content: "";
      position: absolute;
      left: 50%;
      top: 0;
      bottom: 0;
      width: 2px;
      background: rgba(176, 141, 87, 0.3);
      transform: translateX(-50%);
    }

    .timeline-item {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      gap: 1rem;
      margin-bottom: 2rem;
    }

    .timeline-time-block {
      text-align: right;
      padding-right: 1rem;
      font-size: 0.9rem;
    }

    .timeline-time {
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--color-acento);
      margin-bottom: 0.2rem;
    }

    .timeline-label {
      font-family: "Playfair Display", serif;
      font-size: 1.05rem;
      color: var(--color-primario);
    }

    .timeline-marker {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .timeline-dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background-color: var(--color-primario);
      border: 3px solid var(--color-blanco);
      box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.25);
    }

    .timeline-content {
      padding-left: 1rem;
      font-size: 0.9rem;
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }

    .timeline-icon {
      width: 30px;
      height: 30px;
      flex-shrink: 0;
    }

    .timeline-desc {
      opacity: 0.9;
    }

    @media (max-width: 640px) {
      .timeline {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
      }

      .timeline::before {
        /*left: 12%;*/
        transform: translateX(0);
      }

      .timeline-item {
        /*grid-template-columns: auto 24px 1fr;*/
      }

      .timeline-time-block {
        text-align: right;
        padding-right: 0.5rem;
        font-size: 0.85rem;
      }
    }

    .timeline-divider {
      margin: 1rem auto 0;
      width: 100px;
      height: 1px;
      background-color: rgba(0, 0, 0, 0.08);
    }



        /* QR / RSVP */
    .rsvp-wrapper {
      margin-top: 2rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1rem;
      text-align: center;
    }

    .rsvp-text {
      font-size: 0.95rem;
    }

    .qr-box {
      background-color: var(--color-blanco);
      padding: 1.25rem;
      border-radius: 1rem;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    }

    .qr-box img {
      width: 160px;
      height: 160px;
      object-fit: contain;
    }

    /*FECHA CEREMONIA*/

    .logo-principal{
      width: 35%;
      display: inline-block;
    }


.ceremony-date {
  background: #b08d57;
  color: white;
  text-align: center;
  padding: 4rem 1rem;
}

.padrinos{
    font-family: "Great Vibes", cursive;
    font-size: 2.4rem;
    line-height: 1.2;
    padding-bottom: 15px;
    color: var(--color-primario);
}
.ceremony-text {
  font-family: "Playfair Display", serif;
  letter-spacing: 0.25em;
  font-size: 0.85rem;
  margin-bottom: 3rem;
}

.date-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

.date-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.date-block .line {
  width: 90px;
  height: 1px;
  background: rgba(255,255,255,0.7);
}

.date-block .label {
  font-family: "Playfair Display", serif;
  letter-spacing: 0.35em;
  font-size: 0.9rem;
}

.date-center {
  text-align: center;
}

.date-center .day {
  font-family: "Playfair Display", serif;
  font-size: 3.2rem;
}

.date-center .year {
  font-size: 0.9rem;
  letter-spacing: 0.4em;
  margin-top: 0.3rem;
}



@media (max-width: 600px) {
  .date-row {
    gap: 1.5rem;
  }

  .date-block .line {
    width: 60px;
  }

  .date-center .day {
    font-size: 2.5rem;
  }
}





    /*end fecha de ceremonia*/

.boton-mesaregalos{
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 10%;
}

    /* Responsive */
    @media (max-width: 480px) {
      .ceremony-number {
        font-size: 3.2rem;
      }

      .ceremony-day .line {
        width: 40px;
      }
    }

    
    /* NUESTROS PADRES (FORMATO BLOQUE CENTRAL) */
    #parents {
      background-color: var(--color-secundario);
    }

    #testigos {
      background-color: white;
    }

    .parents-wrapper {
      text-align: center;
      max-width: 700px;
      margin: 0 auto;
    }

    .parents-intro {
      font-size: 0.9rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      margin-bottom: 2rem;
    }

    .parents-names {
      font-size: 0.95rem;
      letter-spacing: 0.08em;
      line-height: 2.2;
    }

    .parents-amp {
      font-family: "Great Vibes", cursive;
      font-size: 2.4rem;
      color: var(--color-primario);
    }

    .cross-icon {
      width: 14px;
      height: 14px;
      vertical-align: middle;
      margin-left: 4px;
      fill: #b08d57;
    }

    /* MENSAJE / CÓDIGO DE VESTIMENTA */
    #details {
      background-color: var(--color-detalles);
    }

    #details .section-content {
      text-align: center;
      max-width: 700px;
      margin: 0 auto;
    }

    /* Encabezado tipo imagen de dress code */
    .dress-title-script {
      font-family: "Great Vibes", cursive;
      font-size: 2.4rem;
      line-height: 1.2;
    }

    .dress-title-sub {
      font-family: "Playfair Display", serif;
      font-size: 1.1rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      margin-top: 0.2rem;
      margin-bottom: 1.5rem;
    }

    .dress-figure {
      margin: 0 auto 1.5rem;
      width: 120px;
    }

    .dress-figure svg {
      width: 100%;
      height: auto;
      stroke: var(--color-primario);
      fill: none;
    }

    .dress-columns {
      text-align: left;
      max-width: 480px;
      margin: 0 auto 1.5rem;
      font-size: 0.95rem;
    }

    .dress-group-title {
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      margin-top: 1rem;
      margin-bottom: 0.2rem;
    }

    .dress-note {
      font-family: "Great Vibes", cursive;
      font-size: 1.3rem;
      margin-top: 1.8rem;
      color: var(--color-primario);
    }

    .thanks-text {
      font-size: 0.95rem;
      margin-top: 2.5rem;
    }

    /* UBICACIÓN Y MESA DE REGALOS */
    #location {
      background-color: var(--color-fondo);
    }

    #location .location-grid {
      display: grid;
      gap: 2rem;
      margin-top: 1.5rem;
    }

    @media (min-width: 768px) {
      #location .location-grid {
        grid-template-columns: 2fr 1.5fr;
        align-items: start;
      }
    }

    .map-wrapper {
      border-radius: 1rem;
      overflow: hidden;
      box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    }

    .map-wrapper iframe {
      border: 0;
      width: 100%;
      height: 280px;
    }

    .location-info h3 {
      margin-bottom: 0.5rem;
    }

    .location-info p {
      font-size: 0.95rem;
      margin-bottom: 0.25rem;
    }

    .gift-link {
      margin-top: 1.5rem;
      text-align: left;
    }

    .button-link {
      display: inline-block;
      margin-top: 0.5rem;
      padding: 0.8rem 1.6rem;
      border-radius: 999px;
      background-color: var(--color-acento);
      color: var(--color-blanco);
      font-size: 0.9rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      border: none;
      cursor: pointer;
      text-decoration: none;
      box-shadow: 0 8px 20px rgba(120, 134, 107, 0.4);
      transition: transform 0.1s ease, box-shadow 0.1s ease;
    }

    .button-link-inicio {
        display: inline-block;
        padding: 0px;
        width: 15%;
    }
    .button-link:hover {
      transform: translateY(-1px);
      box-shadow: 0 10px 24px rgba(120, 134, 107, 0.5);
      text-decoration: none;
    }

    /* FOOTER */
    footer {
      text-align: center;
      font-size: 0.8rem;
      padding: 1.5rem 0 2.5rem;
      opacity: 0.7;
    }




    /* =========================
   MODAL DE BIENVENIDA
========================= */
.welcome-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.welcome-card {
  background: var(--color-blanco);
  padding: 2.5rem 2.8rem;
  border-radius: 18px;
  max-width: 460px;
  width: 90%;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0,0,0,.25);
}

.welcome-card h2 {
  font-family: "Playfair Display", serif;
  color: var(--color-primario);
  margin-bottom: .4rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 1.2rem;
}

.welcome-sub {
  font-family: "Playfair Display", serif;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.welcome-text {
  font-size: .95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.welcome-btn {
  border: 1px solid var(--color-primario);
  background: transparent;
  color: var(--color-primario);
  padding: .7rem 1.8rem;
  border-radius: 999px;
  font-size: .85rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .25s ease;
}

.welcome-btn:hover {
  background: var(--color-primario);
  color: white;
}

/* Animación entrada */
.animate-modal {
  animation: modalFadeIn .8s ease forwards;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Animación salida */
.modal-hide {
  animation: modalFadeOut .6s ease forwards;
}

@keyframes modalFadeOut {
  to {
    opacity: 0;
    transform: translateY(20px) scale(.95);
  }
}



@media (max-width: 640px) {
  .welcome-card {
    padding: 2rem 1.6rem;
  }

  .welcome-card h2 {
    font-size: 1.05rem;
  }

  .welcome-text {
    font-size: .9rem;
  }

  .welcome-btn {
    padding: .8rem 1.6rem;
    font-size: .8rem;
  }
}
