.b2b-page {
    margin: 0;
    color: #1c2833;
    background: #fff;
    font-family: Poppins, sans-serif;
    line-height: 1.55;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.b2b-page main {
    flex: 1 0 auto;
    width: 100%;
}

.b2b-page #header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 1px 0 rgba(16, 36, 51, 0.08);
}

.b2b-page #header .header-body {
    border-top-width: 0;
    border-bottom: 1px solid #e5eef4;
}

.b2b-header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.b2b-header-phone {
    color: #2a3288;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.b2b-header-phone:hover {
    color: #0079c2;
}

.b2b-page .btn-primary {
    background-color: #0079c2;
    border-color: #0079c2;
    color: #fff;
}

.b2b-page .btn-primary:hover,
.b2b-page .btn-primary:focus {
    background-color: #0553a0;
    border-color: #0553a0;
    color: #fff;
}

.b2b-btn-outline,
.b2b-page .b2b-btn-wa {
    background: #fff;
    color: #0079c2;
    border: 2px solid #0079c2;
    font-weight: 700;
}

.b2b-page .b2b-btn-wa {
    background: #0f7a4a;
    border-color: #0f7a4a;
    color: #fff;
}

.b2b-page .b2b-btn-wa:hover,
.b2b-page .b2b-btn-wa:focus {
    background: #0c623b;
    border-color: #0c623b;
    color: #fff;
}

.b2b-hero,
.b2b-thanks {
    padding: 1.5rem 0 1.25rem;
}

.b2b-hero-grid,
.b2b-split,
.b2b-benefits,
.b2b-footer-grid {
    display: grid;
    gap: 1.5rem;
}

.b2b-kicker {
    margin: 0 0 0.75rem;
    color: #0079c2;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.b2b-page h1,
.b2b-page h2,
.b2b-page h3 {
    letter-spacing: 0;
    font-weight: 700;
}

.b2b-page h1 {
    margin: 0 0 1rem;
    color: #2a3288;
    font-size: clamp(1.7rem, 4.4vw, 2.55rem);
    line-height: 1.2;
}

.b2b-lead {
    font-size: 1.05rem;
    color: #334155;
    margin-bottom: 1.25rem;
}

.b2b-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.b2b-actions .btn {
    padding: 0.8rem 1.15rem;
    font-size: 1rem;
}

.b2b-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.b2b-pills li {
    background: #e8f3fa;
    color: #2a3288;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.92rem;
    font-weight: 600;
}

.b2b-hero img,
.b2b-hero-fallback {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.b2b-hero-fallback {
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: linear-gradient(160deg, #0079c2, #2a3288);
    color: #fff;
}

.b2b-hero-fallback p {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
}

.b2b-page .counters label {
    opacity: 1;
    color: #f3f8fb;
}

.b2b-section h2,
.b2b-final h2,
.b2b-form-wrap h2 {
    color: #2a3288;
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.b2b-alt {
    background: #f4f7f9;
}

.b2b-steps,
.b2b-roles,
.b2b-benefits,
.b2b-pillars {
    display: grid;
    gap: 1rem;
}

.b2b-step,
.b2b-role,
.b2b-benefit,
.b2b-pillar {
    background: #fff;
    border: 1px solid #d5dee6;
    border-radius: 12px;
    padding: 1rem 1rem 1.1rem;
    height: 100%;
}

.b2b-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: #0079c2;
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.b2b-step h2,
.b2b-role h2,
.b2b-benefit h2,
.b2b-pillar h2 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2a3288;
    margin-bottom: 0.4rem;
}

.b2b-table-wrap {
    overflow-x: auto;
}

.b2b-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.b2b-table th,
.b2b-table td {
    text-align: left;
    padding: 0.85rem 0.9rem;
    border-bottom: 1px solid #d5dee6;
}

.b2b-table th {
    background: #2a3288;
    color: #fff;
}

.b2b-note,
.b2b-form-intro {
    color: #3d4c5c;
    margin-top: 0.75rem;
}

.b2b-checks {
    list-style: none;
    padding: 0;
    margin: 0;
}

.b2b-checks li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.7rem;
}

.b2b-checks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35rem;
    width: 0.85rem;
    height: 0.45rem;
    border-left: 3px solid #0f7a4a;
    border-bottom: 3px solid #0f7a4a;
    transform: rotate(-45deg);
}

.b2b-faq details {
    border-bottom: 1px solid #d5dee6;
    padding: 0.85rem 0;
}

.b2b-faq summary {
    cursor: pointer;
    font-weight: 700;
    color: #2a3288;
}

.b2b-faq details p {
    margin: 0.6rem 0 0;
}

.b2b-form-wrap {
    background: #fff;
    border: 1px solid #d5dee6;
    border-radius: 16px;
    padding: 1.25rem;
}

.b2b-form label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.b2b-form .form-control {
    width: 100%;
    font-size: 16px;
    min-height: 46px;
    border: 1px solid #64748b;
    border-radius: 8px;
    margin-bottom: 0.85rem;
}

.b2b-form textarea.form-control {
    min-height: 120px;
}

.b2b-check {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    font-weight: 400;
    margin: 0.4rem 0 1rem;
}

.b2b-check input {
    margin-top: 0.25rem;
    width: 1.1rem;
    height: 1.1rem;
}

.b2b-error {
    color: #9b1c1c;
    font-size: 0.92rem;
    margin: -0.5rem 0 0.75rem;
}

.b2b-alert {
    background: #fde8e8;
    color: #7f1d1d;
    border-radius: 8px;
    padding: 0.75rem 0.9rem;
    margin-bottom: 1rem;
}

.b2b-form > .b2b-hp {
    display: none !important;
}

.b2b-final {
    background: #0079c2;
    color: #fff;
    padding: 2.5rem 0;
}

.b2b-final h2,
.b2b-final p {
    color: #fff;
}

.b2b-page #footer.b2b-footer {
    background: #2a3288;
    color: #d5dee6;
    border-top: 4px solid #0079c2;
    padding: 2.4rem 0 4.75rem;
    margin: auto 0 0;
    font-size: 0.98rem;
    clear: both;
}

.b2b-page #footer.b2b-footer p {
    margin: 0 0 0.4rem;
    color: #d5dee6;
    line-height: 1.45;
}

.b2b-page #footer.b2b-footer a:not(.btn) {
    color: #fff;
    text-decoration: none;
}

.b2b-page #footer.b2b-footer a:not(.btn):hover,
.b2b-page #footer.b2b-footer a:not(.btn):focus {
    color: #8fd0f0;
    text-decoration: none;
}

.b2b-footer-kicker {
    color: #8fd0f0 !important;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.7rem !important;
}

.b2b-footer-brand {
    color: #fff !important;
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 0.45rem !important;
}

.b2b-footer-muted {
    color: #b7c6d1 !important;
    max-width: 28rem;
}

.b2b-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.85rem !important;
}

.b2b-footer-social a {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    padding: 0.32rem 0.8rem;
    font-weight: 700;
    font-size: 0.88rem;
}

.b2b-footer-social a:hover,
.b2b-footer-social a:focus {
    border-color: #8fd0f0;
    background: rgba(255, 255, 255, 0.06);
}

.b2b-patient-link {
    margin-top: 0.35rem;
}

.b2b-copy {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    margin: 1.4rem 0 0 !important;
    padding-top: 0.9rem;
    color: #9aafbf !important;
    font-size: 0.88rem;
}

.b2b-wa {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 30;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #0f7a4a;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 999px;
    padding: 0.75rem 1rem;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.b2b-wa:hover,
.b2b-wa:focus {
    background: #0c623b;
    color: #fff !important;
}

.b2b-page a:focus-visible,
.b2b-page button:focus-visible,
.b2b-page input:focus-visible,
.b2b-page select:focus-visible,
.b2b-page textarea:focus-visible {
    outline: 2px solid #0079c2;
    outline-offset: 2px;
}

.b2b-page summary:focus,
.b2b-page summary:focus-visible {
    outline: none;
}

.b2b-thanks {
    display: flex;
    align-items: center;
    padding: 3rem 0;
}

.b2b-thanks .container {
    max-width: 760px;
}

.b2b-thanks h1 {
    font-size: clamp(1.7rem, 3.5vw, 2.5rem);
    line-height: 1.25;
}

.b2b-page .body,
.b2b-page main {
    scroll-margin-top: 90px;
}

#propuesta,
#plataforma {
    scroll-margin-top: 90px;
}

@media (min-width: 768px) {
    .b2b-steps,
    .b2b-roles,
    .b2b-benefits,
    .b2b-footer-grid,
    .b2b-split {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 992px) {
    .b2b-hero,
    .b2b-thanks {
        padding: 2.25rem 0 1.5rem;
    }

    .b2b-hero-grid {
        grid-template-columns: 1.15fr 0.85fr;
        align-items: center;
    }

    .b2b-steps {
        grid-template-columns: repeat(4, 1fr);
    }

    .b2b-benefits,
    .b2b-footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .b2b-roles {
        grid-template-columns: repeat(5, 1fr);
    }

    .b2b-pillars {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 767px) {
    .b2b-header-actions {
        width: 100%;
        justify-content: space-between;
        margin-top: 0.35rem;
    }

    .b2b-page .header-container .header-row {
        flex-wrap: wrap;
    }

    .b2b-cta-header,
    .b2b-actions .btn {
        width: 100%;
        text-align: center;
    }

    .b2b-page #footer.b2b-footer {
        padding-bottom: 5.5rem;
    }
}

.b2b-page #header .header-nav-main nav > ul > li > a {
    font-family: Poppins, sans-serif;
    font-weight: 700;
    letter-spacing: 0.01em;
    font-size: 12.5px;
}

.b2b-cta-header {
    margin-left: 0.85rem;
    align-self: center;
    white-space: nowrap;
}

.b2b-banners {
    display: grid;
    gap: 1rem;
    margin-top: 0.25rem;
}

.b2b-banner {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    padding: 1.25rem 1.3rem 1.15rem;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.22), transparent 42%),
        linear-gradient(135deg, #0099e6 0%, #0079c2 55%, #0553a0 100%);
    color: #fff;
    box-shadow: 0 12px 30px rgba(0, 102, 153, 0.22);
}

.b2b-banner p,
.b2b-banner-title {
    color: #fff;
}

.b2b-banner-tag {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 0.55rem;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.b2b-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #b6f3c0;
    box-shadow: 0 0 0 4px rgba(182, 243, 192, 0.25);
}

.b2b-banner-title {
    margin: 0 0 0.45rem;
    font-size: clamp(1.45rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.15;
}

.b2b-banner-title span {
    color: #d7f3ff;
}

.b2b-banner > p:last-of-type {
    margin: 0 0 0.9rem;
    max-width: 34rem;
}

.b2b-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.b2b-chips li {
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 999px;
    padding: 0.28rem 0.75rem;
    font-size: 0.92rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.08);
}

.b2b-banner-photo {
    display: none;
}

.b2b-zones {
    border-top: 1px solid #e6e6e6;
}

.b2b-zone {
    border-bottom: 1px solid #e6e6e6;
    background: #fff;
}

.b2b-zone:not([open]) > .b2b-zone-body {
    display: none !important;
}

.b2b-zone > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 56px;
    padding: 0.85rem 1rem;
    cursor: pointer;
    font-family: Poppins, sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #2a3288;
    background: #fff;
    border: 0;
    list-style: none;
}

.b2b-zone > summary::-webkit-details-marker {
    display: none;
}

.b2b-zone > summary::after {
    content: "+";
    flex: 0 0 auto;
    color: #0079c2;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1;
}

.b2b-zone[open] > summary::after {
    content: "–";
}

.b2b-zone > summary span {
    display: inline;
    color: #2a3288;
}

.b2b-zone[open] > summary,
.b2b-zone-form[open] > summary {
    color: #2a3288;
    background: #fff;
}

.b2b-zone-body {
    padding: 1.35rem 0 1.5rem;
}

.b2b-zone-body .section,
.b2b-zone-body section.section,
.b2b-zone-body section.section-primary {
    margin: 0 !important;
    border: 0 !important;
}

.b2b-form {
    display: grid;
    gap: 0 1rem;
}

.b2b-form > div > label {
    display: block;
}

@media (min-width: 768px) {
    .b2b-banners {
        grid-template-columns: 1fr 1fr;
    }

    .b2b-form {
        grid-template-columns: 1fr 1fr;
    }

    .b2b-span,
    .b2b-form > button,
    .b2b-form > .b2b-check {
        grid-column: 1 / -1;
    }
}

@media (min-width: 992px) {
    .b2b-zone > summary {
        padding-left: max(1rem, calc((100% - 1140px) / 2));
        padding-right: max(1rem, calc((100% - 1140px) / 2));
    }
}

/* ---- Home: servicios incluidos (carrusel bajo "Más de N instituciones ya están...") ---- */
.ir-servicios .owl-item {
    padding: 0 .5rem;
}

.ir-servicio {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .15rem;
    height: 100%;
    padding: 1.25rem .75rem;
    background: #fff;
    border: 1px solid #EDEDED;
    border-radius: 12px;
    color: #464343;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.ir-servicio:hover {
    transform: translateY(-4px);
    border-color: #0079C2;
    box-shadow: 0 10px 24px rgba(42, 50, 136, .12);
}

.ir-servicio__icono {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: .5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #2A3288, #0079C2);
    color: #fff;
    font-size: 1.25rem;
}

.ir-servicio strong {
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.2;
    color: #000;
}

.ir-servicio small {
    font-size: .78rem;
    line-height: 1.3;
    color: #464343;
}

/* ---- Home: tarjetas de caracteristicas ----
   El CTA que las precede trae margin-bottom: -50px; se compensa para que el aire de arriba
   (3rem) sea igual al de abajo. */
.call-to-action + .feature-cards {
    margin-top: calc(3rem + 50px);
}

/* ---- Cifras: separa el icono del texto ---- */
.counters .counter [class*="fa-"],
.counters .counter .icons {
    margin-top: .85rem;
}

/* ---- Slider principal: radiografia contra un negatoscopio ----
   El template tapaba la imagen con #212529 al 90 % y quedaba gris. Ahora la placa se ve oscura, con
   desvanecido a negro hacia los bordes (como una placa sobre un tablero luminoso de lectura) y un
   velo suave al centro para que el texto siga legible. */
.rev_slider li.slide-overlay .slotholder:after {
    opacity: 1;
    background:
        radial-gradient(ellipse 75% 85% at 50% 50%, rgba(0, 0, 0, .30) 0%, rgba(0, 0, 0, .50) 45%, rgba(0, 0, 0, .86) 82%, #000 100%),
        linear-gradient(to right, #000 0%, rgba(0, 0, 0, 0) 14%, rgba(0, 0, 0, 0) 86%, #000 100%);
}

.rev_slider_wrapper {
    background: #000;
}

/* ---- Tipografia: Poppins en todo (el template usaba una letra manuscrita en .highlighted-word) ---- */
.highlighted-word,
.alternative-font,
.alternative-font-3 {
    font-family: "Poppins", sans-serif !important;
}

/* ---- Home: "Nuestro Ciclo" (diagrama animado de las propuestas, en claro y con Poppins) ---- */
.ciclo-landing {
    --c-agenda: #2A3288;
    --c-api: #6C86D6;
    --c-worklist: #0079C2;
    --c-img: #0553A0;
    --c-pacs: #464343;
    --c-rep: #1B2A7A;
    --node: #fff;
    --node-stroke: #D3DAE8;
    --line: #C3CCDD;
    --fg: #000;
    --muted: #464343;
    background: #fff;
    padding: 4rem 0 3rem;
}

.ciclo-landing__pista {
    margin: 0 0 .5rem;
    font-size: .8rem;
    color: #464343;
    text-align: center;
}

.ciclo-landing__escenario {
    padding: 14px;
    overflow-x: auto;
    background: linear-gradient(180deg, #fff 0%, #F6F8FC 100%);
    border: 1px solid #EDEDED;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(42, 50, 136, .08);
}

.ciclo-landing svg {
    display: block;
    width: 100%;
    min-width: 900px;
    height: auto;
    font-family: "Poppins", sans-serif;
}

.ciclo-landing .lbl { font-size: 11px; fill: var(--muted); }
.ciclo-landing .ttl { font: 600 11.5px "Poppins", sans-serif; fill: #000; }
.ciclo-landing .small { font-size: 10px; fill: var(--muted); }
.ciclo-landing .node { fill: var(--node); stroke: var(--node-stroke); stroke-width: 1.5; }
.ciclo-landing .pill { fill: #E4EAF7; }
.ciclo-landing .pilltxt { font: 600 10px "Poppins", sans-serif; fill: #2A3288; }

.ciclo-landing .flow .line {
    fill: none;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-dasharray: 10 8;
    stroke-opacity: .55;
    animation: ciclo-dash 1.2s linear infinite;
}

.ciclo-landing .flow .glow {
    fill: none;
    stroke: currentColor;
    stroke-width: 10;
    stroke-linecap: round;
    opacity: .1;
}

.ciclo-landing .pkt g {
    transform-box: view-box;
    transform-origin: 0 0;
    transform: scale(1.3);
}

.ciclo-landing .ring {
    transform-box: fill-box;
    transform-origin: center;
    animation: ciclo-spin 6s linear infinite;
}

@keyframes ciclo-dash { to { stroke-dashoffset: -36; } }
@keyframes ciclo-spin { to { transform: rotate(360deg); } }

/* El movimiento de las conexiones indica el sentido de la informacion: no se apaga con prefers-reduced-motion
   (solo el giro decorativo del equipo de TC). */
@media (prefers-reduced-motion: reduce) {
    .ciclo-landing .ring { animation: none; }
}
