﻿:root {
    --bs-primary: #518840;
    --bs-secondary: #1A4275;
    --bs-secondary-2: #1F5595;
    --bs-accent: #F2811D;
}

/* =========================================
   BASE / UTILIDADES
========================================= */
.color-primary {
    color: var(--bs-primary);
}

.color-primary-2 {
    color: var(--bs-secondary);
}

h3 {
    color: var(--bs-secondary);
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    color: #1f2937;
}

.image-placeholder,
.hero-background,
.platform-image,
.sector-image,
.blog-image,
.icon-placeholder {
    background: #e5e7eb;
    border: 1px solid #d1d5db;
    border-radius: 8px;
}

/* Botón naranja de acento (Solicitar propuesta / Recibir diagnóstico) */
.btn-warning {
    --bs-btn-bg: var(--bs-accent);
    --bs-btn-border-color: var(--bs-accent);
    --bs-btn-color: #fff;
    --bs-btn-hover-bg: #d96f13;
    --bs-btn-hover-border-color: #d96f13;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: #d96f13;
    --bs-btn-active-border-color: #d96f13;
    --bs-btn-focus-shadow-rgb: 242, 129, 29;
    font-weight: 600;
}

.btn-primary {
    --bs-btn-bg: var(--bs-secondary);
    --bs-btn-border-color: var(--bs-secondary);
    --bs-btn-hover-bg: #123258;
    --bs-btn-hover-border-color: #123258;
    font-weight: 600;
}

.btn-success {
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-bg: #426d32;
    --bs-btn-hover-border-color: #426d32;
    font-weight: 600;
}

.btn-outline-light {
    font-weight: 600;
}

.section-title h2 {
    font-weight: 700;
}

.section-title p {
    color: #6b7280;
}

/* =========================================
   HEADER
========================================= */
.header {
    z-index: 1040;
}

.navbar-brand img {
    height: 42px;
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: #1f2937;
    padding: 0.5rem 1rem !important;
}

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: var(--bs-secondary);
    }

.navbar-nav .dropdown-menu {
    border: none;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    padding: 0.5rem;
}

    .navbar-nav .dropdown-menu li a {
        border-radius: 6px;
        font-weight: 500;
        padding: 0.5rem 0.75rem;
    }

        .navbar-nav .dropdown-menu li a:hover {
            background: #f3f4f6;
            color: var(--bs-secondary);
        }

/* =========================================
   HERO
========================================= */
.hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 140px;
    padding-bottom: 70px;
    color: #fff;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url(../img/home/portada1.jpg);
    background-size: cover;
    background-position: center;
    border-radius: 0;
    border: none;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(8, 27, 54, 0.94) 0%, rgba(8, 27, 54, 0.8) 42%, rgba(8, 27, 54, 0.35) 100%);
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-weight: 700;
    font-size: 2.6rem;
    line-height: 1.2;
}

    .hero-section h1 span {
        display: block;
        color: var(--bs-primary);
    }

.hero-section > .container > .row > .col-lg-7 > p {
    color: #e2e8f0;
    max-width: 520px;
    margin-top: 1rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.75rem 0 2rem;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 2rem;
    font-size: 0.9rem;
    color: #e2e8f0;
}

/* Tarjeta de diagnóstico */
.diagnostic-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    color: #1f2937;
}

    .diagnostic-card h3 {
        margin-bottom: 0.1rem;
        font-size: 1.4rem;
    }

        .diagnostic-card h3 span {
            display: block;
            color: var(--bs-primary);
        }

    .diagnostic-card > p {
        color: #6b7280;
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }

    .diagnostic-card .form-field {
        position: relative;
        margin-bottom: 0.85rem;
    }

        .diagnostic-card .form-field i {
            position: absolute;
            left: 0.9rem;
            top: 50%;
            transform: translateY(-50%);
            color: #9ca3af;
            font-size: 0.9rem;
        }

        .diagnostic-card .form-field .form-control,
        .diagnostic-card .form-field .form-select {
            padding-left: 2.4rem;
        }

    .diagnostic-card .disclaimer {
        text-align: center;
        font-size: 0.78rem;
        color: #9ca3af;
        margin: 0.75rem 0 0;
    }

/* Botones flotantes laterales */
.floating-actions {
    position: fixed;
    right: 14px;
    top: 45%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 3px;
    z-index: 1050;
}

    .floating-actions .action {
        width: 78px;
        height: 78px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.3rem;
        color: #fff;
        text-decoration: none;
        font-size: 0.72rem;
        font-weight: 600;
        border-radius: 12px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
    }

        .floating-actions .action i {
            font-size: 1.3rem;
        }

    .floating-actions .whatsapp {
        background: rgba(37, 211, 102, 0.92);
    }

    .floating-actions .phone {
        background: rgba(45, 108, 178, 0.92);
    }

    .floating-actions .calendar {
        background: rgba(18, 48, 90, 0.92);
    }

    .floating-actions .action:hover {
        filter: brightness(1.08);
        color: #fff;
    }

/* =========================================
   SERVICIOS
========================================= */
.service-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    height: 100%;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

    .service-card:hover {
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
        transform: translateY(-4px);
    }

    .service-card i {
        font-size: 2.1rem;
        margin-bottom: 0.8rem;
        display: inline-block;
    }

    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .service-card p {
        color: #6b7280;
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .service-card a {
        color: var(--bs-secondary);
        font-weight: 600;
        font-size: 0.88rem;
        text-decoration: none;
    }

        .service-card a:hover {
            text-decoration: underline;
        }

/* =========================================
   INDICADORES
========================================= */
.stats-section {
    background: var(--bs-secondary);
    padding: 2.5rem 0;
}

.stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.stat-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    flex-shrink: 0;
}

.stat-item h3 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 0;
}

.stat-item p {
    color: #cbd5e1;
    font-size: 0.82rem;
    margin-bottom: 0;
}

/* =========================================
   PLATAFORMA
========================================= */
.platform-section .eyebrow {
    color: var(--bs-primary);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.platform-section h2 {
    font-weight: 700;
    margin-bottom: 1rem;
}

    .platform-section h2 span {
        display: block;
        color: var(--bs-secondary-2);
    }

.platform-section > .container > .row > .col-lg-4 > p {
    color: #6b7280;
}

.platform-checklist {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

    .platform-checklist li {
        position: relative;
        padding-left: 1.9rem;
        margin-bottom: 0.65rem;
        font-size: 0.92rem;
    }

        .platform-checklist li::before {
            content: "\2713";
            position: absolute;
            left: 0;
            top: 0.05rem;
            width: 1.3rem;
            height: 1.3rem;
            line-height: 1.3rem;
            text-align: center;
            background: var(--bs-primary);
            color: #fff;
            border-radius: 50%;
            font-size: 0.7rem;
        }

.platform-image {
    height: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    gap: 0.5rem;
}

    .platform-image i {
        font-size: 3rem;
    }

/* =========================================
   SECTORES
========================================= */
.sector-card {
    position: relative;
    text-align: center;
}

.sector-image {
    height: 150px;
    width: 100%;
    display: block;
    object-fit: cover;
    margin-bottom: 28px;
}

.sector-card .sector-icon {
    position: absolute;
    left: 50%;
    top: 150px;
    transform: translate(-50%, -50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-secondary);
    font-size: 1rem;
}

.sector-card span {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: #1f2937;
}

/* =========================================
   TESTIMONIOS
========================================= */
.testimonials-section {
    background: #f8fafc;
}

.testimonials-nav {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

    .testimonials-nav button {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: 1px solid #d1d5db;
        background: #fff;
        color: #374151;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .testimonials-nav button:hover {
            background: #f3f4f6;
        }

.testimonial-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
}

    .testimonial-card .logo-row {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        margin-bottom: 0.9rem;
    }

    .testimonial-card .logo-placeholder {
        width: 34px;
        height: 34px;
        border-radius: 6px;
        background: #eef2f7;
        color: #9ca3af;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.8rem;
        flex-shrink: 0;
    }

    .testimonial-card .company-name {
        font-size: 0.68rem;
        text-transform: uppercase;
        color: #6b7280;
        font-weight: 700;
        letter-spacing: 0.03em;
        margin-bottom: 0;
    }

    .testimonial-card .stars {
        color: #f59e0b;
        font-size: 0.78rem;
        margin-bottom: 0.7rem;
    }

    .testimonial-card .quote {
        font-size: 0.9rem;
        color: #374151;
        margin-bottom: 1.1rem;
    }

    .testimonial-card .author {
        font-weight: 700;
        font-size: 0.9rem;
        color: #1f2937;
        margin-bottom: 0;
    }

    .testimonial-card .role {
        font-size: 0.8rem;
        color: #6b7280;
    }

/* =========================================
   BLOG
========================================= */
.blog-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
}

.blog-image-wrap {
    position: relative;
}

.blog-image {
    height: 190px;
    border-radius: 0;
    border: none;
}

.blog-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--bs-secondary);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.28rem 0.65rem;
    border-radius: 20px;
}

.blog-date {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.92);
    color: #374151;
    font-size: 0.68rem;
    padding: 0.28rem 0.6rem;
    border-radius: 20px;
}

.blog-body {
    padding: 1.1rem;
}

.blog-card h3 {
    font-size: 0.98rem;
    line-height: 1.35;
    margin-bottom: 0.75rem;
}

.blog-card a.read-more {
    color: var(--bs-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
}

    .blog-card a.read-more:hover {
        text-decoration: underline;
    }

/* =========================================
   CTA
========================================= */
.cta-section {
    background: #f8fafc;
    padding: 3rem 0;
}

.cta-box {
    background: linear-gradient(120deg, var(--bs-secondary) 0%, var(--bs-primary) 100%);
    border-radius: 20px;
    padding: 2.5rem 3rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

    .cta-box h2 {
        color: #fff;
        font-weight: 700;
        font-size: 1.6rem;
        max-width: 560px;
        margin-bottom: 0.4rem;
    }

    .cta-box p {
        color: #e2e8f0;
        margin-bottom: 0;
        max-width: 560px;
    }

.cta-actions {
    text-align: right;
}

    .cta-actions a.btn {
        margin-bottom: 0.5rem;
    }

    .cta-actions .agendar-link {
        display: block;
        color: #fff;
        text-decoration: underline;
        font-size: 0.85rem;
    }

/* =========================================
   FOOTER
========================================= */
.footer {
    background: #0b2542;
    color: #cbd5e1;
    padding: 3.5rem 0 0;
    font-size: 0.9rem;
}

    .footer .footer-title {
        color: #fff;
        font-weight: 700;
        font-size: 0.95rem;
        margin-bottom: 1.1rem;
    }

    .footer p {
        color: #94a3b8;
    }

    .footer ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .footer ul li {
            margin-bottom: 0.55rem;
        }

            .footer ul li a {
                color: #cbd5e1;
                text-decoration: none;
            }

                .footer ul li a:hover {
                    color: #fff;
                }

    .footer .contact-list li {
        display: flex;
        align-items: flex-start;
        gap: 0.5rem;
        color: #cbd5e1;
    }

    .footer .social-icons {
        display: flex;
        gap: 0.6rem;
        margin-top: 1.25rem;
    }

        .footer .social-icons a {
            width: 34px;
            height: 34px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.08);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            text-decoration: none;
        }

            .footer .social-icons a:hover {
                background: var(--bs-primary);
            }

    .footer .newsletter-form {
        display: flex;
        margin-top: 0.75rem;
    }

        .footer .newsletter-form input {
            border: none;
            border-radius: 6px 0 0 6px;
            padding: 0.55rem 0.8rem;
            flex: 1;
            font-size: 0.85rem;
        }

        .footer .newsletter-form button {
            border: none;
            border-radius: 0 6px 6px 0;
            background: var(--bs-primary);
            color: #fff;
            padding: 0.55rem 1rem;
        }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2.5rem;
    padding: 1.1rem 0;
    font-size: 0.8rem;
    color: #94a3b8;
    text-align: center;
}

    .footer-bottom a {
        color: #94a3b8;
        text-decoration: none;
        margin: 0 0.5rem;
    }

        .footer-bottom a:hover {
            color: #fff;
        }

.footer-logo {
    height: 50px;
    width: auto;
}
/* =========================================
   RESPONSIVE
   Breakpoints Bootstrap: >=1200 xl / 992-1199 lg / 768-991 md / 576-767 sm / <576 xs
========================================= */

/* ---- Hasta 991.98px: tablets y celulares en horizontal ---- */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #fff;
        padding: 1rem 0;
        margin-top: 0.5rem;
        border-top: 1px solid #e5e7eb;
    }

    .navbar-nav {
        margin-bottom: 1rem;
    }

        .navbar-nav .nav-link {
            padding: 0.6rem 0.25rem !important;
        }

        .navbar-nav .dropdown-menu {
            box-shadow: none;
            border: 1px solid #e5e7eb;
            margin-left: 0.5rem;
        }

    .navbar-brand img {
        height: 34px;
    }

    .hero-section {
        padding-top: 110px;
        padding-bottom: 50px;
    }

        .hero-section h1 {
            font-size: 2.1rem;
        }

    .diagnostic-card {
        margin-top: 2rem;
    }

    .platform-image {
        height: 340px;
        margin-top: 2rem;
    }

    .cta-box {
        text-align: center;
        justify-content: center;
        padding: 2rem;
    }

        .cta-box h2,
        .cta-box p {
            max-width: 100%;
        }

    .cta-actions {
        text-align: center;
        width: 100%;
    }

    /* Barra flotante pasa a franja inferior fija en vez de columna lateral */
    .floating-actions {
        top: auto;
        bottom: 0;
        transform: none;
        flex-direction: row;
        border-radius: 0;
        width: 100%;
        left: 0;
        right: 0;
        box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.15);
    }

        .floating-actions .action {
            flex: 1;
            width: auto;
            height: 58px;
            flex-direction: row;
            gap: 0.5rem;
        }
    /* Deja espacio para que la franja fija no tape el pie de página */
    .footer {
        padding-bottom: 4.5rem;
    }
}

/* ---- Hasta 767.98px: celulares ---- */
@media (max-width: 767.98px) {
    .services-section,
    .stats-section,
    .platform-section,
    .sectors-section,
    .testimonials-section,
    .blog-section,
    .cta-section {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .hero-section {
        padding-top: 100px;
    }

        .hero-section h1 {
            font-size: 1.75rem;
        }

        .hero-section > .container > .row > .col-lg-7 > p {
            max-width: 100%;
        }

    .hero-buttons {
        flex-direction: column;
        margin: 1.25rem 0 1.5rem;
    }

        .hero-buttons .btn {
            width: 100%;
            text-align: center;
        }

    .hero-features {
        gap: 0.6rem 1.25rem;
        font-size: 0.82rem;
    }

    .diagnostic-card {
        padding: 1.5rem;
    }

    .section-title h2,
    .services-section h2,
    .sectors-section h2,
    .platform-section h2,
    .testimonials-section h2,
    .blog-section h2,
    .cta-box h2 {
        font-size: 1.4rem;
    }

    .stat-item {
        justify-content: flex-start;
        gap: 0.75rem;
    }

    .stat-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    .stat-item h3 {
        font-size: 1.25rem;
    }

    .sector-image {
        height: 110px;
        margin-bottom: 24px;
    }

    .sector-card .sector-icon {
        top: 110px;
        width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }

    .sector-card span {
        font-size: 0.75rem;
    }

    .testimonials-nav {
        justify-content: center;
        margin-bottom: 1.25rem;
    }

    .blog-image {
        height: 160px;
    }

    .cta-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

        .cta-actions .btn {
            width: 100%;
        }

    .footer {
        text-align: center;
    }

        .footer .social-icons {
            justify-content: center;
        }

        .footer .contact-list li {
            justify-content: center;
        }

        .footer [class*="col-"] {
            margin-bottom: 1.5rem;
        }

    .floating-actions .action {
        font-size: 0.62rem;
    }

        .floating-actions .action i {
            font-size: 1.05rem;
        }
}

/* ---- Hasta 575.98px: celulares pequeños ---- */
@media (max-width: 575.98px) {
    .hero-section {
        padding-top: 100px;
    }

        .hero-section h1 {
            font-size: 1.5rem;
        }

    .diagnostic-card h3 {
        font-size: 1.2rem;
    }

    .platform-image {
        height: 260px;
    }

    .sectors-section .row {
        row-gap: 2rem !important;
    }

    .floating-actions .action {
        font-size: 0;
    }

        .floating-actions .action i {
            font-size: 1.2rem;
        }

    .footer .newsletter-form {
        flex-direction: column;
        gap: 0.5rem;
    }

        .footer .newsletter-form input,
        .footer .newsletter-form button {
            border-radius: 6px;
            width: 100%;
        }
}

@media (prefers-reduced-motion: reduce) {
    .service-card,
    .floating-actions .action {
        transition: none !important;
    }

        .service-card:hover {
            transform: none;
        }
}

/* =========================================
   PÁGINAS DE SERVICIO (Salud Ocupacional)
========================================= */

/* Breadcrumb */
.service-breadcrumb {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 0.9rem 0;
    font-size: 0.85rem;
}

    .service-breadcrumb a {
        color: #6b7280;
        text-decoration: none;
    }

        .service-breadcrumb a:hover {
            color: var(--bs-secondary);
        }

    .service-breadcrumb .current {
        color: #1f2937;
        font-weight: 600;
    }

    .service-breadcrumb i {
        font-size: 0.7rem;
        margin: 0 0.5rem;
        color: #9ca3af;
    }

.hero-subtitle {
    font-weight: 600;
    font-size: 1.15rem;
    line-height: 1.4;
}

.hero-section .diagnostic-card.card-row {
    margin: 1.5rem 0 0.5rem;
}

.diagnostic-card.card-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    max-width: 460px;
}

    .diagnostic-card.card-row .icon-wrap {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: #eaf3e6;
        color: var(--bs-primary);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        font-size: 1.1rem;
    }

    .diagnostic-card.card-row h3 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    .diagnostic-card.card-row p {
        font-size: 0.85rem;
        color: #6b7280;
        margin-bottom: 0;
    }

.section-title .accent-line {
    width: 60px;
    height: 3px;
    background: var(--bs-primary);
    margin: 0.75rem auto 0;
}


.service-card.service-card-icon {
    text-align: center;
}

    .service-card.service-card-icon .icon-circle {
        width: 68px;
        height: 68px;
        border-radius: 50%;
        background: #eaf1fb;
        color: var(--bs-secondary);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.6rem;
        margin: 0 auto 1rem;
    }

    .service-card.service-card-icon .arrow-btn {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: var(--bs-primary);
        color: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        font-size: 0.85rem;
    }

        .service-card.service-card-icon .arrow-btn:hover {
            background: #426d32;
        }

.benefits-bar {
    background: #fff;
    padding: 2rem 0;
}

.benefits-bar-inner {
    text-align: center;
    background: #f3f4f2;
    border-radius: 20px;
    padding: 2.5rem 3rem;
}

.benefits-bar h3 {
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
}

.benefits-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem 1rem;
}

.benefits-bar .benefit-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: #374151;
    max-width: 190px;
    text-align: left;
}

    .benefits-bar .benefit-item i {
        color: var(--bs-primary);
        font-size: 1.1rem;
        flex-shrink: 0;
    }

.service-cta {
    background: #fff;
    padding: 3rem 0;
}

.service-cta-inner {
    background: var(--bs-secondary);
    border-radius: 20px;
    padding: 2.5rem 3rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}


.service-cta-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #fff;
}

    .service-cta-text h3 {
        color: #fff;
        font-size: 1.15rem;
        margin-bottom: 0.2rem;
    }

    .service-cta-text p {
        color: #dbe4f0;
        font-size: 0.85rem;
        margin-bottom: 0;
    }

.service-cta-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

@media (max-width: 991.98px) {
    .diagnostic-card.card-row {
        max-width: 100%;
    }
}

@media (max-width: 767.98px) {
    .benefits-list {
        flex-direction: column;
        align-items: center;
    }

    .service-cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .service-cta-text {
        flex-direction: column;
        text-align: center;
    }

    .service-cta-actions {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================
   VARIANTE VERDE (Seguridad Industrial)
========================================= */
.hero-section.theme-green::before {
    background: linear-gradient(90deg, rgba(15, 36, 10, 0.94) 0%, rgba(15, 36, 10, 0.8) 42%, rgba(15, 36, 10, 0.35) 100%);
}

.hero-section.theme-green .hero-features i {
    color: var(--bs-primary);
}

.service-card-icon .icon-circle.icon-circle-green {
    background: #eaf3e6;
    color: var(--bs-primary);
}

.service-cta.theme-green .service-cta-inner {
    background: #132a0d;
}

.service-cta-text {
    flex: 1 1 480px;
    max-width: 600px;
}

.service-cta-actions {
    flex-shrink: 0;
}

/* =========================================
   VARIANTE NARANJA (Capacitación Empresarial)
========================================= */
.color-accent {
    color: var(--bs-accent);
}

.hero-section.theme-orange h1 span {
    color: var(--bs-accent);
}

.hero-section.theme-orange .hero-features i {
    color: var(--bs-accent);
}

.service-breadcrumb.theme-orange .current {
    color: var(--bs-accent);
}

.accent-line.accent-orange {
    background: var(--bs-accent);
}

.service-card-icon .icon-circle.icon-circle-orange {
    background: #fdece0;
    color: var(--bs-accent);
}

.service-card-icon .card-link {
    color: var(--bs-accent);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

    .service-card-icon .card-link:hover {
        text-decoration: underline;
    }

.benefits-bar.theme-orange .benefits-bar-inner {
    background: #fdf1e7;
}

.benefits-bar.theme-orange .benefit-item i {
    color: var(--bs-accent);
}

.service-cta.theme-orange .service-cta-inner {
    background: var(--bs-accent);
}

.service-cta.theme-orange .btn-success {
    --bs-btn-bg: #fff;
    --bs-btn-border-color: #fff;
    --bs-btn-color: var(--bs-accent);
    --bs-btn-hover-bg: #f3f4f6;
    --bs-btn-hover-border-color: #f3f4f6;
    --bs-btn-hover-color: var(--bs-accent);
}

.hero-section {
    min-height: 640px;
}

/*PLATAFORMA DIGITAL */

    .hero-section.no-photo {
        background: var(--bs-secondary);
    }

.eyebrow {
    color: var(--bs-primary);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.icon-circle {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 1rem;
}

.icon-circle-outline {
    background: #fff;
    border: 2px solid var(--bs-primary);
    color: var(--bs-primary);
}

/* "¿Cómo funciona?" -- tarjeta contenedora + pasos numerados */
.how-it-works {
    background: #f3f6fa;
    border-radius: 20px;
    padding: 3rem 2rem;
}

.step-item {
    text-align: center;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bs-secondary);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.step-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    color: var(--bs-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 0.75rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.step-item h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.step-item p {
    font-size: 0.85rem;
    color: #6b7280;
}

/* Chips de "Soluciones integradas" */
.solution-chip {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1.5rem 1rem;
    text-align: center;
    height: 100%;
}

    .solution-chip i {
        font-size: 1.8rem;
        color: var(--bs-primary);
        margin-bottom: 0.75rem;
        display: inline-block;
    }

    .solution-chip span {
        display: block;
        font-weight: 600;
        font-size: 0.85rem;
        color: #1f2937;
    }

.platform-hero {
    background: var(--bs-secondary);
    overflow: hidden;
}

.platform-hero-inner {
    display: flex;
    flex-wrap: wrap;
    min-height: 640px;
}

.platform-hero-content {
    flex: 1 1 520px;
    color: #fff;
    padding: 140px 2rem 3rem max(2rem, calc((100vw - 1320px) / 2 + 12px));
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.platform-hero-image {
    flex: 1 1 420px;
    min-height: 320px;
    background-size: cover;
    background-position: center;
}

@media (max-width: 991.98px) {
    .platform-hero-inner {
        flex-direction: column;
    }

    .platform-hero-content {
        padding: 110px 1.5rem 2.5rem;
    }

    .platform-hero-image {
        min-height: 280px;
    }
}

/* Foto circular decorativa del CTA de Plataforma, con anillo verde
   (reemplaza el ícono de calendario por una foto real) */
.service-cta-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 4px solid var(--bs-primary);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}
.service-cta-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 767.98px) {
    .service-cta-text {
        flex-basis: auto;
    }
}