/* =============================================================
   0. Fuentes alojadas en la propia web (sin Google Fonts = sin cookies ni datos a terceros)
   ============================================================= */
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("assets/fonts/sora.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("assets/fonts/manrope.woff2") format("woff2");
}

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg: #05070d;
  --bg-2: #0c1222;
  --bg-3: #121a30;
  --ink: #f4f7ff;
  --mute: #a3aec8;
  --line: rgba(244, 247, 255, 0.12);
  --accent: #3ec6ff;
  --accent-2: #1f6bff;
  --g1: #1f6bff;
  --g2: #3ec6ff;
  --g3: #2a3cff;

  --display: "Sora", system-ui, sans-serif;
  --sans: "Manrope", system-ui, sans-serif;

  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 22px;

  --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; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
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; }
ul, ol { list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; line-height: 1.05; letter-spacing: -0.03em; font-weight: 700; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: min(1200px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link {
  position: fixed; top: 1rem; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; background: var(--ink); color: var(--bg);
  border-radius: 8px; font-weight: 600;
  transform: translateY(-300%); opacity: 0;
}
.skip-link:focus { transform: none; opacity: 1; }
.kicker {
  font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
}

/* =============================================================
   4. Components
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .8rem 1.4rem; border-radius: 999px;
  font-weight: 700; font-size: 1rem; white-space: nowrap;
  transition: transform .4s var(--ease-out), background-color .3s var(--ease-out), color .3s var(--ease-out), border-color .3s var(--ease-out), box-shadow .4s var(--ease-out);
}
.btn-lg { min-height: 56px; padding: 1rem 1.7rem; font-size: 1.05rem; }
.btn-accent { background: var(--accent); color: var(--bg); box-shadow: 0 10px 40px -12px rgba(62, 198, 255, .55); }
.btn-accent:hover { transform: translateY(-2px); background: #6fd6ff; box-shadow: 0 16px 50px -12px rgba(62, 198, 255, .7); }
.btn-ghost { border: 1.5px solid rgba(244, 247, 255, .35); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(244, 247, 255, .06); transform: translateY(-2px); }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: .55rem; }
.brand-word { font-family: var(--display); font-weight: 800; font-size: 1.45rem; letter-spacing: -0.04em; color: var(--ink); }
.brand-word span { color: var(--accent); }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .4s var(--ease-out), border-color .4s var(--ease-out), backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(5, 7, 13, .9); border-bottom-color: var(--line); }
@supports (backdrop-filter: blur(12px)) {
  .nav.is-scrolled { background: rgba(5, 7, 13, .7); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); }
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 76px; }
.nav-links { display: none; gap: 2rem; font-weight: 600; font-size: .95rem; color: var(--mute); }
.nav-links a { position: relative; transition: color .3s var(--ease-out); }
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { min-height: 44px; padding: .55rem 1.15rem; font-size: .95rem; }
.nav-menu-cta { display: none; }

/* Botón de menú móvil */
.nav-toggle {
  display: none; position: relative; width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid rgba(244, 247, 255, .3);
}
.nav-toggle span {
  position: absolute; left: 50%; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .45s var(--ease-out), top .45s var(--ease-out);
}
.nav-toggle span:first-child { top: 19px; transform: translateX(-50%); }
.nav-toggle span:last-child { top: 27px; transform: translateX(-50%); }
.nav.is-open .nav-toggle span:first-child { top: 23px; transform: translateX(-50%) rotate(45deg); }
.nav.is-open .nav-toggle span:last-child { top: 23px; transform: translateX(-50%) rotate(-45deg); }

@media (max-width: 959px) {
  .js .nav-toggle { display: inline-block; }
  .js .nav-links {
    position: fixed; inset: 76px 0 auto 0; display: flex; flex-direction: column; gap: .2rem;
    padding: 1.2rem var(--gutter) 2rem; background: var(--bg); min-height: calc(100svh - 76px);
    border-bottom: 1px solid var(--line);
    font-size: 1.35rem; font-family: var(--display); color: var(--ink);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .35s var(--ease-out), transform .45s var(--ease-out), visibility .35s;
  }
  .js .nav-links a:not(.btn) { padding: .75rem 0; border-bottom: 1px solid var(--line); }
  .js .nav-links a::after { display: none; }
  .js .nav-menu-cta { display: inline-flex; margin-top: 1.2rem; }
  .nav.is-open { background: var(--bg); border-bottom-color: var(--line); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav.is-open .nav-links { opacity: 1; transform: none; visibility: visible; }
}

/* =============================================================
   5. Sections
   ============================================================= */
section { position: relative; }

/* Hero */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px 0 80px;
  isolation: isolate;
}
.hero-gradient {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(circle 520px at var(--mx, 70%) var(--my, 35%), rgba(31, 107, 255, .75) 0%, transparent 60%),
    radial-gradient(circle 680px at calc(var(--mx, 70%) - 18%) calc(var(--my, 35%) + 22%), rgba(62, 198, 255, .45) 0%, transparent 60%),
    radial-gradient(circle 900px at 10% 110%, rgba(42, 60, 255, .35) 0%, transparent 60%),
    var(--bg);
  filter: blur(30px) saturate(140%);
  transition: background .25s linear;
}
.hero-gradient::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,7,13,0) 55%, var(--bg) 100%);
}
.hero-grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner { display: flex; flex-direction: column; gap: 1.6rem; }
.hero-title {
  font-size: clamp(2.7rem, 8.4vw, 7.4rem);
  line-height: .98;
  font-weight: 800;
  letter-spacing: -0.045em;
  max-width: 14ch;
  margin-bottom: 1.1rem;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--accent) 0%, #8fdcff 45%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #c7d0e6; max-width: 52ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; padding-top: .4rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; padding-top: 1rem; color: #c7d0e6; font-weight: 600; font-size: .98rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-trust li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }

/* Manifesto */
.manifesto { padding: clamp(5rem, 12vw, 9rem) 0; }
.manifesto-text {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.45rem, 3.2vw, 2.6rem); line-height: 1.25; letter-spacing: -0.02em;
  max-width: 30ch; margin-inline: auto; text-align: center; color: #dfe5f4;
}
.manifesto-text .hl { color: var(--accent); }

/* Section heads */
.section-head { display: flex; flex-direction: column; gap: .9rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-title { font-size: clamp(2.1rem, 5.2vw, 4.2rem); font-weight: 800; letter-spacing: -0.04em; max-width: 18ch; }
.section-sub { color: var(--mute); font-size: 1.1rem; }

/* Services rows */
.services { padding: clamp(4rem, 9vw, 7rem) 0; }
.rows { border-top: 1px solid var(--line); }
.row { border-bottom: 1px solid var(--line); }
.row-h { font: inherit; letter-spacing: normal; line-height: inherit; }
.row-head {
  width: 100%; display: grid; align-items: center; text-align: left;
  grid-template-columns: 2.6rem 1fr 2rem; column-gap: 1rem; row-gap: .2rem;
  padding: 1.6rem 0; min-height: 64px;
  transition: color .3s var(--ease-out);
}
.row-num { font-family: var(--display); font-weight: 600; color: var(--accent); font-size: .95rem; }
.row-name {
  font-family: var(--display); font-weight: 700; letter-spacing: -0.03em;
  font-size: clamp(1.5rem, 3.6vw, 2.8rem); line-height: 1.1;
  transition: transform .5s var(--ease-out), color .3s var(--ease-out);
}
.row-brief { display: none; color: var(--mute); font-size: 1rem; }
.row-icon { position: relative; width: 28px; height: 28px; justify-self: end; }
.row-icon::before, .row-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 2px; background: var(--ink);
  transform: translate(-50%, -50%); transition: transform .5s var(--ease-out), background-color .3s;
}
.row-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.row-head:hover .row-name { transform: translateX(10px); color: var(--accent); }
.row.is-open .row-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.row.is-open .row-icon::before, .row.is-open .row-icon::after { background: var(--accent); }
.row-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-out); }
.row.is-open .row-body { grid-template-rows: 1fr; }
.row-body-inner { overflow: hidden; }
.row-body p { padding: 0 0 1.8rem 3.6rem; max-width: 62ch; color: #c7d0e6; font-size: 1.08rem; }
/* Sin JS: todo abierto */
html:not(.js) .row-body { grid-template-rows: 1fr; }

/* Stats */
.stats { padding: clamp(3rem, 7vw, 5rem) 0; border-block: 1px solid var(--line); background: var(--bg-2); }
.stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.2rem 1.5rem; }
.stat { display: flex; flex-direction: column; gap: .35rem; }
.stat-num { font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -0.05em; line-height: 1; color: var(--ink); }
.stat-label { color: var(--mute); font-size: .98rem; max-width: 22ch; }

/* Sectores */
.sectors { padding: clamp(5rem, 10vw, 8rem) 0 0; }
.sectors-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sector {
  background: var(--bg); padding: 1.8rem 1.6rem; display: flex; flex-direction: column; gap: .45rem;
  transition: background-color .4s var(--ease-out);
}
.sector:hover { background: var(--bg-2); }
.sector h3 { font-size: 1.3rem; }
.sector:hover h3 { color: var(--accent); }
.sector p { color: var(--mute); }

/* Revisión gratis */
.audit { padding: 0 0 clamp(4rem, 9vw, 7rem); }
.audit-box {
  display: flex; flex-direction: column; gap: 1.8rem; align-items: flex-start;
  padding: clamp(2rem, 5vw, 3.5rem); border-radius: 28px;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(62, 198, 255, .25), transparent 60%),
    radial-gradient(70% 100% at 0% 100%, rgba(31, 107, 255, .3), transparent 60%),
    var(--bg-2);
  border: 1px solid rgba(62, 198, 255, .35);
}
.audit-text { display: flex; flex-direction: column; gap: .9rem; max-width: 640px; }
.audit-title { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -0.035em; }
.audit-text p:last-child { color: #c7d0e6; font-size: 1.08rem; }

/* Packs */
.packs { padding: clamp(5rem, 10vw, 8rem) 0; }
.packs-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; align-items: stretch; }
.pack {
  position: relative; display: flex; flex-direction: column; gap: 1.3rem;
  padding: 2.2rem 1.9rem; border-radius: var(--radius);
  background: var(--bg-2); border: 1px solid var(--line);
  transition: transform .5s var(--ease-out), border-color .4s var(--ease-out), box-shadow .5s var(--ease-out);
}
.pack:hover { transform: translateY(-6px); border-color: rgba(62, 198, 255, .45); box-shadow: 0 30px 60px -30px rgba(31, 107, 255, .55); }
.pack-featured {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(62, 198, 255, .22), transparent 60%),
    linear-gradient(180deg, #0f1d3d, #0c1426);
  border-color: rgba(62, 198, 255, .55);
}
.pack-badge {
  align-self: flex-start; padding: .35rem .8rem; border-radius: 999px;
  background: var(--accent); color: var(--bg); font-size: .8rem; font-weight: 800; letter-spacing: .02em;
}
.pack-name { font-size: 1.7rem; }
.pack-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem; }
.pack-price strong { font-family: var(--display); font-size: clamp(2.8rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.pack-price span { color: var(--mute); font-weight: 600; }
.pack-price .pack-from { font-size: 1rem; color: #c7d0e6; align-self: center; }
.pack-list { display: flex; flex-direction: column; gap: .8rem; flex-grow: 1; }
.pack-list li { position: relative; padding-left: 1.9rem; color: #d6ddee; }
.pack-list li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 1.1rem; height: 1.1rem;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.pack-list li.is-extra { color: var(--mute); }
.pack-list li.is-extra::before { background: var(--mute); }
.pack .btn { width: 100%; }
.packs-note { margin-top: 2rem; text-align: center; color: #c7d0e6; font-size: 1.05rem; }
.packs-note strong { color: var(--ink); }
.packs-note a { color: var(--accent); font-weight: 700; white-space: nowrap; }
.packs-note a:hover { text-decoration: underline; }

/* Process */
.process { padding: clamp(4rem, 9vw, 7rem) 0; background: var(--bg-2); border-block: 1px solid var(--line); }
.process-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; counter-reset: none; }
.step { padding: 2rem 1.8rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); display: flex; flex-direction: column; gap: .7rem; }
.step-num {
  font-family: var(--display); font-weight: 800; font-size: 3.2rem; line-height: 1; letter-spacing: -0.05em;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { font-size: 1.45rem; }
.step p { color: var(--mute); }

/* Why */
.why { padding: clamp(4rem, 9vw, 7rem) 0; }
.why-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.why-item { border-top: 2px solid var(--ink); padding-top: 1.2rem; display: flex; flex-direction: column; gap: .4rem; }
.why-item h3 { font-size: 1.3rem; }
.why-item p { color: var(--mute); }

/* FAQ */
.faq { padding: clamp(4rem, 9vw, 7rem) 0; }
.faq-inner { max-width: 900px; }
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.4rem 0; min-height: 56px;
  font-family: var(--display); font-weight: 600; font-size: clamp(1.1rem, 2vw, 1.35rem); letter-spacing: -0.02em;
  transition: color .3s var(--ease-out);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.6rem; color: var(--accent); transition: transform .4s var(--ease-out); flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--accent); }
.faq-item p { padding: 0 0 1.5rem; color: #c7d0e6; max-width: 65ch; }

/* Contact */
.contact { padding: clamp(6rem, 14vw, 11rem) 0; text-align: center; isolation: isolate; overflow: clip; }
.contact-gradient { --mx: 50%; --my: 60%; opacity: .8; }
.contact-gradient::after { background: linear-gradient(180deg, var(--bg) 0%, rgba(5,7,13,0) 35%, rgba(5,7,13,0) 70%, var(--bg) 100%); }
.contact-inner { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; }
.contact-title { font-size: clamp(2.3rem, 6.4vw, 5.4rem); font-weight: 800; letter-spacing: -0.045em; max-width: 16ch; }
.contact-link {
  position: relative; display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 3.4vw, 2.4rem); letter-spacing: -0.03em;
  color: var(--accent); padding-bottom: .3rem;
}
.contact-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px;
  background: currentColor; transform: scaleX(.25); transform-origin: left;
  transition: transform .6s var(--ease-out);
}
.contact-link:hover::after { transform: scaleX(1); }
.contact-link span { transition: transform .5s var(--ease-out); }
.contact-link:hover span { transform: translateX(6px); }
.contact-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1rem; color: var(--mute); font-weight: 600; }
.contact-meta a:hover { color: var(--ink); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 3.5rem 0 6rem; color: var(--mute); font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.2rem; }
.footer-brand { display: flex; flex-direction: column; gap: .5rem; }
.footer .brand-word { font-size: 1.5rem; }
.footer-col { display: flex; flex-direction: column; gap: .55rem; }
.footer-col a { transition: color .3s var(--ease-out); width: fit-content; min-height: 28px; }
.footer-col a:hover { color: var(--ink); }
.footer-h { color: var(--ink); font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .3rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; margin-top: 2.8rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: .88rem; }

/* Páginas legales y 404 */
.page { padding: 140px 0 6rem; }
.page .container { max-width: 820px; }
.page h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.04em; margin-bottom: 1rem; }
.page h2 { font-size: 1.4rem; margin: 2.4rem 0 .8rem; }
.page p, .page li { color: #c7d0e6; margin-bottom: .8rem; }
.page ul { list-style: disc; padding-left: 1.3rem; }
.page a:not(.btn) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.page .updated { color: var(--mute); font-size: .92rem; }
.page .todo { background: rgba(62, 198, 255, .12); color: var(--accent); padding: 0 .3rem; border-radius: 4px; font-weight: 700; }
.nav-simple .nav-inner { justify-content: space-between; }
.notfound { min-height: 100svh; display: flex; align-items: center; text-align: center; }
.notfound .container { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.notfound-num { font-family: var(--display); font-weight: 800; font-size: clamp(6rem, 22vw, 14rem); line-height: .9; letter-spacing: -0.06em; background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--bg);
  box-shadow: 0 14px 40px -10px rgba(62, 198, 255, .7);
  transition: transform .4s var(--ease-out);
}
.wa-float:hover { transform: scale(1.07); }

/* =============================================================
   7. Effects — reveal
   ============================================================= */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }
/* Defensive: never hide split text */
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 720px) {
  .stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .row-head { grid-template-columns: 3.6rem 1fr auto 2.2rem; }
  .row-brief { display: block; padding-right: 1.5rem; }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sectors-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer { padding-bottom: 2.5rem; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .packs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pack-featured { transform: translateY(-14px); }
  .pack-featured:hover { transform: translateY(-20px); }
  .why-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sectors-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .audit-box { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (max-width: 539px) {
  .hero-ctas .btn { width: 100%; }
  .row-body p { padding-left: 0; }
  .nav-cta { display: none; }
}

/* =============================================================
   9. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-gradient { transition: none; }
}

/* =============================================================
   10. Bloques v2: 3-Pack, tarjeta NFC, calculadora, comparativa,
       gestión mensual, garantía, quién hay detrás, formulario
   ============================================================= */
.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; }
.hp { position: absolute; left: -9999px; }
.lead-p { color: #c7d0e6; font-size: 1.12rem; max-width: 56ch; }
.lead-p strong { color: var(--ink); }

/* 3-Pack */
.localpack { padding: clamp(4rem, 9vw, 7rem) 0; }
.localpack-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.localpack-text { display: flex; flex-direction: column; gap: 1.6rem; }
.localpack-text .section-head { margin-bottom: 0; }
.bigstat { display: flex; align-items: center; gap: 1.4rem; padding: 1.4rem 1.6rem; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); }
.bigstat-num { font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 6vw, 3.6rem); letter-spacing: -0.05em; line-height: 1; background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; flex-shrink: 0; }
.bigstat-text { color: #d6ddee; font-size: 1rem; }
.bigstat-src { display: block; margin-top: .35rem; color: var(--mute); font-size: .85rem; }
.phone-mock {
  width: min(360px, 100%); margin-inline: auto; padding: 1.1rem; border-radius: 36px;
  background: #0b1120; border: 1px solid rgba(244,247,255,.14);
  box-shadow: 0 40px 80px -30px rgba(31,107,255,.55); display: flex; flex-direction: column; gap: .7rem;
}
.pm-search { display: flex; align-items: center; gap: .6rem; background: #f4f7ff; color: #05070d; border-radius: 999px; padding: .75rem 1rem; font-weight: 700; font-size: .95rem; }
.pm-search svg { width: 18px; height: 18px; flex-shrink: 0; }
.pm-map { position: relative; height: 130px; border-radius: 18px; background:
  linear-gradient(90deg, rgba(244,247,255,.06) 1px, transparent 1px) 0 0/28px 28px,
  linear-gradient(0deg, rgba(244,247,255,.06) 1px, transparent 1px) 0 0/28px 28px, #101a33; }
.pm-pin { position: absolute; width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; background: var(--accent-2); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .85rem; box-shadow: 0 6px 16px rgba(31,107,255,.6); }
.pm-pin { line-height: 1; }
.pm-pin.p1 { left: 22%; top: 30%; } .pm-pin.p2 { left: 55%; top: 18%; } .pm-pin.p3 { left: 70%; top: 55%; }
.pm-res { display: flex; flex-direction: column; gap: .15rem; padding: .7rem .9rem; border-radius: 14px; background: #121c33; font-size: .9rem; }
.pm-res b { font-weight: 700; }
.pm-res span { color: var(--mute); font-size: .82rem; }
.pm-you { opacity: .4; border: 1.5px dashed rgba(244,247,255,.35); background: transparent; }

/* Tarjeta NFC */
.nfc { padding: clamp(4rem, 9vw, 7rem) 0; background: var(--bg-2); border-block: 1px solid var(--line); }
.nfc-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.nfc-visual { position: relative; height: 340px; display: flex; align-items: center; justify-content: center; }
.nfc-card-v { position: relative; width: 230px; height: 290px; border-radius: 26px; background: linear-gradient(160deg, #1f6bff, #0a2a7a); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; text-align: center; box-shadow: 0 30px 70px -20px rgba(31,107,255,.8); }
.nfc-stars { color: #f2b705; letter-spacing: 4px; font-size: 1.3rem; }
.nfc-card-t { font-family: var(--display); font-weight: 700; font-size: 1.15rem; line-height: 1.2; }
.nfc-waves { position: relative; width: 70px; height: 70px; }
.nfc-waves i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(244,247,255,.85); animation: nfcPulse 2.4s var(--ease-out) infinite; }
.nfc-waves i:nth-child(2) { animation-delay: .8s; } .nfc-waves i:nth-child(3) { animation-delay: 1.6s; }
@keyframes nfcPulse { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.nfc-phone { position: absolute; right: calc(50% - 235px); top: 60px; width: 110px; height: 200px; border-radius: 22px; border: 3px solid #f4f7ff; background: #05070d; transform: rotate(12deg); animation: nfcTap 3.2s var(--ease-soft) infinite; }
.nfc-phone span { position: absolute; left: 50%; top: 8px; width: 34px; height: 5px; border-radius: 3px; background: rgba(244,247,255,.5); transform: translateX(-50%); }
@keyframes nfcTap { 0%, 100% { transform: translate(0,0) rotate(12deg); } 45%, 60% { transform: translate(-34px, 36px) rotate(6deg); } }
.nfc-steps { display: flex; flex-direction: column; gap: 1.1rem; }
.nfc-steps li { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.3rem 1.4rem; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.nfc-n { flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: var(--bg); font-family: var(--display); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.nfc-steps h3 { font-size: 1.2rem; margin-bottom: .25rem; }
.nfc-steps p { color: var(--mute); }
.nfc-cta { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; padding: 1.4rem 1.6rem; border-radius: var(--radius); border: 1px solid rgba(62,198,255,.4); background: rgba(31,107,255,.08); }
.nfc-cta p { color: #d6ddee; }
.nfc-cta strong { color: var(--ink); }

/* Calculadora */
.calc { padding: clamp(4rem, 9vw, 7rem) 0; }
.calc-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.calc-grid .section-head { margin-bottom: 0; }
.calc-box { display: flex; flex-direction: column; gap: 1.4rem; padding: clamp(1.5rem, 4vw, 2.4rem); border-radius: 28px;
  background: radial-gradient(100% 80% at 100% 0%, rgba(62,198,255,.18), transparent 60%), var(--bg-2); border: 1px solid rgba(62,198,255,.35); }
.calc-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.calc-f { display: flex; flex-direction: column; gap: .4rem; font-size: .9rem; font-weight: 600; color: #c7d0e6; }
.calc-f input, .cf input, .cf select {
  width: 100%; min-height: 50px; padding: .7rem .9rem; border-radius: 14px; border: 1.5px solid rgba(244,247,255,.2);
  background: var(--bg); color: var(--ink); font: inherit; font-size: 1.05rem; font-weight: 700;
}
.calc-f input:focus, .cf input:focus, .cf select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(62,198,255,.25); }
.calc-out { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.calc-num { font-family: var(--display); font-weight: 800; font-size: clamp(3.4rem, 9vw, 5rem); line-height: 1; letter-spacing: -0.05em; background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.calc-txt { font-size: 1.1rem; color: #d6ddee; max-width: 26ch; }
.calc-tip { color: var(--mute); font-size: .95rem; }
.calc-box .btn { align-self: flex-start; }

/* Comparativa */
.compare { padding: clamp(4rem, 9vw, 7rem) 0 0; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.cmp { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .98rem; }
.cmp th, .cmp td { padding: 1rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line); }
.cmp thead th { font-family: var(--display); font-size: 1.05rem; color: var(--mute); background: var(--bg-2); }
.cmp tbody th { font-weight: 700; color: #d6ddee; }
.cmp td { color: var(--mute); }
.cmp .cmp-us { color: var(--ink); font-weight: 700; background: rgba(31,107,255,.12); }
.cmp thead .cmp-us { color: var(--accent); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp-note { margin-top: .9rem; color: var(--mute); font-size: .85rem; }

/* Gestión mensual */
.monthly { padding: clamp(4rem, 9vw, 7rem) 0; }
.monthly-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
.mcard { padding: 1.8rem 1.6rem; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: .6rem; transition: transform .5s var(--ease-out), border-color .4s; }
.mcard:hover { transform: translateY(-4px); border-color: rgba(62,198,255,.4); }
.mcard-i { width: 48px; height: 48px; border-radius: 14px; background: rgba(62,198,255,.12); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.mcard-i svg { width: 26px; height: 26px; }
.mcard h3 { font-size: 1.25rem; }
.mcard p { color: var(--mute); }

/* Garantía */
.guarantee { padding: 0 0 clamp(4rem, 9vw, 7rem); }
.guar-box { display: flex; flex-direction: column; gap: 1.6rem; padding: clamp(2rem, 5vw, 3rem); border-radius: 28px; border: 1.5px solid rgba(62,198,255,.45);
  background: radial-gradient(80% 120% at 0% 0%, rgba(31,107,255,.25), transparent 60%), var(--bg-2); }
.guar-seal { width: 72px; height: 72px; border-radius: 50%; background: var(--accent); color: var(--bg); display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 0 40px rgba(62,198,255,.5); }
.guar-seal svg { width: 40px; height: 40px; }
.guar-text { display: flex; flex-direction: column; gap: .9rem; }
.guar-title { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; letter-spacing: -0.035em; }
.guar-list { display: flex; flex-direction: column; gap: .6rem; color: #c7d0e6; }
.guar-list li { padding-left: 1.6rem; position: relative; }
.guar-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.guar-list strong { color: var(--ink); }

/* Quién hay detrás */
.about { padding: clamp(4rem, 9vw, 7rem) 0; border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; max-width: 960px; }
.about-avatar { width: 140px; height: 140px; border-radius: 50%; background: linear-gradient(140deg, var(--accent), var(--accent-2)); display: flex; align-items: center; justify-content: center; box-shadow: 0 20px 60px -15px rgba(31,107,255,.7); }
.about-avatar span { font-family: var(--display); font-weight: 800; font-size: 4rem; color: var(--bg); }
.about-text { display: flex; flex-direction: column; gap: 1rem; }
.about-text p { color: #c7d0e6; font-size: 1.08rem; max-width: 60ch; }
.about-text .about-sign { font-family: var(--display); font-weight: 700; color: var(--ink); font-size: 1rem; }

/* Formulario */
.cform { width: min(720px, 100%); margin-top: 2rem; text-align: left; display: flex; flex-direction: column; gap: 1.1rem; padding: clamp(1.4rem, 4vw, 2.2rem); border-radius: 26px; background: rgba(12,18,34,.85); border: 1px solid var(--line); }
.cform-title { font-family: var(--display); font-weight: 700; font-size: 1.3rem; }
.cform-grid { display: grid; grid-template-columns: 1fr; gap: .9rem; }
.cf { display: flex; flex-direction: column; gap: .4rem; font-size: .9rem; font-weight: 600; color: #c7d0e6; }
.cf input, .cf select { font-weight: 500; }
.cf-check { display: flex; gap: .7rem; align-items: flex-start; color: var(--mute); font-size: .92rem; }
.cf-check input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--accent); flex-shrink: 0; }
.cf-check a { color: var(--accent); text-decoration: underline; }
.cform .btn { align-self: flex-start; }

@media (min-width: 720px) {
  .cform-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .monthly-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guar-box { flex-direction: row; align-items: flex-start; }
  .about-grid { grid-template-columns: auto 1fr; gap: 3rem; }
}
@media (min-width: 960px) {
  .localpack-grid { grid-template-columns: 1.2fr 1fr; gap: 4rem; }
  .nfc-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .calc-grid { grid-template-columns: 1fr 1.1fr; gap: 4rem; }
  .monthly-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 539px) {
  .calc-fields { grid-template-columns: 1fr; }
  .nfc-card-v { width: 190px; height: 250px; }
  .nfc-phone { right: calc(50% - 160px); width: 70px; height: 130px; top: 165px; border-radius: 16px; }
  .bigstat { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .nfc-waves i, .nfc-phone { animation: none; }
}

/* Servicios sueltos */
.solo { margin-top: 2.5rem; padding: clamp(1.5rem, 4vw, 2.2rem); border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 1.4rem; }
.solo-title { font-size: 1.4rem; }
.solo-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.solo-grid li { display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; row-gap: .1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.solo-grid li span { color: #d6ddee; font-weight: 600; }
.solo-grid li b { font-family: var(--display); font-weight: 800; font-size: 1.15rem; color: var(--ink); text-align: right; white-space: nowrap; }
.solo-grid li small { grid-column: 1 / -1; color: var(--mute); font-size: .85rem; }
.solo .btn { align-self: flex-start; }
@media (min-width: 720px) { .solo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; } }

/* =============================================================
   11. Bloques v3: lanzamiento, plataformas, ejemplos, timeline, barra móvil
   ============================================================= */
.launch-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: .6rem; padding: .5rem 1rem; border-radius: 999px; background: rgba(62,198,255,.1); border: 1px solid rgba(62,198,255,.4); color: #d9f3ff; font-size: .9rem; font-weight: 700; transition: background-color .3s var(--ease-out); }
.launch-pill:hover { background: rgba(62,198,255,.2); }
.launch-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(62,198,255,.7); animation: launchPulse 2s infinite; }
@keyframes launchPulse { 70% { box-shadow: 0 0 0 10px rgba(62,198,255,0); } 100% { box-shadow: 0 0 0 0 rgba(62,198,255,0); } }

.platforms { border-block: 1px solid var(--line); background: var(--bg-2); }
.platforms-inner { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.6rem; padding-block: 1.3rem; }
.platforms-label { color: var(--mute); font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.platforms-list { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; }
.platforms-list li { font-family: var(--display); font-weight: 700; color: #d6ddee; font-size: 1rem; }

/* Ejemplos */
.demos { padding: clamp(4rem, 9vw, 7rem) 0; background: var(--bg-2); border-block: 1px solid var(--line); }
.demos-grid { display: grid; grid-template-columns: 1fr; gap: 1.6rem; }
.demo { display: flex; flex-direction: column; gap: .8rem; }
.demo figcaption { color: var(--mute); font-size: .92rem; }
.demo figcaption b { color: var(--ink); }
.demo-browser { border-radius: 18px; overflow: hidden; border: 1px solid rgba(244,247,255,.14); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); transition: transform .5s var(--ease-out); }
.demo:hover .demo-browser { transform: translateY(-6px); }
.demo-bar { display: flex; align-items: center; gap: 6px; padding: .6rem .8rem; background: #1a2238; }
.demo-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(244,247,255,.25); }
.demo-bar span { margin-left: .5rem; font-size: .75rem; color: var(--mute); background: rgba(5,7,13,.5); padding: .15rem .6rem; border-radius: 999px; }
.demo-body { padding: 1.6rem 1.4rem 1.4rem; min-height: 260px; display: flex; flex-direction: column; gap: .55rem; }
.demo-tag { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.demo-h { font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1.05; letter-spacing: -0.03em; }
.demo-sub { font-size: .88rem; opacity: .85; }
.demo-btn { align-self: flex-start; margin-top: .3rem; padding: .45rem .9rem; border-radius: 999px; font-size: .8rem; font-weight: 800; }
.demo-items { margin-top: auto; display: flex; flex-wrap: wrap; gap: .4rem; }
.demo-items span { font-size: .75rem; font-weight: 700; padding: .3rem .6rem; border-radius: 8px; }
/* Peluquería: crema y terracota */
.d-peluqueria .demo-body { background: #f6efe7; color: #2b1d16; }
.d-peluqueria .demo-tag { color: #b5563a; }
.d-peluqueria .demo-h { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-style: italic; letter-spacing: -0.01em; }
.d-peluqueria .demo-btn { background: #b5563a; color: #fff; }
.d-peluqueria .demo-items span { background: #ead9c8; }
/* Bar: verde oscuro y mostaza */
.d-bar .demo-body { background: #14261c; color: #f4ecd8; }
.d-bar .demo-tag { color: #e7b53c; }
.d-bar .demo-btn { background: #e7b53c; color: #14261c; }
.d-bar .demo-items span { background: rgba(244,236,216,.12); }
/* Taller: blanco y rojo */
.d-taller .demo-body { background: #ffffff; color: #111827; }
.d-taller .demo-tag { color: #d62828; }
.d-taller .demo-h { text-transform: uppercase; letter-spacing: -0.01em; }
.d-taller .demo-btn { background: #d62828; color: #fff; }
.d-taller .demo-items span { background: #eef0f3; }
.demos-cta { margin-top: 2.2rem; display: flex; justify-content: center; }

/* Timeline */
.timeline { margin-top: 2.2rem; padding: 1.6rem; border-radius: var(--radius); border: 1px solid rgba(62,198,255,.35); background: rgba(31,107,255,.08); }
.timeline-title { font-family: var(--display); font-weight: 700; font-size: 1.15rem; margin-bottom: 1rem; }
.timeline-list { display: grid; grid-template-columns: 1fr; gap: .8rem; counter-reset: none; }
.timeline-list li { display: flex; flex-direction: column; gap: .15rem; padding-left: 1.2rem; border-left: 3px solid var(--accent); }
.timeline-list b { font-family: var(--display); color: var(--accent); }
.timeline-list span { color: #d6ddee; }

/* Barra fija móvil */
.mbar { display: none; }
@media (max-width: 719px) {
  .mbar { display: grid; grid-template-columns: 1fr 1.4fr; gap: .6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(5,7,13,.94); border-top: 1px solid var(--line); }
  .mbar a { min-height: 48px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: .5rem; font-weight: 800; }
  .mbar-call { border: 1.5px solid rgba(244,247,255,.35); color: var(--ink); }
  .mbar-wa { background: var(--accent); color: var(--bg); }
  .wa-float { display: none; }
  body { padding-bottom: 72px; }
}
@media (min-width: 720px) {
  .demos-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .timeline-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .launch-dot { animation: none; } }

/* ============ 12. Subpáginas: sectores y blog ============ */
.mbar { grid-template-columns: 1fr !important; }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); } }
.sector-link { padding: 0 !important; }
.sector-link a { display: flex; flex-direction: column; gap: .45rem; height: 100%; padding: 1.8rem 1.6rem; }
.sector-more { margin-top: auto; padding-top: .6rem; color: var(--accent); font-weight: 700; font-size: .95rem; }
.sector-link:hover .sector-more { text-decoration: underline; text-underline-offset: 3px; }

.sub-hero { position: relative; overflow: hidden; padding: 150px 0 clamp(3.5rem, 8vw, 6rem); isolation: isolate; }
.sub-hero .hero-gradient { opacity: .7; }
.sub-hero-inner { display: flex; flex-direction: column; gap: 1.4rem; position: relative; }
.sub-title { font-size: clamp(2.5rem, 7vw, 5.4rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.045em; max-width: 16ch; }
.sub-title em, .post-title em { font-style: normal; background: linear-gradient(100deg, var(--accent), #8fdcff 45%, var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .9rem; color: var(--mute); }
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { opacity: .5; }
.crumbs [aria-current] { color: #c7d0e6; }

.sub-sec { padding: clamp(3.5rem, 8vw, 6rem) 0 0; }
.pains { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.pain { padding: 1.8rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); display: flex; flex-direction: column; gap: .6rem; }
.pain h3 { font-size: 1.2rem; }
.pain h3::before { content: "✕"; display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: .6rem; border-radius: 50%; background: rgba(255, 92, 92, .14); color: #ff8a8a; font-size: .8rem; vertical-align: 2px; }
.pain p { color: var(--mute); }
.fixes { border-top: 1px solid var(--line); }
.fix { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem 1.6rem; padding: 1.8rem 0; border-bottom: 1px solid var(--line); }
.fix-n { min-width: 2.4ch; font-family: "Sora", sans-serif; font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--accent); line-height: 1; }
.fix h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin-bottom: .4rem; }
.fix p { color: #c7d0e6; max-width: 62ch; }
.reco { display: grid; gap: 2rem; align-items: center; padding: clamp(1.6rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); background: radial-gradient(600px 300px at 0% 0%, rgba(31, 107, 255, .22), transparent 70%), var(--bg-2); }
.reco-text { display: flex; flex-direction: column; gap: .9rem; }
.reco-title { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; letter-spacing: -0.04em; }
.reco-text p { color: #c7d0e6; max-width: 52ch; }
.reco-text .reco-note { color: var(--mute); font-size: .92rem; }
.sub-faq { padding-bottom: 0; }
.cta-band { padding: clamp(3.5rem, 8vw, 6rem) 0 0; }
.more { padding-bottom: clamp(3.5rem, 8vw, 6rem); }
.more-links { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
.more-links a { display: inline-flex; min-height: 44px; align-items: center; padding: .5rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; transition: border-color .3s, color .3s; }
.more-links a:hover { border-color: var(--accent); color: var(--accent); }

.posts { display: grid; gap: 1.2rem; grid-template-columns: 1fr; margin-top: 1rem; }
.post-card { height: 100%; display: flex; flex-direction: column; gap: .8rem; padding: 2rem 1.8rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); transition: border-color .3s, transform .4s var(--ease-out); }
.post-card:hover { border-color: rgba(62, 198, 255, .55); transform: translateY(-4px); }
.post-card h2, .post-card h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.2; }
.post-card p { color: var(--mute); }
.post-tag { align-self: flex-start; padding: .25rem .7rem; border-radius: 999px; background: rgba(62, 198, 255, .12); color: var(--accent); font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.post-meta { margin-top: auto; color: var(--accent); font-weight: 700; font-size: .92rem; }
.prose-w { max-width: 780px; }
.post-hero .prose-w { display: flex; flex-direction: column; gap: 1.2rem; position: relative; }
.post-title { font-size: clamp(2.1rem, 5.5vw, 3.6rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.04em; }
.post-by { color: var(--mute); font-size: .95rem; }
.prose { font-size: 1.08rem; line-height: 1.75; }
.prose .lede { font-size: 1.22rem; color: var(--ink); margin-bottom: 2rem; }
.prose h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); letter-spacing: -0.03em; margin: 2.6rem 0 .9rem; scroll-margin-top: 90px; }
.prose p, .prose li { color: #c7d0e6; }
.prose p { margin-bottom: 1rem; }
.prose ul { list-style: none; margin: 0 0 1.2rem; display: flex; flex-direction: column; gap: .55rem; }
.prose ul li { position: relative; padding-left: 1.5rem; }
.prose ul li::before { content: ""; position: absolute; left: .2rem; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.toc { padding: 1.4rem 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); margin-bottom: 1rem; }
.toc ol { list-style: decimal; padding-left: 1.3rem; display: flex; flex-direction: column; gap: .35rem; font-size: 1rem; }
.toc a { color: #c7d0e6; }
.toc a:hover { color: var(--accent); }
.prose-cta { margin-top: 2.4rem; }
@media (min-width: 700px) {
  .pains { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .posts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .posts-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) { .reco { grid-template-columns: 1.2fr 1fr; } }
.cta-band:last-child { padding-bottom: clamp(3.5rem, 8vw, 6rem); }

/* ============ 13. Ilustraciones ============ */
.sub-hero-text { display: flex; flex-direction: column; gap: 1.4rem; }
.sub-art { margin: 0; }
.sub-art-img, .post-cover-img { display: block; width: 100%; height: auto; border-radius: calc(var(--radius) + 4px); border: 1px solid var(--line); box-shadow: 0 40px 90px -40px rgba(31, 107, 255, .55); }
@media (min-width: 960px) {
  .sub-hero-inner.has-art { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
  .has-art .sub-title { font-size: clamp(2.5rem, 4.6vw, 4.4rem); }
}
.post-card { overflow: hidden; }
.post-img { display: block; width: calc(100% + 3.6rem); max-width: none; height: auto; margin: -2rem -1.8rem .6rem; border-bottom: 1px solid var(--line); }
.post-cover { margin: 0 0 2.4rem; }
.sector { overflow: hidden; }
.sector-thumb { display: block; width: calc(100% + 3.2rem); max-width: none; height: auto; margin: -1.8rem -1.6rem .9rem; border-bottom: 1px solid var(--line); transition: transform .6s var(--ease-out); }
.sector:hover .sector-thumb { transform: scale(1.03); }
