/* Wonderia Art and Gifts — estilos locales, sin dependencias externas */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic.woff") format("woff");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0f1a3c;
  --navy-deep: #0b132e;
  --navy-mid: #14204a;
  --navy-lift: #1c2b5e;
  --gold: #d4af37;
  --gold-soft: #e6c36a;
  --violet: #8b6cc4;
  --violet-soft: #b9a0e3;
  --pink: #e08ab8;
  --pink-soft: #f0b8d4;
  --ink: #f4efe6;
  --bark: #d5cbb6;
  --forest: #0f1a3c;
  --forest-deep: #0b132e;
  --moss: #e6c36a;
  --leaf: #d4af37;
  --terra: #e6c36a;
  --cream: #f4efe6;
  --parchment: #0f1a3c;
  --card: #14204a;
  --mist: #1c2b5e;
  --line: rgba(230, 195, 106, 0.22);
  --shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.55);
  --radius: 22px;
  --font-display: "Fraunces", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-body: "Nunito", "Segoe UI", system-ui, sans-serif;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: clip;
}
body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 8% -8%, rgba(139, 108, 196, 0.22), transparent 58%),
    radial-gradient(800px 420px at 100% 0%, rgba(224, 138, 184, 0.12), transparent 55%),
    radial-gradient(700px 500px at 80% 80%, rgba(212, 175, 55, 0.08), transparent 60%),
    var(--navy);
  line-height: 1.6;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, .eslogan, .marca-nombre, .aviso-placeholder, .contacto-card span {
  overflow-wrap: anywhere;
}
a { color: var(--gold-soft); }
button, a { -webkit-tap-highlight-color: transparent; }

.saltar {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 0.6rem 1rem;
  z-index: 100;
  border-radius: 8px;
}
.saltar:focus { top: 1rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ----- Encabezado ----- */
.encabezado {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  padding: 0.7rem 5vw;
  background: rgba(15, 26, 60, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.marca {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  min-width: 0;
  flex: 0 1 auto;
}
.marca-emblema {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  display: block;
  background: var(--navy-mid);
  box-shadow: 0 0 0 1px rgba(230, 195, 106, 0.35);
}
.marca-nombre {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  color: var(--gold-soft);
  text-decoration: none;
  letter-spacing: 0.01em;
  line-height: 1.2;
  max-width: none;
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-left: auto;
}
.nav a {
  text-decoration: none;
  color: var(--bark);
  font-weight: 650;
  font-size: 0.95rem;
}
.nav a:hover, .nav a:focus-visible { color: var(--gold-soft); }
.encabezado-acciones {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: 0.35rem;
  flex: 0 0 auto;
}
.idioma {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--card);
}
.idioma-boton {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--bark);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 0.42rem 0.62rem;
  cursor: pointer;
  min-width: 2.2rem;
}
.idioma-boton:hover, .idioma-boton:focus-visible {
  color: var(--gold-soft);
  outline: none;
}
.idioma-boton:focus-visible {
  box-shadow: inset 0 0 0 2px var(--gold);
}
.idioma-boton[aria-pressed="true"] {
  background: var(--gold);
  color: var(--navy-deep);
}
.redes {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: 0;
}
.redes a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--gold-soft);
}
.redes a:hover, .redes a:focus-visible {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}
.redes svg { width: 16px; height: 16px; fill: currentColor; }
.redes a.es-placeholder { opacity: 0.7; }

/* ----- Hero ----- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
  padding: 2.4rem 5vw 3.4rem;
  max-width: calc(var(--max) + 10vw);
  margin: 0 auto;
  align-items: center;
  overflow: hidden;
}
.hero-copia { max-width: 36rem; width: 100%; min-width: 0; position: relative; z-index: 1; }
.kicker {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss);
  font-weight: 700;
  margin: 0 0 0.8rem;
}
.hero-marca {
  margin: 0 0 1.15rem;
}
.hero-perfil {
  width: min(21.5rem, 72vw);
  height: auto;
  aspect-ratio: 1;
  max-width: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  background: #0a1224;
  box-shadow:
    0 0 0 4px var(--gold-soft),
    0 0 0 7px rgba(212, 175, 55, 0.4),
    0 18px 40px -18px rgba(0, 0, 0, 0.55);
}
.eslogan {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  color: var(--bark);
  margin: 0 0 1.6rem;
}
.acciones { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.78rem 1.25rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  font-weight: 700;
  font-family: inherit;
  font-size: 0.98rem;
  cursor: pointer;
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.boton:hover, .boton:focus-visible { background: var(--gold-soft); color: var(--navy-deep); transform: translateY(-1px); }
.boton-suave {
  background: transparent;
  color: var(--gold-soft);
  border-color: var(--gold);
  box-shadow: none;
}
.boton-suave:hover, .boton-suave:focus-visible {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-soft);
}
.boton-pedido { width: 100%; margin-top: 0.3rem; }
.boton:disabled { opacity: 0.6; cursor: default; transform: none; }

.hero-foto {
  position: relative;
  margin: 0;
  z-index: 1;
  width: 100%;
  min-width: 0;
  max-width: 28rem;
  justify-self: start;
}
.hero-foto a {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 60vh;
  border-radius: 28px 28px 80px 28px;
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 0 1px rgba(212, 175, 55, 0.35);
  background: var(--navy-lift);
}
.hero-foto img {
  width: 100%;
  height: 100%;
  max-height: 60vh;
  object-fit: cover;
  object-position: center 32%;
}
.hero-foto figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(11, 19, 46, 0.88);
  color: var(--gold-soft);
  font-size: 0.82rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

/* decorative vine */
.adorno {
  position: absolute;
  pointer-events: none;
  opacity: 0.55;
  z-index: 0;
}
.adorno-izq { left: -40px; top: 40px; width: 160px; }
.adorno-der { right: -30px; bottom: 10%; width: 140px; transform: scaleX(-1) rotate(12deg); }

/* ----- Secciones ----- */
.seccion {
  padding: 3.2rem 5vw;
  max-width: calc(var(--max) + 10vw);
  margin: 0 auto;
}
.seccion header { max-width: 40rem; margin-bottom: 1.8rem; }
.seccion h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 5vw, 2.6rem);
  color: var(--gold-soft);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}
.seccion .intro { margin: 0; color: var(--bark); font-size: 1.05rem; }
.oro {
  display: block;
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 0 0 0.9rem;
  border: 0;
}

/* ----- Galería ----- */
.rejilla {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}
.tarjeta {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 28px -18px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tarjeta:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tarjeta-foto {
  position: relative;
  cursor: zoom-in;
  border: 0;
  padding: 0;
  background: var(--navy-lift);
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: min(26rem, 60vh);
  overflow: hidden;
}
.tarjeta-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
}
.tarjeta-foto:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.insignia {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  background: var(--violet);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
}
.tarjeta-cuerpo { padding: 1.15rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.tarjeta h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  margin: 0;
  color: var(--gold-soft);
}
.tarjeta p { margin: 0; color: var(--bark); font-size: 0.98rem; flex: 1; }
.precio {
  font-weight: 800;
  color: var(--terra);
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}
.precio.es-ejemplo { color: var(--moss); font-weight: 650; font-size: 0.95rem; }

/* ----- Sobre ----- */
.sobre {
  background:
    linear-gradient(180deg, rgba(139, 108, 196, 0.16), rgba(15, 26, 60, 0.2));
}
.sobre-caja {
  max-width: calc(var(--max) + 10vw);
  margin: 0 auto;
  padding: 3.2rem 5vw;
  display: grid;
  gap: 1.5rem;
}
.sobre-caja h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 5.4vw, 2.6rem);
  color: var(--gold-soft);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}
.sobre-caja p { margin: 0 0 0.9rem; font-size: 1.08rem; max-width: 42rem; }
.sobre-caja p:last-child { margin-bottom: 0; }
.sobre-lema {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  color: var(--gold-soft);
  max-width: 42rem;
}

/* ----- Contacto ----- */
.contacto-grid {
  display: grid;
  gap: 0.9rem;
  min-width: 0;
}
.contacto-card, .tarjeta, .tarjeta-coleccion { min-width: 0; }
.contacto-card {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
}
.contacto-card:hover, .contacto-card:focus-visible {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.contacto-card .icono {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--gold-soft);
  display: grid;
  place-items: center;
}
.contacto-card .icono svg { width: 20px; height: 20px; fill: currentColor; }
.contacto-card strong { display: block; font-size: 1rem; color: var(--gold-soft); }
.contacto-card span { font-size: 0.92rem; color: var(--bark); }
.contacto-card.es-placeholder { opacity: 0.85; }
.aviso-placeholder {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--ink);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 12px;
  padding: 0.75rem 1rem;
}

/* ----- Pie ----- */
.pie {
  background: var(--forest-deep);
  color: var(--gold-soft);
  padding: 2.2rem 5vw 2.6rem;
  margin-top: 1rem;
}
.pie-interno {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
}
.pie a { color: var(--gold-soft); text-decoration: none; }
.pie a:hover, .pie a:focus-visible { color: #fff; }
.pie .marca-nombre { color: var(--gold-soft); max-width: 16rem; font-size: clamp(1rem, 3.5vw, 1.15rem); }
.pie .marca { min-width: 0; }
.pie .marca-emblema {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  box-shadow: 0 0 0 1px rgba(232, 213, 163, 0.28);
}
.pie .redes a {
  background: rgba(255,255,255,0.06);
  border-color: rgba(232, 213, 163, 0.25);
  color: var(--gold-soft);
}
.pie .redes a:hover, .pie .redes a:focus-visible {
  background: var(--gold);
  color: var(--forest-deep);
  border-color: var(--gold);
}
.pie-nota { margin: 0; font-size: 0.88rem; opacity: 0.85; }

/* ----- Visor / lightbox ----- */
.visor {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(92vw, 900px);
  width: 92vw;
}
.visor::backdrop {
  background: rgba(8, 12, 28, 0.9);
  backdrop-filter: blur(6px);
}
.visor[open] { display: grid; place-items: center; }
.visor-marco {
  position: relative;
  background: var(--forest-deep);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
.visor-marco img {
  width: 100%;
  height: auto;
  max-height: 82vh;
  object-fit: contain;
  background: #0b132e;
}
.visor-pie {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  padding: 0.85rem 1.1rem 1.05rem;
  color: var(--cream);
}
.visor-pie h3 {
  font-family: var(--font-display);
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}
.visor-cerrar {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(11, 19, 46, 0.85);
  color: var(--gold-soft);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}
.visor-cerrar:hover, .visor-cerrar:focus-visible { background: var(--gold); color: var(--navy-deep); }

@media (min-width: 720px) {
  .hero { grid-template-columns: 1.05fr 0.95fr; padding-top: 3.2rem; gap: 3rem; }
  .hero-foto { max-width: none; justify-self: stretch; }
  .rejilla { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.6rem; }
  .rejilla-colecciones { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .contacto-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (min-width: 1024px) {
  .hero { gap: 4rem; padding-top: 3.8rem; }
  .rejilla-colecciones { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contacto-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}


@media (max-width: 819px) {
  .encabezado {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 0.5rem;
    row-gap: 0.35rem;
    padding: 0.65rem 4vw 0.55rem;
  }
  .encabezado > .marca {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    gap: 0.4rem;
  }
  .encabezado .marca-nombre {
    font-size: clamp(0.95rem, 4.4vw, 1.15rem);
    max-width: none;
    line-height: 1.2;
  }
  .encabezado .marca-emblema {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
  }
  .hero-perfil { width: min(15rem, 68vw); }
  .encabezado > .encabezado-acciones {
    grid-column: 2;
    grid-row: 1;
    margin-left: 0;
    align-self: center;
    gap: 0.3rem;
    min-width: 0;
  }
  .idioma-boton { padding: 0.35rem 0.45rem; font-size: 0.66rem; min-width: 1.85rem; }
  .redes { gap: 0.28rem; }
  .encabezado .redes a { width: 30px; height: 30px; }
  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    min-width: 0;
    margin-left: 0;
    justify-content: flex-start;
    gap: 0.4rem 0.85rem;
  }
  .nav a { font-size: 0.88rem; }
  .adorno { display: none; }
  .hero { padding: 1.6rem 5vw 2.2rem; gap: 1.5rem; }
  .seccion, .sobre-caja { padding-top: 2.4rem; padding-bottom: 2.4rem; }
  .boton { font-size: 0.92rem; padding: 0.7rem 1.1rem; }
}
@media (max-width: 400px) {
  .encabezado { padding-left: 0.7rem; padding-right: 0.7rem; column-gap: 0.4rem; }
  .encabezado .redes a { width: 28px; height: 28px; }
  .idioma-boton { padding: 0.32rem 0.38rem; min-width: 1.75rem; font-size: 0.62rem; }
  .encabezado-acciones { gap: 0.22rem; }
}
@media (min-width: 820px) {
  .marca-nombre { white-space: nowrap; }
}


/* ----- Colecciones (sin fotos inventadas) ----- */
.rejilla-colecciones {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
@media (min-width: 720px) {
  .rejilla-colecciones { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (min-width: 1024px) {
  .rejilla-colecciones { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.rejilla .tarjeta:only-child {
  max-width: 24rem;
}
.tarjeta-coleccion {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  box-shadow: var(--shadow);
  min-height: 100%;
}
.tarjeta-coleccion .coleccion-icono {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold-soft);
}
.tarjeta-coleccion .coleccion-icono svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tarjeta-coleccion h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.28rem;
  margin: 0;
  color: var(--gold-soft);
}
.tarjeta-coleccion p {
  margin: 0;
  color: var(--bark);
  font-size: 0.98rem;
}
.tarjeta-coleccion.acento-violeta .coleccion-icono {
  background: rgba(139, 108, 196, 0.16);
  border-color: rgba(139, 108, 196, 0.45);
  color: var(--violet-soft);
}
.tarjeta-coleccion.acento-rosa .coleccion-icono {
  background: rgba(224, 138, 184, 0.14);
  border-color: rgba(224, 138, 184, 0.45);
  color: var(--pink-soft);
}

/* ----- Destellos y mariposas (solo CSS) ----- */
.destellos, .destellos span, .mariposa {
  pointer-events: none;
}
.destellos {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  max-width: 100%;
}
.destellos span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold-soft);
  box-shadow: 0 0 8px 1px rgba(230, 195, 106, 0.7);
  opacity: 0.7;
}
.destellos span:nth-child(2) { background: var(--violet-soft); box-shadow: 0 0 8px 1px rgba(185, 160, 227, 0.7); }
.destellos span:nth-child(3) { background: var(--pink-soft); box-shadow: 0 0 8px 1px rgba(240, 184, 212, 0.7); }
.destellos span:nth-child(5) { background: var(--violet-soft); box-shadow: 0 0 8px 1px rgba(185, 160, 227, 0.6); }
.destellos span:nth-child(8) { background: var(--pink-soft); box-shadow: 0 0 8px 1px rgba(240, 184, 212, 0.6); }
.destellos span:nth-child(1) { top: 12%; left: 8%; }
.destellos span:nth-child(2) { top: 22%; left: 78%; width: 4px; height: 4px; }
.destellos span:nth-child(3) { top: 48%; left: 4%; }
.destellos span:nth-child(4) { top: 68%; left: 88%; }
.destellos span:nth-child(5) { top: 82%; left: 18%; width: 2px; height: 2px; }
.destellos span:nth-child(6) { top: 16%; left: 42%; width: 2px; height: 2px; }
.destellos span:nth-child(7) { top: 90%; left: 60%; }
.destellos span:nth-child(8) { top: 36%; left: 90%; width: 2px; height: 2px; }
.hero { z-index: 1; }
.encabezado, main, .pie, .visor { position: relative; z-index: 1; }
.encabezado { z-index: 40; }
.mariposa {
  position: absolute;
  width: 14px;
  height: 10px;
  opacity: 0.45;
  z-index: 0;
}
.mariposa::before, .mariposa::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 10px;
  border-radius: 80% 20% 80% 20%;
  background: var(--pink-soft);
}
.mariposa::before { left: 0; transform: rotate(-28deg); }
.mariposa::after { right: 0; border-radius: 20% 80% 20% 80%; transform: rotate(28deg); background: var(--violet-soft); }
.mariposa-a { top: 18%; right: 8%; }
.mariposa-b { bottom: 22%; left: 6%; transform: scale(0.85) rotate(-20deg); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tarjeta, .boton { transition: none; }
  .destellos span { box-shadow: none; }
}
