* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: #f6f3ee;
  color: #ffffff;
  overflow-x: hidden;
}

/* =========================
   INTRO SOBRE
========================= */

.intro-sobre {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #6f857d;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.intro-sobre.oculta {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-contenido {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.sobre-wrap {
  position: relative;
  width: 260px;
  height: 210px;
  display: flex;
  justify-content: center;
  align-items: end;
}

.carta-intro {
  position: absolute;
  bottom: 0;
  width: 150px;
  height: 95px;
  background: #f7f4ef;
  border-radius: 6px;
  box-shadow:
    0 8px 20px rgba(0,0,0,0.12),
    0 1px 0 rgba(255,255,255,0.45) inset;
  animation: cartaSube 2.6s ease forwards;
}

.carta-linea {
  height: 2px;
  background: rgba(111,133,125,0.24);
  border-radius: 999px;
  margin: 16px auto 0;
}

.carta-linea-1 { width: 72%; }
.carta-linea-2 { width: 58%; }
.carta-linea-3 { width: 64%; }
.carta-linea-4 { width: 44%; }

.sobre {
  position: relative;
  width: 220px;
  height: 140px;
}

.sobre-cuerpo {
  position: absolute;
  inset: 0;
  background: #ede8e0;
  border-radius: 0 0 10px 10px;
  box-shadow:
    0 12px 24px rgba(0,0,0,0.14),
    0 1px 0 rgba(255,255,255,0.45) inset;
}

.sobre-frente {
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 50% 58%, 100% 0, 100% 100%, 0 100%);
  background: #e3ddd3;
  border-radius: 0 0 10px 10px;
  z-index: 3;
  box-shadow: 0 -1px 0 rgba(255,255,255,0.35) inset;
}

.sobre-tapa {
  position: absolute;
  top: 0;
  left: 0;
  width: 220px;
  height: 90px;
  background: #f3eee7;
  clip-path: polygon(0 0, 50% 100%, 100% 0);
  transform-origin: top center;
  z-index: -9999;
  animation: tapaAbre 2.6s ease forwards;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.08));
}

.intro-texto {
  font-size: 0.95rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  animation: introTexto 2.6s ease forwards;
}

@keyframes tapaAbre {
  0%, 22% {
    transform: rotateX(0deg);
  }
  45%, 100% {
    transform: rotateX(180deg);
  }
}

@keyframes cartaSube {
  0%, 20% {
    transform: translateY(0);
  }
  45% {
    transform: translateY(-10px);
  }
  75% {
    transform: translateY(-78px);
  }
  100% {
    transform: translateY(-150px);
  }
}

@keyframes introTexto {
  0%, 70% {
    opacity: 0.75;
  }
  100% {
    opacity: 0;
  }
}

/* =========================
   PORTADA
========================= */

.portada {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 22px 34px;
  position: relative;
  background: #6f857d;
  opacity: 0;
  transform: scale(1.01);
  transition: opacity 0.9s ease, transform 0.9s ease;
  overflow: hidden;
}

.portada.visible {
  opacity: 1;
  transform: scale(1);
}

.portada::before,
.portada::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  opacity: 0.08;
  pointer-events: none;
  background: radial-gradient(circle, #c9d4cd 0%, transparent 70%);
  filter: blur(2px);
}

.portada::before {
  top: 40px;
  left: -40px;
}

.portada::after {
  right: -40px;
  bottom: 30px;
}

.contenido-portada {
  position: relative;
  width: 100%;
  max-width: 520px;
  text-align: center;
  transform: translateY(-18px);
  padding-bottom: 64px;
}

.fecha {
  font-size: 1.22rem;
  letter-spacing: 8px;
  color: rgba(255,255,255,0.56);
  margin-bottom: 28px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.flor {
  display: flex;
  justify-content: center;
  align-items: center;

}

.flor img {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,0.12));
}

.flor-arriba {
  margin-bottom: 10px;
}

.flor-abajo {
  margin-top: 10px;
  margin-bottom: 26px;
}

.linea-floral {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  position: relative;
}

.linea-floral::before {
  content: "";
  display: block;
  height: 1px;
  background: rgba(255,255,255,0.45);
}

.linea-floral.arriba {
  margin-bottom: 22px;
}

.linea-floral.abajo {
  margin-top: 18px;
  margin-bottom: 0;
}

.bienvenida {
  font-family: 'Italianno', cursive;
  font-size: 2.25rem;
  line-height: 1.05;
  font-weight: 400;
  color: #f4f1ea;
  margin-bottom: 16px;
  text-shadow: 0 3px 8px rgba(0,0,0,0.35);
}

.bloque-nombres {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 230px;
}

.ampersand-fondo {
  position: absolute;
  z-index: 1;
  font-family: 'Italianno', cursive;
  font-size: 8.5rem;
  line-height: 1;
  color: rgba(255,255,255,0.17);
  text-shadow: 0 3px 10px rgba(0,0,0,0.10);
  top: 54%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.nombres {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.nombre-linea {
  font-family: 'Italianno', cursive;
  font-size: 5.4rem;
  font-weight: 400;
  color: #ffffff;
  line-height: 0.92;
  text-shadow:
    0 3px 0 rgba(0,0,0,0.12),
    0 6px 14px rgba(0,0,0,0.28);
}

.btn-ingresar {
  display: inline-block;
  min-width: 190px;
  text-align: center;
  text-decoration: none;
  background: #f6f5f2;
  color: #7c8a84;
  padding: 16px 36px;
  border-radius: 999px;
  font-size: 1.08rem;
  font-weight: 700;
  box-shadow:
    0 2px 0 rgba(255,255,255,0.35) inset,
    0 10px 22px rgba(0,0,0,0.18);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-ingresar:hover {
  transform: translateY(-2px);
  opacity: 0.96;
}

/* =========================
   FLECHAS SCROLL
========================= */

.flecha-scroll {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
}


.flecha-scroll a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* FLECHA centrada (como antes) */
.flecha-scroll span {
  display: block;
}

/* TEXTO a la izquierda de la flecha */
.flecha-con-texto {
  bottom: 50px;
}

.flecha-texto {
  position: absolute;
  right: -25px;
  top: 120%;

  font-family: 'Italianno', cursive;
  font-size: 2rem;
  font-style: normal;
  line-height: 1;

  color: rgba(111,133,125,0.7);
  letter-spacing: 0.02em;

  pointer-events: none; /* 👈 no clickeable */
  animation: continuarSuave 1.8s infinite;
}

@keyframes continuarSuave {
  0%, 100% {
    transform: translateY(-50%) translate(0, 0);
    opacity: 0.55;
  }
  50% {
    transform: translateY(-50%) translate(0px, 4px);
    opacity: 1;
  }
}

.flecha-scroll a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.flecha-scroll a:hover {
  opacity: 1;
  transform: translateY(2px);
}

.flecha-scroll span {
  display: block;
  width: 16px;
  height: 16px;
  border-right: 2px solid rgba(255,255,255,0.85);
  border-bottom: 2px solid rgba(255,255,255,0.85);
  transform: rotate(45deg);
  animation: bajarSuave 1.8s infinite;
}

.flecha-calendario {
  bottom: 50px;
}

.flecha-calendario a {
  width: 38px;
  height: 38px;
}

.flecha-calendario span {
  border-right: 2px solid rgba(111,133,125,0.85);
  border-bottom: 2px solid rgba(111,133,125,0.85);
}


.flecha-civil {
  bottom: 94px;
}

.flecha-civil a {
  width: 38px;
  height: 38px;
}

.flecha-civil span {
  border-right: 2px solid rgba(111,133,125,0.85);
  border-bottom: 2px solid rgba(111,133,125,0.85);
}

@keyframes bajarSuave {
  0%, 100% {
    transform: rotate(45deg) translate(0, 0);
    opacity: 0.55;
  }
  50% {
    transform: rotate(45deg) translate(4px, 4px);
    opacity: 1;
  }
}

/* =========================
   SECCIÓN CALENDARIO
========================= */

.seccion-calendario {
  background: #f6f3ee;
  padding: 70px 22px 100px;
  display: flex;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.flor-cal {
  position: absolute;
  top: 0;
  left: -28px;
  width: 139px;
  z-index: 3;
  pointer-events: none;
  transform: rotate(6deg);
}

.flor-cal img {
  width: 100%;
  height: auto;
  display: block;
}

.flor-cal-2 {
  position: absolute;
  right: -30px;
  bottom: 18px;
  width: 215px;
  z-index: 3;
  pointer-events: none;
  transform: rotate(-6deg);
}

.flor-cal-2 img {
  width: 100%;
  height: auto;
  display: block;
}

.calendario-card {
  width: 100%;
  max-width: 520px;
  background: rgba(255,255,255,0.58);
  border-radius: 30px;
  padding: 34px 24px 76px;
  box-shadow: 0 14px 28px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(4px);
}

.calendario-card::before {
  content: "";
  position: absolute;
  top: -10px;
  right: -35px;
  width: 140px;
  height: 220px;
  background: radial-gradient(circle at center, rgba(152,171,161,0.14), transparent 70%);
  transform: rotate(12deg);
  pointer-events: none;
}

.linea-calendario {
  max-width: 220px;
  margin-bottom: 24px;
}

.linea-calendario::before {
  background: rgba(111,133,125,0.28);
}

.calendario-mes {
  font-family: 'Italianno', cursive;
  font-size: 3.2rem;
  line-height: 1;
  text-align: center;
  color: #8b8b8b;
  margin-bottom: 26px;
}

.calendario-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  gap: 10px 6px;
}

.calendario-dias {
  margin-bottom: 12px;
}

.calendario-dias span {
  font-weight: 600;
  color: #3e3e3e;
  font-size: 1rem;
}

.calendario-fechas span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  font-size: 1.2rem;
  color: #2f2f2f;
}

.calendario-fechas .vacio {
  visibility: hidden;
}

.fecha-evento {
  position: relative;
  font-weight: 700;
}

.fecha-evento.civil {
  color: #8e9f6f;
}

.fecha-evento.fiesta {
  color: #7f9188;
}

.fecha-evento.civil::after,
.fecha-evento.fiesta::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  border: 2px solid currentColor;
  border-radius: 50%;
  opacity: 0.55;
}

.calendario-leyenda {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 22px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  color: #666;
  font-size: 0.95rem;
}

.calendario-leyenda div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.punto {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.punto.civil {
  background: #a5b184;
}

.punto.fiesta {
  background: #7f9188;
}

.agenda-botones {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.agenda-btn {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  background: #b4bc96;
  color: #ffffff;
  padding: 15px 20px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(0,0,0,0.10);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.agenda-btn:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.agenda-btn-secundario {
  background: #8ea097;
}
/* =========================
   CIVIL - FIESTA
========================= */

.civil-fiesta {
  position: relative;
  min-height: 100vh;
  padding: 28px 12px 28px;
  background: #f5f2ee;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.civil-fiesta__waves {
  position: absolute;
  top: 18px;
  left: 0;
  width: 100%;
  height: 95px;
  pointer-events: none;
  z-index: 1;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='220' viewBox='0 0 1600 220'%3E%3Cpath d='M0 90 C200 40 400 140 600 90 S1000 40 1200 90 S1400 140 1600 90' fill='none' stroke='%23d0a247' stroke-width='1.4'/%3E%3Cpath d='M0 120 C200 70 400 170 600 120 S1000 70 1200 120 S1400 170 1600 120' fill='none' stroke='%23d0a247' stroke-width='1.4'/%3E%3Cpath d='M0 150 C200 100 400 200 600 150 S1000 100 1200 150 S1400 200 1600 150' fill='none' stroke='%23d0a247' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 170% 95px;
}

.civil-fiesta__wrap {
  position: absolute;
  top: 18px;
  z-index: 2;
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.civil-fiesta__item {
  width: 100%;
  text-align: center;
}

.civil-fiesta__circle {
  width: 150px;
  height: 150px;
  margin: 0 auto 10px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#anim-anillos-civil,
#anim-fiesta-civil {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#anim-anillos-civil svg,
#anim-fiesta-civil svg {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.civil-fiesta__kicker {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c3a35a;
  font-weight: 700;
}

.civil-fiesta__title {
  margin: 0 0 0.45rem;
  color: #6f8a84;
  font-size: 1.5rem;
  line-height: 0.95;
  font-weight: 700;
}

.civil-fiesta__place {
  margin: 0 0 0.2rem;
  color: #8d8d8d;
  font-size: 1.25rem;
  line-height: 1.25;
}

.civil-fiesta__address {
  margin: 0 0 1rem;
  color: #9b9b9b;
  font-size: 1rem;
  line-height: 1.25;
}

.civil-fiesta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 11.2rem;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  background: #9aa9a1;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: 0 6px 14px rgba(154, 169, 161, 0.22);
}

.civil-fiesta__btn:hover {
  background: #889a91;
  transform: translateY(-2px);
}

/* =========================
   FLORES DECORATIVAS CIVIL-FIESTA
========================= */

.flor-fies {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  opacity: 1	;
}

.flor-fies img {
  width: 100%;
  height: auto;
  display: block;
}

.flor-fies-izq {
  top: 4px;
  left: 0px;
  width: 100px;
  transform: rotate(8deg);
}

.flor-fies-der {
  bottom: 50px;
  right: 0px;
  width: 100px;
  transform: scaleX(-1) scaleY(-1) rotate(8deg);
}

/* =========================
   DESKTOP CIVIL-FIESTA
========================= */

@media (min-width: 768px) {
  .civil-fiesta {
    min-height: auto;
    padding: 90px 20px 100px;
  }

  .civil-fiesta__waves {
    top: 55px;
    height: 180px;
    background-size: 100% 180px;
  }

  .civil-fiesta__wrap {
    max-width: 1100px;
    grid-template-columns: repeat(2, minmax(280px, 360px));
    justify-content: center;
    gap: 120px;
  }

  .civil-fiesta__circle {
    width: 220px;
    height: 220px;
    margin-bottom: 26px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
  }

  #anim-anillos-civil,
  #anim-fiesta-civil {
    width: 112px;
    height: 112px;
  }

  .civil-fiesta__kicker {
    margin-bottom: 10px;
    font-size: 13px;
  }

  .civil-fiesta__title {
    margin-bottom: 14px;
    font-size: 52px;
  }

  .civil-fiesta__place {
    margin-bottom: 10px;
    font-size: 20px;
  }

  .civil-fiesta__address {
    margin-bottom: 26px;
    font-size: 19px;
  }

  .civil-fiesta__btn {
    min-width: 190px;
    padding: 15px 28px;
    font-size: 18px;
    box-shadow: 0 8px 18px rgba(154, 169, 161, 0.35);
  }

  .flor-fies-izq {
    top: 6px;
    left: -14px;
    width: 78px;
  }

  .flor-fies-der {
    bottom: 8px;
    right: -12px;
    width: 78px;
  }
}

/* =========================
   CUENTA REGRESIVA
========================= */

.cuenta-regresiva {
  position: relative;
  min-height: 100vh;
  background: #f3efe9;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 120px 20px 160px;
}

.onda {
  position: absolute;
  left: 0;
  width: 100%;
  border-radius: 0 0 50% 50%;
}

.onda-1 {
  top: 0;
  height: 180px;
  background: #98aba1;
  border-bottom-left-radius: 45% 100%;
  border-bottom-right-radius: 55% 100%;
}

.onda-2 {
  top: 55px;
  height: 130px;
  background: rgba(255,255,255,0.28);
  border-bottom-left-radius: 55% 100%;
  border-bottom-right-radius: 45% 100%;
}

.contador-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.aro-deco {
  position: absolute;
  width: 320px;
  height: 320px;
  border: 3px solid #d7a343;
  border-radius: 50%;
  opacity: 0.95;
  transform: rotate(18deg);
}

.aro-deco::before,
.aro-deco::after {
  content: "";
  position: absolute;
  border: 2px solid #d7a343;
  border-radius: 50%;
}

.aro-deco::before {
  inset: 14px;
  transform: rotate(24deg);
}

.aro-deco::after {
  inset: -12px;
  transform: rotate(-22deg);
  opacity: 0.8;
}

.contador-circulo {
  position: relative;
  z-index: 2;
  width: 270px;
  min-height: 270px;
  border-radius: 50%;
  background: #fcfbf8;
  box-shadow: 0 10px 26px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 28px 30px;
  text-align: center;
}

.contador-circulo h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 500;
  color: #c29d5b;
  margin-bottom: 24px;
}

.contador-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 28px;
}

.contador-item {
  position: relative;
}

.contador-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 0;
  width: 1px;
  height: 52px;
  background: rgba(0,0,0,0.12);
}

.contador-item span {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #7f7f7f;
  line-height: 1;
  margin-bottom: 8px;
}

.contador-item small {
  font-size: 0.95rem;
  color: #c29d5b;
  font-weight: 500;
}

.corazon-latiendo {
  font-size: 2.4rem;
  color: #7f978d;
  animation: latido 1.2s infinite ease-in-out;
  line-height: 1;
}

@keyframes latido {
  0%, 100% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.18);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.14);
  }
  70% {
    transform: scale(1);
  }
}

/* =========================
   DESKTOP
========================= */

@media (min-width: 768px) {
  .sobre-wrap {
    width: 320px;
    height: 250px;
  }

  .sobre {
    width: 270px;
    height: 170px;
  }

  .sobre-tapa {
    width: 270px;
    height: 110px;
  }

  .carta-intro {
    width: 182px;
    height: 85px;
    bottom: 44px;
  }

  .intro-texto {
    font-size: 1rem;
  }

  .portada {
    padding: 24px 22px 34px;
  }

  .contenido-portada {
    max-width: 760px;
    transform: translateY(-16px);
    padding-bottom: 66px;
  }

  .fecha {
    font-size: 1.35rem;
    letter-spacing: 9px;
    margin-bottom: 30px;
  }

  .flor img {
    max-width: 330px;
  }

  .flor-arriba {
    margin-bottom: 10px;
  }

  .flor-abajo {
    margin-top: 10px;
    margin-bottom: 28px;
  }

  .linea-floral {
    max-width: 380px;
  }

  .linea-floral.arriba {
    margin-bottom: 22px;
  }

  .linea-floral.abajo {
    margin-top: 18px;
  }

  .bienvenida {
    font-size: 2.9rem;
    margin-bottom: 14px;
  }

  .bloque-nombres {
    min-height: 210px;
  }

  .ampersand-fondo {
    font-size: 9rem;
    color: rgba(255,255,255,0.14);
    top: 53%;
  }

  .nombres {
    gap: 12px;
  }

  .nombre-linea {
    font-size: 6.2rem;
  }

  .btn-ingresar {
    font-size: 1.1rem;
    padding: 16px 42px;
    min-width: 200px;
  }

  .flecha-scroll {
    bottom: 20px;
  }

  .seccion-calendario {
    padding: 90px 22px 34px;
  }

  .calendario-card {
    max-width: 760px;
    padding: 42px 34px 80px;
  }

  .linea-calendario {
    max-width: 260px;
    margin-bottom: 28px;
  }

  .calendario-mes {
    font-size: 3.8rem;
    margin-bottom: 30px;
  }

  .calendario-grid {
    gap: 14px 10px;
  }

  .calendario-dias span {
    font-size: 1.02rem;
  }

  .calendario-fechas span {
    font-size: 1.3rem;
    min-height: 42px;
  }

  .agenda-btn {
    font-size: 1.05rem;
    padding: 16px 22px;
  }

  .flecha-calendario {
    bottom: 22px;
  }

  .civil-fiesta {
    padding: 90px 20px 100px;
  }

  .civil-fiesta__waves {
    top: 55px;
    height: 180px;
    background-size: 100% 180px;
  }

  .civil-fiesta__wrap {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 120px;
    max-width: 1100px;
  }

  .civil-fiesta__item {
    width: 360px;
    max-width: none;
  }

  .civil-fiesta__circle {
    width: 220px;
    height: 220px;
    margin-bottom: 26px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
  }

  #anim-anillos-civil,
  #anim-fiesta-civil {
    width: 112px;
    height: 112px;
  }

  .civil-fiesta__kicker {
    margin-bottom: 10px;
    font-size: 13px;
  }

  .civil-fiesta__title {
    margin-bottom: 14px;
    font-size: 52px;
  }

  .civil-fiesta__place {
    margin-bottom: 10px;
    font-size: 20px;
  }

  .civil-fiesta__address {
    margin-bottom: 26px;
    font-size: 19px;
  }

  .civil-fiesta__btn {
    min-width: 190px;
    padding: 15px 28px;
    font-size: 18px;
    box-shadow: 0 8px 18px rgba(154, 169, 161, 0.35);
  }

  .flor-fies-izq {
    top: 6px;
    left: -14px;
    width: 78px;
  }

  .flor-fies-der {
    bottom: 8px;
    right: -12px;
    width: 78px;

  }

  .cuenta-regresiva {
    padding-top: 130px;
  }

  .onda-1 {
    height: 220px;
  }

  .onda-2 {
    top: 70px;
    height: 150px;
  }

  .aro-deco {
    width: 380px;
    height: 380px;
  }

  .contador-circulo {
    width: 310px;
    min-height: 310px;
    padding: 42px 34px 34px;
  }

  .contador-circulo h2 {
    font-size: 2.8rem;
    margin-bottom: 28px;
  }

  .contador-item span {
    font-size: 2.2rem;
  }

  .contador-item small {
    font-size: 1rem;
  }

  .corazon-latiendo {
    font-size: 2.8rem;
  }
}

/* =========================
   REGALOS
========================= */

.seccion-regalos {
  background: #81968D;
  height: 100svh;
  min-height: 100svh;
  padding: 0 20px 72px;
  position: relative;
  overflow: hidden;

  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.flor-regalos {
  position: absolute;
  z-index: 5;
  pointer-events: none;
  opacity: 1;
}

.flor-regalos img {
  width: 100%;
  height: auto;
  display: block;
}

.flor-regalos-izq {
  top: -5px;
  left: -32px;
  width: 145px;
  transform: rotate(7deg);
}


.flor-regalos-der {
  position: absolute;
  bottom: 0px;
  right: -20px;

  width: 200px;
  transform: scaleX(-1) rotate(-180deg);

  z-index: 2;
  pointer-events: none;
  opacity: 1;
}



.regalos-waves {
  position: absolute;
  top: 86px;
  left: 0;
  width: 100%;
  height: 120px;

  pointer-events: none;
  z-index: 0;

  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='220' viewBox='0 0 1600 220'%3E%3Cpath d='M0 78 C220 28 420 98 650 78 C900 56 1090 118 1320 82 C1450 62 1540 42 1600 24' fill='none' stroke='%23d0a247' stroke-width='1.5' opacity='0.75'/%3E%3Cpath d='M0 120 C230 62 430 148 665 118 C890 88 1080 62 1320 108 C1465 136 1545 102 1600 78' fill='none' stroke='%23c99a38' stroke-width='1.5' opacity='0.9'/%3E%3Cpath d='M0 158 C210 205 430 178 640 148 C880 114 1090 104 1325 150 C1465 178 1545 144 1600 118' fill='none' stroke='%23e0b85a' stroke-width='1.5' opacity='0.65'/%3E%3C/svg%3E");

  background-repeat: no-repeat;
  background-position: center;
  background-size: 210% 120px;

  opacity: 0.95;
}

.regalos-inner {
  width: 100%;
  max-width: 430px;

  display: flex;
  flex-direction: column;
  align-items: center;

  padding-top: 58px;
  gap: 20px;
  position: relative;
  z-index: 1;
}

/* ICONO */

.regalo-icono {
  display: flex;
  justify-content: center;
  align-items: center;
}

.regalo-circulo {
  width: 150px;
  height: 150px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);

  display: flex;
  align-items: center;
  justify-content: center;

  animation: regaloEntrada 0.9s ease-out both;
}

#anim-regalo {
  width: 100px;
  height: 100px;
}

#anim-regalo svg {
  width: 100% !important;
  height: 100% !important;
  display: block;
  filter: contrast(1.1) drop-shadow(0 2px 6px rgba(0,0,0,0.08));
}

/* TEXTOS */

.regalos-intro,
.regalos-sub {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
  color: rgba(255,255,255,0.96);
  text-align: center;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.emoji {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 1.12rem;
  margin-top: 4px;
}

/* DATOS */

.regalos-datos {
  width: 100%;
  margin-top: 4px;
}

.regalos-card {
  width: 100%;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 22px;

  padding: 0.85rem 0.9rem 1rem;

  backdrop-filter: blur(3px);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

.regalos-card p {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center; 
  gap: 0.02rem;
  margin-bottom: 0.35rem;
}

.regalos-card span {
  font-size: 0.7rem;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.78);
}

.regalos-card strong {
  font-size: 0.88rem;
  text-align: center;
  color: #fff;
  word-break: break-word;
}

.regalos-botones {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 0.55rem;
}

.regalos-btn-sec {
  padding: 0.6rem 0.75rem;
  min-width: 110px;

  background: rgba(255,255,255,0.95);
  color: #7a7d58;

  font-size: 0.78rem;
  border-radius: 999px;
  font-weight: 700;

  border: 0;
  cursor: pointer;

  box-shadow: 0 6px 14px rgba(0,0,0,.1);
}

/* FLECHA */

.flecha-regalos {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
}

.flecha-regalos span {
  border-right: 2px solid rgba(255,255,255,0.85);
  border-bottom: 2px solid rgba(255,255,255,0.85);
}

/* ANIMACIONES */

@keyframes regaloEntrada {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* DESKTOP */

@media (min-width: 768px) {
  .seccion-regalos {
    height: auto;
    min-height: 100vh;
    padding: 90px 20px 90px;
    align-items: center;
  }

  .regalos-inner {
    max-width: 760px;
    padding-top: 0;
    gap: 24px;
  }

  .regalo-circulo {
    width: 220px;
    height: 220px;
  }

  #anim-regalo {
    width: 112px;
    height: 112px;
  }

  .regalos-intro,
  .regalos-sub {
    font-size: 1.2rem;
  }

  .emoji {
    font-size: 1.6rem;
  }

  .regalos-card {
    max-width: 620px;
  }
}



.seccion-fotos {
  background: #f6f3ee;
  min-height: 100vh;
  padding: 60px 20px 80px;

  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}



.fotos-waves {
  position: absolute;
  top: 70px; /* 👈 ajusta altura respecto al círculo */
  left: 0;
  width: 100%;
  height: 150px;

  pointer-events: none;
  z-index: 0;

  background-image:
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='220' viewBox='0 0 1600 220'%3E%3Cpath d='M0 95 C300 185 600 105 900 95 C1200 85 1400 105 1600 155' fill='none' stroke='%238FA19A' stroke-width='1.3' opacity='0.5'/%3E%3Cpath d='M0 125 C300 175 500 135 600 115 C1200 15 1400 185 1600 105' fill='none' stroke='%237C8F88' stroke-width='1.3' opacity='0.9'/%3E%3Cpath d='M0 125 C300 115 400 105 700 155 C1000 195 2000 165 1200 205' fill='none' stroke='%23A5B5AE' stroke-width='1.2' opacity='0.9'/%3E%3C/svg%3E");

  background-repeat: no-repeat;
  background-position: left;
  background-size: 200% 120px;

  opacity: 0.9;
}


.fotos-inner {
  width: 100%;
  max-width: 430px;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  gap: 20px;
	
  transform: translateY(-40px);	
}

/* ICONO */

.fotos-circulo {
  width: 150px;
  height: 150px;
  background: white;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.fotos-circulo img {
  width: 70px;
  opacity: 0.7;
}

/* TEXTOS */

.fotos-titulo {
  font-size: 1.2rem;
  font-weight: 700;
  color: #6f857d;
}

.fotos-sub {
  font-size: 0.95rem;
  color: #8d8d8d;
  line-height: 1.4;
}


#lottie-camara {
  width: 80px;
  height: 80px;
}



/* QR */

.fotos-qr img {
  width: 220px;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.1);
}

/* BOTÓN */

.fotos-btn {
  background: #9aa9a1;
  color: white;
  padding: 12px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;

  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.flecha-fotos {
  bottom: 94px;
}

.flecha-fotos span {
  border-right: 2px solid #6f857d;
  border-bottom: 2px solid #6f857d;
  opacity: 0.8;
}

.flor-fotos-izq {
  position: absolute;
  top: -10px;
  left: -40px; /* 👈 que “entre” desde afuera */
  width: 160px;
  z-index: 2;
  pointer-events: none;
	
}

.flor-fotos-izq img {
  width: 100%;
  height: auto;
  display: block;
  transform: rotate(3deg);
}

.seccion-fotos {
  position: relative;
}


/* =========================
   CONFIRMAR ASISTENCIA
========================= */

.seccion-asistencia {
  min-height: 100vh;
  background: #81968D;
  padding: 70px 20px 90px;
  position: relative;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;
}

.asistencia-inner {
  text-align: center;
  max-width: 430px;
  width: 100%;
}

.asistencia-circulo {
  width: 150px;
  height: 150px;
  margin: 0 auto 28px;
  background: #fff;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 10px 25px rgba(0,0,0,.12);
}

#anim-asistencia {
  width: 95px;
  height: 95px;
}




.asistencia-inner h2 {
  font-family: 'Italianno', cursive;
  font-size: 3.4rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 8px;
}

.asistencia-inner p {
  color: rgba(255,255,255,.85);
  font-size: 1rem;
  margin-bottom: 26px;
}

.asistencia-btn {
  border: 0;
  background: #f6f3ee;
  color: #6f857d;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0,0,0,.15);
}

.asistencia-form-inline {
  width: 100%;
  max-width: 360px;
  margin: 28px auto 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.asistencia-form-inline input[type="text"],
.asistencia-form-inline textarea {
  width: 100%;
  max-width: 340px;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,0.45);
  background: transparent;

  padding: 8px 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  text-align: center;
  color: #ffffff;

  outline: none;
  resize: none;
}

.asistencia-form-inline textarea {
  height: 74px;
  line-height: 1.35;
}

.asistencia-form-inline input::placeholder,
.asistencia-form-inline textarea::placeholder {
  color: rgba(255,255,255,0.75);
}

.asistencia-form-inline .radio-grupo {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;

  color: rgba(255,255,255,0.92);
  font-size: 0.95rem;
  margin: 0;
}

.asistencia-form-inline .radio-grupo label {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.asistencia-form-inline .asistencia-btn {
  margin-top: 6px;
  min-width: 220px;
}

.mensaje-exito {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);

  display: flex;
  justify-content: center;
  align-items: center;

  opacity: 0;
  pointer-events: none;
  transition: all 0.35s ease;
  z-index: 9999;
}

.mensaje-exito.activo {
  opacity: 1;
  pointer-events: auto;
}

.mensaje-box {
  background: #f5f5f3;
  padding: 26px 30px;
  border-radius: 18px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;

  box-shadow: 0 12px 35px rgba(0,0,0,0.2);
  transform: translateY(20px);
  transition: all 0.35s ease;
}

.mensaje-exito.activo .mensaje-box {
  transform: translateY(0);
}

#anim-check-ok {
  width: 60px;
  height: 60px;
}

.mensaje-box p {
  font-family: 'Montserrat', sans-serif;
  color: #6f8a80;
  font-size: 1rem;
}


.asistencia-form-inline input[type="text"],
.asistencia-form-inline textarea {
  width: 100%;
  max-width: 340px;

  background: #ffffff;
  border: none;
  border-radius: 20px;

  padding: 14px 18px;

  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  line-height: 1.35;

  color: #5f746d; /* verde del diseo */
  text-align: center;

  outline: none;
  resize: none;

  box-shadow:
    0 8px 20px rgba(0,0,0,0.08);
}

.asistencia-form-inline textarea {
  min-height: 95px;
}

.asistencia-form-inline input::placeholder,
.asistencia-form-inline textarea::placeholder {
  color: #9aaea7;
}

.asistencia-form-inline input:focus,
.asistencia-form-inline textarea:focus {
  box-shadow:
    0 8px 20px rgba(0,0,0,0.08),
    0 0 0 2px rgba(255,255,255,0.5);
}

.cuenta-regresiva {
  position: relative;
  min-height: 100vh;
  background: #f3efe9;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  padding: 120px 20px 160px;
}

.contador-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;

  display: flex;
  justify-content: center;
  align-items: center;
}

#detalle-evento .texto-los-esperamos-final {
  margin-top: 10px !important;

  font-family: 'Italianno', cursive !important;
  font-size: 2.7rem !important;
  line-height: 1 !important;

  color: #7f978d !important;
  opacity: 1 !important;
  text-align: center !important;

  position: static !important;
  transform: none !important;
  width: auto !important;
  z-index: 99 !important;
}

#detalle-evento .corazon-latiendo {
  margin-bottom: 0 !important;
}