:root {
  --noche: #0e1c2f;
  --noche-90: rgba(14, 28, 47, 0.92);
  --marino: #193355;
  --marino-85: rgba(25, 51, 85, 0.85);
  --acero: #345d8b;
  --acero-claro: #5c7292;
  --hielo: #a5b3c8;
  --plata: #c2c0be;
  --perla: #f7f9fc;
  --perla-clara: #d8dbe4;
  --fondo-alt: #bac3d4;
  --blanco: #f7f9fc;
  --linea: rgba(92, 114, 146, 0.35);
  --texto: #193355;
  --texto-suave: #5c7292;
  --sombra-suave: rgba(14, 28, 47, 0.12);

  --font-display: 'Montserrat', sans-serif;
  --font-serif-soft: 'Cormorant Garamond', serif;
  --font-nombre: 'Cormorant Garamond', serif;
  --font-script: 'Great Vibes', cursive;
  --font-texto: 'Montserrat', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-texto);
  color: var(--texto);
  overflow-x: hidden;
  font-weight: 300;
  background-color: var(--perla-clara);
  -webkit-tap-highlight-color: transparent;
}
/* Fondo fijo como capa aparte: background-attachment: fixed no funciona en iOS */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(247, 249, 252, 0.78), rgba(247, 249, 252, 0.78)),
    url('img/hero-cielo-estrellado.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

img { max-width: 100%; display: block; }

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 22px;
  height: 22px;
  display: inline-block;
  fill: none;
  color: currentColor;
}

/* ---------- Marco general de página ---------- */
.page-frame {
  position: fixed;
  inset: 10px;
  z-index: 300;
  pointer-events: none;
  border: 1px solid rgba(170, 182, 201, 0.3);
  display: none;
}
.page-frame::before,
.page-frame::after,
.page-frame > span::before,
.page-frame > span::after { content: ""; position: absolute; width: 22px; height: 22px; border-color: var(--acero); }
.page-frame::before { top: -1px; left: -1px; border-top: 1px solid; border-left: 1px solid; }
.page-frame::after { top: -1px; right: -1px; border-top: 1px solid; border-right: 1px solid; }
.page-frame > span::before { bottom: -1px; left: -1px; border-bottom: 1px solid; border-left: 1px solid; }
.page-frame > span::after { bottom: -1px; right: -1px; border-bottom: 1px solid; border-right: 1px solid; }
@media (min-width: 900px) { .page-frame { display: block; } }


/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.4rem 1.1rem 3rem;
  color: var(--texto);
  overflow: hidden;
  background-image: url('img/hero-cielo-estrellado.png');
  background-size: cover;
  background-position: center;
}
@media (max-width: 640px) {
  .hero { height: 100svh; }
}

.corner-tl { top: -1px; left: -1px; border-top: 1px solid; border-left: 1px solid; }
.corner-tr { top: -1px; right: -1px; border-top: 1px solid; border-right: 1px solid; }
.corner-bl { bottom: -1px; left: -1px; border-bottom: 1px solid; border-left: 1px solid; }
.corner-br { bottom: -1px; right: -1px; border-bottom: 1px solid; border-right: 1px solid; }

/* ---------- Marco ornamental del hero (mobile-first) ---------- */
.hero-frame { position: absolute; inset: 0; z-index: 2; pointer-events: none; }

.frame-rose {
  position: absolute;
  width: 56vw;
  max-width: 230px;
  bottom: -1vh;
  filter: drop-shadow(0 10px 18px rgba(14, 28, 47, 0.28));
}
.frame-rose-l { left: -5vw; }
.frame-rose-r { right: -5vw; }

.frame-leaf {
  position: absolute;
  width: 30vw;
  max-width: 130px;
  opacity: 0.9;
}
.frame-leaf-l { left: -6vw; bottom: 32vh; transform: rotate(-6deg); }
.frame-leaf-r { right: -6vw; bottom: 32vh; transform: rotate(6deg) scaleX(-1); }
.frame-leaf-top-l, .frame-leaf-top-r {
  width: 22vw;
  max-width: 95px;
  opacity: 0.85;
}
.frame-leaf-top-l { top: -1vh; left: -4vw; transform: rotate(18deg); }
.frame-leaf-top-r { top: -1vh; right: -4vw; transform: rotate(-18deg) scaleX(-1); }

.frame-bfly {
  position: absolute;
  filter: drop-shadow(0 6px 14px rgba(14, 28, 47, 0.3));
}
.frame-bfly-tl {
  top: 3%; left: -7vw;
  width: 38vw;
  max-width: 145px;
  animation: bfly-drift 7s ease-in-out infinite;
}
.frame-bfly-r {
  top: 10%; right: -8vw;
  width: 40vw;
  max-width: 155px;
  animation: bfly-drift-mirror 8.5s ease-in-out infinite 0.6s;
}
.frame-bfly-mid {
  top: 27%; right: -1vw;
  width: 19vw;
  max-width: 75px;
  animation: bfly-drift 6s ease-in-out infinite 1.1s;
}
@keyframes bfly-drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes bfly-drift-mirror {
  0%, 100% { transform: scaleX(-1) translateY(0); }
  50% { transform: scaleX(-1) translateY(-12px); }
}
@media (prefers-reduced-motion: reduce) {
  .frame-bfly { animation: none; }
}

@media (min-width: 640px) {
  .frame-rose { max-width: 280px; bottom: -1.5vh; }
  .frame-leaf { max-width: 170px; }
  .frame-leaf-top-l, .frame-leaf-top-r { max-width: 120px; }
  .frame-bfly-tl { max-width: 190px; top: 6%; }
  .frame-bfly-r { max-width: 200px; }
  .frame-bfly-mid { max-width: 96px; }
}
@media (min-width: 1024px) {
  .frame-rose { left: auto; right: auto; }
  .frame-rose-l { left: -1vw; }
  .frame-rose-r { right: -1vw; }
  .frame-bfly-tl { left: 1vw; }
  .frame-bfly-r { right: -1vw; }
  .frame-bfly-mid { right: 4vw; }
  .frame-bfly-bl { left: 3vw; }
}

/* ---------- Contenido del hero ---------- */
.hero-content { position: relative; z-index: 3; max-width: 420px; width: 100%; }

.hero-tiara {
  width: 38vw;
  max-width: 165px;
  height: auto;
  margin: 0 auto 0.6rem;
  filter: drop-shadow(0 8px 16px rgba(14, 28, 47, 0.28));
}
@media (min-width: 640px) {
  .hero-content { max-width: 560px; }
  .hero-tiara { max-width: 210px; margin-bottom: 0.9rem; }
}

.pre-title {
  letter-spacing: 0.5em;
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--marino);
  margin: 0;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}
.pre-title-sub { margin: -0.2rem 0 0; }

.hero-numero {
  width: 38vw;
  max-width: 165px;
  height: auto;
  margin: -0.4rem auto;
  filter: drop-shadow(0 4px 10px rgba(14, 28, 47, 0.3));
}

.hero-divider {
  width: 46vw;
  max-width: 190px;
  height: auto;
  margin: 0.5rem auto;
  opacity: 0.95;
}
.hero-divider-sm { max-width: 150px; margin: 0.35rem auto 0.7rem; }

@media (min-width: 640px) {
  .hero-numero { max-width: 210px; }
  .hero-divider { max-width: 240px; }
  .hero-divider-sm { max-width: 190px; }
}

.name {
  font-family: var(--font-nombre);
  font-weight: 400;
  font-size: clamp(3rem, 11vw, 5.8rem);
  line-height: 1.32;
  padding-top: 0.15em;
  margin: 0 0 0.6rem;
  background: linear-gradient(160deg, #6f97c2 0%, #345d8b 35%, #193355 65%, #0e1c2f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.4)) drop-shadow(0 10px 18px rgba(14, 28, 47, 0.4));
}

.hero-date-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin: 0 0 0.35rem;
}
.hero-date-row .rule {
  width: 46px;
  height: 1px;
  background: var(--acero);
  opacity: 0.6;
}
.hero-date-row .txt {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--marino);
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.9rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-texto);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blanco);
  background: linear-gradient(180deg, #234c85 0%, #0e2244 100%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 14px 28px -10px rgba(14, 34, 68, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px -10px rgba(14, 34, 68, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-outline {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  border: 1px solid var(--plata);
  border-radius: 2px;
  text-decoration: none;
  font-family: var(--font-texto);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blanco);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow .25s ease;
}
.btn-outline:hover {
  background: var(--blanco);
  color: var(--noche);
  border-color: var(--blanco);
  box-shadow: 0 10px 30px -10px rgba(255, 255, 255, 0.4);
}
.btn-outline-dark {
  color: var(--marino);
  border-color: var(--acero);
}
.btn-outline-dark:hover {
  background: var(--marino);
  color: var(--blanco);
  border-color: var(--marino);
}

.scroll-down {
  position: absolute;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  color: var(--acero);
  text-decoration: none;
  animation: bounce 2.4s ease-in-out infinite;
  z-index: 3;
}
.scroll-down .icon { width: 18px; height: 18px; }
.scroll-down span {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--marino);
  margin-top: 0.2rem;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .scroll-down { bottom: 2.3rem; }
  .scroll-down span { font-size: 0.5rem; letter-spacing: 0.1em; }
}

/* Pantallas móviles bajas: compactar el hero para que quepa en 100svh */
@media (max-height: 700px) {
  .hero { padding: 1.4rem 1.1rem 0.6rem; }
  .hero-tiara { max-width: 115px; margin-bottom: 0.2rem; }
  .hero-numero { max-width: 115px; margin: -0.6rem auto; }
  .hero-divider { margin: 0.2rem auto; }
  .hero-divider-sm { margin: 0.1rem auto 0.3rem; }
  .name { line-height: 1.2; margin-bottom: 0.1rem; }
  .hero-date-row { margin-bottom: 0.2rem; }
  .btn-hero { margin-top: 0.3rem; padding: 0.6rem 1.9rem; }
  .scroll-down { bottom: 0.2rem; }
  .scroll-down .icon { width: 14px; height: 14px; }
  .scroll-down span { display: none; }
}
@media (max-height: 620px) {
  .name { font-size: clamp(2.5rem, 11vw, 5.8rem); }
  .hero-tiara { max-width: 95px; }
  .hero-numero { max-width: 95px; }
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* =========================================================
   Secciones bajo el hero · mobile-first
   Sistema sobrio: un solo fondo claro, tarjetas blancas,
   azul marino para texto y botones, acero como único acento
   y líneas plateadas finas.
   ========================================================= */

.contenido {
  --ui-fondo: #f3f5f8;
  --ui-card: #ffffff;
  --ui-linea: #dde2ea;
  --ui-texto: #193355;
  --ui-suave: #5f6f86;
  --ui-acento: #345d8b;
  --ui-sombra: 0 1px 2px rgba(14, 28, 47, 0.04), 0 18px 40px -28px rgba(14, 28, 47, 0.28);

  display: block;
  position: relative;
  z-index: 1;
  background: var(--ui-fondo);
  color: var(--ui-texto);
}

.section {
  padding: 4rem 1.25rem;
  text-align: center;
  scroll-margin-top: 0.5rem;
}
.container { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.container-wide { max-width: 980px; }

/* ---------- Fondos por sección ---------- */
.sec-blanco { background: #ffffff; }
.sec-gris { background: var(--ui-fondo); border-top: 1px solid var(--ui-linea); border-bottom: 1px solid var(--ui-linea); }

/* Cielo estrellado claro, igual que el hero */
.sec-textura {
  background-color: var(--perla-clara);
  background-image:
    linear-gradient(rgba(243, 245, 248, 0.72), rgba(243, 245, 248, 0.82)),
    url('img/hero-cielo-estrellado.png');
  background-size: cover;
  background-position: center;
}

/* Sección destacada: azul noche con el cielo estrellado */
.sec-noche {
  color: var(--perla);
  background-color: var(--noche);
  background-image:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(52, 93, 139, 0.35) 0%, transparent 70%),
    linear-gradient(180deg, rgba(14, 28, 47, 0.9) 0%, rgba(14, 28, 47, 0.95) 100%),
    url('img/hero-cielo-estrellado.png');
  background-size: cover;
  background-position: center;
}
.sec-noche .section-eyebrow { color: var(--hielo); }
.sec-noche .section-title { color: #ffffff; }
.sec-noche .section-divider::before,
.sec-noche .section-divider::after { background: rgba(165, 179, 200, 0.45); }
.sec-noche .section-divider span { background: var(--hielo); }

/* ---------- Encabezado de sección: ícono animado + título + divisor ---------- */
.section-head { margin-bottom: 1.8rem; }

.sec-icon {
  display: block;
  width: 58px;
  height: 58px;
  margin: 0 auto 0.9rem;
  fill: none;
  stroke: var(--ui-acento);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}
.sec-noche .sec-icon { stroke: var(--hielo); }
/* Trazo que se dibuja al aparecer y luego flota suavemente */
.sec-icon > * { stroke-dasharray: 1; stroke-dashoffset: 1; }
.reveal.is-visible .sec-icon > * { animation: icono-trazo 1.8s ease forwards; }
.reveal.is-visible .sec-icon > *:nth-child(2) { animation-delay: 0.15s; }
.reveal.is-visible .sec-icon > *:nth-child(3) { animation-delay: 0.3s; }
.reveal.is-visible .sec-icon > *:nth-child(4) { animation-delay: 0.45s; }
.reveal.is-visible .sec-icon > *:nth-child(5) { animation-delay: 0.6s; }
.reveal.is-visible .sec-icon { animation: icono-flotar 4.5s ease-in-out 2s infinite; }
@keyframes icono-trazo { to { stroke-dashoffset: 0; } }
@keyframes icono-flotar {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 7.5vw, 2.5rem);
  line-height: 1.2;
  color: var(--ui-texto);
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  max-width: 120px;
  margin: 0.9rem auto 0;
}
.section-divider::before, .section-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #b9c3d2;
}
.section-divider span {
  width: 5px;
  height: 5px;
  flex-shrink: 0;
  background: var(--acero);
  transform: rotate(45deg);
}
.section-divider-light::before, .section-divider-light::after { background: rgba(165, 179, 200, 0.45); }
.section-divider-light span { background: var(--hielo); }

.section-lugar {
  margin: 1.1rem 0 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ui-texto);
}
.section-lugar span { display: block; margin-top: 0.2rem; font-size: 0.95rem; color: var(--ui-acento); }

.section-sub {
  margin: 1rem 0 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ui-suave);
}

.detalle-label {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ui-acento);
}

@media (min-width: 768px) {
  .section { padding: 5.5rem 2rem; }
  .section-head { margin-bottom: 2.4rem; }
  .sec-icon { width: 66px; height: 66px; }
  .section-lugar { font-size: 1.4rem; }
}

/* ---------- Tarjeta base ---------- */
.card {
  position: relative;
  background: var(--ui-card);
  border: 1px solid var(--ui-linea);
  border-radius: 6px;
  box-shadow: var(--ui-sombra);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.6rem;
  border: 1px solid var(--ui-texto);
  border-radius: 999px;
  font-family: var(--font-texto);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn .icon { width: 17px; height: 17px; flex-shrink: 0; }
.btn-primary { background: var(--ui-texto); color: #ffffff; }
.btn-primary:hover { background: var(--noche); border-color: var(--noche); }
.btn-secondary { background: transparent; color: var(--ui-texto); }
.btn-secondary:hover { background: var(--ui-texto); color: #ffffff; }
.btn-sm { min-height: 42px; padding: 0.6rem 1.3rem; font-size: 0.66rem; }

.btn-group {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  max-width: 340px;
  margin: 1.8rem auto 0;
}
@media (min-width: 540px) {
  .btn-group { flex-direction: row; justify-content: center; max-width: none; }
  .btn-group .btn { min-width: 210px; }
}

/* ---------- ¿Cuándo? ---------- */
.cuando-fecha {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 7vw, 2.2rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ui-texto);
}
.cuando-hora {
  margin: 0.6rem 0 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ui-texto);
}
.cuando-hora span { margin: 0 0.5rem; color: #9aabc3; font-weight: 400; }

/* ---------- ¿Dónde? ---------- */
.map-card { overflow: hidden; padding: 6px; }
.map-frame { position: relative; aspect-ratio: 4 / 3.4; border-radius: 3px; overflow: hidden; background: #e3e9f1; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (min-width: 768px) {
  .map-frame { aspect-ratio: 16 / 7; }
}

/* ---------- Foto de Luzmery (sección destacada) ---------- */
.sec-noche .section-head { margin-bottom: 1.6rem; }
.foto { margin: 0; }
.foto-marco {
  position: relative;
  width: min(78vw, 340px);
  aspect-ratio: 4 / 5;
  margin: 0 auto;
  padding: 8px;
  border-radius: 170px 170px 6px 6px;
  background: linear-gradient(180deg, rgba(247, 249, 252, 0.22), rgba(165, 179, 200, 0.12));
  border: 1px solid rgba(165, 179, 200, 0.45);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.foto-marco img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 162px 162px 3px 3px;
  background: radial-gradient(ellipse at center, #f7f9fc 0%, #dfe5ee 70%, #c9d3e1 100%);
}
.foto figcaption { max-width: 560px; margin: 2rem auto 0; }
.foto-texto {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #eef2f7;
}
.firma {
  margin: 1.1rem 0 0;
  font-family: var(--font-nombre);
  font-size: 2.4rem;
  line-height: 1.2;
  color: var(--hielo);
}
@media (min-width: 768px) {
  .foto-texto { font-size: 1.25rem; }
  .firma { font-size: 2.7rem; }
}

/* ---------- Regalos ---------- */
.regalos-texto {
  max-width: 460px;
  margin: 0 auto 1.6rem;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--ui-suave);
}
.cuenta-card { max-width: 380px; margin: 0 auto; padding: 1.8rem 1.4rem 1.6rem; }
.cuenta-numero {
  margin: 0.4rem 0 0;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ui-texto);
  font-variant-numeric: tabular-nums;
}
.cuenta-titular { margin: 0.35rem 0 1.3rem; font-size: 0.9rem; color: var(--ui-texto); }
.cuenta-titular span { color: var(--ui-suave); }
.cuenta-card .btn.is-copiado { background: var(--ui-texto); color: #ffffff; }

/* ---------- Vestimenta ---------- */
.vestimenta-tipo {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 7vw, 2.2rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ui-texto);
}

/* ---------- Confirmación ---------- */
.rsvp-card { max-width: 520px; margin: 0 auto; padding: 2rem 1.4rem 2rem; }
.rsvp-texto {
  margin: 0 0 1.5rem;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--ui-suave);
}
.rsvp-card .btn { width: 100%; }
@media (min-width: 540px) {
  .rsvp-card { padding: 2.6rem 3rem; }
  .rsvp-card .btn { width: auto; min-width: 260px; }
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3.8rem 1.5rem calc(5rem + env(safe-area-inset-bottom));
  color: var(--perla);
  background-color: var(--noche);
  background-image:
    linear-gradient(180deg, rgba(14, 28, 47, 0.88) 0%, rgba(14, 28, 47, 0.96) 100%),
    url('img/hero-cielo-estrellado.png');
  background-size: cover;
  background-position: center 60%;
}
.site-footer .section-divider { margin-bottom: 1.4rem; }
.footer-text {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--hielo);
}
.footer-name {
  margin: 0.2rem 0 0.2rem;
  font-family: var(--font-nombre);
  font-size: 2.5rem;
  line-height: 1.3;
  color: #ffffff;
}
.footer-date {
  margin: 0;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--hielo);
}

/* ---------- Reproductor de música flotante ---------- */
.music-toggle {
  position: fixed;
  right: calc(1rem + env(safe-area-inset-right));
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 200;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #dde2ea;
  background: #ffffff;
  color: var(--marino);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(14, 28, 47, 0.16);
  transition: box-shadow 0.3s ease;
}
.icon-music-toggle { width: 19px; height: 19px; }
.music-toggle.is-playing { box-shadow: 0 6px 20px rgba(14, 28, 47, 0.16), 0 0 0 5px rgba(52, 93, 139, 0.15); }
.music-toggle.is-playing .icon-music-toggle { animation: pulse-icon 1.8s ease-in-out infinite; }
@keyframes pulse-icon {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

/* ---------- Animación de aparición ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: var(--d, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-down, .music-toggle.is-playing .icon-music-toggle { animation: none; }
}

/* =========================================================
   Portada con sobre (mobile-first)
   ========================================================= */

body.con-sobre { overflow: hidden; }
.con-sobre .music-toggle { opacity: 0; pointer-events: none; }
/* El hero espera a que se abra el sobre para hacer su aparición */
.con-sobre .hero-content.reveal { opacity: 0 !important; transform: translateY(22px) !important; }
.music-toggle { transition: opacity 0.6s ease, box-shadow 0.3s ease; }

.sobre-intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 1.5rem 1rem calc(1.5rem + env(safe-area-inset-bottom));
  background-color: var(--perla);
  background-image:
    linear-gradient(rgba(247, 249, 252, 0.55), rgba(247, 249, 252, 0.7)),
    url('img/hero-cielo-estrellado.png');
  background-size: cover;
  background-position: center;
  transition: opacity 0.9s ease, visibility 0.9s;
}
.sobre-intro.is-open { opacity: 0; visibility: hidden; }
.sobre-intro.is-open .intro-contenido { transform: scale(1.04); }

/* Decoración de esquinas */
.intro-deco { position: absolute; pointer-events: none; filter: drop-shadow(0 8px 14px rgba(14, 28, 47, 0.22)); }
.intro-hojas-l { top: -2vh; left: -6vw; width: 28vw; max-width: 130px; transform: rotate(18deg); opacity: 0.9; }
.intro-hojas-r { top: -2vh; right: -6vw; width: 28vw; max-width: 130px; transform: rotate(-18deg) scaleX(-1); opacity: 0.9; }
.intro-rosa-l { bottom: -3vh; left: -8vw; width: 46vw; max-width: 230px; }
.intro-rosa-r { bottom: -3vh; right: -8vw; width: 46vw; max-width: 230px; }
.intro-bfly { top: 16%; right: 4vw; width: 14vw; max-width: 70px; animation: intro-flotar 6s ease-in-out infinite; }

.intro-contenido {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  width: 100%;
  max-width: 420px;
  transition: transform 0.9s ease;
}

/* Título */
.intro-titulo { text-align: center; transition: opacity 0.5s ease 0.35s, transform 0.5s ease 0.35s; }
.intro-tiara { width: 110px; margin: 0 auto 0.2rem; filter: drop-shadow(0 6px 12px rgba(14, 28, 47, 0.25)); }
.intro-nombre {
  margin: 0;
  font-family: var(--font-nombre);
  font-size: clamp(3rem, 14vw, 4.6rem);
  line-height: 1.25;
  padding-top: 0.1em;
  background: linear-gradient(160deg, #6f97c2 0%, #345d8b 35%, #193355 65%, #0e1c2f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 12px rgba(14, 28, 47, 0.25));
}
.intro-sub {
  margin: -0.2rem 0 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--marino);
}

/* Sobre */
.sobre {
  position: relative;
  display: block;
  width: min(84vw, 360px);
  aspect-ratio: 1.45 / 1;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  perspective: 1200px;
  -webkit-tap-highlight-color: transparent;
}
.sobre:focus-visible { outline: 2px solid var(--acero); outline-offset: 8px; }

.sobre-fondo {
  position: absolute;
  inset: 0;
  border-radius: 4px;
  background: linear-gradient(180deg, #e4e9f0 0%, #d9e0ea 100%);
  box-shadow: 0 34px 50px -28px rgba(14, 28, 47, 0.55), 0 2px 6px rgba(14, 28, 47, 0.08);
}

.sobre-carta {
  position: absolute;
  z-index: 2;
  left: 6%;
  right: 6%;
  top: 6%;
  height: 88%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 9%;
  background: #ffffff;
  border: 1px solid #dde2ea;
  border-radius: 3px;
  box-shadow: 0 4px 10px rgba(14, 28, 47, 0.08);
  transition: transform 1.1s cubic-bezier(0.3, 0.7, 0.2, 1) 0.6s;
}
.carta-pre {
  font-family: var(--font-texto);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--acero);
}
.carta-nombre {
  margin-top: 0.3rem;
  font-family: var(--font-nombre);
  font-size: 1.9rem;
  line-height: 1.2;
  color: var(--marino);
}

/* Bolsillo frontal con pliegues laterales e inferior */
.sobre-bolsillo {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: 4px;
  background: linear-gradient(180deg, #eef1f6 0%, #e2e8f0 100%);
  clip-path: polygon(0 0, 50% 56%, 100% 0, 100% 100%, 0 100%);
}
.sobre-bolsillo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #f6f8fb 0%, #eaeef4 100%);
  clip-path: polygon(0 100%, 50% 50%, 100% 100%);
  filter: drop-shadow(0 -1px 0 rgba(14, 28, 47, 0.08));
}

/* Solapa superior */
.sobre-solapa {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  right: 0;
  height: 62%;
  transform-origin: top center;
  filter: drop-shadow(0 4px 5px rgba(14, 28, 47, 0.18));
  transition: transform 0.75s cubic-bezier(0.5, 0, 0.3, 1), z-index 0s 0.37s;
}
.sobre-solapa span {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #f7f9fc 0%, #e6ebf2 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  border-radius: 4px 4px 0 0;
}

/* Sello de lacre con texto circular */
.sobre-sello {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 60%;
  width: 44%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.sello-texto {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  animation: sello-girar 24s linear infinite;
}
.sello-texto text {
  font-family: var(--font-texto);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.6px;
  fill: var(--marino);
}
.sello-cera {
  position: absolute;
  top: 22%;
  left: 22%;
  width: 56%;
  height: 56%;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px rgba(14, 28, 47, 0.45));
  animation: sello-latido 2.6s ease-in-out infinite;
}

/* Mariposa y fecha */
.intro-mariposa { width: 62px; animation: intro-flotar 5s ease-in-out infinite; filter: drop-shadow(0 6px 10px rgba(14, 28, 47, 0.25)); }
.intro-fecha {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.1rem;
  width: 100%;
  max-width: 320px;
}
.intro-fecha-lado {
  padding: 0.45rem 0;
  border-top: 1px solid var(--acero-claro);
  border-bottom: 1px solid var(--acero-claro);
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: var(--marino);
}
.intro-fecha-dia {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1;
  color: var(--marino);
}

/* Apertura */
.sobre-intro.is-opening .sobre { cursor: default; }
.sobre-intro.is-opening .sobre-sello { opacity: 0; transform: translate(-50%, -50%) scale(0.85); }
.sobre-intro.is-opening .sobre-solapa { transform: rotateX(180deg); z-index: 1; }
.sobre-intro.is-opening .sobre-carta { transform: translateY(-40%); }
.sobre-intro.is-opening .intro-titulo { opacity: 0; transform: translateY(-12px); }

@keyframes sello-girar { to { transform: rotate(360deg); } }
@keyframes sello-latido {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes intro-flotar {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (min-width: 640px) {
  .intro-hojas-l, .intro-hojas-r { max-width: 170px; }
  .intro-rosa-l, .intro-rosa-r { max-width: 300px; }
  .intro-tiara { width: 140px; }
  .sobre { width: 420px; }
}

/* Pantallas bajas: compactar para que todo quepa sin scroll */
@media (max-height: 740px) {
  .intro-contenido { gap: 1rem; }
  .intro-tiara { width: 86px; }
  .intro-nombre { font-size: clamp(2.6rem, 12vw, 3.8rem); }
  .sobre { width: min(74vw, 300px); }
  .intro-mariposa { width: 48px; }
  .intro-fecha-dia { font-size: 2.6rem; }
}
@media (max-height: 620px) {
  .intro-mariposa { display: none; }
  .carta-nombre { font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .sello-texto, .sello-cera, .intro-mariposa, .intro-bfly { animation: none; }
  .sobre-solapa, .sobre-carta, .intro-contenido { transition: none; }
}

/* =========================================================
   Cuenta regresiva en el hero (sobre la fecha)
   ========================================================= */
.hero-tiara, .hero-numero { width: 30vw; }

.hero-countdown {
  display: grid;
  grid-template-columns: repeat(4, 58px);
  justify-content: center;
  gap: 0.45rem;
  margin: 0.3rem auto 0.9rem;
}
.hc-box {
  padding: 0.5rem 0 0.45rem;
  border-radius: 6px;
  background: rgba(247, 249, 252, 0.62);
  border: 1px solid rgba(52, 93, 139, 0.22);
  box-shadow: 0 8px 18px -12px rgba(14, 28, 47, 0.45);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.hc-box span {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1;
  color: var(--marino);
  font-variant-numeric: tabular-nums;
}
.hc-box small {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--acero);
}
.hero-countdown-fin {
  margin: 0.2rem 0 0.8rem;
  font-family: var(--font-nombre);
  font-size: 2rem;
  color: var(--marino);
}
@media (min-width: 640px) {
  .hero-countdown { grid-template-columns: repeat(4, 72px); gap: 0.7rem; }
  .hc-box span { font-size: 1.8rem; }
  .hc-box small { font-size: 0.56rem; }
}
@media (max-height: 740px) {
  .hero-countdown { margin: 0.1rem auto 0.5rem; grid-template-columns: repeat(4, 52px); }
  .hc-box { padding: 0.35rem 0 0.3rem; }
  .hc-box span { font-size: 1.2rem; }
  .hc-box small { font-size: 0.45rem; }
}

/* =========================================================
   Ajustes de la portada: sello más chico, texto fijo abajo,
   mensaje de la tarjeta
   ========================================================= */
.sobre-sello { width: 40%; }
.sello-cera { top: 26%; left: 26%; width: 48%; height: 48%; }
.sello-texto { animation: none; }
.sello-texto text { font-size: 17px; letter-spacing: 0.5px; }

.sobre-carta { justify-content: flex-start; gap: 0.7rem; padding: 8% 10% 0; }
.carta-texto {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: var(--marino);
}
.carta-deco {
  width: 34px;
  height: 1px;
  background: var(--acero-claro);
  flex-shrink: 0;
}
@media (min-width: 640px) {
  .carta-texto { font-size: 0.95rem; }
}
/* Imagen provisoria mientras no esté la foto real: se muestra completa */
.foto-marco img.foto-provisoria { object-fit: contain; padding: 14%; }

/* =========================================================
   Tipografía: Cormorant Garamond para el nombre y los textos
   destacados; Montserrat para títulos, fechas, ubicación,
   botones y textos generales. Títulos en mayúsculas.
   ========================================================= */

/* Nombre de la quinceañera */
.name {
  font-weight: 500;
  font-size: clamp(3.3rem, 15vw, 6rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
  padding-top: 0;
  margin: 0.2rem 0 0.9rem;
}
.intro-nombre {
  font-weight: 500;
  font-size: clamp(2.7rem, 12.5vw, 4rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  padding-top: 0;
}
.intro-sub {
  margin-top: 0.7rem;
  font-family: var(--font-texto);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  padding-left: 0.38em;
}
.firma {
  font-style: italic;
  font-weight: 500;
  font-size: 2rem;
  letter-spacing: 0.02em;
}
.footer-name { font-weight: 500; font-size: 2.3rem; letter-spacing: 0.02em; }
.hero-countdown-fin { font-style: italic; font-weight: 500; }

/* Textos destacados */
.foto-texto {
  font-family: var(--font-nombre);
  font-style: italic;
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1.7;
}
.carta-texto {
  font-family: var(--font-nombre);
  font-style: italic;
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.45;
  letter-spacing: 0.01em;
  text-transform: none;
}

/* Títulos de sección en mayúsculas con tracking suave */
.section-title {
  font-weight: 500;
  font-size: clamp(1.1rem, 5vw, 1.45rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding-left: 0.22em;
}

/* Fechas, ubicación y valores: Montserrat en minúscula */
.cuando-fecha,
.vestimenta-tipo {
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: none;
}
.cuando-hora { font-size: 1.05rem; font-weight: 400; letter-spacing: 0.08em; text-transform: none; }
.section-lugar {
  margin-top: 1.4rem;
  font-family: var(--font-texto);
  font-size: 1.02rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
}
.section-lugar span { font-size: 0.9rem; }
.cuenta-numero { font-size: 1.45rem; font-weight: 400; letter-spacing: 0.14em; }
.hc-box span { font-weight: 400; font-size: 1.3rem; }
.intro-fecha-lado { font-family: var(--font-texto); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.22em; }
.intro-fecha-dia { font-family: var(--font-texto); font-weight: 300; font-size: 2.8rem; }

/* Textos generales */
.regalos-texto,
.rsvp-texto { font-size: 0.9rem; font-weight: 300; line-height: 1.85; }
.btn { font-weight: 500; letter-spacing: 0.16em; }

/* Más aire entre elementos */
.section { padding: 5rem 1.5rem; }
.section-head { margin-bottom: 2.4rem; }
.section-divider { margin-top: 1.1rem; }
.foto figcaption { margin-top: 2.4rem; }

@media (min-width: 640px) {
  .hc-box span { font-size: 1.6rem; }
  .carta-texto { font-size: 1.35rem; }
}
@media (min-width: 768px) {
  .section { padding: 7rem 2rem; }
  .section-head { margin-bottom: 3rem; }
  .section-title { font-size: 1.6rem; }
  .cuando-fecha, .vestimenta-tipo { font-size: 1.4rem; }
  .foto-texto { font-size: 1.45rem; }
  .firma { font-size: 2.3rem; }
}
@media (max-height: 740px) {
  .hc-box span { font-size: 1.1rem; }
  .intro-nombre { font-size: clamp(2.3rem, 11vw, 3.2rem); }
}
.cuando-hora { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.cuando-hora span { display: block; width: 1px; height: 1.1em; margin: 0; background: #9aabc3; }
.carta-texto { text-wrap: balance; }
/* Foto real: formato más vertical y encuadre alto para que entren la cara y los globos del 15 */
.foto-marco { aspect-ratio: 3 / 4; }
.foto-marco img { object-position: 50% 22%; }
/* Foto completa, sin recorte ni arco: se muestra en su proporción original */
.foto-marco { aspect-ratio: auto; width: min(82vw, 380px); border-radius: 6px; padding: 6px; }
.foto-marco img { height: auto; object-fit: initial; border-radius: 3px; }
/* Nombre de la billetera con su escritura original (la etiqueta va en mayúsculas) */
.detalle-label .marca { text-transform: none; letter-spacing: 0.08em; font-weight: 600; }

/* Nombre "Luzmery Naiara" en Great Vibes */
.name, .intro-nombre, .firma, .footer-name {
  font-family: var(--font-script);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
}
.name { font-size: clamp(3.4rem, 15vw, 6rem); line-height: 1.25; padding: 0.1em 0.15em 0; margin: 0 0 0.6rem; }
.intro-nombre { font-size: clamp(2.6rem, 12vw, 3.8rem); line-height: 1.3; padding: 0.1em 0.15em 0; }
.firma { font-size: 2.3rem; line-height: 1.3; }
.footer-name { font-size: 2.5rem; line-height: 1.35; }
@media (min-width: 768px) { .firma { font-size: 2.7rem; } }
@media (max-height: 740px) { .intro-nombre { font-size: clamp(2.2rem, 10.5vw, 3.1rem); } }

/* Botones de navegación (Google Maps / Waze): blancos, mismo estilo que el resto */
.btn-app { background: #ffffff; color: var(--ui-texto); }
.btn-app:hover { background: var(--ui-texto); color: #ffffff; }

}

/* Ícono doble de vestimenta (vestido + traje): más ancho que el resto */
.sec-icon.sec-icon-doble { width: 68px; height: 68px; }
@media (min-width: 768px) { .sec-icon.sec-icon-doble { width: 76px; height: 76px; } }
/* Partes del vestido que tapan la camisa: relleno del color de fondo de la sección */
.sec-icon .relleno { fill: var(--ui-fondo); }


/* =========================================================
   Indicador "Desliza para descubrir"
   Va en el flujo del hero, siempre debajo del botón, así no se
   superpone en ninguna pantalla. Texto sutil y dos flechas.
   ========================================================= */
.hero { flex-direction: column; }

.hero .scroll-down {
  position: relative;
  z-index: 3;
  left: auto;
  bottom: auto;
  transform: none;
  animation: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  margin-top: 1.6rem;
  padding: 0.3rem 0.8rem;
  color: #ffffff;
  text-decoration: none;
}
.hero .scroll-down .scroll-texto {
  display: block;
  margin: 0;
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  padding-left: 0.3em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 1px 6px rgba(14, 28, 47, 0.8), 0 0 2px rgba(14, 28, 47, 0.6);
}
.hero .scroll-flechas {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: flechas-bajan 2s ease-in-out infinite;
}
.hero .scroll-flechas .icon {
  display: block;
  width: 16px;
  height: 16px;
  color: #ffffff;
  filter: drop-shadow(0 1px 3px rgba(14, 28, 47, 0.8));
}
.hero .scroll-flechas .icon + .icon { margin-top: -9px; opacity: 0.55; }
@keyframes flechas-bajan {
  0%, 100% { transform: translateY(0); opacity: 0.85; }
  50% { transform: translateY(5px); opacity: 1; }
}

/* Pantallas bajas: compactar el hero para que todo entre */
@media (max-height: 740px) {
  .hero .scroll-down { margin-top: 0.9rem; padding: 0.1rem 0.8rem; }
  .hero .scroll-down .scroll-texto { font-size: 0.5rem; }
  .hero .scroll-flechas .icon { width: 14px; height: 14px; }
  .name { font-size: clamp(2.8rem, 12vw, 4.5rem); line-height: 1.2; margin-bottom: 0.3rem; }
}
@media (max-height: 640px) {
  .hero .scroll-down { margin-top: 0.6rem; }
  .hero .scroll-down .scroll-texto { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .scroll-flechas { animation: none; }
}

/* Pantallas anchas (tablet y escritorio): escalar el hero según el alto
   disponible para que todo, incluido el indicador, entre en la primera vista */
@media (min-width: 641px) {
  .hero { min-height: 100vh; min-height: 100svh; padding-top: 1.6rem; padding-bottom: 1.4rem; }
  .hero-tiara { width: min(210px, 22vh); max-width: none; margin-bottom: 0.5vh; }
  .hero-numero { width: min(210px, 17vh); max-width: none; margin: -0.8vh auto; }
  .hero-divider { width: min(240px, 26vh); max-width: none; margin: 0.8vh auto; }
  .hero-divider-sm { width: min(190px, 20vh); margin: 0.5vh auto 1vh; }
  .name { font-size: min(5.8rem, 8.5vh); line-height: 1.15; margin-bottom: 0.4vh; }
  .hero-countdown { margin: 0.4vh auto 1.2vh; }
  .btn-hero { margin-top: 1.4vh; }
  .hero .scroll-down { margin-top: 2vh; }
}
@media (min-width: 641px) and (max-height: 820px) {
  .hero { padding-top: 1rem; padding-bottom: 0.8rem; }
  .hero-tiara { width: 19vh; }
  .hero-numero { width: 14.5vh; }
  .hero-divider { width: 23vh; margin: 0.5vh auto; }
  .hero-divider-sm { width: 18vh; margin: 0.3vh auto 0.8vh; }
  .name { font-size: 7.6vh; }
  .hero-countdown { grid-template-columns: repeat(4, 62px); gap: 0.5rem; margin: 0.3vh auto 0.9vh; }
  .hc-box { padding: 0.4rem 0 0.35rem; }
  .hc-box span { font-size: 1.35rem; }
  .btn-hero { margin-top: 1vh; padding: 0.7rem 1.6rem; }
  .hero .scroll-down { margin-top: 1.4vh; }
}
.hero .scroll-flechas .icon { width: 20px; height: 20px; filter: drop-shadow(0 1px 2px rgba(14, 28, 47, 0.9)) drop-shadow(0 0 5px rgba(14, 28, 47, 0.4)); }
.hero .scroll-flechas .icon + .icon { margin-top: -11px; opacity: 0.6; }
@media (max-height: 740px) { .hero .scroll-flechas .icon { width: 17px; height: 17px; } .hero .scroll-flechas .icon + .icon { margin-top: -10px; } }
