/* =============================================================
   Veredicto IA — hoja de estilos única
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  color-scheme: dark;
  /* Paleta de VEXUM (vexum.site) */
  --paper: #06080C;
  --paper-2: #0A0E15;
  --card: #0E131C;
  --ink: #F2F5FA;
  --ink-2: #C8CFDC;
  --ink-3: #9AA3B5;
  --dim: #5D6678;
  --rule: rgba(120, 160, 255, .14);
  --rule-2: rgba(120, 160, 255, .28);
  --accent: #2F6BFF;
  --accent-2: #5B8CFF;
  --accent-ink: #ffffff;
  --cyan: #3FD0FF;
  --win: #3FD0FF;
  --win-ink: #06080C;
  --good: #36D399;
  --bad: #FF6B81;

  --serif: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1180px;
  --read: 720px;
  --radius: 16px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1100px 620px at 85% -8%, rgba(47, 107, 255, .16), transparent 60%),
    radial-gradient(760px 520px at -10% 28%, rgba(63, 208, 255, .07), transparent 60%),
    var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.04; letter-spacing: -0.03em; font-family: var(--serif); font-weight: 800; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; background: var(--ink); color: var(--paper);
  border-radius: 8px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.read { max-width: var(--read); margin-inline: auto; }
.eyebrow {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow b { color: var(--good); font-weight: 600; }
.pill { display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--rule-2); background: rgba(10, 14, 21, .55); color: var(--cyan); letter-spacing: .04em; text-transform: none; font-size: .8rem; }
.pill b { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px rgba(54, 211, 153, .18); font-size: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* =============================================================
   4. Components
   ============================================================= */

/* --- Header / nav --- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--sans); font-size: 15px; font-weight: 800; letter-spacing: .14em; color: var(--ink); }
.logo-mark { width: 26px; height: 26px; flex: none; }
.logo em { font-style: normal; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; color: var(--cyan); padding: 2px 7px; border: 1px solid var(--rule-2); border-radius: 6px; }
.nav-links { display: none; gap: 1.6rem; list-style: none; padding: 0; }
.nav-links a { text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--ink-2); transition: color .25s var(--ease-out); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; content: "";
  transition: transform .3s var(--ease-out), opacity .2s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav {
  display: none; border-top: 1px solid var(--rule); background: var(--paper);
}
.nav-open .mobile-nav { display: block; }
.mobile-nav ul { list-style: none; padding: .5rem var(--gutter) 1.2rem; }
.mobile-nav a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--rule); text-decoration: none; font-weight: 600; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.3rem; border-radius: 999px;
  font-weight: 700; font-size: .95rem; text-decoration: none; line-height: 1;
  transition: transform .3s var(--ease-out), background .25s, box-shadow .3s var(--ease-out);
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 30px -8px rgba(47, 107, 255, .65); }
.btn-primary:hover { transform: translateY(-2px); background: var(--accent-2); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 10px 30px -8px rgba(47, 107, 255, .65); }
.btn-accent:hover { transform: translateY(-2px); background: var(--accent-2); }
.btn-ghost { border: 1px solid var(--rule-2); background: rgba(10, 14, 21, .55); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--accent-2); transform: translateY(-2px); }
.btn .arrow { transition: transform .3s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

/* --- Tool monogram --- */
.mono-badge {
  display: inline-grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 12px;
  font-family: var(--mono); font-weight: 700; font-size: 1rem; color: #fff;
  background: var(--c, var(--ink));
}

/* --- Logos de las marcas recomendadas --- */
.brand-logo { width: 48px; height: 48px; flex: none; border-radius: 12px; object-fit: contain; box-shadow: 0 8px 22px -10px rgba(0, 0, 0, .7); }
.brand-logo--tile { padding: 8px; background: #fff; }
.feature .brand-logo { width: 54px; height: 54px; }

/* --- Score --- */
.score {
  display: inline-flex; align-items: baseline; gap: .2rem;
  font-family: var(--mono); font-weight: 700; font-size: 1.05rem;
}
.score small { font-size: .72rem; color: var(--ink-3); font-weight: 500; }
.score-bar { height: 6px; border-radius: 6px; background: var(--paper-2); overflow: hidden; margin-top: .4rem; }
.score-bar i { display: block; height: 100%; width: calc(var(--s, 0) * 10%); background: var(--accent); border-radius: inherit; transform-origin: left; }

/* --- Tags --- */
.tag {
  display: inline-block; padding: .25rem .6rem; border-radius: 999px;
  font-family: var(--mono); font-size: .7rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  border: 1px solid var(--rule); color: var(--ink-2);
}
.tag-win { background: var(--win); color: var(--win-ink); border-color: transparent; }

/* --- Disclosure --- */
.disclosure {
  position: relative;
  padding: .9rem 1.1rem .9rem 3rem; border-radius: var(--radius);
  background: var(--paper-2); color: var(--ink-2); font-size: .88rem; line-height: 1.5;
}
.disclosure::before { content: "i"; position: absolute; left: 1rem; top: .95rem; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: var(--serif); font-style: italic; font-weight: 700; font-size: .85rem; }
.disclosure a { font-weight: 600; }

/* =============================================================
   5. Home sections
   ============================================================= */
.hero { padding: clamp(3rem, 9vw, 7rem) 0 clamp(2.5rem, 6vw, 4.5rem); border-bottom: 1px solid var(--rule); }
.hero h1 { font-size: clamp(2.8rem, 7.4vw, 6.2rem); font-weight: 800; line-height: .96; letter-spacing: -.035em; margin: 1.3rem 0 1.4rem; max-width: 14ch; }
.hero h1 em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px var(--ink-3); }
.hero h1 .strike { position: relative; white-space: nowrap; }
.hero h1 .strike::after {
  content: ""; position: absolute; left: -2%; right: -2%; top: 55%; height: .09em;
  background: var(--ink); transform: rotate(-3deg) scaleX(0); transform-origin: left;
  animation: strike 0.9s .5s var(--ease-out) forwards;
}
@keyframes strike { to { transform: rotate(-3deg) scaleX(1); } }
.hero-lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-3); max-width: 56ch; }
.hero-lede strong { color: var(--ink); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  margin-top: clamp(2.5rem, 6vw, 4rem); padding-top: 1.4rem; border-top: 1px solid var(--rule);
}
.hero-stats dt { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1; }
.hero-stats dd { margin-top: .4rem; font-size: .85rem; color: var(--ink-3); }

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section + .section { border-top: 1px solid var(--rule); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2.2rem; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }

/* Featured comparisons */
.features { display: grid; gap: 1.2rem; }
.feature {
  position: relative; display: flex; flex-direction: column; gap: 1rem;
  padding: 1.6rem; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--rule); text-decoration: none;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s;
}
.feature:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(47, 107, 255, .55); border-color: var(--rule-2); }
.feature h3 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.feature p { color: var(--ink-2); font-size: .97rem; }
.feature-tools { display: flex; gap: .35rem; margin-top: auto; padding-top: .6rem; }
.feature-tools .mono-badge { width: 34px; height: 34px; font-size: .78rem; border-radius: 9px; }
.feature-meta { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; color: var(--ink-3); }
.feature-meta .go { font-weight: 700; color: var(--accent-2); }
.feature--lead { background: linear-gradient(160deg, #10204A 0%, #0B1222 55%, #0A0E15 100%); color: var(--ink); border-color: var(--rule-2); }
.feature--lead p, .feature--lead .feature-meta { color: var(--ink-3); }
.feature--lead .feature-meta .go { color: var(--cyan); }

/* Categories */
.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.cat { background: var(--paper); padding: 1.4rem 1.2rem; display: flex; flex-direction: column; gap: .3rem; text-decoration: none; transition: background .3s; min-height: 140px; }
a.cat:hover { background: var(--card); }
.cat-num { font-family: var(--mono); font-size: .75rem; color: var(--ink-3); }
.cat h3 { font-size: 1.3rem; margin-top: auto; }
.cat p { font-size: .85rem; color: var(--ink-3); }
.cat .soon { color: var(--accent); font-weight: 600; }

/* Method */
.method { display: grid; gap: 2rem; }
.method h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.method-list { list-style: none; padding: 0; counter-reset: m; display: grid; gap: 1.4rem; }
.method-list li { counter-increment: m; display: grid; grid-template-columns: 3rem 1fr; gap: .8rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--rule); }
.method-list li::before { content: "0" counter(m); font-family: var(--mono); font-size: .9rem; color: var(--cyan); font-weight: 700; padding-top: .2rem; }
.method-list h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; letter-spacing: 0; margin-bottom: .25rem; }
.method-list p { color: var(--ink-2); font-size: .95rem; }

/* Banner */
.banner {
  display: grid; gap: 1.4rem; padding: clamp(2rem, 5vw, 3.5rem); border-radius: calc(var(--radius) * 1.5);
  background: linear-gradient(135deg, #2F6BFF 0%, #1F4FD6 55%, #1B3FA8 100%); color: #fff;
  box-shadow: 0 30px 70px -30px rgba(47, 107, 255, .7);
}
.banner h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
.banner p { max-width: 52ch; opacity: .9; }
.banner .btn-primary { background: #fff; color: #06080C; box-shadow: none; }
.banner .btn-primary:hover { background: var(--ink); }

/* --- Footer --- */
.site-footer { margin-top: clamp(3rem, 8vw, 6rem); padding: 3rem 0 2rem; background: var(--paper-2); color: var(--ink); border-top: 1px solid var(--rule); }
.footer-grid { display: grid; gap: 2rem; }
.footer-grid h4 { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; opacity: .6; margin-bottom: .8rem; }
.footer-grid ul { list-style: none; padding: 0; display: grid; gap: .45rem; }
.footer-grid a { text-decoration: none; opacity: .85; font-size: .95rem; }
.footer-grid a:hover { opacity: 1; text-decoration: underline; }
.footer-about { font-size: .92rem; opacity: .75; max-width: 40ch; margin-top: .8rem; }
.footer-legal { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid var(--rule); font-size: .8rem; opacity: .65; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }

/* =============================================================
   6. Article pages
   ============================================================= */
.crumbs { font-size: .82rem; color: var(--ink-3); padding-top: 1.6rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-hidden] { margin: 0 .4rem; }

.article-head { padding: 1.6rem 0 2.2rem; }
.article-head h1 { font-size: clamp(2.2rem, 5.6vw, 4rem); font-weight: 800; line-height: 1; margin: 1rem 0 1.2rem; }
.article-head h1 em { font-style: normal; background: linear-gradient(90deg, var(--accent-2), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.article-dek { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-2); }
.byline { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: 1.4rem 0; font-size: .85rem; color: var(--ink-3); }
.byline strong { color: var(--ink); }

/* Quick verdict */
.verdict {
  border: 1.5px solid var(--ink); border-radius: var(--radius); overflow: hidden; margin: 2rem 0;
  background: var(--card);
}
.verdict-head { background: var(--ink); color: var(--paper); padding: .8rem 1.2rem; font-family: var(--mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.verdict-row { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; align-items: center; padding: 1.1rem 1.2rem; border-top: 1px solid var(--rule); }
.verdict-row:first-of-type { border-top: 0; }
.verdict-row .who { font-size: .82rem; color: var(--ink-3); grid-column: 2; }
.verdict-row h3 { font-family: var(--sans); font-size: 1.08rem; font-weight: 700; letter-spacing: 0; grid-column: 2; }
.verdict-row .mono-badge { grid-row: span 2; }
.verdict-row .btn { grid-column: 1 / -1; justify-self: start; padding: .65rem 1rem; font-size: .88rem; }

/* Comparison table */
.table-scroll { overflow-x: auto; margin: 2rem 0; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--card); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .9rem; }
.compare th, .compare td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.compare thead th { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; background: var(--paper-2); }
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: 0; }
.compare th[scope="row"] { font-weight: 700; }
.compare .yes { color: var(--good); font-weight: 700; }
.compare .no { color: var(--bad); font-weight: 700; }
.compare .tool-cell { display: flex; align-items: center; gap: .6rem; }
.compare .tool-cell .mono-badge { width: 30px; height: 30px; font-size: .7rem; border-radius: 8px; }
.compare a.btn { padding: .5rem .8rem; font-size: .8rem; white-space: nowrap; }

/* Prose */
.prose { font-size: 1.06rem; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-top: 3.2rem; }
.prose h3 { font-size: 1.35rem; margin-top: 2rem; }
.prose a { text-decoration-color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li + li { margin-top: .4rem; }
.prose strong { font-weight: 700; }
.prose blockquote { border-left: 3px solid var(--cyan); padding: .3rem 0 .3rem 1.2rem; font-size: 1.15rem; font-weight: 600; color: var(--ink-2); }

/* Table of contents */
.toc { padding: 1.2rem 1.4rem; border-radius: var(--radius); background: var(--paper-2); margin: 2rem 0; }
.toc h2 { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: var(--ink-3); margin: 0 0 .7rem !important; }
.toc ol { padding-left: 1.2rem; display: grid; gap: .3rem; font-size: .95rem; }
.toc a { text-decoration: none; }
.toc a:hover { color: var(--accent); }

/* Tool review card */
.review {
  margin: 2.6rem 0 !important; padding: clamp(1.3rem, 3vw, 2rem); border-radius: var(--radius);
  background: rgba(14, 19, 28, .86); border: 1px solid var(--rule-2);
  box-shadow: 0 30px 60px -40px rgba(47, 107, 255, .45);
}
.review-head { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.review-head h3 { margin: 0 !important; font-size: clamp(1.5rem, 3vw, 2rem); }
.review-head .rank { font-family: var(--mono); font-size: .8rem; color: var(--ink-3); }
.review-head .score-wrap { margin-left: auto; min-width: 120px; }
.review-best { margin-top: .8rem !important; font-size: .95rem; color: var(--ink-2); }
.review-best strong { color: var(--ink); }
.review > p + p { margin-top: .8rem; }
.pros-cons { display: grid; gap: 1rem; margin-top: 1.4rem !important; }
.pros-only ul { column-gap: 2rem; }
@media (min-width: 720px) {
  .pros-cons.pros-only { grid-template-columns: 1fr; }
  .pros-cons.pros-only ul { display: block; columns: 2; }
  .pros-only li { break-inside: avoid; margin-bottom: .45rem; }
}
.pros-cons h4 { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; margin-bottom: .5rem; }
.pros h4 { color: var(--good); }
.cons h4 { color: var(--bad); }
.pros-cons ul { list-style: none; padding: 0; display: grid; gap: .45rem; font-size: .94rem; }
.pros li::before, .cons li::before { font-family: var(--mono); font-weight: 700; margin-right: .5rem; }
.pros li::before { content: "+"; color: var(--good); }
.cons li::before { content: "–"; color: var(--bad); }
.review-foot { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; justify-content: space-between; margin-top: 1.6rem !important; padding-top: 1.2rem; border-top: 1px solid var(--rule); }
.review-foot .price { font-size: .9rem; color: var(--ink-2); }
.review-foot .price strong { color: var(--ink); }

/* FAQ */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2.2rem 1.1rem 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .2rem; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 1.3rem; color: var(--cyan); transition: transform .3s var(--ease-out); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding-bottom: 1.2rem; color: var(--ink-2); }

/* Related */
.related { display: grid; gap: 1rem; margin-top: 1.4rem; }
.related a { display: block; padding: 1.1rem 1.2rem; border: 1px solid var(--rule); border-radius: var(--radius); text-decoration: none; transition: border-color .3s, transform .3s var(--ease-out); }
.related a:hover { border-color: var(--rule-2); transform: translateY(-2px); }
.related strong { display: block; font-family: var(--serif); font-size: 1.15rem; font-weight: 700; margin-top: .2rem; }

/* Reading progress */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--cyan)); transform-origin: left; transform: scaleX(0); }

/* Simple pages */
.page-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 1.5rem; }
.page-head h1 { font-size: clamp(2.2rem, 5.4vw, 3.8rem); font-weight: 800; margin-top: .8rem; }
.note-edit { padding: .9rem 1.1rem; border: 1.5px dashed var(--accent); border-radius: var(--radius); font-size: .9rem; color: var(--ink-2); }

/* =============================================================
   7. Effects
   ============================================================= */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .score-bar i { transform: scaleX(0); transition: transform 1.2s var(--ease-out) .15s; }
.js .is-in .score-bar i, .js .score-bar.is-in i { transform: scaleX(1); }

/* =============================================================
   7b. Ilustraciones de ejemplo (se sustituirán por vídeos reales)
   ============================================================= */
.demo { margin: 2.2rem 0; }
.demo figcaption { margin-top: .9rem; font-size: .82rem; color: var(--ink-3); text-align: center; }
.demo figcaption b { color: var(--accent); font-weight: 600; }

/* Escena ilustrada: cielo, sol, colinas y personaje */
.scene { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(180deg, #ff9a5a 0%, #ff5e7e 45%, #6a3fd1 100%); }
.scene span { position: absolute; display: block; }
.scene .sun { width: 34%; aspect-ratio: 1; left: 33%; top: 22%; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #fff6c9, #ffd166 60%, #ffb347); box-shadow: 0 0 40px 10px rgba(255, 209, 102, .45); }
.scene .hill { left: -20%; right: -20%; bottom: 0; }
.scene .hill-back { height: 46%; background: #4b2a9e; clip-path: polygon(0 60%, 18% 25%, 34% 55%, 52% 10%, 70% 50%, 86% 20%, 100% 45%, 100% 100%, 0 100%); }
.scene .hill-front { height: 30%; background: #22164f; clip-path: polygon(0 40%, 25% 15%, 50% 45%, 75% 5%, 100% 35%, 100% 100%, 0 100%); }
.scene .subject { left: 44%; bottom: 22%; width: 12%; aspect-ratio: 1 / 2.4; background: #120b2b; border-radius: 40% 40% 18% 18%; }
.scene .subject::before { content: ""; position: absolute; left: 18%; top: -38%; width: 64%; aspect-ratio: 1; border-radius: 50%; background: #120b2b; }
.scene .layer { position: absolute; inset: 0; }
.scene-caption { position: absolute; left: 8%; right: 8%; bottom: 9%; z-index: 3; color: #fff; font-weight: 800; font-size: clamp(.6rem, 2.4vw, .85rem); line-height: 1.25; text-align: center; text-shadow: 0 2px 8px rgba(0,0,0,.55); }

/* Móvil */
.phone { position: relative; width: 100%; max-width: 190px; margin-inline: auto; aspect-ratio: 9 / 18.5; border-radius: 26px; padding: 7px; background: #0d0d10; box-shadow: 0 24px 50px -24px rgba(0,0,0,.6), inset 0 0 0 1.5px #2b2b33; }
.phone::before { content: ""; position: absolute; z-index: 4; top: 12px; left: 50%; width: 28%; height: 9px; transform: translateX(-50%); border-radius: 9px; background: #0d0d10; }
.phone-screen { position: relative; height: 100%; border-radius: 20px; overflow: hidden; isolation: isolate; }
.rec { position: absolute; z-index: 3; top: 26px; right: 10px; padding: 2px 6px; border-radius: 6px; background: rgba(0,0,0,.45); color: #fff; font: 700 .55rem/1.4 var(--mono); letter-spacing: .08em; }
.rec::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: #ff3b3b; animation: recBlink 1.6s steps(2) infinite; }
@keyframes recBlink { 50% { opacity: 0; } }

/* Foto fija (el "antes") */
.photo { position: relative; width: 100%; max-width: 190px; margin-inline: auto; aspect-ratio: 4 / 5; border-radius: 6px; padding: 8px 8px 26px; background: #fbfaf6; box-shadow: 0 18px 40px -22px rgba(0,0,0,.5); transform: rotate(-3deg); }
.photo .scene { inset: 8px 8px 26px; border-radius: 2px; }

/* Antes / después */
.demo-ba { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .6rem; padding: clamp(1.2rem, 4vw, 2.2rem); border-radius: var(--radius); background: radial-gradient(420px 260px at 75% 30%, rgba(47, 107, 255, .2), transparent 70%), var(--paper-2); border: 1px solid var(--rule); }
.demo-ba figcaption { grid-column: 1 / -1; margin-top: .4rem; }
.ba-col { display: grid; gap: .8rem; justify-items: center; }
.ba-label { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); text-align: center; }
.ba-arrow { font-family: var(--mono); font-size: 1.6rem; color: var(--cyan); }

/* Efectos de cámara (animaciones lentas, en bucle) */
.fx-zoom .layer { animation: fxZoom 6s var(--ease-soft) infinite alternate; transform-origin: 50% 60%; }
@keyframes fxZoom { 0%, 15% { transform: scale(1); } 100% { transform: scale(1.75); } }
.fx-orbit .hill-back { animation: fxOrbitBack 7s ease-in-out infinite alternate; }
.fx-orbit .hill-front { animation: fxOrbitFront 7s ease-in-out infinite alternate; }
.fx-orbit .sun { animation: fxOrbitSun 7s ease-in-out infinite alternate; }
.fx-orbit .subject { animation: fxOrbitSubject 7s ease-in-out infinite alternate; }
@keyframes fxOrbitBack { from { transform: translateX(-10%); } to { transform: translateX(10%); } }
@keyframes fxOrbitFront { from { transform: translateX(16%); } to { transform: translateX(-16%); } }
@keyframes fxOrbitSun { from { transform: translateX(-24%); } to { transform: translateX(24%); } }
@keyframes fxOrbitSubject { 0% { transform: scaleX(1); } 50% { transform: scaleX(.35); } 100% { transform: scaleX(1); } }
.fx-crane .layer { animation: fxCrane 6.5s var(--ease-soft) infinite alternate; transform-origin: 50% 100%; }
@keyframes fxCrane { from { transform: translateY(-14%) scale(1.25); } to { transform: translateY(6%) scale(1.05); } }

.fx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.6rem, 2.5vw, 1.4rem); }
.fx-item { margin: 0; display: grid; gap: .7rem; justify-items: center; text-align: center; }
.fx-item h3 { font-family: var(--sans); font-size: .95rem !important; font-weight: 700; letter-spacing: 0; margin: 0 !important; }
.fx-item p { font-size: .8rem; color: var(--ink-3); margin: 0 !important; line-height: 1.4; }

/* Navegador (Hostinger) */
.browser { border-radius: 14px; overflow: hidden; background: var(--card); border: 1px solid var(--rule-2); box-shadow: 0 30px 60px -30px rgba(47, 107, 255, .45); }
.browser-bar { display: flex; align-items: center; gap: .8rem; padding: .6rem .9rem; background: var(--paper-2); border-bottom: 1px solid var(--rule); }
.browser-bar .dots { display: flex; gap: 6px; }
.browser-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.browser-bar .dots i:nth-child(2) { background: #febc2e; }
.browser-bar .dots i:nth-child(3) { background: #28c840; }
.browser-bar .url { flex: 1; display: flex; align-items: center; gap: .4rem; max-width: 320px; margin-inline: auto; padding: .3rem .8rem; border-radius: 999px; background: var(--card); font: 500 .75rem var(--mono); color: var(--ink-2); }
.browser-bar .url svg { width: 12px; height: 12px; flex: none; color: var(--good); }
.browser-body { display: grid; gap: 1.2rem; padding: clamp(1rem, 3vw, 1.6rem); }
.steps { list-style: none; padding: 0 !important; margin: 0 !important; display: grid; gap: .55rem; }
.steps li { display: flex; align-items: center; gap: .6rem; padding: .6rem .8rem; border-radius: 10px; background: var(--paper); font-size: .88rem; font-weight: 600; margin: 0 !important; }
.steps li::before { content: "✓"; display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--good); color: #fff; font-size: .75rem; }
.steps li b { margin-left: auto; font: 500 .75rem var(--mono); color: var(--ink-3); }
.steps li.live { background: var(--accent); color: #fff; }
.steps li.live::before { content: ""; background: #28c840; box-shadow: 0 0 0 4px rgba(40, 200, 64, .3); width: 12px; height: 12px; margin: 0 5px; }
.mini-site { border-radius: 10px; overflow: hidden; border: 1px solid var(--rule); background: var(--paper); }
.ms-nav { height: 22px; display: flex; align-items: center; gap: 6px; padding: 0 10px; border-bottom: 1px solid var(--rule); }
.ms-nav::before { content: ""; width: 34px; height: 7px; border-radius: 4px; background: var(--accent); }
.ms-nav::after { content: ""; margin-left: auto; width: 60px; height: 5px; border-radius: 4px; background: var(--rule); }
.ms-hero { padding: 16px 12px; display: grid; gap: 6px; background: linear-gradient(135deg, rgba(47, 107, 255, .22), rgba(63, 208, 255, .08)); }
.ms-hero span { height: 9px; border-radius: 5px; background: var(--ink); width: 70%; }
.ms-hero span + span { width: 45%; opacity: .5; height: 6px; }
.ms-hero i { width: 54px; height: 14px; border-radius: 7px; background: var(--accent); margin-top: 4px; }
.ms-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 10px 12px 12px; }
.ms-cards i { height: 34px; border-radius: 6px; background: var(--paper-2); }

/* Pasos que aparecen uno tras otro */
.js .demo.reveal .steps li { opacity: 0; transform: translateX(-10px); }
.js .demo.reveal.is-in .steps li { animation: stepIn .5s var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * .35s + .3s); }
@keyframes stepIn { to { opacity: 1; transform: none; } }

/* Ilustraciones dentro de las tarjetas de la portada */
.feature-visual { display: grid; place-items: center; padding: 1rem 0 .4rem; }
.feature-visual .phone { max-width: 130px; }
.feature-visual .browser { width: 100%; max-width: 340px; }
.feature-visual .browser-body { padding: .8rem; }
.feature--lead .feature-visual .phone { box-shadow: 0 24px 50px -20px rgba(0,0,0,.9), inset 0 0 0 1.5px #3a3a44; }

/* --- Vídeos oficiales de YouTube (se cargan al pulsar) --- */
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; border: 1px solid var(--rule-2); box-shadow: 0 24px 50px -28px rgba(47, 107, 255, .55); text-decoration: none; }
.yt img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.01); transition: transform .6s var(--ease-out), filter .4s; filter: saturate(1.05) brightness(.82); }
.yt:hover img { transform: scale(1.05); filter: saturate(1.1) brightness(.95); }
.yt-play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: var(--accent); box-shadow: 0 12px 34px -6px rgba(47, 107, 255, .8), 0 0 0 8px rgba(47, 107, 255, .22); transition: transform .35s var(--ease-out); }
.yt-play::before { content: ""; position: absolute; left: 27px; top: 22px; border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent #fff; }
.yt:hover .yt-play { transform: scale(1.1); }
.yt-badge { position: absolute; left: 12px; bottom: 12px; padding: .3rem .6rem; border-radius: 8px; background: rgba(6, 8, 12, .78); border: 1px solid var(--rule-2); color: var(--ink); font: 500 .7rem var(--mono); letter-spacing: .04em; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt.is-playing { cursor: default; }
.feature .yt { margin: .4rem 0 .6rem; }
.feature h3 a { text-decoration: none; }
.feature h3 a:hover { color: var(--accent-2); }
.feature-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; margin-top: auto; padding-top: .8rem; }
.feature-actions .go { font-weight: 700; color: var(--accent-2); text-decoration: none; font-size: .92rem; }
.feature-actions .go:hover { color: var(--cyan); }
.video-grid { display: grid; gap: 1rem; }
.video-grid figure { margin: 0; }
.video-grid figcaption { margin-top: .6rem; font-size: .85rem; color: var(--ink-3); }
.video-grid figcaption strong { color: var(--ink); }

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 720px) {
  .video-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 720px) {
  .browser-body--split { grid-template-columns: 1.1fr 1fr; align-items: center; }
}

/* Tablas comparativas: en móvil cada fila se convierte en una ficha */
@media (max-width: 719.98px) {
  .table-scroll { overflow: visible; border: 0; background: none; border-radius: 0; }
  .compare { min-width: 0; font-size: .92rem; }
  .compare thead { display: none; }
  .compare tbody, .compare tr, .compare th, .compare td { display: block; }
  .compare tr { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: .4rem 1rem .8rem; margin-bottom: .8rem; }
  .compare th[scope="row"] { padding: .7rem 0; font-size: 1.05rem; }
  .compare td { display: flex; justify-content: space-between; gap: 1rem; text-align: right; padding: .55rem 0; border-bottom: 1px dashed var(--rule); }
  .compare td::before { content: attr(data-label); font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); text-align: left; padding-top: .15rem; }
  .compare td:last-child { border-bottom: 0; }
  .compare td[data-label=""] { padding-top: .8rem; }
  .compare td[data-label=""]::before { display: none; }
  .compare td a.btn { width: 100%; }
}

@media (min-width: 540px) {
  .cats { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 720px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature--lead { grid-column: 1 / -1; }
  .features--duo .feature--lead { grid-column: auto; }
  .pros-cons { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .related { grid-template-columns: repeat(2, 1fr); }
  .banner { grid-template-columns: 1.4fr auto; align-items: end; }
  .verdict-row { grid-template-columns: auto 1fr auto; }
  .verdict-row .btn { grid-column: 3; grid-row: 1 / span 2; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-toggle, .mobile-nav { display: none !important; }
  .features { grid-template-columns: repeat(3, 1fr); }
  .feature--lead { grid-column: span 2; grid-row: span 2; justify-content: flex-end; padding: 2.4rem; }
  .feature--lead h3 { font-size: clamp(2rem, 3.4vw, 3rem); }
  .features--duo { grid-template-columns: 1.3fr 1fr; }
  .features--duo .feature, .features--duo .feature--lead { grid-column: auto; grid-row: auto; justify-content: flex-start; padding: 2.2rem; }
  .features--duo .feature h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
  .method { grid-template-columns: 1fr 1.3fr; gap: 4rem; }
  .cats { grid-template-columns: repeat(3, 1fr); }
}

/* =============================================================
   9. Reduced motion (solo lo intrusivo)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero h1 .strike::after { animation: none; transform: rotate(-3deg) scaleX(1); }
  .rec::before { animation: none; }
}
