:root {
    --primary: #EA3235;
    --dark: rgb(6, 18, 50);
    --white: #FFFFFF;
    --gray: #f5f5f5;
    --dark-gray: #333;
}


/*=============== HEADER ================*/
.header-nosotros {
    position: relative;
    height: 100vh;
    color: var(--white);
    padding: 2rem 5%;
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    overflow: hidden;
}

/* Imagen de fondo */
.header-nosotros::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(../imgs/banner/nosotros_banner.png);
    background-size: cover;
    background-position: center;
    z-index: -2;
}

/* Overlay con el color especificado */
.header-nosotros::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        #061232C4 40%,
        rgba(6, 18, 50, 0.6) 100%
    );
    z-index: -1;
}

/* Degradado entre cajas - usa un div extra en el HTML */
.degrade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 220px; 
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0),
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.10),
        rgba(255, 255, 255, 0.20),
        rgba(255, 255, 255, 0.35),
        rgba(255, 255, 255, 0.55),
        rgba(255, 255, 255, 0.75),
        rgba(255, 255, 255, 0.90),
        #ffffff
    );
    z-index: 1;
    pointer-events: none;
}
/*================================QUIENES SOMOS=======================*/
/* QUIENES SOMOS SECTION */
.quienes_somos {
    position: relative;
    padding: 60px 5%;
    background: var(--white);
}

.borde-superior {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: #394D9200;
}

.quienes_somos .sec_1 {
    border-top: solid #321CA8 5px;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 40px;
    align-items: center;
    margin: 40px auto 60px;
    padding: 30px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 85%;
}

.logo-empresa {
    width: 100%;
    height: auto;
    max-width: 150px;
    margin: auto;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.descripcion-empresa {
    text-align: left;
    padding: 20px 0;
}

.descripcion-empresa p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--dark);
}

.highlight {
    color: var(--primary);
    font-weight: 600;
}

.mapa-peru {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.15));
    transition: transform 0.3s ease;
}

.mapa-peru:hover {
    transform: scale(1.05);
}

.sec_general {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.sec_item {

    border-top: solid 10px #EE3049;
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.sec_item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

@media (max-width: 1024px) {
    .quienes_somos .sec_1 {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .descripcion-empresa {
        text-align: center;
    }

    .mapa-peru {
        max-width: 200px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .sec_general {
        grid-template-columns: 1fr;
    }
    
    .quienes_somos .sec_1 {
        width: 95%;
        padding: 20px;
    }
}



/* ==============POR QUÉ INFORMAPERU*/
.porque-informa {
    padding: 80px 0;
    background-image: url('../imgs/porqueInforma/porqueInforma.png');
    background-size: cover;
    background-position: center;
    position: relative;
}

.porque-informa::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
}

.porque-informa .container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.titulo-seccion {
    font-size: 2.5rem;
    color: #394D92;
    margin-bottom: 60px;
    text-align: left;
}

.titulo-seccion span {
    color: #EA3235;
}

.titulo-seccion::after {
    display: none;
}

.razones-grid {
    display: grid;
    gap: 40px;
}

.razon-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.numero {
    background: #EA3235;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    flex-shrink: 0;
}

.razon-contenido h3 {
    color: #394D92;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.razon-contenido p {
    color: var(--dark);
    font-size: 1.1rem;
    line-height: 1.6;
}

.razon-contenido p span {
    color: #EA3235;
}

.unete-mensaje {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.unete-icon {
    color: #EA3235;
    font-size: 1.8rem;
}

.unete-mensaje h3 {
    color: #EA3235;
    font-size: 1.5rem;
    margin: 0;
}

@media (max-width: 768px) {
    .porque-informa {
        padding: 60px 0;
    }

    .titulo-seccion {
        font-size: 2rem;
        text-align: center;
    }

    .razon-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .unete-mensaje {
        flex-direction: column;
        text-align: center;
    }
}

/* =============MJSION, VISION, VALORES===============*/
.mision-vision-valores {
    padding: 80px 0;
    background: linear-gradient(135deg, #04112A, #21548D, #BC3A56);
    color: var(--white);
}

.mv-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Estilos para Misión y Visión */
.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.mv-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mv-item h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: left;
}

.mv-item h2::after {
    display: none;
}

.mv-item p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Estilos para Valores */
.valores-seccion {
    text-align: center;
}

.valores-seccion h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
}

.valores-seccion h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 3px;
    background-color: var(--white);
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.valor-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.valor-item:hover {
    transform: translateY(-10px);
}

.valor-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.valor-item h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.valor-item p {
    font-size: 1rem;
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .valores-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mv-grid {
        grid-template-columns: 1fr;
    }

    .valores-grid {
        grid-template-columns: 1fr;
    }

    .mv-item, .valor-item {
        padding: 20px;
    }
}

/* =============================COBTACTANOS============ */
.contactanos {
    padding: 80px 0;
    background: var(--white);
}

.contactanos .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contacto-titulo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 50px;
}

.contacto-titulo i {
    color: var(--primary);
    font-size: 1.5rem;
}

.contacto-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* Estilos comunes para las cajas */
.ubicacion-box, .contacto-box {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.ubicacion-box:hover, .contacto-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Headers de las cajas */
.box-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.box-header i {
    color: var(--primary);
    font-size: 1.5rem;
}

.box-header h3 {
    color: #061232;
    font-size: 1.3rem;
    margin: 0;
}

/* Contenido de las cajas */
.box-content {
    padding: 20px;
}

/* Ubicación específicos */
.direccion {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.direccion i {
    color: var(--primary);
}

.mapa {
    border-radius: 10px;
    overflow: hidden;
}

/* Contacto Directo específicos */
.contacto-box-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contacto-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.contacto-item:hover {
    transform: translateX(10px);
}

.contacto-item i {
    color: var(--primary);
}

/* Botón WhatsApp */
.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: var(--white);
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* Redes Sociales */
.redes-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    justify-items: center;
}

.redes-grid a {
    transition: transform 0.3s ease;
}

.redes-grid a:hover {
    transform: translateY(-5px);
}

.redes-grid img {
    width: 30px;
    height: 30px;
}

@media (max-width: 768px) {
    .contacto-layout {
        grid-template-columns: 1fr;
    }

    .contacto-item:hover {
        transform: translateX(0) translateY(-5px);
    }
}
/*=============== ROOT ================*/
:root {
    --primary: #EA3235;
    --dark: rgb(6, 18, 50);
    --white: #FFFFFF;
    --gray: #f5f5f5;
    --dark-gray: #333; 
}

* {
    margin: 0;
    padding: 0;
    font-family: 'Kufam', sans-serif;
    box-sizing: border-box;
    text-decoration: none;
}

body {
    color: var(--dark);
    line-height: 1.6;
}

/*=============== NAV ================*/
nav {
    background-color: var(--white);
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    position: fixed;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo img {
    height: 60px;
    width: auto;
}


/*=============== HEADER ================*/
.header-home {
    overflow: hidden;
    position: relative;
    z-index: 0;
    /**/
    height: 100vh;
    color: var(--white);
    padding: 2rem 5%;
    display: flex;
    flex-direction: column;
    background-image: url(../imgs/home/1.png),        
    linear-gradient(
        to bottom, 
        rgba(6, 18, 50, 0.8),  
        rgba(255, 255, 255, 0.3)   
    );
    width: 100%;
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    justify-content: center;
}

.hero {
    max-width: 60%;
    margin-top: 60px;
}

.hero h1 {
    font-family: 'Kufam', sans-serif;
    font-size: 4rem;
    margin: 2rem 0 1.5rem 0;
    color: var(--primary);
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.divider {
    width: 100px;
    height: 4px;
    background: var(--primary);
    margin: 1.5rem 0;
}

.description {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 80%;
    color: var(--white);
}

.btn-contact {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
}

.btn-contact a{
    text-decoration: none;
    color: var(--white);
}

.btn-contact:hover {
    background: #d6282a;
    transform: translateX(5px);
}
/*=============== DEGRADE ENTRE CAJAS ================*/
.header-home::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 220px; 
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0),
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.10),
        rgba(255, 255, 255, 0.20),
        rgba(255, 255, 255, 0.35),
        rgba(255, 255, 255, 0.55),
        rgba(255, 255, 255, 0.75),
        rgba(255, 255, 255, 0.90),
        #ffffff
    );
    z-index: 1;
    pointer-events: none;
}




/*=============== MAIN SECTIONS ================*/
/* main {
    padding: 40px 5%;
} */

section {
    margin-bottom: 80px;
    padding: 40px 5%;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--dark);
    text-align: center;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 15px auto;
}

.sec_general h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark);
}




/* CONTACTO SECTION */
.contacto {
    position: relative;
    padding: 60px 20px;
    background: linear-gradient(180deg, var(--gray) 0%, #ffffff 100%);
}

.contacto-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1),
                0 5px 15px rgba(234, 50, 53, 0.1);
    max-width: 1000px;
    margin: 0 auto;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.contacto-wrapper:hover {
    transform: translateY(-5px);
}

.contacto-titulo {
    color: var(--primary);
    font-size: 2.5rem;
    text-align: left;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.contacto-titulo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.contacto-subtitulo {
    color: var(--dark);
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.5;
}

.contacto-coment {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: bold;
    margin: 20px 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px 20px;
    border: 2px solid #eee;
    border-radius: 30px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
    width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(234, 50, 53, 0.1);
    outline: none;
}

.ruc-input {
    width: 100%;
}

.contact-form textarea {
    height: 150px;
    border-radius: 15px;
    resize: none;
}

.btn-enviar {
    background: var(--primary);
    color: var(--white);
    padding: 15px 50px;
    font-size: 1.1rem;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(234, 50, 53, 0.3);
    width: fit-content;
    margin: 0 auto;
}

.btn-enviar:hover {
    background: #d6282a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(234, 50, 53, 0.4);
}

.form-message {
    text-align: center;
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
    display: none;
}

.form-message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Botón para subir */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #d6282a;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(234, 50, 53, 0.4);
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contacto-wrapper {
        padding: 20px;
    }
    
    .contacto-titulo {
        font-size: 2rem;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
    }
    
    .contacto {
        margin: 20px;
        padding: 20px;
    }
    
    .contacto-titulo {
        font-size: 2rem;
    }
}

/* FOOTER STYLES */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 60px 5% 30px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: var(--primary);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: var(--primary);
}

.whatsapp-contact {
    color: #25D366;
    cursor: pointer;
}

.social-icons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 30px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    transition: transform 0.3s;
}

.social-icons a:hover {
    transform: translateY(-5px);
}

.social-icons .tiktok { background-color: #000000; }
.social-icons .linkedin { background-color: #0077B5; }
.social-icons .instagram { background: #E4405F; }
.social-icons .facebook { background-color: #1877F2; }
.social-icons .twitter { background-color: #000000; }



.libro-reclamaciones img {
    width: 150px;
    height: auto;
    margin-top: 15px;
}


.footer-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.footer-link {
    background-color: var(--white);
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    font-size: 0.9rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}



/* Estilos para Equipo de Expertos */
.equipo-expertos {
    padding: 80px 0;
    text-align: center;
}

.equipo-expertos .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.equipo-expertos h2 {
    color: var(--dark);
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.equipo-expertos h2:after {
    display: none;
}

.equipo-expertos .intro {
    color: var(--dark);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.divider-line {
    width: 100px;
    height: 3px;
    background-color: var(--dark);
    margin: 30px auto 50px;
}

.expertos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.experto-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: center;
}

.experto-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
}

.experto-info h3 {
    color: var(--dark);
    font-size: 1.3rem;
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 768px) {
    .expertos-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .equipo-expertos h2 {
        font-size: 2rem;
    }

    .equipo-expertos .intro {
        font-size: 1.1rem;
    }
}




/* Estilos para Nuestras Alianzas */
.nuestras-alianzas {
    background-color: var(--gray);
    padding: 80px 0;
}

.nuestras-alianzas h2 {
    text-align: center;
    margin-bottom: 50px;
}

.alianzas-container {
    max-width: 1200px;
    margin: 0 auto;
}

.alianza-categoria {
    margin-bottom: 60px;
    display: flex;
}

.categoria-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.categoria-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.categoria-title1 {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
    margin-right: 400px;
    font-size: 25px;
}

#clientes_ {
    color: #2E64D4;
    font-weight: 100;
    margin: 0 1.5ch 0 0;
}

#socios_ {
    color: #d42e2e;
    font-weight: 100;
    margin: 0 1.5ch 0 0;
}



/* Contenedor principal del slider */
.logos-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
}
.cont_hero {
    display: flex;
    gap: 30px; /* Espacio entre slides */
    width: max-content; /* Ajusta el ancho al contenido */
    animation: scroll 30s linear infinite;
}
.slider-track {
    display: flex;
    gap: 40px;
    animation: scroll 25s linear infinite;
    width: 200%;
}

.slider-track img {
    height: 15ch;
    width: auto;
    object-fit: contain;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 20px));
    }
}

/* Hover effect para pausar el slider */
.logos-slider:hover .slider-track {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .categoria-header {
        justify-content: center;
    }
    
    .slider-track {
        gap: 20px;
    }
    
    .slider-track img {
        height: 40px;
    }
}

/* Estilos para Noticias */
.noticias {
    background: linear-gradient(45deg, #090E1B, #220B24, #090E1B);
    padding: 80px 0;
    color: var(--white);
}

.noticias .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.noticias-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.noticias-intro h2 {
    color: #4864D9;
    font-size: 1.2rem;
    text-align: left;
    margin-bottom: 20px;
}

.noticias-intro h2:after {
    display: none;
}

.noticias-intro .subtitulo {
    color: var(--white);
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 30px;
}

.leer-mas {
    color: var(--primary);
    text-decoration: none;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.noticias-destacadas {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.noticia-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 40ch;
    cursor: pointer;
}

.noticia-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s;
}

.noticia-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
}

.noticia-content h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.noticia-content p {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.arrow-icon {
    color: var(--white);
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
}

.noticia-item:hover img {
    transform: scale(1.05);
}

.noticia-item:hover .arrow-icon {
    opacity: 1;
    transform: translateX(10px);
}

@media (max-width: 1024px) {
    .noticias-grid {
        grid-template-columns: 1fr;
    }
    
    .noticias-destacadas {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .noticias-intro .subtitulo {
        font-size: 2rem;
    }
    
    .noticia-item img {
        height: 250px;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .noticias-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .noticias-intro {
        padding-right: 0;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .experto-item {
        flex-direction: column;
        text-align: center;
    }
    
    .icono-svg {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .logo-item {
        width: 160px;
        height: 70px;
        padding: 15px 20px;
    }
}





@media (max-width: 768px) {
    .footer-columns {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .hero {
        max-width: 80%;
    }
    
    .quienes_somos .sec_1 {
        grid-template-columns: 1fr;
    }
    
    .sec_general {
        grid-template-columns: 1fr;
    }
    
    .solucion-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .contact-form textarea,
    .btn-enviar {
        grid-column: span 1;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
}



/*  */
.logos-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 180px;
}

.logos-slider1 {
    overflow: hidden;
    position: relative;
    width: 220px;
    height: 180px;
}
.slider-track {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
    gap: 60px;
    align-items: center;
    height: 100%;
    padding: 10px 0;
}




.slider-track1 {
    display: flex;
    width: max-content;
    animation: scroll 20s linear infinite;
    gap: 100px;
    align-items: center;
    height: 100%;
    padding: 10px 0;
}
.cont_hero {
    display: flex;
    gap: 40px;
    animation: scroll 25s linear infinite;
    width: calc(100% * 2); /* Para duplicar contenido */
    padding-right: 40px; /* Compensa el último gap */
}

/* El resto del CSS se mantiene igual */
/* Estilos para las imágenes */
.cont_hero img {
    height: 30ch; /* Altura fija para consistencia */
    width: auto;
    object-fit: contain;
    flex-shrink: 0; /* Evita que las imágenes se reduzcan */
}

/* Animación optimizada */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 20px)); /* Ajuste preciso */
    }
}

/* Efecto hover para pausar */
.logos-slider:hover .cont_hero {
    animation-play-state: paused;
}

/* Versión responsive */
@media (max-width: 768px) {
    .categoria-header {
        justify-content: center;
    }
    
    .cont_hero {
        gap: 20px;
    }
    
    .cont_hero img {
        height: 40px;
    }
}

.main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.logo img {
    height: 45px; /* Logo más grande */
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Dropdown styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 500px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    display: flex;
    gap: 2rem;
}

.dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-column {
    flex: 1;
}

.menu-column h3 {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
}

.menu-column ul {
    list-style: none;
    padding: 0;
}

.menu-column ul li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    color: var(--dark);
    transition: all 0.3s ease;
}

.menu-column ul li a:hover {
    background: rgba(234, 50, 53, 0.1);
    border-radius: 4px;
    transform: translateX(5px);
}

.menu-column i {
    color: var(--primary);
}

.logo img {
    height: 7ch; /* Logo más grande */
    width: 100%;
    transition: transform 0.3s ease;
}


.footer-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.footer-link {
    background-color: var(--white);
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    font-size: 0.9rem;
    width: 65%;
    font-weight: 500;
}


.footer-link a{
    color: black;
}


.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.logo img {
    height: 45px; /* Logo más grande */
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Dropdown styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 500px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    display: flex;
    gap: 2rem;
}

.dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-column {
    flex: 1;
}

.menu-column h3 {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
}

.menu-column ul {
    list-style: none;
    padding: 0;
}

.menu-column ul li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    color: var(--dark);
    transition: all 0.3s ease;
}

.menu-column ul li a:hover {
    background: rgba(234, 50, 53, 0.1);
    border-radius: 4px;
    transform: translateX(5px);
}

.menu-column i {
    color: var(--primary);
}

.logo img {
    height: 7ch; /* Logo más grande */
    width: 100%;
    transition: transform 0.3s ease;
}


/*====================CARRUSEL PRUEBAS==============*/
/* 🌟 CONTENEDOR PRINCIPAL DEL SLIDER 🌟 */
.slider-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
  }
  
  .slider-container {
    width: 100%;
    overflow: hidden;
  }
  
  .cont_hero {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
  }
  
  .cont_hero::-webkit-scrollbar {
    display: none; /* Desaparece scrollbar, diva-approved */
  }
  
  /* 🎯 ITEM INDIVIDUAL */
  .solucion-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    max-width: 1000px;
    width: 90vw;
    height: auto;
  }
  
  /* 💅 CONTENIDO INTERNO */
  .solucion-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
  }
  
  .content-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .content-right {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .img_cont {
    width: 100%;
    height: auto;
  }
  
  .img_cont img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
  }
  
  /* 📱 MEDIA QUERIES PARA MÓVILES */
  @media (max-width: 768px) {
    .solucion-content {
      grid-template-columns: 1fr;
      gap: 20px;
      padding: 20px;
    }
  
    .content-right {
        width: 100%;
        height: auto; /* Permite que crezca con la imagen */
        display: block;
      }
      .img_cont {
        height: auto;
        max-height: none;
      }
    .img_cont img {
      height: 250px;
    }
  
    .solucion-item {
      width: 95vw;
    }
   
    .content-right img {
        
            width: 100vw;
            height: 60vh;
            object-fit: cover;
    }
    
    
  }
  
/*LOGIN*/

.login_boton{
    background: linear-gradient(to right, #0e284b, 
    #05152f);
    border-radius: 25px;
    padding: 10px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.login_icono{

        color: white;
        margin-right: 8px;
        font-size: 16px;
    
}

.i_login{

        list-style: none;
   
}

.link_login{

        color: white;
        text-decoration: none;
        font-family: Arial, sans-serif;
        font-weight: bold;
    
}