/* =============================================================
   StopMultas — Glassmorphism Modern (legal-tech trust palette)
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  /* Surfaces */
  --bg:          #eef3fa;
  --bg-soft:     #f7faff;
  --paper:       #ffffff;

  /* Ink */
  --ink:         #0b1c33;
  --ink-soft:    #35455c;
  --ink-mute:    #6c7a90;

  /* Brand */
  --primary:     #1d4ed8;
  --primary-2:   #2563eb;
  --primary-dk:  #15347a;
  --accent:      #0bae79;   /* emerald — éxito / ahorro */
  --accent-2:    #059669;
  --danger:      #e0574b;
  --gold:        #f0a93d;

  /* Glass */
  --glass:        rgba(255, 255, 255, 0.55);
  --glass-strong: rgba(255, 255, 255, 0.74);
  --glass-border: rgba(255, 255, 255, 0.65);

  --line:        rgba(11, 28, 51, 0.10);
  --line-2:      rgba(11, 28, 51, 0.06);

  /* Shadows */
  --shadow-sm:  0 4px 14px -6px rgba(11, 28, 51, 0.20);
  --shadow:     0 24px 50px -22px rgba(11, 28, 51, 0.30);
  --shadow-lg:  0 40px 80px -30px rgba(11, 28, 51, 0.38);
  --shadow-primary: 0 18px 40px -14px rgba(29, 78, 216, 0.50);

  /* Type */
  --display: "Plus Jakarta Sans", system-ui, sans-serif;
  --sans:    "Inter", system-ui, sans-serif;

  /* Easings */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --radius:    20px;
  --radius-lg: 28px;
  --container: 1180px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  text-wrap: balance;
  line-height: 1.06;
  letter-spacing: -0.025em;
  font-weight: 800;
}
::selection { background: var(--primary); color: #fff; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .7rem 1.1rem; background: var(--ink); color: #fff;
  border-radius: 10px; font-weight: 600; transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.accent-word { color: var(--primary); position: relative; white-space: nowrap; }
.tick { width: 18px; height: 18px; color: var(--accent); flex: none; }

/* Glass */
.glass, .glass-strong {
  background: rgba(255, 255, 255, 0.82); /* solid fallback */
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
@supports ((backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px))) {
  .glass {
    background: var(--glass);
    -webkit-backdrop-filter: blur(22px) saturate(165%);
    backdrop-filter: blur(22px) saturate(165%);
  }
  .glass-strong {
    background: var(--glass-strong);
    -webkit-backdrop-filter: blur(26px) saturate(170%);
    backdrop-filter: blur(26px) saturate(170%);
  }
}

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--display); font-weight: 700; font-size: .98rem;
  padding: .82rem 1.4rem; border-radius: 999px;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .25s, color .25s;
  will-change: transform; white-space: nowrap;
}
.btn-lg { padding: 1.02rem 1.8rem; font-size: 1.04rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-primary); }
.btn-primary:hover { background: var(--primary-2); transform: translateY(-2px); box-shadow: 0 24px 48px -14px rgba(29,78,216,.6); }

.btn-ghost { background: rgba(255,255,255,.6); color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

.btn-soft { background: rgba(29,78,216,.08); color: var(--primary); font-size: .9rem; padding: .68rem 1.1rem; }
.btn-soft:hover { background: rgba(29,78,216,.15); transform: translateY(-2px); }

.btn-light { background: #fff; color: var(--primary-dk); box-shadow: 0 24px 50px -20px rgba(0,0,0,.4); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); }

/* =============================================================
   5. Nav
   ============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  transition: background .35s var(--ease-out), box-shadow .35s var(--ease-out), backdrop-filter .35s;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  height: 74px;
}
.nav.is-stuck {
  background: rgba(247, 250, 255, 0.78);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(11,28,51,.3);
}
.brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--display); }
.brand-mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dk));
  color: #fff; box-shadow: var(--shadow-primary);
}
.brand-name { font-size: 1.22rem; font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.brand-name strong { font-weight: 800; }

/* Botón hamburguesa (solo móvil) */
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 10px; border: 0; background: transparent;
  cursor: pointer; border-radius: 10px; flex: none;
  position: relative; z-index: 270;
}
.nav-toggle span { display: block; height: 2.5px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease-out), opacity .2s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Enlaces: drawer lateral en móvil */
.nav-links {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 200;
  width: 82%; max-width: 330px; display: flex; flex-direction: column; align-items: stretch; gap: .05rem;
  background: var(--paper); padding: 5.2rem 1.4rem 2rem;
  box-shadow: 24px 0 70px -20px rgba(11,28,51,.5);
  transform: translateX(-102%); transition: transform .35s var(--ease-out); overflow-y: auto;
}
.nav-links.is-open { transform: translateX(0); }
.nav-links a {
  position: relative; font-weight: 600; font-size: 1.05rem; color: var(--ink);
  font-family: var(--display); padding: .85rem .2rem; border-bottom: 1px solid var(--line-2);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -1px; height: 2px;
  background: var(--primary); border-radius: 2px; transition: right .35s var(--ease-out);
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { right: 0; }
.nav-links-cta { margin-top: 1.1rem; text-align: center; color: #fff !important; border-bottom: 0 !important; padding: .9rem 1rem !important; }
.nav-links-cta::after { display: none; }

.nav-backdrop { position: fixed; inset: 0; z-index: 200; background: rgba(11,28,51,.5); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.nav-cta { padding: .6rem 1.15rem; font-size: .92rem; }

/* Móvil: logo centrado, hamburguesa a la izquierda, barra siempre visible */
@media (max-width: 959px) {
  /* Sin backdrop-filter en móvil: si no, el nav se vuelve "containing block"
     del drawer fixed y lo colapsa a la altura de la barra. */
  .nav, .nav.is-stuck {
    background: rgba(247, 250, 255, 0.97);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: 0 1px 0 var(--line), 0 6px 20px -14px rgba(11, 28, 51, .3);
  }
  .nav-inner { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; height: 64px; }
  .nav-toggle { justify-self: start; }
  .brand { justify-self: center; grid-column: 2; }
  .nav-cta { display: none; }
  .nav-links { z-index: 260; }
}

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .nav-backdrop { display: none !important; }
  .nav-links {
    position: static; transform: none; z-index: auto; width: auto; max-width: none;
    flex-direction: row; align-items: center; gap: 1.6rem; background: none; padding: 0; box-shadow: none; overflow: visible;
  }
  .nav-links a { font-size: .94rem; color: var(--ink-soft); padding: .3rem 0; border-bottom: 0; }
  .nav-links a:hover { color: var(--ink); }
  .nav-links-cta { display: none; }
}

/* =============================================================
   6. Hero
   ============================================================= */
.hero {
  position: relative; overflow: hidden;
  padding: 116px 0 70px;
  min-height: 100svh;
  display: flex; align-items: center;
}
.hero-mesh {
  position: absolute; inset: -25%; z-index: 0;
  background:
    radial-gradient(38% 42% at 18% 26%, #bcd3ff 0%, transparent 60%),
    radial-gradient(40% 44% at 84% 22%, #b6f1da 0%, transparent 60%),
    radial-gradient(46% 48% at 70% 86%, #cfe0ff 0%, transparent 62%),
    radial-gradient(40% 40% at 24% 80%, #e7f6ff 0%, transparent 60%);
  filter: blur(46px) saturate(140%);
  animation: meshDrift 26s ease-in-out infinite;
}
@keyframes meshDrift {
  0%, 100% { transform: scale(1) rotate(0deg) translateY(0); }
  50%      { transform: scale(1.18) rotate(8deg) translateY(-2%); }
}
.hero-grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .4;
  background-image: radial-gradient(rgba(11,28,51,.035) 1px, transparent 1px);
  background-size: 4px 4px;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; gap: 3rem; align-items: center;
}
@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 1.05fr .95fr; gap: 2.4rem; }
}

.kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--display); font-weight: 700; font-size: .82rem;
  color: var(--accent-2); background: rgba(11,174,121,.10);
  padding: .42rem .9rem; border-radius: 999px; letter-spacing: .01em;
  margin-bottom: 1.3rem;
}
.kicker-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(11,174,121,.2); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100%{ box-shadow: 0 0 0 4px rgba(11,174,121,.2);} 50%{ box-shadow: 0 0 0 7px rgba(11,174,121,.05);} }

.hero-title {
  font-size: clamp(2.5rem, 6.2vw, 4.4rem);
  line-height: 1.02; letter-spacing: -0.035em;
  color: var(--ink); margin-bottom: 1.3rem;
}
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 33ch; color: var(--ink-soft); margin-bottom: 1.9rem; }
.hero-sub strong { color: var(--ink); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.6rem; }

.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.hero-points li { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .92rem; color: var(--ink-soft); }

/* Hero visual / analysis card */
.hero-visual { position: relative; justify-self: center; width: 100%; max-width: 420px; transform-style: preserve-3d; }
.analysis-card { padding: 1.5rem 1.5rem 1.4rem; box-shadow: var(--shadow-lg); }
.ac-head { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: 1.1rem; }
.ac-file { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 600; color: var(--ink-mute); }
.ac-badge { font-family: var(--display); font-weight: 700; font-size: .76rem; padding: .3rem .7rem; border-radius: 999px; }
.ac-badge--ok { background: rgba(11,174,121,.14); color: var(--accent-2); }
.ac-meter { height: 9px; border-radius: 999px; background: rgba(11,28,51,.08); overflow: hidden; }
.ac-meter span { display: block; height: 100%; width: var(--w, 0%); border-radius: 999px; background: linear-gradient(90deg, var(--accent), #34d399); }
.ac-meter-label { font-size: .82rem; font-weight: 600; color: var(--ink-soft); margin: .5rem 0 1rem; }
.ac-list { list-style: none; display: grid; gap: .55rem; margin-bottom: 1.1rem; }
.ac-list li { display: flex; gap: .55rem; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); }
.ac-ico { color: var(--accent); font-weight: 800; flex: none; }
.ac-foot { display: flex; gap: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.ac-meta { display: flex; flex-direction: column; }
.ac-meta span { font-size: .72rem; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .06em; }
.ac-meta strong { font-family: var(--display); font-size: .98rem; color: var(--ink); }

.hero-chip {
  position: absolute; font-family: var(--display); font-weight: 700; font-size: .82rem; color: var(--ink);
  padding: .55rem .85rem; border-radius: 14px; box-shadow: var(--shadow);
  animation: floatY 5s ease-in-out infinite;
}
.hero-chip--1 { top: -16px; left: -14px; }
.hero-chip--2 { bottom: 24px; right: -18px; animation-delay: -2.5s; }
@keyframes floatY { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-9px);} }

/* =============================================================
   7. Trust bar
   ============================================================= */
.trust { position: relative; z-index: 3; margin-top: -10px; }
.trust-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
@media (min-width: 720px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-item { background: var(--bg-soft); padding: 1.5rem 1.2rem; text-align: center; }
.trust-item strong { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.3rem); color: var(--ink); letter-spacing: -.03em; }
.trust-item span { font-size: .86rem; color: var(--ink-mute); font-weight: 500; }

/* =============================================================
   8. Sections base
   ============================================================= */
.section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }
.section-head { max-width: 720px; margin: 0 auto clamp(2.4rem, 5vw, 3.4rem); text-align: center; }
.section-head--left { text-align: left; margin-inline: 0; }
.eyebrow {
  font-family: var(--display); font-weight: 700; font-size: .8rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--primary); margin-bottom: .8rem;
}
.eyebrow--light { color: #8fb6ff; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.9rem); letter-spacing: -.03em; margin-bottom: 1rem; }
.section-title--light { color: #fff; }
.section-lead { font-size: clamp(1.02rem, 1.5vw, 1.15rem); color: var(--ink-soft); }
.section-lead--light { color: rgba(255,255,255,.78); }

/* =============================================================
   9. Steps
   ============================================================= */
.steps {
  list-style: none; counter-reset: s;
  display: grid; gap: 1.1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding: 1.7rem 1.5rem; transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.step-num { display: inline-block; font-family: var(--display); font-weight: 800; font-size: 1rem; color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-dk)); width: 40px; height: 40px; line-height: 40px; text-align: center; border-radius: 12px; margin-bottom: 1rem; box-shadow: var(--shadow-primary); }
.step h3 { font-size: 1.16rem; margin-bottom: .5rem; }
.step p { font-size: .94rem; }

.steps-addons { display: grid; gap: 1.1rem; margin-top: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .steps-addons { grid-template-columns: 1fr 1fr; } }
.addon { display: flex; gap: 1rem; align-items: center; padding: 1.3rem 1.5rem; }
.addon-tag { font-family: var(--display); font-weight: 800; font-size: 1.05rem; color: var(--accent-2); background: rgba(11,174,121,.12); padding: .5rem .8rem; border-radius: 12px; flex: none; }
.addon p { font-size: .94rem; }
.addon strong { color: var(--ink); }

/* =============================================================
   10. Analyzer (dark feature section)
   ============================================================= */
.section--analyzer { color: #fff; overflow: hidden; }
.analyzer-bg { position: absolute; inset: 0; z-index: 0; background: linear-gradient(160deg, #0b1c33 0%, #122a52 55%, #0b1c33 100%); }
.analyzer-bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(40% 50% at 15% 10%, rgba(37,99,235,.45), transparent 60%),
    radial-gradient(40% 50% at 88% 90%, rgba(11,174,121,.35), transparent 60%);
  filter: blur(20px);
}
.section--analyzer .container { position: relative; z-index: 1; }

.analyzer {
  max-width: 760px; margin-inline: auto; padding: clamp(1.5rem, 4vw, 2.6rem);
  border-radius: var(--radius-lg);
  background: rgba(9, 17, 33, 0.66);          /* tarjeta OSCURA: el texto blanco se lee */
  border: 1px solid rgba(255, 255, 255, 0.14);
}
@supports ((backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px))) {
  .analyzer {
    background: rgba(9, 17, 33, 0.5);
    -webkit-backdrop-filter: blur(26px) saturate(150%);
    backdrop-filter: blur(26px) saturate(150%);
  }
}
/* Dropzone */
.dropzone {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem;
  text-align: center; padding: 2.6rem 1.5rem; cursor: pointer;
  border: 2px dashed rgba(255,255,255,.24); border-radius: var(--radius);
  background: rgba(255,255,255,.04); transition: border-color .3s, background .3s, transform .3s;
}
.dropzone:hover, .dropzone.is-drag { border-color: #5e9bff; background: rgba(37,99,235,.16); transform: translateY(-2px); }
.dz-ico { color: #8fb6ff; }
.dz-title { font-family: var(--display); font-weight: 700; color: #fff; font-size: 1.06rem; }
.dz-title u { text-decoration-color: #8fb6ff; text-underline-offset: 3px; }
.dz-hint { font-size: .85rem; color: rgba(255,255,255,.6); }
.az-or { display: flex; align-items: center; gap: 1rem; margin: 1.3rem 0; color: rgba(255,255,255,.5); }
.az-or::before, .az-or::after { content: ""; height: 1px; flex: 1; background: rgba(255,255,255,.18); }
.az-samples { text-align: center; }
.az-samples > p { color: rgba(255,255,255,.78); font-size: .92rem; margin-bottom: .8rem; }
.az-sample-btns { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }

/* Scan */
.az-scan { text-align: center; padding: 1.5rem 0; }
.scan-doc {
  position: relative; width: 130px; height: 168px; margin: 0 auto 1.6rem;
  background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); overflow: hidden; padding: 18px 16px;
}
.scan-rows { display: grid; gap: 11px; }
.scan-rows i { display: block; height: 8px; border-radius: 4px; background: #e2e8f3; }
.scan-rows i:nth-child(2){ width: 80%; } .scan-rows i:nth-child(4){ width: 65%; } .scan-rows i:nth-child(5){ width: 88%; }
.scan-line {
  position: absolute; left: 0; right: 0; height: 28px; z-index: 2;
  background: linear-gradient(180deg, transparent, rgba(37,99,235,.45), transparent);
  box-shadow: 0 0 18px 4px rgba(37,99,235,.5);
  animation: scanMove 1.5s ease-in-out infinite;
}
@keyframes scanMove { 0%,100%{ top: -10%; } 50%{ top: 90%; } }
.scan-status { font-family: var(--display); font-weight: 700; color: #fff; font-size: 1.1rem; margin-bottom: 1rem; }
.scan-bar { height: 7px; max-width: 320px; margin: 0 auto; border-radius: 999px; background: rgba(255,255,255,.15); overflow: hidden; }
.scan-bar span { display: block; height: 100%; width: 0%; border-radius: 999px; background: linear-gradient(90deg, var(--primary-2), var(--accent)); transition: width .3s var(--ease-out); }

/* Result */
.az-result { color: var(--ink); }
.result-head { display: flex; align-items: center; gap: .8rem; margin-bottom: .9rem; }
.result-badge { font-family: var(--display); font-weight: 800; font-size: .8rem; padding: .35rem .8rem; border-radius: 999px; background: rgba(11,174,121,.16); color: var(--accent-2); }
.result-badge.is-no { background: rgba(224,87,75,.15); color: var(--danger); }
.result-file { font-size: .85rem; color: var(--ink-mute); font-weight: 600; }
.result-title { font-size: clamp(1.4rem, 3vw, 1.9rem); color: #fff; margin-bottom: 1rem; }
.az-result .result-title { color: #fff; }
.result-meter { height: 10px; border-radius: 999px; background: rgba(255,255,255,.16); overflow: hidden; margin-bottom: .5rem; }
.result-meter span { display: block; height: 100%; width: 0%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), #34d399); transition: width 1s var(--ease-out); }
.result-conf { font-size: .9rem; color: rgba(255,255,255,.8); font-weight: 600; margin-bottom: 1.6rem; }

.result-cols { display: grid; gap: 1.2rem; margin-bottom: 1.4rem; }
@media (min-width: 640px) { .result-cols { grid-template-columns: 1.3fr 1fr; } }
.result-h { font-family: var(--display); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: #8fb6ff; margin-bottom: .7rem; }
.result-reasons ul { list-style: none; display: grid; gap: .6rem; }
.result-reasons li { display: flex; gap: .55rem; align-items: flex-start; font-size: .92rem; color: rgba(255,255,255,.9); }
.result-reasons li::before { content: "✓"; color: var(--accent); font-weight: 800; }
.result-facts dl { display: grid; gap: .55rem; }
.result-facts div { display: flex; justify-content: space-between; gap: .8rem; border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: .4rem; }
.result-facts dt { font-size: .88rem; color: rgba(255,255,255,.6); }
.result-facts dd { font-size: .9rem; font-weight: 700; color: #fff; font-family: var(--display); }

.result-honesty { display: flex; gap: .7rem; align-items: flex-start; background: rgba(240,169,61,.14); border: 1px solid rgba(240,169,61,.3); border-radius: 14px; padding: .9rem 1.1rem; margin-bottom: 1.5rem; }
.result-honesty svg { color: var(--gold); flex: none; margin-top: 2px; }
.result-honesty p { font-size: .88rem; color: rgba(255,255,255,.9); }

.result-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.14); }
.result-price { display: flex; flex-direction: column; }
.rp-label { font-size: .82rem; color: rgba(255,255,255,.6); }
.rp-amount { font-family: var(--display); font-weight: 800; font-size: 2rem; color: #fff; letter-spacing: -.03em; }
.az-reset { display: block; margin: 1.2rem auto 0; color: rgba(255,255,255,.7); font-weight: 600; font-size: .9rem; }
.az-reset:hover { color: #fff; }

.az-disclaimer { text-align: center; font-size: .82rem; color: rgba(255,255,255,.55); margin-top: 1.4rem; max-width: 600px; margin-inline: auto; }

/* Analyzer — lead form */
.azf-head { text-align: center; margin-bottom: 1.6rem; }
.azf-badge { display: inline-block; font-family: var(--display); font-weight: 700; font-size: .78rem; padding: .35rem .8rem; border-radius: 999px; background: rgba(11,174,121,.18); color: #5eead4; margin-bottom: 1rem; }
.azf-title { color: #fff; font-size: clamp(1.4rem, 3vw, 1.95rem); margin-bottom: .7rem; }
.azf-sub { color: rgba(255,255,255,.78); max-width: 46ch; margin-inline: auto; }
.azf-sub strong { color: #fff; }
.azf-form { max-width: 460px; margin-inline: auto; display: grid; gap: .9rem; }
.azf-form label { display: block; text-align: left; font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.7); }
.azf-form input { width: 100%; margin-top: .35rem; padding: .85rem 1rem; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.96); color: var(--ink); font: inherit; }
.azf-form input::placeholder { color: var(--ink-mute); }
.azf-form input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.azf-form button { margin-top: .4rem; }
.azf-legal { font-size: .76rem; color: rgba(255,255,255,.5); text-align: center; margin-top: .2rem; }
/* Checkout — garantía */
.checkout-guarantee { list-style: none; display: grid; gap: .5rem; max-width: 460px; margin: 0 auto 1.3rem; }
.checkout-guarantee li { display: flex; align-items: center; gap: .65rem; font-size: .9rem; color: rgba(255,255,255,.9); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: .6rem .9rem; }
.checkout-guarantee li span { font-size: 1.1rem; flex: none; }
/* Oferta anti-abandono */
.offer-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1.5rem; background: rgba(8,12,22,.72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.offer-card { position: relative; background: #fff; color: var(--ink); border-radius: 22px; padding: 2.4rem 1.8rem 1.8rem; max-width: 420px; width: 100%; text-align: center; box-shadow: 0 40px 90px -30px rgba(0,0,0,.6); animation: offerPop .4s var(--ease-bounce) both; }
@keyframes offerPop { from { transform: scale(.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.offer-close { position: absolute; top: .9rem; right: 1rem; background: rgba(11,28,51,.06); border: 0; width: 32px; height: 32px; border-radius: 9px; cursor: pointer; color: var(--ink-mute); font-size: 1rem; }
.offer-emoji { font-size: 2.6rem; display: block; margin-bottom: .4rem; }
.offer-title { font-size: 1.45rem; margin-bottom: .7rem; color: var(--ink); }
.offer-text { font-size: 1rem; color: var(--ink-soft); margin-bottom: 1.5rem; }
.offer-text s { color: var(--ink-mute); }
.offer-new { color: var(--accent-2); font-size: 1.12em; }
.offer-card .btn { margin-bottom: .7rem; }
.offer-decline { background: none; border: 0; color: var(--ink-mute); font-size: .9rem; cursor: pointer; }
.offer-decline:hover { color: var(--ink); }

/* Analyzer — done / ¡PUM! */
.az-done { text-align: center; padding: 1rem 0 .5rem; }
.done-check { width: 96px; height: 96px; margin: 0 auto 1.4rem; border-radius: 50%; background: rgba(11,174,121,.16); display: grid; place-items: center; animation: donePop .55s var(--ease-bounce) both; }
.done-check svg { width: 56px; height: 56px; overflow: visible; }
.done-check circle { stroke: var(--accent); stroke-width: 3; fill: none; stroke-dasharray: 151; stroke-dashoffset: 151; animation: doneCircle .5s var(--ease-out) .15s forwards; }
.done-check path { stroke: #34d399; stroke-width: 4; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: doneTick .35s var(--ease-out) .55s forwards; }
@keyframes donePop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes doneCircle { to { stroke-dashoffset: 0; } }
@keyframes doneTick { to { stroke-dashoffset: 0; } }
.done-title { color: #fff; font-size: clamp(1.5rem, 3.4vw, 2.1rem); margin-bottom: .8rem; }
.done-sub { color: rgba(255,255,255,.82); max-width: 44ch; margin: 0 auto 1.4rem; }
.done-sub strong { color: #5eead4; }
.done-download { margin: 0 auto 1.4rem; }
.done-download .btn { box-shadow: var(--shadow-primary); }
.done-sub strong { color: #5eead4; }
.done-chips { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.done-chips span { font-size: .85rem; font-weight: 600; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); padding: .45rem .9rem; border-radius: 999px; }
.done-chips span::before { content: "✓ "; color: var(--accent); }

/* Analyzer — result step (pistas, sin precio) */
.result-reasons { margin-bottom: 1.3rem; }
.result-note { display: flex; gap: .7rem; align-items: flex-start; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: .9rem 1.1rem; margin-bottom: 1.4rem; }
.result-note svg { color: #8fb6ff; flex: none; margin-top: 2px; }
.result-note p { font-size: .88rem; color: rgba(255,255,255,.85); }
.result-note strong { color: #fff; }
.az-result .result-cta { display: flex; flex-direction: column; align-items: center; gap: .7rem; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.14); }
.az-result .result-cta .btn-lg { width: 100%; max-width: 360px; }
.result-resumen { font-size: .96rem; color: rgba(255,255,255,.9); margin-bottom: 1.3rem; }
.result-facts[data-result-datos] { display: grid; gap: .5rem; margin: 0 0 1.4rem; }
.result-facts[data-result-datos] div { border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: .45rem; }

/* =============================================================
   Guarantee section
   ============================================================= */
.guarantee-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 820px) { .guarantee-grid { grid-template-columns: repeat(3, 1fr); } }
.guarantee-card { padding: 1.9rem 1.6rem; transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.guarantee-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.guarantee-card--hl { background: linear-gradient(165deg, rgba(11,174,121,.16), rgba(255,255,255,.62)); border-color: rgba(11,174,121,.4); }
.g-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-family: var(--display); font-weight: 800; color: var(--accent-2); background: rgba(11,174,121,.14); margin-bottom: 1rem; }
.guarantee-card h3 { font-size: 1.16rem; margin-bottom: .5rem; }
.guarantee-card p { font-size: .94rem; }
.guarantee-foot { text-align: center; margin-top: 1.6rem; font-size: .95rem; color: var(--ink-mute); }

/* =============================================================
   Blog / SEO section
   ============================================================= */
.blog-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card { padding: 1.6rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-tag { align-self: flex-start; font-family: var(--display); font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--primary); background: rgba(29,78,216,.1); padding: .3rem .7rem; border-radius: 999px; }
.blog-card h3 { font-size: 1.1rem; line-height: 1.25; }
.blog-card p { font-size: .9rem; color: var(--ink-mute); flex: 1; }
.blog-link { font-family: var(--display); font-weight: 700; font-size: .9rem; color: var(--primary); margin-top: .2rem; }
.blog-card:hover .blog-link { text-decoration: underline; text-underline-offset: 3px; }

/* =============================================================
   11. Pricing
   ============================================================= */
.pricing { display: grid; gap: 1.2rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 880px) { .pricing { grid-template-columns: repeat(3, 1fr); } }
.price-card { padding: 2rem 1.7rem; display: flex; flex-direction: column; transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card--featured { background: linear-gradient(165deg, #16357d, #0b1c33); color: #fff; position: relative; box-shadow: var(--shadow-lg); border: none; }
.price-card--featured .pc-name, .price-card--featured .pc-price { color: #fff; }
.price-card--featured .pc-desc, .price-card--featured .pc-list li { color: rgba(255,255,255,.85); }
.price-card--featured .pc-list li::before { color: #5eead4; }
.pc-flag { position: absolute; top: 1.3rem; right: 1.3rem; font-family: var(--display); font-weight: 700; font-size: .72rem; background: var(--accent); color: #fff; padding: .3rem .7rem; border-radius: 999px; }
.pc-name { font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--ink-soft); margin-bottom: .6rem; }
.pc-price { font-family: var(--display); font-weight: 800; font-size: 3.2rem; color: var(--ink); letter-spacing: -.04em; line-height: 1; margin-bottom: .9rem; }
.pc-price--small { font-size: 1.6rem; color: var(--ink-soft); }
.pc-cur { font-size: 1.5rem; vertical-align: top; margin-right: 2px; }
.pc-desc { font-size: .92rem; margin-bottom: 1.3rem; }
.pc-list { list-style: none; display: grid; gap: .65rem; margin-bottom: 1.6rem; flex: 1; }
.pc-list li { display: flex; gap: .55rem; align-items: flex-start; font-size: .92rem; color: var(--ink-soft); }
.pc-list li::before { content: "✓"; color: var(--accent); font-weight: 800; flex: none; }
.pc-list--addons li::before { content: ""; }
.pc-addon-price { font-family: var(--display); font-weight: 800; color: var(--accent-2); margin-right: .2rem; }
.pc-guarantee { background: rgba(11,174,121,.1); border: 1px solid rgba(11,174,121,.22); border-radius: 14px; padding: .9rem 1.1rem; font-size: .88rem; color: var(--ink-soft); }
.pc-guarantee strong { color: var(--accent-2); }

/* =============================================================
   12. Honesty
   ============================================================= */
.honesty-wrap { display: grid; gap: 2.4rem; align-items: center; }
@media (min-width: 900px) { .honesty-wrap { grid-template-columns: 1.1fr .9fr; } }
.honesty-list { list-style: none; display: grid; gap: .8rem; margin-top: 1.6rem; }
.honesty-list li { display: flex; gap: .6rem; align-items: flex-start; font-weight: 500; color: var(--ink-soft); }
.honesty-calc { padding: 1.8rem; }
.hc-title { font-family: var(--display); font-weight: 700; color: var(--ink); font-size: 1.1rem; margin-bottom: 1.2rem; }
.hc-row { display: flex; align-items: center; justify-content: space-between; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.hc-row span { color: var(--ink-soft); font-size: .95rem; }
.hc-row strong { font-family: var(--display); font-size: 1.3rem; font-weight: 800; }
.hc-green { color: var(--accent-2); }
.hc-red { color: var(--danger); }
.hc-divider { height: 1px; background: var(--line); margin: 1rem 0; }
.hc-note { font-size: .88rem; color: var(--ink-mute); }

/* =============================================================
   13. Fines grid
   ============================================================= */
.fines { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
@media (min-width: 720px) { .fines { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .fines { grid-template-columns: repeat(4, 1fr); } }
.fine { padding: 1.4rem 1.3rem; transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.fine:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.fine-ico { font-size: 1.7rem; display: block; margin-bottom: .7rem; }
.fine h3 { font-size: 1.02rem; margin-bottom: .35rem; }
.fine p { font-size: .85rem; color: var(--ink-mute); }

/* =============================================================
   14. B2B
   ============================================================= */
.section--b2b { }
.b2b-wrap {
  display: grid; gap: 2.4rem; padding: clamp(2rem, 5vw, 3.4rem);
  background: linear-gradient(160deg, #0b1c33, #14306a) !important; color: #fff; border: none;
  border-radius: var(--radius-lg);
}
@media (min-width: 900px) { .b2b-wrap { grid-template-columns: 1.1fr .9fr; align-items: center; } }
.b2b-list { list-style: none; display: grid; gap: .7rem; margin-top: 1.5rem; }
.b2b-list li { display: flex; gap: .6rem; align-items: flex-start; color: rgba(255,255,255,.88); font-weight: 500; }
.b2b-form { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 1.6rem; }
.b2b-form-title { font-family: var(--display); font-weight: 700; color: #fff; font-size: 1.1rem; margin-bottom: 1.1rem; }
.b2b-form label { display: block; font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.7); margin-bottom: .9rem; }
.b2b-form input { width: 100%; margin-top: .35rem; padding: .8rem 1rem; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.95); color: var(--ink); font: inherit; }
.b2b-form input:focus-visible { outline: 2px solid var(--accent); }
.b2b-form-note { margin-top: .9rem; color: #5eead4; font-weight: 600; font-size: .9rem; }

/* =============================================================
   15. Testimonials
   ============================================================= */
.testimonials { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 820px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }
.testi { padding: 1.7rem 1.6rem; display: flex; flex-direction: column; gap: .9rem; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 1rem; }
.testi blockquote { font-size: .98rem; color: var(--ink-soft); line-height: 1.6; }
.testi figcaption { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .9rem; color: var(--ink); margin-top: auto; }
.avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-dk)); color: #fff; font-family: var(--display); font-weight: 700; font-size: .82rem; }

/* =============================================================
   16. FAQ
   ============================================================= */
.faq-wrap { display: grid; gap: 2.2rem; }
@media (min-width: 920px) { .faq-wrap { grid-template-columns: .8fr 1.2fr; align-items: start; } }
.faq { display: grid; gap: .8rem; }
.faq-item { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.faq-item[open] { box-shadow: var(--shadow); border-color: rgba(29,78,216,.25); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; padding: 1.1rem 1.3rem; font-family: var(--display); font-weight: 700; color: var(--ink); font-size: 1rem; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--primary); transition: transform .3s var(--ease-out); flex: none; line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 1.3rem 1.2rem; }
.faq-body p { font-size: .94rem; color: var(--ink-soft); }

/* =============================================================
   17. CTA final
   ============================================================= */
.section--cta { position: relative; overflow: hidden; text-align: center; color: #fff; }
.cta-mesh { position: absolute; inset: 0; z-index: 0; background: linear-gradient(135deg, var(--primary-dk), var(--primary) 55%, #0b1c33); }
.cta-mesh::after {
  content: ""; position: absolute; inset: -20%;
  background: radial-gradient(40% 50% at 20% 20%, rgba(11,174,121,.5), transparent 60%), radial-gradient(40% 50% at 85% 80%, rgba(94,234,212,.4), transparent 60%);
  filter: blur(40px); animation: meshDrift 24s ease-in-out infinite;
}
.cta-inner { position: relative; z-index: 1; max-width: 640px; margin-inline: auto; }
.cta-title { font-size: clamp(1.9rem, 4.5vw, 3rem); color: #fff; margin-bottom: 1rem; }
.cta-sub { font-size: 1.12rem; color: rgba(255,255,255,.85); margin-bottom: 2rem; }
.cta-mini { margin-top: 1.2rem; font-size: .86rem; color: rgba(255,255,255,.65); }

/* =============================================================
   18. Footer
   ============================================================= */
.footer { background: #081325; color: rgba(255,255,255,.72); padding: 3.5rem 0 2rem; }
.footer-inner { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-inner { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.brand--footer .brand-name { color: #fff; }
.footer-brand p { font-size: .9rem; margin-top: 1rem; max-width: 34ch; color: rgba(255,255,255,.6); }
.footer-h { font-family: var(--display); font-weight: 700; color: #fff; font-size: .92rem; margin-bottom: 1rem; }
.footer-col { display: flex; flex-direction: column; gap: .6rem; }
.footer-col a { font-size: .9rem; color: rgba(255,255,255,.66); transition: color .2s; width: fit-content; }
.footer-col a:hover { color: #fff; }
.footer-legal { margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.1); }
.footer-legal p { font-size: .8rem; color: rgba(255,255,255,.45); }

/* =============================================================
   19. Reveal animation
   ============================================================= */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; } /* defensive */
/* Stagger children in grids */
.steps .step.reveal, .pricing .price-card.reveal, .fines .fine.reveal, .testimonials .testi.reveal { transition-delay: var(--d, 0s); }

/* =============================================================
   20. Reduced motion (only intrusive)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-mesh, .cta-mesh::after, .hero-chip, .kicker-dot, .scan-line { animation: none; }
  .done-check, .done-check circle, .done-check path { animation: none; }
  .done-check circle, .done-check path { stroke-dashoffset: 0; }
}

/* ===== Categorías destacadas (qué multas recurrimos) ===== */
.cats { padding: clamp(2.6rem, 6vw, 4rem) 0 0; position: relative; z-index: 3; }
.cats .container { text-align: center; }
.cats-kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: .9rem; color: var(--accent-2);
  background: rgba(11,174,121,.10); padding: .42rem .95rem; border-radius: 999px;
  margin: 0 0 1.6rem;
}
.cats-grid {
  display: grid; gap: 1rem; text-align: left;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 880px) { .cats-grid { grid-template-columns: repeat(4, 1fr); } }
.cat-card {
  position: relative; padding: 1.6rem 1.4rem;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.cat-ico { font-size: 2rem; display: block; margin-bottom: .65rem; line-height: 1; }
.cat-card h3 { font-size: 1.1rem; margin-bottom: .4rem; color: var(--ink); letter-spacing: -.01em; }
.cat-card p { font-size: .86rem; color: var(--ink-mute); line-height: 1.45; }
.cat-card--star {
  border: 1.5px solid rgba(29,78,216,.45);
  background: linear-gradient(180deg, rgba(29,78,216,.10), var(--glass-strong));
  box-shadow: var(--shadow-primary);
}
.cat-card--star h3 { color: var(--primary-dk); }
.cat-flag {
  position: absolute; top: -11px; left: 1.2rem;
  font-size: .7rem; font-weight: 800; letter-spacing: .02em;
  color: #fff; background: var(--primary); padding: .3rem .68rem; border-radius: 999px;
  box-shadow: 0 6px 16px -6px rgba(29,78,216,.6);
}
/* Botón "Ver todo el blog" */
.blog-more { text-align: center; margin-top: 2rem; }

/* Categorías dentro de la sección "Qué recurrimos" */
.cats-grid--inline { margin: .8rem 0 2rem; }
.fines-sub { text-align: center; font-weight: 600; color: var(--ink-soft); font-size: .95rem; margin: 0 0 1.4rem; }

/* ===== Generando recurso (animación "abogado redactando") ===== */
.gen-doc { width: 92px; height: 112px; margin: 0 auto 1.4rem; border-radius: 12px; background: rgba(255,255,255,.96); position: relative; box-shadow: 0 22px 44px -18px rgba(0,0,0,.55); overflow: hidden; }
.gen-pen { position: absolute; right: 8px; bottom: 6px; font-size: 1.55rem; animation: genWrite 1.6s ease-in-out infinite; }
@keyframes genWrite { 0%,100% { transform: translateX(0) rotate(0); } 50% { transform: translateX(-7px) rotate(-9deg); } }
.gen-lines { position: absolute; left: 12px; right: 12px; top: 16px; display: grid; gap: 9px; }
.gen-lines i { display: block; height: 6px; border-radius: 3px; background: linear-gradient(90deg, rgba(29,78,216,.28), rgba(29,78,216,.07)); width: 0; animation: genLine 2.4s ease-in-out infinite; }
.gen-lines i:nth-child(2) { animation-delay: .25s; }
.gen-lines i:nth-child(3) { animation-delay: .5s; }
.gen-lines i:nth-child(4) { animation-delay: .75s; }
.gen-lines i:nth-child(5) { animation-delay: 1s; }
.gen-lines i:nth-child(6) { animation-delay: 1.25s; }
@keyframes genLine { 0% { width: 0; opacity: .3; } 60%,100% { width: 100%; opacity: 1; } }
.gen-title { font-family: var(--display); font-weight: 700; color: #fff; font-size: clamp(1.2rem, 2.6vw, 1.55rem); text-align: center; margin-bottom: .5rem; }
.gen-status { text-align: center; color: rgba(255,255,255,.82); margin-bottom: 1.1rem; min-height: 1.4em; font-weight: 600; }
.gen-bar { height: 8px; max-width: 420px; margin: 0 auto 1.6rem; border-radius: 999px; background: rgba(255,255,255,.15); overflow: hidden; }
.gen-bar span { display: block; height: 100%; width: 0%; border-radius: 999px; background: linear-gradient(90deg, var(--primary-2), var(--accent)); transition: width .3s var(--ease-out); }
.gen-steps { list-style: none; max-width: 420px; margin: 0 auto; display: grid; gap: .55rem; }
.gen-steps li { display: flex; align-items: center; gap: .7rem; font-size: .92rem; color: rgba(255,255,255,.5); transition: color .3s; }
.gen-steps li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; flex: none; border: 2px solid rgba(255,255,255,.25); transition: all .3s; display: grid; place-items: center; font-size: .68rem; font-weight: 800; color: #fff; }
.gen-steps li.is-active { color: #fff; }
.gen-steps li.is-active::before { border-color: var(--primary-2); box-shadow: 0 0 0 4px rgba(37,99,235,.18); }
.gen-steps li.is-done { color: rgba(255,255,255,.92); }
.gen-steps li.is-done::before { content: "✓"; background: var(--accent); border-color: var(--accent); }
.gen-foot { text-align: center; color: rgba(255,255,255,.5); font-size: .82rem; margin-top: 1.4rem; }

/* ===== Vista previa del recurso (cabecera oficial visible, cuerpo borroso) ===== */
.prev-flash { text-align: center; margin-bottom: 1.2rem; }
.prev-check { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: rgba(11,174,121,.18); color: var(--accent); font-size: 1.6rem; font-weight: 800; margin-bottom: .7rem; animation: donePop .55s var(--ease-bounce) both; }
.prev-title { font-family: var(--display); font-weight: 800; color: #fff; font-size: clamp(1.3rem, 3vw, 1.7rem); margin-bottom: .4rem; }
.prev-sub { color: rgba(255,255,255,.8); max-width: 46ch; margin: 0 auto; }
.doc-paper { max-width: 580px; margin: 1.2rem auto 0; background: #fff; color: var(--ink); border-radius: 14px; box-shadow: 0 32px 70px -26px rgba(0,0,0,.6); overflow: hidden; text-align: left; }
.doc-head { padding: 1.5rem 1.8rem 1rem; border-bottom: 2px solid var(--ink); }
.doc-brand { font-family: var(--display); font-weight: 800; font-size: .78rem; letter-spacing: .08em; color: var(--primary); }
.doc-doctype { font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: .02em; color: var(--ink); margin-top: .2rem; }
.doc-clear { padding: 1.3rem 1.8rem .4rem; font-size: .9rem; line-height: 1.85; color: var(--ink); white-space: pre-wrap; text-align: justify; }
.doc-section { font-family: var(--display); font-weight: 800; font-size: .82rem; letter-spacing: .05em; color: var(--ink); text-align: center; margin: .4rem 0 0; }
.doc-bodywrap { position: relative; padding: .5rem 1.8rem 0; max-height: 118px; overflow: hidden; }
.doc-body { font-size: .9rem; line-height: 1.8; color: var(--ink-soft); white-space: pre-wrap; text-align: justify; filter: blur(4.6px); -webkit-user-select: none; user-select: none; pointer-events: none; }
.doc-fade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0) 8%, #fff 90%); }
.doc-lock { text-align: center; padding: .2rem 1.8rem 1.8rem; }
.doc-lock-ico { font-size: 1.8rem; display: block; margin-bottom: .4rem; }
.doc-lock-title { font-family: var(--display); font-weight: 800; font-size: 1.05rem; color: var(--ink); margin-bottom: .25rem; }
.doc-lock-sub { font-size: .88rem; color: var(--ink-mute); margin-bottom: 1rem; max-width: 40ch; margin-inline: auto; }
.doc-lock .btn { width: 100%; }
.doc-lock-legal { font-size: .8rem; color: var(--accent-2); font-weight: 600; margin-top: .7rem; }
.az-back-link { display: block; margin: 1.1rem auto 0; background: none; border: 0; color: rgba(255,255,255,.6); font: inherit; font-size: .88rem; cursor: pointer; }
.az-back-link:hover { color: #fff; }

/* ===== Upsell de presentación (tras descargar) ===== */
.diy-note { max-width: 470px; margin: 1.6rem auto 0; text-align: left; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; overflow: hidden; }
.diy-note summary { cursor: pointer; padding: .9rem 1.1rem; font-weight: 600; font-size: .92rem; color: rgba(255,255,255,.9); list-style: none; display: flex; align-items: center; justify-content: space-between; }
.diy-note summary::-webkit-details-marker { display: none; }
.diy-note summary::after { content: "▾"; color: rgba(255,255,255,.5); transition: transform .25s; }
.diy-note[open] summary::after { transform: rotate(180deg); }
.diy-note[open] summary { border-bottom: 1px solid rgba(255,255,255,.12); }
.diy-body { padding: 1rem 1.2rem 1.2rem; }
.diy-warn { font-size: .88rem; color: rgba(255,255,255,.72); margin-bottom: .8rem; }
.diy-steps { margin: 0 0 .9rem; padding-left: 1.2rem; display: grid; gap: .5rem; }
.diy-steps li { font-size: .86rem; color: rgba(255,255,255,.78); line-height: 1.5; }
.diy-steps li strong { color: #fff; }
.diy-foot { font-size: .92rem; font-weight: 700; color: var(--accent); text-align: center; margin: 0; }

.upsell { max-width: 480px; margin: 1.2rem auto 0; text-align: center; padding: 1.7rem 1.4rem; border-radius: 18px; background: linear-gradient(160deg, rgba(11,174,121,.18), rgba(255,255,255,.04)); border: 1.5px solid rgba(11,174,121,.42); box-shadow: 0 22px 50px -26px rgba(11,174,121,.5); }
.upsell-badge { display: inline-block; font-size: .76rem; font-weight: 800; color: var(--accent); background: rgba(11,174,121,.18); padding: .32rem .75rem; border-radius: 999px; margin-bottom: .8rem; }
.upsell-title { font-family: var(--display); font-weight: 800; color: #fff; font-size: 1.3rem; margin-bottom: .5rem; }
.upsell-text { font-size: .92rem; color: rgba(255,255,255,.85); margin-bottom: 1rem; max-width: 40ch; margin-inline: auto; }
.upsell-text strong { color: #fff; }
.upsell-points { list-style: none; display: grid; gap: .5rem; text-align: left; max-width: 330px; margin: 0 auto 1.3rem; }
.upsell-points li { display: flex; gap: .55rem; align-items: center; font-size: .9rem; color: rgba(255,255,255,.92); }
.upsell-points li span { color: var(--accent); font-weight: 800; flex: none; }
.upsell-skip { display: block; margin: .85rem auto 0; background: none; border: 0; color: rgba(255,255,255,.55); font: inherit; font-size: .86rem; cursor: pointer; }
.upsell-skip:hover { color: #fff; }

/* ===== Comprobante de presentación ===== */
.comprobante { max-width: 460px; margin: 1.2rem auto; background: #fff; color: var(--ink); border-radius: 14px; text-align: left; box-shadow: 0 26px 56px -24px rgba(0,0,0,.55); overflow: hidden; }
.comp-head { display: flex; align-items: center; gap: .55rem; padding: 1rem 1.4rem; font-family: var(--display); font-weight: 800; color: var(--ink); border-bottom: 1px solid var(--line); background: rgba(11,174,121,.09); }
.comp-ok { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .78rem; font-weight: 800; flex: none; }
.comp-meta { padding: 1rem 1.4rem 1.2rem; display: grid; gap: .55rem; margin: 0; }
.comp-meta div { display: flex; justify-content: space-between; gap: 1rem; font-size: .88rem; }
.comp-meta dt { color: var(--ink-mute); font-weight: 600; }
.comp-meta dd { margin: 0; color: var(--ink); font-weight: 700; text-align: right; }
.comp-state { color: var(--accent-2); }
.done-sub2 { font-size: .86rem; color: rgba(255,255,255,.65); max-width: 42ch; margin: 1rem auto 0; }

/* ===== Tipos de multa: etiqueta "Recurrible" + CTA ===== */
.fine { position: relative; }
.fine-tag { position: absolute; top: 1rem; right: 1rem; font-size: .64rem; font-weight: 800; letter-spacing: .01em; color: var(--accent-2); background: rgba(11,174,121,.12); padding: .22rem .5rem; border-radius: 999px; white-space: nowrap; }
.fine h3 { padding-right: 4.6rem; }
.fines-cta { text-align: center; margin-top: 2.4rem; }
.fines-cta-note { margin-top: .9rem; font-size: .86rem; color: var(--ink-mute); }
