[hidden] {
    display: none !important;
}

.btn--advisor {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

.btn--advisor .icon:first-child {
    color: #7fd2e5;
}

.btn--advisor:hover {
    background: #0d3242;
    border-color: #0d3242;
    transform: translateY(-1px);
}

.btn--on-dark {
    border-color: rgba(255, 255, 255, .28);
    color: #fff;
}

.btn--on-dark:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .08);
}

.tag--accent {
    background: var(--accent-soft);
    color: var(--accent-text);
}

.chip--action {
    cursor: pointer;
    color: var(--text);
    transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}

.chip--action:hover {
    border-color: var(--brand);
    background: var(--brand-soft);
    color: var(--brand-strong);
}

/* ==========================================================================
   HERO — portada
   Fondo: imagen única. Lado izquierdo: mensaje. Lado derecho: diagrama.
   ========================================================================== */

/* site.css conserva un bloque .hero de un diseño anterior que ya no usa
   ninguna vista. Estas tres declaraciones lo neutralizan aquí para que no se
   filtre sobre la portada; el bloque antiguo se queda intacto. */
.hero {
    /* Altura real del header pegajoso, medida en el sitio. */
    --hero-header: 85px;

    position: relative;
    overflow: hidden;
    background: #eef4fd;
    display: flex;
    flex-direction: column;
    padding-top: clamp(28px, 4.6vh, 72px);
    padding-bottom: 0;
}

.hero::before {
    content: none;
}

/* En escritorio el hero mide exactamente el primer viewport: el contenido se
   reparte el espacio sobrante y la franja se reserva su altura fija, así que
   ambos caben sin scroll. */
@media (min-width: 1100px) {
    .hero {
        height: calc(100svh - var(--hero-header));
        min-height: 640px;
        max-height: 860px;
    }
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-image: url("../img/software/hero-bg.webp");
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

/* Velo de legibilidad. No es decoración: mantiene el texto y el diagrama
   sobre fondo claro sin ocultar la geometría azul de la imagen. */
.hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(104deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .88) 38%, rgba(255, 255, 255, .72) 62%, rgba(255, 255, 255, .5) 82%, rgba(255, 255, 255, .38) 100%);
}

@media (max-width: 1099px) {
    .hero__bg {
        background-position: 68% center;
    }

    .hero__bg::after {
        background: linear-gradient(180deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .76) 46%, rgba(255, 255, 255, .86) 100%);
    }
}

.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(48px, 6vw, 72px);
    align-items: center;
}

@media (min-width: 1100px) {
    .hero__inner {
        flex: 1;
        min-height: 0;
        grid-template-columns: 56fr 44fr;
        gap: clamp(40px, 4.4vw, 76px);
        align-content: center;
    }
}

/* ---------- Columna de texto ---------- */

.hero__copy {
    display: grid;
    gap: clamp(20px, 2vw, 28px);
    justify-items: start;
    min-width: 0;
    max-width: 620px;
}

.hero__eyebrow {
    margin: 0;
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--hb-blue-deep);
}

.hero__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.05rem, 3.5vw, 3.15rem);
    line-height: 1.08;
    letter-spacing: -.035em;
    font-weight: 700;
    color: var(--hb-navy);
    display: grid;
    gap: 2px;
    text-wrap: balance;
}

.hero__title span {
    display: block;
}

.hero__accent {
    background-image: linear-gradient(100deg, #00B6D4 0%, #0093AC 45%, #1C6FD6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    padding-bottom: .08em;
}

.hero__sub {
    margin: 0;
    font-size: clamp(1.04rem, 1.18vw, 1.18rem);
    line-height: 1.62;
    color: #40506a;
    max-width: 46ch;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 6px;
}

.hero__actions .btn {
    min-height: 52px;
}

.hero__actions .btn--outline {
    border-color: var(--hb-line-strong);
    color: var(--hb-navy);
    background: rgba(255, 255, 255, .5);
}

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

/* ---------- Columna del diagrama ---------- */

.hero__visual {
    position: relative;
    min-width: 0;
    justify-self: center;
    align-self: center;
    width: 100%;
    max-width: 620px;
}

/* ==========================================================================
   Franja institucional — cierre del hero
   ========================================================================== */

.hero__strip {
    position: relative;
    width: 100%;
    border-top: 1px solid rgba(0, 147, 172, .16);
    background: rgba(255, 255, 255, .66);
}

@media (min-width: 1100px) {
    .hero__strip {
        flex: 0 0 105px;
    }
}

.hero__strip-inner {
    display: flex;
    align-items: center;
    height: 100%;
    gap: clamp(20px, 2.4vw, 38px);
    min-height: 105px;
    padding-block: 18px;
}

.hero__strip-label {
    display: grid;
    gap: 3px;
    margin: 0;
    flex: none;
    font-size: .6875rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--hb-blue-deep);
}

.hero__strip-rule {
    flex: none;
    width: 1px;
    height: 46px;
    background: rgba(0, 147, 172, .24);
}

.hero__strip-list {
    display: flex;
    flex: 1;
    justify-content: space-between;
    align-items: center;
    gap: clamp(14px, 2vw, 28px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero__strip-list li {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: .8125rem;
    font-weight: 560;
    color: #45556c;
    white-space: nowrap;
}

.hero__strip-list .icon {
    width: 19px;
    height: 19px;
    flex: none;
    color: var(--hb-blue-deep);
}

@media (max-width: 1099px) {
    .hero__strip-inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px clamp(18px, 2.6vw, 30px);
        min-height: 0;
        padding-block: 24px;
    }

    .hero__strip-label {
        text-align: center;
        justify-items: center;
    }

    /* Al envolverse, el separador quedaría suelto al final de una línea. */
    .hero__strip-rule {
        display: none;
    }

    .hero__strip-list {
        flex: 0 1 auto;
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px clamp(18px, 3vw, 32px);
    }
}

@media (max-width: 599px) {
    .hero__strip-inner {
        flex-direction: column;
        gap: 18px;
        padding-block: 22px;
    }

    .hero__strip-rule {
        display: none;
    }

    .hero__strip-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(94px, 1fr));
        gap: 14px 10px;
        width: 100%;
    }

    .hero__strip-list li {
        gap: 7px;
        font-size: .75rem;
        white-space: normal;
    }

    .hero__strip-list .icon {
        width: 17px;
        height: 17px;
    }
}

/* ==========================================================================
   Diagrama del hero
   Nueva solicitud -> CODETICA -> CRM / ERP / Inventario -> Proceso resuelto
   Ilustración corporativa: una sola señal recorre el flujo y va encendiendo
   los resultados. Las cards no laten ni aparecen; sólo cambian los checks.
   ========================================================================== */

.hdiag {
    --wire: rgba(0, 147, 172, .34);
    --wire-live: #00ACC8;
    --check-off: #96a3b4;
    --check-off-icon: #b3bfcc;
    --check-on: var(--hb-blue-deep);
    --check-on-icon: #0FA08E;
    --cycle: 7s;

    position: relative;
    display: grid;
    justify-items: center;
    margin-inline: auto;
    width: min(100%, 590px);
}

/* ---------- Solicitud ---------- */

.hdiag__request {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    width: min(100%, 340px);
    min-width: min(100%, 330px);
    padding: 13px 18px;
    border: 1px solid rgba(0, 147, 172, .22);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 6px -4px rgba(6, 42, 56, .3);
    text-align: left;
}

.hdiag__request-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--hb-soft);
    color: var(--hb-blue);
}

.hdiag__request-text {
    display: grid;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.hdiag__request-text b {
    font-size: .9375rem;
    font-weight: 650;
    letter-spacing: 0;
    color: var(--hb-navy);
}

.hdiag__request-text em {
    font-style: normal;
    font-size: .8125rem;
    line-height: 1.35;
    letter-spacing: 0;
    color: #5d6d84;
}

/* ---------- CODETICA ---------- */

.hdiag__core {
    position: relative;
    display: grid;
    align-content: center;
    gap: 8px;
    width: min(100%, 375px);
    min-height: 124px;
    padding: 24px 32px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    background: linear-gradient(150deg, #073A4B, #075E71);
    box-shadow: 0 14px 30px -18px rgba(6, 42, 56, .85);
    text-align: center;
}

.hdiag__core-ai {
    position: absolute;
    top: 11px;
    right: 12px;
    padding: 3px 7px;
    border: 1px solid rgba(127, 210, 229, .38);
    border-radius: 4px;
    font-size: .5625rem;
    font-weight: 700;
    letter-spacing: .1em;
    color: #7fd2e5;
}

.hdiag__core-name {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -.01em;
    color: #fff;
}

.hdiag__core-role {
    font-size: .8125rem;
    line-height: 1.5;
    color: rgba(230, 245, 250, .9);
}

/* ---------- Sistemas ---------- */

.hdiag__systems {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4.6%;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hdiag__system {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 5px;
    min-height: 84px;
    padding: 12px 8px;
    border: 1px solid rgba(0, 147, 172, .22);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 6px -4px rgba(6, 42, 56, .3);
    text-align: center;
}

.hdiag__system-icon {
    display: block;
    color: var(--hb-blue);
    line-height: 0;
}

.hdiag__system-name {
    font-size: .9375rem;
    font-weight: 650;
    color: var(--hb-navy);
}

.hdiag__system-check {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .6875rem;
    line-height: 1.3;
    color: var(--check-off);
    transition: color .6s var(--ease);
}

.hdiag__system-check .icon {
    flex: none;
    color: var(--check-off-icon);
    transition: color .6s var(--ease);
}

/* ---------- Cierre ---------- */

.hdiag__outcome {
    display: flex;
    align-items: center;
    gap: 13px;
    width: min(100%, 375px);
    padding: 13px 18px;
    border: 1px solid rgba(0, 147, 172, .2);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 6px -4px rgba(6, 42, 56, .28);
    text-align: left;
}

.hdiag__outcome-check {
    display: grid;
    place-items: center;
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #eef2f6;
    color: var(--check-off-icon);
    transition: background-color .6s var(--ease), color .6s var(--ease);
}

.hdiag__outcome-text {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.hdiag__outcome-text b {
    font-size: .9375rem;
    font-weight: 650;
    color: var(--hb-navy);
}

.hdiag__outcome-text em {
    font-style: normal;
    font-size: .8125rem;
    line-height: 1.35;
    color: #5d6d84;
}

/* ---------- Trazos ---------- */

.hdiag__wire {
    width: 100%;
    line-height: 0;
}

.hdiag__wire--in {
    height: clamp(18px, 3vh, 36px);
}

.hdiag__wire--fan,
.hdiag__wire--merge {
    height: clamp(24px, 4.2vh, 46px);
}

.hdiag__svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    fill: none;
}

.hdiag__track,
.hdiag__pulse {
    vector-effect: non-scaling-stroke;
    stroke-width: 1;
    stroke-linecap: round;
}

.hdiag__track {
    stroke: var(--wire);
}

/* La señal es un guion corto que recorre el trazo. pathLength="100" iguala
   la velocidad en todos los tramos, midan lo que midan. */
.hdiag__pulse {
    stroke: var(--wire-live);
    stroke-width: 1.6;
    stroke-dasharray: 9 100;
    stroke-dashoffset: 109;
    opacity: 0;
}

/* ==========================================================================
   Animación — un solo recorrido de 7 s, con pausa al final
   ========================================================================== */

.hdiag.is-playing .hdiag__pulse--in {
    animation: hdiagPulseIn var(--cycle) linear infinite;
}

.hdiag.is-playing .hdiag__pulse--fan {
    animation: hdiagPulseFan var(--cycle) linear infinite;
}

.hdiag.is-playing .hdiag__pulse--merge {
    animation: hdiagPulseMerge var(--cycle) linear infinite;
}

.hdiag.is-playing .hdiag__system-check {
    animation: hdiagCheckOn var(--cycle) var(--ease) infinite;
    animation-delay: calc(var(--col) * .1s);
}

.hdiag.is-playing .hdiag__system-check .icon {
    animation: hdiagCheckIcon var(--cycle) var(--ease) infinite;
    animation-delay: calc(var(--col) * .1s);
}

.hdiag.is-playing .hdiag__outcome-check {
    animation: hdiagOutcomeOn var(--cycle) var(--ease) infinite;
}

@keyframes hdiagPulseIn {
    0% { stroke-dashoffset: 109; opacity: 0; }
    2% { opacity: 1; }
    12% { stroke-dashoffset: 0; opacity: 1; }
    15%, 100% { stroke-dashoffset: 0; opacity: 0; }
}

@keyframes hdiagPulseFan {
    0%, 14% { stroke-dashoffset: 109; opacity: 0; }
    16% { opacity: 1; }
    27% { stroke-dashoffset: 0; opacity: 1; }
    30%, 100% { stroke-dashoffset: 0; opacity: 0; }
}

@keyframes hdiagPulseMerge {
    0%, 34% { stroke-dashoffset: 109; opacity: 0; }
    36% { opacity: 1; }
    47% { stroke-dashoffset: 0; opacity: 1; }
    50%, 100% { stroke-dashoffset: 0; opacity: 0; }
}

@keyframes hdiagCheckOn {
    0%, 26% { color: var(--check-off); }
    31%, 86% { color: var(--check-on); }
    93%, 100% { color: var(--check-off); }
}

@keyframes hdiagCheckIcon {
    0%, 26% { color: var(--check-off-icon); }
    31%, 86% { color: var(--check-on-icon); }
    93%, 100% { color: var(--check-off-icon); }
}

@keyframes hdiagOutcomeOn {
    0%, 47% {
        background-color: #eef2f6;
        color: var(--check-off-icon);
    }
    53%, 86% {
        background-color: #E4F5F0;
        color: var(--check-on-icon);
    }
    93%, 100% {
        background-color: #eef2f6;
        color: var(--check-off-icon);
    }
}

/* Escritorio intermedio: la columna visual se estrecha y los textos envuelven,
   así que el diagrama recorta altura para no invadir la franja. */
@media (min-width: 1100px) and (max-width: 1379px) {
    .hdiag__wire--in {
        height: clamp(16px, 2.6vh, 30px);
    }

    .hdiag__wire--fan,
    .hdiag__wire--merge {
        height: clamp(22px, 3.6vh, 38px);
    }

    .hdiag__request,
    .hdiag__outcome {
        width: min(100%, 320px);
        min-width: 0;
        padding: 11px 16px;
    }

    .hdiag__request-icon {
        width: 40px;
        height: 40px;
    }

    .hdiag__core {
        width: min(100%, 340px);
        min-height: 110px;
        padding: 20px 24px;
    }

    .hdiag__core-name {
        font-size: 1.25rem;
    }

    .hdiag__system {
        min-height: 78px;
        padding: 10px 7px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hdiag.is-playing .hdiag__pulse,
    .hdiag.is-playing .hdiag__system-check,
    .hdiag.is-playing .hdiag__system-check .icon,
    .hdiag.is-playing .hdiag__outcome-check {
        animation: none;
    }

    .hdiag .hdiag__pulse {
        opacity: 0;
    }

    /* Sin movimiento se muestra el estado final: todo resuelto. */
    .hdiag .hdiag__system-check {
        color: var(--check-on);
    }

    .hdiag .hdiag__system-check .icon {
        color: var(--check-on-icon);
    }

    .hdiag .hdiag__outcome-check {
        background-color: #E4F5F0;
        color: var(--check-on-icon);
    }
}

/* ---------- Tablet y móvil ---------- */

@media (max-width: 1099px) {
    .hero__copy {
        justify-self: center;
        text-align: center;
        justify-items: center;
    }

    .hero__sub {
        margin-inline: auto;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__visual {
        max-width: 400px;
        margin-inline: auto;
    }
}

@media (max-width: 599px) {
    .hero {
        padding-block: 36px 44px;
    }

    .hero__title {
        font-size: clamp(1.75rem, 8.4vw, 2.2rem);
    }

    .hero__sub {
        font-size: 1rem;
    }

    .hero__actions {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }

    .hero__actions .btn {
        width: 100%;
    }

    /* Conexiones más simples: en el reparto se quedan los tres ramales, pero
       la convergencia se reduce al eje central. */
    .hdiag__wire--in {
        height: 30px;
    }

    .hdiag__wire--fan {
        height: 42px;
    }

    .hdiag__wire--merge {
        height: 34px;
    }

    .hdiag__wire--merge .hdiag__track:not(:nth-child(2)),
    .hdiag__wire--merge .hdiag__pulse:not(.hdiag__pulse--merge),
    .hdiag__wire--merge .hdiag__pulse--merge:not([style*="--col:1"]) {
        display: none;
    }

    .hdiag__core {
        padding: 19px 20px;
    }

    .hdiag__core-name {
        font-size: 1.0625rem;
    }

    .hdiag__system {
        padding: 10px 5px 9px;
    }

    .hdiag__system-name {
        font-size: .75rem;
    }

    .hdiag__system-check {
        font-size: .5625rem;
        gap: 2px;
    }

    .hdiag__request {
        padding: 9px 14px 9px 10px;
        gap: 9px;
    }

    .hdiag__request-icon {
        width: 27px;
        height: 27px;
    }

    .hdiag__request,
    .hdiag__outcome {
        padding: 11px 14px;
        gap: 11px;
    }

    .hdiag__request-icon {
        width: 38px;
        height: 38px;
    }

    .hdiag__outcome-check {
        width: 26px;
        height: 26px;
    }

    .hdiag__request-text b,
    .hdiag__outcome-text b {
        font-size: .875rem;
    }

    .hdiag__request-text em,
    .hdiag__outcome-text em {
        font-size: .75rem;
    }
}

.needs {
    position: relative;
    background: #F7FAFF;
}

.caps-section {
    position: relative;
    overflow: hidden;
    background: #F7FAFF;
}

.caps-section__bg {
    position: absolute;
    inset: 0;
    background-image: url("../img/software/solutions-bg.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.caps-section__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(70% 55% at 50% 45%, rgba(255, 255, 255, .72), rgba(255, 255, 255, .3) 62%, rgba(255, 255, 255, 0) 100%);
}

.caps-section .container {
    position: relative;
}

.needs__head {
    display: grid;
    gap: 20px;
    margin-bottom: clamp(30px, 3.6vw, 50px);
}

@media (min-width: 900px) {
    .needs__head {
        grid-template-columns: 1.05fr .95fr;
        align-items: end;
        gap: 52px;
    }
}

.needs__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 14px;
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--hb-blue-deep);
}

.needs__eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--hb-cyan), var(--hb-electric));
    flex: none;
}

.needs__title {
    margin: 0;
    display: grid;
    gap: 1px;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.08;
    letter-spacing: -.036em;
    font-weight: 700;
    color: var(--hb-navy);
}

.needs__title span {
    display: block;
}

.needs__title-accent {
    background-image: linear-gradient(100deg, #0093AC 0%, #1C6FD6 52%, #00B6D4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    padding-bottom: .08em;
}

.needs__lead {
    margin: 0;
    font-size: clamp(1rem, 1.2vw, 1.12rem);
    line-height: 1.65;
    color: #4a5870;
    max-width: 48ch;
}

.needs__grid {
    display: grid;
    gap: 18px;
}

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

@media (min-width: 1080px) {
    .needs__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }
}


/* ---------- Tarjeta editorial ---------- */

.need {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 30px 30px 24px;
    border: 1px solid #E2EAF1;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 2px 8px -6px rgba(6, 42, 56, .3);
    text-align: left;
    font: inherit;
    color: inherit;
    cursor: pointer;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.need > *:not(.need__art) {
    position: relative;
    z-index: 1;
}

.need:hover,
.need:focus-visible {
    transform: translateY(-4px);
    border-color: #D3DEE8;
    box-shadow: 0 16px 34px -22px rgba(6, 42, 56, .4);
}

/* La regla de entrada (html.js [data-reveal].is-visible) fija transform:none
   y ganaba por especificidad, así que el hover no levantaba la tarjeta. */
html.js [data-reveal].need:hover,
html.js [data-reveal].need:focus-visible {
    transform: translateY(-4px);
}

/* La tarjeta del catálogo: mismo tamaño que las otras cinco, con más peso.
   La jerarquía la dan el filete cyan superior y los nueve productos
   nombrados, no un color ni un ancho distintos que la sacarían del
   conjunto. Los nombres van en una sola línea de texto separada por
   puntos: en una celda de un tercio, nueve píldoras ocuparían cuatro
   renglones y desequilibrarían la fila. */
.need--suites {
    border-top: 3px solid var(--hb-cyan);
}

/* Los nombres se apoyan sobre la zona donde el arte de fondo ya tiene
   fuerza, así que llevan su propia base clara. Sin ella, «Projects» cae
   justo encima del portátil y deja de leerse. */
.need__suites {
    display: block;
    margin: 4px -10px 0;
    padding: 9px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .82);
    font-size: .8125rem;
    font-weight: 540;
    line-height: 1.8;
    color: var(--hb-blue-deep);
}

.need__suite {
    white-space: nowrap;
}

.need__suite:not(:last-child)::after {
    content: " · ";
    color: var(--hb-line-strong);
    font-weight: 400;
}

/* Número y filete: jerarquía baja, el acento cyan es el único color. */
.need__meta {
    display: flex;
    align-items: center;
    gap: 13px;
}

.need__number {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -.04em;
    line-height: 1;
    color: #C3D2DF;
}

.need__rule {
    width: 26px;
    height: 2px;
    border-radius: 2px;
    background: var(--hb-cyan);
    flex: none;
}

.need__title {
    font-family: var(--font-display);
    font-size: 1.1875rem;
    font-weight: 640;
    line-height: 1.3;
    letter-spacing: -.02em;
    color: var(--hb-navy);
}

.need__text {
    font-size: .875rem;
    line-height: 1.6;
    color: #5b6a7e;
}

@media (min-width: 640px) {
    .need__title,
    .need__text {
        max-width: 57%;
    }

    .need__title {
        min-height: 2.6em;
    }

    .need__text {
        min-height: 6.4em;
    }
}

/* La imagen entra desde el centro y llega al borde. La máscara la funde con
   el blanco de la tarjeta en lugar de recortarla en seco. */
.need__art {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 62%;
    background-image: var(--sol);
    /* El encuadre recorta los bordes del arte original, donde viven las
       retículas de puntos decorativas. */
    background-size: auto 136%;
    background-position: 87% 43%;
    background-repeat: no-repeat;
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .5) 54%, rgba(0, 0, 0, .92) 74%, #000 88%);
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .5) 54%, rgba(0, 0, 0, .92) 74%, #000 88%);
    transition: transform .4s var(--ease);
    pointer-events: none;
    z-index: 0;
}

.need:hover .need__art,
.need:focus-visible .need__art {
    transform: scale(1.025);
}

.need__foot {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid #EAF0F5;
}

.need__tag {
    font-size: .8125rem;
    font-weight: 620;
    letter-spacing: -.005em;
    color: var(--hb-blue-deep);
    min-width: 0;
}

.need__arrow {
    display: inline-flex;
    color: var(--hb-blue);
    flex: none;
    transition: transform .25s var(--ease);
}

.need:hover .need__arrow,
.need:focus-visible .need__arrow {
    transform: translateX(4px);
}

@media (max-width: 639px) {
    .need {
        padding: 24px 22px 20px;
        gap: 12px;
    }

    /* En móvil la composición se apila: la imagen deja de ser fondo y pasa a
       ser una banda propia entre la descripción y el enlace. */
    .need__art {
        position: relative;
        width: 100%;
        height: 148px;
        margin-top: 4px;
        border-radius: 12px;
        background-position: 72% center;
        -webkit-mask-image: none;
        mask-image: none;
        order: 4;
    }

    .need__foot {
        order: 5;
    }
}

.needs__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-top: clamp(22px, 2.6vw, 32px);
    padding: 20px 24px;
    border: 1px solid #DCE7F1;
    border-radius: 20px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 10px 26px -24px rgba(6, 62, 74, .75);
}

.needs__foot-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--hb-soft);
    color: var(--hb-blue);
    flex: none;
}

.needs__foot-copy {
    display: grid;
    gap: 3px;
    flex: 1 1 280px;
    min-width: 0;
}

.needs__foot-label {
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--hb-blue-deep);
}

.needs__foot-text {
    font-size: .9375rem;
    line-height: 1.55;
    color: #4a5870;
}

.btn--soft-blue {
    background: #F2F7FF;
    border-color: var(--hb-line-strong);
    color: var(--hb-blue-deep);
    font-weight: 620;
}

.btn--soft-blue .icon:first-child {
    color: var(--hb-blue);
}

.btn--soft-blue:hover {
    background: #E4EFFF;
    border-color: var(--hb-blue);
    transform: translateY(-1px);
}

@media (max-width: 639px) {
    .need {
        padding: 20px 20px 18px;
    }

    .need__art {
        position: static;
        width: auto;
        height: 138px;
        margin: 4px -20px 0;
        background-position: center;
        -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .55) 26%, #000 58%);
        mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .55) 26%, #000 58%);
    }

    .need::before {
        display: none;
    }

    .needs__foot {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 20px;
    }

    .needs__foot .btn {
        width: 100%;
    }
}

.caps__head {
    display: grid;
    gap: 22px;
    margin-bottom: clamp(30px, 3.6vw, 48px);
}

@media (min-width: 900px) {
    .caps__head {
        grid-template-columns: 1.05fr .95fr;
        align-items: end;
        gap: 56px;
    }
}

.caps__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 14px;
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--hb-blue-deep);
}

.caps__eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--hb-cyan), var(--hb-electric));
    flex: none;
}

.caps__title {
    margin: 0;
    display: grid;
    gap: 1px;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.08;
    letter-spacing: -.036em;
    font-weight: 700;
    color: var(--hb-navy);
}

.caps__title span {
    display: block;
}

.caps__title-accent {
    background-image: linear-gradient(100deg, #0093AC 0%, #1C6FD6 52%, #00B6D4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    padding-bottom: .08em;
}

.caps__head-side {
    display: grid;
    gap: 16px;
    justify-items: start;
}

.caps__lead {
    margin: 0;
    font-size: clamp(1rem, 1.15vw, 1.1rem);
    line-height: 1.68;
    color: #4a5870;
    max-width: 52ch;
}

.caps {
    position: relative;
}

.caps__list {
    display: block;
}

@media (min-width: 980px) {
    .caps__list {
        display: grid;
        grid-template-columns: 45fr 55fr;
        grid-template-rows: repeat(var(--caps-count, 8), auto);
        column-gap: clamp(34px, 3.6vw, 60px);
        align-items: stretch;
    }

    .cap {
        display: contents;
    }

    .caps__row {
        grid-column: 1;
    }

    .caps__panel.is-active {
        grid-column: 2;
        grid-row: 1 / -1;
    }
}

.caps__row {
    position: relative;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 20px;
    align-items: start;
    gap: 14px;
    width: 100%;
    padding: 15px 16px 15px 18px;
    border: 0;
    border-radius: 14px;
    background: none;
    font: inherit;
    text-align: left;
    color: inherit;
    cursor: pointer;
    transition: background-color .28s var(--ease);
}

.cap:not(:first-child) .caps__row::before {
    content: "";
    position: absolute;
    left: 18px;
    right: 8px;
    top: 0;
    height: 1px;
    background: rgba(0, 147, 172, .13);
    transition: opacity .28s var(--ease);
}

.caps__row::after {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 3px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--hb-cyan), var(--hb-blue));
    transform: scaleY(0);
    transition: transform .3s var(--ease);
}

.caps__row:hover {
    background: rgba(0, 147, 172, .04);
}

.caps__row[aria-expanded="true"] {
    background: rgba(0, 147, 172, .07);
}

.caps__row[aria-expanded="true"]::after {
    transform: scaleY(1);
}

.caps__row[aria-expanded="true"]::before,
.cap:has(+ .cap .caps__row[aria-expanded="true"]) .caps__row::before {
    opacity: 0;
}

.caps__index {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.5;
    color: #BFD6DE;
    transition: color .28s var(--ease);
}

.caps__row[aria-expanded="true"] .caps__index {
    color: var(--hb-blue);
}

.caps__body {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.caps__name {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 640;
    letter-spacing: -.018em;
    line-height: 1.35;
    color: var(--hb-navy);
}

.caps__text {
    font-size: .8438rem;
    line-height: 1.55;
    color: #5a6a82;
}

.caps__mark {
    display: grid;
    place-items: center;
    color: var(--hb-blue);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity .28s var(--ease), transform .28s var(--ease);
    margin-top: 2px;
}

.caps__row:hover .caps__mark,
.caps__row[aria-expanded="true"] .caps__mark {
    opacity: 1;
    transform: none;
}

.caps__panel {
    display: none;
}

.caps__panel.is-active {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(0, 147, 172, .2);
    border-radius: 26px;
    background: linear-gradient(168deg, rgba(255, 255, 255, .96), rgba(240, 250, 253, .9));
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    box-shadow: 0 32px 66px -42px rgba(6, 62, 74, .5), inset 0 1px 0 rgba(255, 255, 255, .9);
}

.caps__panel-stage {
    flex: 1;
    display: grid;
    place-items: center;
    padding: clamp(22px, 2.6vw, 36px) clamp(18px, 2.2vw, 30px);
}

.caps__panel-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 13px clamp(16px, 2vw, 24px);
    border-top: 1px solid rgba(0, 147, 172, .15);
    background: rgba(255, 255, 255, .66);
}

.caps__panel-name {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-display);
    font-size: .9375rem;
    font-weight: 640;
    letter-spacing: -.015em;
    color: var(--hb-navy);
}

.caps__panel-name .icon {
    color: var(--hb-blue);
    flex: none;
}

@media (max-width: 979px) {
    .caps__list {
        border-top: 1px solid rgba(0, 147, 172, .13);
    }

    .cap {
        border-bottom: 1px solid rgba(0, 147, 172, .13);
    }

    .cap:not(:first-child) .caps__row::before {
        display: none;
    }

    .caps__row {
        border-radius: 0;
        padding-block: 17px;
    }

    .caps__mark {
        transform: rotate(90deg);
        opacity: .45;
    }

    .caps__row[aria-expanded="true"] .caps__mark {
        transform: rotate(-90deg);
        opacity: 1;
    }

    .caps__panel.is-active {
        margin: 2px 0 18px;
        border-radius: 20px;
    }

    .caps__panel-stage {
        padding: 24px 18px;
    }
}

.cvx {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 400px;
    font-size: .8125rem;
    line-height: 1.4;
}

.cvx__node,
.cvx__core,
.cvx__mod,
.cvx__hubcore,
.cvx__pill,
.cvx__step,
.cvx__dash,
.cvx__phone,
.cvx__web,
.cvx__bridge,
.cvx__result,
.cvx__steps em,
.cvx__srcs em,
.cvx__kpis em,
.cvx__checks em,
.cvx__metrics em,
.cvx__modules em {
    animation: cvxin .5s var(--ease) both;
    animation-delay: calc(var(--i, 0) * 95ms);
}

@keyframes cvxin {
    from {
        opacity: 0;
        transform: translateY(9px);
    }
}

.cvx__node {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid rgba(0, 147, 172, .22);
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 6px 14px -12px rgba(6, 62, 74, .9);
    font-weight: 570;
    color: var(--hb-navy);
    white-space: nowrap;
}

.cvx__node .icon {
    color: var(--hb-blue);
    flex: none;
}

.cvx__row {
    display: grid;
    gap: 10px;
    width: 100%;
}

.cvx__row--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cvx__row--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cvx__row .cvx__node {
    justify-content: center;
    white-space: normal;
    text-align: center;
}

.cvx__mod {
    display: grid;
    place-items: center;
    padding: 11px 6px;
    border: 1px solid rgba(0, 147, 172, .2);
    border-radius: 11px;
    background: rgba(240, 250, 253, .9);
    font-size: .78rem;
    font-weight: 600;
    color: var(--hb-blue-deep);
}

.cvx__core {
    display: grid;
    gap: 5px;
    justify-items: center;
    width: 100%;
    padding: 13px 16px;
    border-radius: 14px;
    background: linear-gradient(140deg, #0A6E82, #045162);
    color: #fff;
    box-shadow: 0 16px 30px -20px rgba(4, 81, 98, .95);
}

.cvx__core b {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: .9375rem;
    font-weight: 650;
    letter-spacing: -.015em;
}

.cvx__core b .icon {
    color: #7FE0F2;
}

.cvx__core em {
    font-style: normal;
    font-size: .72rem;
    color: #A9D6E0;
    letter-spacing: .01em;
}

.cvx__core--sm {
    width: auto;
    padding: 10px 20px;
}

.cvx__core--ai {
    background: linear-gradient(140deg, #0A6E82, #0B3C6E 62%, #123A8A);
    box-shadow: 0 16px 32px -18px rgba(11, 60, 110, .95), 0 0 0 4px rgba(0, 172, 200, .08);
}

.cvx__steps {
    display: flex;
    gap: 6px;
    margin-top: 3px;
}

.cvx__steps em {
    font-style: normal;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    font-size: .6875rem;
    font-weight: 600;
    color: #CBE9F2;
}

.cvx__pipe {
    position: relative;
    width: 2px;
    height: 20px;
    margin-block: 7px;
    background: rgba(0, 147, 172, .16);
    border-radius: 2px;
    flex: none;
}

.cvx__pipe::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--hb-cyan), var(--hb-blue));
    transform: scaleY(0);
    transform-origin: top;
    animation: cvxfill .44s var(--ease) both;
    animation-delay: calc(var(--i, 0) * 95ms);
}

@keyframes cvxfill {
    to {
        transform: scaleY(1);
    }
}

.cvx__pipe--fan,
.cvx__pipe--merge {
    width: 100%;
    height: 24px;
    background: none;
}

.cvx__pipe--fan::after,
.cvx__pipe--merge::after {
    left: 16.6667%;
    right: 16.6667%;
    top: 11px;
    bottom: auto;
    height: 2px;
    transform: scaleX(0);
    transform-origin: center;
    animation-name: cvxfillx;
}

.cvx__pipe--fan2::after {
    left: 25%;
    right: 25%;
}

@keyframes cvxfillx {
    to {
        transform: scaleX(1);
    }
}

.cvx__pipe--fan::before,
.cvx__pipe--merge::before {
    content: "";
    position: absolute;
    left: 50%;
    width: 2px;
    height: 12px;
    margin-left: -1px;
    background: linear-gradient(180deg, var(--hb-cyan), var(--hb-blue));
    border-radius: 2px;
}

.cvx__pipe--fan::before {
    top: 0;
}

.cvx__pipe--merge::before {
    bottom: 0;
}

.cvx__pipe--fan s,
.cvx__pipe--merge s {
    position: absolute;
    width: 2px;
    background: rgba(0, 147, 172, .35);
    border-radius: 2px;
}

.cvx__pipe--fan s {
    top: 12px;
    bottom: 0;
}

.cvx__pipe--merge s {
    top: 0;
    bottom: 12px;
}

.cvx__pipe--fan s:nth-child(1),
.cvx__pipe--merge s:nth-child(1) {
    left: 16.6667%;
}

.cvx__pipe--fan s:nth-child(2),
.cvx__pipe--merge s:nth-child(2) {
    left: 50%;
}

.cvx__pipe--fan s:nth-child(3),
.cvx__pipe--merge s:nth-child(3) {
    left: 83.3333%;
}

.cvx__pipe--fan2 s:nth-child(1) {
    left: 25%;
}

.cvx__pipe--fan2 s:nth-child(2) {
    left: 75%;
}

.cvx__result {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 8px 15px;
    border: 1px solid rgba(15, 163, 107, .26);
    border-radius: 999px;
    background: rgba(240, 253, 247, .9);
    font-size: .8125rem;
    font-weight: 600;
    color: #0B6E4C;
    text-align: center;
}

.cvx__result .icon {
    color: #0FA36B;
    flex: none;
}

.cvx__cross {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    place-items: center;
    width: 100%;
    height: 210px;
}

.cvx__wires {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.cvx__wires path {
    fill: none;
    stroke: var(--hb-blue);
    stroke-width: 1.4;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: cvxdraw .7s var(--ease) both;
    animation-delay: calc(var(--i, 0) * 95ms);
    opacity: .5;
}

@keyframes cvxdraw {
    to {
        stroke-dashoffset: 0;
    }
}

.cvx__at--t {
    grid-area: 1 / 2;
}

.cvx__at--l {
    grid-area: 2 / 1;
}

.cvx__at--r {
    grid-area: 2 / 3;
}

.cvx__at--b {
    grid-area: 3 / 2;
}

.cvx__hubcore {
    grid-area: 2 / 2;
    display: grid;
    place-items: center;
    gap: 3px;
    padding: 12px 14px;
    border-radius: 15px;
    background: linear-gradient(140deg, #0A6E82, #045162);
    color: #fff;
    box-shadow: 0 16px 32px -18px rgba(4, 81, 98, .95);
    z-index: 1;
}

.cvx__hubcore .icon {
    color: #7FE0F2;
}

.cvx__hubcore b {
    font-family: var(--font-display);
    font-size: .75rem;
    font-weight: 650;
    letter-spacing: .02em;
}

.cvx__spark {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--hb-cyan);
    box-shadow: 0 0 9px rgba(0, 172, 200, .9);
    opacity: 0;
}

.cvx__at--sp1 {
    left: calc(50% - 3px);
    top: 34%;
}

.cvx__at--sp2 {
    left: 22%;
    top: calc(50% - 3px);
}

.cvx__at--sp3 {
    right: 22%;
    top: calc(50% - 3px);
}

.cvx__at--sp4 {
    left: calc(50% - 3px);
    bottom: 34%;
}

.caps__panel.is-active .cvx__at--sp1 {
    animation: sparkY 1.1s var(--ease) .75s both;
}

.caps__panel.is-active .cvx__at--sp2 {
    animation: sparkX 1.1s var(--ease) .9s both;
}

.caps__panel.is-active .cvx__at--sp3 {
    animation: sparkXr 1.1s var(--ease) 1.05s both;
}

.caps__panel.is-active .cvx__at--sp4 {
    animation: sparkYr 1.1s var(--ease) 1.2s both;
}

@keyframes sparkY {
    0% {
        opacity: 0;
        transform: translateY(0);
    }

    20% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(26px);
    }
}

@keyframes sparkYr {
    0% {
        opacity: 0;
        transform: translateY(0);
    }

    20% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(-26px);
    }
}

@keyframes sparkX {
    0% {
        opacity: 0;
        transform: translateX(0);
    }

    20% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateX(34px);
    }
}

@keyframes sparkXr {
    0% {
        opacity: 0;
        transform: translateX(0);
    }

    20% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateX(-34px);
    }
}

.cvx__flowx {
    position: relative;
    display: grid;
    grid-template-columns: auto 68px auto;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.cvx__srcs {
    display: grid;
    gap: 7px;
}

.cvx__srcs em::after {
    content: "";
    position: absolute;
    left: 100%;
    top: 50%;
    width: 34px;
    height: 2px;
    margin-top: -1px;
    border-radius: 2px;
    background: rgba(0, 147, 172, .32);
}

.cvx__srcs em,
.cvx__modules em,
.cvx__kpis em {
    font-style: normal;
}

.cvx__srcs em {
    position: relative;
    padding: 6px 11px;
    border: 1px solid rgba(0, 147, 172, .2);
    border-radius: 8px;
    background: #fff;
    font-size: .72rem;
    font-weight: 620;
    color: var(--hb-navy);
    text-align: center;
}

.cvx__spine {
    position: relative;
    align-self: stretch;
}

.cvx__spine::before {
    content: "";
    position: absolute;
    left: 34px;
    top: 15px;
    bottom: 15px;
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--hb-cyan), var(--hb-blue));
    transform: scaleY(0);
    transform-origin: center;
    animation: cvxfill .5s var(--ease) .3s both;
}

.cvx__spine::after {
    content: "";
    position: absolute;
    left: 34px;
    right: 0;
    top: 50%;
    height: 2px;
    margin-top: -1px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--hb-blue), var(--hb-cyan));
    transform: scaleX(0);
    transform-origin: left;
    animation: cvxfillx .4s var(--ease) .55s both;
}

.cvx__pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 13px;
    border-radius: 11px;
    background: linear-gradient(140deg, #0A6E82, #045162);
    color: #fff;
    font-size: .78rem;
    font-weight: 620;
    white-space: nowrap;
}

.cvx__pill .icon {
    color: #7FE0F2;
}

.cvx__dash {
    display: grid;
    gap: 10px;
    width: 100%;
    max-width: 310px;
    margin-top: 18px;
    padding: 14px;
    border: 1px solid rgba(0, 147, 172, .2);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 22px -18px rgba(6, 62, 74, .9);
}

.cvx__dash-head {
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: rgba(6, 42, 56, .5);
}

.cvx__kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
}

.cvx__kpis em {
    padding: 5px 4px;
    border-radius: 7px;
    background: rgba(0, 147, 172, .08);
    font-size: .6875rem;
    font-weight: 620;
    color: var(--hb-blue-deep);
    text-align: center;
}

.cvx__bars {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: end;
    gap: 9px;
    height: 62px;
    padding-inline: 4px;
}

.cvx__bars i {
    display: block;
    height: var(--h);
    border-radius: 3px 3px 2px 2px;
    background: linear-gradient(180deg, rgba(0, 147, 172, .55), rgba(0, 147, 172, .2));
    transform-origin: bottom;
    animation: cvxgrow .55s var(--ease) both;
    animation-delay: calc(var(--i, 0) * 95ms);
}

.cvx__bars i.is-peak {
    background: linear-gradient(180deg, var(--hb-cyan), var(--hb-blue));
}

@keyframes cvxgrow {
    from {
        transform: scaleY(0);
        opacity: 0;
    }
}

.cvx__rail {
    position: relative;
    display: grid;
    gap: 9px;
    width: 100%;
    padding-left: 22px;
}

.cvx__rail::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 14px;
    bottom: 14px;
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--hb-cyan), var(--hb-blue));
    transform: scaleY(0);
    transform-origin: top;
    animation: cvxfill .8s var(--ease) .15s both;
}

.cvx__step {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 13px;
    border: 1px solid rgba(0, 147, 172, .2);
    border-radius: 11px;
    background: #fff;
    font-weight: 570;
    color: var(--hb-navy);
}

.cvx__step .icon {
    color: var(--hb-blue);
    flex: none;
}

.cvx__step::before {
    content: "";
    position: absolute;
    left: -19px;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-radius: 50%;
    background: var(--hb-blue);
    box-shadow: 0 0 0 3px rgba(0, 147, 172, .14);
}

.cvx__step--end {
    border-color: rgba(0, 147, 172, .4);
    background: rgba(240, 250, 253, .95);
}

.cvx__checks {
    display: grid;
    gap: 6px;
    width: 100%;
    margin-top: 14px;
}

.cvx__checks em {
    display: flex;
    align-items: center;
    gap: 8px;
    font-style: normal;
    font-size: .78rem;
    font-weight: 570;
    color: #0B6E4C;
}

.cvx__checks .icon {
    color: #0FA36B;
    flex: none;
}

.cvx__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    margin-top: 16px;
}

.cvx__metrics em {
    display: grid;
    justify-items: center;
    gap: 5px;
    padding: 9px 5px;
    border: 1px solid rgba(0, 147, 172, .18);
    border-radius: 11px;
    background: #fff;
    font-style: normal;
}

.cvx__metrics b {
    font-size: .6875rem;
    font-weight: 620;
    color: var(--hb-navy);
    text-align: center;
}

.cvx__metrics .icon {
    color: var(--hb-blue);
}

.cvx__devices {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 14px;
    width: 100%;
}

.cvx__phone {
    position: relative;
    display: grid;
    align-content: start;
    gap: 6px;
    width: 88px;
    min-height: 176px;
    padding: 18px 11px 20px;
    border: 1px solid rgba(0, 147, 172, .28);
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 10px 22px -16px rgba(6, 62, 74, .9);
    flex: none;
}

.cvx__phone-home {
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 30px;
    height: 3px;
    margin-left: -15px;
    border-radius: 2px;
    background: rgba(0, 147, 172, .22);
}

.cvx__phone-notch {
    position: absolute;
    top: 7px;
    left: 50%;
    width: 22px;
    height: 3px;
    margin-left: -11px;
    border-radius: 2px;
    background: rgba(0, 147, 172, .2);
}

.cvx__phone b {
    font-size: .6875rem;
    font-weight: 650;
    color: var(--hb-navy);
}

.cvx__phone i,
.cvx__web i {
    display: block;
    width: var(--w, 70%);
    height: 5px;
    border-radius: 3px;
    background: rgba(0, 147, 172, .16);
    animation: cvxin .5s var(--ease) both;
    animation-delay: calc(var(--i, 0) * 95ms);
}

.cvx__phone u {
    display: block;
    height: 16px;
    border-radius: 6px;
    background: rgba(0, 147, 172, .09);
    animation: cvxin .5s var(--ease) both;
    animation-delay: calc(var(--i, 0) * 95ms);
}

.cvx__web {
    display: grid;
    align-content: start;
    align-self: end;
    gap: 9px;
    flex: 1;
    max-width: 200px;
    min-height: 142px;
    padding: 10px 12px 14px;
    border: 1px solid rgba(0, 147, 172, .24);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 22px -16px rgba(6, 62, 74, .9);
}

.cvx__web-bar {
    display: block;
    height: 6px;
    width: 34px;
    border-radius: 3px;
    background: rgba(0, 147, 172, .2);
}

.cvx__web-body {
    display: grid;
    gap: 6px;
}

.cvx__web-body em {
    font-style: normal;
    font-size: .6875rem;
    font-weight: 650;
    color: var(--hb-navy);
    margin-bottom: 2px;
}

.cvx__bridge {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
}

.cvx__bridge em {
    font-style: normal;
    padding: 5px 11px;
    border: 1px solid rgba(0, 147, 172, .2);
    border-radius: 999px;
    background: rgba(240, 250, 253, .9);
    font-size: .72rem;
    font-weight: 620;
    color: var(--hb-blue-deep);
}

.cvx__bridge s {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--hb-cyan), var(--hb-blue));
    text-decoration: none;
}

.cvx__eco {
    display: grid;
    justify-items: center;
    width: 100%;
}

.cvx__hubcore--top {
    grid-area: auto;
    padding: 11px 18px;
}

.cvx__pipe--eco {
    height: 30px;
    margin-block: 0 4px;
}

.cvx__modules {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
}

.cvx__modules em {
    display: grid;
    place-items: center;
    padding: 12px 4px;
    border: 1px solid rgba(0, 147, 172, .2);
    border-radius: 11px;
    background: #fff;
    font-size: .75rem;
    font-weight: 620;
    color: var(--hb-navy);
    box-shadow: 0 8px 18px -16px rgba(6, 62, 74, .9);
}

.cvx__modules em:nth-child(3n + 2) {
    border-color: rgba(0, 172, 200, .3);
}

.cvx__modules em:nth-child(3n) {
    border-color: rgba(122, 92, 240, .26);
}

@media (prefers-reduced-motion: reduce) {
    .cvx__node,
    .cvx__core,
    .cvx__mod,
    .cvx__hubcore,
    .cvx__pill,
    .cvx__step,
    .cvx__dash,
    .cvx__phone,
    .cvx__web,
    .cvx__bridge,
    .cvx__result,
    .cvx__steps em,
    .cvx__srcs em,
    .cvx__kpis em,
    .cvx__checks em,
    .cvx__metrics em,
    .cvx__modules em,
    .cvx__phone i,
    .cvx__web i,
    .cvx__phone u,
    .cvx__bars i,
    .cvx__pipe::after,
    .cvx__rail::before,
    .cvx__wires path,
    .caps__panel.is-active .cvx__spark {
        animation: none !important;
        opacity: 1;
        transform: none;
        stroke-dashoffset: 0;
    }

    .cvx__spark {
        display: none;
    }
}

.demo__head {
    max-width: 46ch;
    margin-bottom: clamp(30px, 3.6vw, 48px);
}

.demo__title {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.3vw, 2.9rem);
    line-height: 1.08;
    letter-spacing: -.03em;
    color: #fff;
    margin-top: 16px;
    max-width: 22ch;
}

.demo__stage {
    display: grid;
    gap: clamp(22px, 3vw, 42px);
    align-items: start;
}

@media (min-width: 980px) {
    .demo__stage {
        grid-template-columns: .44fr .56fr;
    }
}

.demo__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.demo__label-tag {
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #8ea3b5;
}

.demo__label-tag--on {
    color: var(--accent);
}

.demo__label-count {
    font-family: var(--font-display);
    font-size: .8125rem;
    font-weight: 620;
    color: #6f8394;
}

.demo__manual {
    display: grid;
    gap: 6px;
}

.demo__manual li {
    display: grid;
    grid-template-columns: 26px 1fr;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .07);
    background: rgba(255, 255, 255, .02);
    color: #8ea3b5;
    font-size: .875rem;
}

.demo__manual li span {
    font-family: var(--font-display);
    font-size: .6875rem;
    font-weight: 700;
    color: #56697a;
}

.demo__flow {
    position: relative;
    display: grid;
    gap: 10px;
}

.demo__node {
    position: relative;
    display: grid;
    grid-template-columns: 42px 1fr 22px;
    align-items: center;
    gap: 14px;
    padding: 13px 15px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    opacity: .32;
    transform: translateY(8px);
    transition: opacity .55s var(--ease), transform .55s var(--ease), border-color .55s var(--ease), background-color .55s var(--ease);
}

.demo__node + .demo__node::before {
    content: "";
    position: absolute;
    left: 36px;
    top: -11px;
    width: 2px;
    height: 11px;
    background: rgba(255, 255, 255, .18);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .4s var(--ease);
}

.demo__node-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
    color: #9fb2c4;
    transition: all .5s var(--ease);
}

.demo__node-title {
    display: block;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 620;
    letter-spacing: -.02em;
    color: #fff;
}

.demo__node-text {
    display: block;
    font-size: .8125rem;
    color: #8ea3b5;
    margin-top: 2px;
}

.demo__node-check {
    display: grid;
    place-items: center;
    color: var(--accent);
    opacity: 0;
    transform: scale(.7);
    transition: opacity .4s var(--ease), transform .4s var(--ease);
}

.demo.is-playing .demo__node {
    opacity: 1;
    transform: none;
    border-color: rgba(255, 255, 255, .18);
    transition-delay: calc(var(--i) * 420ms);
}

.demo.is-playing .demo__node::before {
    transform: scaleY(1);
    transition-delay: calc(var(--i) * 420ms - 120ms);
}

.demo.is-playing .demo__node-icon {
    background: rgba(42, 156, 184, .18);
    color: #7fd2e5;
    transition-delay: calc(var(--i) * 420ms);
}

.demo.is-playing .demo__node-check {
    opacity: 1;
    transform: none;
    transition-delay: calc(var(--i) * 420ms + 260ms);
}

.demo__node--ai {
    border-color: rgba(42, 156, 184, .35);
    background: rgba(42, 156, 184, .09);
}

.demo.is-playing .demo__node--ai {
    border-color: rgba(42, 156, 184, .65);
    box-shadow: 0 0 0 4px rgba(42, 156, 184, .08);
}

.demo__parallel {
    grid-column: 2 / -1;
    display: grid;
    gap: 7px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed rgba(255, 255, 255, .14);
}

.demo__parallel-label {
    font-size: .625rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #7fd2e5;
}

.demo__parallel-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.demo__parallel-chips em {
    font-style: normal;
    padding: 5px 11px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .04);
    font-size: .75rem;
    color: #c9d6e2;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .35s var(--ease), transform .35s var(--ease);
}

.demo.is-playing .demo__parallel-chips em {
    opacity: 1;
    transform: none;
    transition-delay: calc(700ms + var(--j) * 140ms);
}

.demo__replay {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 16px;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .2);
    background: none;
    color: #c9d6e2;
    font-size: .8125rem;
    font-weight: 560;
    cursor: pointer;
    transition: all .22s var(--ease);
}

.demo__replay:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.demo__foot {
    display: grid;
    gap: 22px;
    align-items: center;
    margin-top: clamp(34px, 4vw, 56px);
    padding-top: clamp(28px, 3.4vw, 42px);
    border-top: 1px solid rgba(255, 255, 255, .12);
}

@media (min-width: 900px) {
    .demo__foot {
        grid-template-columns: 1.3fr .7fr;
        gap: 40px;
    }

    .demo__foot .btn {
        justify-self: end;
    }
}

.demo__closing {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2vw, 1.7rem);
    font-weight: 560;
    letter-spacing: -.025em;
    line-height: 1.32;
    color: #fff;
    max-width: 40ch;
}

.solutions2__head {
    display: grid;
    gap: 20px;
    margin-bottom: clamp(28px, 3.4vw, 44px);
}

@media (min-width: 900px) {
    .solutions2__head {
        grid-template-columns: 1.05fr .95fr;
        align-items: end;
        gap: 48px;
    }
}

.solutions2__head .tag {
    margin-top: 14px;
}

.switch {
    display: grid;
    gap: clamp(20px, 2.4vw, 30px);
}

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

.switch__tab {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 18px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: #fff;
    font-size: .9062rem;
    font-weight: 580;
    color: var(--text-muted);
    cursor: pointer;
    transition: all .22s var(--ease);
}

.switch__tab .icon {
    color: var(--brand);
    transition: color .22s var(--ease);
}

.switch__tab:hover {
    border-color: var(--brand);
    color: var(--text-strong);
}

.switch__tab[aria-selected="true"] {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.switch__tab[aria-selected="true"] .icon {
    color: var(--accent);
}

.switch__panel {
    display: none;
    gap: clamp(26px, 3.4vw, 48px);
    align-items: center;
    animation: panelIn .35s var(--ease);
}

.switch__panel.is-active {
    display: grid;
}

@media (min-width: 980px) {
    .switch__panel {
        grid-template-columns: .82fr 1.18fr;
    }
}

.switch__copy {
    display: grid;
    gap: 16px;
    justify-items: start;
}

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

.switch__name {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -.03em;
    color: var(--text-strong);
}

.switch__tagline {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--brand);
}

.switch__points {
    display: grid;
    gap: 10px;
}

.switch__points li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: .9375rem;
    color: var(--text-muted);
}

.switch__points .icon {
    color: var(--brand);
    flex: none;
    margin-top: 2px;
}

.solutions2__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: clamp(26px, 3vw, 40px);
    padding-top: clamp(22px, 2.6vw, 32px);
    border-top: 1px solid var(--border);
}

.solutions2__foot p {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -.02em;
    color: var(--text-strong);
}

.trust {
    padding-block: clamp(42px, 4.6vw, 72px);
}

.trust__intro {
    display: grid;
    gap: 12px;
    max-width: 760px;
}

.trust__lead {
    max-width: 100%;
}

.trust__title {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.4vw, 3rem);
    line-height: 1.06;
    letter-spacing: -.032em;
    color: var(--text-strong);
}

.trust__metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 10px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}

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

.trust__metric {
    display: grid;
    gap: 4px;
}

.trust__metric-value {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 3.6vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1;
    color: var(--text-strong);
}

.trust__metric-value.is-empty {
    color: var(--border-strong);
}

.trust__metric-label {
    font-size: .8125rem;
    color: var(--text-muted);
}

.trust__note {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: .8125rem;
    color: var(--text-muted);
}

.trust__photo {
    display: grid;
    gap: 16px;
}

.trust__photo-frame {
    display: grid;
    place-items: center;
    gap: 12px;
    aspect-ratio: 4 / 4.6;
    padding: 24px;
    border: 1.5px dashed var(--border-strong);
    border-radius: var(--radius-lg);
    background: var(--bg-soft);
    color: var(--text-muted);
    text-align: center;
}

.trust__photo-frame span {
    max-width: 24ch;
    font-size: .8125rem;
}

.trust__logos {
    display: grid;
    gap: 14px;
    margin-top: clamp(34px, 4vw, 54px);
    padding-top: clamp(26px, 3vw, 36px);
    border-top: 1px solid var(--border);
}

.trust__logos-title {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.trust__logos-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

@media (min-width: 760px) {
    .trust__logos-row {
        grid-template-columns: repeat(6, 1fr);
    }
}

.trust__logo {
    display: grid;
    place-items: center;
    height: 66px;
    border: 1.5px dashed var(--border-strong);
    border-radius: var(--radius);
    background: var(--bg-soft);
    color: var(--border-strong);
}

.trust__commitments {
    margin-top: clamp(20px, 2.4vw, 32px);
}

.trust__list {
    display: grid;
}

@media (min-width: 820px) {
    .trust__list {
        grid-template-columns: repeat(2, 1fr);
        column-gap: clamp(30px, 3.6vw, 52px);
    }
}

.trust__item {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    align-items: start;
    padding-block: 13px;
    border-bottom: 1px solid var(--border);
}

.trust__item:last-child {
    border-bottom: 0;
}

@media (min-width: 820px) {
    .trust__item:nth-last-child(-n+2) {
        border-bottom: 0;
    }
}

.trust__item-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--brand-soft);
    color: var(--brand);
}

.trust__item-body b {
    display: block;
    font-family: var(--font-display);
    font-size: .9375rem;
    font-weight: 620;
    letter-spacing: -.015em;
    color: var(--text-strong);
}

.trust__item-body em {
    display: block;
    font-style: normal;
    font-size: .84375rem;
    line-height: 1.45;
    color: var(--text-muted);
    margin-top: 2px;
}

.closing {
    position: relative;
    overflow: hidden;
}

.closing__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 76px 76px;
    -webkit-mask-image: radial-gradient(62% 60% at 50% 40%, #000 20%, transparent 100%);
    mask-image: radial-gradient(62% 60% at 50% 40%, #000 20%, transparent 100%);
}

.closing__inner {
    position: relative;
    display: grid;
    gap: 24px;
    justify-items: center;
    text-align: center;
}

.closing__title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.8vw, 4rem);
    line-height: 1.04;
    letter-spacing: -.04em;
    color: #fff;
    max-width: 18ch;
}

.closing__text {
    display: grid;
    gap: 10px;
    max-width: 60ch;
    color: #a9bccd;
    font-size: 1.0625rem;
}

.closing__actions {
    justify-content: center;
    margin-top: 6px;
}

.closing__concept {
    margin-top: 10px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--accent);
}

/* ==========================================================================
   Botón flotante de WhatsApp
   Comparte posición y aparición con el FAB del asesor; sólo se muestra uno
   de los dos, según site.flags.show_advisor.
   ========================================================================== */

.wa-fab {
    position: fixed;
    right: clamp(14px, 3vw, 30px);
    bottom: clamp(14px, 3vw, 30px);
    z-index: 90;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 9px 22px 9px 9px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .18);
    /* Verde de WhatsApp: es el único elemento del sitio que usa una marca
       ajena, y lo hace porque su reconocimiento es justo lo que lo vuelve
       útil. */
    background: linear-gradient(140deg, #34C85A, #128C46);
    color: #fff;
    font-family: var(--font-display);
    font-size: .9375rem;
    font-weight: 640;
    letter-spacing: -.01em;
    text-decoration: none;
    box-shadow: 0 18px 40px -16px rgba(11, 94, 49, .6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity .32s var(--ease), transform .32s var(--ease), visibility .32s, box-shadow .24s var(--ease);
}

.wa-fab.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.wa-fab:hover {
    box-shadow: 0 22px 46px -14px rgba(11, 94, 49, .72);
}

.wa-fab:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.wa-fab__mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
}

.wa-fab__mark .icon {
    width: 21px;
    height: 21px;
    stroke-width: 1.7;
}

@media (max-width: 620px) {
    .wa-fab {
        left: 14px;
        right: 14px;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wa-fab {
        transition: opacity .2s linear, visibility .2s;
        transform: none;
    }
}

.advisor-fab {
    position: fixed;
    right: clamp(14px, 3vw, 30px);
    bottom: clamp(14px, 3vw, 30px);
    z-index: 90;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 10px 20px 10px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: var(--ink);
    color: #fff;
    font-size: .9375rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 20px 44px -18px rgba(6, 33, 43, .65);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity .32s var(--ease), transform .32s var(--ease), visibility .32s, background-color .22s var(--ease);
}

.advisor-fab.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.advisor-fab:hover {
    background: #0d3242;
}

.advisor-fab__mark {
    position: relative;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(140deg, #2A9CB8, #16758D);
    color: #fff;
    flex: none;
}

.advisor-fab__pulse {
    position: absolute;
    left: 10px;
    top: 50%;
    width: 34px;
    height: 34px;
    margin-top: -17px;
    border-radius: 50%;
    border: 1px solid rgba(42, 156, 184, .7);
    animation: fabpulse 2.8s ease-out infinite;
    pointer-events: none;
}

@keyframes fabpulse {
    0% {
        transform: scale(1);
        opacity: .7;
    }

    100% {
        transform: scale(1.9);
        opacity: 0;
    }
}

@media (max-width: 620px) {
    .advisor-fab {
        left: 14px;
        right: 14px;
        justify-content: center;
    }
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 150;
    display: none;
    place-items: center;
    padding: clamp(0px, 2vh, 32px) clamp(0px, 2vw, 32px);
}

.modal.is-open {
    display: grid;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 18, 25, .62);
    backdrop-filter: blur(6px);
    animation: fadeIn .25s var(--ease);
}

.modal__dialog {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 40px 90px -30px rgba(4, 18, 25, .6);
    overflow: hidden;
    animation: modalIn .32s var(--ease);
}

.modal__dialog--xl {
    width: min(1180px, 86vw);
    height: min(86vh, 900px);
}

.modal__dialog--md {
    width: min(680px, 92vw);
    max-height: 88vh;
    overflow-y: auto;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(14px) scale(.985);
    }
}

.modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border);
    background: #fff;
    flex: none;
}

.modal__close {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: #fff;
    color: var(--text-muted);
    cursor: pointer;
    transition: all .2s var(--ease);
}

.modal__close:hover {
    border-color: var(--text-strong);
    color: var(--text-strong);
}

.modal__foot {
    flex: none;
    padding: 11px 20px;
    border-top: 1px solid var(--border);
    background: var(--bg-soft);
}

.modal__foot-note {
    display: inline-flex;
    align-items: flex-start;
    gap: 9px;
    font-size: .75rem;
    color: var(--text-muted);
}

.modal__foot-note .icon {
    color: var(--accent-text);
    flex: none;
}

.advisor__brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.advisor__mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(140deg, #2A9CB8, #0e4e60);
    color: #fff;
    flex: none;
}

.advisor__mark--calendar {
    background: linear-gradient(140deg, #F0800F, #c2600a);
}

.advisor__brand b {
    display: block;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--text-strong);
}

.advisor__status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-style: normal;
    font-size: .75rem;
    color: var(--text-muted);
}

.advisor__status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1f9d55;
}

.advisor {
    display: grid;
    flex: 1;
    min-height: 0;
}

@media (min-width: 900px) {
    .advisor {
        grid-template-columns: 1fr 300px;
    }
}

.advisor__main {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.advisor__thread {
    flex: 1;
    overflow-y: auto;
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 22px;
}

.msg {
    max-width: min(82%, 560px);
    padding: 13px 16px;
    border-radius: 16px;
    font-size: .9375rem;
    line-height: 1.55;
    display: grid;
    gap: 8px;
}

.msg--bot {
    justify-self: start;
    background: var(--brand-tint);
    border: 1px solid var(--border);
    border-bottom-left-radius: 5px;
    color: var(--text);
}

.msg--user {
    justify-self: end;
    background: var(--ink);
    color: #fff;
    border-bottom-right-radius: 5px;
}

.msg__muted {
    color: var(--text-muted);
    font-size: .875rem;
}

.advisor__quick {
    display: grid;
    gap: 10px;
    padding: 0 22px 14px;
}

.advisor__quick-title {
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.advisor__composer {
    flex: none;
    display: grid;
    gap: 10px;
    padding: 16px 22px 18px;
    border-top: 1px solid var(--border);
    background: #fff;
}

.advisor__composer textarea {
    width: 100%;
    min-height: 88px;
    padding: 13px 15px;
    border: 1px solid var(--border-strong);
    border-radius: 13px;
    font-family: inherit;
    font-size: .9688rem;
    color: var(--text);
    resize: vertical;
}

.advisor__composer textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(22, 117, 141, .14);
}

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

.advisor__attach {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 15px;
    border: 1px dashed var(--border-strong);
    border-radius: 999px;
    font-size: .875rem;
    font-weight: 540;
    color: var(--text-muted);
    cursor: pointer;
    transition: all .2s var(--ease);
}

.advisor__attach:hover {
    border-color: var(--brand);
    color: var(--brand);
}

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

.advisor__file {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px 6px 6px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-soft);
    font-size: .75rem;
    color: var(--text-muted);
    max-width: 200px;
}

.advisor__file img {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    object-fit: cover;
    flex: none;
}

.advisor__file span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.advisor__hint {
    font-size: .75rem;
    color: var(--text-muted);
}

.advisor__hint span {
    color: var(--accent-text);
}

.advisor__side {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    border-top: 1px solid var(--border);
    background: var(--bg-soft);
    overflow-y: auto;
}

@media (min-width: 900px) {
    .advisor__side {
        border-top: 0;
        border-left: 1px solid var(--border);
    }
}

.advisor__side-title {
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.advisor__actions {
    display: grid;
    gap: 8px;
}

.advisor__action {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    font-size: .9062rem;
    font-weight: 560;
    color: var(--text);
    text-align: left;
    cursor: pointer;
    transition: all .2s var(--ease);
}

.advisor__action .icon {
    color: var(--brand);
    flex: none;
}

.advisor__action:hover {
    border-color: var(--brand);
    transform: translateX(2px);
}

.advisor__action--primary {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.advisor__action--primary .icon {
    color: var(--accent);
}

.advisor__action.is-pending {
    cursor: default;
    opacity: .75;
    justify-content: space-between;
}

.advisor__action.is-pending em {
    font-style: normal;
    font-size: .625rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--accent-text);
}

.advisor__action.is-pending:hover {
    transform: none;
    border-color: var(--border);
}

.advisor__summary,
.advisor__recap {
    display: grid;
    gap: 9px;
    padding: 14px;
    border: 1px dashed var(--border-strong);
    border-radius: 14px;
    background: #fff;
}

.advisor__summary-title {
    font-family: var(--font-display);
    font-weight: 660;
    letter-spacing: -.015em;
    color: var(--text-strong);
}

.advisor__summary span,
.advisor__recap span {
    display: grid;
    gap: 2px;
    font-size: .8125rem;
}

.advisor__summary b,
.advisor__recap b {
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.advisor__summary em,
.advisor__recap em {
    font-style: normal;
    color: var(--text-strong);
}

.advisor__note {
    font-size: .8125rem;
    color: var(--text-muted);
    margin-top: auto;
}

.advisor__submit {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.advisor__form {
    display: grid;
    gap: 18px;
    max-width: 640px;
    margin-inline: auto;
}

.advisor__form-head {
    display: grid;
    gap: 12px;
}

.advisor__back .icon {
    transform: rotate(180deg);
}

@media (min-width: 900px) {
    .advisor__recap {
        grid-template-columns: repeat(3, 1fr);
    }
}

.call {
    display: grid;
    gap: 20px;
    padding: 22px;
}

.call__section {
    font-size: .8125rem;
    font-weight: 620;
    color: var(--text-strong);
}

.call__calendar {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 24px;
    border: 1.5px dashed var(--border-strong);
    border-radius: var(--radius-lg);
    background: var(--bg-soft);
    color: var(--text-muted);
    text-align: center;
    font-size: .875rem;
}

body.is-locked {
    overflow: hidden;
}

@media (max-width: 899px) {
    .modal {
        padding: 0;
    }

    .modal__dialog--xl {
        width: 100vw;
        height: 100dvh;
        max-height: none;
        border-radius: 0;
    }

    .advisor__side {
        order: 2;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        overflow-x: auto;
        padding: 12px 16px;
    }

    .advisor__side-title,
    .advisor__summary,
    .advisor__note {
        display: none;
    }

    .advisor__actions {
        display: flex;
        gap: 8px;
    }

    .advisor__action {
        white-space: nowrap;
    }

    .advisor__main {
        order: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .advisor-fab__pulse {
        animation: none !important;
    }
}


.on-dark .accent-word {
    background-image: none;
}

.trust__metric-value.is-empty {
    display: inline-grid;
    place-items: center;
    min-width: 92px;
    height: 54px;
    border: 1.5px dashed var(--border-strong);
    border-radius: 12px;
    font-size: 1.4rem;
    color: var(--border-strong);
}

@media (max-width: 899px) {
    .advisor__thread {
        padding: 16px;
    }

    .advisor__quick {
        padding: 0 16px 10px;
    }

    .advisor__quick .chip-row {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: thin;
    }

    .advisor__quick .chip {
        white-space: nowrap;
    }

    .advisor__composer {
        padding: 12px 16px 14px;
    }

    .advisor__composer textarea {
        min-height: 62px;
    }

    .advisor__hint {
        font-size: .6875rem;
    }

    .advisor__submit {
        padding: 18px 16px;
    }
}

.resgrid {
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 620px) {
    .resgrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 1fr;
    }
}

@media (min-width: 1080px) {
    .resgrid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px;
    }
}

.rescard {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px 22px 18px;
    border: 1px solid #D8E6EC;
    border-radius: 20px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 10px 26px -22px rgba(6, 62, 74, .75);
    font: inherit;
    text-align: left;
    color: inherit;
    cursor: pointer;
    transition: transform .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease);
}

.rescard:hover,
.rescard:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(0, 147, 172, .4);
    box-shadow: 0 22px 40px -28px rgba(6, 62, 74, .55), 0 0 0 4px rgba(0, 147, 172, .05);
}

.rescard__type {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    align-self: start;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--hb-soft);
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--hb-blue-deep);
}

.rescard__type .icon {
    color: var(--hb-blue);
    transition: transform .28s var(--ease);
}

.rescard:hover .rescard__type .icon {
    transform: translateY(-1px) scale(1.06);
}

.rescard__title {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 640;
    line-height: 1.3;
    letter-spacing: -.02em;
    color: var(--hb-navy);
}

.rescard__text {
    font-size: .8438rem;
    line-height: 1.6;
    color: #566578;
}

.rescard__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 147, 172, .16);
}

.rescard__cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .8125rem;
    font-weight: 620;
    color: var(--hb-blue);
}

.rescard__cta .icon {
    transition: transform .28s var(--ease);
}

.rescard:hover .rescard__cta .icon {
    transform: translateX(3px);
}

.rescard__read {
    font-size: .75rem;
    color: #8595a8;
    flex: none;
}

@media (min-width: 620px) {
    .rescard__title {
        min-height: 2.6em;
    }

    .rescard__text {
        min-height: 4.8em;
    }
}

.modal__dialog--read {
    width: min(900px, calc(100vw - 64px));
    max-height: 90vh;
    border-radius: 24px;
    border: 1px solid rgba(0, 147, 172, .2);
}

.rdoc__head {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 14px 20px 14px clamp(20px, 4vw, 44px);
    border-bottom: 1px solid rgba(0, 147, 172, .14);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.rdoc__kind {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--hb-blue-deep);
}

.rdoc__kind-icon {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: var(--hb-soft);
    color: var(--hb-blue);
}

.rdoc__kind-icon svg {
    width: 15px;
    height: 15px;
}

.rdoc {
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: clamp(24px, 3.4vw, 40px) clamp(20px, 4vw, 44px) clamp(28px, 3.4vw, 44px);
    outline: none;
}

.rdoc__kicker {
    margin: 0 0 10px;
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--hb-blue);
}

.rdoc__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.6vw, 2.05rem);
    line-height: 1.16;
    letter-spacing: -.032em;
    font-weight: 700;
    color: var(--hb-navy);
    max-width: 24ch;
}

.rdoc__meta {
    margin: 12px 0 0;
    font-size: .8125rem;
    color: #7d8ba0;
}

.rdoc__body {
    margin-top: clamp(22px, 2.6vw, 30px);
    font-size: .9688rem;
    line-height: 1.72;
    color: #3f4d63;
}

.rdoc__body p {
    margin: 0 0 14px;
    max-width: 68ch;
}

.rdoc__lede {
    font-size: 1.0625rem !important;
    line-height: 1.65;
    color: #2f3d52;
}

.rdoc__hint {
    font-size: .875rem !important;
    color: #7d8ba0;
}

.rdoc__rule {
    height: 1px;
    margin: clamp(22px, 2.6vw, 30px) 0;
    border: 0;
    background: rgba(0, 147, 172, .16);
}

.rdoc__sec {
    margin-bottom: clamp(24px, 2.8vw, 34px);
}

.rdoc__num {
    display: inline-block;
    margin-bottom: 6px;
    font-family: var(--font-display);
    font-size: .875rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--hb-blue);
}

.rdoc__body h3 {
    margin: 0 0 12px;
    font-family: var(--font-display);
    font-size: 1.1875rem;
    font-weight: 660;
    letter-spacing: -.022em;
    line-height: 1.3;
    color: var(--hb-navy);
}

.rdoc__body h4 {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: .9688rem;
    font-weight: 650;
    letter-spacing: -.015em;
    color: var(--hb-navy);
}

.rdoc__list,
.rdoc__ol,
.rdoc__checks {
    margin: 0 0 14px;
    padding-left: 0;
    list-style: none;
    display: grid;
    gap: 10px;
    max-width: 68ch;
}

.rdoc__list--tight {
    gap: 6px;
}

.rdoc__list li,
.rdoc__checks li {
    position: relative;
    padding-left: 22px;
}

.rdoc__list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: .62em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--hb-blue);
}

.rdoc__checks li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    color: #0FA36B;
}

.rdoc__ol {
    counter-reset: rdoc;
    gap: 18px;
}

.rdoc__ol li {
    position: relative;
    counter-increment: rdoc;
    padding-left: 38px;
}

.rdoc__ol li::before {
    content: counter(rdoc, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: .05em;
    font-family: var(--font-display);
    font-size: .8125rem;
    font-weight: 700;
    color: var(--hb-blue);
}

.rdoc__ol li > b {
    display: block;
    margin-bottom: 5px;
    font-weight: 640;
    color: var(--hb-navy);
}

.rdoc__ol li p {
    margin: 0;
    font-size: .9063rem;
    color: #566578;
}

.rdoc__body b {
    color: var(--hb-navy);
    font-weight: 640;
}

.rdoc__callout {
    margin: 0 0 clamp(22px, 2.6vw, 30px);
    padding: 20px 22px;
    border: 1px solid rgba(0, 147, 172, .22);
    border-left: 3px solid var(--hb-blue);
    border-radius: 6px 16px 16px 6px;
    background: rgba(240, 250, 253, .8);
}

.rdoc__callout > b {
    display: block;
    margin-bottom: 10px;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 650;
    letter-spacing: -.015em;
    color: var(--hb-navy);
}

.rdoc__callout p:last-child,
.rdoc__callout ul:last-child {
    margin-bottom: 0;
}

.rdoc__panel {
    margin: 0 0 12px;
    padding: 16px 18px;
    border: 1px solid rgba(0, 147, 172, .18);
    border-radius: 14px;
    background: #fff;
}

.rdoc__panel p:last-child,
.rdoc__panel ul:last-child {
    margin-bottom: 0;
}

.rdoc__table {
    width: 100%;
    margin: 0 0 16px;
    border-collapse: collapse;
    font-size: .875rem;
}

.rdoc__table th,
.rdoc__table td {
    padding: 10px 12px;
    border: 1px solid rgba(0, 147, 172, .16);
    text-align: left;
    vertical-align: top;
}

.rdoc__table th {
    background: rgba(0, 147, 172, .07);
    font-weight: 650;
    color: var(--hb-navy);
}

.rdoc__tpl {
    margin: 0 0 16px;
    border: 1px solid rgba(0, 147, 172, .22);
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
}

.rdoc__tpl-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(0, 147, 172, .14);
    background: rgba(240, 250, 253, .8);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--hb-blue-deep);
}

.btn--sm {
    padding: 8px 14px;
    font-size: .8125rem;
    text-transform: none;
    letter-spacing: 0;
}

.btn--soft-blue.is-copied {
    background: rgba(15, 163, 107, .1);
    border-color: rgba(15, 163, 107, .4);
    color: #0B6E4C;
}

.rdoc__tpl-list {
    counter-reset: tpl;
    margin: 0;
    padding: 8px 16px 16px;
    list-style: none;
    display: grid;
}

.rdoc__tpl-list li {
    counter-increment: tpl;
    position: relative;
    padding: 12px 0 12px 38px;
    border-bottom: 1px solid rgba(0, 147, 172, .1);
}

.rdoc__tpl-list li:last-child {
    border-bottom: 0;
}

.rdoc__tpl-list li::before {
    content: counter(tpl, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 13px;
    font-family: var(--font-display);
    font-size: .8125rem;
    font-weight: 700;
    color: #BFD6DE;
}

.rdoc__tpl-list b {
    display: block;
    font-weight: 640;
    color: var(--hb-navy);
}

.rdoc__tpl-list em {
    display: block;
    margin-top: 3px;
    font-style: normal;
    font-size: .8438rem;
    color: #7d8ba0;
}

.rdoc__example {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
}

.rdoc__ex-item {
    padding: 14px 16px;
    border: 1px solid rgba(0, 147, 172, .16);
    border-radius: 12px;
    background: rgba(250, 253, 255, .9);
}

.rdoc__ex-item b {
    display: block;
    margin-bottom: 4px;
    font-size: .8125rem;
    font-weight: 650;
    color: var(--hb-blue-deep);
}

.rdoc__ex-item p {
    margin: 0;
    font-size: .9063rem;
}

.rdoc__quiz {
    display: grid;
    gap: 14px;
    margin: 0 0 8px;
}

.rdoc__quiz-group {
    margin: 0;
    padding: 14px 16px;
    border: 1px solid rgba(0, 147, 172, .18);
    border-radius: 14px;
    background: #fff;
}

.rdoc__quiz-group legend {
    padding: 0 6px;
    margin-left: -6px;
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--hb-blue);
}

.rdoc__check {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 11px;
    padding: 8px 0;
    font-size: .9063rem;
    line-height: 1.55;
    cursor: pointer;
}

.rdoc__check + .rdoc__check {
    border-top: 1px solid rgba(0, 147, 172, .1);
}

.rdoc__check input {
    width: 18px;
    height: 18px;
    margin: 3px 0 0;
    accent-color: var(--hb-blue);
    cursor: pointer;
}

.rdoc__quiz-out {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 14px;
    padding: 16px 18px;
    border: 1px solid rgba(0, 147, 172, .24);
    border-radius: 14px;
    background: rgba(240, 250, 253, .85);
    font-size: .9375rem;
    color: #3f4d63;
    transition: background-color .3s var(--ease), border-color .3s var(--ease);
}

.rdoc__quiz-out b {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--hb-navy);
}

.rdoc__quiz-out.is-low {
    border-color: rgba(214, 138, 20, .4);
    background: rgba(255, 250, 240, .9);
}

.rdoc__quiz-out.is-mid {
    border-color: rgba(0, 147, 172, .4);
}

.rdoc__quiz-out.is-high {
    border-color: rgba(15, 163, 107, .4);
    background: rgba(240, 253, 247, .9);
}

.rdoc__close {
    font-size: 1rem !important;
    color: #2f3d52;
}

.rdoc__cta {
    display: grid;
    justify-items: start;
    gap: 10px;
    margin-top: clamp(26px, 3vw, 36px);
    padding: clamp(20px, 2.4vw, 28px);
    border: 1px solid rgba(0, 147, 172, .2);
    border-radius: 18px;
    background: linear-gradient(140deg, rgba(240, 250, 253, .95), rgba(247, 250, 255, .9));
}

.rdoc__cta-label {
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--hb-blue-deep);
}

.rdoc__cta p {
    margin: 0;
    font-size: .9375rem;
    line-height: 1.65;
    color: #4a5870;
    max-width: 62ch;
}

@media (max-width: 719px) {
    .modal__dialog--read {
        width: 100%;
        height: 100dvh;
        max-height: none;
        border-radius: 0;
        border: 0;
    }

    .rdoc__title {
        max-width: none;
    }

    .rdoc__table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .rdoc__tpl-head {
        flex-direction: column;
        align-items: stretch;
    }
}

.page-hero--bg {
    position: relative;
    overflow: hidden;
    background: #F7FAFF;
}

.page-hero--bg .page-hero__inner {
    position: relative;
}

.page-hero__bg {
    position: absolute;
    inset: 0;
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: 100% center;
    background-repeat: no-repeat;
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .12) 26%, rgba(0, 0, 0, .6) 48%, #000 72%);
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .12) 26%, rgba(0, 0, 0, .6) 48%, #000 72%);
}

.page-hero--bg .page-hero__copy {
    max-width: 52%;
}

@media (max-width: 1099px) {
    .page-hero--bg .page-hero__copy {
        max-width: 62%;
    }
}

@media (max-width: 859px) {
    .page-hero__bg {
        background-position: 72% center;
        opacity: .55;
        -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, .1) 55%, rgba(0, 0, 0, 0) 100%);
        mask-image: linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, .1) 55%, rgba(0, 0, 0, 0) 100%);
    }

    .page-hero--bg .page-hero__copy {
        max-width: none;
    }
}

.page-hero--bg .eyebrow {
    color: var(--hb-blue-deep);
}

.page-hero--bg .eyebrow::before {
    background: linear-gradient(135deg, var(--hb-cyan), var(--hb-electric));
}

.page-hero--bg .btn--accent {
    background: none;
    background-image: linear-gradient(100deg, #04586B, #067F95 52%, #00A2BC);
    color: #fff;
    box-shadow: 0 10px 22px -13px rgba(5, 99, 117, .85);
}

.page-hero--bg .btn--accent:hover {
    background-image: linear-gradient(100deg, #04586B, #067F95 52%, #00A2BC);
    box-shadow: 0 15px 28px -13px rgba(5, 99, 117, .9);
}

.page-hero--bg .btn--outline {
    border-color: var(--hb-line-strong);
    background: rgba(255, 255, 255, .8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--hb-navy);
}

.page-hero--bg .btn--outline:hover {
    border-color: var(--hb-blue);
    background: #fff;
    color: var(--hb-blue-deep);
}

/* ==========================================================================
   Simplificación comercial — principio de marca y cierre
   Bloque añadido al final: no modifica reglas anteriores.
   ========================================================================== */

.trust__principle {
    margin: 0;
    padding: 22px 24px;
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    background: var(--brand-tint);
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 560;
    line-height: 1.45;
    letter-spacing: -.015em;
    color: var(--text-strong);
}

.closing__call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 6px 4px;
    border: 0;
    background: none;
    font-family: inherit;
    font-size: .9375rem;
    font-weight: 600;
    color: #7fd2e5;
    cursor: pointer;
}

.closing__call:hover {
    color: #fff;
}
