* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: beige;
  color: #2d1f1f;
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

section {
  width: 100%;
}

/* BOTÓN MÚSICA */
.music-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  background: pink;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  font-size: 22px;
  cursor: pointer;
  z-index: 999;
}

/* PORTADA */
.portada {
  min-height: 100vh;
  background: linear-gradient(rgba(255,255,255,0.45), rgba(255,255,255,0.45)),
              url('img/foto9.avif') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
}

/* ==========================
   SOBRE ANIMADO
   ========================== */
.sobre-wrapper {
  position: relative;
  width: 100%;
  max-width: 560px;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sobre {
  width: 92%;
  max-width: 520px;
  height: 280px;
  background: #f2dddd;
  border: 1px solid #e7cfcf;
  border-radius: 4px;
  position: absolute;
  top: 56%;
  left: 50%;
  transform: translate(-50%, -20%);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  overflow: hidden;
}

/* solapa del sobre */
.sobre::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 52%;
  background: #ead1d1;
  clip-path: polygon(0 0, 50% 100%, 100% 0);
  transform-origin: top center;
  transition: transform 1s ease;
  z-index: 2;
}

.tarjeta-portada {
  width: 86%;
  max-width: 470px;
  background: #fffdfc;
  border: 1px solid #eddede;
  padding: 40px 20px;
  text-align: center;
  position: relative;
  z-index: 3;
  box-shadow: 0 8px 18px rgba(0,0,0,0.05);
}

/* Animación al cargar */
.portada.animar-sobre .sobre::before {
  transform: rotateX(180deg);
}

.portada.animar-sobre .tarjeta-portada {
  animation: sacarCarta 1.2s ease forwards, flotarCarta 4s ease-in-out 1.2s infinite;
}

@keyframes sacarCarta {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-38px);
  }
}

@keyframes flotarCarta {
  0%, 100% {
    transform: translateY(-38px);
  }
  50% {
    transform: translateY(-48px);
  }
}

.texto-arriba {
  font-size: 11px;
  letter-spacing: 3px;
  color: brown;
  margin-bottom: 18px;
}

.titulo-principal {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 10px;
}

.nombre {
  font-family: 'Great Vibes', cursive;
  font-size: 3.2rem;
  color: #8f6c77;
  font-weight: 400;
}

/* HERO */
.hero {
  min-height: 100vh;
  background: linear-gradient(rgba(255,255,255,0.45), rgba(255,255,255,0.45)),
              url('img/picture8.avif') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
  text-align: center;
}

.overlay {
  width: 100%;
  max-width: 520px;
}

.mini-titulo {
  font-size: 12px;
  letter-spacing: 4px;
  color: black(70, 50, 50, 0.35);
  margin-bottom: 10px;
}

.hero-xv {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 500;
  color: #1f1414;
}

.hero-xv span {
  color: black;
  font-style: italic;
}

.hero-nombre {
  font-family: 'Great Vibes', cursive;
  font-size: 3.2rem;
  color: #8b6571;
  margin-top: 10px;
}

.linea {
  width: 150px;
  height: 1px;
  background: #d4bbbb;
  margin: 20px auto;
}

.fecha-evento {
  font-size: 14px;
  letter-spacing: 2px;
  color: rgba(40,20,20,0.7);
  margin-bottom: 25px;
}

.contador {
  background: white(255, 249, 247, 0.92);
  border-radius: 20px;
  padding: 18px 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.contador-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contador-box span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 1000;
}

.contador-box small {
  font-size: 12px;
  letter-spacing: 2px;
  color: black;
  font-weight: 900;
}

/* SECCIONES GENERALES */
.seccion {
  padding: 70px 20px;
  text-align: center;
}

.clara {
  background: #d0c1c1;
}

.oscura {
  background: #2a1b1b;
}

.subtitulo {
  font-size: 12px;
  letter-spacing: 4px;
  color: #d6caca;
  margin-bottom: 15px;
}

.subtitulo-claro {
  color: #b89e9e;
}

.titulo-seccion {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 35px;
}

.titulo-claro {
  color: #fff7f7;
}

/* CARD */
.card {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  background: #fffdfc;
  border: 1px solid #ecd9d9;
  padding: 35px 20px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.04);
}

.script-title {
  font-family: 'Great Vibes', cursive;
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 10px;
}

.direccion {
  font-size: 14px;
  letter-spacing: 2px;
  color: #8b7a7a;
  margin-bottom: 20px;
}

.linea-pequena {
  width: 80px;
  height: 1px;
  background: #decaca;
  margin: 18px auto;
}

.mapa-demo {
  width: 100%;
  height: 250px;
  background: #e8e1e1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7d6d6d;
  margin-bottom: 20px;
  border-radius: 4px;
}

/* BOTONES */
.btn {
  display: inline-block;
  text-decoration: none;
  border: none;
  background: #fff;
  color: #2d1f1f;
  padding: 14px 28px;
  font-size: 13px;
  letter-spacing: 2px;
  cursor: pointer;
  transition: 0.3s ease;
  border: 1px solid #dbcaca;
}

.btn:hover {
  transform: translateY(-2px);
}

.oscuro {
  background: #2a1b1b;
  color: white;
  border: 1px solid #2a1b1b;
}

.btn-claro {
  background: #fff;
  color: #867474;
  margin-bottom: 10px;
}

/* GALERÍA */
.galeria {
  position: relative;
  width: 100%;
  max-width: 620px;
  margin: 0 auto 20px auto;
}

.foto-galeria {
  width: 100%;
  height: 650px;
  object-fit: cover;
  border-radius: 8px;
  transition: opacity 0.5s ease;
  display: block;
}

.flecha {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.14);
  color: white;
  font-size: 24px;
  cursor: pointer;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.10);
  transition: all 0.3s ease;
  z-index: 2;
}

.flecha:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-50%) scale(1.05);
}

.izquierda {
  left: 15px;
}

.derecha {
  right: 15px;
}

.puntos {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.punto {
  width: 10px;
  height: 10px;
  background: #e6d9d9;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.punto.activo {
  background: #b77d8f;
  transform: scale(1.15);
}
/* TIMELINE */
.timeline {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding-left: 40px;
  border-left: 4px solid #e3c8d1;
  text-align: left;
}

.evento {
  position: relative;
  margin-bottom: 45px;
}

.punto-linea {
  position: absolute;
  left: -52px;
  top: 8px;
  width: 20px;
  height: 20px;
  background: #f8dce5;
  border: 4px solid #d8a7b6;
  border-radius: 50%;
}

.contenido-evento h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: #fffaf9;
  font-weight: 400;
  margin-bottom: 6px;
}

.contenido-evento p {
  color: rgba(255,255,255,0.7);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 14px;
}

/* ==========================
   CONFIRMACIÓN ELEGANTE
   ========================== */
.titulo-confirmacion {
  text-align: center;
  margin-bottom: 30px;
}

.confirmacion-card {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  background: #fffdfc;
  border: 1px solid #eadcdc;
  padding: 40px 30px;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.confirmacion-texto {
  font-size: 17px;
  color: #7d6d6d;
  margin-bottom: 28px;
  line-height: 1.7;
}

.form-confirmacion {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-confirmacion input {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid #e6d8d8;
  background: #fff;
  font-size: 17px;
  color: #4b3b3b;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-confirmacion input:focus {
  border-color: #caa9b5;
  box-shadow: 0 0 0 3px rgba(202, 169, 181, 0.15);
}

.form-confirmacion input::placeholder {
  color: #bdafaf;
}

.btn-confirmar {
  width: 100%;
  padding: 17px;
  font-size: 14px;
  letter-spacing: 3px;
  border-radius: 6px;
  margin-top: 4px;
}

.icono-sobre {
  margin-top: 28px;
  font-size: 34px;
  color: #d8c9c9;
}

@media (min-width: 768px) {
  .confirmacion-card {
    padding: 50px 45px;
  }

  .form-confirmacion {
    max-width: 520px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .confirmacion-card {
    padding: 28px 18px;
  }

  .confirmacion-texto {
    font-size: 15px;
    margin-bottom: 22px;
  }

  .form-confirmacion input {
    font-size: 16px;
    padding: 14px 15px;
  }

  .btn-confirmar {
    font-size: 13px;
    letter-spacing: 2px;
    padding: 15px;
  }
}

/* TRIVIA */
.trivia-box {
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  background: beige;
  border: 1px solid #ead8d8;
  padding: 35px 20px;
}

.pregunta-numero {
  font-size: 13px;
  letter-spacing: 3px;
  color: black;
  margin-bottom: 20px;
}

.pregunta {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 400;
  margin-bottom: 30px;
}

.opcion {
  width: 100%;
  max-width: 450px;
  display: block;
  margin: 15px auto;
  padding: 16px;
  border: 1px solid #e8d8d8;
  background: #fff8f8;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s ease;
}

.opcion:hover {
  background: #f5e9e9;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .titulo-principal,
  .titulo-seccion {
    font-size: 2.6rem;
  }

  .nombre,
  .hero-nombre {
    font-size: 2.8rem;
  }

  .hero-xv {
    font-size: 3.2rem;
  }

  .foto-galeria {
    height: 430px;
  }

  .pregunta {
    font-size: 2rem;
  }

  .frase-regalo {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .contador {
    gap: 4px;
    padding: 15px 6px;
  }

  .contador-box span {
    font-size: 1.6rem;
  }

  .contador-box small {
    font-size: 10px;
  }

  .titulo-principal,
  .titulo-seccion {
    font-size: 2.2rem;
  }

  .hero-xv {
    font-size: 2.7rem;
  }

  .nombre,
  .hero-nombre {
    font-size: 2.4rem;
  }

  .script-title {
    font-size: 2.5rem;
  }

  .pregunta {
    font-size: 1.8rem;
  }

  .foto-galeria {
    height: 360px;
  }

  .flecha {
    width: 46px;
    height: 46px;
    font-size: 20px;
  }
}
.intro {
  position: fixed;
  inset: 0;
  z-index: 6000;
  overflow: hidden;
  background: #000;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 6000;
  background: #d8d8d8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  overflow: auto;
}

.intro-fondo-decorativo {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.25), rgba(255,255,255,0.25)),
    url("img/picture7.jpg") center center / cover no-repeat;
  filter: blur(14px) brightness(0.7);
  transform: scale(1.08);
  opacity: 0.45;
}

.intro-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 760px;
  background: rgba(255,255,255,0.82);
  padding: 28px;
  border-radius: 4px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.16);
}

.intro-imagen-box {
  position: relative;
  width: 100%;
  background: #fff;
}

.intro-imagen {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  display: block;
}

.intro-texto-sobre {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  text-align: center;
}

.intro-nombre {
  font-family: 'Great Vibes', cursive;
  font-size: 5.5rem;
  line-height: 1;
  color: #ffffff;
  font-weight: 400;
  text-shadow: 0 2px 10px rgba(0,0,0,0.22);
  margin-bottom: 8px;
}

.intro-frase {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 400;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.22);
  margin-bottom: 18px;
}

.btn-entrar {
  background: #17338f;
  color: white;
  border: none;
  border-radius: 999px;
  padding: 15px 34px;
  font-size: 15px;
  letter-spacing: 4px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,0.22);
  transition: transform 0.25s ease, opacity 0.4s ease;
}

.btn-entrar:hover {
  transform: translateY(-2px);
}

.oculto-inicial {
  display: none;
}

.intro.saliendo {
  animation: fadeOutIntro 0.9s ease forwards;
}

@keyframes fadeOutIntro {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@media (max-width: 900px) {
  .intro-card {
    max-width: 620px;
    padding: 20px;
  }

  .intro-nombre {
    font-size: 4.6rem;
  }

  .intro-frase {
    font-size: 2.3rem;
  }
}

@media (min-width: 1024px) {
  .intro {
    padding: 40px;
  }

  .intro-card {
    max-width: 700px;
    padding: 22px;
  }

  .intro-imagen {
    max-height: 82vh;
    object-fit: contain;
  }

  .intro-texto-sobre {
    top: 24px;
    width: calc(100% - 50px);
  }

  .intro-nombre {
    font-size: 5.2rem;
  }

  .intro-frase {
    font-size: 2.5rem;
    margin-bottom: 16px;
  }

  .btn-entrar {
    padding: 15px 34px;
    font-size: 15px;
  }
}
/* ==========================
   AJUSTES PARA COMPUTADORA
   ========================== */
@media (min-width: 1024px) {
  body {
    background: #f6efef;
  }

  .portada,
  .hero,
  .seccion {
    padding-left: 40px;
    padding-right: 40px;
  }

  .tarjeta-portada {
    max-width: 560px;
    padding: 55px 35px;
  }

  .sobre {
    max-width: 620px;
    height: 320px;
  }

  .hero {
    min-height: 100vh;
    background-attachment: scroll;
  }

  .overlay {
    max-width: 760px;
    margin: 0 auto;
  }

  .hero-xv {
    font-size: 5rem;
  }

  .hero-nombre {
    font-size: 4rem;
  }

  .fecha-evento {
    font-size: 16px;
  }

  .contador {
    max-width: 620px;
    margin: 0 auto;
    padding: 22px 18px;
    gap: 16px;
  }

  .contador-box span {
    font-size: 2.4rem;
  }

  .titulo-seccion {
    font-size: 3.5rem;
  }

  .card {
    max-width: 680px;
    padding: 45px 35px;
  }

  .script-title {
    font-size: 3.6rem;
  }

  .galeria {
    max-width: 760px;
  }

  .foto-galeria {
    height: 720px;
    object-fit: cover;
  }

  .timeline {
    max-width: 720px;
    padding-left: 55px;
  }

  .punto-linea {
    left: -62px;
  }

  .contenido-evento h3 {
    font-size: 2.2rem;
  }

  .trivia-box,
  .confirmacion-box {
    max-width: 760px;
  }

  .pregunta {
    font-size: 2.8rem;
  }

  .opcion {
    max-width: 520px;
    font-size: 19px;
  }

  .vestimenta-box {
    max-width: 760px;
  }

  .img-vestimenta {
    max-width: 360px;
  }

  .qr-box {
    width: 260px;
  }
}
@media (min-width: 1024px) {
  .intro {
    padding: 40px;
  }

  .intro-card {
    max-width: 700px;
    padding: 22px;
  }

  .intro-imagen {
    max-height: 82vh;
    object-fit: contain;
  }

  .intro-texto-sobre {
    top: 24px;
    width: calc(100% - 50px);
  }

  .intro-nombre {
    font-size: 5.2rem;
  }

  .intro-frase {
    font-size: 2.5rem;
    margin-bottom: 16px;
  }

  .btn-entrar {
    padding: 15px 34px;
    font-size: 15px;
  }
}

/* ==========================
   MENSAJE DE CONFIRMACIÓN
   ========================== */
.mensaje-confirmacion {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 6px;
  font-size: 15px;
  line-height: 1.5;
  display: none;
}

.mensaje-confirmacion.exito {
  display: block;
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.mensaje-confirmacion.error {
  display: block;
  background: #fdecea;
  color: #b3261e;
  border: 1px solid #f5c2c7;
}

/* ==========================
   RECUERDOS CENTRADO
   ========================== */
.recuerdos-card {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.recuerdos-texto {
  max-width: 480px;
  margin: 0 auto 24px;
  font-size: 18px;
  line-height: 1.7;
  color: #7d6d6d;
}

.qr-box-recuerdos {
  width: 320px;
  margin: 0 auto 28px;
  background: #fff;
  padding: 16px;
  border: 1px solid #eadcdc;
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
}

.qr-img {
  width: 100%;
  height: auto;
  display: block;
}

.btn-recuerdos {
  min-width: 180px;
}

@media (max-width: 480px) {
  .recuerdos-texto {
    font-size: 16px;
  }

  .qr-box-recuerdos {
    width: 240px;
  }
}

/* ==========================
   DETALLES: VESTIMENTA + LLUVIA DE SOBRES
   ========================== */
.detalles-grid {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.detalle-card {
  background: #fffdfc;
  border: 1px solid #eadcdc;
  border-radius: 10px;
  padding: 38px 24px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.detalle-script {
  font-family: 'Great Vibes', cursive;
  font-size: 4rem;
  color: #7d7676;
  font-weight: 400;
  margin-bottom: 20px;
}

.detalle-img {
  width: 100%;
  max-width: 280px;
  margin: 0 auto 24px;
  display: block;
  object-fit: contain;
}

.detalle-img-sobres {
  max-width: 220px;
  margin-bottom: 18px;
}

.detalle-titulo-bloque {
  font-size: 1.2rem;
  letter-spacing: 10px;
  color: #7a6258;
  margin-bottom: 16px;
  font-weight: 500;
}

.detalle-titulo-sobres {
  letter-spacing: 4px;
  font-size: 1.1rem;
  line-height: 1.5;
}

.detalle-texto {
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.05rem;
  letter-spacing: 6px;
  line-height: 1.8;
  color: #7d7676;
  text-transform: uppercase;
}

.detalle-texto-sobres {
  letter-spacing: 4px;
}

@media (min-width: 900px) {
  .detalles-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .detalle-card {
    padding: 46px 30px;
  }
}

@media (max-width: 480px) {
  .detalle-script {
    font-size: 3.2rem;
  }

  .detalle-img {
    max-width: 220px;
  }

  .detalle-img-sobres {
    max-width: 180px;
  }

  .detalle-titulo-bloque {
    font-size: 1rem;
    letter-spacing: 6px;
  }

  .detalle-texto {
    font-size: 0.95rem;
    letter-spacing: 3px;
    line-height: 1.7;
  }
}

/* ==========================
   FONDO DESDE LUGAR HASTA TRIVIA
   ========================== */
.fondo-detalles {
  position: relative;
  background: url("img/picture10.jpg") center center / cover no-repeat fixed;
}

.fondo-detalles::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(248, 242, 242, 0.82);
  backdrop-filter: blur(2px);
}

.fondo-detalles > * {
  position: relative;
  z-index: 1;
}

/* Para que las secciones de ahí dejen ver el fondo */
.fondo-detalles .seccion.clara {
  background: transparent;
}

/* ==========================
   DEDICATORIA + FAMILIA
   ========================== */
.dedicatoria-seccion {
  position: relative;
  background: url("img/foto11.avif") center center / cover no-repeat;
  padding: 90px 20px;
  overflow: hidden;
}

.dedicatoria-overlay {
  position: absolute;
  inset: 0;
  background: rgba(35, 20, 20, 0.30);
  backdrop-filter: blur(1px);
}

.dedicatoria-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 950px;
  margin: 0 auto;
  padding: 60px 50px;
  background: transparent;
  border: none;
  box-shadow: none;
}

.dedicatoria-titulo {
  margin-bottom: 22px;
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.dedicatoria-texto {
  max-width: 760px;
  margin: 0 auto 34px;
  font-size: 1.15rem;
  line-height: 1.9;
  color: black;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.familia-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 12px;
  margin-bottom: 26px;
}

.familia-bloque {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.30);
  border-radius: 16px;
  padding: 28px 20px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.familia-titulo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 500;
  color: red;
  margin-bottom: 14px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.familia-nombre {
  font-size: 1.05rem;
  line-height: 1.8;
  color: black;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.dedicatoria-final {
  font-family: 'Great Vibes', cursive;
  font-size: 2.4rem;
  color: black;
  margin-top: 10px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

@media (min-width: 900px) {
  .familia-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dedicatoria-card {
    padding: 60px 50px;
  }
}

@media (max-width: 480px) {
  .dedicatoria-seccion {
    padding: 70px 16px;
  }

  .dedicatoria-card {
    padding: 32px 18px;
  }

  .dedicatoria-texto {
    font-size: 1rem;
    line-height: 1.8;
  }

  .familia-titulo {
    font-size: 1.7rem;
  }

  .dedicatoria-final {
    font-size: 2rem;
  }
}