/* =========================================================================
   home-v2.css — Home rediseñado 2026
   Arquitectura de la propuesta del gerente (3 unidades de negocio, 4 decisores,
   ficha de trazabilidad, NGT 199, FAQ, diagnóstico sin costo) renderizada en el
   SISTEMA VISUAL ÍNDIGO existente (base.css + layout.css).
   Detalle "auditable": etiquetas técnicas en IBM Plex Mono.
   ========================================================================= */


:root {
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --paper: #f4f5fb;
  --line-soft: #e3e4f0;
}

/* tono de hero conmutable por Tweaks (data-tone en <html>) */
[data-tone="profundo"] { --hero-from: var(--indigo-950); --hero-mid: var(--indigo-900); --hero-to: var(--indigo-800); }
[data-tone="marca"]    { --hero-from: var(--indigo-900); --hero-mid: var(--indigo-800); --hero-to: var(--indigo-700); }
:root { --hero-from: var(--indigo-950); --hero-mid: var(--indigo-900); --hero-to: var(--indigo-800); }

/* eyebrow mono — variante técnica del eyebrow índigo */
.eyebrow-mono {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 600;
  margin: 0 0 0.9rem;
}
.eyebrow-mono.on-dark { color: var(--indigo-300); }

.lead {
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--ink-500);
}

/* ===================== HERO ===================== */
.hero-v2 {
  position: relative;
  background-color: var(--hero-from);
  background-image:
    radial-gradient(60% 120% at 88% -10%, rgba(129, 140, 248, 0.30), transparent 70%),
    linear-gradient(125deg, rgba(20, 18, 50, 0.94) 0%, rgba(30, 27, 75, 0.90) 50%, rgba(49, 46, 129, 0.80) 100%),
    url("../img/DSC08394_1_1024.jpg");
  background-position: center, center, center right;
  background-size: cover, cover, cover;
  background-repeat: no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero-v2::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--indigo-400);
}
.hero-v2 h1 { color: #fff; }

/* default hidden; the active variant is shown via [data-hero] on <html> */
.hero-variant { display: none; }
[data-hero="ficha"] .hero-variant--ficha { display: block; }
[data-hero="foto"] .hero-variant--foto { display: block; }
[data-hero="declaracion"] .hero-variant--declaracion { display: block; }

/* --- Variante A: split + ficha de trazabilidad --- */
/* ===== Variante A: HERO CINEMATOGRÁFICO (blanco + imagen fundida) ===== */
[data-hero="ficha"] .hero-v2 {
  background:
    radial-gradient(70% 90% at 96% 4%, var(--indigo-50) 0%, rgba(238, 242, 255, 0) 60%),
    #fff;
  color: var(--ink-900);
}
[data-hero="ficha"] .hero-v2::before { display: none; }
[data-hero="ficha"] .hero-v2 h1 { color: var(--ink-900); }

.heroc {
  position: relative;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: stretch;
  isolation: isolate;
  overflow: hidden;
}
/* textura de puntos sutil para profundidad */
.heroc::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(67, 56, 202, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 70% at 30% 40%, #000, transparent 75%);
  mask-image: radial-gradient(70% 70% at 30% 40%, #000, transparent 75%);
}
.heroc__glow {
  position: absolute; z-index: 0; pointer-events: none;
  width: 620px; height: 620px; right: 6%; top: -14%;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.18) 0%, rgba(129, 140, 248, 0) 68%);
  filter: blur(8px);
  animation: heroc-float 14s ease-in-out infinite;
}
@keyframes heroc-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(34px); } }

.heroc__copy {
  position: relative; z-index: 3;
  align-self: center;
  padding: 4.5rem clamp(1.5rem, 4vw, 2.5rem) 4.5rem clamp(1.5rem, 5vw, 4.5rem);
}
.heroc__media { min-height: 460px; }
.heroc__kicker { color: var(--brand); margin-bottom: 1.3rem; }
[data-hero="ficha"] .hero-v2 h1 {
  font-size: clamp(2.4rem, 4.4vw, 4rem);
  line-height: 1.02; letter-spacing: -0.03em; font-weight: 800;
  margin: 0 0 1.4rem; max-width: 15ch; text-wrap: balance;
}
[data-hero="ficha"] .hero-v2__lead { color: var(--ink-500); max-width: 40ch; margin: 0 0 2.1rem; }
.heroc .hero-v2__cta { align-items: center; }
.heroc__ghost {
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; color: #fff; text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.55rem; opacity: 0.92;
}
.heroc__ghost .play {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(199, 210, 254, 0.5);
  display: grid; place-items: center; font-size: 0.7rem;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.heroc__ghost:hover .play { background: rgba(165, 180, 252, 0.18); border-color: var(--indigo-300); }
.heroc__creds {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; margin-top: 2.6rem;
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--ink-400);
}
.heroc__creds b { color: var(--brand-700); font-weight: 600; }

/* imagen fundida sobre el índigo */
.heroc__media { position: relative; z-index: 1; align-self: stretch; overflow: hidden;
  -webkit-mask-image:
    linear-gradient(95deg, transparent 0%, rgba(0, 0, 0, 0.4) 18%, #000 46%),
    linear-gradient(to bottom, transparent 0%, #000 13%),
    linear-gradient(to top, transparent 0%, #000 13%),
    linear-gradient(to left, transparent 0%, #000 11%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(95deg, transparent 0%, rgba(0, 0, 0, 0.4) 18%, #000 46%),
    linear-gradient(to bottom, transparent 0%, #000 13%),
    linear-gradient(to top, transparent 0%, #000 13%),
    linear-gradient(to left, transparent 0%, #000 11%);
  mask-composite: intersect;
}
.heroc__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  background: url("../img/DSC08394_1_1024.jpg") center / cover no-repeat;
  animation: heroc-kenburns 26s ease-in-out infinite alternate;
  transform-origin: 70% 50%;
}
@keyframes heroc-kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }
.heroc__media::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(95deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.35) 16%, rgba(255, 255, 255, 0) 42%);
}

/* entrada animada (respeta reduce-motion) */
@media (prefers-reduced-motion: no-preference) {
  .heroc .anim { opacity: 0; transform: translateY(24px); animation: heroc-rise 0.9s cubic-bezier(0.22, 0.8, 0.3, 1) forwards; }
  .heroc .d1 { animation-delay: 0.15s; } .heroc .d2 { animation-delay: 0.30s; }
  .heroc .d3 { animation-delay: 0.50s; } .heroc .d4 { animation-delay: 0.68s; } .heroc .d5 { animation-delay: 0.86s; }
  @keyframes heroc-rise { to { opacity: 1; transform: none; } }
  .heroc__img { opacity: 0; animation: heroc-kenburns 26s ease-in-out infinite alternate, heroc-reveal 1.3s 0.2s ease forwards; }
  @keyframes heroc-reveal { to { opacity: 1; } }
}

@media (max-width: 900px) {
  .heroc { grid-template-columns: 1fr; min-height: 0; }
  .heroc__media { display: none; }
  .heroc__copy { padding-top: 3.5rem; padding-bottom: 3.5rem; }
}
.hero-v2__lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #cfd3f1;
  max-width: 46ch;
  margin: 0 0 1.6rem;
}
.hero-v2__cta { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.hero-v2__meta {
  display: flex; flex-wrap: wrap; gap: 1.6rem;
  margin-top: 1.8rem; padding-top: 1.6rem;
  border-top: 1px solid rgba(199, 210, 254, 0.22);
  font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.03em; color: var(--indigo-300);
}
.hero-v2__meta b { color: #fff; font-weight: 600; }

/* Traceability card (signature element, índigo) */
.tcard {
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  border: 1px solid rgba(165, 180, 252, 0.28);
  border-radius: 18px;
  padding: 1.4rem 1.5rem 1.6rem;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(4px);
}
.tcard__chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(129, 140, 248, 0.16); color: #d7dbff;
  border: 1px solid rgba(165, 180, 252, 0.4); border-radius: 100px;
  padding: 0.32rem 0.8rem; font-family: var(--mono);
  font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.tcard__chip .dot {
  width: 7px; height: 7px; border-radius: 50%; background: #5ee9a4;
  box-shadow: 0 0 0 3px rgba(94, 233, 164, 0.2);
}
.tcard h3 { color: #fff; font-size: 1.1rem; margin: 0.9rem 0 0.2rem; }
.tcard__sub { color: var(--indigo-300); font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em; margin: 0 0 0.9rem; }
.tcard__row {
  display: flex; justify-content: space-between; gap: 0.6rem;
  padding: 0.62rem 0; border-top: 1px dashed rgba(165, 180, 252, 0.25); font-size: 0.82rem;
}
.tcard__row span { color: var(--indigo-300); font-family: var(--mono); letter-spacing: 0.03em; }
.tcard__row b { color: #eef0ff; font-weight: 600; }
.tcard__line { display: flex; align-items: flex-start; gap: 0; margin-top: 1rem; }
.tcard__node {
  flex: 1; text-align: center; position: relative;
  font-family: var(--mono); font-size: 0.54rem; color: var(--indigo-300); letter-spacing: 0.04em;
}
.tcard__node::before {
  content: ""; display: block; width: 11px; height: 11px; border-radius: 50%;
  background: var(--indigo-400); margin: 0 auto 0.4rem;
}
.tcard__node:not(:last-child)::after {
  content: ""; position: absolute; top: 5px; left: 50%; width: 100%; height: 2px;
  background: rgba(165, 180, 252, 0.3);
}
.tcard__node.done::before { background: #5ee9a4; }

/* --- Variante B: foto full-bleed --- */
.hero-variant--foto { position: relative; }
.hero-variant--foto .hero-foto__bg {
  position: absolute; inset: 0;
  background: url("../img/DSC08394_1_1024.jpg") center / cover no-repeat;
}
.hero-variant--foto .hero-foto__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(20,18,50,0.94) 0%, rgba(30,27,75,0.9) 50%, rgba(49,46,129,0.82) 100%);
}
.hero-variant--foto .container { position: relative; padding-top: 6.5rem; padding-bottom: 6rem; }
.hero-foto__inner { max-width: 760px; }
.hero-foto__inner h1 { font-size: clamp(2.1rem, 4.8vw, 3.5rem); line-height: 1.07; letter-spacing: -0.025em; margin: 0 0 1rem; }
.hero-foto__inner .hero-v2__lead { max-width: 60ch; }

/* --- Variante C: declaración centrada + sellos --- */
.hero-variant--declaracion .container { text-align: center; padding-top: 5.5rem; padding-bottom: 5rem; }
.hero-decl { max-width: 880px; margin: 0 auto; }
.hero-decl h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.06; letter-spacing: -0.025em; margin: 0 auto 1.1rem; max-width: 20ch; }
.hero-decl .hero-v2__lead { margin: 0 auto 1.7rem; max-width: 58ch; }
.hero-decl .hero-v2__cta { justify-content: center; }
.hero-decl__seals {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 1.2rem; margin-top: 2.2rem; padding-top: 1.8rem;
  border-top: 1px solid rgba(199, 210, 254, 0.22);
}
.hero-decl__seals img { height: 58px; width: auto; background: #fff; padding: 7px; border-radius: 10px; }
.hero-decl__seals span {
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--indigo-300); padding: 0.5rem 0.9rem; border: 1px solid rgba(165,180,252,0.35); border-radius: 100px;
}

/* CTA claro sobre índigo */
.btn--light { background: #fff; color: var(--brand-700); border-color: #fff; }
.btn--light:hover { background: var(--indigo-100); border-color: var(--indigo-100); color: var(--brand-700); }

/* ===================== STAT STRIP (cifras) ===================== */
.figband { padding: 3.5rem 0; }
.figband[hidden] { display: none; }
[data-stats="off"] .figband { display: none; }
.figband__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: 14px; overflow: hidden;
}
.figband__cell { background: #fff; padding: 1.7rem 1.5rem; }
.figband__num { font-family: var(--font-head); font-size: 1.75rem; font-weight: 800; color: var(--brand-700); line-height: 1; letter-spacing: -0.02em; }
.figband__lbl { font-size: 0.86rem; color: var(--ink-400); margin-top: 0.5rem; line-height: 1.5; }

/* ===================== PROOF ANCHORS ROW ===================== */
.proofbar { padding: 2.5rem 0; border-bottom: 1px solid var(--border); }
.proofbar__grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.5rem; }
.proof-chip {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.7rem 1.1rem; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-soft);
}
.proof-chip img { height: 42px; width: auto; }
.proof-chip__txt { display: flex; flex-direction: column; }
.proof-chip__txt b { font-family: var(--font-head); font-size: 0.95rem; color: var(--ink-900); font-weight: 700; }
.proof-chip__txt span { font-size: 0.78rem; color: var(--ink-400); }
.proof-chip__icon { width: 42px; height: 42px; border-radius: 10px; background: var(--indigo-50); color: var(--brand); display: grid; place-items: center; flex: 0 0 auto; }
.proof-chip__icon ion-icon { font-size: 1.5rem; }

/* ===================== SPLIT (problema / sector público) ===================== */
.split-sec { padding: 5rem 0; }
.split-sec--paper { background: var(--paper); }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split-grid h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.split-grid .muted { color: var(--ink-500); font-size: 1.02rem; line-height: 1.7; }
.split-grid__cta { margin-top: 1.6rem; }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; gap: 0.85rem; padding: 0.85rem 0; border-bottom: 1px solid var(--border); font-size: 1rem; color: var(--ink-700); }
.checklist li:last-child { border-bottom: 0; }
.checklist .mark {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 0.85rem; margin-top: 0.1rem;
}
.checklist .mark--x { background: #fbe7e7; color: #c0392b; }
.checklist .mark--v { background: #e6f6ec; color: #1f8a4c; }
.checklist b { color: var(--ink-900); }

/* Comparación moderna: puertas adentro vs Paraclinics */
.vs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  align-items: start;
}
.vs--single { grid-template-columns: 1fr; }
.vs__col {
  border-radius: 16px;
  padding: 1.5rem 1.45rem 1.6rem;
}
.vs__col--bad {
  background: #fff;
  border: 1px solid var(--line-soft);
}
.vs__col--good {
  background: var(--indigo-50);
  border: 1px solid var(--indigo-200);
  box-shadow: 0 18px 44px rgba(67, 56, 202, 0.14);
}
.vs__title {
  display: flex; align-items: center; gap: 0.55rem;
  font-family: var(--mono);
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  margin: 0 0 1.25rem;
}
.vs__col--bad .vs__title { color: var(--ink-400); }
.vs__col--good .vs__title { color: var(--brand-700); }
.vs__dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
.vs__col--bad .vs__dot { background: #c5c9d6; }
.vs__col--good .vs__dot { background: var(--brand); box-shadow: 0 0 0 3px rgba(67, 56, 202, 0.18); }
.vs__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.05rem; }
.vs__list li { display: flex; gap: 0.7rem; align-items: flex-start; }
.vs__ico {
  flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.8rem; font-weight: 700; margin-top: 1px;
}
.vs__ico--bad { background: #eef0f5; color: #9aa0b2; }
.vs__ico--good { background: var(--brand); color: #fff; }
.vs__list p { margin: 0; }
.vs__list b { display: block; font-family: var(--font-head); font-size: 0.92rem; color: var(--ink-900); line-height: 1.25; }
.vs__list .t { display: block; font-size: 0.86rem; line-height: 1.5; margin-top: 0.15rem; }
.vs__col--bad .vs__list .t { color: var(--ink-400); }
.vs__col--good .vs__list .t { color: var(--ink-700); }

/* ===================== SOLUCIONES (3 unidades de negocio) ===================== */
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.sol-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 2rem 1.8rem;
  box-shadow: var(--shadow-sm); transition: transform 0.16s ease, box-shadow 0.16s ease; display: flex; flex-direction: column;
}
.sol-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.sol-card__ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.1rem;
  background: linear-gradient(150deg, var(--indigo-600), var(--indigo-900)); color: #fff; box-shadow: 0 10px 22px rgba(49,46,129,0.22);
}
.sol-card__ic ion-icon { font-size: 1.7rem; }
.sol-card h3 { font-size: 1.2rem; margin: 0 0 0.5rem; color: var(--ink-900); }
.sol-card p { font-size: 0.96rem; color: var(--ink-500); line-height: 1.65; margin: 0 0 1.1rem; }
.sol-card__more { margin-top: auto; font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; color: var(--brand); }
.sol-card__more:hover { color: var(--brand-700); }

/* ===================== DECISORES (4 personas) ===================== */
.persona-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.persona {
  background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--brand);
  border-radius: 14px; padding: 1.6rem 1.5rem;
}
.persona__role { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); font-weight: 600; }
.persona h3 { margin: 0.4rem 0 0.5rem; font-size: 1.08rem; color: var(--ink-900); }
.persona p { font-size: 0.92rem; color: var(--ink-500); margin: 0; line-height: 1.6; }
.persona__kpi { margin-top: 1rem; font-size: 0.84rem; font-weight: 600; color: var(--brand-700); display: flex; gap: 0.5rem; align-items: center; }
.persona__kpi ion-icon { font-size: 1.1rem; color: var(--brand); }

/* ===================== PROCESO (7 pasos) ===================== */
.steps { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.6rem; }
.step { text-align: center; position: relative; }
.step__n ion-icon { font-size: 20px; display: block; }
.step__n {
  width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; margin: 0 auto 0.7rem; font-family: var(--mono); font-weight: 600; font-size: 0.95rem;
}
.step__lbl { font-family: var(--font-head); font-size: 0.86rem; font-weight: 700; color: var(--ink-900); }
.step__desc { font-size: 0.76rem; color: var(--ink-400); margin-top: 0.2rem; }

/* ===================== VALORES (4 cards) ===================== */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.value-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 1.8rem 1.6rem; box-shadow: var(--shadow-sm); }
.value-card__ic { width: 48px; height: 48px; border-radius: 12px; background: var(--indigo-50); color: var(--brand); display: grid; place-items: center; margin-bottom: 1rem; }
.value-card__ic ion-icon { font-size: 1.6rem; }
.value-card h3 { font-size: 1.1rem; margin: 0 0 0.4rem; color: var(--ink-900); }
.value-card p { font-size: 0.93rem; color: var(--ink-500); line-height: 1.6; margin: 0; }

/* ===================== NGT 199 BAND ===================== */
.reg-band { padding: 3.5rem 0; }
.reg-band[hidden] { display: none; }
.sec-cta { margin-top: 2.4rem; }
.sec-cta.center { text-align: center; }
.reg {
  background: linear-gradient(125deg, var(--indigo-950), var(--indigo-800));
  color: #fff; border-radius: 18px; padding: 2.4rem 2.2rem;
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.8rem; align-items: center;
}
.reg__ic { width: 56px; height: 56px; border-radius: 14px; background: rgba(255,255,255,0.12); display: grid; place-items: center; flex: 0 0 auto; }
.reg__ic ion-icon { font-size: 1.8rem; color: #fff; }
.reg h3 { color: #fff; margin: 0 0 0.3rem; font-size: 1.3rem; }
.reg p { color: #cfd3f1; margin: 0; font-size: 0.98rem; line-height: 1.6; max-width: 70ch; }

/* ===================== FAQ ===================== */
.faq { max-width: 840px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 0.8rem; overflow: hidden; }
.faq summary {
  cursor: pointer; padding: 1.15rem 1.4rem; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--ink-900);
  list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 1.4rem; color: var(--brand); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__ans { padding: 0 1.4rem 1.3rem; color: var(--ink-500); font-size: 0.98rem; line-height: 1.65; }
.faq__ans p { margin: 0; }

/* ===================== CTA BAND ===================== */
.cta-band { padding: 5rem 0; }
.ctaband {
  background: linear-gradient(125deg, var(--indigo-950), var(--indigo-700));
  color: #fff; border-radius: 22px; padding: 3.4rem 2.8rem; text-align: center; box-shadow: var(--shadow-lg);
}
.ctaband h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0 0 0.6rem; }
.ctaband p { color: #cfd3f1; max-width: 56ch; margin: 0 auto 1.7rem; font-size: 1.05rem; }
.ctaband__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.85rem; }

/* ===================== section heading (left/centered) ===================== */
.sec { padding: 5rem 0; }
.sec--paper { background: var(--paper); }
.sec-head { margin-bottom: 2.6rem; }
.sec-head.center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.sec-head h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin: 0 0 0.6rem; }
.sec-head .lead { margin: 0; }
.sec-head.center .lead { margin: 0 auto; }

/* ===================== Prueba social (2.2): nota pendiente + testimonios ===================== */
.pending-note {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.09em; text-transform: uppercase;
  color: #8a5f00; background: #fdf4dd; border: 1px dashed #e0c26a; border-radius: 100px;
  padding: 0.38rem 0.9rem; margin: 0.5rem 0 0;
}
.ph {
  font-family: var(--mono); font-size: 0.92em; color: #8a5f00;
  background: #fdf4dd; border-radius: 4px; padding: 0 0.3em;
}
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 1.4rem; }
.quote-card {
  margin: 0; background: #fff; border: 1px solid var(--line-soft); border-radius: 14px;
  padding: 1.6rem 1.7rem 1.5rem;
}
.quote-card blockquote { margin: 0; font-size: 1.02rem; line-height: 1.65; color: var(--ink-700); }
.quote-card figcaption { margin-top: 1.1rem; }
.quote-card cite {
  font-style: normal; font-family: var(--mono); font-size: 0.74rem;
  letter-spacing: 0.05em; color: var(--ink-400);
}

/* ===================== Motion pack (3.4): stagger en grids ===================== */
.sol-grid > .reveal:nth-child(1), .persona-grid > .reveal:nth-child(1), .value-grid > .reveal:nth-child(1), .figband__grid > .reveal:nth-child(1) { --reveal-delay: 0ms; }
.sol-grid > .reveal:nth-child(2), .persona-grid > .reveal:nth-child(2), .value-grid > .reveal:nth-child(2), .figband__grid > .reveal:nth-child(2) { --reveal-delay: 120ms; }
.sol-grid > .reveal:nth-child(3), .persona-grid > .reveal:nth-child(3), .value-grid > .reveal:nth-child(3), .figband__grid > .reveal:nth-child(3) { --reveal-delay: 240ms; }
.persona-grid > .reveal:nth-child(4), .value-grid > .reveal:nth-child(4), .figband__grid > .reveal:nth-child(4) { --reveal-delay: 360ms; }
.quote-grid > .reveal:nth-child(1) { --reveal-delay: 0ms; }
.quote-grid > .reveal:nth-child(2) { --reveal-delay: 120ms; }

/* ===================== Motion pack (3.4): recorrido con paso activo ===================== */
@media (prefers-reduced-motion: no-preference) {
  html.js .steps.is-motion .step__n {
    background: var(--indigo-100);
    color: var(--indigo-900);
    transition: background-color 0.35s ease, color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
  }
  html.js .steps.is-motion .step__lbl {
    color: var(--ink-400);
    transition: color 0.35s ease;
  }
  html.js .steps.is-motion .step.is-active .step__n {
    background: var(--brand);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(67, 56, 202, 0.35);
  }
  html.js .steps.is-motion .step.is-active .step__lbl {
    color: var(--ink-900);
  }
}

/* ===================== footer ===================== */
/* footer rico (.ftr): estilos movidos a layout.css para uso compartido */

/* ===================== responsive ===================== */
@media (max-width: 992px) {
  .hero-variant--ficha .container { grid-template-columns: 1fr; gap: 2.4rem; }
  .split-grid { grid-template-columns: 1fr; gap: 2rem; }
  .sol-grid { grid-template-columns: 1fr; }
  .persona-grid { grid-template-columns: 1fr 1fr; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(4, 1fr); row-gap: 1.6rem; }
  .figband__grid { grid-template-columns: 1fr 1fr; }
  .reg { grid-template-columns: 1fr; text-align: left; }
}
@media (max-width: 560px) {
  .persona-grid, .value-grid, .figband__grid { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .ctaband { padding: 2.4rem 1.5rem; }
  .reg { padding: 1.8rem 1.4rem; }
}


/* =========================================================================
   Franja de confianza del hero (auditoría 1.3)
   ========================================================================= */
.heroc__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem 2.4rem;
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--indigo-100);
}
.heroc__trust div { display: flex; flex-direction: column; }
.heroc__trust .n {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  color: var(--indigo-900);
}
.heroc__trust .l { font-size: 0.78rem; color: var(--ink-500); max-width: 16ch; }
@media (prefers-reduced-motion: no-preference) {
  .heroc .d5 { animation-delay: 0.6s; }
}
@media (max-width: 560px) {
  .heroc__trust { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.4rem; }
}
