.background-1{
    background: #28579F;
}
.background-2{
    background: #F7F5F4;
}

/* Íconos de ubicación y horario en blanco */
.top-bar-area .item-flex li i {
    color: #ffffff !important;
    margin-right: 8px;
    font-size: 16px;
}

/* Íconos de redes sociales en blanco */
.top-bar-area .social ul li a,
.top-bar-area .social ul li a i {
    color: #ffffff !important;
}

.top-bar-area .social ul li a:hover,
.top-bar-area .social ul li a:hover i {
    color: #f0f0f0 !important;
} 
/* Overlay del banner con gradiente */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        #005799 0%, 
        #006A89 26%, 
        #006D76 71%, 
        #00625C 100%);
    opacity: 0.40;
    z-index: 1;
}

.banner-style-five-area {
    position: relative;
}


/* Quitar el overlay azul del banner */
.banner-style-five .information::after {
    display: none !important;
}
ul.list-style-seven li .icon::after{
    display: none !important;
}

.btn.btn-secondary{
    color: #ffffff !important;
    border: 1px solid var(--white);
    background: #0E7089;
    border-radius: 5px;
    padding: 10px 30px;
}

/* Botones del banner: solo primera letra en mayúscula */
.banner-style-five .bottom .btn {
    text-transform: none !important;
}

/* Espaciado entre encabezado y tarjetas de servicios */
.services-style-one-area .site-heading {
    margin-bottom: 60px !important;
}

.services-style-one-area .container:first-of-type {
    margin-bottom: 40px !important;
}

/* Alternativa más específica */
.services-style-one-area > .container:first-child {
    margin-bottom: 60px !important;
    padding-bottom: 40px !important;
}

/* Altura uniforme de tarjetas en desktop */
@media (min-width: 992px) {
    .services-style-one-area .row {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
    }
    
    .services-style-one-area .col-lg-3 {
        display: flex;
        flex-direction: column;
    }
    
    .services-style-one {
        flex: 1;
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    
    .services-style-one .info {
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    
    .services-style-one .content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .services-style-one .content .icon {
        flex-shrink: 0;
    }
    
    .services-style-one .content h4 {
        flex-shrink: 0;
    }
    
    .services-style-one .content p {
        flex: 1;
        display: flex;
        align-items: flex-start;
    }
    
    .services-style-one .content a {
        flex-shrink: 0;
        margin-top: auto;
    }
}

/* En mobile, altura automática */
@media (max-width: 991px) {
    .services-style-one {
        height: auto !important;
    }
    
    .services-style-one .content {
        height: auto !important;
    }
}

/* Estilos para la sección de clientes */
.clients-area {
    background-color: #f8f9fa !important;
}

.clients-logo-area {
    margin-top: 50px;
}

.client-logo-item {
    transition: all 0.3s ease;
}

.client-logo-item img {
    max-height: 90px;
    width: auto;
    transition: all 0.3s ease;
}

.client-logo-item:hover img {
    transform: scale(1.05);
}

/* Responsive para logos de clientes */
@media (max-width: 768px) {
    .client-logo-item {
        padding: 15px;
    }
    
    .client-logo-item img {
        max-height: 80px;
    }
}

@media (max-width: 576px) {
    .client-logo-item {
        padding: 10px;
    }
    
    .client-logo-item img {
        max-height: 80px;
    }
}

.padding-personalizado{
    padding-top: 70px !important;
    padding-bottom: 70px !important;
}
.padding-servicios{
    padding-top: 120px !important;
    padding-bottom: 0px !important;
}

h4.widget-title{
    font-size: 13px !important;
}
.sub-title-banner{
    color: #ffffff;
    font-size: 14px !important;
    font-weight: 600 !important;
}
.title-banner{
    font-size: 30px !important;
    font-weight: 600 !important;
}

.service-title{
    font-size: 30px !important;
    font-weight: 600 !important;
    color: #28579F !important;
}
.service-sub-title{
    font-size: 16px !important; 
    font-weight: 700 !important;
    color: #28579F !important;
}

/* Clase personalizada para 5 elementos por fila */
@media (min-width: 992px) {
    .col-lg-5-items {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

/* Estilos para logos de clientes */
.client-logo-item img {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    padding: 20px 20px;
    height: 200px;
    object-fit: contain;
    width: 100%;
}

.client-logo-item img:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Estilos para sección de contacto */
.contact-info-section {
    padding: 40px;
    margin-top: 147px;
}

.info-title {
    color: #0E7089;
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: #28579F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.info-icon i {
    color: white;
    font-size: 18px;
}

.info-content {
    flex: 1;
}

.info-label {
    font-weight: 700;
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.info-content p,
.info-content a {
    color: #666;
    font-size: 14px;
    margin: 0;
    text-decoration: none;
}

.info-content a:hover {
    color: #28579F;
}

.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.title.split-text{
    font-size: 40px !important;
}

/* Estilos responsive para botones del banner en mobile */
@media (max-width: 767px) {
    /* Ajustar altura mínima del banner */
    .banner-style-five-area {
        min-height: 500px;
        display: flex;
        align-items: center;
    }
    
    /* Ajustar padding del contenedor */
    .banner-style-five .container {
        padding: 40px 15px;
    }
    
    /* Ajustar información */
    .banner-style-five .information {
        margin-top: 40px !important;
        margin-bottom: 30px !important;
        padding: 0;
    }
    
    /* Título más pequeño y legible */
    .banner-style-five .information h2 {
        font-size: 24px !important;
        line-height: 1.3 !important;
        margin-bottom: 20px !important;
        font-weight: 700 !important;
    }
    
    /* Párrafo sin padding derecho y tamaño adecuado */
    .banner-style-five .information p {
        font-size: 14px !important;
        line-height: 1.6 !important;
        padding-right: 0 !important;
        margin-bottom: 25px !important;
    }
    
    /* Botones en columna */
    .banner-style-five .bottom {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        margin-top: 20px !important;
    }
    
    .banner-style-five .bottom .btn {
        width: 100%;
        margin: 0 !important;
        text-align: center;
        padding: 14px 20px !important;
        font-size: 15px !important;
        white-space: normal;
        word-wrap: break-word;
    }
    
    /* Ajustar contenido general */
    .banner-style-five .content {
        padding: 60px 0 !important;
    }
    
    /* Ajustar row */
    .banner-style-five .row {
        margin: 0;
    }
    
    .banner-style-five .col-xl-8,
    .banner-style-five .col-lg-8 {
        padding: 0 15px;
    }
}

/* Estilos adicionales para móviles muy pequeños */
@media (max-width: 480px) {
    .banner-style-five-area {
        min-height: 450px;
    }
    
    .banner-style-five .information {
        margin-top: 30px !important;
    }
    
    .banner-style-five .information h2 {
        font-size: 22px !important;
        line-height: 1.2 !important;
        margin-bottom: 15px !important;
    }
    
    .banner-style-five .information p {
        font-size: 13px !important;
        line-height: 1.5 !important;
        margin-bottom: 20px !important;
    }
    
    .banner-style-five .bottom .btn {
        padding: 12px 18px !important;
        font-size: 14px !important;
    }
    
    .banner-style-five .content {
        padding: 50px 0 !important;
    }
}

img.custom-logo{
    width: 250px !important;
    height: auto !important;
    margin-top: 9px;
    object-fit: contain !important;
    padding: 5px;
}


.sticked .custom-logo{
    width: 150px !important;
    height: auto !important;
     
}

/* Estilos para el timeline de pasos del servicio */
.service-steps-timeline {
    position: relative;
    padding: 60px 0;
}

.timeline-line {
    position: absolute;
    top: 90px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: linear-gradient(to right, #e0e0e0 0%, #e0e0e0 100%);
    z-index: 1;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    gap: 20px;
}

.step-item-timeline {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    position: relative;
}

.step-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 3;
}

.step-icon-circle:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.step-icon-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.step-content {
    margin-bottom: 15px;
}

.step-title-timeline {
    font-weight: 700;
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.3;
}

.step-subtitle {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.step-description-box {
    position: absolute;
    top: 140px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 20px;
    width: 300px;
    z-index: 10;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.description-content {
    text-align: left;
}

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

.description-list li {
    margin-bottom: 10px;
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: flex-start;
}

.step-item-timeline.active .step-description-box {
    display: block !important;
}

/* Responsive para pasos del servicio */
@media (max-width: 991px) {
    .steps-container {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .step-item-timeline {
        flex: 0 0 calc(50% - 20px);
        margin-bottom: 40px;
    }
    
    .timeline-line {
        display: none;
    }
    
    .step-description-box {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        margin-top: 15px;
    }
}

@media (max-width: 767px) {
    .step-item-timeline {
        flex: 0 0 100%;
    }
    
    .step-icon-circle {
        width: 70px;
        height: 70px;
    }
    
    .step-title-timeline {
        font-size: 14px;
    }
}

/* ============================================
   Acordeón - Filosofía
   ============================================ */

/* Padding personalizado para la sección de filosofía */
.history-style-one-area.default-padding {
    padding: 50px 0;
}

/* Estilos responsive para nuestra-historia - SOLO MOBILE */
@media (max-width: 991px) {
    /* Hacer que las columnas ocupen 100% en mobile */
    .about-style-two-area .col-lg-4 {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    .about-style-two-area .col-lg-8 {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    /* Cambiar flex direction solo en mobile */
    .historia-responsive {
        flex-direction: column !important;
    }
    
    .historia-responsive .thumb {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100%;
        margin-bottom: 30px;
    }
    
    .historia-responsive .info {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100%;
        padding-left: 0 !important;
    }
    
    .historia-responsive .info h2.title {
        font-size: 32px !important;
        text-align: center;
    }
    
    .historia-responsive .info .sub-title {
        text-align: center;
    }
    
    .historia-responsive .info .list-check {
        text-align: left;
    }
    
    .historia-responsive .info .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .historia-responsive .info h2.title {
        font-size: 28px !important;
    }
}

.filosofia-accordion {
    width: 100%;
}

.accordion-item {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.accordion-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: #f9f9f9;
}

.accordion-item.active .accordion-header {
    background-color: #f5f8fc;
    border-bottom: 2px solid #e8f1ff;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #015FC9 0%, #0E7089 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(1, 95, 201, 0.3);
    transition: transform 0.3s ease;
}

.accordion-header:hover .icon-circle {
    transform: scale(1.05);
}

.icon-circle img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.accordion-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.toggle-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.toggle-icon i {
    font-size: 16px;
    color: #666;
    transition: transform 0.3s ease;
}

.accordion-item.active .toggle-icon {
    background: #015FC9;
    transform: rotate(45deg);
}

.accordion-item.active .toggle-icon i {
    color: white;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
}

.content-inner {
    padding: 0 30px 30px 110px;
    margin-top: 10px;
    line-height: 1.8;
    color: #555;
}

.content-inner p {
    margin-bottom: 15px;
    font-size: 15px;
}

.content-inner p:last-child {
    margin-bottom: 0;
}

/* Responsive para acordeón */
@media (max-width: 991px) {
    .accordion-header {
        padding: 20px 25px;
    }
    
    .icon-circle {
        width: 50px;
        height: 50px;
    }
    
    .icon-circle img {
        width: 25px;
        height: 25px;
    }
    
    .accordion-title {
        font-size: 20px;
    }
    
    .content-inner {
        padding: 0 25px 25px 95px;
    }
}

@media (max-width: 767px) {
    .accordion-header {
        padding: 15px 20px;
    }
    
    .header-left {
        gap: 15px;
    }
    
    .icon-circle {
        width: 45px;
        height: 45px;
    }
    
    .icon-circle img {
        width: 22px;
        height: 22px;
    }
    
    .accordion-title {
        font-size: 18px;
    }
    
    .toggle-icon {
        width: 35px;
        height: 35px;
    }
    
    .content-inner {
        padding: 0 20px 20px 20px;
        font-size: 14px;
    }
}

/* SOLO MOBILE – mover hamburguesa a la derecha */
/* ================================================
   ✅ FIX MENÚ MOBILE: Hamburguesa a la derecha
   Solo aplica en mobile / tablet
   ================================================ */
/* ================================================
   ✅ Solo MOBILE – mover hamburguesa a la derecha
   ================================================ */
@media (max-width: 991px) {

    .navbar-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
    }

    .navbar-brand {
        order: 1;
    }

    .navbar-toggle {
        order: 2;
        margin-left: auto !important;
        display: flex !important;
    }
}

/* ================================================
   ✅ Desktop – restaurar funcionamiento original
   ================================================ */
@media (min-width: 992px) {

    /* Vuelve al comportamiento original del theme en desktop */
    .navbar-header {
        display: block !important;
        width: auto !important;
    }

    .navbar-toggle {
        display: none !important;
    }
}


/* Ajuste responsivo del banner (texto demasiado abajo en mobile) */
.information-banner-home {
    margin-top: 170px !important; /* solo desktop */
}

@media (max-width: 991px) {
    .information-banner-home {
        margin-top: 60px !important; /* ajusta según tu gusto (40-80px) */
    }
}

@media (max-width: 576px) {
    .information-banner-home {
        margin-top: 30px !important; /* mobile chico */
    }
}

.texto-mobile p {
	font-size: 14px !important;
}


.banner-style-five {
    position: relative;
    z-index: 2;
}

/* Mantiene el alto completo */
.banner-home {
    height: 100vh !important;
    display: flex;
    align-items: center;   /* Centra vertical */
}
  
.nav.navbar.validnavs .navbar-collapse.collapse button {
	display:none
}


 