/* CFP Infinity — guiño estructura/forma Enforcement (Poppins, azul, covers)
   Contenido = producto CFP. Sin misión/visión Enforcement. */

:root {
  --blue: #254c98;
  --blue-deep: #0c2a66;
  --blue-ink: #1a2f5c;
  --ink: #1e1f26;
  --muted: #5c6570;
  --line: #e4e7ee;
  --paper: #ffffff;
  --paper-2: #f0f0f1;
  --base: #ffffff;
  --font: "Poppins", sans-serif;
  --font-body: "Albert Sans", "Poppins", sans-serif;
  --max: calc(81.5rem + 4cm);
  --narrow: calc(51.5rem + 4cm);
  --type-title: 30px;
  --type-sub: 18px;
  --type-body: 18px;
}

/* Copy: solo 3 tamaños. Negrita independiente (t-bold / t-reg). */
.t-title {
  font-size: var(--type-title);
  line-height: 1.45;
  color: var(--blue);
}
.t-sub {
  font-size: var(--type-sub);
  line-height: 1.45;
  color: var(--blue);
}

h1,
h2,
h3 {
  color: var(--blue);
}
.t-body {
  font-size: var(--type-body);
  line-height: 1.45;
}
.t-bold {
  font-weight: 700;
}
.t-reg {
  font-weight: 400;
}
.t-upper {
  text-transform: uppercase;
}
.t-underline {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

.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;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--blue-deep);
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.wrap--narrow {
  width: min(100% - 2.5rem, var(--narrow));
}

/* —— Top (sobrio, como Enforcement) —— */
.top {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.top__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1rem;
  color: var(--blue);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.top__brand .mark {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  background: transparent;
}

.top__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.25rem 0.75rem;
}

.top__nav a {
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.top__nav a:hover {
  color: var(--blue);
}

.top__cta {
  padding: 0.35rem 1rem;
  border: 1px solid var(--blue);
  color: var(--blue) !important;
  background: transparent;
}

.top__cta:hover {
  background: var(--blue);
  color: #fff !important;
}

/* —— Buttons (esquinas rectas, estilo flat Enforcement) —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.25rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 400;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 0;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--outline {
  border-color: #fff;
  color: #fff;
  background: transparent;
}

.btn--outline:hover {
  background: #fff;
  color: var(--blue-deep);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  background: transparent;
}

.btn--ghost:hover {
  border-color: #fff;
  color: #fff;
}

.btn--solid {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.btn--solid:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  color: #fff;
}

/* —— Hero cover —— */
.hero {
  position: relative;
  min-height: calc(100dvh - 4.5rem);
  display: grid;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--blue-deep);
  scroll-margin-top: 4rem;
}

.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  z-index: 1;
}

.hero__dim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(12, 42, 102, 0.62);
}

.hero__inner {
  position: relative;
  z-index: 3;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  padding: 2.5rem 0;
  max-width: calc(55.5rem + 4cm);
  text-align: center;
}

.hero__eyebrow,
.hero__inner > p,
.hero__catch,
.hero__lead {
  margin: 0 0 1.6em;
  font-family: var(--font);
  letter-spacing: 0;
}

.hero__h1 {
  margin: 0 0 1.55em;
  max-width: none;
  font-size: 40px;
  line-height: 1.35;
}

.hero__inner > p.hero__eyebrow {
  font-size: 25px;
}

.hero__inner > p.hero__eyebrow .t-underline {
  text-decoration-thickness: 0.05em;
}

.hero__catch.t-body,
.hero__catch p {
  font-size: 25px;
}

.hero__apoyo {
  margin: 0 0 1.1em;
}

.hero__eyebrow {
  font-size: var(--type-title);
  line-height: 1.45;
  font-weight: 400;
}

.hero h1.hero__h1 {
  font-size: 40px;
  line-height: 1.35;
  text-decoration: underline;
  text-decoration-style: solid;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 0.05em;
}

.hero,
.hero h1,
.hero h2,
.hero h3,
.hero p,
.hero .hero__eyebrow,
.hero .t-title,
.hero .t-sub,
.hero .t-body,
.hero .t-underline,
.hero a {
  color: #fff !important;
}

.hero .t-body {
  font-family: var(--font-body);
  font-size: var(--type-body);
  font-weight: 400;
  line-height: 1.45;
}

.hero__catch {
  color: #fff;
}

.hero__catch p {
  margin: 0 0 1.6em;
}

.hero__catch p:last-child {
  margin-bottom: 0;
}

.hero__lead {
  color: #fff;
}

.hero__inner > :last-child {
  margin-bottom: 0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

/* Versión Setup — misma regla que portada CFP: última línea, abajo a la derecha */
.hero__version {
  position: absolute;
  z-index: 3;
  right: 1.25rem;
  bottom: 1rem;
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  text-align: right;
  pointer-events: none;
}

/* —— Objective band —— */
.band--objective {
  padding: 3rem 0;
  background: var(--paper);
  text-align: center;
}

.band--objective p {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: clamp(0.95rem, 1.5vw, 1.2rem);
  color: var(--blue-ink);
  line-height: 1.55;
}

/* —— Sections —— */
.section {
  padding: 4.25rem 0;
  background: var(--paper);
}

.section--muted {
  background: var(--paper-2);
}

#diagnostico > .wrap > .t-title,
.sec-kicker {
  margin: 0 0 1rem;
  font-family: var(--font);
  font-size: var(--type-title);
  font-weight: 400;
  color: var(--blue);
  max-width: none;
}

.sec-kicker--center {
  text-align: center;
}

.cover-band .sec-kicker {
  color: #fff;
}

.eyebrow {
  margin: 0 0 0.4rem;
  font-family: var(--font);
  font-size: var(--type-sub);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}

.section h2,
.section__title {
  margin: 0 0 1rem;
  font-family: var(--font);
  font-weight: 400;
  font-size: var(--type-title);
  color: var(--blue);
  letter-spacing: -0.01em;
  max-width: 28ch;
}

#banca-title,
#alertas-title {
  max-width: none;
  white-space: nowrap;
}

#alertas > .wrap > h3.t-title {
  margin: 0 0 0.75rem;
  max-width: none;
}

#alertas .pane--wide {
  width: 100%;
  max-width: none;
}

#alertas .pane--media {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: #111;
}

#alertas .pane-shot--wide {
  width: 100%;
  height: auto;
  aspect-ratio: 32 / 9;
  object-fit: cover;
  object-position: center;
  display: block;
}

html.is-editing #alertas .pane--media .n {
  position: absolute;
  top: 0.45rem;
  left: 0.45rem;
  z-index: 2;
  margin-right: 0;
}

#alertas .pane--alertas-lead {
  width: 70%;
  max-width: 70%;
  margin-left: auto;
  margin-right: auto;
}

#alertas .pane--alertas-lead + .pane--alertas-lead {
  margin-top: 1.25rem;
}

#alertas .pane--alertas-lead #alertas-title {
  white-space: normal;
  margin-bottom: 0.75rem;
}

#alertas .pane--wide .t-body {
  margin: 0 0 0.75rem;
}

#alertas .pane--wide .pane-list {
  font-size: var(--type-body);
}

#alertas .pane--wide .t-body:last-child {
  margin-bottom: 0;
}

#banca .section__text {
  max-width: none;
}

.section__title--center {
  text-align: center;
  max-width: none;
  margin-bottom: 2.25rem;
}

.section__text {
  margin: 0 0 1.5rem;
  max-width: calc(45.5rem + 4cm);
  color: var(--muted);
  font-size: var(--type-body);
}

.diag-window {
  margin: 0 0 1.5rem;
  padding: 1.35rem 1.25rem;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  border: 1px solid var(--line);
  background: #eef2fb;
  color: var(--blue-ink);
  font-family: var(--font-body);
  font-size: var(--type-body);
  font-weight: 400;
  line-height: 1.5;
}

.diag-window p {
  margin: 0;
}

.diag-21 {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.diag-21 > .eyebrow,
.diag-21 > .t-title,
.diag-21 > h2 {
  text-align: center;
  max-width: none;
}

.stat-block {
  width: max-content;
  max-width: 100%;
  margin: 1rem auto 2.25rem;
}

.stat-band {
  margin-top: 1rem;
  padding: 1.35rem 1.25rem;
  border: 1px solid var(--line);
  background: #eef2fb;
  color: var(--blue-ink);
  font-family: var(--font-body);
  font-size: var(--type-body);
  font-weight: 400;
  line-height: 1.5;
  box-sizing: border-box;
  width: 0;
  min-width: 100%;
}

.stat-band p {
  margin: 0 0 0.75rem;
}

.stat-band p:last-child {
  margin-bottom: 0;
}

.stat-pair {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
  margin: 0;
}

@media (min-width: 960px) {
  .stat-pair {
    grid-template-columns: max-content max-content;
  }
}

.stat-table-wrap {
  margin: 0;
  min-width: 0;
  border: 1px solid var(--line);
}

/* Fija: tabla de causas de quiebra. No mover. */
.stat-table-wrap--rank {
  width: max-content;
  max-width: 100%;
}

.stat-table-wrap--rank .stat-table {
  width: auto;
  table-layout: auto;
}

.stat-table-wrap--rank .stat-table th,
.stat-table-wrap--rank .stat-table td {
  width: auto;
  white-space: nowrap;
}

.stat-table-wrap--rank .stat-table th:last-child,
.stat-table-wrap--rank .stat-table td:last-child,
.stat-table-wrap--rank .stat-table__n {
  width: auto;
}

.stat-seg {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: max-content;
  max-width: 100%;
  height: 100%;
}

.stat-table-wrap--seg {
  width: max-content;
  max-width: none;
  box-sizing: content-box;
  padding-right: 6rem;
}

.stat-table-wrap--seg .stat-table {
  width: calc(100% + 6rem);
  table-layout: auto;
}

.stat-table-wrap--seg .stat-table thead th,
.stat-table-wrap--seg .stat-table tbody td {
  white-space: nowrap;
  padding-left: 1.6rem;
  padding-right: 1.6rem;
}

.stat-table-wrap--seg .stat-table thead th:first-child,
.stat-table-wrap--seg .stat-table tbody td:first-child {
  width: 50%;
}

.stat-table-wrap--seg .stat-table thead th:last-child,
.stat-table-wrap--seg .stat-table tbody td:last-child {
  width: 50%;
}

.stat-note {
  margin-top: auto;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  background: #eef2fb;
  color: var(--blue-ink);
  font-family: var(--font-body);
  font-size: var(--type-body);
  font-weight: 400;
  line-height: 1.5;
  box-sizing: border-box;
  width: 0;
  min-width: 100%;
}

.stat-note p {
  margin: 0 0 0.65rem;
}

.stat-note p:last-child {
  margin-bottom: 0;
}

.stat-panel {
  margin-top: 1.6em;
  padding: 1.35rem 1.25rem;
  min-height: 0;
  border: 1px solid var(--blue);
  background: var(--paper);
  color: var(--blue-ink);
  font-size: var(--type-body);
  line-height: 1.5;
  box-sizing: border-box;
  width: 0;
  min-width: 100%;
}

.stat-panel p {
  margin: 0 0 0.85rem;
}

.stat-panel p:last-child {
  margin-bottom: 0;
}

.stat-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
}

.stat-table th,
.stat-table td {
  padding: 0.7rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.stat-table th {
  font-family: var(--font);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: #fff;
  background: var(--blue);
}

.stat-table th:last-child,
.stat-table td:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  width: 6.5rem;
}

.stat-table__n {
  width: 2.4rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.stat-table td {
  color: var(--ink);
}

.stat-table tbody tr:nth-child(even) td {
  background: var(--paper-2);
}

.stat-table tfoot td {
  border-bottom: none;
  background: #eef2fb;
  color: var(--blue-ink);
  text-align: left;
  width: auto;
  font-size: var(--type-body);
  line-height: 1.45;
}

.stat-table tfoot p {
  margin: 0 0 0.75rem;
}

.stat-table tfoot p:last-child {
  margin-bottom: 0;
}

.stat-table--rank tfoot td {
  text-align: right;
}

.stat-table--rank tfoot td.stat-table__n,
.stat-table--rank tfoot td:nth-child(2) {
  text-align: left;
}

.stat-table--rank tfoot tr:first-child td {
  border-top: 0.7rem solid #fff;
}

.stat-table tbody tr:nth-child(even) td.stat-mark--yellow,
.stat-table td.stat-mark--yellow {
  background: #fff176;
}

.stat-table tbody tr:nth-child(even) td.stat-mark--orange,
.stat-table td.stat-mark--orange,
.stat-table--rank tfoot tr.stat-row--orange td.stat-mark--orange {
  background: #ffb74d;
}

.stat-table--rank tfoot tr.stat-row--yellow td {
  background: #fff8c4;
}

.stat-table--rank tfoot tr.stat-row--orange td {
  background: #ffe0b2;
  border-top: 1px solid #e8d2b0;
}

.stat-table--rank tfoot tr.stat-row--yellow td.stat-mark--yellow {
  background: #fff176;
}

.stat-table--rank tfoot tr.stat-row--orange td.stat-mark--orange {
  background: #ffb74d;
}

/* —— 4 pillars (como bloque valor Enforcement) —— */
.pillars-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.75rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.pillars-grid h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--blue);
  line-height: 1.3;
}

.pillars-grid p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

#funciones .pane--wide {
  width: 70%;
  max-width: 70%;
  margin-left: auto;
  margin-right: auto;
  justify-self: center;
}

#funciones .pane--wide p + p {
  margin-top: 1.15em;
}

.pillars-grid__n {
  display: block;
  margin-bottom: 0.65rem;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--blue);
}

.pillars-grid--windows {
  gap: 1.25rem;
  align-items: stretch;
}

.pillars-grid--4 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .pillars-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .pillars-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pillars-grid--windows > li,
.pane {
  padding: 1.35rem 1.25rem;
  border: 1px solid var(--line);
  box-sizing: border-box;
}

.pane--fill {
  background: #eef2fb;
}

.pane--plain {
  background: var(--paper);
}

.pane--empty {
  min-height: 10rem;
}

.pane--wide {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 1.25rem;
}

.pane--shot {
  display: flex;
  flex-direction: column;
  min-height: 10rem;
  background: #fff;
}

.pane-shot {
  display: block;
  width: 100%;
  flex: 1;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}

.pane-list {
  margin: 0;
  padding-left: 1.15rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}

.pane-sub {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.4rem;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--blue);
  line-height: 1.3;
}

.pane-sub::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #111;
  flex-shrink: 0;
}

.pane-list__dot {
  list-style: none;
  position: relative;
  padding-left: 0.15rem;
}

.pane-list__dot::before {
  content: "";
  position: absolute;
  left: -1.05rem;
  top: 0.4em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #111;
}

.pane-list ul {
  margin: 0.35rem 0 0;
  padding-left: 1.1rem;
}

.pillars-grid__ico {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  margin-bottom: 0.75rem;
  background: var(--blue);
}

/* —— Product split —— */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 820px) {
  .split {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .split--banca {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    align-items: start;
  }
}

#privacidad .pillars-grid {
  margin-top: 1.75rem;
}

@media (min-width: 820px) {
  #privacidad .pillars-grid {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
  }
}

.split__frame {
  min-height: 14rem;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  gap: 0.75rem;
  background: #000;
  color: #fff;
  padding: 1.5rem;
}

.split__logo {
  width: min(100%, 11rem);
  height: auto;
  display: block;
}

.shot-slot {
  position: relative;
  min-height: 14rem;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 1.5rem;
  background: var(--paper-2);
  border: 1px dashed var(--line);
  color: var(--muted);
}

.shot-slot--filled {
  padding: 0;
  border: 1px solid var(--line);
  background: #111;
  overflow: hidden;
}

.shot-slot--filled .shot-slot__img {
  width: 100%;
  height: 100%;
  min-height: 14rem;
  object-fit: cover;
  object-position: center;
  display: block;
}

.shot-slot--wide.shot-slot--filled {
  min-height: 7rem;
  height: 7rem;
}

.shot-slot--wide.shot-slot--filled .shot-slot__img {
  min-height: 0;
  height: 7rem;
}

.shot-slot--clip {
  width: min(100%, 42rem);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.banca-media {
  display: grid;
  grid-template-columns: 25.7fr 9fr;
  align-items: start;
  gap: 1rem;
  min-width: 0;
  width: 70%;
  max-width: 70%;
  margin-left: auto;
  margin-right: auto;
}

.banca-media .shot-slot {
  display: block;
  min-height: 0;
  padding: 0;
}

.shot-slot--sm {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
}

.shot-slot--sm .shot-slot__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.shot-slot--ui {
  width: 100%;
  background: #fff;
}

.shot-slot--ui .shot-slot__img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1734 / 1079;
  object-fit: contain;
  object-position: top left;
  background: #fff;
}

.banca-dossier {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.banca-dossier .pane {
  position: relative;
}

.banca-dossier h3 {
  margin: 1.15rem 0 0.35rem;
}

.banca-dossier h3:first-of-type {
  margin-top: 0.35rem;
}

.banca-dossier .t-body {
  margin: 0 0 0.65rem;
}

.banca-dossier .pane-list {
  font-size: var(--type-body);
  margin-bottom: 0.65rem;
}

.banca-windows {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 760px) {
  .banca-windows {
    grid-template-columns: 1fr 1fr;
  }

  .banca-windows .pane:last-child {
    grid-column: 1 / -1;
  }
}

.banca-cards {
  display: grid;
  gap: 1rem;
  margin: 0.75rem 0 1rem;
}

@media (min-width: 760px) {
  .banca-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.banca-cards h3 {
  margin-top: 0;
}

.shot-slot--filled .n {
  position: absolute;
  top: 0.45rem;
  left: 0.45rem;
  z-index: 2;
}

.shot-slot p {
  margin: 0;
  font-family: var(--font);
  font-size: 0.85rem;
  max-width: 22rem;
  line-height: 1.45;
}

.shot-slot--wide {
  margin-top: 2rem;
  min-height: 8rem;
}

.rav {
  list-style: none;
  margin: 1.75rem auto 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  width: 70%;
  max-width: 70%;
}

@media (min-width: 760px) {
  .rav {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
  }
}

.rav--windows {
  align-items: stretch;
}

.rav-pane--rojo {
  background: #ff9a86;
}

.rav-pane--amarillo {
  background: #fff4a0;
}

.rav-pane--verde {
  background: #7edc8a;
}

.rav h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--blue);
}

.rav p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.rav__dot {
  display: none;
}

.split__frame p {
  margin: 0;
  font-family: var(--font);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

/* —— Tres pilares + logo oficial —— */
.como-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.como-head__logo {
  width: 5.5rem;
  height: 5.5rem;
  object-fit: contain;
  background: transparent;
  flex-shrink: 0;
}

.como-head h2 {
  max-width: 18ch;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.steps li {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 2px solid var(--blue);
}

.steps__n {
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.06em;
}

.steps h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--blue);
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* —— Cover band (video + overlay azul) —— */
.cover-band {
  position: relative;
  min-height: 22rem;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--blue-deep);
}

.cover-band__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-band__dim {
  position: absolute;
  inset: 0;
  background: rgba(12, 42, 102, 0.72);
}

.cover-band__inner {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0;
  text-align: left;
}

.cover-band h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font);
  font-weight: 400;
  font-size: var(--type-title);
  color: #fff;
}

.cover-band .btn {
  display: inline-block;
  margin: 0 0.75rem 0.5rem 0;
}

.cover-band p {
  margin: 0 0 1.5rem;
  font-family: var(--font);
  font-size: var(--type-body);
  color: #fff;
  max-width: calc(43.5rem + 4cm);
}

.cover-band__list {
  margin: 0;
  padding-left: 1.2rem;
  font-family: var(--font);
  font-size: var(--type-body);
  color: #fff;
  max-width: calc(43.5rem + 4cm);
}

.cover-band__list li {
  margin: 0 0 0.45rem;
}

.cover-band__list li:last-child {
  margin-bottom: 0;
}

/* —— Comparativa mercado —— */
.compare-wrap {
  overflow-x: auto;
  margin: 0 0 1.5rem;
  border: 1px solid var(--line);
}

.compare {
  width: 100%;
  min-width: 44rem;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.compare th,
.compare td {
  padding: 0.7rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--muted);
}

.compare th {
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--blue-ink);
  background: var(--paper);
}

.compare th:last-child,
.compare td:last-child {
  color: var(--blue-ink);
  background: #eef2fb;
  font-weight: 500;
}

.compare tbody tr:last-child td {
  border-bottom: none;
}

.compare__note {
  margin-top: 0.5rem;
  max-width: calc(51.5rem + 4cm);
}

/* —— FAQ —— */
#faq {
  padding-bottom: 1cm;
}

#faq .sec-kicker {
  text-align: left;
}

.faq {
  margin: 1.5rem 0 0;
  border-bottom: 1px solid var(--line);
}

.faq > div {
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.faq dt {
  font-family: var(--font);
  font-weight: 700;
  font-size: var(--type-sub);
  line-height: 1.35;
  color: var(--blue);
  margin-bottom: 0.3rem;
}

.faq dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.faq-ix {
  font-family: var(--font);
  font-weight: 400;
  color: var(--blue);
  margin-right: 0.35rem;
}

.faq > div.faq-more-item {
  display: none;
}

.faq.is-expanded > div.faq-more-item {
  display: block;
}

.faq-toggle-wrap {
  margin: 0.15rem 0 0;
  padding: 0.85rem 0 0.2rem;
}

.faq-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-family: var(--font);
  font-size: var(--type-sub);
  font-weight: 400;
  border-radius: 0;
  cursor: pointer;
}

@media (min-width: 960px) {
  #faq .wrap--narrow {
    width: min(100% - 2.5rem, var(--max));
  }

  .faq {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2.4rem;
  }

  .faq.is-expanded > div.faq-more-item {
    display: block;
  }
}

.faq-toggle:hover {
  text-decoration: underline;
}

.faq-toggle__dots {
  letter-spacing: 0.12em;
  font-weight: 600;
}

/* —— Footer —— */
.foot {
  margin-top: 1cm;
  padding: 2.5rem 0 3rem;
  background: var(--blue-deep);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.foot a {
  display: block;
  color: #fff;
  text-decoration: none;
}

.foot a:hover {
  text-decoration: underline;
}

.foot__webpay {
  display: inline-block;
  margin-top: 0.25rem;
}

.foot__webpay img {
  display: block;
  height: 2.1rem;
  width: auto;
}

.foot a.foot__webpay:hover {
  text-decoration: none;
  opacity: 0.88;
}

.foot__social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

.foot__social a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.foot__social svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
  flex-shrink: 0;
}

/* —— /descargar (OG WhatsApp) —— */
.dl {
  min-height: calc(100dvh - 4.5rem);
  display: grid;
  align-items: center;
  background: var(--blue-deep);
  color: #fff;
  padding: 3rem 0;
}

.dl .t-title,
.dl .t-sub,
.dl .t-body,
.dl a {
  color: #fff;
}

.dl .t-title {
  margin: 0 0 0.75em;
}

.dl__kicker {
  margin: 0 0 0.5em;
  opacity: 0.9;
}

.dl__inner p {
  max-width: 40rem;
}

.dl__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin: 1.5rem 0 1rem;
}

.dl .btn--outline {
  border-color: #fff;
  color: #fff;
}

.dl .btn--outline:hover {
  background: #fff;
  color: var(--blue-deep);
}

.dl__note {
  margin: 1.5rem 0 0;
  opacity: 0.92;
}

.dl__note a {
  text-decoration: underline;
}

/* —— /descargar: puerta de pago (espíritu /buy, marca landing) —— */
.gate {
  min-height: calc(100dvh - 4.5rem);
  display: grid;
  place-items: center;
  padding: 2.5rem 1.25rem 3rem;
  background:
    radial-gradient(ellipse at top left, rgba(37, 76, 152, 0.1), transparent 52%),
    radial-gradient(ellipse at bottom right, rgba(12, 42, 102, 0.08), transparent 46%),
    var(--paper-2);
}

.gate__card {
  width: min(36rem, 100%);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 2rem 1.6rem 1.6rem;
  text-align: center;
}

.gate__logo {
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 0.85rem;
  object-fit: contain;
}

.gate__kicker {
  margin: 0 0 0.4rem;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
}

.gate__card .t-title {
  margin: 0 0 0.65em;
}

.gate__lead {
  margin: 0 auto 1.4rem;
  max-width: 32rem;
  color: var(--ink);
}

.gate__plans-label {
  margin: 0 0 0.55rem;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
}

.gate__plans {
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.gate__plan {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "name price"
    "meta meta";
  gap: 0.1rem 0.75rem;
  align-items: baseline;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  text-align: left;
}

.gate__plan:hover,
.gate__plan:focus-visible {
  border-color: var(--blue);
  background: #f6f8fc;
}

.gate__plan-name {
  grid-area: name;
  font-family: var(--font);
  font-weight: 700;
  color: var(--ink);
}

.gate__plan-price {
  grid-area: price;
  font-family: var(--font);
  font-weight: 700;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}

.gate__plan-meta {
  grid-area: meta;
  font-size: 0.85rem;
  color: var(--muted);
}

.gate__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin: 0 0 1rem;
}

.gate__actions .btn--outline {
  border-color: var(--blue);
  color: var(--blue);
}

.gate__actions .btn--outline:hover {
  background: var(--blue);
  color: #fff;
}

.gate__note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.gate__note a {
  color: var(--blue);
  font-weight: 600;
}

.foot__grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .foot__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1000px) {
  .foot__grid {
    grid-template-columns: 1.2fr 1fr 1fr 1.4fr;
  }
}

.foot__brand-block {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.foot__logo {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
  background: transparent;
  flex-shrink: 0;
}

.foot__brand {
  margin: 0 0 0.35rem;
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.05rem;
  color: #fff;
}

.foot__meta {
  margin: 0;
}

.foot__label {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.foot__pub {
  margin-top: 1.35rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.62);
}

.foot__pub a {
  display: inline;
  color: inherit;
}

/* —— Términos (cfp-adhesion-v3) —— */
.legal {
  padding: 4.25rem 0 5rem;
  background: var(--paper);
}

.legal h1 {
  margin: 0 0 0.75rem;
  max-width: none;
}

.legal__ver {
  margin: 0 0 2rem;
  color: var(--muted);
}

.legal h2 {
  margin: 1.75rem 0 0.65rem;
  max-width: none;
}

.legal p {
  margin: 0 0 1rem;
}

.legal__list {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.legal__list li {
  margin: 0 0 0.35rem;
}

@media (max-width: 640px) {
  .top__nav a:not(.top__cta):not(.top__home):not(.top__blog) {
    display: none;
  }

  .hero__inner {
    padding: 2rem 0;
  }
}

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

  .hero__media,
  .cover-band__media {
    display: none;
  }
}

/* —— Carrusel pantallazos (P05) —— */
#pantallas-title {
  max-width: none;
}

.shots {
  margin-top: 1.25rem;
}

.shots__stage {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65rem;
}

.shots__viewport {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  outline: none;
}

.shots__viewport:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.shots__track {
  display: flex;
  width: 100%;
  transition: transform 0.35s ease;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .shots__track {
    transition: none;
  }
}

.shots__slide {
  flex: 0 0 100%;
  margin: 0;
  min-width: 0;
  padding: 0 0 0.85rem;
}

.shots__slide img {
  width: 100%;
  height: auto;
  max-height: min(70vh, 720px);
  object-fit: contain;
  object-position: top center;
  background: #f4f5f7;
}

.shots__cap {
  margin: 0.75rem 0 0;
  text-align: center;
  color: var(--blue);
}

.shots__btn {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
  font-family: var(--font);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.shots__btn:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
}

.shots__btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.shots__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.9rem;
}

.shots__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid var(--blue);
  background: transparent;
  cursor: pointer;
}

.shots__dot.is-on,
.shots__dot[aria-current="true"] {
  background: var(--blue);
}

.shots__dot:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

@media (max-width: 720px) {
  .shots__stage {
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
  }

  .shots__viewport {
    grid-column: 1 / -1;
    order: -1;
  }

  .shots__btn {
    justify-self: center;
  }
}

/* Números de edición: solo con html.is-editing (Desarrollo). Al zip: quitar la clase. */
.n,
.zona {
  display: none;
}

html.is-editing .n {
  display: inline-block;
  margin-right: 0.4em;
  padding: 0.08em 0.4em;
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  vertical-align: middle;
  background: #e8a317;
  color: #1a1200;
}

html.is-editing .zona {
  display: block;
  margin: 0 0 0.85rem;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

html.is-editing .hero .n,
html.is-editing .cover-band .n {
  background: #ffd15c;
}

html.is-editing .hero .zona,
html.is-editing .cover-band .zona {
  color: #ffd15c;
}

html.is-editing .foot .n {
  background: #e8a317;
}

/* —— Blog (oculto hasta activar; P07 testimonios suspendido) —— */
.cms {
  padding: 4.25rem 0 5rem;
  background: var(--paper);
}

.cms__kicker {
  margin: 0 0 0.4rem;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.cms__lead {
  margin: 0 0 1.5rem;
}

.cms__local {
  margin: 0 0 1.25rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--muted);
  font-size: 0.95rem;
}

.cms__status {
  margin: 0 0 1.25rem;
}

.cms__status--err {
  color: var(--blue-deep);
}

.cms__back {
  margin: 0 0 1rem;
}

.cms-list {
  display: grid;
  gap: 1.25rem;
}

.cms-card {
  border: 1px solid var(--line);
  background: #fff;
}

.cms-card__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 180px;
  object-fit: contain;
  object-position: center;
  background: #111;
  margin: 0;
}

.cms-post__img {
  display: block;
  width: 100%;
  max-width: 720px;
  height: 360px;
  max-height: 360px;
  object-fit: contain;
  object-position: center;
  background: #111;
  margin-inline: auto;
}

.cms-card__body {
  padding: 1.25rem 1.35rem 1.4rem;
}

.cms-card__meta {
  margin: 0 0 0.45rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.cms-card h2 {
  margin: 0 0 0.55rem;
  max-width: none;
}

.cms-card__more {
  margin: 0.85rem 0 0;
}

.cms-post__body {
  margin-top: 1.35rem;
  max-width: 42rem;
}

.cms-post__body .t-body {
  margin: 0 0 1.1rem;
  color: var(--ink, #1a2332);
}

.cms-post__body .t-body:last-child {
  margin-bottom: 0;
}

.cms-post__summary {
  margin: 0.55rem 0 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.45;
}

.cms-post__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: baseline;
  column-gap: 1.5rem;
  row-gap: 0.5rem;
  margin-top: 2.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.cms-post__num {
  font-weight: 700;
  color: var(--ink, #1a2332);
  font-size: 1.05rem;
}

.cms-post__author {
  font-weight: 600;
  color: var(--ink, #1a2332);
  font-size: 1.05rem;
}

.cms-post__date {
  margin-left: 0;
  text-align: left;
  white-space: nowrap;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink, #1a2332);
}

.cms-pdf__dl {
  margin: 0 0 0.5rem;
}

.cms-pdf__link {
  font-weight: 600;
}

.cms-pdf__loading {
  margin: 1rem;
  text-align: center;
}

.cms-media {
  /* Marco del carrusel / foto en el artículo: 720 × 360 px */
  width: 720px;
  max-width: min(720px, 100%);
  margin: 1.25rem auto 0;
  position: relative;
}

.cms-media .cms-post__img {
  display: block;
  width: 100%;
  max-width: 720px;
  height: 360px;
  max-height: 360px;
  object-fit: contain;
  object-position: center;
  background: #111;
}

.cms-media__video {
  display: block;
  width: 100%;
  max-width: 720px;
  height: 360px;
  max-height: 360px;
  object-fit: contain;
  background: #111;
}

.cms-gal__view {
  position: relative;
  width: 100%;
  max-width: 720px;
  height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  outline: none;
  cursor: pointer;
  background: #111;
}

.cms-media.cms-gal--pdf {
  width: 360px;
  max-width: min(360px, 100%);
}

.cms-gal--pdf .cms-gal__view {
  height: auto;
  min-height: 0;
  max-width: 360px;
  overflow: visible;
  background: #fff;
}

.cms-gal--pdf .cms-gal__slide {
  position: relative;
  inset: auto;
}

.cms-gal--pdf .cms-gal__slide.is-on {
  display: block;
}

.cms-gal--pdf .cms-gal__slide img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  background: #fff;
}

.cms-gal__view:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.cms-gal__slide {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
}

.cms-gal__slide.is-on {
  display: flex;
}

.cms-gal__slide img,
.cms-gal img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 720px;
  max-height: 360px;
  object-fit: contain;
  object-position: center;
  background: #111;
}

.cms-gal__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.9rem;
}

.cms-gal__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid var(--blue);
  background: transparent;
  cursor: pointer;
}

.cms-gal__dot.is-on,
.cms-gal__dot[aria-current="true"] {
  background: var(--blue);
}

.cms-gal__dot:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.cms-gal__live {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
