/* =========================================================
   Comparativa · Evidence ERP vs Odoo (/comparativa/evidence-erp-vs-odoo)
   Concepto: "dos carriles" con código de color fijo: azul marino = Evidence ERP, ciruela = Odoo.
   Hero con foto y gráfica de costo total; barra de secciones fija; cada tema abre con una portada
   (foto + panel azul marino) y sigue con dos tarjetas paralelas y un recuadro "¿Qué conviene evaluar?".
   Tipografía: Montserrat. Fotos y capturas de otras landings de Evidence (public/img); nada de Odoo.
   Al cambiar este archivo o el JS, subir el ?v=DDMMAAAA del <link>/<script> en el Blade (Cloudflare).
   ========================================================= */
:root {
    --cv-navy: #001773;
    --cv-navy-deep: #000c45;
    --cv-navy-2: #0a2a9c;
    --cv-blue: #1271f9;
    --cv-blue-soft: #edf2ff;
    --cv-plum: #6e3f62;
    --cv-plum-2: #8e5a80;
    --cv-plum-light: #ebc9df;
    --cv-plum-soft: #f8f0f5;
    --cv-paper: #f4f6fb;
    --cv-ink: #0f1a3d;
    --cv-text: #4a5470;
    --cv-muted: #6f7893;
    --cv-line: #e1e5f0;
    --cv-white: #ffffff;
    --cv-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    --cv-shadow: 0 28px 60px -34px rgba(15, 26, 61, 0.45);
}

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

/* scroll suave para los enlaces internos (índice, "Ver precios", "Ver el cálculo"…); deja libre la barra fija */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 64px;
}

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

/* Lenis (scroll suave de rueda y trackpad): estilos que pide la librería */
html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.cv-page {
    margin: 0;
    overflow-x: hidden;
    background: var(--cv-white);
    color: var(--cv-text);
    font-family: "Montserrat", system-ui, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* reset con especificidad 0 para que cualquier clase de abajo lo pueda cambiar */
:where(.cv-page main) :where(h1, h2, h3, p, ul, ol, figure, table) {
    margin: 0;
}

:where(.cv-page main) :where(ul, ol) {
    padding: 0;
    list-style: none;
}

:where(.cv-page main) img {
    display: block;
    max-width: 100%;
}

.cv-page a:focus-visible,
.cv-page button:focus-visible,
.cv-page summary:focus-visible,
.cv-page input:focus-visible,
.cv-page select:focus-visible {
    outline: 3px solid var(--cv-blue);
    outline-offset: 3px;
}

.cv-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.cv-wrap {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- tipografía ---------- */
.cv-h2 {
    color: var(--cv-ink);
    font-size: clamp(1.7rem, 2.6vw, 2.35rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.cv-h3 {
    color: var(--cv-ink);
    font-size: 1.13rem;
    font-weight: 700;
    line-height: 1.35;
}

.cv-head > * + *,
.cv-prose > * + *,
.cv-lane > * + *,
.cv-evaluate > * + *,
.cv-profile__body > * + *,
.cv-chapter__copy > * + * {
    margin-top: 1rem;
}

.cv-head {
    max-width: 780px;
    margin-bottom: 44px;
}

.cv-head > .cv-h2 + p {
    margin-top: 1.25rem;
}

.cv-prose {
    max-width: 800px;
    margin-top: 40px;
}

.cv-prose > .cv-h3 {
    margin-top: 2.25rem;
}

.cv-note {
    max-width: 900px;
    margin-top: 14px;
    color: var(--cv-muted);
    font-size: 0.82rem;
    line-height: 1.6;
}

.cv-example {
    padding: 14px 18px;
    border-left: 4px solid var(--cv-blue);
    border-radius: 0 12px 12px 0;
    background: var(--cv-blue-soft);
    color: var(--cv-ink);
}

.cv-example strong {
    font-weight: 700;
}

/* ---------- botones ---------- */
.cv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0.85rem 1.7rem;
    border: 2px solid transparent;
    border-radius: 14px;
    background: var(--cv-blue);
    color: var(--cv-white);
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 14px 30px -14px rgba(18, 113, 249, 0.8);
    transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.cv-btn:hover {
    background: #0b5fd6;
    color: var(--cv-white);
    transform: translateY(-2px);
}

.cv-btn--ghost {
    border-color: rgba(255, 255, 255, 0.45);
    background: transparent;
    box-shadow: none;
}

.cv-btn--ghost:hover {
    border-color: var(--cv-white);
    background: rgba(255, 255, 255, 0.08);
}

.cv-btn--light {
    background: var(--cv-white);
    color: var(--cv-navy);
    box-shadow: none;
}

.cv-btn--light:hover {
    background: var(--cv-blue-soft);
    color: var(--cv-navy);
}

.cv-dot {
    display: inline-block;
    flex: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--cv-navy);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
}

.cv-dot--o {
    background: var(--cv-plum);
}

/* =========================================================
   NAVBAR (componente x-header-landing sobre el hero)
   ========================================================= */
.cv-navbar .header-landing-cta {
    color: var(--cv-navy);
    border-radius: 12px;
}

/* =========================================================
   HERO: foto a sangre + precio de cada sistema cara a cara
   ========================================================= */
.cv-hero {
    position: relative;
    padding: 132px 0 150px;
    background: var(--cv-navy-deep);
    color: #d4dcf5;
    text-align: center;
    overflow: hidden;
}

.cv-hero__bg {
    position: absolute;
    inset: 0;
}

.cv-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% 30%;
}

/* velo azul marino → ciruela: deja ver la foto a los lados y asegura contraste al centro */
.cv-hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 55% at 50% 45%, rgba(0, 12, 69, 0.92) 0%, rgba(0, 12, 69, 0.82) 60%, rgba(0, 12, 69, 0.7) 100%),
        linear-gradient(110deg, rgba(0, 23, 115, 0.6), rgba(110, 63, 98, 0.55));
}

.cv-hero__inner {
    position: relative;
}

.cv-h1 {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    column-gap: 0.25em;
    color: var(--cv-white);
    font-size: clamp(2.4rem, 4.8vw, 4rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.035em;
}

.cv-h1__vs {
    display: inline-grid;
    place-items: center;
    width: 1.55em;
    height: 1.55em;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cv-blue), var(--cv-plum-2));
    font-size: 0.36em;
    font-style: italic;
    font-weight: 700;
    letter-spacing: 0;
    transform: translateY(-0.4em);
    box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.5);
}

.cv-h1__o {
    color: var(--cv-plum-light);
}

.cv-h1__rest {
    flex-basis: 100%;
    margin-top: 0.45em;
    color: #c9d3f0;
    font-size: 0.44em;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.cv-hero__lead {
    max-width: 66ch;
    margin: 1.3rem auto 0;
    font-size: 1rem;
}

/* ---------- cara a cara ---------- */
.cv-fo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 0;
    max-width: 980px;
    margin: 44px auto 0;
    text-align: left;
}

.cv-fo__card {
    height: 100%;
    padding: 30px 32px 28px;
    border-radius: 24px;
    background: var(--cv-white);
    color: var(--cv-text);
    box-shadow: 0 34px 70px -34px rgba(0, 0, 0, 0.8);
}

.cv-fo__card--e {
    border-top: 6px solid var(--cv-navy);
}

.cv-fo__card--o {
    border-top: 6px solid var(--cv-plum);
}

.cv-fo__name {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--cv-ink);
    font-size: 0.95rem;
    font-weight: 800;
}

.cv-fo__name .cv-dot {
    box-shadow: none;
}

.cv-fo__headline {
    margin-top: 14px;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.cv-fo__card--e .cv-fo__headline {
    color: var(--cv-navy);
}

.cv-fo__card--o .cv-fo__headline {
    color: var(--cv-plum);
}

/* implementación, capacitación y soporte: misma fila en las dos tarjetas */
.cv-fo__items {
    display: grid;
    gap: 14px;
    margin: 20px 0 0;
    padding: 18px 0;
    border-top: 1px solid var(--cv-line);
    border-bottom: 1px solid var(--cv-line);
}

.cv-fo__items > div {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    column-gap: 12px;
}

.cv-fo__items dt {
    display: contents;
    color: var(--cv-muted);
    font-size: 0.74rem;
    font-weight: 700;
}

.cv-fo__items dt i {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--cv-blue-soft);
    color: var(--cv-navy);
    font-size: 0.85rem;
}

.cv-fo__card--o .cv-fo__items dt i {
    background: var(--cv-plum-soft);
    color: var(--cv-plum);
}

.cv-fo__items dd {
    margin: 2px 0 0;
    color: var(--cv-ink);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
}

.cv-fo__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 16px;
}

.cv-fo__facts li {
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: var(--cv-blue-soft);
    color: var(--cv-navy);
    font-size: 0.76rem;
    font-weight: 700;
}

.cv-fo__card--o .cv-fo__facts li {
    background: var(--cv-plum-soft);
    color: var(--cv-plum);
}

.cv-fo__vs {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 -18px;
    border: 4px solid var(--cv-navy-deep);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cv-blue), var(--cv-plum-2));
    color: var(--cv-white);
    font-size: 1rem;
    font-style: italic;
    font-weight: 800;
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.7);
}

.cv-fo__note {
    margin-top: 18px;
    color: #aebbe3;
    font-size: 0.8rem;
}

.cv-fo__note a {
    color: var(--cv-white);
    font-weight: 700;
    white-space: nowrap;
}

.cv-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
}

/* ---------- costo total: tarjeta ancha que monta sobre el borde del hero ---------- */
.cv-tcowrap {
    position: relative;
    z-index: 2;
    margin-top: -96px;
}

.cv-tcochart {
    max-width: 980px;
    margin: 0 auto;
    padding: 28px 32px 22px;
    border-radius: 24px;
    background: var(--cv-white);
    color: var(--cv-text);
    box-shadow: 0 34px 70px -34px rgba(15, 26, 61, 0.55);
}

.cv-tcochart__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cv-tcochart figcaption {
    color: var(--cv-ink);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.3;
}

.cv-toggle {
    display: inline-flex;
    padding: 4px;
    border-radius: 11px;
    background: var(--cv-paper);
}

.cv-toggle button {
    padding: 0.45rem 0.9rem;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--cv-text);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
}

.cv-toggle button[aria-pressed="true"] {
    background: var(--cv-navy);
    color: var(--cv-white);
}

.cv-tcochart__bars {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.cv-bar {
    display: grid;
    grid-template-columns: minmax(0, 290px) minmax(0, 1fr) 130px;
    align-items: center;
    gap: 16px;
    font-size: 0.88rem;
    line-height: 1.3;
}

.cv-bar__name {
    color: var(--cv-ink);
    font-weight: 600;
}

.cv-bar__value {
    color: var(--cv-ink);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.cv-bar__track {
    height: 14px;
    border-radius: 8px;
    background: var(--cv-paper);
    overflow: hidden;
}

.cv-bar__fill {
    display: block;
    width: var(--w);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--cv-plum), var(--cv-plum-2));
    transition: width 0.7s var(--cv-ease);
}

.cv-bar--e .cv-bar__fill {
    background: linear-gradient(90deg, var(--cv-navy), var(--cv-blue));
}

.cv-bar--e .cv-bar__name,
.cv-bar--e .cv-bar__value {
    color: var(--cv-navy);
    font-weight: 800;
}

.cv-tcochart__note {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--cv-line);
    color: var(--cv-muted);
    font-size: 0.78rem;
}

.cv-tcochart__note a {
    color: var(--cv-blue);
    font-weight: 700;
    white-space: nowrap;
}

/* ---------- ¿cuál elegir? ---------- */
.cv-band--first {
    padding-top: 88px;
}

.cv-head--center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.cv-pick {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 980px;
    margin: 0 auto;
}

.cv-pick__card {
    padding: 32px 34px 34px;
    border-radius: 24px;
    color: #dbe2f7;
    box-shadow: var(--cv-shadow);
}

.cv-pick__card--e {
    background:
        radial-gradient(80% 60% at 100% 0%, rgba(18, 113, 249, 0.35), rgba(18, 113, 249, 0) 70%),
        linear-gradient(150deg, var(--cv-navy-deep), var(--cv-navy));
}

.cv-pick__card--o {
    background:
        radial-gradient(80% 60% at 100% 0%, rgba(235, 201, 223, 0.25), rgba(235, 201, 223, 0) 70%),
        linear-gradient(150deg, #3d1f37, var(--cv-plum));
}

.cv-pick__card h3 {
    color: var(--cv-white);
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.3;
}

.cv-pick__card ul {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.cv-pick__card li {
    position: relative;
    padding-left: 34px;
    font-size: 0.95rem;
    line-height: 1.55;
}

.cv-pick__card li::before {
    content: "\f00c";
    position: absolute;
    top: 0.1em;
    left: 0;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: var(--cv-white);
    font-family: "Font Awesome 5 Pro";
    font-size: 0.65rem;
    font-weight: 900;
}

.cv-pick__note {
    max-width: 760px;
    margin: 28px auto 0;
    color: var(--cv-muted);
    font-size: 0.9rem;
    text-align: center;
}

/* ---------- pestañas por área ---------- */
.cv-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    padding: 6px;
    border-radius: 18px;
    background: var(--cv-paper);
    overflow-x: auto;
    scrollbar-width: none;
}

.cv-tabs::-webkit-scrollbar {
    display: none;
}

.cv-tabs button {
    display: inline-flex;
    flex: 1 0 auto;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0.85rem 1.1rem;
    border: 0;
    border-radius: 13px;
    background: transparent;
    color: var(--cv-text);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.cv-tabs button i {
    font-size: 1.05rem;
}

.cv-tabs button:hover {
    color: var(--cv-ink);
}

.cv-tabs button[aria-selected="true"] {
    background: var(--cv-white);
    color: var(--cv-navy);
    box-shadow: 0 8px 20px -12px rgba(15, 26, 61, 0.5);
}

.cv-panel {
    scroll-margin-top: 80px;
}

.cv-panel:focus-visible {
    outline: none;
}

/* sin JS se ven todas: separación entre áreas */
.cv-panel + .cv-panel {
    margin-top: 72px;
}

.cv-tabs-ready .cv-panel + .cv-panel {
    margin-top: 0;
}

.cv-motion .cv-panel.is-shown {
    animation: cv-fade 0.45s ease both;
}

/* =========================================================
   BARRA DE SECCIONES
   ========================================================= */
.cv-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid var(--cv-line);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cv-nav__inner {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cv-legend {
    display: flex;
    flex: none;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding-right: 20px;
    border-right: 1px solid var(--cv-line);
    color: var(--cv-ink);
    font-size: 0.78rem;
    font-weight: 600;
}

.cv-legend .cv-dot--o {
    margin-left: 10px;
}

.cv-nav__list {
    display: flex;
    gap: 4px;
    margin: 0;
    padding: 12px 0;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
}

.cv-nav__list::-webkit-scrollbar {
    display: none;
}

.cv-nav__list a {
    display: block;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    color: var(--cv-text);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s, color 0.2s;
}

.cv-nav__list a:hover {
    background: var(--cv-paper);
    color: var(--cv-ink);
}

.cv-nav__list a.is-active {
    background: var(--cv-navy);
    color: var(--cv-white);
}

/* =========================================================
   BANDAS
   ========================================================= */
.cv-band {
    padding: 104px 0;
    scroll-margin-top: 56px;
}

.cv-band--paper {
    background: var(--cv-paper);
}

.cv-band--navy {
    background:
        radial-gradient(50% 80% at 100% 0%, rgba(142, 90, 128, 0.35) 0%, rgba(142, 90, 128, 0) 70%),
        linear-gradient(135deg, var(--cv-navy-deep), var(--cv-navy));
    color: #d4dcf5;
}

.cv-intro {
    max-width: 860px;
    margin-bottom: 56px;
    color: var(--cv-ink);
    font-size: 1.14rem;
    line-height: 1.65;
}

.cv-intro p + p {
    margin-top: 1rem;
    color: var(--cv-text);
    font-size: 1rem;
}

/* ---------- fichas: qué es cada ERP ---------- */
.cv-profiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}

.cv-profile {
    border-radius: 26px;
    background: var(--cv-white);
    box-shadow: var(--cv-shadow);
    overflow: hidden;
}

.cv-profile__media {
    position: relative;
    display: grid;
    place-items: center;
    height: 260px;
    padding: 28px 36px 0;
    background:
        radial-gradient(70% 90% at 50% 100%, rgba(18, 113, 249, 0.5) 0%, rgba(18, 113, 249, 0) 70%),
        linear-gradient(135deg, var(--cv-navy-deep), var(--cv-navy));
    overflow: hidden;
}

.cv-profile__media img {
    width: 100%;
    max-width: 420px;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
}

.cv-profile__media--tiles {
    padding: 32px 36px;
    background:
        radial-gradient(70% 90% at 50% 100%, rgba(235, 201, 223, 0.35) 0%, rgba(235, 201, 223, 0) 70%),
        linear-gradient(135deg, #3d1f37, var(--cv-plum));
}

.cv-tiles {
    display: grid;
    grid-template-columns: repeat(3, 64px);
    gap: 14px;
}

.cv-tiles li {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--cv-white);
    font-size: 1.45rem;
}

.cv-profile__badge {
    position: absolute;
    left: 20px;
    bottom: 18px;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: var(--cv-white);
    color: var(--cv-navy);
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.5);
}

.cv-profile--o .cv-profile__badge {
    color: var(--cv-plum);
}

.cv-profile__body {
    padding: 34px 36px 38px;
}

.cv-profile--e .cv-h2 {
    color: var(--cv-navy);
}

.cv-profile--o .cv-h2 {
    color: var(--cv-plum);
}

.cv-modules {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
}

.cv-modules li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--cv-ink);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
}

.cv-modules i {
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--cv-blue-soft);
    color: var(--cv-navy);
    line-height: 34px;
    text-align: center;
}

/* ---------- portada de sección: foto redondeada + título (clara, sin losa oscura) ---------- */
.cv-chapter {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
    margin-bottom: 36px;
}

.cv-chapter:not(:first-child) {
    margin-top: 72px;
}

.cv-chapter__photo {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 26px;
    background: linear-gradient(150deg, var(--cv-navy-deep), var(--cv-navy));
    overflow: hidden;
    box-shadow: var(--cv-shadow);
}

.cv-chapter__photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--cv-ease);
}

.cv-chapter--flip .cv-chapter__photo {
    order: 2;
}

.cv-chapter--cutout .cv-chapter__photo {
    background:
        radial-gradient(70% 80% at 50% 100%, rgba(235, 201, 223, 0.45), rgba(235, 201, 223, 0) 70%),
        linear-gradient(150deg, var(--cv-navy-deep), var(--cv-navy));
}

.cv-chapter--cutout .cv-chapter__photo img {
    top: 8%;
    object-fit: contain;
    object-position: center bottom;
}

.cv-chapter__copy .cv-h2::after {
    content: "";
    display: block;
    width: 72px;
    height: 4px;
    margin-top: 18px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--cv-navy) 50%, var(--cv-plum) 50%);
    transform-origin: 0 50%;
}

/* ---------- carriles ---------- */
.cv-lanes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.cv-lane {
    position: relative;
    padding: 34px 32px 32px;
    border: 1px solid var(--cv-line);
    border-radius: 22px;
    background: var(--cv-white);
    overflow: hidden;
}

.cv-lane::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--cv-navy), var(--cv-blue));
}

.cv-lane--o::before {
    background: linear-gradient(90deg, var(--cv-plum), var(--cv-plum-2));
}

.cv-lane--e .cv-h3 {
    color: var(--cv-navy);
}

.cv-lane--o .cv-h3 {
    color: var(--cv-plum);
}

.cv-lane .cv-h3::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 10px;
    border-radius: 50%;
    background: currentColor;
    vertical-align: 0.08em;
}

.cv-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cv-tags li {
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    background: var(--cv-blue-soft);
    color: var(--cv-navy);
    font-size: 0.82rem;
    font-weight: 700;
}

.cv-lane--o .cv-tags li {
    background: var(--cv-plum-soft);
    color: var(--cv-plum);
}

/* ---------- "¿Qué conviene evaluar?" ---------- */
.cv-evaluate {
    margin-top: 24px;
    padding: 36px 40px;
    border-radius: 22px;
    background: var(--cv-paper);
}

.cv-band--paper .cv-evaluate {
    background: var(--cv-white);
    box-shadow: 0 1px 0 var(--cv-line);
}

.cv-evaluate > * {
    max-width: 820px;
}

.cv-evaluate > .cv-h3 {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cv-evaluate > .cv-h3::before {
    content: "\f0ae";
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--cv-blue);
    color: var(--cv-white);
    font-family: "Font Awesome 5 Pro";
    font-size: 0.95rem;
    font-weight: 400;
}

.cv-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cv-checks li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: var(--cv-blue-soft);
    color: var(--cv-ink);
    font-size: 0.85rem;
    font-weight: 700;
}

.cv-checks li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    font-size: 0.75rem;
    color: var(--cv-blue);
}

.cv-caution {
    display: flex;
    gap: 12px;
    padding: 16px 18px;
    border: 1px solid #f3d3b9;
    border-radius: 14px;
    background: #fff8f2;
    color: var(--cv-ink);
    font-size: 0.92rem;
}

.cv-caution i {
    margin-top: 0.25rem;
    color: #c2410c;
}

/* ---------- flujo de venta (secuencia real: numerado) ---------- */
.cv-flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    max-width: none !important;
    counter-reset: step;
}

.cv-flow li {
    position: relative;
    display: grid;
    gap: 10px;
    padding: 16px 16px 18px;
    border: 1px solid var(--cv-line);
    border-radius: 16px;
    background: var(--cv-white);
    color: var(--cv-ink);
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.3;
    counter-increment: step;
}

.cv-flow li::before {
    content: counter(step);
    position: absolute;
    top: 12px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--cv-paper);
    color: var(--cv-muted);
    font-size: 0.72rem;
}

.cv-flow i {
    color: var(--cv-blue);
    font-size: 1.4rem;
}

.cv-flow li + li::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -9px;
    width: 6px;
    height: 6px;
    border-top: 2px solid #9aa4bd;
    border-right: 2px solid #9aa4bd;
    transform: translateY(-50%) rotate(45deg);
}

/* ---------- MRP ---------- */
.cv-mrp {
    display: grid;
    grid-template-columns: auto auto auto;
    align-items: center;
    justify-content: start;
    gap: 16px;
    padding: 20px;
    border-radius: 16px;
    background: var(--cv-blue-soft);
    color: var(--cv-ink);
    font-size: 0.84rem;
    font-weight: 700;
}

.cv-mrp__in {
    display: grid;
    gap: 6px;
}

.cv-mrp__in li {
    padding: 0.3rem 0.7rem;
    border-radius: 8px;
    background: var(--cv-white);
}

.cv-mrp__engine {
    position: relative;
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cv-navy), var(--cv-blue));
    color: var(--cv-white);
    font-weight: 800;
}

.cv-mrp__engine::before,
.cv-mrp__engine::after {
    content: "\f061";
    position: absolute;
    top: 50%;
    font-family: "Font Awesome 5 Pro";
    font-weight: 400;
    font-size: 0.75rem;
    color: var(--cv-navy);
    transform: translateY(-50%);
}

.cv-mrp__engine::before {
    left: -14px;
}

.cv-mrp__engine::after {
    right: -14px;
}

.cv-mrp__out {
    max-width: 9em;
    padding: 0.5rem 0.8rem;
    border: 2px solid var(--cv-navy);
    border-radius: 10px;
    background: var(--cv-white);
}

/* ---------- checklist interactivo ---------- */
.cv-checkgrid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 28px;
    align-items: start;
}

.cv-checklist {
    border-radius: 22px;
    background: var(--cv-white);
    box-shadow: var(--cv-shadow);
    overflow: hidden;
}

.cv-checklist__head,
.cv-checklist label {
    display: grid;
    grid-template-columns: 26px minmax(0, 0.8fr) minmax(0, 1.5fr);
    gap: 16px;
    align-items: start;
    padding: 15px 22px;
}

.cv-checklist__head {
    position: relative;
    background: linear-gradient(90deg, var(--cv-navy), var(--cv-plum));
    color: var(--cv-white);
    font-size: 0.82rem;
    font-weight: 700;
}

.cv-checklist__head > span:first-child {
    grid-column: 2;
}

.cv-checklist__count {
    display: block;
    padding: 14px 22px;
    border-top: 1px solid var(--cv-line);
    background: var(--cv-paper);
    color: var(--cv-ink);
    font-size: 0.85rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.cv-checklist__count i {
    margin-right: 8px;
    color: var(--cv-blue);
    font-size: 1.1rem;
}

.cv-checklist li + li {
    border-top: 1px solid var(--cv-line);
}

.cv-checklist label {
    cursor: pointer;
    transition: background-color 0.2s;
}

.cv-checklist label:hover {
    background: var(--cv-paper);
}

.cv-checklist input {
    width: 20px;
    height: 20px;
    margin: 2px 0 0;
    accent-color: var(--cv-blue);
}

.cv-checklist__aspect {
    color: var(--cv-ink);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.4;
}

.cv-checklist__what {
    font-size: 0.9rem;
    line-height: 1.5;
}

.cv-checklist input:checked ~ span {
    color: #9099ae;
}

.cv-checklist input:checked ~ .cv-checklist__aspect {
    text-decoration: line-through;
    text-decoration-color: var(--cv-blue);
}

.cv-evaluate--card {
    margin-top: 0;
    padding: 30px;
}

/* ---------- transferencia entre almacenes ---------- */
.cv-transfer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: end;
    gap: 12px;
    padding: 22px 20px 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, var(--cv-blue-soft), var(--cv-white));
}

.cv-transfer__wh {
    display: grid;
    justify-items: center;
    gap: 6px;
    --h: var(--to);
}

.cv-transfer__wh img {
    width: 64px;
    height: 64px;
    border: 3px solid var(--cv-white);
    border-radius: 50%;
    object-fit: cover;
    object-position: center 8%;
    box-shadow: 0 8px 18px -8px rgba(15, 26, 61, 0.5);
}

.cv-transfer__stack {
    display: flex;
    align-items: flex-end;
    width: 60px;
    height: 100px;
    border-bottom: 3px solid var(--cv-ink);
}

.cv-transfer__stack span {
    width: 100%;
    height: calc(var(--h) * 1%);
    border-radius: 8px 8px 0 0;
    background: repeating-linear-gradient(0deg, var(--cv-navy) 0 9px, var(--cv-navy-2) 9px 10px);
    transition: height 1.1s var(--cv-ease) 0.5s;
}

.cv-transfer b {
    position: relative;
    color: var(--cv-ink);
    font-size: 1.35rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.cv-transfer__before {
    display: none;
}

.cv-transfer small {
    white-space: nowrap;
    color: var(--cv-text);
    font-size: 0.8rem;
    font-weight: 600;
}

.cv-transfer__move {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: var(--cv-navy);
    color: var(--cv-white);
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

/* ---------- tablas ---------- */
.cv-scroll {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.cv-table,
.cv-matrix {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.92rem;
    line-height: 1.55;
}

.cv-table th,
.cv-table td,
.cv-matrix th,
.cv-matrix td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--cv-line);
    text-align: left;
    vertical-align: top;
}

.cv-table thead th,
.cv-matrix thead th {
    border-bottom: 0;
    color: var(--cv-ink);
    font-size: 0.85rem;
    font-weight: 700;
    vertical-align: bottom;
}

.cv-table tbody th,
.cv-matrix tbody th {
    color: var(--cv-ink);
    font-weight: 700;
}

/* matriz de dos carriles: encabezados de color, celdas teñidas */
.cv-matrix {
    border-radius: 22px;
    background: var(--cv-white);
    box-shadow: var(--cv-shadow);
}

.cv-matrix thead th:first-child {
    padding-left: 26px;
}

.cv-matrix th:first-child {
    width: 24%;
    padding-left: 26px;
}

.cv-matrix td {
    width: 38%;
}

.cv-matrix thead .cv-th-e,
.cv-matrix thead .cv-th-o {
    padding: 18px;
    color: var(--cv-white);
    font-size: 1rem;
}

.cv-matrix thead .cv-th-e {
    background: linear-gradient(135deg, var(--cv-navy-deep), var(--cv-navy));
}

.cv-matrix thead .cv-th-o {
    border-radius: 0 22px 0 0;
    background: linear-gradient(135deg, #4b2643, var(--cv-plum));
}

.cv-matrix thead .cv-th-e::before,
.cv-matrix thead .cv-th-o::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 10px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
}

.cv-matrix .cv-td-e {
    background: #f7f9ff;
    color: var(--cv-ink);
}

.cv-matrix .cv-td-o {
    background: #fcf7fa;
}

.cv-matrix tbody tr:last-child > * {
    border-bottom: 0;
}

.cv-matrix tbody tr:hover > * {
    background-color: #eef2fb;
}

.cv-tablehead {
    margin: 0 0 18px;
}

.cv-table--num {
    margin-top: 18px;
    font-variant-numeric: tabular-nums;
}

.cv-table--num th,
.cv-table--num td {
    padding: 11px 12px;
}

.cv-table--num thead th {
    border-bottom: 2px solid var(--cv-ink);
}

.cv-table--num td {
    text-align: right;
}

.cv-table__total th,
.cv-table__total td {
    border-top: 2px solid var(--cv-ink);
    border-bottom: 0;
    color: var(--cv-ink);
    font-weight: 800;
}

/* precios: encabezados como tarjetas de plan */
.cv-table--price {
    min-width: 760px;
    margin-top: 8px;
    border-radius: 22px;
    background: var(--cv-white);
    box-shadow: var(--cv-shadow);
}

.cv-table--price th:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    width: 22%;
    padding-left: 26px;
    background: var(--cv-white);
}

.cv-table--price td {
    width: 26%;
}

.cv-plan {
    padding: 20px 18px !important;
    color: var(--cv-white) !important;
    font-size: 1rem !important;
}

.cv-plan--e {
    background: linear-gradient(135deg, var(--cv-navy-deep), var(--cv-navy));
}

.cv-plan--o {
    background: linear-gradient(135deg, #4b2643, var(--cv-plum));
}

.cv-plan--o + .cv-plan--o {
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0 22px 0 0;
}

.cv-table--price thead th:first-child {
    border-radius: 22px 0 0 0;
}

.cv-table--price td:nth-child(2) {
    background: #f7f9ff;
    color: var(--cv-ink);
    font-weight: 700;
}

.cv-table--price tbody tr:last-child > * {
    border-bottom: 0;
}

.cv-table--hours {
    max-width: 620px;
    margin-top: 28px;
    border-radius: 18px;
    background: var(--cv-white);
    box-shadow: var(--cv-shadow);
}

.cv-table--hours thead th {
    padding-top: 18px;
    border-bottom: 2px solid var(--cv-plum);
    color: var(--cv-plum);
}

.cv-table--hours th:first-child {
    padding-left: 24px;
}

.cv-table--hours td {
    color: var(--cv-ink);
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    white-space: nowrap;
}

.cv-table--hours tbody tr:last-child > * {
    border-bottom: 0;
}

.cv-inlinebar {
    display: inline-block;
    width: calc(var(--w) * 1.6px);
    height: 10px;
    margin-right: 12px;
    border-radius: 5px;
    background: linear-gradient(90deg, var(--cv-plum), var(--cv-plum-2));
    vertical-align: middle;
}

/* ---------- costo total (banda oscura) ---------- */
.cv-tco {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

.cv-tco__copy .cv-h2 {
    color: var(--cv-white);
}

.cv-tco__copy p {
    margin-top: 1rem;
}

.cv-tco__table {
    padding: 10px 22px;
    border-radius: 24px;
    background: var(--cv-white);
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
    overflow-x: auto;
}

.cv-table--tco {
    min-width: 0;
    font-variant-numeric: tabular-nums;
}

.cv-table--tco thead th {
    border-bottom: 2px solid var(--cv-ink);
}

.cv-table--tco td {
    color: var(--cv-ink);
    font-weight: 600;
    white-space: nowrap;
}

.cv-table--tco tbody tr:last-child > * {
    border-bottom: 0;
}

.cv-table--tco tbody th::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 10px;
    border-radius: 50%;
    background: var(--cv-plum);
}

.cv-table--tco .cv-row-e th {
    color: var(--cv-navy);
}

.cv-table--tco .cv-row-e th::before {
    background: var(--cv-navy);
}

.cv-table--tco td.is-low {
    color: var(--cv-blue);
    font-weight: 800;
}

.cv-band--navy .cv-note {
    margin-top: 28px;
    color: #9fb0e0;
}

.cv-tco__outro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 48px;
    margin-top: 40px;
    padding-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.cv-tco__outro p:first-child {
    grid-column: 1 / -1;
    color: var(--cv-white);
    font-size: 1.2rem;
    font-weight: 700;
}

/* ---------- fiscal ---------- */
.cv-fiscal {
    max-width: 640px;
    margin: 0 auto 36px;
    padding: 10px 26px 20px;
    border-radius: 22px;
    background: var(--cv-white);
    box-shadow: var(--cv-shadow);
}

.cv-fiscal__grid {
    width: 100%;
    border-collapse: collapse;
}

.cv-fiscal__grid th,
.cv-fiscal__grid td {
    padding: 12px 8px;
    border-bottom: 1px solid var(--cv-line);
    text-align: center;
}

.cv-fiscal__grid thead th {
    border-bottom: 2px solid;
    font-size: 0.85rem;
}

.cv-fiscal__grid .cv-th-e {
    color: var(--cv-navy);
}

.cv-fiscal__grid .cv-th-o {
    color: var(--cv-plum);
}

.cv-fiscal__grid tbody th {
    color: var(--cv-ink);
    font-weight: 700;
    text-align: left;
}

.cv-fiscal__grid td i {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--cv-navy);
    color: var(--cv-white);
    font-size: 0.75rem;
}

.cv-fiscal__grid td:last-child i {
    background: var(--cv-plum);
}

.cv-fiscal figcaption {
    margin-top: 12px;
    color: var(--cv-muted);
    font-size: 0.8rem;
}

/* ---------- WhatsApp ---------- */
.cv-chat {
    max-width: 320px;
    padding: 0 0 14px;
    border-radius: 18px;
    background: #e9f4ee;
    overflow: hidden;
}

.cv-chat__bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #128c4b;
    color: var(--cv-white);
    font-size: 0.84rem;
    font-weight: 700;
}

.cv-chat ul {
    display: grid;
    justify-items: end;
    gap: 8px;
    padding: 14px 14px 0;
}

.cv-chat li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.5rem 0.85rem;
    border-radius: 14px 14px 4px 14px;
    background: #d4f7c5;
    color: var(--cv-ink);
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}

.cv-chat li i {
    color: #128c4b;
}

/* ---------- reloj checador ---------- */
.cv-clock {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.cv-clock li {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 18px 8px;
    border-radius: 16px;
    background: linear-gradient(160deg, var(--cv-navy), var(--cv-navy-2));
    color: var(--cv-white);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

.cv-clock i {
    font-size: 1.6rem;
}

/* ---------- proyecto: documentos asociados ---------- */
.cv-hub {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 24px;
    padding: 20px;
    border-radius: 16px;
    background: var(--cv-blue-soft);
}

.cv-hub__core {
    display: grid;
    justify-items: center;
    gap: 4px;
    padding: 16px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--cv-navy), var(--cv-blue));
    color: var(--cv-white);
    font-size: 0.84rem;
    font-weight: 700;
}

.cv-hub__core i {
    font-size: 1.4rem;
}

.cv-hub ul {
    display: grid;
    gap: 6px;
}

.cv-hub li {
    position: relative;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    background: var(--cv-white);
    color: var(--cv-ink);
    font-size: 0.84rem;
    font-weight: 700;
}

.cv-hub li::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 100%;
    width: 24px;
    border-top: 2px dotted var(--cv-navy);
}

.cv-project {
    max-width: 460px;
    padding: 20px 22px;
    border: 1px solid var(--cv-line);
    border-radius: 16px;
    background: var(--cv-white);
}

.cv-project__budget {
    display: grid;
    color: var(--cv-navy);
    font-size: 1.6rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.cv-project__budget small {
    color: var(--cv-text);
    font-size: 0.78rem;
    font-weight: 600;
}

.cv-project ol {
    display: grid;
    gap: 6px;
    margin-top: 12px;
}

.cv-project li {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 10px;
    background: var(--cv-paper);
    color: var(--cv-ink);
    font-size: 0.84rem;
}

.cv-project li span {
    padding: 0 0.5rem;
    border: 1px dashed #aab3c8;
    border-radius: 6px;
    color: #7c869e;
    font-size: 0.75rem;
}

/* ---------- costos adicionales: iceberg ---------- */
.cv-costs {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
    margin-top: 56px;
}

.cv-costs .cv-prose {
    margin-top: 0;
}

.cv-iceberg {
    position: relative;
    border-radius: 22px;
    background: linear-gradient(180deg, var(--cv-paper) 0 70px, #0d2f86 70px, var(--cv-navy-deep) 100%);
    overflow: hidden;
    box-shadow: var(--cv-shadow);
}

.cv-iceberg__tip {
    display: inline-block;
    margin: 20px 0 0 24px;
    padding: 0.6rem 1.1rem;
    border-radius: 12px 12px 0 0;
    background: var(--cv-white);
    color: var(--cv-ink);
    font-weight: 800;
    line-height: 1.2;
}

.cv-iceberg ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 24px 24px 30px;
}

.cv-iceberg li {
    padding: 0.5rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--cv-white);
    font-size: 0.88rem;
    font-weight: 700;
}

/* ---------- fórmula de la mensualidad ---------- */
.cv-formula {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    margin-top: 24px;
    padding: 22px 26px;
    border-radius: 22px;
    background: var(--cv-white);
    box-shadow: var(--cv-shadow);
}

.cv-formula > span:not(.cv-formula__op) {
    display: grid;
    gap: 2px;
}

.cv-formula b {
    color: var(--cv-ink);
    font-size: 1.4rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.cv-formula small {
    color: var(--cv-text);
    font-size: 0.78rem;
}

.cv-formula__op {
    color: #9aa4bd;
    font-size: 1.5rem;
    font-weight: 700;
}

.cv-formula__result {
    padding: 10px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--cv-navy-deep), var(--cv-navy));
}

.cv-formula__result b,
.cv-formula__result small {
    color: var(--cv-white);
}

/* ---------- conclusión ---------- */
.cv-verdict {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.cv-verdict__card {
    padding: 36px 36px 40px;
    border-radius: 24px;
    color: var(--cv-white);
    font-size: 1.12rem;
    font-weight: 600;
    line-height: 1.55;
    box-shadow: var(--cv-shadow);
}

.cv-verdict__card span {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.85rem;
    font-weight: 800;
    opacity: 0.85;
}

.cv-verdict__card span::before {
    content: "";
    width: 10px;
    height: 10px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.cv-verdict__card--e {
    background: linear-gradient(135deg, var(--cv-navy-deep), var(--cv-navy));
}

.cv-verdict__card--o {
    background: linear-gradient(135deg, #4b2643, var(--cv-plum));
}

.cv-verdict__outro {
    margin: 36px 0 56px;
    color: var(--cv-ink);
    font-size: 1.08rem;
}

.cv-cta {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    border-radius: 28px;
    background:
        radial-gradient(60% 80% at 100% 0%, rgba(142, 90, 128, 0.4) 0%, rgba(142, 90, 128, 0) 70%),
        linear-gradient(135deg, var(--cv-navy-deep), var(--cv-navy));
    color: #d4dcf5;
    overflow: hidden;
    box-shadow: var(--cv-shadow);
}

.cv-cta__photo {
    position: relative;
    min-height: 320px;
}

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

.cv-cta__copy {
    padding: 48px clamp(28px, 4vw, 56px);
}

.cv-cta h3 {
    color: var(--cv-white);
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.cv-cta p {
    margin-top: 1rem;
}

.cv-cta .cv-btn {
    margin-top: 1.6rem;
}

/* ---------- FAQ ---------- */
.cv-faqgrid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 56px;
    align-items: start;
}

.cv-faqgrid .cv-head {
    position: sticky;
    top: 90px;
}

.cv-faq {
    display: grid;
    gap: 12px;
}

.cv-faq details {
    border: 1px solid var(--cv-line);
    border-radius: 18px;
    background: var(--cv-white);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.cv-faq details[open] {
    border-color: transparent;
    box-shadow: var(--cv-shadow);
}

.cv-faq summary {
    position: relative;
    padding: 20px 60px 20px 24px;
    color: var(--cv-ink);
    font-weight: 700;
    line-height: 1.45;
    cursor: pointer;
    list-style: none;
}

.cv-faq summary::-webkit-details-marker {
    display: none;
}

.cv-faq summary::after {
    content: "\f067";
    position: absolute;
    top: 50%;
    right: 20px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--cv-blue-soft);
    color: var(--cv-navy);
    font-family: "Font Awesome 5 Pro";
    font-size: 0.8rem;
    font-weight: 400;
    transform: translateY(-50%);
    transition: transform 0.25s var(--cv-ease), background-color 0.2s, color 0.2s;
}

.cv-faq details[open] summary::after {
    background: var(--cv-navy);
    color: var(--cv-white);
    transform: translateY(-50%) rotate(45deg);
}

.cv-faq details p {
    padding: 0 24px 24px;
}

/* =========================================================
   PRUEBA SOCIAL Y FORMULARIO
   ========================================================= */
.cv-social {
    background: var(--cv-paper);
}

.cv-demo {
    position: relative;
    padding: 110px 0;
    background: linear-gradient(120deg, var(--cv-navy-deep) 0%, var(--cv-navy) 60%, #2a1f5e 100%);
    color: #d4dcf5;
    overflow: hidden;
}

.cv-demo__bg {
    position: absolute;
    inset: 0 0 0 auto;
    width: 46%;
    opacity: 0.28;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
    mask-image: linear-gradient(90deg, transparent, #000 60%);
}

.cv-demo__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cv-demo__layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(32px, 6vw, 80px);
    align-items: center;
}

.cv-demo__copy .cv-h2 {
    color: var(--cv-white);
}

.cv-demo__copy p {
    max-width: 46ch;
    margin-top: 1rem;
}

.cv-demo__points {
    display: grid;
    gap: 12px;
    margin-top: 1.8rem;
}

.cv-demo__points li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--cv-white);
    font-weight: 600;
}

.cv-demo__points i {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.85rem;
}

.cv-form {
    padding: 36px;
    border-radius: 26px;
    background: var(--cv-white);
    color: var(--cv-text);
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
}

.cv-form__title {
    color: var(--cv-ink);
    font-size: 1.35rem;
    font-weight: 800;
}

.cv-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 22px;
}

.cv-form__field {
    display: grid;
    gap: 6px;
    color: var(--cv-ink);
    font-size: 0.85rem;
    font-weight: 700;
}

.cv-form__field--wide {
    grid-column: 1 / -1;
}

.cv-form__field input,
.cv-form__field select {
    width: 100%;
    min-height: 48px;
    padding: 0.6rem 0.85rem;
    border: 1px solid #c9d0e0;
    border-radius: 12px;
    background: var(--cv-white);
    color: var(--cv-ink);
    font: inherit;
    font-weight: 500;
}

.cv-form__newsletter,
.cv-form__captcha {
    margin-top: 16px;
}

.cv-form__submit {
    width: 100%;
    margin-top: 18px;
}

.cv-form__submit:disabled {
    opacity: 0.7;
    cursor: wait;
}

.cv-form__advisor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    color: #128c4b;
    font-weight: 700;
    text-decoration: none;
}

.cv-form__advisor:hover {
    text-decoration: underline;
}

.cv-form__privacy {
    margin-top: 12px;
    font-size: 0.78rem;
    text-align: center;
}

.cv-form__privacy a {
    color: var(--cv-blue);
}

.cv-form__status {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
}

.cv-form__status.is-success {
    background: #e6f6ee;
    color: #11643c;
}

.cv-form__status.is-error {
    background: #fdecec;
    color: #a12121;
}

/* =========================================================
   MOVIMIENTO (solo con html.cv-motion; el JS pone .is-in al entrar en pantalla)
   ========================================================= */
/* hero: los dos nombres llegan desde lados opuestos y chocan en el "vs" */
.cv-motion .cv-h1__e {
    animation: cv-from-left 0.8s var(--cv-ease) both;
}

.cv-motion .cv-h1__o {
    animation: cv-from-right 0.8s var(--cv-ease) both;
}

.cv-motion .cv-h1__vs {
    animation: cv-vs 0.6s var(--cv-ease) 0.55s both;
}

.cv-motion .cv-h1__rest,
.cv-motion .cv-hero__lead {
    animation: cv-fade 0.6s ease 0.7s both;
}

.cv-motion .cv-hero__bg img {
    animation: cv-slow-zoom 16s ease-out both;
}

/* cara a cara: cada tarjeta llega desde su lado y el VS cae al centro */
.cv-motion .cv-fo__card--e {
    animation: cv-from-left 0.9s var(--cv-ease) 0.5s both;
}

.cv-motion .cv-fo__card--o {
    animation: cv-from-right 0.9s var(--cv-ease) 0.5s both;
}

.cv-motion .cv-fo__vs {
    animation: cv-vs-drop 0.7s var(--cv-ease) 1.15s both;
}

.cv-motion .cv-fo__note,
.cv-motion .cv-hero__actions {
    animation: cv-fade 0.6s ease 1.2s both;
}

.cv-motion .cv-tcochart {
    animation: cv-card-in 0.8s var(--cv-ease) 1.1s both;
}

.cv-motion .cv-tcochart .cv-bar__fill {
    animation: cv-grow 1s var(--cv-ease) both;
    animation-delay: calc(1.5s + var(--i, 0) * 0.14s);
}

@keyframes cv-vs-drop {
    0% { opacity: 0; transform: translateY(-60px) scale(0.4) rotate(-90deg); }
    70% { opacity: 1; transform: translateY(6px) scale(1.15) rotate(6deg); }
    100% { opacity: 1; transform: none; }
}

@keyframes cv-from-left {
    from { opacity: 0; transform: translateX(-70px); }
    to { opacity: 1; transform: none; }
}

@keyframes cv-from-right {
    from { opacity: 0; transform: translateX(70px); }
    to { opacity: 1; transform: none; }
}

@keyframes cv-vs {
    0% { opacity: 0; transform: translateY(-0.4em) scale(0.2) rotate(-120deg); }
    70% { opacity: 1; transform: translateY(-0.4em) scale(1.2) rotate(8deg); }
    100% { opacity: 1; transform: translateY(-0.4em) scale(1); }
}

@keyframes cv-fade {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

@keyframes cv-photo-in {
    from { opacity: 0; transform: translateX(40px) scale(0.96); }
    to { opacity: 1; transform: none; }
}

@keyframes cv-slow-zoom {
    from { transform: scale(1.12); }
    to { transform: scale(1); }
}

@keyframes cv-card-in {
    from { opacity: 0; transform: translateY(40px) rotate(-2deg); }
    to { opacity: 1; transform: none; }
}

@keyframes cv-grow {
    from { width: 0; }
}

/* portadas: la foto se acerca y el filete azul/ciruela se traza */
.cv-motion .cv-chapter .cv-chapter__photo img {
    transform: scale(1.14);
}

.cv-motion .cv-chapter.is-in .cv-chapter__photo img {
    transform: none;
}

.cv-motion .cv-chapter .cv-chapter__copy > * {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.7s var(--cv-ease);
}

.cv-motion .cv-chapter.is-in .cv-chapter__copy > * {
    opacity: 1;
    transform: none;
}

.cv-motion .cv-chapter.is-in .cv-chapter__copy > :nth-child(2) { transition-delay: 0.15s; }
.cv-motion .cv-chapter.is-in .cv-chapter__copy > :nth-child(3) { transition-delay: 0.3s; }
.cv-motion .cv-chapter.is-in .cv-chapter__copy > :nth-child(4) { transition-delay: 0.45s; }

.cv-motion .cv-chapter .cv-h2::after {
    transform: scaleX(0);
    transition: transform 0.8s var(--cv-ease) 0.4s;
}

.cv-motion .cv-chapter.is-in .cv-h2::after {
    transform: none;
}

/* fichas: la de Evidence sube con su laptop; la de Odoo arma su mosaico */
.cv-motion .cv-profile {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.8s var(--cv-ease);
}

.cv-motion .cv-profile--o {
    transition-delay: 0.15s;
}

.cv-motion .cv-profile.is-in {
    opacity: 1;
    transform: none;
}

.cv-motion .cv-profile--e .cv-profile__media img {
    transform: translateY(40px);
    transition: transform 1s var(--cv-ease) 0.3s;
}

.cv-motion .cv-profile--e.is-in .cv-profile__media img {
    transform: none;
}

.cv-motion .cv-tiles li {
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.4s ease, transform 0.5s var(--cv-ease);
    transition-delay: calc(0.35s + var(--i) * 0.07s);
}

.cv-motion .cv-profile.is-in .cv-tiles li {
    opacity: 1;
    transform: none;
}

/* flujo de venta: cada paso se enciende en orden */
.cv-motion .cv-flow li {
    opacity: 0.3;
    transition: opacity 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.cv-motion .cv-flow.is-in li {
    opacity: 1;
    border-color: var(--cv-blue);
    box-shadow: 0 12px 24px -16px rgba(18, 113, 249, 0.8);
}

.cv-motion .cv-flow.is-in li:nth-child(2) { transition-delay: 0.35s; }
.cv-motion .cv-flow.is-in li:nth-child(3) { transition-delay: 0.7s; }
.cv-motion .cv-flow.is-in li:nth-child(4) { transition-delay: 1.05s; }

/* MRP: entran los insumos, gira el motor, sale el resultado */
.cv-motion .cv-mrp__in li,
.cv-motion .cv-mrp__out {
    opacity: 0;
    transform: translateX(-14px);
    transition: opacity 0.4s ease, transform 0.5s var(--cv-ease);
}

.cv-motion .cv-mrp__out { transition-delay: 0.9s; }
.cv-motion .cv-mrp.is-in .cv-mrp__in li,
.cv-motion .cv-mrp.is-in .cv-mrp__out { opacity: 1; transform: none; }
.cv-motion .cv-mrp.is-in .cv-mrp__in li:nth-child(2) { transition-delay: 0.12s; }
.cv-motion .cv-mrp.is-in .cv-mrp__in li:nth-child(3) { transition-delay: 0.24s; }
.cv-motion .cv-mrp.is-in .cv-mrp__engine { animation: cv-spin-pulse 0.8s var(--cv-ease) 0.4s; }

@keyframes cv-spin-pulse {
    50% { transform: scale(1.12) rotate(180deg); }
    100% { transform: rotate(360deg); }
}

/* transferencia: las pilas parten del "Antes" y se acomodan en el "Después" */
.cv-motion .cv-transfer__wh { --h: var(--from); }
.cv-motion .cv-transfer.is-in .cv-transfer__wh { --h: var(--to); }
.cv-motion .cv-transfer__before { display: inline; transition: opacity 0.3s ease 1.2s; }
.cv-motion .cv-transfer__after {
    position: absolute;
    left: 50%;
    opacity: 0;
    transform: translateX(-50%);
    transition: opacity 0.4s ease 1.4s;
}
.cv-motion .cv-transfer.is-in .cv-transfer__before { opacity: 0; }
.cv-motion .cv-transfer.is-in .cv-transfer__after { opacity: 1; }
.cv-motion .cv-transfer__move { opacity: 0; }
.cv-motion .cv-transfer.is-in .cv-transfer__move { animation: cv-hop 1.3s var(--cv-ease) 0.2s both; }

@keyframes cv-hop {
    0% { opacity: 0; transform: translate(-30px, 10px); }
    40% { opacity: 1; transform: translate(0, -14px); }
    100% { opacity: 1; transform: none; }
}

/* WhatsApp: los documentos llegan como mensajes, uno tras otro */
.cv-motion .cv-chat li {
    opacity: 0;
    transform: translateY(10px) scale(0.92);
    transform-origin: 100% 100%;
    transition: opacity 0.3s ease, transform 0.4s var(--cv-ease);
}

.cv-motion .cv-chat.is-in li { opacity: 1; transform: none; }
.cv-motion .cv-chat.is-in li:nth-child(2) { transition-delay: 0.45s; }
.cv-motion .cv-chat.is-in li:nth-child(3) { transition-delay: 0.9s; }
.cv-motion .cv-chat.is-in li:nth-child(4) { transition-delay: 1.35s; }

/* reloj checador: cada forma de registro "checa" con un destello */
.cv-motion .cv-clock.is-in li { animation: cv-check-in 0.7s var(--cv-ease) both; }
.cv-motion .cv-clock.is-in li:nth-child(2) { animation-delay: 0.25s; }
.cv-motion .cv-clock.is-in li:nth-child(3) { animation-delay: 0.5s; }

@keyframes cv-check-in {
    0% { box-shadow: 0 0 0 0 rgba(18, 113, 249, 0.6); transform: scale(0.92); }
    60% { box-shadow: 0 0 0 12px rgba(18, 113, 249, 0); transform: scale(1.03); }
    100% { box-shadow: none; transform: none; }
}

/* proyecto: los documentos se enganchan al proyecto */
.cv-motion .cv-hub li {
    opacity: 0;
    transform: translateX(16px);
    transition: opacity 0.35s ease, transform 0.45s var(--cv-ease);
}

.cv-motion .cv-hub.is-in li { opacity: 1; transform: none; }
.cv-motion .cv-hub.is-in li:nth-child(2) { transition-delay: 0.15s; }
.cv-motion .cv-hub.is-in li:nth-child(3) { transition-delay: 0.3s; }
.cv-motion .cv-hub.is-in li:nth-child(4) { transition-delay: 0.45s; }

/* iceberg: los costos ocultos suben desde el fondo */
.cv-motion .cv-iceberg li {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.5s ease, transform 0.7s var(--cv-ease);
    transition-delay: calc(var(--i) * 0.12s + 0.2s);
}

.cv-motion .cv-iceberg.is-in li { opacity: 1; transform: none; }

/* conclusión: cada veredicto entra desde su lado */
.cv-motion .cv-verdict__card {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.8s var(--cv-ease);
}

.cv-motion .cv-verdict__card--e { transform: translateX(-40px); }
.cv-motion .cv-verdict__card--o { transform: translateX(40px); }
.cv-motion .cv-verdict__card.is-in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1100px) {
    .cv-checkgrid {
        grid-template-columns: minmax(0, 1fr);
    }

    .cv-evaluate--card {
        max-width: 640px;
    }
}

@media (max-width: 960px) {
    .cv-demo__layout,
    .cv-tco,
    .cv-costs,
    .cv-faqgrid {
        grid-template-columns: minmax(0, 1fr);
    }



    .cv-profiles,
    .cv-verdict {
        grid-template-columns: minmax(0, 1fr);
    }

    .cv-chapter,
    .cv-cta {
        grid-template-columns: minmax(0, 1fr);
    }

    .cv-cta__photo {
        min-height: 280px;
    }

    .cv-chapter--flip .cv-chapter__photo {
        order: 0;
    }

    .cv-faqgrid .cv-head {
        position: static;
        margin-bottom: 0;
    }

    .cv-demo__bg {
        display: none;
    }
}

@media (max-width: 760px) {
    .cv-wrap {
        padding: 0 16px;
    }




    .cv-legend {
        display: none;
    }

    .cv-band {
        padding: 64px 0;
    }

    .cv-intro {
        font-size: 1.04rem;
    }

    .cv-profile__media {
        height: 210px;
    }

    .cv-profile__body {
        padding: 26px 22px 30px;
    }

    .cv-modules {
        grid-template-columns: minmax(0, 1fr);
    }

    .cv-chapter {
        gap: 22px;
    }

    .cv-chapter:not(:first-child) {
        margin-top: 48px;
    }

    .cv-chapter__photo {
        border-radius: 20px;
    }

    .cv-lanes {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .cv-lane {
        padding: 28px 22px 24px;
    }

    .cv-evaluate {
        padding: 26px 20px;
    }

    .cv-flow {
        grid-template-columns: 1fr 1fr;
    }

    .cv-flow li:nth-child(3)::after {
        content: none;
    }

    /* matriz: cada fila se apila con el nombre del sistema arriba de su texto */
    .cv-matrix thead {
        display: none;
    }

    .cv-matrix,
    .cv-matrix tbody,
    .cv-matrix tr,
    .cv-matrix th,
    .cv-matrix td {
        display: block;
        width: auto;
    }

    .cv-matrix tr {
        padding: 18px 18px;
        border-bottom: 1px solid var(--cv-line);
    }

    .cv-matrix tbody tr:last-child {
        border-bottom: 0;
    }

    .cv-matrix th,
    .cv-matrix td,
    .cv-matrix tbody tr:hover > * {
        padding: 0;
        border: 0;
        background: none;
    }

    .cv-matrix th:first-child {
        width: auto;
        margin-bottom: 10px;
        padding-left: 0;
        font-size: 1rem;
    }

    .cv-matrix td,
    .cv-matrix tbody tr:hover > td {
        padding: 10px 12px;
        border-radius: 12px;
        background: #f3f6ff;
    }

    .cv-matrix td + td,
    .cv-matrix tbody tr:hover > td + td {
        margin-top: 8px;
        background: #faf3f7;
    }

    .cv-matrix td::before {
        content: attr(data-label);
        display: block;
        color: var(--cv-navy);
        font-size: 0.75rem;
        font-weight: 800;
    }

    .cv-matrix .cv-td-o::before {
        color: var(--cv-plum);
    }

    .cv-checklist__head {
        grid-template-columns: 24px minmax(0, 1fr);
        gap: 12px;
        padding: 14px 16px;
    }

    .cv-checklist__head span:nth-child(2) {
        display: none;
    }

    .cv-checklist label {
        grid-template-columns: 24px minmax(0, 1fr);
        gap: 4px 12px;
        padding: 14px 16px;
    }

    .cv-checklist__what {
        grid-column: 2;
    }

    .cv-evaluate--card {
        padding: 24px 18px;
    }

    .cv-mrp {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .cv-mrp__engine::before,
    .cv-mrp__engine::after {
        content: none;
    }

    .cv-clock {
        grid-template-columns: minmax(0, 1fr);
    }

    .cv-clock li {
        grid-template-columns: auto 1fr;
        justify-items: start;
        align-items: center;
        padding: 12px 16px;
        text-align: left;
    }

    .cv-hub {
        grid-template-columns: minmax(0, 1fr);
    }

    .cv-hub li::before {
        content: none;
    }

    .cv-tco__table {
        padding: 6px 14px;
    }

    .cv-tco__outro {
        grid-template-columns: minmax(0, 1fr);
    }

    .cv-verdict__card {
        padding: 28px 24px 30px;
        font-size: 1.02rem;
    }

    .cv-cta__copy {
        padding: 30px 22px 34px;
    }

    .cv-demo {
        padding: 64px 0;
    }

    .cv-form {
        padding: 26px 18px;
    }

    .cv-form__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 360px) {
    .cv-form__captcha {
        transform: scale(0.88);
        transform-origin: 0 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cv-bar__fill,
    .cv-transfer__stack span,
    .cv-chapter__photo img {
        transition: none;
    }
}

/* ---------- hero cara a cara y pestañas en pantallas chicas ---------- */
@media (max-width: 860px) {
    .cv-fo {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
    }

    .cv-fo__card {
        width: 100%;
    }

    .cv-fo__vs {
        margin: -16px 0;
    }

    .cv-bar {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 6px 12px;
    }

    .cv-bar__track {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .cv-pick {
        grid-template-columns: minmax(0, 1fr);
    }

    .cv-tabs {
        margin-right: -16px;
        margin-left: -16px;
        border-radius: 0;
    }

    .cv-tabs button {
        flex: 0 0 auto;
    }
}

@media (max-width: 760px) {
    .cv-hero {
        padding: 100px 0 120px;
    }

    .cv-hero__lead {
        font-size: 0.95rem;
    }

    .cv-hero__actions .cv-btn {
        width: 100%;
    }

    .cv-fo {
        margin-top: 30px;
    }

    .cv-fo__card {
        padding: 24px 22px 22px;
    }

    .cv-fo__headline {
        font-size: 1.2rem;
    }

    .cv-tcowrap {
        margin-top: -80px;
    }

    .cv-tcochart {
        padding: 22px 18px 18px;
    }

    .cv-pick__card {
        padding: 26px 22px 28px;
    }
}

/* ---------- aproximado en USD / EUR (solo inglés y francés) ---------- */
.cv-fx {
    display: block;
    color: var(--cv-muted);
    font-size: 0.74rem;
    font-weight: 600;
    white-space: nowrap;
}

.cv-bar__value {
    min-width: 0;
}

.cv-bar:has(.cv-fx) {
    grid-template-columns: minmax(0, 290px) minmax(0, 1fr) 150px;
}

.cv-table--hours .cv-fx {
    display: inline;
    margin-left: 8px;
}

@media (max-width: 860px) {
    .cv-bar:has(.cv-fx) {
        grid-template-columns: minmax(0, 1fr) auto;
    }
}

/* ---------- celular y tablet: las tablas de precios y de costo total pasan a tarjetas (sin scroll lateral) ---------- */
@media (max-width: 860px) {
    .cv-table--price,
    .cv-table--tco {
        min-width: 0;
    }

    .cv-table--price thead,
    .cv-table--tco thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    .cv-table--price,
    .cv-table--price tbody,
    .cv-table--price tr,
    .cv-table--price th,
    .cv-table--price td,
    .cv-table--tco,
    .cv-table--tco tbody,
    .cv-table--tco tr,
    .cv-table--tco th,
    .cv-table--tco td {
        display: block;
        width: auto;
    }

    /* precios: cada concepto es un bloque con un renglón por plan */
    .cv-table--price {
        padding: 6px 18px;
    }

    .cv-table--price tbody tr {
        padding: 16px 0;
        border-bottom: 1px solid var(--cv-line);
    }

    .cv-table--price tbody tr:last-child {
        border-bottom: 0;
    }

    .cv-table--price th:first-child {
        position: static;
        width: auto;
        padding: 0 0 10px;
        background: none;
    }

    .cv-table--price tbody tr > *,
    .cv-table--price tbody tr:last-child > * {
        border-bottom: 0;
    }

    .cv-table--price td {
        display: grid;
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: 12px;
        margin-top: 6px;
        padding: 10px 12px;
        border-radius: 12px;
        background: #fbf6fa;
    }

    .cv-table--price td::before {
        content: attr(data-label);
        color: var(--cv-plum);
        font-size: 0.78rem;
        font-weight: 700;
    }

    .cv-table--price td:nth-child(2)::before {
        color: var(--cv-navy);
    }

    /* costo total: cada sistema con sus dos montos */
    .cv-table--tco tbody tr {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 12px;
        padding: 14px 0;
        border-bottom: 1px solid var(--cv-line);
    }

    .cv-table--tco tbody tr:last-child {
        border-bottom: 0;
    }

    .cv-table--tco tbody tr > *,
    .cv-table--tco tbody tr:last-child > * {
        padding: 0;
        border-bottom: 0;
    }

    .cv-table--tco tbody th {
        grid-column: 1 / -1;
        margin-bottom: 8px;
    }

    .cv-table--tco td {
        white-space: normal;
    }

    .cv-table--tco td::before {
        content: attr(data-label);
        display: block;
        color: var(--cv-muted);
        font-size: 0.74rem;
        font-weight: 600;
    }

    /* horas de implementación: la barra arriba del monto para que quepa */
    .cv-table--hours .cv-inlinebar {
        display: block;
        width: calc(var(--w) * 1%);
        margin: 4px 0 8px;
    }

    .cv-table--hours .cv-fx {
        display: block;
        margin-left: 0;
    }

    /* transferencia entre almacenes: la figura y las 4 columnas caben en la tarjeta */
    .cv-transfer {
        gap: 6px;
        padding: 18px 10px 16px;
    }

    .cv-table--num {
        font-size: 0.82rem;
    }

    .cv-table--num th,
    .cv-table--num td {
        padding: 10px 4px;
    }
}

/* laptop chica: la tabla de costo total cabe en su columna sin scroll */
@media (min-width: 861px) and (max-width: 1100px) {
    .cv-table--tco th,
    .cv-table--tco td {
        padding: 14px 10px;
    }
}
