/* ---------- Entrada: telón de aguayo ---------- */
@property --hole { syntax: '<length>'; inherits: false; initial-value: 0px; }

:root { --hero-delay: 1.75s; }
.no-intro { --hero-delay: 0s; }
.no-intro .intro { display: none; }

.intro {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--noche); overflow: hidden;
  animation: intro-out .75s cubic-bezier(.7, 0, .3, 1) 1.65s forwards;
  -webkit-mask: radial-gradient(circle at 50% 46%, transparent var(--hole), #000 calc(var(--hole) + 1px));
  mask: radial-gradient(circle at 50% 46%, transparent var(--hole), #000 calc(var(--hole) + 1px));
}
@keyframes intro-out { 0% { --hole: 0px; } 99% { --hole: 150vmax; opacity: 1; } 100% { --hole: 150vmax; opacity: 0; visibility: hidden; pointer-events: none; } }
@supports not (mask: radial-gradient(circle, transparent 1px, #000 2px)) { @keyframes intro-out { to { opacity: 0; visibility: hidden; pointer-events: none; } } }
.intro.is-skipped { animation: intro-skip .3s ease-out forwards; }
@keyframes intro-skip { to { opacity: 0; visibility: hidden; pointer-events: none; } }

.intro__center { position: relative; z-index: 2; display: grid; justify-items: center; perspective: 700px; }
.intro__mark { width: clamp(84px, 16vw, 128px); height: auto; filter: drop-shadow(0 0 28px rgba(255, 61, 110, .55)); animation: mark-in .8s var(--ease-out) both; }
@keyframes mark-in { from { opacity: 0; transform: rotateY(-100deg) scale(.4); filter: blur(10px); } }
.intro__word { display: flex; margin-top: 14px; font: 800 clamp(2.4rem, 10vw, 5.4rem)/1 var(--display); letter-spacing: .04em; transform-style: preserve-3d; }
.intro__word span { display: inline-block; transform-origin: 50% 100%; animation: letter-in .7s var(--ease-out) both; animation-delay: calc(.22s + var(--i) * 55ms); }
@keyframes letter-in { from { opacity: 0; transform: translateY(55%) rotateX(-80deg); } }
.intro__sub { margin-top: 10px; font: 500 clamp(.8rem, 2.6vw, 1rem)/1 var(--body); letter-spacing: .32em; color: var(--texto-2); animation: fade-in .5s ease-out .85s both; }
@keyframes fade-in { from { opacity: 0; } }

.intro__stripes { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; z-index: 1; }
.intro__stripes i {
  position: absolute; width: 4.2vw; height: 140vh; border-radius: 2px;
  background: var(--kantuta);
  transform: translateX(calc(var(--x) * 6.6vw)) scaleY(0); opacity: 0;
  animation: stripe 1s cubic-bezier(.5, 0, .2, 1) both; animation-delay: calc(1.05s + (7 - max(var(--x), -1 * var(--x))) * 22ms);
}
.intro__stripes i:nth-child(6n+2) { background: var(--polen); width: 1.6vw; }
.intro__stripes i:nth-child(6n+3) { background: var(--hoja); width: 2.4vw; }
.intro__stripes i:nth-child(6n+4) { background: var(--violeta); }
.intro__stripes i:nth-child(6n+5) { background: var(--kantuta-2); width: 1.2vw; }
.intro__stripes i:nth-child(6n) { background: #3b2a74; }
@keyframes stripe {
  0% { opacity: 0; transform: translateX(0) scaleY(0); }
  35% { opacity: 1; transform: translateX(calc(var(--x) * 6.6vw)) scaleY(1); }
  100% { opacity: 0; transform: translateX(calc(var(--x) * 14vw)) scaleY(1.2) scaleX(2.5); }
}
.intro__skip { position: absolute; z-index: 3; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); background: transparent; border: 1px solid var(--borde-2); color: var(--texto-2); border-radius: 999px; padding: 8px 16px; font-size: var(--t-xs); cursor: pointer; }

/* ---------- Aviso de pago pendiente ---------- */
.grace-bar { background: linear-gradient(90deg, #5a0d24, #3a0a2e); border-bottom: 1px solid rgba(255, 90, 95, .4); }
.grace-bar a { display: flex; gap: 10px; align-items: center; justify-content: center; padding: 10px var(--gutter); text-decoration: none; font-size: var(--t-sm); text-align: center; }
.grace-bar strong { color: #FFD0D4; }
.grace-bar .btn { min-height: 32px; }

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

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(8px, 3vw, 40px) 0 var(--s-7); }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto; height: 120%; pointer-events: none;
  background:
    radial-gradient(40% 50% at 78% 45%, rgba(139, 108, 255, .22), transparent 70%),
    radial-gradient(30% 40% at 70% 70%, rgba(255, 61, 110, .16), transparent 70%),
    radial-gradient(25% 30% at 10% 20%, rgba(47, 227, 154, .06), transparent 70%);
}
.hero__in { position: relative; display: grid; gap: var(--s-4); align-items: center; }
.hero__copy { order: 2; display: grid; gap: var(--s-5); }
.hero__title { font-size: clamp(2.15rem, 8.6vw, 4.5rem); font-weight: 700; line-height: 1.02; letter-spacing: -.025em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; animation: line-up .9s var(--ease-out) both; }
.hero__title .line:nth-child(1) > span { animation-delay: calc(var(--hero-delay) + .05s); }
.hero__title .line:nth-child(2) > span { animation-delay: calc(var(--hero-delay) + .14s); }
.hero__title .line:nth-child(3) > span { animation-delay: calc(var(--hero-delay) + .23s); }
@keyframes line-up { from { transform: translateY(108%); } }
.hero__lead { color: var(--texto-2); font-size: clamp(1rem, 2.6vw, 1.15rem); max-width: 34rem; animation: rise .7s var(--ease-out) both; animation-delay: calc(var(--hero-delay) + .35s); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-3); animation: rise .7s var(--ease-out) both; animation-delay: calc(var(--hero-delay) + .45s); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.hero__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: var(--t-sm); color: var(--texto-2); animation: fade-in .8s ease-out both; animation-delay: calc(var(--hero-delay) + .6s); }
.hero__facts li { display: flex; gap: 10px; align-items: baseline; }
.hero__facts li::before { content: ''; flex: none; width: 10px; height: 10px; border-radius: 3px; transform: translateY(1px) rotate(45deg); background: var(--kantuta); }
.hero__facts li:nth-child(2)::before { background: var(--polen); }
.hero__facts li:nth-child(3)::before { background: var(--hoja); }
.hero__facts strong { color: var(--texto); font-weight: 650; }

@media (min-width: 960px) {
  .hero { padding: var(--s-6) 0 var(--s-8); }
  .hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: var(--s-6); min-height: min(640px, calc(100dvh - 110px)); }
  .hero__copy { order: 0; }
}

/* ---------- Órbita holográfica de plataformas ----------
   Mosaicos de vidrio con borde de neón que recorren un disco de luz en perspectiva alrededor de la flor.
   home.js calcula tamaño y radios para que ningún logo tape a otro ni a la flor (ver tools/orbit-check.mjs). */
.orbit {
  --rx: 150px; --ry: 100px; --cy: 0px; --tw: 100px; --th: 60px; --core: 128px;
  position: relative; height: 340px; perspective: 1100px; perspective-origin: 50% 40%;
  touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; overflow: hidden; border-radius: 28px;
  animation: fade-in .9s ease-out both; animation-delay: calc(var(--hero-delay) + .1s);
}
.orbit.is-dragging { cursor: grabbing; }
.orbit > * { pointer-events: none; }
.orbit .orbit__ring { pointer-events: auto; }

/* Piso: rejilla en perspectiva que avanza hacia el espectador */
.orbit__grid {
  position: absolute; left: -30%; right: -30%; top: 42%; height: 110%; z-index: 0;
  transform: perspective(600px) rotateX(64deg); transform-origin: 50% 0; overflow: hidden;
  -webkit-mask: radial-gradient(ellipse 58% 32% at 50% 18%, #000 10%, transparent 100%);
  mask: radial-gradient(ellipse 58% 32% at 50% 18%, #000 10%, transparent 100%);
}
.orbit__gridlines {
  position: absolute; inset: -80px 0 0 0;
  background:
    repeating-linear-gradient(90deg, rgba(139, 108, 255, .22) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(139, 108, 255, .3) 0 1px, transparent 1px 40px);
  animation: grid-run 2.4s linear infinite;
}
@keyframes grid-run { to { transform: translateY(40px); } }

.orbit__glow { position: absolute; left: 50%; top: 50%; width: calc(var(--rx) * 2.6); height: calc(var(--ry) * 2.4); transform: translate(-50%, calc(-50% + var(--cy))); border-radius: 50%; z-index: 1;
  background: radial-gradient(closest-side, rgba(255, 61, 110, .22), rgba(139, 108, 255, .14) 55%, transparent); filter: blur(10px); }

/* Disco de luz: la elipse exacta que recorren los mosaicos */
.orbit__disc {
  position: absolute; left: 50%; top: 50%; width: calc(var(--rx) * 2); height: calc(var(--ry) * 2); border-radius: 50%; z-index: 2;
  transform: translate(-50%, calc(-50% + var(--cy)));
  background: conic-gradient(from 90deg, rgba(255, 61, 110, .9), rgba(255, 194, 61, .7), rgba(47, 227, 154, .7), rgba(139, 108, 255, .9), rgba(255, 61, 110, .9));
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  mask: radial-gradient(closest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  opacity: .75;
}
.orbit__disc::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 24px rgba(139, 108, 255, .45), inset 0 0 24px rgba(255, 61, 110, .35); }
.orbit__disc--outer { width: calc(var(--rx) * 2 + 48px); height: calc(var(--ry) * 2 + 30px); opacity: .22;
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 1px), #000 calc(100% - .5px)); mask: radial-gradient(closest-side, transparent calc(100% - 1px), #000 calc(100% - .5px)); }
.orbit__comet { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 50%; z-index: 3; background: #fff;
  box-shadow: 0 0 10px 3px rgba(255, 255, 255, .8), 0 0 28px 8px rgba(255, 61, 110, .55); transform: translate(-50%, -50%); }

/* Partículas */
.orbit__dust { position: absolute; inset: 0; z-index: 2; }
.orbit__dust i { position: absolute; left: var(--x); bottom: -6px; width: 3px; height: 3px; border-radius: 50%; background: #fff; opacity: 0;
  animation: dust var(--d, 7s) linear infinite; animation-delay: var(--s, 0s); box-shadow: 0 0 6px rgba(255, 255, 255, .8); }
.orbit__dust i:nth-child(odd) { background: var(--polen); box-shadow: 0 0 6px var(--polen); }
.orbit__dust i:nth-child(3n) { background: var(--hoja); box-shadow: 0 0 6px var(--hoja); }
.orbit__dust i:nth-child(1) { --x: 8%; --d: 8s; --s: -1s; }   .orbit__dust i:nth-child(2) { --x: 18%; --d: 11s; --s: -5s; }
.orbit__dust i:nth-child(3) { --x: 27%; --d: 9s; --s: -3s; }  .orbit__dust i:nth-child(4) { --x: 36%; --d: 12s; --s: -7s; }
.orbit__dust i:nth-child(5) { --x: 44%; --d: 7.5s; --s: -2s; } .orbit__dust i:nth-child(6) { --x: 52%; --d: 10s; --s: -6s; }
.orbit__dust i:nth-child(7) { --x: 60%; --d: 8.5s; --s: -4s; } .orbit__dust i:nth-child(8) { --x: 68%; --d: 11.5s; --s: -8s; }
.orbit__dust i:nth-child(9) { --x: 76%; --d: 9.5s; --s: -1.5s; } .orbit__dust i:nth-child(10) { --x: 84%; --d: 7s; --s: -5.5s; }
.orbit__dust i:nth-child(11) { --x: 92%; --d: 10.5s; --s: -3.5s; } .orbit__dust i:nth-child(12) { --x: 13%; --d: 12.5s; --s: -9s; }
@keyframes dust { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: .7; } 90% { opacity: .5; } 100% { transform: translateY(-110vh) translateY(300px); opacity: 0; } }

/* La flor como holograma: anillos giroscópicos alrededor */
.orbit__core { position: absolute; left: 50%; top: 50%; width: var(--core); z-index: 5; transform: translate(-50%, calc(-52% + var(--cy))); display: grid; place-items: center; }
.orbit__core img { width: 100%; height: auto; position: relative; filter: drop-shadow(0 0 22px rgba(255, 61, 110, .7)) drop-shadow(0 0 70px rgba(255, 194, 61, .3)); animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-7px) rotate(-2deg); } }
.orbit__gyro { position: absolute; left: 50%; top: 52%; width: calc(var(--core) * 1.55); height: calc(var(--core) * 1.55); border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35);
  border-top-color: var(--polen); border-bottom-color: var(--kantuta); box-shadow: 0 0 12px rgba(255, 194, 61, .25); transform-style: preserve-3d; }
.orbit__gyro--a { animation: gyro-a 9s linear infinite; }
.orbit__gyro--b { width: calc(var(--core) * 1.3); height: calc(var(--core) * 1.3); border-top-color: var(--hoja); border-bottom-color: var(--violeta); animation: gyro-b 7s linear infinite; }
@keyframes gyro-a { from { transform: translate(-50%, -50%) rotateY(0deg) rotateX(68deg); } to { transform: translate(-50%, -50%) rotateY(360deg) rotateX(68deg); } }
@keyframes gyro-b { from { transform: translate(-50%, -50%) rotateX(-20deg) rotateY(0deg) rotateZ(30deg); } to { transform: translate(-50%, -50%) rotateX(-20deg) rotateY(-360deg) rotateZ(30deg); } }

/* Mosaicos de vidrio con neón */
.orbit__ring { position: absolute; inset: 0; z-index: 10; transform-style: preserve-3d; }
.orbit__tile {
  position: absolute; left: 50%; top: 50%; width: var(--tw); height: var(--th);
  margin: calc(var(--th) / -2) 0 0 calc(var(--tw) / -2);
  border-radius: 12px; padding: 0; border: 1px solid rgba(255, 255, 255, .22); cursor: pointer; opacity: 0;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .04) 45%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, color-mix(in srgb, var(--c) 28%, rgba(14, 8, 32, .9)), rgba(12, 7, 25, .92));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 35%, transparent), 0 14px 30px -14px color-mix(in srgb, var(--c) 85%, transparent), inset 0 1px 0 rgba(255, 255, 255, .25);
  display: grid; place-items: center; will-change: transform, opacity; backface-visibility: hidden;
}
.orbit__tile::before { content: ''; position: absolute; left: 14%; right: 14%; bottom: -1px; height: 2px; border-radius: 2px; background: var(--c); box-shadow: 0 0 10px 1px var(--c), 0 0 22px 2px color-mix(in srgb, var(--c) 60%, transparent); }
.orbit__tile img { width: 80%; height: 64%; object-fit: contain; pointer-events: none; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .6)); }
.orbit__tile::after { content: ''; position: absolute; inset: -1px; border-radius: inherit; background: #0b0618; opacity: var(--shade, 0); pointer-events: none; }
/* Reflejo sobre el disco (debajo del mosaico, nunca lo tapa) */
.orbit__refl { position: absolute; left: 0; right: 0; top: 100%; height: 100%; margin-top: 2px; border-radius: 12px; overflow: hidden; pointer-events: none;
  transform: scaleY(-1); opacity: .28; background: color-mix(in srgb, var(--c) 18%, transparent);
  -webkit-mask: linear-gradient(180deg, transparent 20%, #000 100%); mask: linear-gradient(180deg, transparent 20%, #000 100%); }
.orbit__refl img { position: absolute; left: 10%; top: 18%; width: 80%; height: 64%; object-fit: contain; }
.orbit__hint { position: absolute; bottom: 0; left: 0; right: 0; height: 22px; line-height: 22px; text-align: center; font-size: var(--t-xs); color: var(--texto-3); z-index: 20; }
@media (min-width: 600px) { .orbit { height: 420px; } }
@media (min-width: 1100px) { .orbit { height: 540px; } }
@media (hover: none) { .orbit__hint { display: block; } }
@media (hover: hover) { .orbit__hint { display: none; } }
@media (prefers-reduced-motion: reduce) { .orbit__gridlines, .orbit__dust i, .orbit__gyro, .orbit__core img { animation: none; } }

/* ---------- Bloques ---------- */
.block { padding: var(--s-8) 0 0; }
.block h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); }
.block__head { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: end; justify-content: space-between; margin-bottom: var(--s-5); }
.block__lead { color: var(--texto-2); margin-top: var(--s-3); max-width: 40rem; }
.block--band { margin-top: var(--s-8); padding: var(--s-8) 0; background: linear-gradient(180deg, var(--noche-2), var(--noche)); border-top: 1px solid var(--borde); }
.block--band + .block { padding-top: var(--s-7); }

.filters { display: flex; gap: 6px; padding: 4px; background: var(--noche-2); border: 1px solid var(--borde); border-radius: 999px; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.filters button { border: 0; background: transparent; color: var(--texto-2); padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: var(--t-sm); cursor: pointer; white-space: nowrap; }
.filters button[aria-selected="true"] { background: var(--texto); color: var(--tinta); }

/* ---------- Catálogo ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
.tile.skeleton { height: 220px; }
.tile {
  position: relative; display: flex; flex-direction: column; text-align: left; padding: 0; overflow: hidden;
  border-radius: var(--r-card); border: 1px solid var(--borde); background: var(--noche-2); color: var(--texto); cursor: pointer;
  transition: border-color .2s, transform .35s var(--ease-out), box-shadow .35s;
  transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
.tile:hover { border-color: color-mix(in srgb, var(--c) 60%, transparent); box-shadow: 0 24px 50px -24px color-mix(in srgb, var(--c) 80%, transparent); }
.tile__logo { height: 96px; display: grid; place-items: center; background: #160d2e; background: radial-gradient(110% 130% at 50% 0%, color-mix(in srgb, var(--c) 55%, #0c0719), #0c0719 75%); border-bottom: 1px solid var(--borde); }
.tile__logo img { width: 68%; max-height: 46px; object-fit: contain; transition: transform .35s var(--ease-out); }
.tile:hover .tile__logo img { transform: scale(1.06); }
.tile__body { padding: 12px 14px 14px; display: grid; gap: 6px; flex: 1; }
.tile__name { font: 600 var(--t-md)/1.2 var(--display); }
.tile__tag { font-size: var(--t-xs); color: var(--texto-2); line-height: 1.4; }
.tile__foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 8px; margin-top: auto; padding-top: 8px; }
.tile__price { font: 600 var(--t-sm)/1 var(--display); white-space: nowrap; }
.tile__price small { font: 500 var(--t-xs) var(--body); color: var(--texto-2); margin-right: 3px; }
.tile__stock { font-size: 11px; font-weight: 600; color: var(--hoja); }
.tile__stock.is-out { color: var(--texto-3); }
/* Sin stock el logo se mantiene a todo color: solo cambia la etiqueta "Agotado". */
@media (min-width: 700px) { .tile__logo { height: 112px; } .tile__body { padding: 14px 16px 16px; } }
@media (hover: none) { .tile { transform: none; } }

/* ---------- Pasos ---------- */
.steps { list-style: none; padding: 0; margin: var(--s-5) 0 0; display: grid; gap: var(--s-4); counter-reset: none; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--s-5); } }
.steps li { position: relative; padding: var(--s-5); border-radius: var(--r-card); background: var(--noche-2); border: 1px solid var(--borde); display: grid; gap: 8px; align-content: start; }
.steps h3 { font-size: var(--t-lg); }
.steps p { color: var(--texto-2); font-size: var(--t-sm); }
.steps__n { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font: 700 1rem/1 var(--display); color: var(--tinta); background: var(--kantuta); margin-bottom: 4px; }
.steps li:nth-child(2) .steps__n { background: var(--polen); }
.steps li:nth-child(3) .steps__n { background: var(--hoja); }

/* ---------- Línea de tiempo de renovación ---------- */
.timeline { list-style: none; padding: 0; margin: var(--s-6) 0 0; display: grid; gap: 0; position: relative; }
.timeline li { position: relative; display: grid; gap: 2px; padding: 0 0 var(--s-5) 30px; }
.timeline li::before { content: ''; position: absolute; left: 6px; top: 6px; bottom: -6px; width: 2px; background: var(--borde-2); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ''; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--noche); border: 2px solid var(--texto-2); }
.timeline li.is-ok::after { border-color: var(--hoja); background: var(--hoja); }
.timeline li.is-warn::after { border-color: var(--polen); background: var(--polen); }
.timeline li.is-bad::after { border-color: var(--peligro); background: var(--peligro); }
.timeline__when { font: 600 var(--t-sm)/1.3 var(--display); }
.timeline__what { color: var(--texto-2); font-size: var(--t-sm); }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(5, 1fr); }
  .timeline li { padding: 30px 18px 0 0; }
  .timeline li::before { left: 7px; right: -7px; top: 6px; bottom: auto; width: auto; height: 2px; }
  .timeline li::after { top: 0; }
}
.split { display: grid; gap: var(--s-4); margin-top: var(--s-6); }
@media (min-width: 800px) { .split { grid-template-columns: 1fr 1fr; } }
.note { padding: var(--s-5); border-radius: var(--r-card); border: 1px solid var(--borde); background: rgba(17, 10, 36, .6); display: grid; gap: 8px; }
.note h3 { font-size: var(--t-lg); }
.note p { color: var(--texto-2); }
.note strong { color: var(--texto); }

/* ---------- Preguntas ---------- */
.faq-wrap { padding-bottom: var(--s-8); }
.faq { margin-top: var(--s-5); display: grid; gap: 10px; max-width: 760px; }
.faq details { border: 1px solid var(--borde); border-radius: 16px; background: var(--noche-2); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 18px; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 400 1.4rem/1 var(--display); color: var(--texto-2); transition: transform .25s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 18px 18px; color: var(--texto-2); }

/* ---------- Hoja de compra ---------- */
.buy__hero { display: flex; gap: 14px; align-items: center; margin-bottom: var(--s-5); }
.buy__hero .logo-plate { width: 108px; height: 64px; flex: none; }
.buy__hero p { color: var(--texto-2); font-size: var(--t-sm); }
.plans { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; }
.plan { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; align-items: start; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--borde-2); background: var(--noche); cursor: pointer; transition: border-color .15s, background-color .15s; }
.plan input { position: absolute; opacity: 0; }
.plan__radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--texto-3); margin-top: 3px; display: grid; place-items: center; }
.plan__radio::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--kantuta); transform: scale(0); transition: transform .2s var(--ease-spring); }
.plan:has(input:checked) { border-color: var(--kantuta); background: rgba(255, 61, 110, .07); }
.plan:has(input:checked) .plan__radio { border-color: var(--kantuta); }
.plan:has(input:checked) .plan__radio::after { transform: scale(1); }
.plan:has(input:focus-visible) { outline: 2px solid var(--polen); outline-offset: 2px; }
.plan.is-out { opacity: .55; cursor: not-allowed; }
.plan__name { font-weight: 650; }
.plan__price { font: 600 var(--t-md)/1.2 var(--display); text-align: right; white-space: nowrap; }
.plan__price small { display: block; font: 500 var(--t-xs) var(--body); color: var(--texto-2); }
.plan ul { grid-column: 2 / -1; margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 3px; font-size: var(--t-xs); color: var(--texto-2); }
.plan li::before { content: '✓'; color: var(--hoja); margin-right: 7px; font-weight: 700; }
.plan__stock { grid-column: 2 / -1; font-size: 11px; font-weight: 600; color: var(--hoja); }
.plan__stock.is-out { color: var(--peligro); }
.buy__foot { display: flex; align-items: center; gap: 12px; width: 100%; flex-wrap: wrap; }
.buy__balance { font-size: var(--t-sm); color: var(--texto-2); margin-right: auto; }
.buy__balance strong { color: var(--texto); display: block; font: 600 var(--t-md) var(--display); }
.buy__msg { width: 100%; font-size: var(--t-sm); color: var(--polen); }
.buy__note { width: 100%; font-size: var(--t-xs); color: var(--texto-2); text-align: right; }

/* Tarjeta 3D que gira para mostrar los datos */
.flip { perspective: 1200px; margin: 4px auto var(--s-4); width: 100%; max-width: 420px; }
.flip__card { position: relative; display: grid; transform-style: preserve-3d; transition: transform 1s var(--ease-spring); }
.flip.is-flipped .flip__card { transform: rotateY(180deg); }
.flip__face { grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 20px; padding: 20px; border: 1px solid var(--borde-2); background: var(--noche); min-height: 220px; }
.flip__front { display: grid; place-items: center; text-align: center; gap: 10px; background: #160d2e; background: radial-gradient(120% 120% at 50% 0%, color-mix(in srgb, var(--c) 55%, #0c0719), #0c0719 75%); }
.flip__front img { width: 60%; max-height: 64px; object-fit: contain; }
.flip__back { transform: rotateY(180deg); display: grid; gap: 10px; align-content: start; }
.flip__back::before { content: ''; height: 4px; margin: -20px -20px 6px; border-radius: 20px 20px 0 0; background: var(--aguayo); }
.cred { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--noche-2); }
.cred span { grid-column: 1; font-size: 11px; color: var(--texto-2); font-weight: 600; }
.cred strong { grid-column: 1; font-weight: 600; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.cred button { grid-column: 2; grid-row: 1 / 3; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--borde-2); background: transparent; cursor: pointer; display: grid; place-items: center; }
.success__title { text-align: center; display: grid; gap: 6px; margin-bottom: var(--s-4); }
.success__title h3 { font-size: var(--t-xl); }
.success__title p { color: var(--texto-2); font-size: var(--t-sm); }
.success__code { font: 600 var(--t-sm) var(--display); color: var(--polen); }
