
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');
:root{
    --fuxia: #ce0f55;
    --naranja: #f43a0b;
    --amarillo: #fcaa22;
    --amarillo-tenue:#fdcd70;
    --verde:#2f331c;
    --blanco:#fff;
}
body {
  margin: 0;
  font-family: 'Georgia', serif;
  background: var(--amarillo-tenue);
  overflow-x: hidden;
}
body.no-scroll {
  overflow: hidden;
  height: 100vh;
}
img, a, button {
  outline: none;
}

img, a {
  -webkit-tap-highlight-color: transparent;
}

img {
  -webkit-user-select: none;
  user-select: none;
}

img:focus, a:focus, button:focus {
  outline: none;
}


/* SOBRE */
.container {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 180px;
  height: 260px;
  perspective: 1200px;
  z-index: 100;
  transform: translate(-50%, -50%);
  transition: opacity 1s ease-in-out;
}

.manuscrita {
  font-family: 'Great Vibes', cursive!important;
}
.poppins{
    font-family: "Poppins", sans-serif;
    font-style: normal;
    font-weight: normal;
}
.contenedor{
    max-width: 1100px;
    margin: 0 auto;
}
.shadow { position: absolute; bottom: 0; left: 50%; width: 160px; height: 15px; background: radial-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0)); transform: translateX(-50%); border-radius: 100%; transition: width 0.5s, opacity 0.5s; }
.envelope { position: absolute; width: 180px; height: 260px; bottom: 0; background: var(--amarillo); border-radius: 6px; box-shadow: 0 8px 25px rgba(0,0,0,0.3); transform-style: preserve-3d; transition: transform 1s ease-in-out, opacity 1s; z-index: 1; }
.flap { position: absolute; width: 90px; height: 260px; top: 0; background: #f29700; z-index: 2; transition: transform 1s ease-in-out, opacity 0.5s; clip-path: polygon(0 0, 100% 50%, 0 100%); box-shadow: inset -2px 0 5px rgba(0,0,0,0.2); pointer-events: none; transform-origin: left center; }
.flap.right { left: 50%; clip-path: polygon(0 50%, 100% 0, 100% 100%); transform-origin: right center; box-shadow: inset 2px 0 5px rgba(0,0,0,0.2); }
.letter { position: absolute; bottom: 0; left: 10px; width: 160px; height: 220px; background: #fff; border-radius: 6px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: bold; opacity: 0; transform: translateY(0) scale(1); transition: transform 1s ease-in-out, opacity 1s; z-index: 2; 
background-image: url('../../imagenes/621.jpg');
  background-position: center;
  background-size: cover;
  overflow: hidden;
}
.letter .cintillo{
    background: #000;
    width: 110%;
    transform: rotate(-10deg);
    color: var(--amarillo-tenue);
}
.letter .cintillo h2{
    font-weight: normal;
}

/* Botón */
.btn-envelope { position: absolute; top: 50%; left: 50%; width: 60px; height: 60px; border-radius: 50%; background: white; border: 3px solid #f7d65b; display: flex; align-items: center; justify-content: center; font-weight: bold; cursor: pointer; transform: translate(-50%, -50%)rotate(-56deg); z-index: 10; transition: all 0.3s; }
.btn-envelope:hover { background: #716023; color: white; }

/* INVITACIÓN OnPage */
.invitation { width: 100%; margin: 0 auto; padding: 0; opacity: 0; transition: opacity 1s ease-in-out; }
.invitation.show { opacity: 1; }

/* SECCIONES ANIMADAS */
section { opacity: 0; transform: translateY(50px); transition: all 0.8s ease-in-out; }
section.show { opacity: 1; transform: translateY(0); }

/* MENU */
/* Cabecera nav con altura mayor y gradiente */
.menu {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 20px 30px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  z-index: 101;
  left: 0;
  transition: background 0.3s, padding 0.3s;
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
  background: linear-gradient(to bottom,rgb(0, 0, 0) 0%,rgba(0, 0, 0, 0.8) 50%, rgba(0, 0, 0, 0) 100%);
}
.menu .contenedor{
  display: flex;
  width: 100%;
  justify-content: space-between;
}

/* Logo un poco más grande para balancear */
.menu .logo {
  font-size: 2.2rem;
  color:var(--blanco)
}
.menu ul { list-style: none; display: flex; margin: 0; padding: 0; }
.menu ul li { margin-left: 20px; }
.menu ul li a { color: #fff; text-decoration: none; font-size: 1.5rem; transition: color 0.3s; display: flex; align-items: center; gap: 8px; }
.menu ul li a:hover { color: var(--naranja); }

/* HAMBURGUESA MÓVIL */
.menu-toggle { display: none; flex-direction: column; cursor: pointer; }
.menu-toggle span { height: 3px; width: 25px; background: var(--blanco); margin: 4px 0; transition: all 0.3s; }

/* fancy */ 
.recuerdos {
  padding: 60px 20px;
  text-align: center;
  background: #fff3c4;
}

.recuerdos h2 {
  font-size: 2.8rem;
  margin-bottom: 30px;
  color: var(--verde);
  font-weight: normal;

}

.grid-recuerdos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.grid-recuerdos img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.grid-recuerdos img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.foto-final {
  margin-top: 40px;
  font-size: 2rem;
}

.foto-final img {
  max-width: 100%;
  border-radius: 12px;
}

.foto-final .frase {
  font-size: 1.2rem;
  margin-top: 15px;
  font-style: italic;
  color: #2f331c;
}


/* SECCIONES CON COLORES */
#inicio { background: #fff; color: #ce0f55; }
#detalles { background: #fff; color: #f43a0b; }
#ubicacion { background: #fff; color: #fcaa22; }
#rsvp { background: #fff; color: #2f331c; }
h1, h2, p { margin: 10px 0; text-align: center; }

/* HERO */
/* Hero full-bleed aunque el padre tenga max-width */
.hero {
  position: relative;
  width: 100vw; /* ancho de la ventana */
  margin-left: calc(50% - 50vw); /* centra el elemento a la vista completa */
  margin-right: calc(50% - 50vw);
  height: 100vh;
  overflow: hidden;
}

/* imagen alineada a la parte superior */
.hero-image {
  position: absolute;
  inset: 0;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center; /* important: corta desde arriba */
}

/* Hero centrado vertical */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1rem;
  text-align: center;
  color: #fff;
  height: 100%; 
  display: flex;
  flex-direction: column;
  justify-content: center; /* centra vertical */
  align-items: center;
}

/* Sombra para texto del hero */
.hero-content h1,
.hero-content .quote,
.hero-content h2,
.hero-content .countdown-elegante{
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6); /* capa oscura */
  z-index: 1;
}

.hero-content h1 {
  font-size: 2.8rem;
  line-height: 2.6rem;
}
.hero-content h3{
    color: var(--amarillo);
    font-size: 2.5rem;
    padding: 0;
    margin: 20px 0 0 0;
}

.hero-content .quote {
  font-size: 1.5rem;
  margin: 1rem 0;
}

.hero-content h2 {
  font-size: 2rem;
  margin-top: 1rem;
}



/* Contador FlipDown */
#contador {
  text-align: center;
  margin:0;
  color: #fff;
}

#contador h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #f5d6ba; /* tono dorado romántico */
}

.countdown-elegante {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  font-family: 'Playfair Display', serif;
  margin-top: 20px;
}
.countdown-elegante h3{
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    color: var(--amarillo-tenue);
    font-size: 3rem;
}

.countdown-elegante div {
  text-align: center;
}

.countdown-elegante span {
  font-size: 3rem;
  font-weight: bold;
  display: block;
  color: #fff;
}

.countdown-elegante small {
  font-size: 1rem;
  opacity: 0.9;
  letter-spacing: 2px;
  color: #f5d6ba;
}
/* FlipDown personalizado */
.flipdown {
  margin: 2rem auto;
}

.flipdown .rotor-group-heading:before {
  color: #f5d6ba; /* dorado romántico */
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.flipdown .rotor {
  background-color: #2f331c; /* tono oscuro */
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}

.flipdown .rotor-leaf-front,
.flipdown .rotor-leaf-rear {
  background-color: #3c4227; /* más suave para el flip */
}



/* Overlay menú móvil */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
  z-index: 100;
}
.menu-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Animación texto Hero */
.hero-content h1, .hero-content .quote, .hero-content h2 {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-in-out;
}
.hero-content.show h1 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}
.hero-content.show .quote {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}
.hero-content.show h2 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

/* SECCIÓN 2 - INVITACIÓN */
.section-2 {
  display: flex;
  flex-direction: row; /* Desktop: horizontal */
  align-items: center;
  gap: 30px;
  margin: 0 auto; /* separación superior e inferior */
  padding: 100px 15px;
  background: var(--fuxia);

  background-image: url('../../imagenes/bg_1.svg'); /* patrón SVG */
  background-repeat: repeat; /* se repite */
  background-size: 300px 300px;
}
.section-2 .contenedor {


  display: flex;
  flex-wrap: wrap; /* permite que los hijos salten de fila */
  gap: 20px;
  align-items: center;
}

.section-2 .photo {
  flex: 1;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.section-2 .photo img {
  width: 100%;
  height: auto; /* mantiene proporción horizontal */
  display: block;
  border-radius: 20px;
}

.section-2 .text {
  flex: 1;
  font-family: 'Georgia', serif;
  color: var(--blanco);
  text-align: center;
}

.section-2 .photo,
.section-2 .text {
  flex: 1 1 45%; /* base 50%, pero flexible */
  min-width: 300px; /* asegura que en pantallas pequeñas salten de fila */
}

.section-2 .text p {
  margin: 0px 0;
  font-size: 1.2rem;
  line-height: 1.5;
}

/* Tipografía manuscrita opcional para nombres */
.section-2 .text .manuscrita {
  font-family: 'Great Vibes', cursive;
  font-size: 1.8rem;
  color: var(--amarillo);
  display: block;
  margin: 5px 0;
}

.section-2 .mensaje-final {
  flex: 1 1 100%;
  text-align: center;
  font-size: 1.6rem;
  font-style: italic;
  color: var(--amarillo-tenue);
}
section h2.section-title{
    font-size: 2.5rem!important;
    font-weight: normal!important;
    color: var(--blanco)!important;
}

.contador{
    padding: 50px 0 40px 0;
    background: var(--verde);
    background-image: url('../../imagenes/bg_2.svg'); /* patrón SVG */
    background-repeat: repeat; /* se repite */
    background-size: 200px 200px;
}
.contador img{
  width: 100%;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
  transition: transform 0.3s ease-in-out;
  border-radius: 25px;
}

.contador .ornamento:hover {
  transform: scale(1.05); /* pequeño efecto elegante al pasar el mouse */
}

/* Espaciado del título */
.contador .mensaje-final {
  margin-bottom: 10px;
}

.flor {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;   /* 🔑 recorta lo que sobresalga */
  margin: 0 auto;
  position: absolute;
  top: -51px;
  left: calc(50% - 40px);
  background: var(--verde);
  padding: 10px;
/* animación */
  animation: girar 10s linear infinite;
}

/* Definición de la animación */
@keyframes girar {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.flor img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* asegura que se ajuste al círculo */
}

.evento{
  background: var(--blanco);
  padding-bottom: 50px;
  margin-top: -1px;
}
.evento-title{
  text-align: center;
}
.evento .evento-title li.title{
  font-weight: 300;
  font-style: normal;
  font-size: 2rem;
}
.evento-title i{
  font-size: 3.5rem;
  color: var(--fuxia);
}
/* Portada */
.evento .portada {
  width: 100%;
  height: 700px;
}

/* Contenedor de cards */
.cards-container {
  display: flex;
  gap: 20px;
  margin-top: -100px;
  padding: 0 20px;
  flex-wrap: wrap;
}

/* Card base */
.card {
  flex: 1 1 45%;
  min-height: 250px;
  padding: 20px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--verde);
  border: 1px solid rgba(255, 255, 255, 0.7);
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
}

/* Títulos dentro de cards */
.card h3 {
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}

/* Lista de eventos */
.card.eventos ul,
.card.mapa ul{
  list-style: none;
  padding: 0;
}
.card.eventos ul:first-child{
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.card.eventos ul li {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.4;
}
.card.eventos ul:last-child li:last-child{
  margin-bottom: 0;
}

/* Card del mapa */
.card.mapa {
  overflow: hidden;
}

.card.mapa .mapa img{
  width: 100%;
  border: 0;
  border-radius: 15px;
  margin-top: 20px;
}

/* MESA */
.mesa-regalos {
    background: var(--amarillo);
  text-align: center;
  padding: 70px 15px;
  margin-top: -1px;
}
.mesa-regalos .contenedor{
  position: relative;
}
.foto0203{
  background: var(--blanco);
  padding: 15px 15px 70px 15px;
  display: inline-block;
  position: absolute;
  top: -180px;
  right: -190px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transform: rotate(8deg);
}
.foto0203::after {
        content: 'Juntos de la mano...';
        position: absolute;
        width: 100%;
        height: 65px;
        color: var(--verde);
        bottom: 0;
        left: 0;
        font-family: 'Great Vibes', cursive !important;
        font-size: 2.5rem;
    }
.foto0203 img{
    width: 400px;
}

.mesa-regalos .section-title {
  font-size: 4rem!important;
  margin-bottom: 20px;
  
}

.mesa-regalos .icono {
  font-size: 4rem;
  color:#c87f22; /* puedes poner un color romántico o temático */
  margin-bottom: 20px;
}

.mesa-regalos .mensaje {
  font-style: italic;
  font-size: 1.9rem;
  margin-bottom: 30px;
  color: var(--verde); /* variable de texto que estés usando */
}

.mesa-regalos .botones {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-regalo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-regalo.ml {
  background: var(--amarillotenue, #ffc107);
  color: #000;
}

.btn-regalo.amazon {
  background: #232f3e;
  color: #fff;
}

.btn-regalo:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}


/* ---------------- RSVP ---------------- */
.rsvp-section {
  padding: 60px 20px;
  background: var(--amarillo-tenue);
  display: flex;
  justify-content: center;
}
.rsvp-container {
  width: 100%;
  background: var(--blanco);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  font-family: 'Georgia', serif;
}
.rsvp-title {
  text-align: center;
  font-size: 2rem;
  color: var(--verde);
  margin-bottom: 0.5rem;
}
.rsvp-subtitle,
.rsvp-info {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--verde);
  font-family: 'Oswald', sans-serif;
}
.rsvp-subtitle{
    display: block;
    background: var(--naranja);
    width: 350px;
    margin: 10px auto;
    padding: 10px 5px;
    border-radius: 25px;
    color: #fff;
}
.rsvp-info strong{
    display: inline-block;
    background: var(--verde);
    color: var(--amarillo-tenue);
    margin: 0 5px;
    padding: 5px;
    border-radius: 25px;
    width: 25px;
    height: 25px;
    font-weight: 400;
}

.rsvp-input-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}
.rsvp-input-group label {
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--verde);
}
.rsvp-input-group input[type="text"],
.rsvp-input-group textarea {
  padding: 0.8rem 1rem;
  border: 2px solid #d9d9d9;
  border-radius: 12px;
  font-size: 1rem;
  background: rgba(255,255,255,0.8);
  transition: all 0.3s;
}
.rsvp-input-group input[type="text"]:focus,
.rsvp-input-group textarea:focus {
  outline: none;
  border-color: var(--amarillo);
  box-shadow: 0 0 10px var(--amarillo);
}
.rsvp-input-group textarea {
  resize: vertical;
  min-height: 80px;
}

.rsvp-radio-group {
  display: flex;
  justify-content: left;
  gap: 2rem;
  align-items: center;
  margin-bottom: 1rem;
}
.rsvp-radio {
  position: relative;
  padding-left: 0;
  margin: 0 1rem;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  color: var(--verde);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1rem;
  transition: all 0.3s;
}

.rsvp-radio input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Círculo grande estilo botón */
.rsvp-radio-icon {
  width: 60px;
  height: 60px;
  border: 2px solid var(--verde);
  border-radius: 50%;
  background: var(--blanco);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
  overflow: hidden;
  margin-bottom: 0.5rem;
}

/* Flor Huasteca oculta inicialmente */
.rsvp-radio-icon::after {
  content: "";
  width: 40px;
  height: 40px;
  background: url('../../imagenes/flor.svg') no-repeat center center;
  background-size: contain;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.3s ease-in-out;
  display: block;
}

/* Mostrar flor al seleccionar */
.rsvp-radio input:checked ~ .rsvp-radio-icon::after {
  opacity: 1;
  transform: scale(1);
}

/* Cambio de borde al seleccionar */
.rsvp-radio input:checked ~ .rsvp-radio-icon {
  border-color: var(--amarillo);
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

/* Texto debajo del círculo */
.rsvp-radio span {
  margin-top: 0.2rem;
  font-weight: 600;
  color: var(--verde);
}

/* ---------------- RSVP IMAGE ---------------- */
.rsvp-result {
  display: block;
  padding: 30px;
  width: 500px;
  background: #fff;
  color: var(--verde);
  border-radius: 20px;
  font-family: 'Oswald', sans-serif;
  position: absolute;
  left: -9999px;
  top: -9999px;
}

.rsvp-result h2 {
  font-family: 'Great Vibes', cursive;
  font-size: 48px;
  color: var(--verde);
  text-align: center;
  margin-bottom: 20px;
}

.rsvp-result .contenido {
  text-align: left;
  font-size: 20px;
  line-height: 1.4;
  color: #333;
}

.rsvp-result .fecha-confirmacion {
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #888;
  margin-top: 30px;
}

/* ---------------- RSVP MODAL ---------------- */
.rsvp-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.rsvp-modal .modal-content {
  position: relative;
  background: #d6d9db;
  padding: 20px;
  border-radius: 15px;
  max-width: 90%;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.rsvp-modal .modal-content img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

.rsvp-modal .modal-content .btn-close {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  border: none;
  background: transparent;
  font-size: 2rem;
}

.rsvp-modal .modal-content .btn-whatsapp {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: #0e8c34;
  color: white;
  border-radius: 12px;
  text-decoration: none;
  font-family: 'Oswald';
  font-weight: 300;
}


/* Adaptación móvil */
@media (max-width: 768px) {
  .rsvp-radio {
    margin: 0.5rem 0;
  }
}


.rsvp-btn-submit {
  display: block;
  margin: 1.5rem auto 0;
  padding: 0.9rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  background: var(--verde);
  border: none;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s;
}
.rsvp-btn-submit:hover {
  background: var(--fuxia);
  transform: translateY(-2px);
}

/* ---------------- Footer ---------------- */
.site-footer {
  text-align: center;
  padding: 30px 10px;
  font-size: 1rem;
  color: var(--amarillo-tenue);
  background: #20180c;
  font-family: 'Arial', sans-serif;
  font-weight: 200;
}

.site-footer i {
  color: var(--verde);
  margin: 0 5px;
}

.site-footer a {
  color: var(--blanco);
  font-weight: 300;
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: var(--amarillo);
}
.site-footer .copy{
    font-size: .9rem;
    color: #797668;
}




/* RESPONSIVE */

@media (max-width: 1550px){
    .foto0203{
        right: 0;
    }
    .foto0203 img{
        width: 300px;
    }
}

@media (max-width: 1100px){
  .contador img{
    border-radius: 0;
  }
  .foto0203{
    background: var(--blanco);
    padding: 15px 15px 70px 15px;
    position: relative;
    top: inherit;
    right: inherit;
    transform: rotate(0deg);
    margin-top: 20px;
    border-radius: 10px;
    }
     
    .foto0203 img{
        width: 100%;
    }
}
@media (max-width: 768px) {
  .menu ul { 
    display: none; 
    flex-direction: column; 
    background: var(--fuxia);
    position: absolute; 
    top: 50px; 
    right: 0; 
    width: 220px; 
    padding: 15px; 
    border-radius: 0 0 8px 8px;
}
  .menu ul.show { display: flex; }
  .menu-toggle { display: flex; }
  .menu ul li { margin: 10px 0; }
  .menu ul li a { font-size: 20px; }

  .section-2 {
    flex-direction: column; /* móvil: vertical */
    gap: 20px;
    padding: 60px 10px;
  }

  .section-2 .contenedor {
    flex-direction: column; /* móvil: foto encima, texto abajo */
    gap: 20px;
  }

  .section-2 .photo {
    width: 100%;
  }

  .section-2 .text {
    width: 100%;
  }
  .section-2 .photo,
  .section-2 .text {
    flex: 1 1 100%; /* ocupan toda la fila en móvil */
  }
  .contador{
    padding-bottom:30px;
  }
  .cards-container {
    flex-direction: column;
    margin-top: -150px; /* más overlap en móvil */
  }

  .card {
    flex: 1 1 100%;
    min-height: 200px;
    padding-bottom: 0;
  }

  .evento{
    position: relative;
    overflow: hidden;
  }
  .evento .portada {
    height: 600px;
    margin-top: -100px;
  }
  .card.eventos ul{
    border-bottom: 1px solid rgba(0,0,0,0.1)!important;
  }
  .card.eventos ul:last-child{
    margin-bottom: 0;
  }
  .card.eventos ul:last-child li:last-child {
    margin-bottom: 20px;
  }
  .card.mapa{
    padding: 0;
  }
  .card.mapa ul{
    margin: 0;
  }
  .grid-recuerdos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}
}

@media (max-width: 500px){
    .countdown-elegante {
    gap: 1.5rem;
    }
    .menu {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 15px 60px 15px;
    }

    .countdown-elegante span {
    font-size: 2rem;
    }

    .hero-content h1 {
        /*font-size: 1.5rem; */
        line-height: 2.4rem;
    }
}