/* 
================================================================
ESTILOS GENERALES Y VARIABLES
================================================================
*/

:root {
    --primary-color: #4671b6;    /* Azul Corporativo */
    --accent-color: #2caee4;     /* Celeste Detalle */
    --white-color: #ffffff;      /* Blanco */
    --text-dark: #333333;
    --text-light: #666666;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

.section-padding {
    padding: 80px 0;
}

.btn-primary-custom {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary-custom:hover {
    background-color: #259cd0;
    color: white;
    transform: translateY(-2px);
}

/* 
================================================================
INICIO BARRA SUPERIOR
================================================================
*/

.top-bar {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 0;
    font-size: 0.85rem;
}

.top-bar-item {
    display: inline-flex;
    align-items: center;
    margin-right: 20px;
}

.top-bar-item:last-child {
    margin-right: 0;
}

.top-bar-item i {
    margin-right: 8px;
    color: var(--accent-color);
}

/* 
================================================================
INICIO NAVBAR
================================================================
*/

.sticky-top {
    z-index: 1030;
    background-color: var(--primary-color);
}

.navbar {
    background-color: var(--white-color) !important;
    padding: 15px 0;
}

.navbar-brand img {
    height: 50px;
}

.nav-link {
    color: var(--primary-color) !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin: 0 10px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.social-icons-nav a {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-left: 15px;
}

.social-icons-nav a:hover {
    color: var(--accent-color);
}

/* 
================================================================
INICIO HERO SLIDER
================================================================
*/

.hero-slider .carousel-item {
    height: 80vh;
    min-height: 500px;
}

.hero-slider img {
    object-fit: cover;
    height: 100%;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.6), rgba(0,0,0,0.2));
}

.carousel-caption {
    bottom: 25%;
    text-align: left;
    max-width: 600px;
}

.carousel-caption h2 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 0;
    text-transform: uppercase;
}

.carousel-caption h2 span {
    color: var(--accent-color);
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 30px;
}

.hero-line {
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    margin-bottom: 20px;
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 52px;
    height: 52px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background-color: var(--primary-color);
    opacity: 1;
    box-shadow: 0 12px 28px rgba(70, 113, 182, 0.35);
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-slider .carousel-control-prev {
    left: 28px;
}

.hero-slider .carousel-control-next {
    right: 28px;
}

.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover {
    background-color: var(--accent-color);
    box-shadow: 0 16px 34px rgba(44, 174, 228, 0.45);
}

.hero-slider .carousel-control-prev:hover {
    transform: translateY(-50%) translateX(-4px) scale(1.06);
}

.hero-slider .carousel-control-next:hover {
    transform: translateY(-50%) translateX(4px) scale(1.06);
}

.hero-slider .carousel-control-prev-icon,
.hero-slider .carousel-control-next-icon {
    width: 1.35rem;
    height: 1.35rem;
    filter: brightness(0) invert(1);
}

.hero-slider .carousel-control-prev:focus,
.hero-slider .carousel-control-next:focus {
    outline: 3px solid rgba(44, 174, 228, 0.45);
    outline-offset: 4px;
}

/* 
================================================================
INICIO SECCIÓN NOSOTROS
================================================================
*/

.nosotros-img {
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.label-nosotros {
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.title-nosotros {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 30px;
    position: relative;
}

.title-nosotros::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
}

/* 
================================================================
INICIO MISIÓN VISIÓN VALORES
================================================================
*/

.card-mvv {
    background-color: #ffffff;
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(244, 246, 244, 0.05);
    padding: 40px 30px;
    height: 100%;
    transition: var(--transition);
}

.card-mvv:hover {
    transform: translateY(-10px);
}

.icon-box {
    width: 80px;
    height: 80px;
    background-color: #2caee4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 1px 1px rgba(44, 174, 228, 0.35);
}

.icon-box i {
    font-size: 2rem;
    color: var(--white-color);
}

.card-mvv h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.card-mvv .separator {
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
    margin-bottom: 20px;
}

.card-mvv ul {
    padding-left: 0;
    list-style: none;
}

.card-mvv ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-mvv ul li i {
    color: var(--accent-color);
}

/* 
================================================================
INICIO NUESTRO COMPROMISO
================================================================
*/

.compromiso-section {
    position: relative;
    color: white;
    overflow: hidden;
}

.compromiso-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), rgba(44, 174, 228, 0.8));
    z-index: 1;
}

.compromiso-img {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    object-fit: cover;
}

.compromiso-content {
    position: relative;
    z-index: 2;
    padding: 40px 0;
}

.icon-compromiso {
    font-size: 4rem;
    margin-bottom: 20px;
}

/* 
================================================================
INICIO POR QUÉ ELEGIRNOS
================================================================
*/

.elegirnos-item {
    text-align: center;
    padding: 30px 15px;
    border-right: 1px solid #eee;
}

.elegirnos-item:last-child {
    border-right: none;
}

.elegirnos-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

.elegirnos-item:hover i {
    color: var(--accent-color);
}

.elegirnos-item p {
    font-weight: 500;
    font-size: 0.95rem;
}

/* 
================================================================
INICIO LLAMADO A LA ACCIÓN
================================================================
*/

.cta-section {
    background-color: var(--accent-color);
    color: white;
    padding: 40px 0;
}

.btn-white {
    background-color: white;
    color: var(--primary-color);
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 5px;
    text-transform: uppercase;
}

/* 
================================================================
INICIO FOOTER
================================================================
*/

.main-footer {
    background-color: var(--primary-color);
    color: white;
    padding: 25px 0 8px;
}

.footer-logo {
    height: 48px;
    margin-bottom: 14px;
}

.footer-title {
    font-size: 1.1rem;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 8px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
}

.footer-links li {
    margin-bottom: 7px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.contact-info-footer i {
    color: var(--accent-color);
    width: 25px;
}

.contact-info-footer p {
    margin-bottom: 8px;
    line-height: 1.4;
}

.social-icons-footer {
    margin-top: 12px;
}

.social-icons-footer a {
    color: white;
    font-size: 1.25rem;
    margin-right: 16px;
}

.social-icons-footer a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 14px;
    padding-top: 8px;
    font-size: 0.85rem;
}

/* 
================================================================
BOTON FLOTANTE WHATSAPP
================================================================
*/

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1040;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #25d366;
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.35),
                0 8px 18px rgba(0, 0, 0, 0.16);
    animation: whatsapp-heartbeat 1.8s ease-in-out infinite;
}

.whatsapp-float::before {
    content: "";
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.45);
    animation: whatsapp-pulse-ring 1.8s ease-out infinite;
}

.whatsapp-float:hover {
    color: var(--white-color);
    background-color: #1ebe5d;
    transform: translateY(-3px);
    box-shadow: 0 18px 34px rgba(37, 211, 102, 0.42),
                0 10px 22px rgba(0, 0, 0, 0.18);
}

.whatsapp-float i {
    position: relative;
    z-index: 1;
}

@keyframes whatsapp-heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    14% {
        transform: scale(1.12);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.08);
    }
    70% {
        transform: scale(1);
    }
}

@keyframes whatsapp-pulse-ring {
    0% {
        opacity: 0.75;
        transform: scale(0.9);
    }
    80%, 100% {
        opacity: 0;
        transform: scale(1.35);
    }
}

/* 
================================================================
FOOTER RESPONSIVE
================================================================
*/

@media (max-width: 991px) {
    .main-footer {
        padding: 22px 0 8px;
    }

    .footer-logo {
        height: 45px;
        margin-bottom: 12px;
    }

    .footer-title {
        margin-top: 20px;
        margin-bottom: 14px;
        font-size: 1.05rem;
    }

    .footer-links li {
        margin-bottom: 6px;
    }

    .contact-info-footer p {
        margin-bottom: 7px;
        line-height: 1.35;
    }

    .footer-bottom {
        margin-top: 12px;
        padding-top: 7px;
        font-size: 0.82rem;
    }
}

@media (max-width: 767px) {
    .hero-slider .carousel-control-prev,
    .hero-slider .carousel-control-next {
        width: 42px;
        height: 42px;
    }

    .hero-slider .carousel-control-prev {
        left: 12px;
    }

    .hero-slider .carousel-control-next {
        right: 12px;
    }

    .hero-slider .carousel-control-prev-icon,
    .hero-slider .carousel-control-next-icon {
        width: 1.05rem;
        height: 1.05rem;
    }

    .main-footer {
        padding: 18px 0 8px;
        text-align: center;
    }

    .footer-logo {
        height: 42px;
        margin-bottom: 10px;
    }

    .footer-title {
        margin-top: 18px;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links li {
        margin-bottom: 5px;
    }

    .social-icons-footer a {
        margin: 0 8px;
        font-size: 1.2rem;
    }

    .contact-info-footer p {
        margin-bottom: 6px;
        line-height: 1.35;
    }

    .footer-bottom {
        margin-top: 10px;
        padding-top: 6px;
        font-size: 0.8rem;
    }

    .whatsapp-float {
        right: 18px;
        bottom: 18px;
        width: 56px;
        height: 56px;
        font-size: 2rem;
    }
}
/* 
================================================================
INICIO PAGINA CONTACTO
================================================================
*/

.hero-contacto {
    height: 360px;
    background-size: cover;
    background-position: right;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: var(--primary-color);
}

.hero-contacto-content {
    position: relative;
    z-index: 2;
}

.hero-contacto h1 {
    color: var(--primary-color);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.hero-contacto .line {
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    margin-bottom: 20px;
}

.hero-contacto p {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 500;
    max-width: 600px;
}

.contact-card {
    background-color: var(--white-color);
    border-radius: 24px;
    padding: 45px;
    box-shadow: 
        0 25px 60px rgba(70, 113, 182, 0.22),
        0 8px 22px rgba(44, 174, 228, 0.10);
    border: 1px solid rgba(70, 113, 182, 0.14);
    height: 100%;
    transition: all 0.3s ease;
}

.icon-circle-grad {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-title-box {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-title-box h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0;
    text-transform: uppercase;
}

.contact-subtitle {
    color: var(--primary-color);
    margin-bottom: 30px;
}

/* Estilos Formulario */
.form-group-custom {
    position: relative;
    margin-bottom: 20px;
}

.form-group-custom i {
    position: absolute;
    left: 17px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.1rem;
}

.form-group-custom.textarea-group i {
    top: 22px;
    transform: none;
}

.form-control-custom {
    width: 100%;
    padding: 14px 18px 14px 48px;
    border: 2px solid rgba(70, 113, 182, 0.28);
    border-radius: 14px;
    color: var(--primary-color);
    font-size: 0.95rem;
    background-color: #ffffff;
    transition: var(--transition);
    box-shadow: inset 0 0 0 1px rgba(70, 113, 182, 0.05),
                0 6px 16px rgba(70, 113, 182, 0.08);
}

.form-control-custom::placeholder {
    color: rgba(70, 113, 182, 0.65);
    font-weight: 500;
}

.form-control-custom:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(44, 174, 228, 0.16),
                0 8px 22px rgba(70, 113, 182, 0.12);
}

.btn-contact {
    background-color: var(--accent-color);
    color: var(--white-color);
    border: none;
    padding: 15px 40px;
    border-radius: 10px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-contact:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    box-shadow: 0 5px 15px rgba(244, 245, 246, 0.3);
}
/* Estilos Contacto Comercial */
.info-item-contact {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 18px 20px;
    border-radius: 16px;
    border: 1px solid rgba(70, 113, 182, 0.10);
    background-color: #ffffff;
    box-shadow: 0 10px 25px rgba(70, 113, 182, 0.08);
    transition: all 0.3s ease;
}

.info-item-contact:last-of-type {
    border-bottom: none;
}

.info-item-contact .icon-small {
    width: 55px;
    height: 55px;
    background-color: #2caee4;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.info-text span {
    display: block;
    font-size: 0.8rem;
    color: var(--primary-color);
    opacity: 0.8;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.info-text strong {
    color: var(--primary-color);
    font-size: 1rem;
}

.commercial-img-box {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-top: 20px;
}

.commercial-img-box img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.commercial-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, var(--primary-color));
    color: var(--primary-color);
}

.commercial-overlay p {
    font-size: 0.9rem;
    margin-bottom: 5px;
    line-height: 1.4;
}

.commercial-overlay .line {
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

/* Tarjeta Institucional */
.card-institutional {
    background-color: var(--white-color);
    border-radius: 24px;
    padding: 35px 40px;
    box-shadow: 0 18px 45px rgba(70, 113, 182, 0.20);
    border: 1px solid rgba(70, 113, 182, 0.12);
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 50px;
    position: relative;
    overflow: hidden;
}

.institutional-icon-left {
    width: 80px;
    height: 80px;
}

.institutional-content h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.institutional-content p {
    color: var(--primary-color);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.institutional-divider {
    width: 1px;
    height: 60px;
    background-color: rgba(70, 113, 182, 0.2);
}

.institutional-icon-right {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.5;
}

@media (max-width: 991px) {
    .institutional-divider {
        display: none;
    }
    .card-institutional {
        flex-direction: column;
        text-align: center;
    }
    .hero-contacto {
        height: 10px;
        padding: 40px 0;
    }
    .hero-contacto h1 {
        font-size: 2.5rem;
    }
}


/* Estilos Submen� */
.dropdown-menu {
    border-radius: 10px;
    padding: 10px 0;
    margin-top: 10px !important;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.dropdown-item {
    color: var(--primary-color);
    font-weight: 500;
    padding: 10px 20px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* Abrir dropdown al pasar el mouse en escritorio */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
    }
}


/* Mejora de interacci�n para submen�s */
@media (min-width: 992px) {
    .nav-item.dropdown {
        position: relative;
    }
    
    .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0; /* Elimina el gap */
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
        margin-top: 0 !important;
    }
    
    /* Puente invisible para que el mouse no pierda el hover */
    .nav-item.dropdown::after {
        content: '';
        position: absolute;
        bottom: -15px;
        left: 0;
        width: 100%;
        height: 15px;
        display: block;
    }
}


/* 
================================================================
INICIO P�GINAS DE SERVICIOS
================================================================
*/

.service-hero {
    padding: 100px 0;
    background-size: cover;
    background-position: right;
    background-color: var(--primary-color);
}

.service-hero h1 { color: var(--white-color) !important; text-shadow: 2px 2px 4px rgba(0,0,0,0.8) !important;
    color: var(--primary-color);
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.service-hero .line {
    width: 70px;
    height: 4px;
    background-color: var(--accent-color);
    margin-bottom: 30px;
}

.service-hero p { color: var(--white-color) !important; text-shadow: 1px 1px 3px rgba(0,0,0,0.8) !important;
    color: var(--primary-color);
    font-size: 1.1rem;
    max-width: 620px;
    line-height: 1.8;
}

/* Mini Cards Grid */
.service-mini-grid {
    margin-top: -60px;
    position: relative;
    z-index: 5;
    padding-bottom: 8px;
}

.service-mini-card {
    background-color: var(--white-color);
    border: 1px solid rgba(70, 113, 182, 0.10);
    border-radius: 18px;
    padding: 28px 16px 26px;
    text-align: center;
    box-shadow: 0 14px 34px rgba(70, 113, 182, 0.14);
    height: 100%;
    min-height: 215px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.service-mini-card:hover {
    transform: translateY(-8px);
    border-color: rgba(44, 174, 228, 0.38);
    box-shadow: 0 22px 44px rgba(70, 113, 182, 0.22);
}

.service-mini-card .icon-wrap {
    width: 96px;
    height: 96px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 2rem;
    transition: var(--transition);
    box-shadow: 0 12px 28px rgba(44, 174, 228, 0.26);
}

.service-mini-card:hover .icon-wrap {
    transform: scale(1.06);
    box-shadow: 0 16px 32px rgba(44, 174, 228, 0.34);
}

.service-mini-card span {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.3;
    max-width: 190px;
}

@media (max-width: 575px) {
    .service-mini-card {
        min-height: 190px;
        padding: 24px 14px;
    }

    .service-mini-card .icon-wrap {
        width: 84px;
        height: 84px;
        font-size: 1.75rem;
    }
}

/* Large Service Details Card */
.service-details-card {
    background-color: var(--white-color);
    border-radius: 30px;
    padding: 60px;
    box-shadow: 0 1px 6px rgb(160, 160, 160);
    margin-top: 80px;
}

.service-details-title-box {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
}

.service-details-title-box h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 0;
    font-weight: 700;
}

.service-details-card .line {
    width: 50px;
    height: 4px;
    background-color: var(--accent-color);
    margin-bottom: 30px;
}

.service-details-card .intro-text {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.service-list-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
}

.service-feature-list {
    list-style: none;
    padding: 0;
}

.service-feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(70, 113, 182, 0.05);
    color: var(--primary-color);
}

.service-feature-item:last-child {
    border-bottom: none;
}

.service-feature-item i {
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.service-img-box {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.service-img-box img {
    width: 100%;
    object-fit: cover;
}

.info-band-service {
    background:var(--primary-color);
    color: var(--white-color);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-radius: 0 0 20px 20px;
    margin-top: -5px;
    position: relative;
    z-index: 2;
}

.info-band-service .icon-circle {
    width: 40px;
    height: 40px;
    background-color: var(--white-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-band-service p {
    margin-bottom: 0;
    font-size: 0.9rem;
    font-weight: 500;
}

.info-band-service .line {
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
    margin-top: 5px;
    margin-bottom: 0;
}

/* 
================================================================
AJUSTE DE ALTURA DEL HERO DE CONTACTO
Reduce el alto del banner superior de la página Contáctenos
================================================================
*/

.hero-contacto-bajo {
    height: 240px !important;
    min-height: 240px !important;
    max-height: 240px !important;
    padding: 0 !important;
}

/* 
================================================================
MÁSCARA DE COLOR PARA HERO DE CONTACTO
Crea una capa de color sobre la imagen del banner
================================================================
*/

.hero-contacto {
    position: relative;
    overflow: hidden;
}

.hero-contacto::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.7),
        rgba(0, 0, 0, 0.7)
    );
    z-index: 1;
}

.hero-contacto-content {
    position: relative;
    z-index: 2;
}

.hero-contacto h1,
.hero-contacto p {
    color: #ffffff !important;
}

.hero-contacto .line {
    background-color: #ffffff;
}

/* =====================================================
   INICIO ESTILOS SECCIÓN NUESTROS SERVICIOS - HOME
===================================================== */

/* 
================================================================
AJUSTES RESPONSIVE DE HEROES
================================================================
*/

.carousel-caption h2,
.service-hero h1,
.hero-contacto h1 {
    overflow-wrap: anywhere;
}

@media (max-width: 991px) {
    .hero-slider .carousel-item {
        height: auto;
        min-height: 620px;
    }

    .hero-slider img {
        min-height: 620px;
    }

    .carousel-caption {
        left: 12%;
        right: 12%;
        bottom: auto;
        top: 50%;
        transform: translateY(-50%);
        max-width: none;
        padding: 0;
    }

    .carousel-caption h2 {
        font-size: clamp(2rem, 8vw, 3.2rem);
        line-height: 1.08;
    }

    .carousel-caption p {
        font-size: clamp(1rem, 3.8vw, 1.18rem);
        line-height: 1.55;
        margin-top: 16px;
        margin-bottom: 24px;
        max-width: 520px;
    }

    .service-hero {
        min-height: 390px;
        padding: 72px 0 96px;
        background-position: center;
        display: flex;
        align-items: center;
    }

    .service-hero h1 {
        font-size: clamp(2.1rem, 8vw, 3rem);
        line-height: 1.08;
        letter-spacing: 1px;
    }

    .service-hero p {
        font-size: clamp(0.98rem, 3.6vw, 1.08rem);
        line-height: 1.65;
        max-width: 100%;
    }

    .hero-contacto,
    .hero-contacto.hero-contacto-bajo {
        height: auto !important;
        min-height: 300px !important;
        max-height: none !important;
        padding: 56px 0 !important;
        background-position: center;
        display: flex;
        align-items: center;
    }

    .hero-contacto h1 {
        font-size: clamp(2rem, 8vw, 2.8rem);
        line-height: 1.08;
    }

    .hero-contacto p {
        font-size: clamp(0.98rem, 3.7vw, 1.15rem);
        line-height: 1.6;
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .hero-slider .carousel-item {
        min-height: 610px;
    }

    .hero-slider img {
        min-height: 610px;
    }

    .carousel-overlay {
        background: linear-gradient(to bottom, rgba(0,0,0,0.58), rgba(0,0,0,0.72));
    }

    .carousel-caption {
        left: 58px;
        right: 58px;
        text-align: center;
    }

    .carousel-caption h2 {
        font-size: clamp(1.7rem, 9.8vw, 2.75rem);
        line-height: 1.1;
        margin-inline: auto;
    }

    .carousel-caption p {
        font-size: clamp(0.95rem, 4.3vw, 1.08rem);
        line-height: 1.55;
        margin: 14px auto 22px;
    }

    .hero-line {
        width: 52px;
        height: 3px;
        margin: 0 auto 14px;
    }

    .carousel-caption .btn-primary-custom {
        width: min(100%, 280px);
        justify-content: center;
        padding: 12px 18px;
        font-size: 0.95rem;
        white-space: normal;
    }

    .hero-slider .carousel-indicators {
        bottom: 20px;
        margin-bottom: 0;
    }

    .service-hero {
        min-height: 420px;
        padding: 68px 0 106px;
        text-align: center;
    }

    .service-hero .line {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 22px;
    }

    .service-mini-grid {
        margin-top: -72px;
    }

    .hero-contacto,
    .hero-contacto.hero-contacto-bajo {
        min-height: 320px !important;
        padding: 58px 0 !important;
        text-align: center;
    }

    .hero-contacto .line {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 420px) {
    .hero-slider .carousel-item,
    .hero-slider img {
        min-height: 590px;
    }

    .carousel-caption {
        left: 46px;
        right: 46px;
    }

    .carousel-caption h2 {
        font-size: clamp(1.48rem, 9vw, 2.2rem);
    }

    .carousel-caption p {
        font-size: 0.94rem;
        line-height: 1.5;
    }

    .hero-slider .carousel-control-prev,
    .hero-slider .carousel-control-next {
        width: 36px;
        height: 36px;
    }

    .hero-slider .carousel-control-prev {
        left: 8px;
    }

    .hero-slider .carousel-control-next {
        right: 8px;
    }

    .service-hero h1,
    .hero-contacto h1 {
        font-size: 1.9rem;
    }

    .service-hero p,
    .hero-contacto p {
        font-size: 0.94rem;
    }
}

.home-services-section {
    background: #f8fbff;
    padding: 86px 0;
}

.home-services-container {
    max-width: 1440px;
}

.home-services-heading {
    max-width: 760px;
    margin: 0 auto 48px;
}

.home-services-heading h2 {
    color: var(--primary-color);
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.home-services-heading p {
    color: #4f5d7c;
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

.home-services-line {
    width: 74px;
    height: 4px;
    border-radius: 999px;
    background-color: var(--accent-color);
    margin: 22px auto 0;
}

.home-services-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
}

.home-service-card {
    min-height: 430px;
    background-color: var(--white-color);
    border: 1px solid rgba(70, 113, 182, 0.08);
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(70, 113, 182, 0.10);
    padding: 34px 24px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.home-service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(44, 174, 228, 0.35);
    box-shadow: 0 22px 46px rgba(70, 113, 182, 0.18);
}

.home-service-icon {
    width: 98px;
    height: 98px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    margin-bottom: 24px;
    box-shadow: 0 12px 26px rgba(44, 174, 228, 0.28);
}

.home-service-title {
    color: #17316f;
    font-size: 1.18rem;
    line-height: 1.35;
    margin-bottom: 18px;
}

.home-service-text {
    color: #53617f;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

.home-service-btn {
    width: 100%;
    max-width: 188px;
    min-height: 48px;
    margin-top: auto;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent-color), #087fe2);
    color: var(--white-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(44, 174, 228, 0.25);
}

.home-service-btn:hover {
    color: var(--white-color);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transform: translateY(-2px);
}

.home-service-btn i,
.home-services-cta-btn i {
    transition: transform 0.3s ease;
}

.home-service-btn:hover i,
.home-services-cta-btn:hover i {
    transform: translateX(4px);
}

.home-services-cta {
    max-width: 940px;
    margin: 42px auto 0;
    padding: 22px 28px;
    border: 1px solid rgba(44, 174, 228, 0.38);
    border-radius: 14px;
    background: linear-gradient(135deg, #ffffff, #f0f8ff);
    box-shadow: 0 14px 34px rgba(70, 113, 182, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.home-services-cta-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    flex: 0 0 auto;
}

.home-services-cta-title {
    color: #087fe2;
    font-size: 1rem;
    font-weight: 800;
    white-space: nowrap;
}

.home-services-cta-divider {
    width: 1px;
    height: 42px;
    background-color: rgba(70, 113, 182, 0.22);
}

.home-services-cta p {
    color: #53617f;
    line-height: 1.55;
    margin: 0;
    flex: 1 1 auto;
}

.home-services-cta-btn {
    min-width: 154px;
    min-height: 46px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent-color), #087fe2);
    color: var(--white-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 700;
    flex: 0 0 auto;
    box-shadow: 0 10px 20px rgba(44, 174, 228, 0.22);
}

.home-services-cta-btn:hover {
    color: var(--white-color);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transform: translateY(-2px);
}

@media (max-width: 1199px) {
    .home-services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .home-services-section {
        padding: 72px 0;
    }

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

    .home-services-cta {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .home-services-cta-divider {
        display: none;
    }

    .home-services-cta p {
        flex-basis: 100%;
        order: 4;
    }

    .home-services-cta-btn {
        margin-left: auto;
    }
}

@media (max-width: 767px) {
    .home-services-section {
        padding: 60px 0;
    }

    .home-services-heading {
        margin-bottom: 34px;
    }

    .home-services-heading h2 {
        font-size: 1.85rem;
    }

    .home-services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .home-service-card {
        min-height: auto;
        padding: 30px 22px 28px;
    }

    .home-services-cta {
        margin-top: 34px;
        padding: 24px 20px;
        text-align: center;
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .home-services-cta-title {
        white-space: normal;
    }

    .home-services-cta p {
        order: initial;
    }

    .home-services-cta-btn {
        width: 100%;
        max-width: 210px;
        margin-left: 0;
    }
}

/* =====================================================
   FIN ESTILOS SECCIÓN NUESTROS SERVICIOS - HOME
===================================================== */
