/* =====================================================
   CATÁLOGO XV AÑOS
   Diseño editorial moderno + loader del index principal
===================================================== */

:root {
  --xv-ink: #2f2438;
  --xv-muted: #746778;
  --xv-rose: #bd6f97;
  --xv-rose-deep: #a94679;
  --xv-pink: #ffd8ec;
  --xv-lilac: #d8c7ff;
  --xv-gold: #d6ad63;
  --xv-cream: #fffafc;
  --xv-dark: #1b111a;
  --xv-shadow: 0 28px 70px rgba(81, 50, 77, 0.14);
}

html, body { width: 100%; max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; }

body.xv-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 9% 5%, rgba(255, 216, 236, 0.92), transparent 26%),
    radial-gradient(circle at 88% 6%, rgba(216, 199, 255, 0.72), transparent 28%),
    linear-gradient(180deg, #fff9fd 0%, #fff6fb 42%, #fffafc 100%);
  color: var(--xv-ink);
  font-family: "Poppins", system-ui, sans-serif;
}

body.xv-page img, body.xv-page video { max-width: 100%; }

/* LOADER DEL INDEX */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(circle at top, #fffdfd 0%, #fff7fa 32%, #fdf0f5 72%, #f8e6ef 100%);
  backdrop-filter: blur(20px);
  transition: opacity .60s ease, visibility .60s ease;
}

#preloader::before, #preloader::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }

#preloader::before {
  width: 680px;
  height: 680px;
  background: radial-gradient(circle, rgba(255,255,255,.92) 0%, rgba(248, 216, 230, .55) 45%, rgba(248, 216, 230, 0) 74%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(10px);
}

#preloader::after {
  width: 1100px;
  height: 1100px;
  background: radial-gradient(circle, rgba(223, 170, 193, .12) 0%, rgba(223, 170, 193, 0) 65%);
  top: -22%;
  right: -12%;
  animation: loaderHalo 8s linear infinite;
}

#preloader.preloader-done { opacity: 0; visibility: hidden; pointer-events: none; }
body.preloader-active { overflow: hidden; }

.loader-card {
  position: relative;
  z-index: 2;
  width: min(320px, calc(100vw - 34px));
  min-height: 360px;
  padding: 36px 26px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,250,252,.98) 100%);
  border: 1px solid rgba(181, 87, 134, 0.10);
  box-shadow: 0 30px 70px rgba(67, 37, 63, 0.14), 0 10px 25px rgba(67, 37, 63, 0.08), inset 0 1px 0 rgba(255,255,255,.9);
}

.loader-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 16px;
  border: 1px solid rgba(181, 87, 134, 0.08);
  pointer-events: none;
}

.loader-card::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 6px;
  border-radius: 999px;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(244, 214, 225, 0) 0%, rgba(218, 120, 160, .34) 50%, rgba(244, 214, 225, 0) 100%);
}

.loader-ornament { position: absolute; inset: 0; pointer-events: none; }

.loader-ornament span {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.95) 0%, rgba(237, 192, 211, .8) 45%, rgba(237,192,211,.3) 100%);
  box-shadow: 0 0 20px rgba(215, 125, 163, .24);
  animation: loaderSparkle 3.2s ease-in-out infinite;
}

.loader-ornament span:nth-child(1) { top: 56px; left: 50px; animation-delay: .1s; }
.loader-ornament span:nth-child(2) { top: 82px; right: 54px; animation-delay: .55s; }
.loader-ornament span:nth-child(3) { bottom: 86px; left: 56px; animation-delay: 1.1s; }
.loader-ornament span:nth-child(4) { bottom: 62px; right: 58px; animation-delay: 1.6s; }

.leaf-loader { position: relative; width: 136px; height: 136px; margin-top: 8px; animation: leafSpin 1.55s linear infinite; }

.leaf-loader::before {
  content: "";
  position: absolute;
  inset: 26px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.92) 0%, rgba(255, 239, 245, .55) 60%, rgba(255,255,255,0) 100%);
  box-shadow: inset 0 0 0 1px rgba(181, 87, 134, .05);
}

.leaf {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 46px;
  border-radius: 100% 0 100% 0;
  background: linear-gradient(145deg, #d85f75 0%, #ef9eac 100%);
  transform-origin: 50% 66px;
  opacity: .22;
  filter: drop-shadow(0 6px 8px rgba(181, 87, 134, .10));
}

.leaf-1 { transform: translate(-50%, -100%) rotate(0deg); opacity: 1; }
.leaf-2 { transform: translate(-50%, -100%) rotate(45deg); opacity: .84; }
.leaf-3 { transform: translate(-50%, -100%) rotate(90deg); opacity: .70; }
.leaf-4 { transform: translate(-50%, -100%) rotate(135deg); opacity: .56; }
.leaf-5 { transform: translate(-50%, -100%) rotate(180deg); opacity: .44; }
.leaf-6 { transform: translate(-50%, -100%) rotate(225deg); opacity: .34; }
.leaf-7 { transform: translate(-50%, -100%) rotate(270deg); opacity: .26; }
.leaf-8 { transform: translate(-50%, -100%) rotate(315deg); opacity: .18; }

.loader-brand {
  margin: 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2.15rem, 7vw, 3rem);
  color: #b55786;
  font-style: italic;
  line-height: 1.05;
  letter-spacing: .01em;
  text-shadow: 0 2px 10px rgba(181, 87, 134, .10);
}

#typedBrand { white-space: nowrap; }

.typing-caret {
  display: inline-block;
  margin-left: 4px;
  color: #b55786;
  animation: blinkCaret .8s infinite;
  font-family: inherit;
}

.loader-subtitle {
  margin: -2px 0 0;
  font-size: .86rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(159, 69, 111, .72);
  font-weight: 700;
}

.loader-line {
  width: 110px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(181, 87, 134, 0) 0%, rgba(181, 87, 134, .85) 50%, rgba(181, 87, 134, 0) 100%);
}

.loader-dots { display: flex; align-items: center; gap: 10px; }

.loader-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e3a1bc;
  animation: dotPulse 1.2s infinite ease-in-out;
}

.loader-dots span:nth-child(2) { animation-delay: .15s; }
.loader-dots span:nth-child(3) { animation-delay: .30s; }
.loader-dots span:nth-child(4) { animation-delay: .45s; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -120px;
  z-index: 99999;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--xv-rose-deep);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.14);
  transition: top 0.25s ease;
}

.skip-link:focus { top: 16px; }
.site-header { transition: background 0.25s ease, box-shadow 0.25s ease; }

.site-header.is-scrolled {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 12px 30px rgba(67, 42, 62, 0.09);
  backdrop-filter: blur(16px);
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: .14s; }

/* HERO */
.xv-hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--xv-dark);
}

.xv-hero-bg, .xv-custom-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(27, 17, 26, 0.78) 0%, rgba(27, 17, 26, 0.42) 48%, rgba(27, 17, 26, 0.84) 100%), url("../invitaciones/xv/img/bgxv.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.xv-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 20% 35%, rgba(216, 199, 255, 0.20), transparent 22%),
    radial-gradient(circle at 82% 68%, rgba(255, 216, 236, 0.18), transparent 22%),
    linear-gradient(90deg, rgba(27, 17, 26, 0.74) 0%, rgba(27, 17, 26, 0.42) 45%, rgba(27, 17, 26, 0.80) 100%);
}

.xv-hero .container, .xv-custom-section .container { position: relative; z-index: 6; }

.xv-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 1fr);
  align-items: center;
  gap: clamp(34px, 5vw, 66px);
}

.xv-hero-gallery { position: relative; min-height: 545px; }
.xv-hero-phone { position: absolute; overflow: visible; border-radius: 0; background: transparent; padding: 0; box-shadow: none; }

.xv-hero-phone img, .xv-custom-phone img, .xv-template-editorial-card__img img, .xv-template-modal__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.xv-hero-phone img { filter: drop-shadow(0 32px 58px rgba(0, 0, 0, 0.34)); }

.xv-hero-phone--back {
  left: 2%;
  top: 86px;
  width: min(330px, 30vw);
  height: 438px;
  z-index: 1;
  transform: rotate(-4deg);
  animation: heroBackFloat 8s ease-in-out infinite;
}

.xv-hero-phone--front {
  left: 36%;
  top: 0;
  width: min(355px, 32vw);
  height: 482px;
  z-index: 3;
  transform: rotate(2deg);
  animation: heroFrontFloat 7.8s ease-in-out infinite;
}

.xv-signature {
  position: absolute;
  left: 14%;
  bottom: 0;
  z-index: 4;
  padding: 12px 26px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255,255,255,0.22);
  font-family: "Playfair Display", serif;
  font-size: clamp(1.18rem, 2.1vw, 1.85rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  white-space: nowrap;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.xv-hero-content { max-width: 710px; margin-left: auto; text-align: center; }

.xv-line {
  width: 84px;
  height: 5px;
  display: block;
  margin: 0 auto 22px;
  border-radius: 999px;
  background: rgba(255,255,255,0.8);
}

.xv-kicker {
  margin: 0 0 14px;
  color: var(--xv-gold);
  letter-spacing: 0.18em;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.xv-hero-content h1 {
  margin: 0 0 22px;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.65rem, 5vw, 5.1rem);
  line-height: 0.98;
  font-weight: 800;
}

.xv-hero-content p {
  margin: 0 auto 30px;
  max-width: 640px;
  color: rgba(255,255,255,0.84);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* DECOR */
.xv-glow-decor,
.xv-elegant-stains,
.xv-catalog-stains {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.xv-glow-decor span,
.xv-elegant-stains span,
.xv-catalog-stains span {
  position: absolute;
  display: block;
  border-radius: 999px;
  opacity: 0.34;
}

/* Manchas base suaves */
.xv-glow-decor span:nth-child(1) {
  left: -40px;
  top: 70px;
  width: 280px;
  height: 120px;
  background: rgba(255, 216, 236, 0.20);
  transform: rotate(-8deg);
}

.xv-glow-decor span:nth-child(2) {
  right: -80px;
  top: 120px;
  width: 280px;
  height: 110px;
  background: rgba(216, 199, 255, 0.18);
  transform: rotate(-5deg);
}

.xv-glow-decor span:nth-child(3) {
  left: 8%;
  bottom: 36px;
  width: 180px;
  height: 100px;
  background: rgba(255, 240, 184, 0.14);
  transform: rotate(-18deg);
}

.xv-glow-decor span:nth-child(4) {
  right: 12%;
  bottom: 90px;
  width: 250px;
  height: 88px;
  background: rgba(189, 111, 151, 0.14);
  transform: rotate(-4deg);
}

/* Manchas elegantes hero */
.xv-elegant-stains span {
  filter: blur(1px);
  mix-blend-mode: screen;
  animation: xvStainFloat 12s ease-in-out infinite;
}

.xv-elegant-stains span:nth-child(1) {
  width: 360px;
  height: 360px;
  left: -120px;
  top: 18%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 216, 236, .34), transparent 58%),
    radial-gradient(circle at 70% 72%, rgba(189, 111, 151, .16), transparent 62%);
}

.xv-elegant-stains span:nth-child(2) {
  width: 420px;
  height: 420px;
  right: -140px;
  top: 8%;
  background:
    radial-gradient(circle at 35% 35%, rgba(216, 199, 255, .32), transparent 58%),
    radial-gradient(circle at 70% 72%, rgba(255, 240, 184, .15), transparent 62%);
  animation-delay: 1.4s;
}

.xv-elegant-stains span:nth-child(3) {
  width: 300px;
  height: 300px;
  left: 42%;
  bottom: -120px;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 240, 184, .22), transparent 60%),
    radial-gradient(circle at 70% 72%, rgba(189, 111, 151, .13), transparent 64%);
  animation-delay: 2.2s;
}

/* Manchas elegantes catálogo */
.xv-catalog-stains span {
  z-index: 1;
  opacity: .58;
  filter: blur(2px);
  animation: xvStainFloat 14s ease-in-out infinite;
}

.xv-catalog-stains span:nth-child(1) {
  width: 380px;
  height: 380px;
  left: -160px;
  top: 4%;
  background: radial-gradient(circle, rgba(255, 216, 236, .58) 0%, rgba(255, 216, 236, 0) 68%);
}

.xv-catalog-stains span:nth-child(2) {
  width: 430px;
  height: 430px;
  right: -180px;
  top: 28%;
  background: radial-gradient(circle, rgba(216, 199, 255, .50) 0%, rgba(216, 199, 255, 0) 70%);
  animation-delay: 1.6s;
}

.xv-catalog-stains span:nth-child(3) {
  width: 320px;
  height: 320px;
  left: 38%;
  bottom: -145px;
  background: radial-gradient(circle, rgba(255, 240, 184, .34) 0%, rgba(255, 240, 184, 0) 70%);
  animation-delay: 2.7s;
}

/* CTA */
.bt-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  isolation: isolate;
  padding: 19px 22px;
  color: inherit;
  text-decoration: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bt-cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  z-index: -1;
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 28px;
  transform: translateY(-50%);
  background: rgba(189, 111, 151, 0.46);
  transition: all 0.3s ease;
}

.bt-cta span {
  position: relative;
  font-size: 0.92rem;
  line-height: 18px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  vertical-align: middle;
}

.bt-cta svg {
  position: relative;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transform: translateX(-5px);
  transition: all 0.3s ease;
}

.bt-cta:hover::before { width: 100%; background: var(--xv-rose); }
.bt-cta:hover svg { transform: translateX(0); }
.bt-cta--light, .bt-cta--white-text { color: #fff; }

/* CATALOGO */
.xv-catalog-section {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 216, 236, 0.94), transparent 28%),
    radial-gradient(circle at 85% 22%, rgba(216, 199, 255, 0.72), transparent 28%),
    radial-gradient(circle at 48% 92%, rgba(255, 240, 184, 0.26), transparent 24%),
    linear-gradient(180deg, #fff9fd 0%, #fff6fb 52%, #f8f5ff 100%);
}

.xv-catalog-section .container { position: relative; z-index: 5; }
.xv-section-head { max-width: 850px; margin: 0 auto 44px; text-align: center; }

.xv-section-head h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 4.5vw, 4.6rem);
  line-height: 0.98;
  font-weight: 800;
  color: var(--xv-ink);
}

.xv-section-head p:not(.xv-kicker) {
  margin: 18px auto 0;
  max-width: 720px;
  color: var(--xv-muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.xv-template-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(270px, 1fr));
  gap: 32px;
  align-items: stretch;
}

.xv-template-editorial-card {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  border-radius: 36px;
  background: #fff;
  box-shadow: var(--xv-shadow);
  border: 1px solid rgba(189, 111, 151, 0.18);
  isolation: isolate;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.xv-template-editorial-card:hover { transform: translateY(-8px); border-color: rgba(189, 111, 151, 0.38); box-shadow: 0 36px 88px rgba(81, 50, 77, 0.20); }

.xv-template-editorial-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 30px 16px 250px;
  background: transparent;
  cursor: pointer;
}

.xv-template-editorial-card__img img {
  filter: drop-shadow(0 28px 45px rgba(47, 36, 56, 0.18));
  transition: transform .45s ease;
}

.xv-template-editorial-card:hover .xv-template-editorial-card__img img { transform: translateY(-6px) scale(1.02); }

.xv-template-editorial-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(27, 17, 26, 0.05) 46%, rgba(27, 17, 26, 0.86) 100%);
  pointer-events: none;
}

.xv-template-editorial-card__shine {
  position: absolute;
  inset: -80px;
  z-index: 3;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.18) 38%, transparent 56%);
  transform: translateX(-65%);
  transition: transform .7s ease;
  pointer-events: none;
}

.xv-template-editorial-card:hover .xv-template-editorial-card__shine { transform: translateX(65%); }

.xv-template-editorial-card__content {
  position: absolute;
  inset: auto 0 0;
  z-index: 4;
  padding: 0 26px 28px;
  color: #fff;
}

.xv-template-editorial-card__tag {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.22);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.xv-template-editorial-card__title {
  margin: 0 0 10px;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.75rem, 2.2vw, 2.45rem);
  line-height: 1;
  font-weight: 800;
}

.xv-template-editorial-card__text { margin: 0 0 18px; color: rgba(255,255,255,.82); line-height: 1.62; font-size: .94rem; }
.xv-template-editorial-card__actions { display: grid; grid-template-columns: 1fr; gap: 10px; }

.xv-template-card-btn {
  width: min(260px, 100%);
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.xv-template-card-btn--view { background: rgba(255, 255, 255, 0.14); border: 1.5px solid rgba(255, 255, 255, 0.58); backdrop-filter: blur(10px); }
.xv-template-card-btn--view:hover { color: var(--xv-rose-deep); background: #fff; transform: translateY(-3px); }
.xv-template-card-btn--buy { background: linear-gradient(135deg, #a94679, #bd6f97); box-shadow: 0 14px 28px rgba(169, 70, 121, 0.34); }
.xv-template-card-btn--buy:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 18px 34px rgba(169, 70, 121, 0.44); }
.hidden-template-id { display: none !important; }

/* MARQUEE */
.xv-marquee-strip { position: relative; overflow: hidden; padding: 20px 0; background: linear-gradient(90deg, #1b111a 0%, #261426 100%); color: #fff; }
.xv-marquee-track { display: flex; width: max-content; gap: 34px; align-items: center; white-space: nowrap; animation: marqueeMove 34s linear infinite reverse; }
.xv-marquee-track span { font-family: "Playfair Display", serif; font-size: clamp(1.7rem, 3vw, 2.65rem); font-weight: 800; letter-spacing: -0.02em; }
.xv-marquee-track i { width: 9px; height: 9px; display: inline-block; border-radius: 50%; background: var(--xv-rose); }

/* PERSONALIZADO */
.xv-custom-section { position: relative; min-height: 720px; display: flex; align-items: center; overflow: hidden; color: #fff; background: #171117; }

.xv-custom-bg {
  background: linear-gradient(90deg, rgba(27, 17, 26, 0.86) 0%, rgba(27, 17, 26, 0.56) 48%, rgba(27, 17, 26, 0.82) 100%), url("../invitaciones/xv/img/bgxv2.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.xv-custom-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(circle at 70% 25%, rgba(255, 240, 184, 0.14), transparent 24%), linear-gradient(90deg, rgba(27, 17, 26, 0.74), rgba(27, 17, 26, 0.38));
}

.xv-custom-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 430px); align-items: center; gap: clamp(34px, 5vw, 70px); }
.xv-custom-copy { max-width: 720px; }
.xv-custom-kicker { display: inline-flex; margin-bottom: 18px; color: #fff0b8; font-size: .82rem; font-weight: 900; letter-spacing: .16em; }

.xv-custom-copy h2 {
  margin: 0 0 18px;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 4.8vw, 5rem);
  line-height: .98;
  font-weight: 800;
}

.xv-custom-copy p { max-width: 640px; margin: 0 0 24px; color: rgba(255,255,255,.78); font-size: 1.04rem; line-height: 1.85; }
.xv-pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }

.xv-pill-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(255,255,255,.90);
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.xv-custom-phone { width: min(390px, 88vw); height: 640px; justify-self: center; }
.xv-custom-phone img { filter: drop-shadow(0 34px 58px rgba(0,0,0,.36)); }

/* MODAL */
.xv-template-modal { position: fixed; inset: 0; z-index: 9998; display: none; place-items: center; padding: 22px; }
.xv-template-modal.open { display: grid; }
.xv-template-modal__overlay { position: absolute; inset: 0; background: rgba(27, 17, 26, 0.72); backdrop-filter: blur(10px); }

.xv-template-modal__dialog {
  position: relative;
  z-index: 2;
  width: min(980px, 96vw);
  max-height: 92vh;
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(280px, 1fr);
  overflow: hidden;
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 40px 100px rgba(0,0,0,.34);
}

.xv-template-modal__close {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 4;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(27, 17, 26, .68);
  cursor: pointer;
}

.xv-template-modal__image { min-height: 620px; padding: 26px 18px; background: linear-gradient(180deg, #fffafc, #ffd8ec); }
.xv-template-modal__content { padding: clamp(34px, 5vw, 62px); align-self: center; }
.xv-template-modal__content small { display: inline-flex; margin-bottom: 12px; color: var(--xv-rose-deep); font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.xv-template-modal__content h3 { margin: 0 0 14px; font-family: "Playfair Display", serif; color: var(--xv-ink); font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1; }
.xv-template-modal__content p { margin: 0 0 24px; color: var(--xv-muted); line-height: 1.8; }
.xv-template-modal__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.bt-cta--modal, .bt-cta--modal-buy { color: var(--xv-ink); }

/* MUSIC / CHAT / TOAST */
.kids-floating-music { position: fixed; right: 18px; bottom: 88px; z-index: 9990; }
.kids-floating-music audio { display: none; }

.kids-music-toggle {
  width: 58px;
  height: 58px;
  min-height: 58px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  padding: 0;
  color: #fff;
  background: radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.34), transparent 24%), linear-gradient(135deg, #a94679 0%, #bd6f97 58%, #d8c7ff 100%);
  box-shadow: 0 18px 42px rgba(169, 70, 121, 0.28), 0 10px 26px rgba(189, 111, 151, 0.24);
  cursor: pointer;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.kids-music-toggle:hover { transform: translateY(-3px); filter: saturate(1.08); }
.kids-music-toggle .music-icon { width: 28px; height: 28px; display: grid; place-items: center; }
.kids-music-toggle .music-text { display: none; }
.kids-music-toggle .music-icon svg { width: 25px; height: 25px; display: block; fill: #fff; }
.kids-music-toggle .music-icon--pause { display: none; }
.kids-music-toggle.is-playing { animation: musicPulse 1.9s ease-in-out infinite; }
.kids-music-toggle.is-playing .music-icon--play { display: none; }
.kids-music-toggle.is-playing .music-icon--pause { display: grid; }

.chatbot-widget { position: fixed; right: 18px; bottom: 18px; z-index: 9990; }

.chatbot-toggle {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  color: #fff;
  background: linear-gradient(135deg, #1b111a, #a94679);
  box-shadow: 0 18px 42px rgba(27, 17, 26, 0.22);
  font-weight: 900;
  cursor: pointer;
}

.chatbot-panel {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: min(330px, calc(100vw - 34px));
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0,0,0,.20);
  border: 1px solid rgba(189, 111, 151, .14);
  transform: translateY(16px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: .25s ease;
}

.chatbot-panel.open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
.chatbot-head { display: flex; justify-content: space-between; gap: 18px; padding: 18px 18px 14px; color: #fff; background: linear-gradient(135deg, #1b111a, #a94679); }
.chatbot-head strong, .chatbot-head small { display: block; }
.chatbot-head small { margin-top: 4px; opacity: .78; line-height: 1.35; }
.chatbot-head button { width: 34px; height: 34px; border: 0; border-radius: 50%; color: #fff; background: rgba(255,255,255,.14); }
.chatbot-body { max-height: 240px; overflow: auto; padding: 16px; display: grid; gap: 10px; }

.bot-msg {
  width: fit-content;
  max-width: 100%;
  padding: 10px 13px;
  border-radius: 16px 16px 16px 4px;
  color: var(--xv-ink);
  background: #fff0f7;
  line-height: 1.5;
  font-size: .92rem;
}

.chatbot-actions { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 0 16px 16px; }

.chatbot-actions button, .chatbot-actions a {
  border: 0;
  border-radius: 999px;
  padding: 11px 14px;
  text-align: center;
  color: var(--xv-ink);
  background: rgba(189, 111, 151, .13);
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.mini-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 10000;
  transform: translateX(-50%) translateY(20px);
  max-width: min(92vw, 520px);
  padding: 13px 18px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #2f2438, #a94679);
  box-shadow: 0 18px 44px rgba(47, 36, 56, 0.24);
  font-weight: 800;
  opacity: 0;
  visibility: hidden;
  transition: .25s ease;
}

.mini-toast.show { transform: translateX(-50%) translateY(0); opacity: 1; visibility: visible; }

@keyframes leafSpin { to { transform: rotate(360deg); } }
@keyframes loaderSparkle { 0%, 100% { transform: scale(.7) translateY(0); opacity: .42; } 50% { transform: scale(1.12) translateY(-7px); opacity: 1; } }
@keyframes loaderHalo { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes dotPulse { 0%, 100% { transform: translateY(0) scale(.82); opacity: .42; } 50% { transform: translateY(-5px) scale(1.08); opacity: 1; } }
@keyframes blinkCaret { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes xvStainFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-14px) scale(1.04); }
}

@keyframes heroBackFloat { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-12px) rotate(-3deg); } }
@keyframes heroFrontFloat { 0%, 100% { transform: translateY(0) rotate(2deg); } 50% { transform: translateY(-14px) rotate(1deg); } }
@keyframes marqueeMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes musicPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }

@media (max-width: 1199px) {
  .xv-template-grid { grid-template-columns: repeat(2, minmax(280px, 1fr)); }
  .xv-template-editorial-card { min-height: 675px; }
  .xv-template-editorial-card__img { padding: 30px 14px 230px; }
}

@media (max-width: 991px) {
  .xv-hero, .xv-custom-section { min-height: auto; padding: 86px 0 78px; }
  .xv-hero-layout, .xv-custom-layout { grid-template-columns: 1fr; gap: 36px; }
  .xv-hero-content, .xv-custom-copy { width: min(760px, 100%); max-width: 760px; margin: 0 auto; padding: 0 14px; text-align: center; }
  .xv-hero-gallery { width: min(690px, 100%); min-height: 480px; margin: 0 auto; }
  .xv-hero-phone--back { left: 8%; top: 78px; width: min(300px, 42vw); height: 410px; }
  .xv-hero-phone--front { left: 38%; width: min(330px, 45vw); height: 460px; }
  .xv-signature { left: 50%; transform: translateX(-50%); bottom: -8px; }
  .xv-custom-phone { width: min(350px, 78vw); height: 570px; }
  .xv-template-modal__dialog { grid-template-columns: 1fr; overflow: auto; }
  .xv-template-modal__image { min-height: 460px; }
}

@media (max-width: 767px) {
  .loader-card { width: min(286px, calc(100vw - 26px)); min-height: 328px; padding: 30px 20px 24px; gap: 14px; border-radius: 20px; }
  .leaf-loader { width: 118px; height: 118px; }
  .leaf { width: 18px; height: 40px; transform-origin: 50% 58px; }
  .loader-brand { min-height: 40px; font-size: clamp(1.95rem, 9vw, 2.65rem); }
  .loader-subtitle { font-size: .74rem; letter-spacing: .14em; }
  .xv-hero { padding-top: 62px; }
  .xv-hero-gallery { min-height: 410px; }
  .xv-hero-phone--back { left: 2%; top: 80px; width: 48%; height: 340px; }
  .xv-hero-phone--front { left: 38%; width: 54%; height: 390px; }
  .xv-hero-content h1, .xv-custom-copy h2 { font-size: clamp(2.35rem, 10vw, 3.2rem); }
  .xv-template-grid { grid-template-columns: 1fr; }
  .xv-template-editorial-card { min-height: 650px; border-radius: 30px; }
  .xv-template-editorial-card__img { padding: 22px 10px 230px; }
  .xv-template-editorial-card__content { padding: 0 20px 22px; }
  .xv-template-card-btn { width: 100%; min-height: 48px; }
  .xv-custom-phone { width: min(290px, 78vw); height: 485px; }
  .xv-elegant-stains span,
  .xv-catalog-stains span {
    opacity: .38;
  }
  .kids-floating-music { right: 14px; bottom: 86px; }
  .kids-music-toggle { width: 52px; height: 52px; min-height: 52px; }
  .chatbot-widget { right: 14px; bottom: 18px; }
  .chatbot-toggle { min-height: 52px; padding: 12px 18px; }
}

@media (max-width: 480px) {
  .xv-hero-gallery { min-height: 360px; }
  .xv-hero-phone--back { height: 298px; }
  .xv-hero-phone--front { height: 340px; }
  .xv-signature { font-size: 1rem; padding: 10px 18px; }
  .xv-catalog-section { padding: 82px 0; }
  .xv-template-editorial-card { min-height: 610px; }
  .xv-template-modal { padding: 12px; }
  .xv-template-modal__content { padding: 28px 22px; }
}



/* =====================================================
   FONDO ANIMADO ELEGANTE - SIN ICONOS
   Reemplaza coronas, diamantes y símbolos infantiles
===================================================== */

.xv-floating-symbols,
.xv-catalog-deco,
.xv-symbol,
.xv-symbol--crown,
.xv-symbol--star,
.xv-symbol--diamond,
.xv-symbol--spark,
.xv-symbol--cat-one,
.xv-symbol--cat-two,
.xv-symbol--cat-three {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.xv-particle-bg {
  position: absolute;
  inset: 0;
  z-index: 4;
  overflow: hidden;
  pointer-events: none;
}

.xv-particle-bg::before,
.xv-particle-bg::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  opacity: .32;
  filter: blur(.2px);
  animation: xvSoftBlob 14s ease-in-out infinite;
}

.xv-particle-bg::before {
  width: 380px;
  height: 150px;
  left: -90px;
  top: 56px;
  background: rgba(255, 216, 236, .15);
  transform: rotate(-8deg);
}

.xv-particle-bg::after {
  width: 390px;
  height: 150px;
  right: -115px;
  top: 105px;
  background: rgba(216, 199, 255, .14);
  transform: rotate(-5deg);
  animation-delay: 1.8s;
}

.xv-particle-bg span {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: rgba(255,255,255,.78);
  box-shadow: 0 0 16px rgba(255,255,255,.32);
  animation-name: xvParticleFloat;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

/* Puntos pequeños y finos */
.xv-particle-bg span:nth-child(1)  { left: 5%;  top: 18%; width: 4px;  height: 4px;  animation-duration: 13s; animation-delay: -1s;  background: rgba(255, 216, 236, .78); }
.xv-particle-bg span:nth-child(2)  { left: 12%; top: 78%; width: 3px;  height: 3px;  animation-duration: 16s; animation-delay: -5s;  background: rgba(255,255,255,.72); }
.xv-particle-bg span:nth-child(3)  { left: 18%; top: 36%; width: 6px;  height: 6px;  animation-duration: 19s; animation-delay: -9s;  background: rgba(216, 199, 255, .38); }
.xv-particle-bg span:nth-child(4)  { left: 24%; top: 12%; width: 3px;  height: 3px;  animation-duration: 14s; animation-delay: -7s;  background: rgba(255, 240, 184, .70); }
.xv-particle-bg span:nth-child(5)  { left: 31%; top: 66%; width: 5px;  height: 5px;  animation-duration: 18s; animation-delay: -3s;  background: rgba(189, 111, 151, .42); }
.xv-particle-bg span:nth-child(6)  { left: 38%; top: 28%; width: 3px;  height: 3px;  animation-duration: 15s; animation-delay: -10s; background: rgba(255,255,255,.80); }
.xv-particle-bg span:nth-child(7)  { left: 46%; top: 72%; width: 7px;  height: 7px;  animation-duration: 21s; animation-delay: -11s; background: rgba(216, 199, 255, .36); }
.xv-particle-bg span:nth-child(8)  { left: 52%; top: 20%; width: 4px;  height: 4px;  animation-duration: 17s; animation-delay: -2s;  background: rgba(255, 216, 236, .70); }
.xv-particle-bg span:nth-child(9)  { left: 58%; top: 54%; width: 3px;  height: 3px;  animation-duration: 14s; animation-delay: -4s;  background: rgba(255,255,255,.72); }
.xv-particle-bg span:nth-child(10) { left: 65%; top: 80%; width: 5px;  height: 5px;  animation-duration: 20s; animation-delay: -8s;  background: rgba(255, 240, 184, .58); }
.xv-particle-bg span:nth-child(11) { left: 72%; top: 30%; width: 8px;  height: 8px;  animation-duration: 22s; animation-delay: -12s; background: rgba(189, 111, 151, .30); }
.xv-particle-bg span:nth-child(12) { left: 78%; top: 62%; width: 3px;  height: 3px;  animation-duration: 15s; animation-delay: -6s;  background: rgba(255,255,255,.78); }
.xv-particle-bg span:nth-child(13) { left: 84%; top: 16%; width: 4px;  height: 4px;  animation-duration: 18s; animation-delay: -9s;  background: rgba(216, 199, 255, .62); }
.xv-particle-bg span:nth-child(14) { left: 90%; top: 74%; width: 6px;  height: 6px;  animation-duration: 21s; animation-delay: -13s; background: rgba(255, 216, 236, .52); }
.xv-particle-bg span:nth-child(15) { left: 96%; top: 42%; width: 3px;  height: 3px;  animation-duration: 16s; animation-delay: -7s;  background: rgba(255,255,255,.70); }

/* Círculos más grandes, muy transparentes, como el ejemplo */
.xv-particle-bg span:nth-child(16) {
  left: 9%;
  top: 58%;
  width: 58px;
  height: 58px;
  background: rgba(83, 55, 116, .16);
  box-shadow: none;
  animation-duration: 27s;
  animation-delay: -8s;
}

.xv-particle-bg span:nth-child(17) {
  left: 28%;
  top: 20%;
  width: 42px;
  height: 42px;
  background: rgba(189, 111, 151, .10);
  box-shadow: none;
  animation-duration: 29s;
  animation-delay: -12s;
}

.xv-particle-bg span:nth-child(18) {
  left: 50%;
  top: 52%;
  width: 64px;
  height: 64px;
  background: rgba(216, 199, 255, .10);
  box-shadow: none;
  animation-duration: 30s;
  animation-delay: -4s;
}

.xv-particle-bg span:nth-child(19) {
  left: 72%;
  top: 22%;
  width: 50px;
  height: 50px;
  background: rgba(255, 216, 236, .11);
  box-shadow: none;
  animation-duration: 31s;
  animation-delay: -16s;
}

.xv-particle-bg span:nth-child(20) {
  left: 86%;
  top: 68%;
  width: 36px;
  height: 36px;
  background: rgba(216, 199, 255, .11);
  box-shadow: none;
  animation-duration: 28s;
  animation-delay: -10s;
}

.xv-particle-bg--catalog {
  z-index: 1;
  opacity: .82;
}

.xv-particle-bg--catalog::before {
  background: rgba(255, 216, 236, .28);
}

.xv-particle-bg--catalog::after {
  background: rgba(216, 199, 255, .24);
}

.xv-particle-bg--catalog span {
  background: rgba(169, 70, 121, .28);
  box-shadow: none;
}

@keyframes xvParticleFloat {
  0% {
    transform: translate3d(0, 26px, 0) scale(.92);
    opacity: .18;
  }

  30% {
    opacity: .78;
  }

  100% {
    transform: translate3d(16px, -92px, 0) scale(1.05);
    opacity: .10;
  }
}

@keyframes xvSoftBlob {
  0%, 100% {
    transform: translateY(0) rotate(-7deg) scale(1);
  }

  50% {
    transform: translateY(-18px) rotate(-5deg) scale(1.04);
  }
}
