/* Prueba «Vision»: paneles blancos, degradados tornasolados y botones azules. Solo en la copia de prueba de la portada. */
:root {
  --btn-grad: linear-gradient(120deg, #E06493 0%, #9468E4 52%, #5585E6 100%);
  --paper: #F8F8FB;
  --cream: #F8F8FB;
  --cream-2: #F8F8FB;
  --ink: #15161C;
  --muted: rgba(21, 22, 28, 0.62);
  --line: rgba(21, 22, 28, 0.08);
  --line-light: rgba(21, 22, 28, 0.08);
  --blue: #7A57D8;
  --blue-2: #5E3FC2;
  --wine: var(--blue);
  --wine-deep: var(--blue-2);
  --navy: #15161C;
  --navy-deep: #0d0e12;
  --bronze: #F6C98F;
  --serif: "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, sans-serif;

  --g-irid: linear-gradient(135deg, #FBD3E0 0%, #F9E2C8 30%, #DCCBF7 62%, #BFE3F5 100%);
  --g-lilac: linear-gradient(150deg, #CDBBFB 0%, #A3B8FF 45%, #83E2DE 100%);
  --g-mint: linear-gradient(140deg, #C6F3EC 0%, #9FD8F3 100%);
  --g-pink: linear-gradient(140deg, #FAD3DA 0%, #F4A9B8 100%);
  --g-blue: linear-gradient(150deg, #6B8BFF 0%, #2F5BEA 55%, #8BCBF7 100%);
  --g-peach: linear-gradient(140deg, #FCE7C6 0%, #F6C98F 100%);
  --g-text: linear-gradient(95deg, #F07FA4 0%, #A97BF2 45%, #3F8CFF 100%);
  --sheen: radial-gradient(120% 80% at 20% 0%, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0) 55%);

  --panel-shadow: 0 40px 80px -40px rgba(70, 80, 130, 0.35), 0 2px 6px rgba(70, 80, 130, 0.06), inset 0 1px 0 #fff;
  --tile-shadow: 0 24px 40px -22px rgba(70, 80, 130, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  --knob: radial-gradient(60% 50% at 40% 30%, #fff, #ECEEF6 70%, #D9DCE8 100%);
}

/* ---------- Fondo pastel con burbujas ---------- */
body { background: linear-gradient(165deg, #E8F3F0 0%, #F3F0F8 38%, #FBF4EA 68%, #E7EDF8 100%) fixed; color: var(--ink); }
.scene { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.scene .blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.75; animation: blobDrift 26s ease-in-out infinite; }
.scene .b1 { width: 42vw; height: 42vw; left: -10vw; top: -8vw; background: #CBEDE6; }
.scene .b2 { width: 38vw; height: 38vw; right: -8vw; top: 20vh; background: #E4D7FA; animation-delay: -9s; }
.scene .b3 { width: 40vw; height: 40vw; left: 30vw; bottom: -16vw; background: #FBE3CF; animation-delay: -17s; }
.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.95) 0 8%, rgba(255, 255, 255, 0) 22%), radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0) 58%, rgba(170, 190, 230, 0.35) 100%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: inset -4px -6px 10px rgba(140, 160, 210, 0.2), 0 6px 14px -6px rgba(90, 110, 170, 0.3);
  animation: bubbleUp 24s linear infinite;
}
.bubble.u1 { width: 34px; height: 34px; left: 6%; animation-duration: 26s; }
.bubble.u2 { width: 18px; height: 18px; left: 18%; animation-delay: -8s; }
.bubble.u3 { width: 56px; height: 56px; right: 7%; animation-duration: 32s; animation-delay: -4s; }
.bubble.u4 { width: 22px; height: 22px; right: 22%; animation-delay: -15s; }
.bubble.u5 { width: 40px; height: 40px; left: 48%; animation-duration: 30s; animation-delay: -21s; }
@keyframes bubbleUp { from { transform: translateY(110vh); } to { transform: translateY(-15vh); } }
@keyframes blobDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(5%, -6%) scale(1.1); }
}

/* ---------- Letra limpia ---------- */
h1, h2, h3 { font-family: var(--sans); font-weight: 700; letter-spacing: -0.04em; line-height: 1.02; color: var(--ink); }
h1 em, h2 em, .manifesto-text em {
  font-style: normal; font-weight: 700;
  background: var(--g-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); }
h3 { font-weight: 600; letter-spacing: -0.025em; }
.eyebrow { color: var(--muted); font-weight: 600; letter-spacing: 0.12em; }
.eyebrow i { background: var(--g-text); height: 2px; border-radius: 2px; }

/* ---------- Sin adornos y sin secciones que se tapan ---------- */
.cursor, .badge, .hero-glyph, .manifesto::before, .scroll-hint, .float { display: none !important; }
.pin { position: relative; top: 0 !important; }
.pin::after { display: none; }
.cover { margin-top: 0; border-radius: 0; box-shadow: none; }
.hero-wrap, .sheet-cream, .manifesto, .testimonials { background: transparent; }

/* ---------- Menú ---------- */
.nav, .nav.scrolled { background: rgba(248, 248, 251, 0.9); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: 0 18px 40px -26px rgba(70, 80, 130, 0.4); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.brand-mark { background: var(--g-lilac); color: #fff; box-shadow: var(--tile-shadow); }
.brand-name { font-family: var(--sans); font-weight: 700; letter-spacing: -0.03em; }
.brand-name small { color: var(--muted); }
.nav-links a::after { background: var(--blue); }
.btn-dark { background: var(--btn-grad); color: #fff; box-shadow: 0 10px 22px -10px rgba(140, 95, 210, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.btn-dark::before { background: var(--ink); }
.burger { background: #fff; border: 0; box-shadow: var(--tile-shadow); }

/* ---------- Botones ---------- */
.btn { font-weight: 600; }
.btn-primary { background: var(--btn-grad); color: #fff; box-shadow: 0 14px 30px -12px rgba(140, 95, 210, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.btn-primary::before { background: var(--ink); }
.btn-line { background: var(--g-peach); color: var(--ink); border: 0; box-shadow: 0 12px 26px -14px rgba(220, 150, 70, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.btn-line::before { background: #fff; }
.btn-line:hover { color: var(--ink); }
.progress span { background: var(--g-text); }

/* ---------- Portada: un solo panel blanco ---------- */
.hero {
  width: calc(100% - 2 * var(--pad));
  max-width: var(--max);
  min-height: 0;
  margin: 104px auto 0;
  padding: clamp(22px, 3vw, 40px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(20px, 3vw, 44px);
  border-radius: 40px;
  background: var(--paper);
  box-shadow: var(--panel-shadow);
}
.hero-copy { justify-content: center; padding: clamp(10px, 2vw, 30px); }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 5.2rem); }
.hero h1 em { padding-bottom: 0.08em; animation: none; }
.hero .lead { color: var(--muted); }
.hero-points { border-top: 0; padding: 0; gap: 10px; width: auto; }
.hero-points li { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px 9px 10px; border-radius: 999px; background: #fff; box-shadow: 0 8px 18px -12px rgba(70, 80, 130, 0.5); color: var(--ink); }
.hero-points li::before { content: ""; width: 18px; height: 18px; margin: 0; border-radius: 50%; background: var(--g-mint); }
.hero-points li:nth-child(2)::before { background: var(--g-pink); }
.hero-points li:nth-child(3)::before { background: var(--g-lilac); }

/* La foto sobre una baldosa tornasolada */
.hero-visual {
  position: relative;
  width: 100%;
  justify-self: stretch;
  display: grid;
  place-items: center;
  padding: clamp(28px, 4vw, 54px) clamp(20px, 3vw, 44px);
  border-radius: 30px;
  background: var(--sheen), var(--g-irid);
  box-shadow: var(--tile-shadow);
  overflow: hidden;
}
.hero-visual::after { content: ""; position: absolute; right: -12%; bottom: -30%; width: 80%; height: 70%; border-radius: 50%; border: 2px solid rgba(140, 95, 210, 0.35); border-color: rgba(140, 95, 210, 0.35) transparent transparent transparent; transform: rotate(-24deg); pointer-events: none; }
.portrait { width: min(100%, 340px); }
.portrait::before { display: none; }
.portrait-img { border-radius: 999px 999px 28px 28px; border: 6px solid rgba(255, 255, 255, 0.85); box-shadow: 0 30px 50px -24px rgba(70, 80, 130, 0.55); }

/* Pomos blancos, como los botones de la imagen */
.knob { position: absolute; z-index: 2; border-radius: 999px; background: var(--knob); box-shadow: 0 10px 18px -8px rgba(60, 70, 120, 0.45), inset 0 -2px 3px rgba(150, 160, 200, 0.35); }
.hero-visual .knob.k1 { width: 54px; height: 32px; left: 9%; top: 10%; animation: knobBob 7s ease-in-out infinite; }
.hero-visual .knob.k2 { width: 38px; height: 38px; right: 9%; top: 18%; background: radial-gradient(circle at 35% 30%, #ffd1dc, #F06C8A 70%); animation: knobBob 9s ease-in-out infinite -3s; }
@keyframes knobBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* ---------- Cinta ---------- */
.marquee { margin: clamp(26px, 3vw, 40px) var(--pad) 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.75); box-shadow: 0 18px 40px -28px rgba(70, 80, 130, 0.4), inset 0 1px 0 #fff; padding-block: clamp(14px, 1.8vw, 22px); }
.marquee-track { font-family: var(--sans); font-weight: 700; letter-spacing: -0.04em; color: var(--ink); font-size: clamp(1.6rem, 3.6vw, 3rem); }
.marquee-track em { font-style: normal; background: var(--g-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: 0; }
.marquee-track b { color: #A97BF2; }

/* ---------- Manifiesto: panel blanco ---------- */
.manifesto { margin: clamp(26px, 3vw, 40px) var(--pad) 0; padding: clamp(36px, 6vw, 90px) clamp(24px, 5vw, 80px); border-radius: 40px; background: var(--paper); box-shadow: var(--panel-shadow); color: var(--ink); }
.manifesto .eyebrow.light { color: var(--muted); }
.manifesto-text { font-family: var(--sans); font-weight: 600; letter-spacing: -0.035em; }
.stats { border-top: 1px solid var(--line); gap: 24px; }
.stat strong { font-family: var(--sans); font-weight: 700; letter-spacing: -0.05em; background: var(--g-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat p { color: var(--muted); }

/* ---------- Recursos: baldosas de colores sobre el fondo ---------- */
.section-head .eyebrow { color: var(--muted); }
.section-lead { color: var(--muted); }
.card, .card-xl, .card-wine, .card-navy, .card-bronze { border: 1px solid rgba(255, 255, 255, 0.8); box-shadow: var(--tile-shadow); color: var(--ink); border-radius: 30px; }
.card:hover { box-shadow: 0 34px 50px -24px rgba(70, 80, 130, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.7); }
.card::after { background: radial-gradient(360px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.55), transparent 60%); }
.card-xl { background: var(--paper); }
.bento > .card:nth-child(2) { background: var(--sheen), var(--g-pink); }
.bento > .card:nth-child(3) { background: var(--sheen), var(--g-mint); }
.bento > .card:nth-child(4) { background: var(--sheen), var(--g-irid); }
.bento > .card:nth-child(5) { background: var(--sheen), var(--g-blue); color: #fff; }
.bento > .card:nth-child(6) { background: var(--sheen), var(--g-lilac); }
.card p { color: var(--muted); }
.bento > .card:nth-child(5) p { color: rgba(255, 255, 255, 0.85); }
.bento > .card:nth-child(5) .card-link { color: #fff; }
.card-link { color: var(--blue); }
.num { color: var(--muted); }
.bento > .card:nth-child(5) .num { color: rgba(255, 255, 255, 0.8); }
.ico { color: currentColor; }
.wave-lg i { background: var(--ink); }
.flash span { background: #fff; color: var(--ink); box-shadow: 0 10px 20px -12px rgba(30, 40, 90, 0.6); }
.flash span:nth-child(2) { background: var(--g-peach); }
.plan li { background: rgba(255, 255, 255, 0.55); }
.plan li::before { border-color: var(--ink); }
.plan li.done::before { background-color: var(--blue); border-color: var(--blue); }

/* Pomo blanco en cada baldosa */
.bento > .card:not(.card-xl)::before {
  content: "";
  position: absolute;
  top: 26px; right: 26px;
  width: 50px; height: 30px;
  border-radius: 999px;
  background: var(--knob);
  box-shadow: 0 10px 16px -8px rgba(60, 70, 120, 0.5), inset 0 -2px 3px rgba(150, 160, 200, 0.35);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.bento > .card:hover::before { transform: translateX(-8px) scale(1.08); }

/* La montaña en tonos pastel */
.peak { background: var(--sheen), var(--g-irid); border: 0; }
.peak-sun { fill: #FFF3DE; opacity: 1; }
.peak-back { fill: #F7C6CF; }
.peak-main { fill: #8E9CF5; }
.peak-shade { fill: #6E7EEA; }
.peak-snow { fill: #fff; }
.peak-hill { fill: #9EE3D8; }
.peak-pole { stroke: var(--ink); }
.peak-flag { fill: var(--blue); }
.peak-trail { stroke: #fff; }
.stop-dot { fill: #fff; stroke: var(--blue); }
.stop-ring { stroke: #fff; }
.stop text { fill: var(--blue); }
.stop:hover .stop-dot, .stop:focus-visible .stop-dot { fill: var(--blue); stroke: #fff; }
.stop:hover text, .stop:focus-visible text { fill: #fff; }

/* ---------- Método ---------- */
.step, .step-wine, .step-navy { background: var(--paper); color: var(--ink); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: var(--panel-shadow); border-radius: 36px; }
.step p, .step-wine p, .step-navy p { color: var(--muted); }
.step-n { font-family: var(--sans); font-style: normal; font-weight: 700; letter-spacing: -0.06em; background: var(--g-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step-wine .step-n { background-image: linear-gradient(95deg, #F07FA4, #F6C98F); }
.step-navy .step-n { background-image: linear-gradient(95deg, #3F8CFF, #6FD6D0); }
.step-fig figcaption, .step-wine .step-fig figcaption, .step-navy .step-fig figcaption { color: rgba(21, 22, 28, 0.42); }
.step-img { border-radius: 24px; }

/* ---------- Testimonios ---------- */
.testimonials { color: var(--ink); }
.testimonials .eyebrow.light { color: var(--muted); }
.car-count { color: var(--muted); }
.car-btn { border: 0; background: var(--btn-grad); color: #fff; box-shadow: 0 10px 22px -10px rgba(140, 95, 210, 0.35); }
.car-btn:hover { background: var(--ink); color: #fff; border: 0; }
.carousel { padding-top: 20px; padding-bottom: 60px; }
.quote, .quote:hover { background: var(--paper); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: var(--tile-shadow); color: var(--ink); }
.quote:hover { transform: translateY(-6px); }
.quote::before { background: var(--g-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.quote blockquote { font-family: var(--sans); font-weight: 500; letter-spacing: -0.02em; font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.4; }
.quote figcaption { border-top-color: var(--line); }
.quote figcaption small { color: var(--muted); }
.avatar { font-family: var(--sans); font-style: normal; font-weight: 700; font-size: 1.1rem; color: #fff; background: var(--g-lilac); }
.quote:nth-child(4n + 2) .avatar { background: var(--g-pink); }
.quote:nth-child(4n + 3) .avatar { background: var(--g-mint); color: var(--ink); }
.quote:nth-child(4n) .avatar { background: var(--g-blue); }

/* ---------- Pie: panel blanco ---------- */
.footer { margin: 0 var(--pad) var(--pad); border-radius: 40px; background: var(--paper); color: var(--ink); box-shadow: var(--panel-shadow); padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px) 0; }
.footer-row nav { color: var(--muted); }
.footer-row nav a:hover { color: var(--blue); }
.footer-row p { color: var(--muted); }
.wordmark { font-family: var(--sans); font-style: normal; font-weight: 800; letter-spacing: -0.06em; -webkit-text-stroke: 0; background: var(--g-text); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0.35; }

/* ---------- Móvil ---------- */
@media (max-width: 820px) {
  .hero { width: calc(100% - 24px); margin-top: 88px; padding: 14px; gap: 18px; border-radius: 30px; grid-template-columns: 1fr; }
  .hero-copy { padding: 6px 8px 14px; }
  .hero-visual { order: -1; padding: 30px 18px; border-radius: 22px; width: 100%; }
  .portrait { width: min(78%, 280px); }
  .marquee, .manifesto { margin-inline: 12px; }
  .manifesto { border-radius: 30px; }
  .footer { margin: 0 12px 12px; border-radius: 30px; }
  .bubble.u3, .bubble.u5 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .scene .blob, .bubble, .knob { animation: none !important; }
  .bubble { display: none; }
}

/* El degradado del titular va en cada palabra, porque las palabras se animan por separado */
.split em { background: none; color: inherit; -webkit-background-clip: border-box; background-clip: border-box; }
.split em .w > span { background: var(--g-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.06em; }
.testimonials h2 em { color: transparent; }

/* Letras R y Ñ dentro de las pompas, como grabadas en cristal */
.bubble { display: grid; place-items: center; font-family: var(--sans); font-weight: 700; line-height: 1; color: rgba(255, 255, 255, 0.75); text-shadow: 0 1px 2px rgba(120, 100, 190, 0.35), 0 0 8px rgba(255, 255, 255, 0.7); -webkit-text-stroke: 0.5px rgba(150, 130, 210, 0.35); }
.bubble.u1 { font-size: 17px; }
.bubble.u2 { font-size: 10px; }
.bubble.u3 { font-size: 27px; }
.bubble.u4 { font-size: 11px; }
.bubble.u5 { font-size: 20px; }
.bubble.u6 { width: 46px; height: 46px; left: 32%; font-size: 22px; animation-duration: 28s; animation-delay: -11s; }
.bubble.u7 { width: 28px; height: 28px; right: 38%; font-size: 14px; animation-duration: 22s; animation-delay: -18s; }
@media (max-width: 820px) { .bubble.u6 { display: none; } }
