/* =========================================================
   PORTADA Y PÁGINAS DE SERVICIO (oct 2026) — estilo oscuro premium
   ========================================================= */
:root {
  --px-bg: #09090b;
  --px-bg-2: #111114;
  --px-panel: #131317;
  --px-line: rgba(255, 255, 255, 0.09);
  --px-line-2: rgba(255, 255, 255, 0.16);
  --px-ink: #f5f5f4;
  --px-ink-2: #b4b4bb;
  --px-muted: #7c7c86;
  --px-red: #e00d0d;
  --px-red-2: #ff2a2a;
  --px-red-glow: rgba(224, 13, 13, 0.45);
  --px-display: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
  --px-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --px-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --px-ease: cubic-bezier(.22, 1, .36, 1);
}

html { background: var(--px-bg); }
body.px {
  margin: 0; min-height: 100vh; background: var(--px-bg); color: var(--px-ink);
  font-family: var(--px-body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.px a { color: inherit; text-decoration: none; }
body.px h1, body.px h2, body.px h3, body.px b { color: var(--px-ink); }
body.px ::selection { background: var(--px-red); color: #fff; }
.px-wrap { width: min(1240px, 100% - 32px); margin: 0 auto; }

/* Grano de película por encima de todo (muy suave) */
.px-grano {
  position: fixed; inset: -50%; z-index: 60; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: px-grano 1.2s steps(6) infinite;
}
@keyframes px-grano {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
/* Resplandor rojo de fondo que respira */
.px-aura {
  position: fixed; z-index: 0; pointer-events: none; width: 70vmax; height: 70vmax; border-radius: 50%;
  left: 50%; top: -35vmax; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(224, 13, 13, .22), transparent 62%);
  filter: blur(10px); animation: px-respira 9s ease-in-out infinite;
}
@keyframes px-respira { 0%, 100% { opacity: .65; transform: translateX(-50%) scale(1); } 50% { opacity: 1; transform: translateX(-50%) scale(1.08); } }

/* ---------- Barra superior ---------- */
.px-top {
  position: sticky; top: 0; z-index: 40; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(9, 9, 11, .88), rgba(9, 9, 11, .55));
  border-bottom: 1px solid var(--px-line);
}
.px-top-in { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 68px; }
.px-marca { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.px-marca img { height: 34px; width: auto; display: block; }
.px-marca .px-x { color: var(--px-muted); font-size: 14px; }
.px-marca .px-amix { font-family: var(--px-display); letter-spacing: .08em; font-size: 18px; color: var(--px-ink-2); }
.px-nav { display: flex; align-items: center; gap: 6px; }
.px-nav a {
  position: relative; padding: 9px 12px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--px-ink-2);
  border-radius: 999px; transition: color .25s, background .25s;
}
.px-nav a:hover, .px-nav a.on { color: var(--px-ink); background: rgba(255, 255, 255, .06); }
.px-nav a.on::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--px-red); }
.px-acceso {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 700;
  border: 1px solid var(--px-line-2); transition: border-color .25s, background .25s;
}
.px-acceso:hover { border-color: var(--px-red); background: rgba(224, 13, 13, .12); }
.px-acceso .px-pt { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .18); }
@media (max-width: 760px) {
  .px-nav { display: none; }
  .px-marca img { height: 28px; }
  .px-marca .px-amix { font-size: 15px; }
}

/* ---------- Hero de la portada ---------- */
.px-hero { position: relative; z-index: 1; padding: clamp(36px, 7vw, 84px) 0 clamp(26px, 4vw, 44px); }
.px-ceja {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--px-mono); font-size: 12px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--px-ink-2);
}
.px-ceja i { width: 8px; height: 8px; border-radius: 50%; background: var(--px-red); box-shadow: 0 0 0 0 var(--px-red-glow); animation: px-latido 1.8s infinite; }
@keyframes px-latido { 0% { box-shadow: 0 0 0 0 var(--px-red-glow); } 70% { box-shadow: 0 0 0 12px rgba(224, 13, 13, 0); } 100% { box-shadow: 0 0 0 0 rgba(224, 13, 13, 0); } }
.px-h1 {
  font-family: var(--px-display); font-weight: 400; text-transform: uppercase; line-height: .9; letter-spacing: .005em;
  font-size: clamp(54px, 11.5vw, 168px); margin: 18px 0 0;
}
.px-h1 .px-l { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.08em; }
.px-h1 .px-l > span { display: inline-block; transform: translateY(105%); animation: px-sube 1s var(--px-ease) forwards; }
.px-h1 .px-l:nth-child(2) > span { animation-delay: .12s; }
.px-h1 .px-l:nth-child(3) > span { animation-delay: .24s; }
@keyframes px-sube { to { transform: translateY(0); } }
.px-h1 .px-hueco { color: transparent; -webkit-text-stroke: 1.5px rgba(245, 245, 244, .85); }
.px-h1 .px-rojo { color: var(--px-red); position: relative; }
.px-h1 .px-rojo::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -.09em; height: .06em; background: var(--px-red);
  transform: scaleX(0); transform-origin: left; animation: px-raya .9s .95s var(--px-ease) forwards;
}
@keyframes px-raya { to { transform: scaleX(1); } }
.px-hero-pie { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; margin-top: 26px; }
.px-sub { max-width: 560px; margin: 0; color: var(--px-ink-2); font-size: clamp(15px, 1.6vw, 18px); line-height: 1.6; opacity: 0; animation: px-aparece .9s .5s var(--px-ease) forwards; }
.px-datos { display: flex; gap: 28px; opacity: 0; animation: px-aparece .9s .65s var(--px-ease) forwards; }
.px-dato b { display: block; font-family: var(--px-display); font-weight: 400; font-size: 34px; line-height: 1; }
.px-dato span { font-family: var(--px-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--px-muted); }
@keyframes px-aparece { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Los 3 paneles ---------- */
.px-paneles {
  position: relative; z-index: 1; display: flex; gap: 14px; height: clamp(500px, 70vh, 660px); margin-bottom: 26px;
}
.px-panel {
  --mx: 50%; --my: 40%; --acento: var(--px-red);
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; isolation: isolate; border-radius: 22px;
  background: var(--px-panel); border: 1px solid var(--px-line);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 28px;
  transition: flex-grow .8s var(--px-ease), border-color .5s, transform .5s var(--px-ease), opacity .5s;
  clip-path: inset(100% 0 0 0 round 22px); animation: px-cortina 1.1s var(--px-ease) forwards;
}
.px-panel:nth-child(1) { animation-delay: .35s; }
.px-panel:nth-child(2) { animation-delay: .5s; }
.px-panel:nth-child(3) { animation-delay: .65s; }
@keyframes px-cortina { to { clip-path: inset(0 0 0 0 round 22px); } }
@media (hover: hover) and (min-width: 901px) {
  .px-paneles:hover .px-panel { opacity: .55; }
  .px-paneles .px-panel:hover, .px-paneles .px-panel:focus-visible { flex-grow: 1.75; opacity: 1; border-color: rgba(224, 13, 13, .55); }
}
/* Foco de luz que sigue al ratón */
.px-panel::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(224, 13, 13, .22), transparent 45%);
}
.px-panel:hover::before { opacity: 1; }
/* Fondos propios de cada panel */
.px-fondo { position: absolute; inset: 0; z-index: -2; }
.px-p1 .px-fondo { background: radial-gradient(120% 80% at 50% 0%, #2a0b0b 0%, transparent 60%); }
.px-p2 .px-fondo { background: repeating-linear-gradient(-55deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 18px), radial-gradient(100% 70% at 100% 0%, #1d0f10 0%, transparent 60%); }
.px-p3 .px-fondo { background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.4px), radial-gradient(100% 70% at 0% 0%, #1c1010 0%, transparent 60%); background-size: 18px 18px, auto; }

.px-num {
  position: absolute; top: 18px; left: 26px; font-family: var(--px-display); font-size: 120px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .14); transition: -webkit-text-stroke-color .5s, transform .8s var(--px-ease);
}
.px-panel:hover .px-num { -webkit-text-stroke-color: rgba(224, 13, 13, .7); transform: translateY(-4px); }
.px-arte { position: absolute; left: 0; right: 0; top: 0; bottom: 47%; display: grid; place-items: center; pointer-events: none; }
.px-info { position: relative; }
.px-kicker { font-family: var(--px-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--px-red-2); }
.px-panel h2 {
  font-family: var(--px-display); font-weight: 400; text-transform: uppercase; line-height: .92; letter-spacing: .01em;
  font-size: clamp(36px, 3.7vw, 64px); margin: 8px 0 10px; white-space: nowrap;
}
.px-panel h2 small { display: block; font-family: var(--px-mono); text-transform: uppercase; font-size: 11px; letter-spacing: .2em; margin-top: 8px; color: var(--px-ink-2); letter-spacing: .04em; }
.px-desc { margin: 0; color: var(--px-ink-2); font-size: 14.5px; line-height: 1.55; max-width: 380px; }
.px-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.px-chips li { font-size: 11.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--px-line-2); color: var(--px-ink-2); }
.px-cta {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 20px; font-weight: 800; font-size: 14px;
  letter-spacing: .06em; text-transform: uppercase;
}
.px-cta .px-flecha {
  position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--px-line-2); display: grid; place-items: center;
  overflow: hidden; transition: background .4s, border-color .4s, width .6s var(--px-ease);
}
.px-cta .px-flecha svg { width: 18px; height: 18px; transition: transform .5s var(--px-ease); }
.px-panel:hover .px-flecha { background: var(--px-red); border-color: var(--px-red); width: 64px; }
.px-panel:hover .px-flecha svg { transform: translateX(4px); }
/* Línea roja que se dibuja en el borde inferior */
.px-borde { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--px-red), var(--px-red-2)); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--px-ease); }
.px-panel:hover .px-borde, .px-panel:focus-visible .px-borde { transform: scaleX(1); }
.px-panel:focus-visible { outline: 2px solid var(--px-red); outline-offset: 3px; }

@media (max-width: 900px) {
  .px-paneles { flex-direction: column; height: auto; }
  .px-panel { flex: none; min-height: 0; padding: 22px; justify-content: flex-start; }
  .px-num { font-size: 92px; left: 20px; top: 14px; }
  .px-arte { position: relative; inset: auto; height: 230px; margin: 0 -22px 6px; }
  .px-pila { margin-top: 10px; }
  .px-anillos { margin-top: 0; }
  .px-panel h2 { font-size: clamp(44px, 13vw, 64px); }
}

/* ---------- Arte del panel TIENDA: productos que flotan + sello giratorio ---------- */
.px-pila { position: relative; width: 230px; height: 190px; margin-top: 40px; }
.px-prod {
  position: absolute; top: 50%; left: 50%; width: 116px; height: 140px; margin: -70px 0 0 -58px; border-radius: 16px;
  background: #fff center/82% no-repeat; box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08);
  transition: transform .9s var(--px-ease);
}
.px-prod.p0 { transform: translate(-62px, 10px) rotate(-12deg); animation: px-flota 6s ease-in-out infinite; }
.px-prod.p1 { transform: translate(0, -8px) rotate(0); z-index: 2; animation: px-flota 6s -2s ease-in-out infinite; }
.px-prod.p2 { transform: translate(62px, 10px) rotate(12deg); animation: px-flota 6s -4s ease-in-out infinite; }
.px-panel:hover .px-prod.p0 { transform: translate(-96px, 16px) rotate(-18deg); }
.px-panel:hover .px-prod.p1 { transform: translate(0, -22px) scale(1.06); }
.px-panel:hover .px-prod.p2 { transform: translate(96px, 16px) rotate(18deg); }
@keyframes px-flota { 0%, 100% { margin-top: -70px; } 50% { margin-top: -80px; } }
.px-prod.vacio { background: linear-gradient(160deg, #1f1f24, #141418); display: grid; place-items: center; font-family: var(--px-display); color: var(--px-ink-2); font-size: 22px; }
.px-sello { position: absolute; right: -14px; top: -26px; width: 96px; height: 96px; z-index: 3; }
.px-sello svg { width: 100%; height: 100%; animation: px-gira 14s linear infinite; }
.px-sello b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--px-display); font-weight: 400; font-size: 22px; color: #fff; }
.px-sello::before { content: ''; position: absolute; inset: 18px; border-radius: 50%; background: var(--px-red); box-shadow: 0 0 30px var(--px-red-glow); }
@keyframes px-gira { to { transform: rotate(360deg); } }

/* ---------- Arte del panel RUTINAS: pulso + barras de repeticiones ---------- */
.px-pulso { width: min(300px, 80%); }
.px-pulso svg { width: 100%; height: auto; overflow: visible; }
.px-pulso .px-ecg { fill: none; stroke: var(--px-red); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 620; stroke-dashoffset: 620; animation: px-ecg 3.2s var(--px-ease) infinite; filter: drop-shadow(0 0 6px var(--px-red-glow)); }
.px-pulso .px-ecg-base { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 2; }
@keyframes px-ecg { 0% { stroke-dashoffset: 620; } 55% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -620; } }
.px-barras { display: flex; align-items: flex-end; justify-content: center; gap: 7px; height: 70px; margin-top: 14px; }
.px-barras i { display: block; width: 12px; border-radius: 4px; background: linear-gradient(to top, rgba(224, 13, 13, .25), rgba(224, 13, 13, .9)); transform-origin: bottom; animation: px-rep 1.6s ease-in-out infinite; }
.px-barras i:nth-child(1) { height: 40%; animation-delay: -.1s; } .px-barras i:nth-child(2) { height: 70%; animation-delay: -.3s; }
.px-barras i:nth-child(3) { height: 100%; animation-delay: -.5s; } .px-barras i:nth-child(4) { height: 60%; animation-delay: -.7s; }
.px-barras i:nth-child(5) { height: 85%; animation-delay: -.9s; } .px-barras i:nth-child(6) { height: 50%; animation-delay: -1.1s; }
.px-barras i:nth-child(7) { height: 75%; animation-delay: -1.3s; }
@keyframes px-rep { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
.px-serie { margin-top: 12px; text-align: center; font-family: var(--px-mono); font-size: 11px; letter-spacing: .2em; color: var(--px-muted); }

/* ---------- Arte del panel ALIMENTACIÓN: anillos de macros ---------- */
.px-anillos { position: relative; width: 180px; height: 180px; margin: 30px auto 0; }
.px-anillos svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.px-anillos circle { fill: none; stroke-width: 12; stroke-linecap: round; }
.px-anillos .f { stroke: rgba(255, 255, 255, .06); }
.px-anillos .a { stroke-dasharray: var(--l) 1000; stroke-dashoffset: var(--l); animation: px-anillo 2.4s var(--px-ease) forwards, px-anillo-vivo 5s 2.6s ease-in-out infinite; }
.px-anillos .a1 { stroke: var(--px-red); --l: 534; animation-delay: .9s, 3.3s; }
.px-anillos .a2 { stroke: #f5f5f4; --l: 408; animation-delay: 1.1s, 3.5s; }
.px-anillos .a3 { stroke: #7c7c86; --l: 283; animation-delay: 1.3s, 3.7s; }
@keyframes px-anillo { to { stroke-dashoffset: calc(var(--l) * .28); } }
@keyframes px-anillo-vivo { 0%, 100% { stroke-dashoffset: calc(var(--l) * .28); } 50% { stroke-dashoffset: calc(var(--l) * .18); } }
.px-anillos .px-centro { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.px-anillos .px-centro b { display: block; font-family: var(--px-display); font-weight: 400; font-size: 30px; line-height: 1; }
.px-anillos .px-centro span { font-family: var(--px-mono); font-size: 10px; letter-spacing: .16em; color: var(--px-muted); }
.px-leyenda { display: flex; justify-content: center; gap: 14px; margin-top: 12px; font-family: var(--px-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--px-ink-2); }
.px-leyenda i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }

/* ---------- Cinta de texto ---------- */
.px-cinta { position: relative; z-index: 1; overflow: hidden; border-top: 1px solid var(--px-line); border-bottom: 1px solid var(--px-line); padding: 16px 0; margin: 10px 0 0; }
.px-cinta-in { display: flex; width: max-content; animation: px-cinta 32s linear infinite; }
.px-cinta span { font-family: var(--px-display); text-transform: uppercase; font-size: clamp(22px, 3vw, 34px); letter-spacing: .02em; padding-right: 34px; white-space: nowrap; color: var(--px-ink-2); }
.px-cinta span em { font-style: normal; color: var(--px-red); padding-left: 34px; }
.px-cinta span.h { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .4); }
@keyframes px-cinta { to { transform: translateX(-50%); } }

.px-pie { position: relative; z-index: 1; padding: 26px 0 34px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: var(--px-muted); font-size: 12.5px; }
.px-pie a:hover { color: var(--px-ink); }

/* =========================================================
   PÁGINAS DE SERVICIO (Rutinas / Alimentación)
   ========================================================= */
.sv-hero { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 30px; align-items: center; padding: clamp(30px, 6vw, 70px) 0 clamp(30px, 5vw, 56px); }
.sv-volver { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--px-ink-2); margin-bottom: 18px; }
.sv-volver:hover { color: var(--px-ink); }
.sv-hero .px-h1 { font-size: clamp(44px, 7vw, 108px); overflow-wrap: break-word; }
.sv-hero .px-rojo::after { display: none; }
.sv-precio { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 8px 14px 8px 8px; border-radius: 999px; border: 1px solid var(--px-line-2); font-size: 13px; color: var(--px-ink-2); opacity: 0; animation: px-aparece .9s .6s var(--px-ease) forwards; }
.sv-precio b { background: var(--px-red); color: #fff; padding: 5px 10px; border-radius: 999px; font-size: 13px; }
.sv-botones { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; opacity: 0; animation: px-aparece .9s .7s var(--px-ease) forwards; }
.sv-btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 999px;
  font-weight: 800; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; background: var(--px-red); color: #fff;
  box-shadow: 0 14px 34px -14px var(--px-red-glow); transition: transform .4s var(--px-ease), box-shadow .4s;
}
.sv-btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--px-ease); }
.sv-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px var(--px-red-glow); }
.sv-btn:hover::after { transform: translateX(120%); }
.sv-btn svg { width: 16px; height: 16px; }
.sv-btn.sec { background: transparent; border: 1px solid var(--px-line-2); box-shadow: none; }
.sv-btn.sec:hover { border-color: var(--px-ink-2); }
.sv-nota { width: 100%; margin: 4px 0 0; font-size: 13px; color: var(--px-muted); }
.sv-arte { position: relative; aspect-ratio: 1 / 1; max-width: 440px; justify-self: center; width: 100%; border-radius: 28px; border: 1px solid var(--px-line); background: var(--px-panel); display: grid; place-items: center; overflow: hidden; isolation: isolate; opacity: 0; animation: px-aparece 1.1s .35s var(--px-ease) forwards; }
.sv-arte .px-fondo { z-index: -1; }
.sv-arte .px-pulso { width: 76%; }
.sv-arte .px-anillos { width: 62%; height: auto; aspect-ratio: 1; }
.sv-arte .px-anillos .px-centro b { font-size: 40px; }
.sv-arte-borde { position: absolute; inset: -1px; border-radius: 28px; padding: 1px; background: conic-gradient(from var(--ang, 0deg), transparent 0 70%, var(--px-red) 85%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: sv-ang 6s linear infinite; pointer-events: none; }
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes sv-ang { to { --ang: 360deg; } }

.sv-seccion { position: relative; z-index: 1; padding: clamp(36px, 6vw, 70px) 0; border-top: 1px solid var(--px-line); }
.sv-tit { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 30px; margin-bottom: 26px; }
.sv-tit h2 { font-family: var(--px-display); font-weight: 400; text-transform: uppercase; font-size: clamp(34px, 5vw, 60px); line-height: .95; margin: 0; }
.sv-tit p { margin: 0; color: var(--px-muted); max-width: 420px; font-size: 14.5px; line-height: 1.55; }
.sv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sv-card {
  --mx: 50%; --my: 50%; position: relative; overflow: hidden; isolation: isolate; padding: 24px; border-radius: 18px;
  background: var(--px-panel); border: 1px solid var(--px-line); transition: transform .6s var(--px-ease), border-color .5s;
}
.sv-card::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s; background: radial-gradient(360px circle at var(--mx) var(--my), rgba(224, 13, 13, .18), transparent 50%); }
.sv-card:hover { transform: translateY(-4px); border-color: rgba(224, 13, 13, .45); }
.sv-card:hover::before { opacity: 1; }
.sv-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(224, 13, 13, .12); color: var(--px-red-2); margin-bottom: 18px; transition: transform .6s var(--px-ease), background .4s; }
.sv-card:hover .sv-ico { transform: rotate(-8deg) scale(1.08); background: var(--px-red); color: #fff; }
.sv-ico svg { width: 22px; height: 22px; }
.sv-card h3 { margin: 0 0 6px; font-size: 17px; font-weight: 800; letter-spacing: -.005em; }
.sv-card p { margin: 0; color: var(--px-ink-2); font-size: 14px; line-height: 1.55; }
.sv-card .sv-n { position: absolute; top: 18px; right: 20px; font-family: var(--px-mono); font-size: 11px; color: var(--px-muted); }

.sv-pasos { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: paso; }
.sv-linea { position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: var(--px-line); }
.sv-linea i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--px-red), var(--px-red-2)); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--px-ease); }
.sv-pasos.vis .sv-linea i { transform: scaleX(1); }
.sv-paso { position: relative; padding-top: 70px; }
.sv-paso::before {
  counter-increment: paso; content: counter(paso, decimal-leading-zero); position: absolute; top: 0; left: 0; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--px-bg); border: 1px solid var(--px-line-2); font-family: var(--px-display); font-size: 20px;
  transition: background .5s, border-color .5s;
}
.sv-pasos.vis .sv-paso::before { background: var(--px-red); border-color: var(--px-red); }
.sv-pasos.vis .sv-paso:nth-child(3)::before { transition-delay: .4s; }
.sv-pasos.vis .sv-paso:nth-child(4)::before { transition-delay: .9s; }
.sv-paso h3 { margin: 0 0 6px; font-size: 18px; font-weight: 800; }
.sv-paso p { margin: 0; color: var(--px-ink-2); font-size: 14px; line-height: 1.55; max-width: 320px; }

.sv-mas { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sv-enlace {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 28px; border-radius: 20px;
  border: 1px solid var(--px-line); background: var(--px-panel); transition: border-color .5s;
}
.sv-enlace:hover { border-color: rgba(224, 13, 13, .55); }
.sv-enlace small { display: block; font-family: var(--px-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--px-red-2); margin-bottom: 6px; }
.sv-enlace b { font-family: var(--px-display); font-weight: 400; text-transform: uppercase; font-size: clamp(26px, 3vw, 38px); line-height: 1; }
.sv-enlace .px-flecha { flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--px-line-2); display: grid; place-items: center; transition: background .4s, border-color .4s, transform .6s var(--px-ease); }
.sv-enlace .px-flecha svg { width: 18px; height: 18px; }
.sv-enlace:hover .px-flecha { background: var(--px-red); border-color: var(--px-red); transform: rotate(-45deg); }

@media (max-width: 900px) {
  .sv-hero { grid-template-columns: minmax(0, 1fr); }
  .sv-arte { max-width: 360px; }
  .sv-grid { grid-template-columns: 1fr 1fr; }
  .sv-pasos { grid-template-columns: 1fr; gap: 26px; }
  .sv-linea { left: 27px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .sv-linea i { transform: scaleY(0); transform-origin: top; }
  .sv-pasos.vis .sv-linea i { transform: scaleY(1); }
  .sv-paso { padding: 6px 0 0 80px; min-height: 56px; }
  .sv-mas { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .sv-grid { grid-template-columns: 1fr; } }

/* Aparecer al hacer scroll */
[data-rev] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--px-ease), transform .9s var(--px-ease); }
[data-rev].vis { opacity: 1; transform: none; }
.sv-grid [data-rev]:nth-child(3n+2) { transition-delay: .08s; }
.sv-grid [data-rev]:nth-child(3n+3) { transition-delay: .16s; }

/* Sin animaciones para quien lo pide en su sistema */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .px-panel { clip-path: none; }
  .px-h1 .px-l > span { transform: none; }
  .px-sub, .px-datos, .sv-precio, .sv-botones, .sv-arte { opacity: 1; }
  [data-rev] { opacity: 1; transform: none; }
  .px-grano { display: none; }
}

/* Precio promocional (oct 2026) */
.px-dato .px-promo { display: block; width: max-content; margin-top: 6px; font-style: normal; font-family: var(--px-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #fde68a; border: 1px solid rgba(251, 191, 36, .35); border-radius: 999px; padding: 3px 8px; }
.sv-precio { flex-wrap: wrap; }
.sv-promo { margin: 10px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--px-ink-2); opacity: 0; animation: px-aparece .9s .7s var(--px-ease) forwards; }
.sv-promo-tag { font-family: var(--px-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #fde68a; border: 1px solid rgba(251, 191, 36, .35); border-radius: 999px; padding: 4px 9px; }
@media (prefers-reduced-motion: reduce) { .sv-promo { opacity: 1; animation: none; } }
