/* ==========================================================================
   SISGA Academic — sitio comercial 2026
   Tokens, base, componentes y secciones. Sin frameworks.
   ========================================================================== */

:root {
  --blue: #1e88e5;
  --blue-dark: #1565c0;
  --blue-soft: #e8f2fb;
  --tint: #f3f8fc;
  --green: #7ed957;
  --green-ink: #10320d;
  --ink: #16202e;
  --ink-2: #3a4555;
  --muted: #5b6472;
  --line: #e3eaf1;
  --line-2: #e9eef3;
  --ok-bg: #e6f6e4;  --ok: #2f7d2b;  --ok-strong: #d9f0d6;
  --warn-bg: #fff3dc; --warn: #9a5b00;
  --bad-bg: #fde8e8;  --bad: #a32626;
  --navy: #16202e;
  --radius: 16px;
  --wrap: 1200px;
  --nav-h: 72px;
  --font-display: 'Sora', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --shadow-lg: 0 30px 60px rgba(22, 32, 46, 0.14);
  --shadow-md: 0 20px 40px rgba(22, 32, 46, 0.12);
  --shadow-sm: 0 14px 30px rgba(22, 32, 46, 0.16);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.08; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid rgba(30, 136, 229, 0.45); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-dark); }
.muted { color: var(--muted); }
.display { font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.08; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Botones ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 10px; font-weight: 700; font-size: 15px;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); color: #fff; }
.btn--wa { background: var(--green); color: var(--green-ink); font-weight: 800; }
.btn--wa:hover { background: #6fcf49; color: var(--green-ink); box-shadow: 0 10px 24px rgba(16, 50, 13, 0.18); }
.btn--ghost { border-color: #cfdbe7; color: var(--ink); background: transparent; font-weight: 600; }
.btn--ghost:hover { background: var(--tint); color: var(--ink); }
.btn--outline-light { border-color: rgba(255,255,255,0.5); color: #fff; background: transparent; }
.btn--outline-light:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--block { width: 100%; }
.ico { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ico--sm { width: 18px; height: 18px; }

/* Tarjetas, etiquetas, cifras ------------------------------------------ */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.card--pad { padding: 24px; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.tag--ok { background: var(--ok-bg); color: var(--ok); }
.tag--ok-strong { background: var(--ok-strong); color: var(--ok); }
.tag--warn { background: var(--warn-bg); color: var(--warn); }
.tag--bad { background: var(--bad-bg); color: var(--bad); }
.tag--bad-strong { background: #f7c9c9; color: var(--bad); }
.tag--warn-strong { background: #ffe1a8; color: var(--warn); }
.tag--blue { background: var(--blue-dark); color: #fff; }
.tag--neutral { background: #f3f6f9; color: var(--ink-2); }
.tag--outline { background: #fff; color: var(--ink-2); border: 1px solid var(--line); }
.kpi { font-family: var(--font-display); font-weight: 800; font-size: 34px; letter-spacing: -0.02em; color: var(--ink); line-height: 1; }

/* Secciones ----------------------------------------------------------- */
.section { padding: 96px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--navy); color: #fff; }
.section--dark .eyebrow { color: var(--green); }
.section--dark h2 { color: #fff; }
.section--fade { background: linear-gradient(180deg, #fff, var(--tint)); }
.section__head { display: flex; flex-direction: column; gap: 12px; max-width: 780px; margin-bottom: 40px; }
.section__head--split { display: flex; flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 40px; max-width: none; }
.section__head--split > div { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.section__head--split > p { max-width: 360px; font-size: 16px; }
.section h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; }
.lead { font-size: 17px; color: var(--muted); }
.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Aparición al hacer scroll ------------------------------------------ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Navegación ---------------------------------------------------------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-2); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 16px; }
.nav__logo img { height: 40px; width: auto; display: block; }
.nav__links { display: flex; gap: 26px; font-size: 14px; font-weight: 600; }
.nav__links a { color: var(--ink-2); position: relative; padding: 6px 0; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .2s ease; }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__actions { display: flex; gap: 10px; align-items: center; }
.nav__toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }

/* Hero ---------------------------------------------------------------- */
.hero { background: linear-gradient(180deg, var(--tint) 0%, #fff 100%); padding: 88px 0 80px; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 560px minmax(0, 1fr); gap: 56px; align-items: center; }
.hero__text { display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(34px, 4.3vw, 58px); font-weight: 800; }
.hero__lead { font-size: 19px; color: var(--muted); max-width: 520px; }
.hero__cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 18px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero__stats > div { display: flex; flex-direction: column; gap: 6px; }
.hero__stats .kpi { font-size: 28px; }
.hero__stats small { font-size: 13px; color: var(--muted); }
.hero__visual { position: relative; }
.hero__glow { position: absolute; inset: -40px -60px -40px 40px; background: radial-gradient(circle at 60% 40%, rgba(30,136,229,0.16), rgba(30,136,229,0) 60%); z-index: 0; pointer-events: none; }
.hero__push { position: absolute; z-index: 2; right: -24px; bottom: -28px; width: 260px; }

/* Maquetas de producto (dibujadas en HTML) ---------------------------- */
.mock { position: relative; z-index: 1; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line-2); background: #f7fafc; font-size: 12px; color: var(--muted); }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock__bar span { margin-left: 12px; }
.mock__layout { display: grid; grid-template-columns: 150px minmax(0, 1fr); }
.mock__side { background: var(--navy); padding: 16px 12px; display: flex; flex-direction: column; gap: 12px; min-height: 380px; font-size: 12px; color: #cfd9e6; }
.mock__side small { font-size: 11px; color: #9fb0c4; letter-spacing: 0.1em; text-transform: uppercase; }
.mock__side span { padding: 0 9px; }
.mock__side .is-active { color: #fff; background: var(--blue); padding: 7px 9px; border-radius: 6px; }
.mock__body { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.mini-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mini-kpi { padding: 12px; border-radius: 10px; background: var(--tint); }
.mini-kpi small { display: block; font-size: 11px; color: var(--muted); }
.mini-kpi .kpi { font-size: 22px; margin-top: 4px; }
.mtable { border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; font-size: 12px; }
.mtable__row { display: grid; grid-template-columns: var(--cols, 1.4fr 1fr 1fr 1fr); padding: 9px 12px; border-top: 1px solid #eef2f6; align-items: center; gap: 6px; }
.mtable__row--head { background: #f7fafc; color: var(--muted); font-weight: 700; border-top: 0; padding: 8px 12px; }
.mtable__cell--edit { background: var(--blue-soft); border-radius: 4px; padding: 1px 4px; outline: 2px solid var(--blue); justify-self: start; }
.mock__foot { padding: 12px 16px; border-top: 1px solid var(--line-2); display: flex; flex-wrap: wrap; gap: 10px 14px; font-size: 12px; color: var(--muted); align-items: center; }
.mock__foot .push-right { margin-left: auto; }
.mock__head { padding: 14px 16px; border-bottom: 1px solid var(--line-2); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.mock__head strong { font-size: 14px; font-weight: 800; }
.mock__head small { display: block; font-size: 11px; color: var(--muted); }
.mock__head .tags { display: flex; gap: 6px; flex-wrap: wrap; }
.push { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line-2); }
.push__icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.push__icon--ok { background: var(--ok-bg); color: var(--ok); }
.push__icon--blue { background: var(--blue-soft); color: var(--blue); }
.push__icon--warn { background: var(--warn-bg); color: var(--warn); }
.push strong { display: block; font-size: 13px; }
.push span { font-size: 12px; color: var(--muted); }
.phone { width: 300px; max-width: 100%; border-radius: 36px; background: var(--navy); padding: 14px; box-shadow: 0 30px 60px rgba(22,32,46,0.25); margin: 0 auto; }
.phone__screen { border-radius: 26px; background: #fff; overflow: hidden; min-height: 560px; display: flex; flex-direction: column; }
.phone__head { padding: 18px 18px 10px; }
.phone__head small { display: block; font-size: 11px; color: var(--muted); }
.phone__head strong { font-size: 16px; font-weight: 800; }
.phone__list { display: flex; flex-direction: column; padding: 0 12px; gap: 6px; font-size: 13px; }
.phone__row { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 10px; background: #f7fafc; }
.phone__row--bad { background: var(--bad-bg); }
.phone__row--warn { background: var(--warn-bg); }
.phone__foot { margin: auto 12px 14px; padding: 12px; border-radius: 12px; background: var(--blue); color: #fff; font-size: 13px; display: flex; gap: 10px; align-items: center; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-md); }
.panel__title { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.panel__title small { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.panel__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.panel__box { padding: 14px; border-radius: 12px; background: #f7fafc; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.panel__box small { font-size: 11px; color: var(--muted); }
.panel__box--ok { background: var(--ok-bg); }
.panel__box--ok small, .panel__box--ok em { color: var(--ok); font-style: normal; font-size: 12px; }
.panel__box--dark { background: var(--navy); color: #fff; align-items: center; justify-content: center; text-align: center; }
.panel__box--dark small { color: #9fb0c4; }
.panel__box--dark em { color: var(--green); font-style: normal; font-size: 11px; }
.panel__box--dark .code { font-family: var(--font-display); font-size: 30px; font-weight: 800; letter-spacing: 0.1em; }
.panel__meta { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.carnet { width: 88px; height: 112px; border-radius: 10px; background: var(--navy); display: flex; flex-direction: column; justify-content: flex-end; padding: 8px; gap: 4px; flex-shrink: 0; }
.carnet i { display: block; height: 6px; background: #fff; opacity: 0.9; }
.carnet i:nth-child(2) { opacity: 0.6; }
.carnet small { font-size: 9px; color: #cfd9e6; text-align: center; }
.pay-btn { padding: 11px; border-radius: 10px; background: var(--green); color: var(--green-ink); font-weight: 800; font-size: 13px; text-align: center; }

/* Historia con scroll --------------------------------------------------- */
.story { display: flex; flex-direction: column; }
.step { display: grid; grid-template-columns: 620px minmax(0, 1fr); gap: 64px; align-items: start; min-height: 92vh; }
.step__visual { position: sticky; top: calc(var(--nav-h) + 16px); height: calc(100vh - var(--nav-h) - 32px); max-height: 760px; display: flex; align-items: center; }
.frame { width: 100%; border-radius: 20px; padding: 28px; display: flex; align-items: center; justify-content: center; min-height: 520px; background: linear-gradient(160deg, var(--from, #e8f2fb), var(--to, #f7fafc)); box-shadow: 0 1px 0 rgba(22,32,46,0.04); }
.frame > * { width: 100%; }
.frame > .phone { width: 300px; }
.frame--1 { --from: #e8f2fb; --to: #f7fafc; }
.frame--2 { --from: #fde8e8; --to: #f7fafc; }
.frame--3 { --from: #eef7ea; --to: #f7fafc; }
.frame--4 { --from: #fff4e3; --to: #f7fafc; }
.frame--5 { --from: #e8f2fb; --to: #fff4e3; }
.frame--6 { --from: #eef7ea; --to: #e8f2fb; }
.frame--7 { --from: #e8f2fb; --to: #eef7ea; }
.frame__stack { display: flex; flex-direction: column; gap: 16px; }
.frame__stack .push { width: 320px; max-width: 100%; align-self: flex-end; }
.step__text { min-height: 92vh; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 40px 0; }
.step__text h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; }
.step__text p { font-size: 17px; color: var(--muted); }
.eyebrow--bad { color: var(--bad); } .eyebrow--ok { color: var(--ok); } .eyebrow--warn { color: var(--warn); } .eyebrow--deep { color: var(--blue-dark); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .step__visual .frame { animation: frameIn linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
    @keyframes frameIn { from { opacity: 0; transform: scale(0.96) translateY(24px); } to { opacity: 1; transform: none; } }
  }
}
.story-cta { margin-top: 24px; }
.story-cta__box { border-radius: 20px; background: var(--tint); padding: 28px 36px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.story-cta__box strong { font-size: 20px; font-weight: 800; display: block; }
.story-cta__box p { color: var(--muted); font-size: 15px; }

/* Banda fotográfica ----------------------------------------------------- */
.band { position: relative; height: 460px; overflow: hidden; margin-top: 72px; }
.band picture { display: block; width: 100%; height: 100%; }
.band img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 38%; }
.band__note { position: absolute; right: max(24px, calc((100% - var(--wrap)) / 2)); bottom: 56px; max-width: 520px; padding: 28px 32px; border-radius: 20px; background: rgba(22,32,46,0.82); color: #fff; backdrop-filter: blur(6px); display: flex; flex-direction: column; gap: 8px; }
.band__note strong { font-family: var(--font-display); font-size: 28px; font-weight: 700; line-height: 1.15; }
.band__note span { font-size: 15px; color: #cfd9e6; }

/* Día a día por rol ----------------------------------------------------- */
.role { padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.role__title strong { font-size: 20px; font-weight: 800; display: block; }
.role__title small { font-size: 14px; color: var(--muted); }
.moment { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 14px; }
.moment time { font-weight: 800; color: var(--blue-dark); font-size: 13px; padding-top: 2px; }

/* Módulos --------------------------------------------------------------- */
.module { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.module .ico { color: var(--blue); }
.module h3 { font-size: 17px; font-weight: 800; font-family: var(--font-body); letter-spacing: 0; }
.module p { font-size: 14px; color: var(--muted); }
.chips { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 32px; }
.chips strong { font-size: 14px; color: var(--muted); margin-right: 6px; }
.ask { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); margin-top: 24px; }
.ask strong { font-size: 16px; font-weight: 700; }

/* Configurable ---------------------------------------------------------- */
.config { display: grid; grid-template-columns: 440px minmax(0, 1fr); gap: 64px; align-items: start; }
.config__intro { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--nav-h) + 28px); }
.config__intro .btn { align-self: flex-start; margin-top: 8px; }
.pillar { padding: 26px; display: flex; flex-direction: column; gap: 10px; border-top: 4px solid var(--blue); }
.pillar--green { border-top-color: var(--green); }
.pillar h3 { font-size: 18px; font-weight: 800; font-family: var(--font-body); letter-spacing: 0; }
.pillar p { font-size: 14px; color: var(--muted); }

/* Informes -------------------------------------------------------------- */
.reports { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 64px; align-items: center; }
.reports__text { display: flex; flex-direction: column; gap: 18px; }
.reports__text p { font-size: 17px; color: #b8c4d3; }
.reports__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.reports__tags .tag { background: rgba(255,255,255,0.08); color: #e4ebf3; }
.stat { padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); display: flex; flex-direction: column; gap: 8px; }
.stat .kpi { color: #fff; }
.stat .kpi--green { color: var(--green); }
.stat small { font-size: 13px; color: #b8c4d3; }

/* Soporte --------------------------------------------------------------- */
.support { display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 64px; align-items: center; }
.support__text { display: flex; flex-direction: column; gap: 18px; }
.support__points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 6px; }
.support__points strong { display: block; font-size: 15px; font-weight: 800; }
.support__points span { font-size: 13px; color: var(--muted); }
.support__text .btn { align-self: flex-start; margin-top: 6px; }
.support__visual { display: flex; flex-direction: column; gap: 16px; }
.support__photo { height: 200px; object-fit: cover; width: 100%; border-radius: 20px; }
.chat { padding: 22px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-md); }
.chat__meta { font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; }
.chat__me { align-self: flex-end; max-width: 82%; padding: 12px 14px; border-radius: 14px 14px 4px 14px; background: var(--blue); color: #fff; font-size: 14px; }
.chat__bot { align-self: flex-start; max-width: 90%; padding: 12px 14px; border-radius: 14px 14px 14px 4px; background: #f3f6f9; font-size: 14px; display: flex; flex-direction: column; gap: 8px; }
.chat__bot small { font-size: 12px; color: var(--muted); }
.chat__hint { align-self: flex-start; padding: 10px 14px; border-radius: 14px; border: 1px dashed #cfdbe7; font-size: 13px; color: var(--ink-2); }

/* Tu información -------------------------------------------------------- */
.trust { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.trust--lead { border-top: 4px solid var(--green); }
.trust h3 { font-size: 16px; font-weight: 800; font-family: var(--font-body); letter-spacing: 0; }
.trust p { font-size: 14px; color: var(--muted); }

/* Para quién ------------------------------------------------------------ */
.persona { padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.persona img { height: 120px; width: 100%; object-fit: cover; border-radius: 12px; }
.persona h3 { font-size: 18px; font-weight: 800; font-family: var(--font-body); letter-spacing: 0; }
.persona ul { padding-left: 18px; list-style: disc; font-size: 14px; color: var(--muted); display: flex; flex-direction: column; gap: 6px; }

/* Recursos -------------------------------------------------------------- */
.resources { grid-template-columns: 1.2fr 1fr 1fr; }
.resource { padding: 28px; display: flex; flex-direction: column; gap: 12px; color: var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
.resource:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: var(--ink); }
.resource--blog { background: linear-gradient(160deg, #fff, var(--tint)); }
.resource .tag { align-self: flex-start; }
.resource h3 { font-size: 24px; font-weight: 700; }
.resource p { font-size: 14px; color: var(--muted); }
.resource b { font-size: 14px; font-weight: 700; color: var(--blue-dark); }

/* Preguntas frecuentes -------------------------------------------------- */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-size: 17px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; font-weight: 400; color: var(--blue); flex-shrink: 0; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; font-size: 15px; color: var(--muted); max-width: 760px; }

/* Cierre ---------------------------------------------------------------- */
.cta { padding: 0 0 96px; }
.cta__box { border-radius: 28px; background: var(--blue); color: #fff; padding: 64px; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: center; position: relative; overflow: hidden; }
.cta__box::before { content: ''; position: absolute; right: -120px; top: -160px; width: 480px; height: 480px; border-radius: 50%; background: rgba(126,217,87,0.25); }
.cta__text { position: relative; display: flex; flex-direction: column; gap: 14px; }
.cta__text h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; color: #fff; }
.cta__text p { font-size: 17px; color: #e4f0fb; }
.cta__actions { position: relative; display: flex; flex-direction: column; gap: 10px; }
.cta__actions small { font-size: 13px; color: #e4f0fb; text-align: center; }

/* Pie ------------------------------------------------------------------- */
.footer { background: var(--navy); color: #b8c4d3; padding: 56px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand { display: flex; flex-direction: column; gap: 14px; }
.footer__brand img { height: 44px; width: auto; align-self: flex-start; }
.footer__brand p { font-size: 14px; max-width: 320px; }
.footer__col { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer__col strong { color: #fff; font-weight: 800; }
.footer__col a { color: #b8c4d3; }
.footer__col a:hover { color: #fff; }
.footer__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; gap: 16px; font-size: 13px; flex-wrap: wrap; }
.footer__social { display: flex; gap: 14px; }
.footer__social a { color: #b8c4d3; display: inline-flex; align-items: center; gap: 6px; }
.footer__social a:hover { color: #fff; }

/* WhatsApp flotante ----------------------------------------------------- */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px; background: var(--green); color: var(--green-ink); font-weight: 800; font-size: 14px; box-shadow: 0 16px 36px rgba(16,50,13,0.28); transition: transform .15s ease; }
.wa-float:hover { transform: translateY(-2px); color: var(--green-ink); }

/* Responsive ------------------------------------------------------------ */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__push { right: 0; }
  .hero__glow { display: none; }
  .step { grid-template-columns: 1fr; gap: 0; min-height: 0; }
  .step__visual { position: static; height: auto; max-height: none; }
  .step__text { min-height: 0; padding: 24px 0 56px; }
  .config { grid-template-columns: 1fr; gap: 40px; }
  .config__intro { position: static; }
  .reports, .support { grid-template-columns: 1fr; gap: 40px; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resources { grid-template-columns: 1fr; }
  .cta__box { grid-template-columns: 1fr; padding: 48px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav__links { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--line-2); }
  .nav__links a::after { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__actions .btn--ghost { display: none; }
  .section { padding: 64px 0; }
  .section__head--split { flex-direction: column; align-items: flex-start; }
  .grid--3 { grid-template-columns: 1fr; }
  .band { height: 360px; }
  .band__note { left: 20px; right: 20px; bottom: 24px; max-width: none; padding: 20px 22px; }
  .band__note strong { font-size: 22px; }
  .story-cta__box, .ask { flex-direction: column; align-items: flex-start; }
  .support__points { grid-template-columns: 1fr; }
  .frame { padding: 18px; min-height: 0; }
  .phone__screen { min-height: 0; }
  .phone__foot { margin-top: 14px; }
}
@media (max-width: 640px) {
  .hero { padding: 48px 0 40px; }
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__cta .btn { width: 100%; }
  .hero__push { position: static; width: 100%; margin-top: 14px; }
  .hero__glow { display: none; }
  .mock__layout { grid-template-columns: 1fr; }
  .mock__side { display: none; }
  .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .band { height: 300px; }
  .cta__box { padding: 32px 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; border-radius: 50%; }
  .panel__grid { grid-template-columns: 1fr; }
  .frame--7 .panel__grid { grid-template-columns: 1fr; }
  .btn { white-space: normal; }
}
