/* =============================== */

/* =============================== */

@font-face {
    font-family: 'Metropolis';
    src: url('fonts/Metropolis-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Metropolis';
    src: url('fonts/Metropolis-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Metropolis';
    src: url('fonts/Metropolis-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Metropolis';
    src: url('fonts/Metropolis-ExtraBold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
}

/* ================================================= */

/* ================================================= */

body {
    overflow-x: hidden;
}


:root {
    --brand-color-dark: #00334d;
    --brand-color-primary: #00bfff;
    --color-highlight: #4eff9b;
    --color-text-light: #ffffff;
}

/* ================================================= */
/* 1. NAVBAR PRINCIPAL */
/* ================================================= */
.custom-navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    width: 100%;
    height: 90px;
    z-index: 1050;
    padding: 0 !important;
    background-image: url('imagenes/fondo_navbar.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

@media (min-width: 992px) {

    .custom-navbar .nav-link {
        padding-left: 45px !important;
        padding-right: 45px !important;

    }
}


@media (max-width: 991px) {
    .navbar-collapse {
        background-color: #04414b !important;
        text-align: center;
        padding: 20px;
        margin-top: 5px;
    }

    .custom-navbar {
        height: 90px;
        background-image: url('imagenes/fondo-navbarvertical.png');
    }
}


/* ================================================= */

/* ================================================= */

/* 1. Mantenemos el scroll suave para que no sea un salto brusco */
html {
    scroll-behavior: smooth;
}

/* 2. LA SOLUCIÓN AL BUG: 
   Esto hace que cuando hagas click, el servicio se detenga ANTES de llegar arriba,
   respetando el espacio de tu menú fijo. */
[id] {
    scroll-margin-top: 100px; /* Ajusta este valor según el alto total de tu menú */
}

.services-nav-bar {
    position: fixed;
    top: 10px; /* Tu diseño original */
    width: 100%;
    z-index: 1000;
    padding: 5px 0 !important;
    background-color: #f8f9fa !important;
}

.services-nav-bar .nav-link-service {
    display: inline-block;
    color: #006070 !important;
    font-weight: 300 !important;
    font-size: 11pt;
    text-transform: uppercase;
    text-decoration: underline !important;
    text-decoration-color: rgba(0, 96, 112, 0.3) !important;
    text-underline-offset: 6px;
    transition: all 0.3s ease;
    padding: 5px 0;
    /* Eliminamos el 'top: 30px' porque en enlaces fijos causa que 
       el área de clic se mueva de su lugar visual */
}

@media (min-width: 992px) {
    .services-nav-bar {
        padding: 5px 0 30px 0 !important;
    }
}

.services-nav-bar .nav-link-service:hover,
.services-nav-bar .nav-link-service.active {
    font-weight: 700 !important;
    text-decoration-color: #006070 !important;
    text-decoration-thickness: 1.5px;
}

.services-nav-bar .container-xl {
    gap: 12px 20px !important;
}

@media (max-width: 991px) {
    .services-nav-bar {
        top: 70px !important; 
    }
    .services-nav-bar .nav-link-service {
        font-size: 10pt;
    }
}

/* ================================================= */
body {
    margin: 0;
    padding-top: 40px !important;
    background-color: #f8f9fa;
}

@media (max-width: 991px) {
    body {
        padding-top: 120px;
    }
}

/* ================================================= */

/* ================================================= */
.hero-carousel {
    position: relative;
    width: 100%;
}

#heroCarousel,
.carousel-inner,
.carousel-item {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.carousel-item {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    transition: transform 0.6s ease-in-out;
}


.carousel-item:nth-child(1) {
    background-image: url('imagenes/banner1-nuevo.png');
}

.carousel-item:nth-child(2) {
    background-image: url('imagenes/banner2-nuevo.png');
}


.slide-content, .slide-overlay {
    position: relative;
    width: 100%;
    height: 100%;
}

/* ================================================= */

/* ================================================= */
.cta-hero-fixed-bottom {
    position: absolute;
    bottom: 12%;
    right: 10%;
    z-index: 20;
}

.btn-primary.custom-cta-bg {
    display: inline-block;
    padding: 10px 30px !important;
    background-color: #6AEBA8 !important;
    color: #006070 !important;
    font-size: 22pt !important;
    font-weight: bold;
    border: none;
    text-decoration: none;
    text-align: center;
    line-height: 1.2;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
}

.btn-primary.custom-cta-bg:hover {
    background-color: #ffffff !important;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* ================================================= */

/* ================================================= */
.carousel-indicators.carousel-indicators-custom {
    position: absolute !important;
    top: 50% !important;
    right: 30px !important;
    left: auto !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    margin: 0 !important;
    z-index: 50;
}

.carousel-indicators.carousel-indicators-custom [data-bs-target] {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background-color: transparent !important;
    border: 2px solid #ffffff !important;
    opacity: 0.6;
    margin: 0 !important;
}

.carousel-indicators.carousel-indicators-custom .active {
    background-color: #ffffff !important;
    opacity: 1 !important;
}

/* ================================================= */

/* ================================================= */
@media (max-width: 768px) {


    .carousel-item:nth-child(1) {
        background-image: url('imagenes/carrusel1-mobile.png') !important;
    }

    .carousel-item:nth-child(2) {
        background-image: url('imagenes/carrusel2-mobile.png') !important;
    }


    #heroCarousel, .carousel-inner, .carousel-item {
        height: 100vh;
    }


    .cta-hero-fixed-bottom {
        right: 0 !important;
        left: 0 !important;
        bottom: 10% !important;
        width: 100%;
        display: flex;
        justify-content: center;
        padding: 0 20px;
    }

    .btn-primary.custom-cta-bg {
        font-size: 16pt !important;
        padding: 12px 25px !important;
        width: 90%;
        max-width: 350px;
    }


    .carousel-indicators.carousel-indicators-custom {
        top: auto !important;
        bottom: 30px !important;
        right: 0 !important;
        left: 0 !important;
        transform: none !important;
        flex-direction: row !important;
        justify-content: center !important;
    }
}

/* =============================== */
/* SECCIÓN QUIÉNES SOMOS */
/* =============================== */

#quienes-somos {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* ---------- TÍTULOS ---------- */

.titulo-principal {
    font-family: 'Metropolis', sans-serif;
    font-size: 30pt;
    font-weight: 700;
    color: #006070;
    margin-bottom: 6px;
}

.titulo-secundario {
    font-family: 'Metropolis', sans-serif;
    font-size: 20pt;
    font-weight: 600;
    color: #006070;
    margin-bottom: 14px;
}

.texto-destacado {
    font-family: 'Metropolis', sans-serif;
    font-size: 15pt;
    font-weight: 300;
    color: #394149;
    margin-bottom: 30px;
    line-height: 1.4;
}

/* ---------- RECUADRO IMAGEN ---------- */

.recuadro-imagen {
    width: 100%;
    height: 150px;
    background-image: url('imagenes/quienes_somos.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ---------- LÍNEA VERDE DIVISORIA ---------- */

.linea-verde {
    display: block;
    width: 3px;
    height: 100%;
    min-height: 320px;
    background-color: #6AEBA8;
}

/* ---------- TEXTO DERECHA ---------- */

.texto-quienes {
    padding-left: 20px;
}

.texto-quienes p {
    font-family: 'Metropolis', sans-serif;
    font-size: 16pt;
    font-weight: 400;
    line-height: 1.8;
    color: #333;
    margin-bottom: 14px;
}


.texto-quienes strong {
    font-weight: 600;
    color: #006070;
}

@media (max-width: 991.98px) {

    #quienes-somos {
        padding-left: 20px !important;
        padding-right: 20px !important;
        overflow-x: hidden;
    }


    .recuadro-imagen {
        height: 150px;
        margin-left: -20px;
        margin-right: -20px;
        width: calc(100% + 40px);
        margin-bottom: 30px;
        background-size: cover;
        background-position: center;
        border-radius: 0;
    }


    .titulo-principal { font-size: 24pt; line-height: 1.5; padding-left: 12%;}
    .titulo-secundario { font-size: 18pt; padding-left: 12%;}
    .texto-destacado { font-size: 14pt; margin-bottom: 20px; padding-left: 12%; }

    .texto-quienes {
        padding-left: 6px;
        text-align: left;
    }

    .texto-quienes p {
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }
}


.servicios-seccion-completa {
    background-image: url(imagenes/textura.png) !important;
    background-repeat: repeat;
    background-size: auto;
    padding-bottom: 60px;
}


.servicios-header {
    text-align: center;
    padding: 40px 0;
    background: transparent;
}



.titulo-wrapper {
    position: relative;
    display: inline-block;
}


.linea-servicios {
    width: 1450px;
    height: auto;
    display: block;
    margin: 0 auto;
}


.titulo-encima {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    margin: 0;


    font-family: 'Metropolis', sans-serif;
    font-weight: 300;
    font-size: 2.5rem;
    color: #67F5AB;
    text-transform: uppercase;
    white-space: nowrap;
}


@media (max-width: 768px) {

    .servicios-header {
        overflow: hidden;
        padding-left: 0;
        padding-right: 0;
    }


    .titulo-wrapper {
        width: 100%;
        display: block;
    }


    .linea-servicios {
        width: 170vw !important;
        max-width: none !important;
        height: auto;
        margin-left: 50%;
        transform: translateX(-50%);
        object-fit: cover;
    }


    .titulo-encima {
        width: 100%;
        font-size: 1.4rem;
        letter-spacing: 4px;
        text-align: center;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        white-space: normal;
    }
}



.servicios-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}


.servicio-card {
    display: block;
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.servicio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.servicio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
}

/* =============================== */

/* =============================== */

@media (max-width: 992px) {
    .servicios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .servicios-grid {
        grid-template-columns: 1fr;
    }


@media (max-width: 768px) {
    .servicios-header h2 {
        font-size: 2rem;
        letter-spacing: 3px;
    }

    .linea-servicios {
        width: 180px;
    }
}
}


/* =============================== */
/* SECCIÓN DE CONTACTO */
/* =============================== */

.contacto-section {
    display: flex;
    max-width: 1200px;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background-color: #f0f0f0;
    background-repeat: no-repeat;
    background-attachment: fixed;
}



.contacto-info {
    width: 40%;
    min-height: 550px;
    padding: 40px 30px;

    background-image:
        url('imagenes/fondo-contacto.png');

    background-size: cover;
    background-position: center;
    color: white;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


@media (max-width: 991.98px) {
    .contacto-info {
        width: 100%;
        min-height: 400px !important;
        padding: 30px 20px;


        background-image: url('imagenes/contacto-vertical.png');


        background-position: center;
        background-size: cover;
    }
}


.info-header h1 {
    display: block;
    width: fit-content;
    margin: 50px auto;
    padding: 12px 20px;
    background-color: #6AEBA8;
    color: #006070;
    text-shadow: 1px 1px 2px rgba(65, 64, 64, 0.5);
    font-size: 24pt;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 6px rgba(36, 36, 36, 0.7);
}


.info-details {
    padding-top: 20px;
}


.contacto-item-link {
    text-decoration: none;
    color: white;
    display: block;
    transition: color 0.3s ease, opacity 0.3s ease;
    margin-bottom: 1px;
}

.contacto-item-link:hover {
    color: #7CFFB2;
    opacity: 0.9;
}


.contacto-item {
    display: flex;
    align-items: center;
}

.contacto-icon {
    width: 85px;
    height: 85px;
    margin-right: 15px;
    transition: filter 0.3s ease;
}


.contacto-icon-svg {
    width: 30px;
    height: 30px;
    margin-right: 15px;
    transition: filter 0.3s ease;
}


.contacto-item-link:hover .contacto-item p {
    color: #7CFFB2;
}


.contacto-item p {
    margin: 0;
    font-size: 15pt;
    line-height: 1.4;
    color: inherit;
}


.contacto-formulario {
    width: 60%;
    padding: 40px;
    background-color: #ffffff !important;
    border-radius: 10px;
}

.formulario-instruccion {
    font-size: 1.1rem;
    font-family: 'Metropolis', sans-serif;
    font-weight: 300;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.5;
}


.contacto-formulario input,
.contacto-formulario textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    background-color: #F6F6F6 !important;
    color: black !important;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none !important; 
}


.contacto-formulario input::placeholder,
.contacto-formulario textarea::placeholder {
    color: black !important;
}

.contacto-formulario input:focus,
.contacto-formulario textarea:focus {
    background-color: #F6F6F6 !important;
    border: 0 !important;             
    box-shadow: none !important;
    outline: 2px solid #6AEBA8; 
}


.input-group {
    display: flex;
    gap: 20px;
}

.input-group > div {
    flex: 1;
}


.enviar-mensaje-btn {
    display: block;
    margin: 20px auto;
    padding: 12px 30px;
    background-color: #6AEBA8;
    color: #006070;
    text-shadow: 1px 1px 2px rgba(65, 64, 64, 0.5);
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 6px rgba(36, 36, 36, 0.7);
}

.enviar-mensaje-btn:hover {
    background-color: white;
    color: #006070;
}


@media (max-width: 768px) {
    .contacto-section {
        flex-direction: column;
    }

    .contacto-info,
    .contacto-formulario {
        width: 100% !important;
        min-height: auto;
        padding: 20px;
    }

    .input-group {
        flex-direction: column;
        gap: 0;
    }
}


.servicios-section,
.contacto-section {
    background-image: url('imagenes/textura.png');
    background-repeat: repeat;
    background-size: auto;
}

/* ========================================================= */

/* ========================================================= */
.services-nav-bar {
    padding: 10px 0;
    background-color: #f8f9fa;
    border-bottom: 2px solid #008000;

    margin-top: 80px;
    z-index: 1020;
    position: relative;
}

.nav-link-service {
    padding: 10px 15px;
    color: #333;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease, border-bottom-color 0.3s ease;
    border-bottom: 3px solid transparent;
    margin: 0 5px;
    white-space: nowrap;
    font-size: 0.9rem;
}


/* ========================================================= */
/* --- SECCIÓN PRINCIPAL DEL SERVICIO (AUDITORÍA HERO) --- */
/* ========================================================= */


.auditoria-hero .row {
    min-height: 80vh;
}

.hero-left {
    background-image: url('imagenes/auditoria-2.png');
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: 40px !important;
}

.hero-title {
    position: relative;
    font-family: 'Metropolis', sans-serif;
    z-index: 2;
    text-align: left !important;
}

.servicios-header {
    text-align: center;
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.titulo-wrapper {
    position: relative;
    margin-bottom: 30px;
}


.hero-left {
    min-height: 550px;
    background-image: url('imagenes/auditoria-2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.btn-contact-hero {
    display: inline-block;
    padding: 10px 40px !important;
    background-color: #6AEBA8;
    color: #006070;
    font-size: 17pt !important;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    border: none;
    margin-bottom: 0;
}

.btn-contact-hero:hover {
    background-color: #57d492;
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.3);
    color: #006070;
}


@media (max-width: 991px) {
    .hero-left {
        min-height: 400px;
    }
    .btn-contact-hero {
        width: 80%;
        text-align: center;
        margin-bottom: 30px;
    }
}

/* ================================================= */

/* ================================================= */

.btn-contact-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto !important;
    max-width: 100%;
    white-space: nowrap;
    padding: 12px 28px;
    text-align: center;
}

/* --- AJUSTE DE BOTONES POR SECCIÓN (Escritorio) --- */
@media (min-width: 992px) {

    .btn-contact-hero {
        align-self: flex-start;
        position: static !important;
        margin-top: 20px;
    }


    .btn-auditoria {
        margin-top: 500px !important;
    }

    .btn-fiscal {
        margin-top: 520px !important;
    }


    .btn-contabilidad {
        margin-top: 640px !important;
    }

    .btn-consultoria {
        margin-top: 500px !important;
    }


    .btn-financiero {
        margin-top: 520px !important;
    }

    .btn-comercio {
        margin-top: 580px !important;
    }

    .btn-nominas {
        margin-top: 590px !important;
    }

    .btn-entidades {
        margin-top: 460px !important;
    }

    .btn-recursos {
        margin-top: 490px !important;
    }
}

/* ================================================= */

/* ================================================= */
@media (max-width: 768px) {


    .btn-auditoria {position: relative !important;
        bottom: 15px !important;  }

    .btn-fiscal { position: relative !important;
        bottom: 27px !important;  }

    .btn-contabilidad { position: relative !important;
        bottom: 15px !important;  }

    .btn-consultoria { position: relative !important;
        bottom: 10 px !important;  }

    .btn-financiero { position: relative !important;
        bottom: 10px !important;  }

    .btn-comercio { position: relative !important;
      bottom: 10px !important;  }

    .btn-nominas {
        margin-bottom: 2.5rem !important;
        top: 5px !important;
    }

    .btn-entidades { position: relative !important;
            bottom: 70px !important;  }

    .btn-recursos { position: relative !important;
            top: 12px !important;
    }


    .weight-light {
        font-size: 17pt !important;
    }
}


@media (min-width: 992px) {
    .hero-icon-right {
        width: 90px !important;
        height: auto !important;
        display: block;
        margin-bottom: 20px;
    }
}

/* --- ESTILOS GENERALES DE LA SECCIÓN --- */
.auditoria-hero {
    overflow: hidden;
}


.hero-title h1 {
    font-family: 'Metropolis', sans-serif;
    color: #6AEBA8;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-align: left;
}


.btn-contact-hero {
    background-color: #6AEBA8;
    color: #004d5a;
    font-family: 'Metropolis', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    display: block;

    width: fit-content;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.btn-contact-hero:hover {
    transform: translateY(-3px);
    background-color: white !important;
    color: #004d5a !important;
}


.weight-bold {
    font-weight: 700 !important;
    color: #006070 !important;
    font-size: 20pt;
}

.weight-light {
    font-weight: 400 !important;
    font-size: 20pt;
}


.title-metropolis {
    font-family: 'Metropolis', sans-serif;
    font-size: 15pt;
    line-height: 1.2;
    color: #004d5a;
}

.paragraph-style {
    font-family: 'Montserrat', sans-serif;
    font-size: 15pt;
    line-height: 1.6;
    margin-bottom: 15px !important;
    color: #333;
}

.hero-right .paragraph-style span {
    font-size: 15pt;
}


.hero-icon-right {
    width: 65px;
    height: auto;
}


@media (max-width: 991px) {

    .title-header-container {
        flex-direction: column !important;
        align-items: left !important;
    }

    .hero-icon-right {
        width: 85px !important;
        margin-bottom: 10px;
    }

    .title-metropolis {
        font-size: 1.8rem;
        text-align: left !important;
    }

    .paragraph-style {
        text-align: left !important;
    }

    .hero-right {
        padding: 40px 20px !important;
    }
}


@media (min-width: 992px) {
    .title-header-container {
        flex-direction: row !important;
        align-items: flex-start !important;
    }
}



#hero-image-fiscal {
    background-image: url('imagenes/asesoria-7.png');
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: 40px !important;
}



@media (max-width: 768px) {
    .services-nav-bar {
        margin-top: 0;
        padding-top: 80px;
    }

    .nav-link-service {
        font-size: 0.85rem;
        padding: 8px 10px;
    }

    .hero-title h1 {
        font-size: 2.5rem;
        font-family: 'Metropolis', sans-serif;
    }
}


#hero-image-contabilidad {
    background-image: url('imagenes/contabilidad-5.png');
    background-size: cover;
    background-position: center;
    min-height: 550px;

    padding-top: 60px !important;
}


.list-services {
    list-style: none;
    padding-left: 0;
}

.list-services li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: 1.05rem;
    color: #343a40;
    font-weight: 600;
}


.list-services li::before {
    content: "•";
    color: #172a39;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}



#hero-image-consultoria {
    background-image: url('imagenes/consultoria-6.png');
    background-size: cover;
    background-position: center;
    position: relative;
}




#hero-image-financiera {
    background-image: url('imagenes/asesoria_financiera.png');
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 80vh;
}



#hero-image-comercio {
    background-image: url('imagenes/comercio-4.png');
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 80vh;
}




#hero-image-nominas {
    background-image: url('imagenes/administracion-3.png');
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 80vh;
}

/* ================================================= */
/* SECCIÓN ENTIDADES GUBERNAMENTALES (CSS ÚNICO)     */
/* ================================================= */


#hero-image-entidades {

    background-image: url('imagenes/gubernamental-8.png');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    position: relative;
}


/* ================================================= */
/* SECCIÓN ENTIDADES rh(CSS ÚNICO)     */
/* ================================================= */


#hero-image-rh {

    background-image: url('imagenes/recursos-9.png');
    background-size: cover;
    background-position: center;
    min-height: 550px;
    position: relative;
}



/* ========================================================= */

/* ========================================================= */

@media (max-width: 768px) {


    .hero-left,
    [id^="hero-image-"] {
        min-height: 550px !important;
        background-attachment: scroll;
        background-position: center top !important;
    }


    #hero-image-fiscal {
        background-image: url('imagenes/fiscal-mobile.png') !important;
    }


    #hero-image-nominas {
        background-image: url('imagenes/Administracion-mobile.png') !important;
    }


    #hero-image-consultoria {
        background-image: url('imagenes/consultoría-mobile.png') !important;
    }


    #hero-image-financiera {
        background-image: url('imagenes/asesoria-mobile.png') !important;
    }


    .hero-left, #hero-image-auditoria {
        background-image: url('imagenes/auditorias-mobile.png') !important;
    }


    #hero-image-contabilidad {
        background-image: url('imagenes/contabilidad-mobile.png') !important;
    }


    #hero-image-comercio {
        background-image: url('imagenes/comercio-mobile.png') !important;
    }


    #hero-image-entidades {
        background-image: url('imagenes/ gubernamentales-mobile.png') !important;
    }


    #hero-image-rh {
        background-image: url('imagenes/recursos-mobile.png') !important;
    }


    .hero-title h1 {
        font-size: 2rem !important;
        line-height: 1.2;
    }
}



.main-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0;
    color: white;
    background-image: url('imagenes/fondo_footer.png');
    background-size: cover;
    background-position: center;
    position: relative;
    height: 320px;
    padding: 0;
}

@media (max-width: 991.98px) {

    .main-footer {
        background-image: url('imagenes/fondo-footervertical.png');
        background-size: cover;
        background-position: top center;

        height: auto;
        min-height: 420px;

        padding: 60px 20px;
        flex-direction: column;
        justify-content: flex-start;
        text-align: center;
    }

    .main-footer::before {
        display: none;
    }
}


.footer-logo-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-right: 50px;
}



.main-footer::before {
    content: "";
    position: absolute;
    left: 45%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 250px;
    background: #67F5AB;
}


.footer-contact-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: 80px;
}


.contacto-item-link-footer {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    margin-bottom: -20px;
}

.contacto-icon-footer {
    width: 80px;
    height: auto;
    margin-right: 20px;
}

.contacto-item-link-footer p {
    font-size: 1.1rem;
    margin: 0;
    font-weight: 500;
}


@media (max-width: 768px) {
    .main-footer::before { display: none; }
    .main-footer { flex-direction: column; padding: 70px 50px; }
    .footer-logo-col, .footer-contact-col {
        padding: 25px;
        flex: none;
        text-align: left;
    }
    .contacto-item-link-footer { justify-content: left; }
}



[class*="-hero"] .hero-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #ffffff;


    padding-top: 110px !important;
    padding-bottom: 50px !important;
}

[class*="-hero"] .hero-left {
    position: relative;
    min-height: 550px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
}


.btn-contact-hero {
    background-color: #6AEBA8;
    color: #004d5a;
    font-family: 'Metropolis', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    padding: 12px 35px;
    border-radius: 8px;
    text-decoration: none;
    display: block;
    width: fit-content;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    margin-bottom: 60px !important;
    transition: all 0.3s ease;
}


@media (max-width: 991px) {
    [class*="-hero"] .hero-right {
        padding-top: 80px !important;
    }

    [class*="-hero"] .hero-left {
        min-height: 400px;
    }

    .btn-contact-hero {
        width: 80%;
        text-align: center;
        margin-bottom: 40px !important;
    }
}

