/* Solo Poweroso — sistema visual v2 (inspirado en el ritmo comercial de pathedits.com)
   Producto recortado sobre bloques de color saturado, tipografía geométrica gruesa,
   barra de confianza, CTAs tipo píldora, comparativa de planes y cierre con CTA grande. */

@font-face { font-family: "Jakarta"; src: url("fonts/jakarta-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jakarta"; src: url("fonts/jakarta-latin-ext.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #0e0e12; --ink-2: #3a3a44; --muted: #6b6b78; --line: #e6e6ec; --soft: #f4f4f7; --white: #fff;
  --red: #e31c23; --red-2: #c3141a; --yellow: #ffc72c; --green: #12a150; --wa: #16a34a;
  --t-blue: #2f5bff; --t-purple: #7b4dff; --t-orange: #ff6a3d; --t-red: #ff2e3f; --t-yellow: #ffcf3a; --t-teal: #10b9a8; --t-pink: #ff4fa3;
  --r: 24px; --r-sm: 14px; --wrap: 1200px; --header-h: 72px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --shadow: 0 1px 2px rgba(14,14,18,.04), 0 10px 30px rgba(14,14,18,.06);
  --shadow-lg: 0 2px 6px rgba(14,14,18,.06), 0 30px 60px rgba(14,14,18,.12);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 50px); }
body { margin: 0; font: 400 1.0625rem/1.6 "Jakarta", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg, picture { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p a, li a, td a, address a, .answer a { color: var(--red); text-underline-offset: 3px; font-weight: 600; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--t-blue); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--ink); font-weight: 800; }
h1, .display { font-size: clamp(2.5rem, 1.3rem + 4.6vw, 4.75rem); line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem); line-height: 1.06; letter-spacing: -0.03em; }
h3, .h3 { font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.015em; font-weight: 750; }
.h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); line-height: 1.1; letter-spacing: -0.025em; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.125rem, 1rem + .45vw, 1.35rem); line-height: 1.5; color: var(--ink-2); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red); margin: 0 0 .9rem; }
.eyebrow.light { color: var(--yellow); }
.muted { color: var(--muted); } .small { font-size: .875rem; }
.hl { background: linear-gradient(transparent 62%, rgba(255,199,44,.75) 62%); padding: 0 .06em; }
.red { color: var(--red); }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 820px; }
.section { padding: clamp(64px, 8vw, 120px) 0; }
.section.alt { background: var(--soft); }
.section.dark { background: var(--ink); color: #fff; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.prose { max-width: 720px; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 700; background: var(--soft); }

/* ---------- Barra de confianza ---------- */
.trustbar { background: var(--ink); color: #fff; font-size: .8125rem; font-weight: 600; }
.trustbar ul { list-style: none; margin: 0 auto; padding: 9px 0; display: flex; justify-content: center; gap: 10px 34px; flex-wrap: wrap; }
.trustbar li { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.trustbar .i { width: 16px; height: 16px; color: var(--yellow); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-in { display: flex; align-items: center; gap: 18px; height: var(--header-h); }
.brand img { width: 132px; }
.nav { margin-left: auto; }
.nav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; font-size: .9375rem; font-weight: 650; text-decoration: none; color: var(--ink); background: none; border: 0; cursor: pointer; transition: background-color .15s; }
.nav-link:hover, .nav-link[aria-expanded="true"], .nav-link[aria-current="page"] { background: var(--soft); }
.has-menu { position: relative; }
.menu { position: absolute; top: calc(100% + 12px); left: 50%; width: 560px; padding: 12px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  transform-origin: top center; opacity: 0; visibility: hidden; transform: translate(-50%, -6px) scale(.98); transition: opacity .18s var(--ease), transform .22s var(--ease), visibility 0s .22s; }
.has-menu.open .menu { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition: opacity .18s var(--ease), transform .22s var(--ease), visibility 0s; }
.menu ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.menu li a { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 16px; text-decoration: none; }
.menu li a:hover { background: var(--soft); }
.menu .mi { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; overflow: hidden; }
.menu .mi img { max-height: 38px; width: auto; }
.menu .mi .i { color: #fff; }
.menu strong { display: block; font-size: .9375rem; font-weight: 750; }
.menu span.d { display: block; font-size: .8125rem; color: var(--muted); line-height: 1.3; }
.menu-all { display: block; margin-top: 6px; padding: 12px; border-radius: 14px; background: var(--soft); font-size: .875rem; font-weight: 700; text-decoration: none; text-align: center; }
.header-cta { display: flex; align-items: center; gap: 8px; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; color: var(--ink); text-decoration: none; transition: background-color .15s, transform .1s; }
.icon-btn:hover { background: var(--soft); }
.icon-btn:active { transform: scale(.94); }
.icon-btn.wa { color: var(--wa); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: var(--soft); border-radius: 999px; position: relative; cursor: pointer; }
.burger span:not(.sr-only) { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), top .25s var(--ease); }
.burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }
.drawer { border-top: 1px solid var(--line); padding: 12px 20px 24px; max-height: calc(100dvh - var(--header-h)); overflow: auto; background: #fff; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer > nav > ul > li > a { display: block; padding: 14px 4px; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; text-decoration: none; border-bottom: 1px solid var(--line); }
.drawer ul ul a { display: block; padding: 8px 14px; color: var(--ink-2); text-decoration: none; font-weight: 600; }
.drawer .btn { margin-top: 12px; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: 999px; border: 2px solid transparent; font-weight: 750; font-size: 1.0625rem; letter-spacing: -0.01em; text-decoration: none; cursor: pointer; transition: background-color .15s, box-shadow .2s, transform .12s var(--ease), color .15s; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: .9375rem; }
.btn-lg { min-height: 62px; padding: 0 36px; font-size: 1.125rem; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px rgba(227,28,35,.32); }
.btn-primary:hover { background: var(--red-2); transform: translateY(-2px); box-shadow: 0 16px 32px rgba(227,28,35,.38); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #26262e; transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-glass { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-glass:hover { background: #fff; color: var(--ink); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px rgba(22,163,74,.3); }
.btn-wa:hover { background: #128c3f; transform: translateY(-2px); }
.btn .i { width: 20px; height: 20px; }
.cta-arrow::after { content: "→"; margin-left: 4px; display: inline-block; transition: transform .2s var(--ease); }
.btn:hover .cta-arrow::after { transform: translateX(4px); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 750; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--ink); padding-bottom: 2px; }
.link-arrow .i { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover .i { transform: translateX(3px); }

/* ---------- Migas ---------- */
.crumbs { padding-top: 18px; font-size: .8125rem; color: var(--muted); font-weight: 600; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* ---------- Bloques de color (producto sobre fondo saturado) ---------- */
.tile { position: relative; border-radius: var(--r); display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.tile::before { content: ""; position: absolute; inset: auto -20% -40% -20%; height: 70%; background: radial-gradient(closest-side, rgba(255,255,255,.35), transparent); z-index: -1; }
.tile img { filter: drop-shadow(0 22px 22px rgba(0,0,0,.25)); }
.c-blue { background: var(--t-blue); } .c-purple { background: var(--t-purple); } .c-orange { background: var(--t-orange); }
.c-red { background: var(--t-red); } .c-yellow { background: var(--t-yellow); } .c-teal { background: var(--t-teal); } .c-pink { background: var(--t-pink); } .c-ink { background: var(--ink); }
.price-chip { position: absolute; left: 14px; bottom: 14px; padding: 7px 12px; border-radius: 999px; background: #fff; color: var(--ink); font-size: .8125rem; font-weight: 800; box-shadow: 0 6px 16px rgba(0,0,0,.15); }
.price-chip small { font-weight: 600; color: var(--muted); }

/* ---------- Hero ---------- */
.hero { padding: clamp(36px, 5vw, 72px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: .32em; }
.hero .lead { max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.checks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9375rem; font-weight: 650; color: var(--ink-2); }
.checks li { display: inline-flex; align-items: center; gap: 8px; }
.checks .i { width: 20px; height: 20px; color: #fff; background: var(--green); border-radius: 999px; padding: 3px; }
.hero-stage { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 1/1; }
.hero-stage .tile:first-child { grid-row: 1 / 3; }
.hero-stage .tile img { max-height: 78%; width: auto; }
.hero-stage .tile:first-child img { max-height: 70%; }
.hero-photo { position: relative; border-radius: var(--r); overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.float-badge { position: absolute; z-index: 2; right: -10px; top: 46%; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-lg); font-weight: 800; font-size: .9375rem; }
.float-badge .i { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--yellow); color: var(--ink); }
.float-badge small { display: block; font-weight: 600; color: var(--muted); font-size: .75rem; }

/* ---------- Páginas internas ---------- */
.page-hero { padding: clamp(28px, 4vw, 64px) 0 clamp(28px, 4vw, 48px); }
.page-hero .lead { max-width: 60ch; }
.answer-box { margin-top: 22px; padding: 20px 22px; border-radius: var(--r-sm); background: var(--soft); border-left: 5px solid var(--yellow); max-width: 780px; font-weight: 500; }
.answer-box p { margin: 0; }
.product-hero-media { border-radius: var(--r); aspect-ratio: 4/5; display: grid; place-items: center; }
.product-hero-media img { max-height: 82%; width: auto; filter: drop-shadow(0 30px 30px rgba(0,0,0,.25)); }

/* ---------- Columnas en movimiento (intro) ---------- */
.marquee-sec { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 28px; align-items: center; height: 640px; overflow: hidden; }
.marquee-col { height: 100%; overflow: hidden; mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: grid; gap: 16px; animation: up 32s linear infinite; }
.marquee-col.down .marquee-track { animation-name: down; }
.marquee-track .tile { aspect-ratio: 1/1.05; }
.marquee-track .tile img { max-height: 76%; width: auto; }
.marquee-sec:hover .marquee-track { animation-play-state: paused; }
@keyframes up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes down { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.marquee-center { text-align: center; }
.marquee-center .big-price { display: inline-block; margin-top: 12px; padding: 10px 18px; border-radius: 999px; background: var(--yellow); font-weight: 800; }

/* ---------- Tarjetas ---------- */
.card { --pad: 30px; background: #fff; border-radius: var(--r); padding: var(--pad); box-shadow: var(--shadow); border: 1px solid var(--line); }
.section.alt .card { box-shadow: none; }
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }
.card .i-lg { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: var(--ink); color: #fff; margin-bottom: 16px; }
.card .i-lg .i { width: 26px; height: 26px; }
.card-link { display: block; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.show-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.show-card { display: flex; flex-direction: column; text-decoration: none; }
.show-card .tile { aspect-ratio: 1/1; margin-bottom: 16px; transition: transform .3s var(--ease); }
.show-card:hover .tile { transform: translateY(-4px) rotate(-1deg); }
.show-card .tile img { max-height: 76%; width: auto; transition: transform .35s var(--ease); }
.show-card:hover .tile img { transform: scale(1.05); }
.show-card h3 { font-size: 1.125rem; margin-bottom: 2px; }
.show-card .from { color: var(--muted); font-size: .9375rem; margin-bottom: 14px; }
.show-card .from b { color: var(--ink); }
.show-card .btn { margin-top: auto; align-self: flex-start; }

.product-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 350px), 1fr)); }
.product-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.product-media { height: 280px; border-radius: 0; }
.product-media img { max-height: 230px; width: auto; }
.product-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 a { text-decoration: none; }
.product-body .eyebrow { color: var(--muted); letter-spacing: .03em; }
.price { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; margin: .2em 0 .1em; }
.price .from, .price .per { font-size: .875rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.min { font-size: .8125rem; color: var(--muted); font-weight: 600; margin-bottom: .8em; }
table.tiers { width: 100%; border-collapse: collapse; font-size: .875rem; margin-bottom: 16px; font-variant-numeric: tabular-nums; }
.tiers th { text-align: left; font-weight: 700; color: var(--muted); font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; padding: 6px 0; border-bottom: 1px solid var(--line); }
.tiers td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.tiers td:nth-child(2), .tiers th:nth-child(2), .tiers td:nth-child(3), .tiers th:nth-child(3) { text-align: right; }
.tiers tr.on td { font-weight: 800; color: var(--red); }
.qty { margin-top: auto; }
.qty label { display: block; font-size: .8125rem; font-weight: 700; margin-bottom: 6px; }
.stepper { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; }
.stepper button { width: 46px; height: 44px; border: 0; background: #fff; font-size: 1.25rem; font-weight: 700; cursor: pointer; }
.stepper button:active { background: var(--soft); }
.stepper input { width: 74px; height: 44px; border: 0; text-align: center; font-weight: 800; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc { display: block; min-height: 2.6em; margin: 10px 0 12px; font-size: .875rem; color: var(--ink-2); }
.calc strong { color: var(--ink); }
.calc .nudge { display: block; color: var(--green); font-weight: 700; }
.card-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.card-actions .btn { flex: 1 1 auto; }

/* ---------- Fila de beneficios ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.feature .fi { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 18px; color: #fff; }
.feature .fi .i { width: 28px; height: 28px; }
.feature h3 { font-size: 1.15rem; }
.feature p { color: var(--muted); margin: 0; }

/* ---------- Promo tarima ---------- */
.pallet-feature { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 64px); align-items: center; background: var(--ink); color: #fff; border-radius: 32px; padding: clamp(28px, 5vw, 72px); overflow: hidden; position: relative; }
.pallet-feature::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(255,199,44,.35), transparent 70%); }
.pallet-feature h2 { color: #fff; }
.pallet-feature p { color: rgba(255,255,255,.78); }
.pallet-feature .eyebrow { color: var(--yellow); }
.pallet-list { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.pallet-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.pallet-list .i { flex: none; width: 22px; height: 22px; color: var(--ink); background: var(--yellow); border-radius: 999px; padding: 4px; margin-top: 2px; }
.pallet-visual { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; position: relative; z-index: 1; }
.pallet-visual .tile { aspect-ratio: 1/1.1; border-radius: 18px; }
.pallet-visual img { max-height: 76%; width: auto; }
.pallet-base { grid-column: 1 / -1; height: 20px; border-radius: 6px; background: repeating-linear-gradient(90deg, #c49a62 0 22%, transparent 22% 26%); }

/* ---------- Audiencias ---------- */
.aud-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.aud-card { position: relative; border-radius: var(--r); padding: 28px; min-height: 340px; color: #fff; text-decoration: none; display: flex; flex-direction: column; overflow: hidden; transition: transform .25s var(--ease); }
.aud-card:hover { transform: translateY(-4px); }
.aud-card h3 { color: #fff; font-size: 1.6rem; letter-spacing: -0.025em; }
.aud-card p { color: rgba(255,255,255,.88); max-width: 24ch; }
.aud-card img { position: absolute; right: 12px; bottom: -16px; max-height: 64%; width: auto; filter: drop-shadow(0 18px 18px rgba(0,0,0,.25)); transition: transform .35s var(--ease); }
.aud-card:hover img { transform: translateY(-6px) rotate(-3deg); }
.aud-card .go { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; position: relative; z-index: 1; }
.aud-card.c-yellow, .aud-card.c-yellow h3 { color: var(--ink); }
.aud-card.c-yellow p { color: var(--ink-2); }

/* ---------- Comparativa de planes ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { border-radius: var(--r); border: 2px solid var(--line); background: #fff; padding: 30px; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--ink); background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); position: relative; }
.plan.featured h3, .plan.featured .plan-price { color: #fff; }
.plan .tag { align-self: flex-start; margin-bottom: 14px; }
.plan h3 { font-size: 1.4rem; }
.plan-price { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.plan-sub { font-size: .875rem; color: var(--muted); margin-bottom: 20px; }
.plan.featured .plan-sub { color: rgba(255,255,255,.7); }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; font-size: .9375rem; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li .yes, .plan li .no { flex: none; width: 22px; height: 22px; border-radius: 999px; display: grid; place-items: center; font-size: .75rem; font-weight: 800; }
.plan li .yes { background: var(--green); color: #fff; }
.plan li .no { background: var(--soft); color: var(--muted); }
.plan.featured li .no { background: rgba(255,255,255,.12); color: rgba(255,255,255,.6); }
.plan .btn { margin-top: auto; }
.tag { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; background: var(--yellow); color: var(--ink); }
.tag.red { background: var(--red); color: #fff; }
.tag.gray { background: var(--soft); color: var(--ink-2); }

.modes { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .9375rem; background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.modes th, .modes td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.modes thead th { background: var(--soft); font-size: .75rem; color: var(--muted); font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.modes tr.featured td { background: #fff8e1; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r); }

/* ---------- Pasos / estadísticas ---------- */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.steps li { counter-increment: s; background: #fff; border-radius: var(--r); padding: 24px; border: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; color: var(--red); margin-bottom: 10px; }
.steps strong { display: block; margin-bottom: 4px; font-size: 1.05rem; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.stat { padding: 24px; border-radius: var(--r); background: var(--soft); }
.stat b { display: block; font-size: 2.5rem; letter-spacing: -0.04em; line-height: 1; margin-bottom: 6px; font-weight: 800; }
.stat:nth-child(2) { background: var(--t-yellow); } .stat:nth-child(3) { background: var(--t-orange); color: #fff; } .stat:nth-child(4) { background: var(--ink); color: #fff; }
.stat span { font-size: .875rem; font-weight: 600; opacity: .85; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 1.125rem; font-weight: 750; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 999px; background: var(--soft); display: grid; place-items: center; font-size: 1.25rem; font-weight: 700; transition: transform .2s var(--ease), background-color .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--yellow); }
.faq .answer { padding: 0 0 22px; color: var(--ink-2); }

/* ---------- Formularios ---------- */
.form-card { background: #fff; border-radius: var(--r); padding: clamp(22px, 3vw, 38px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .875rem; font-weight: 700; margin-bottom: 6px; }
.field .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 13px 16px; border: 2px solid var(--line); border-radius: 14px; background: #fff; font-size: 1rem; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(14,14,18,.08); }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: var(--red); }
.field .hint { font-size: .8125rem; color: var(--muted); margin-top: 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .875rem; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--red); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 14px; font-weight: 600; }
.form-status.ok { display: block; background: #e8f8ee; color: #0b5a2f; }
.form-status.bad { display: block; background: #ffeceb; color: #8e0d12; }
.form-success { text-align: center; padding: 24px 8px; }
.form-success .i { width: 64px; height: 64px; margin: 0 auto 12px; color: #fff; background: var(--green); border-radius: 999px; padding: 14px; }
.seg { display: inline-flex; padding: 5px; background: var(--soft); border-radius: 999px; gap: 4px; flex-wrap: wrap; margin-bottom: 22px; }
.seg a { padding: 9px 18px; border-radius: 999px; text-decoration: none; font-size: .9375rem; font-weight: 700; color: var(--ink-2); }
.seg a[aria-current="page"] { background: var(--ink); color: #fff; }
.cart-list { list-style: none; padding: 0; margin: 0 0 12px; }
.cart-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.cart-list button { border: 0; background: none; color: var(--red); cursor: pointer; font-size: .8125rem; font-weight: 700; }
.cart-totals { font-size: .9375rem; font-variant-numeric: tabular-nums; }
.cart-totals div { display: flex; justify-content: space-between; padding: 3px 0; }
.cart-totals .t { font-weight: 800; font-size: 1.125rem; }

/* ---------- CTA final ---------- */
.cta-band { padding: clamp(24px, 4vw, 48px) 0 clamp(56px, 7vw, 96px); }
.cta-box { position: relative; overflow: hidden; border-radius: 36px; background: var(--red); color: #fff; padding: clamp(36px, 6vw, 84px); display: grid; grid-template-columns: 1.3fr .7fr; gap: 28px; align-items: center; }
.cta-box h2 { color: #fff; font-size: clamp(2.25rem, 1.4rem + 3vw, 4rem); }
.cta-box p { color: rgba(255,255,255,.9); max-width: 46ch; }
.cta-box .eyebrow { color: var(--yellow); }
.cta-box .ribbon { position: absolute; left: -10%; right: -10%; bottom: 26px; height: 46px; background: var(--yellow); transform: rotate(-4deg); display: flex; align-items: center; gap: 40px; white-space: nowrap; color: var(--ink); font-weight: 800; letter-spacing: .02em; text-transform: uppercase; font-size: .875rem; overflow: hidden; }
.cta-box .ribbon span { animation: ribbon 26s linear infinite; }
@keyframes ribbon { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.cta-box .cta-products { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 6px; margin-bottom: 40px; }
.cta-box .cta-products img { max-height: 210px; width: auto; filter: drop-shadow(0 20px 20px rgba(0,0,0,.25)); }
.cta-box .cta-products img:nth-child(2) { max-height: 250px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; padding-bottom: 46px; }
.cta-box .btn-primary { background: #fff; color: var(--ink); box-shadow: 0 12px 26px rgba(0,0,0,.18); }
.cta-box .btn-primary:hover { background: var(--yellow); }

/* ---------- Bandeja de cotización / WhatsApp ---------- */
.quote-tray { position: fixed; right: 22px; bottom: 92px; z-index: 40; display: none; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); font-size: .9375rem; font-weight: 700; }
.quote-tray.show { display: flex; }
.wa-fab { position: fixed; right: 22px; bottom: 22px; z-index: 39; display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 22px 0 18px; border-radius: 999px; background: var(--wa); color: #fff; text-decoration: none; font-weight: 750; box-shadow: 0 12px 30px rgba(22,163,74,.38); transition: transform .2s var(--ease); }
.wa-fab .i { width: 26px; height: 26px; }
.wa-fab:hover { transform: translateY(-2px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 72px 0 30px; font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 36px; }
.footer-brand img { width: 150px; margin-bottom: 16px; background: #fff; border-radius: 12px; padding: 8px 10px; }
.site-footer h2 { font-size: .8125rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer nav a { text-decoration: none; color: rgba(255,255,255,.75); }
.site-footer nav a:hover { color: #fff; }
.site-footer address { font-style: normal; line-height: 1.75; }
.site-footer address a { color: var(--yellow); }
.footer-legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 18px; color: rgba(255,255,255,.5); font-size: .8125rem; }

/* ---------- Varios ---------- */
.inline-cta { margin: 32px 0; padding: 26px; border-radius: var(--r); background: var(--t-yellow); display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.inline-cta p { margin: 0; font-weight: 800; font-size: 1.125rem; }
.toc { padding: 18px 22px; background: var(--soft); border-radius: var(--r-sm); margin-bottom: 28px; font-size: .9375rem; }
.toc ol { margin: 6px 0 0; padding-left: 1.2em; }
.article-meta { font-size: .875rem; color: var(--muted); margin-bottom: 24px; font-weight: 600; }
.map-frame { width: 100%; aspect-ratio: 4/3; border: 0; border-radius: var(--r); background: var(--soft); }
.nap { font-style: normal; line-height: 1.75; }
.mobile-bar { display: none; }
[data-quote-layout] { grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); gap: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: inline-block; }
  .header-cta { margin-left: auto; }
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-grid, .pallet-feature, .cta-box { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .marquee-sec { grid-template-columns: 1fr; height: auto; }
  .marquee-col { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  [data-quote-layout] { grid-template-columns: 1fr !important; }
  .cta-box .cta-products { display: none; }
}
@media (max-width: 640px) {
  :root { --header-h: 62px; }
  body { font-size: 1rem; padding-bottom: 76px; }
  .trustbar ul { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-inline: 20px; scrollbar-width: none; }
  .brand img { width: 112px; }
  .hide-sm { display: none !important; }
  .hero { padding-top: 22px; }
  .hero-stage { aspect-ratio: 5/4; }
  .float-badge { right: 8px; top: auto; bottom: 10px; font-size: .8125rem; padding: 9px 12px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .card { --pad: 22px; }
  .aud-card { min-height: 280px; }
  .wa-fab { display: none; }
  .quote-tray { left: 12px; right: 12px; bottom: 84px; justify-content: space-between; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-top: 1px solid var(--line); }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 54px; border-radius: 16px; font-size: .75rem; font-weight: 750; text-decoration: none; color: var(--ink); background: var(--soft); }
  .mobile-bar a:first-child { color: #fff; background: var(--wa); }
  .mobile-bar a.primary { background: var(--red); color: #fff; }
}

/* ---------- Accesibilidad ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee-track { transform: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header, .mobile-bar { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --muted: #3a3a44; --line: #8a8a96; }
  .btn-primary { background: #b30f15; box-shadow: none; }
}
@media print { .site-header, .trustbar, .site-footer, .mobile-bar, .cta-band, .quote-tray, .wa-fab { display: none !important; } }

/* El <picture> no debe romper la restricción de altura del bloque de color */
.tile picture, .aud-card picture, .cta-products picture { display: contents; }
.tile img { max-height: 78%; max-width: 80%; width: auto; height: auto; object-fit: contain; }
.hero-photo { padding: 0; }
.hero-photo img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; filter: none; }
.hero-stage .tile:not(.hero-photo) img { max-height: 72%; }
.product-media.tile img { max-height: 82%; }
.product-hero-media.tile img { max-height: 80%; }
/* Producto centrado dentro del bloque sin depender de alturas de grid */
.tile img { position: absolute; inset: 0; margin: auto; }
.hero-photo img { inset: 0; margin: 0; }
.show-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.aud-card picture img { position: absolute; }
.hero-stage .tile.hero-photo:first-child img { max-height: none; max-width: none; width: 100%; height: 100%; }
@media (max-width: 640px) {
  .show-grid { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .show-card h3 { font-size: .95rem; line-height: 1.25; }
  .show-card .from { font-size: .8125rem; }
  .show-card .btn { min-height: 40px; padding: 0 14px; font-size: .8125rem; }
  .price-chip { left: 8px; bottom: 8px; font-size: .7rem; padding: 5px 9px; }
}

/* ================= CTA de alto impacto ================= */
.btn-primary { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(135deg, #ff3a2f 0%, #e31c23 45%, #b80d16 100%); color: #fff; font-weight: 800; letter-spacing: -0.01em;
  box-shadow: 0 0 0 0 rgba(227,28,35,.55), 0 14px 30px rgba(227,28,35,.42), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-primary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%); transform: translateX(-120%); animation: cta-shine 3.6s var(--ease) infinite; }
.btn-primary:hover { background: linear-gradient(135deg, #ff4a3f 0%, #e31c23 50%, #a10b13 100%); transform: translateY(-3px) scale(1.02); box-shadow: 0 0 0 4px rgba(255,199,44,.85), 0 20px 40px rgba(227,28,35,.5); }
.btn-primary:active { transform: scale(.97); }
.btn-pulse { animation: cta-pulse 2.2s ease-out infinite; }
.btn-primary .cta-arrow::after { content: "→"; display: inline-grid; place-items: center; width: 28px; height: 28px; margin-left: 10px; border-radius: 999px; background: #fff; color: var(--red); font-weight: 900; }
.btn-sm.btn-primary .cta-arrow::after { width: 22px; height: 22px; margin-left: 8px; font-size: .8rem; }
.cta-box .btn-primary { background: linear-gradient(135deg, #fff 0%, #fff4cc 100%); color: var(--ink); }
.cta-box .btn-primary .cta-arrow::after { background: var(--red); color: #fff; }
@keyframes cta-shine { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
@keyframes cta-pulse { 0% { box-shadow: 0 0 0 0 rgba(227,28,35,.55), 0 14px 30px rgba(227,28,35,.42); } 70% { box-shadow: 0 0 0 16px rgba(227,28,35,0), 0 14px 30px rgba(227,28,35,.42); } 100% { box-shadow: 0 0 0 0 rgba(227,28,35,0), 0 14px 30px rgba(227,28,35,.42); } }
.btn-ghost { border-width: 3px; }
.cta-note { display: flex; align-items: center; gap: 8px; margin-top: -8px; margin-bottom: 18px; font-size: .875rem; font-weight: 700; color: var(--ink-2); }
.cta-note .dot { width: 9px; height: 9px; border-radius: 999px; background: var(--green); box-shadow: 0 0 0 0 rgba(18,161,80,.6); animation: dot 1.8s infinite; }
@keyframes dot { 70% { box-shadow: 0 0 0 8px rgba(18,161,80,0); } 100% { box-shadow: 0 0 0 0 rgba(18,161,80,0); } }

/* Barra fija de cotización (escritorio) que aparece al bajar */
.sticky-cta { position: fixed; left: 50%; bottom: 20px; z-index: 44; display: flex; align-items: center; gap: 18px; padding: 10px 10px 10px 22px; border-radius: 999px; background: rgba(14,14,18,.94); color: #fff; box-shadow: 0 20px 50px rgba(0,0,0,.3); font-weight: 700; font-size: .9375rem;
  transform: translate(-50%, 140%); opacity: 0; transition: transform .45s var(--ease), opacity .3s; }
.sticky-cta.show { transform: translate(-50%, 0); opacity: 1; }
.sticky-cta .small-muted { color: rgba(255,255,255,.65); font-weight: 600; }
.sticky-cta .btn { min-height: 48px; }
body:has(.sticky-cta.show) .wa-fab { bottom: 96px; }
@media (max-width: 900px) { .sticky-cta { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .btn-primary::before, .btn-pulse, .cta-note .dot { animation: none !important; }
  .sticky-cta { transition: opacity .2s; transform: translate(-50%, 0); }
}
.btn, .sticky-cta { white-space: nowrap; }
.sticky-cta > span { overflow: hidden; text-overflow: ellipsis; }
