:root {
    --primary: #EA3235;
    --dark: rgb(6, 18, 50);
    --white: #FFFFFF;
    --gray: #f5f5f5;
    --dark-gray: #333;
    --blue-section: #3A4F8B;
    --red-section: #FF6B6B;
}

/*=============== NAV ================*/


.main-nav {
    position: fixed;
    width: 100%;
    padding: 3.3%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    background-color: var(--white);
    height: 75px;
    position: fixed;
    top: 40px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

}

.logo img {
    height: 7ch; /* Logo más grande */
    width: 100%;
    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;
    list-style: none;
}

.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: rgba(48, 48, 174, 0.756);
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--dark);
}

.menu-column ul {
    list-style: none;
    padding: 0;
}

/* Modifica el color base de los iconos */
.menu-column i {
    background-image: linear-gradient(135deg, #04112A, #21548D, #BC3A56);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

/* Estilo para el hover con degradado suave */
.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: linear-gradient(45deg, 
        rgba(49, 80, 139, 0.1), 
        rgba(49, 80, 139, 0.05)
    );
    border-radius: 4px;
    transform: translateX(5px);
}

.menu-column ul li a:hover i {
    transform: scale(1.1);
}

/* Estilos para el botón hamburguesa */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    color: var(--primary);
}



/*=============== PRODUCT HEADER ================*/
.product-header {
    position: relative;
    padding: 100px 5% 80px;
    background: linear-gradient(135deg, var(--dark), #2B4381);
    color: var(--white);
    text-align: center;
    margin-top: 80px;
}

.back-button-containers {
    margin: 4ch 5ch;
}

.back-button-containers a {
    background-color: #2B4381;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    padding: 8px 15px;
    border-radius: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.back-button:hover {
    background-color: rgba(214, 45, 45, 0.511);
    transform: translateX(-5px);
}

.product-header .hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.product-header .product-tagline {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/*=============== PRODUCT MAIN ================*/
.product-main {
    padding: 0 0 60px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Product Intro Section */
.product-intro {
    padding: 40px 0;
    background-color: var(--white);
}

.product-intro .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.product-intro h2 {
    font-size: 2.3rem;
    color: var(--dark);
    margin-bottom: 25px;
    position: relative;
    text-align: left;
}

.product-intro h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -15px;
    width: 80px;
    height: 4px;
    background-color: var(--primary);
}

.product-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.intro-image {
    border-radius: 15px;
    overflow: hidden;
    width: 100%;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.intro-image img {
    width: 100%;
    height: 40ch;
    display: block;
}

/* Product Benefits Section */
.product-benefits {
    background-color: var(--gray);
    padding: 40px 0;
}

.product-benefits h2 {
    text-align: center;
    font-size: 2.3rem;
    color: var(--dark);
    margin-bottom: 60px;
    position: relative;
}

.product-benefits h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.benefit-card:hover::before {
    transform: translateX(100%);
}

.benefit-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.benefit-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.benefit-card p {
    font-size: 1rem;
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Product Advantages Section */
.product-advantages {
    padding: 40px 0;
    background: linear-gradient(135deg, #04112A, #21548D, #BC3A56);
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.product-advantages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: radial-gradient(circle at center, transparent, rgba(4, 17, 42, 0.8)); */
    pointer-events: none;
}

.product-advantages .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.product-advantages h2 {
    font-size: 2.3rem;
    margin-bottom: 30px;
    position: relative;
    text-align: left;
    color: var(--white);
}

.product-advantages h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -15px;
    width: 80px;
    height: 4px;
    background-color: var(--primary);
}

.advantages-list {
    list-style: none;
    padding: 0;
}

.advantages-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.advantages-list i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 5px;
}

.advantages-list h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.advantages-list p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.advantages-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.advantages-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Product Features Section */
.product-features {
    padding: 40px 0;
    background-color: rgba(234, 50, 53, 0.08); /* Rojo claro para el fondo */
}

.product-features h2 {
    text-align: center;
    font-size: 2.3rem;
    color: var(--dark);
    margin-bottom: 60px;
    position: relative;
}

.product-features h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: center;
    margin-bottom: 50px;
}

.feature-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 22ch;
    text-align: center;
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    border-radius: inherit;
}

.feature-card:hover {
    transform: translateY(-5px);
    color: white;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    background-color: var(--primary);
    color: var(--white);
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.feature-content {
    padding: 25px;
    flex: 1;
}

.feature-content h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.feature-content p {
    font-size: 1rem;
    color: var(--dark-gray);
    line-height: 1.6;
}

.feature-image {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Product CTA Section */
.product-cta {
    background: linear-gradient(135deg, #04112A, #21548D, #BC3A56);
    background-size: 200% 200%;
    animation: gradientMove 15s ease infinite;
    padding: 60px 0;
    color: var(--white);
    text-align: center;
}

.product-cta h2 {
    font-size: 2.3rem;
    margin-bottom: 20px;
    color: var(--white);
}

.product-cta p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    background-color: #d6282a;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(234, 50, 53, 0.4);
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-intro .container,
    .product-advantages .container {
        grid-template-columns: 1fr;
    }
    
    .advantages-image,
    .intro-image {
        order: -1;
        max-width: 600px;
        margin: 0 auto 40px;
    }
    
    .product-intro h2,
    .product-advantages h2 {
        text-align: center;
    }
    
    .product-intro h2:after,
    .product-advantages h2:after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .product-header {
        padding: 80px 5% 60px;
    }
    
    .product-header .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .product-header .product-tagline {
        font-size: 1.1rem;
    }
    
    .product-intro h2,
    .product-benefits h2,
    .product-advantages h2,
    .product-features h2,
    .product-cta h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .back-button {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    
    .product-header .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/*=============== HEADER ================*/
.header-blog {
    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-blog::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(../../imgs/soluciones/PRODUCTOS/prod_1.png);
    background-size: cover;
    background-position: center;
    z-index: -2;
}

/* Overlay con el color especificado */
.header-blog::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;
}

.header-blog .hero {
    max-width: 60%;
    margin-top: 60px;
}

/*=============== 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;
}





/*=============== 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);
}

/*====================CARRUSEL PRUEBAS==============*/

.solucion-item {
    flex: 0 0 auto; 
    width: 100%;
    max-width: 900px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
  }
  

  .solucion-content {
    display: flex;
    flex-direction: row;
    
    justify-content: space-between;
    height: 100%;
  }
  

  .content-left, .content-right {
    width: 50%;
  }
  

  .content-right {
    width: 50%; /* Mantener el 50% para que ocupe la mitad derecha */
    display: flex;   
    justify-content: center; /* Centrar la imagen horizontalmente */
    align-items: center; /* Centrar la imagen verticalmente */
}

.img_cont {
    width: 100%; /* Asegurarse de que la imagen ocupe el 100% del contenedor */
    height: auto; /* Mantener la proporción de la imagen */
    object-fit: cover; /* Asegurarse de que la imagen cubra el contenedor */
}
  
  
  .slider-container, .cont_hero {
    width: 100%;
    overflow: hidden;
  }
  
  .cont_hero {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding: 20px 0;
  }
  
  @media (max-width: 768px) {
    .solucion-content {
      flex-direction: column;
      text-align: center;
    }
  
    .content-right, .content-left {
      width: 100%;
    }
  }
/* 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;
    }
}

/* SOLUCIONES SECTION */
.nuestras_soluciones {
    padding: 1px 5%;
    background: linear-gradient(180deg, #fff 0%, #f5f5f5 100%);
}

.nuestras_soluciones h1 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 50px;
    position: relative;
}

.nuestras_soluciones h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 3px;
    background-color: #EA3235;
}

.soluciones-container {
    max-width: 1200px;
    margin: 0 auto;
}

.solucion-item {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 7px 5px 5px 11px rgba(0, 0, 0, 0.1);
}

.solucion-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
}

.content-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.icon-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    margin-bottom: 20px;
    background-color: #EA3235;
    width: 60%;
    height: 5ch;
    border-radius: 2ch;
    padding: 2ch;
    TEXT-ALIGN: center;
}

.icon-title i {
    font-size: 1.2rem;
}

.icon-title span {
    font-size: 0.9rem;
    font-weight: 500;
}

.content-left h3 {
    color: #EA3235;
    font-size: 2rem;
    margin-bottom: 20px;
}

.content-left p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--dark);
    margin-bottom: 30px;
}

.saber-mas {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #EA3235;
    font-weight: 500;
    text-decoration: none;
    transition: gap 0.3s;
}

.saber-mas:hover {
    gap: 15px;
}

.content-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.explorar-container {
    text-align: center;
    margin-top: 40px;
}

.btn-explorar {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #394D92;
    color: var(--white);
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    height: 7ch;
    transition: transform 0.3s;
}

.btn-explorar:hover {
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .solucion-content {
        grid-template-columns: 1fr;
    }

    .content-right {
        order: -1;
    }

    .content-right img {
        height: 250px;
    }

    .nuestras_soluciones h1 {
        font-size: 2rem;
    }
}

/* Estilos para la sección de Productos/Soluciones */
.productos-soluciones {
    padding: 80px 5%;
    background: linear-gradient(180deg, #fff 0%, #f5f5f5 100%);
}

.productos-soluciones h1 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 50px;
    position: relative;
}

.productos-soluciones h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 3px;
    background-color: var(--primary);
}

.productos-container {
    max-width: 1200px;
    margin: 0 auto;
}

.productos-slider {
    position: relative;
    overflow: hidden;
}

.productos-track {
    display: flex;
    transition: transform 0.5s ease;
}

.producto-item {
    min-width: 100%;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.producto-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 500px; /* Altura fija para mantener consistencia */
}

.producto-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.producto-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    margin-bottom: 20px;
    width: fit-content;
}

.producto-tag i {
    font-size: 1.1rem;
}

.producto-info h3 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 20px;
}

.producto-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--dark);
    margin-bottom: 30px;
}

.producto-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    transition: gap 0.3s;
}

.producto-link:hover {
    gap: 15px;
}

.producto-imagen {
    height: 100%;
    overflow: hidden;
}

.producto-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .producto-content {
        grid-template-columns: 1fr;
        height: auto;
    }

    .producto-imagen {
        height: 300px;
        order: -1;
    }

    .producto-info {
        padding: 30px;
    }
}

/* 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-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.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;
}

#clientes_ {
    color: #2E64D4;
    font-weight: 100;
    margin: 0 1.5ch 0 0;
}

#socios_ {
    color: #d42e2e;
    font-weight: 100;
    margin: 0 1.5ch 0 0;
}

.logos-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.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;
    }
}



/* Contenedor principal del slider */
.logos-slider {
    position: relative;
    width: 100%;
    overflow: hidden; /* Asegura que nada se desborde */
    margin: 0 auto;
}

.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;
    }
}
/*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;
    
}