/* ============================================================
   PROAGE+ — Landing styles (editorial overhaul)
   Roles:  indigo = structure   ·  coral = action   ·  teal = positive/data
   Theme:  single light brand theme + deliberate deep-indigo brand blocks
   ============================================================ */

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Layout primitives ---------- */
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--space-8); }
.wrap-wide { max-width: 1320px; }
section { position: relative; }

/* ---------- Eyebrow (rationed — max ~1 per 3 sections) ---------- */
.eyebrow { display: inline-block; font-size: var(--text-micro); font-weight: var(--weight-bold);
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal-600); }

/* ---------- Demo / illustrative data tag ---------- */
.demo-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 0.66rem; font-weight: var(--weight-bold);
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-4); background: var(--bg-subtle);
  border: 1px solid var(--border-strong); border-radius: var(--radius-pill); padding: 3px 10px; line-height: 1.3; }
.demo-tag.on-deep { color: rgba(255,255,255,0.82); background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.22); }

/* ---------- Logo lockup ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: var(--weight-bold);
  font-size: 1.35rem; letter-spacing: -0.02em; color: var(--proage-blue); text-decoration: none; }
.logo svg { width: 34px; height: 34px; flex: none; }
.logo .plus { color: var(--coral-400); }
.logo.on-deep { color: #fff; }

/* ---------- Buttons (coral = the single action accent) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-sans); font-weight: var(--weight-bold); font-size: var(--text-body);
  border-radius: var(--radius-pill); padding: 14px 26px; border: 2px solid transparent; cursor: pointer;
  transition: transform var(--duration-fast) var(--ease-standard), box-shadow var(--duration-normal),
    background var(--duration-fast), color var(--duration-fast), border-color var(--duration-fast);
  text-decoration: none; white-space: nowrap; }
.btn svg { width: 19px; height: 19px; }
.btn:active { transform: scale(0.98); }
/* deep-indigo label on vivid coral: keeps the brand coral, passes WCAG AA (~5.5:1) */
.btn-primary { background: var(--coral-400); color: var(--primary-900); box-shadow: var(--shadow-coral); }
.btn-primary:hover { background: var(--coral-300); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--proage-blue); border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--proage-blue); background: var(--primary-50); }
.btn-ghost-light { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.30); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.16); }
.btn-sm { padding: 10px 18px; font-size: var(--text-small); }
.btn-lg { padding: 17px 32px; font-size: var(--text-h6); }

/* ---------- Top nav (single line, <=80px) ---------- */
.nav { position: sticky; top: 0; z-index: 60; background: rgba(248,249,255,0.82);
  backdrop-filter: blur(12px) saturate(160%); -webkit-backdrop-filter: blur(12px) saturate(160%);
  border-bottom: 1px solid var(--border-cool); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: var(--space-8); }
.nav-links { display: flex; align-items: center; gap: var(--space-6); list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--fg-2); font-weight: var(--weight-semibold); font-size: var(--text-small);
  text-decoration: none; transition: color var(--duration-fast); }
.nav-links a:hover { color: var(--proage-blue); }
.nav-cta { display: flex; align-items: center; gap: var(--space-3); }
@media (max-width: 980px) { .nav-links { display: none; } .nav-cta .btn-outline { display: none; } }

/* ---------- Section heading system (left editorial default) ---------- */
.sec { padding: var(--space-24) 0; }
.sec-head { max-width: 760px; margin-bottom: var(--space-12); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head .eyebrow { margin-bottom: var(--space-4); }
.sec-title { font-size: var(--text-h2); line-height: var(--line-snug); color: var(--proage-blue);
  letter-spacing: -0.02em; }
.sec-title em { font-style: normal; color: var(--teal-600); }
.sec-lead { font-size: var(--text-lead); color: var(--fg-2); margin-top: var(--space-5);
  line-height: var(--line-relaxed); max-width: 65ch; }
.sec-head.center .sec-lead { margin-left: auto; margin-right: auto; }

/* ---------- Hero A — asymmetric editorial split ---------- */
.hero { display: block; }
.heroA .grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--space-12);
  align-items: center; padding: var(--space-16) 0 var(--space-20); }
.hero-title { font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.08; letter-spacing: -0.03em;
  font-weight: var(--weight-bold); color: var(--proage-blue); padding-bottom: 0.06em; }
.hero-title em { font-style: normal; color: var(--coral-500); }
.hero-sub { font-size: var(--text-lead); line-height: var(--line-relaxed); color: var(--fg-2);
  font-weight: var(--weight-medium); max-width: 52ch; }
.hero-ctas { display: flex; gap: var(--space-3); flex-wrap: wrap; }

/* Hero media — framed photo with a soft offset brand block */
.heroA-media { position: relative; }
.heroA-media .img-ph { position: relative; z-index: 1; min-height: 460px; border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-xl); }
.heroA-media::before { content: ""; position: absolute; z-index: 0; inset: 26px -22px -26px 30px;
  border-radius: var(--radius-3xl); background: linear-gradient(150deg, var(--teal-100), var(--cream-200)); }
@media (max-width: 880px) {
  .heroA .grid { grid-template-columns: 1fr; gap: var(--space-10); padding-top: var(--space-10); }
  .heroA-media .img-ph { min-height: 320px; }
  .heroA-media::before { inset: 16px 0 -16px 14px; }
}

/* ---------- Image frames ---------- */
.img-ph { position: relative; border-radius: var(--radius-2xl); overflow: hidden;
  background: linear-gradient(135deg, var(--primary-100), var(--teal-100));
  display: flex; align-items: flex-end; min-height: 180px; }
.img-ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 1; }

/* ---------- Statement / the challenge (indigo block) ---------- */
.statement { background: var(--bg-deep); color: #fff; overflow: hidden; }
.statement::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(680px 460px at 88% 6%, rgba(16,195,154,0.22), transparent 60%),
              radial-gradient(560px 420px at 6% 100%, rgba(255,126,99,0.18), transparent 62%); }
.statement .inner { position: relative; padding: var(--space-20) 0; display: grid;
  grid-template-columns: 1.35fr 1fr; gap: var(--space-16); align-items: center; }
.statement h2 { color: #fff; font-size: var(--text-h2); line-height: var(--line-snug); letter-spacing: -0.02em; }
.statement h2 em { font-style: normal; color: var(--teal-300); }
.statement p { color: var(--fg-on-deep); opacity: 0.86; font-size: var(--text-lead); margin-top: var(--space-5);
  line-height: var(--line-relaxed); }
.stat-figs { display: grid; gap: var(--space-6); }
.stat-fig { border-left: 3px solid var(--coral-400); padding-left: var(--space-5); }
.stat-fig .n { font-size: 2.7rem; font-weight: var(--weight-bold); color: #fff; line-height: 1; }
.stat-fig .l { color: var(--fg-on-deep); opacity: 0.82; font-size: var(--text-small); margin-top: 8px;
  font-weight: var(--weight-medium); line-height: var(--line-snug); }
@media (max-width: 880px) { .statement .inner { grid-template-columns: 1fr; gap: var(--space-10); } }

/* ---------- Retos — editorial 2-col index (replaces card grid) ---------- */
.retos { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--space-12); }
.reto { display: grid; grid-template-columns: auto 1fr; gap: var(--space-4);
  padding: var(--space-6) 0; border-top: 1px solid var(--border-cool);
  transition: transform var(--duration-normal) var(--ease-standard); }
.reto:hover { transform: translateX(4px); }
.reto .ico { width: 44px; height: 44px; border-radius: var(--radius-lg); display: grid; place-items: center;
  background: var(--coral-50); color: var(--coral-500); flex: none; }
.reto .ico svg { width: 23px; height: 23px; }
.reto h3 { font-size: var(--text-h5); color: var(--proage-blue); line-height: var(--line-snug); }
.reto p { color: var(--fg-3); font-size: var(--text-small); line-height: var(--line-relaxed); margin-top: 6px; }
.reto .tag { display: inline-block; margin-top: var(--space-3); font-size: var(--text-micro);
  font-weight: var(--weight-bold); letter-spacing: 0.04em; color: var(--teal-700); background: var(--teal-50);
  border-radius: var(--radius-pill); padding: 4px 11px; }
.eco-band { margin-top: var(--space-12); border-radius: var(--radius-2xl); padding: var(--space-10) var(--space-12);
  background: linear-gradient(135deg, var(--primary-600), var(--teal-600)); color: #fff;
  display: grid; grid-template-columns: auto 1fr; gap: var(--space-6); align-items: center; }
.eco-band .ico { width: 52px; height: 52px; border-radius: var(--radius-xl); display: grid; place-items: center;
  background: rgba(255,255,255,0.16); color: #fff; flex: none; }
.eco-band .ico svg { width: 27px; height: 27px; }
.eco-band h3 { color: #fff; font-size: var(--text-h4); }
.eco-band p { color: #fff; opacity: 0.92; font-size: var(--text-body); margin-top: 6px; max-width: 70ch; }
@media (max-width: 880px) {
  .retos { grid-template-columns: 1fr; }
  .reto:first-child + .reto, .retos .reto:nth-child(2) { } /* keep dividers natural on mobile */
  .eco-band { grid-template-columns: 1fr; gap: var(--space-4); }
}

/* ---------- Propuesta — numbered editorial rows (replaces 3 equal cards) ---------- */
.value-rows { display: grid; gap: 0; }
.value-row { display: grid; grid-template-columns: 96px auto 1fr; gap: var(--space-6); align-items: start;
  padding: var(--space-8) 0; border-top: 1px solid var(--border-cool); }
.value-row .vnum { font-size: 2.6rem; font-weight: var(--weight-bold); color: var(--primary-200);
  line-height: 1; letter-spacing: -0.02em; }
.value-row .vico { width: 54px; height: 54px; border-radius: var(--radius-xl); display: grid; place-items: center; flex: none; }
.value-row .vico svg { width: 27px; height: 27px; }
.value-row h3 { font-size: var(--text-h4); color: var(--proage-blue); }
.value-row p { color: var(--fg-3); font-size: var(--text-body); line-height: var(--line-relaxed);
  margin-top: 8px; max-width: 60ch; }
@media (max-width: 720px) {
  .value-row { grid-template-columns: auto 1fr; gap: var(--space-4); }
  .value-row .vnum { grid-column: 1 / -1; font-size: 2rem; }
}

/* ---------- Líneas estratégicas (bento with rhythm) ---------- */
.lineas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.linea { position: relative; background: var(--bg-surface); border: 1px solid var(--border-cool);
  border-radius: var(--radius-2xl); padding: var(--space-7) var(--space-8); overflow: hidden;
  transition: transform var(--duration-normal), box-shadow var(--duration-normal), border-color var(--duration-normal); }
.linea:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); border-color: transparent; }
.linea.span-2 { grid-column: 1 / -1; }
.linea .bar { position: absolute; left: 0; top: 0; bottom: 0; width: 5px; }
.linea-head { display: flex; align-items: center; gap: var(--space-4); }
.linea-num { width: 46px; height: 46px; border-radius: var(--radius-lg); flex: none; display: grid; place-items: center;
  font-size: var(--text-h5); font-weight: var(--weight-bold); color: #fff; }
.linea-head .lt { font-size: var(--text-micro); font-weight: var(--weight-bold); letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--fg-4); }
.linea-head h3 { font-size: var(--text-h5); color: var(--proage-blue); line-height: var(--line-snug); margin-top: 2px; }
.linea .desc { font-size: var(--text-small); color: var(--fg-3); line-height: var(--line-relaxed);
  margin: var(--space-4) 0 var(--space-5); }
.linea-prods { list-style: none; padding: var(--space-5) 0 0; margin: 0; display: grid;
  grid-template-columns: 1fr 1fr; gap: 8px 18px; border-top: 1px solid var(--border-cool); }
.linea.span-2 .linea-prods { grid-template-columns: 1fr 1fr 1fr 1fr; }
.linea-prods li { display: flex; gap: 9px; align-items: flex-start; font-size: var(--text-tiny);
  color: var(--fg-2); font-weight: var(--weight-medium); line-height: var(--line-snug); }
.linea-prods li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; flex: none; margin-top: 5px;
  background: var(--accent, var(--teal-500)); }
@media (max-width: 880px) {
  .lineas-grid { grid-template-columns: 1fr; }
  .linea-prods, .linea.span-2 .linea-prods { grid-template-columns: 1fr; }
}

/* ---------- Índice showcase ---------- */
.index-sec { background: var(--bg-subtle); }
.index-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: var(--space-16); align-items: center; }
.maturity { display: grid; gap: var(--space-2); margin-top: var(--space-8); }
.mlevel { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg); background: var(--bg-surface); border: 1px solid var(--border-cool); }
.mlevel .lv { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font-weight: var(--weight-bold); font-size: var(--text-small); color: #fff; }
.mlevel .name { font-weight: var(--weight-bold); color: var(--fg-1); font-size: var(--text-small); }
.mlevel.is-current { border-color: var(--teal-400); box-shadow: 0 0 0 3px var(--ring); }
.mlevel .badge-now { margin-left: auto; font-size: var(--text-micro); font-weight: var(--weight-bold);
  color: var(--teal-700); background: var(--teal-50); padding: 4px 10px; border-radius: var(--radius-pill); }

/* Dashboard preview (clearly illustrative) */
.dash { background: var(--bg-surface); border-radius: var(--radius-2xl); box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-cool); overflow: hidden; }
.dash-top { display: flex; align-items: center; gap: 10px; padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--border-cool); background: var(--bg-subtle); }
.dash-top .ttl { font-weight: var(--weight-bold); font-size: var(--text-small); color: var(--fg-2); }
.dash-body { padding: var(--space-6); display: grid; gap: var(--space-5); }
.score-row { display: grid; grid-template-columns: auto 1fr; gap: var(--space-6); align-items: center; }
.gauge { --val: 72; width: 124px; height: 124px; border-radius: 50%; position: relative;
  background: conic-gradient(var(--teal-500) calc(var(--val) * 1%), var(--grey-200) 0); display: grid; place-items: center; }
.gauge::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: var(--bg-surface); }
.gauge .g-val { position: relative; text-align: center; }
.gauge .g-val b { font-size: 1.9rem; font-weight: var(--weight-bold); color: var(--proage-blue); line-height: 1; }
.gauge .g-val span { display: block; font-size: var(--text-micro); color: var(--fg-4); font-weight: var(--weight-semibold); }
.kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.kpi { background: var(--bg-subtle); border-radius: var(--radius-lg); padding: var(--space-3) var(--space-4); }
.kpi .k { font-size: var(--text-tiny); color: var(--fg-3); font-weight: var(--weight-semibold); }
.kpi .v { font-size: var(--text-h5); font-weight: var(--weight-bold); color: var(--proage-blue); margin-top: 2px; }
.kpi .v small { font-size: var(--text-tiny); color: var(--teal-600); font-weight: var(--weight-bold); }
.dim-bars { display: grid; gap: 10px; }
.dim { display: grid; grid-template-columns: 150px 1fr 32px; align-items: center; gap: var(--space-3); }
.dim .dl { font-size: var(--text-tiny); color: var(--fg-2); font-weight: var(--weight-semibold); }
.dim .track { height: 8px; background: var(--grey-200); border-radius: var(--radius-pill); overflow: hidden; }
.dim .fill { height: 100%; border-radius: var(--radius-pill); }
.dim .dv { font-size: var(--text-tiny); font-weight: var(--weight-bold); color: var(--fg-2); text-align: right; }
@media (max-width: 980px) { .index-grid { grid-template-columns: 1fr; gap: var(--space-12); }
  .dim { grid-template-columns: 120px 1fr 28px; } }

/* ---------- Feature rows (Cells / Academy) ---------- */
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-16); align-items: center; padding: var(--space-8) 0; }
.frow.rev .ftext { order: 2; }
.flist { display: grid; gap: var(--space-3); margin: var(--space-6) 0 0; padding: 0; }
.flist li { display: flex; gap: var(--space-3); align-items: flex-start; list-style: none;
  font-size: var(--text-body); color: var(--fg-2); }
.flist svg { width: 20px; height: 20px; color: var(--teal-500); flex: none; margin-top: 2px; }
.fmedia-stack { display: grid; gap: var(--space-4); }
@media (max-width: 880px) { .frow { grid-template-columns: 1fr; gap: var(--space-8); }
  .frow.rev .ftext { order: 0; } }

/* ---------- Tecnología (indigo block) ---------- */
.platform-sec { background: var(--bg-deep); color: var(--fg-on-deep); overflow: hidden; }
.platform-sec::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(720px 460px at 84% 4%, rgba(16,195,154,0.24), transparent 60%),
              radial-gradient(560px 420px at 8% 104%, rgba(255,126,99,0.18), transparent 60%); }
.platform-sec .wrap { position: relative; }
.platform-sec .sec-title { color: #fff; }
.platform-sec .sec-title em { color: var(--teal-300); }
.platform-sec .sec-lead { color: var(--fg-on-deep); opacity: 0.9; }
.browser { max-width: 1000px; margin: var(--space-12) auto 0; border-radius: 16px; overflow: hidden;
  box-shadow: 0 40px 90px rgba(0,0,0,0.42); border: 1px solid rgba(255,255,255,0.12); background: #fff; }
.browser .bbar { height: 46px; background: #fff; border-bottom: 1px solid var(--border-cool);
  display: flex; align-items: center; gap: 8px; padding: 0 16px; }
.browser .bbar i { width: 11px; height: 11px; border-radius: 50%; }
.browser .bbar .url { margin-left: 14px; background: var(--bg-subtle); border-radius: var(--radius-pill);
  padding: 7px 18px; font-size: var(--text-tiny); color: var(--fg-4); font-weight: 600; }
.browser img { display: block; width: 100%; height: auto; }
.tech-note { margin: var(--space-10) auto 0; max-width: 760px; text-align: center; font-size: var(--text-small);
  color: var(--fg-on-deep); opacity: 0.72; line-height: var(--line-relaxed); }
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8) var(--space-10);
  margin-top: var(--space-16); }
.pillar { padding-left: var(--space-5); border-left: 1px solid rgba(255,255,255,0.14); }
.pillar .pi { width: 50px; height: 50px; border-radius: var(--radius-xl); display: grid; place-items: center;
  margin-bottom: var(--space-4); }
.pillar .pi svg { width: 26px; height: 26px; }
.pillar h3 { font-size: var(--text-h5); color: #fff; margin-bottom: 8px; }
.pillar p { font-size: var(--text-small); color: var(--fg-on-deep); opacity: 0.82; line-height: var(--line-relaxed); }
.pillar.feat { border-left-color: var(--teal-300); }
@media (max-width: 880px) { .tech-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .tech-grid { grid-template-columns: 1fr; } }

/* ---------- Certification (indigo block) ---------- */
.cert-sec { background: var(--bg-deep); color: #fff; overflow: hidden; }
.cert-sec::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(620px 420px at 12% 8%, rgba(76,97,232,0.30), transparent 60%); }
.cert-sec .wrap { position: relative; }
.cert-sec .sec-title { color: #fff; }
.cert-sec .sec-lead { color: var(--fg-on-deep); opacity: 0.88; }
.aspectos { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); margin-top: var(--space-4); }
.aspecto { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-xl); padding: var(--space-5); display: flex; gap: var(--space-3); align-items: flex-start;
  transition: background var(--duration-normal); }
.aspecto:hover { background: rgba(255,255,255,0.09); }
.aspecto svg { width: 22px; height: 22px; color: var(--teal-300); flex: none; }
.aspecto h4 { color: #fff; font-size: var(--text-small); line-height: var(--line-snug); font-weight: var(--weight-semibold); }
.cert-process { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-3);
  margin-top: var(--space-12); }
.cert-process .cp { display: inline-flex; align-items: center; gap: 9px; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius-pill); padding: 11px 20px;
  font-size: var(--text-small); font-weight: var(--weight-bold); color: #fff; }
.cert-process .cp .n { width: 22px; height: 22px; border-radius: 50%; background: var(--teal-500); color: #fff;
  display: grid; place-items: center; font-size: var(--text-micro); }
.cert-process .arr { color: var(--teal-300); opacity: 0.7; }
@media (max-width: 980px) { .aspectos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .aspectos { grid-template-columns: 1fr; } }

/* ---------- Modalidades ---------- */
.modalidades { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-4); align-items: stretch; }
.moda { background: var(--bg-surface); border: 1px solid var(--border-cool); border-radius: var(--radius-2xl);
  padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); position: relative; overflow: hidden;
  transition: transform var(--duration-normal), box-shadow var(--duration-normal), border-color var(--duration-normal); }
.moda:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); border-color: transparent; }
.moda::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--teal-500), var(--primary-600)); opacity: var(--on, 0.22); }
.moda .step { width: 38px; height: 38px; border-radius: var(--radius-lg); background: var(--primary-50);
  color: var(--primary-600); display: grid; place-items: center; font-weight: var(--weight-bold); font-size: var(--text-h6); }
.moda h3 { font-size: var(--text-h6); color: var(--proage-blue); line-height: var(--line-snug); }
.moda p { font-size: var(--text-tiny); color: var(--fg-3); line-height: var(--line-relaxed); }
.moda.feat { border-color: var(--teal-400); box-shadow: var(--shadow-lg); }
.moda.feat::before { opacity: 1; }
.moda.feat .step { background: var(--teal-500); color: #fff; }
@media (max-width: 1080px) { .modalidades { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .modalidades { grid-template-columns: 1fr; } }

/* ---------- Audiences ---------- */
.aud-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-4); }
.aud { text-align: center; padding: var(--space-6) var(--space-4); border-radius: var(--radius-2xl);
  background: var(--bg-surface); border: 1px solid var(--border-cool);
  transition: transform var(--duration-normal), box-shadow var(--duration-normal); }
.aud:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.aud .ico { width: 48px; height: 48px; margin: 0 auto var(--space-4); border-radius: var(--radius-xl);
  display: grid; place-items: center; background: var(--teal-50); color: var(--teal-600); }
.aud .ico svg { width: 25px; height: 25px; }
.aud h4 { font-size: var(--text-h6); color: var(--proage-blue); }
.aud p { font-size: var(--text-tiny); color: var(--fg-3); margin-top: 6px; line-height: var(--line-snug); }
@media (max-width: 980px) { .aud-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .aud-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Portafolio callout ---------- */
.callout { display: grid; gap: var(--space-8); }

/* ---------- Final CTA ---------- */
.cta-final { padding: var(--space-24) 0; }
.cta-card { background: linear-gradient(135deg, var(--proage-blue), var(--teal-600));
  border-radius: var(--radius-3xl); padding: var(--space-20) var(--space-16); text-align: center;
  color: #fff; position: relative; overflow: hidden; }
.cta-card::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 360px at 85% 10%, rgba(255,192,46,0.32), transparent 60%),
              radial-gradient(460px 360px at 8% 95%, rgba(255,126,99,0.30), transparent 62%); }
.cta-card .inner { position: relative; max-width: 700px; margin: 0 auto; }
.cta-card h2 { color: #fff; font-size: var(--text-h1); line-height: var(--line-snug); letter-spacing: -0.02em; }
.cta-card p { color: #fff; opacity: 0.92; font-size: var(--text-lead); margin: var(--space-5) 0 var(--space-8); }
.cta-card .hero-ctas { justify-content: center; }

/* ---------- Footer ---------- */
.foot { background: var(--bg-deep); color: var(--fg-on-deep); padding: var(--space-16) 0 var(--space-10); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-10); }
.foot h5 { color: #fff; font-size: var(--text-small); margin-bottom: var(--space-4); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot a { color: var(--fg-on-deep); opacity: 0.75; font-size: var(--text-small); }
.foot a:hover { opacity: 1; }
.foot .blurb { font-size: var(--text-small); opacity: 0.75; margin-top: var(--space-4);
  line-height: var(--line-relaxed); max-width: 280px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: var(--space-12);
  padding-top: var(--space-6); display: flex; justify-content: space-between; gap: var(--space-4);
  font-size: var(--text-tiny); opacity: 0.6; flex-wrap: wrap; }
@media (max-width: 880px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Small-screen overflow guards ---------- */
@media (max-width: 520px) {
  .wrap { padding: 0 var(--space-4); }
  .nav-inner { gap: var(--space-3); }
  .btn-sm { padding: 9px 14px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; white-space: normal; }
}
@media (max-width: 560px) {
  .score-row { grid-template-columns: 1fr; gap: var(--space-5); }
  .dim { grid-template-columns: 1fr auto; grid-template-areas: "l v" "t t"; gap: 4px var(--space-3); }
  .dim .dl { grid-area: l; }
  .dim .dv { grid-area: v; }
  .dim .track { grid-area: t; }
}

/* ---------- Scroll reveal (progressive enhancement) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s var(--ease-emphasized), transform 0.6s var(--ease-emphasized);
  transition-delay: var(--rd, 0ms); will-change: opacity, transform; }
.js .reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn:active, .reto:hover, .linea:hover, .moda:hover, .aud:hover { transform: none; }
}
