* {
    font-family: Poppins;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f2f2f2;
    color: #333;
}
/* --- BARRA SUPERIOR (TOP BAR) --- */
.header-top {
    background-color: #1a4a8d; 
    color: white;
    padding: 10px 0;
    font-family: Poppins;
}

.top-content {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.top-contact {
    display: flex;
    gap: 20px; 
}

.top-contact a {
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 15px; 
}

.top-social {
    display: flex;
    gap: 15px;
}

.top-social a {
    color: white;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.top-social a:hover {
    transform: scale(1.2);
    color: #e9a53b; 
}

/* --- AJUSTE DEL MENÚ BLANCO --- */
.main-nav {
    background-color: #f2f2f2;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.main-nav .logo {
    width: 30px;
    height: auto;
    display: block;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center; 
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

.menu-links {
    display: flex;
    gap: 35px; 
}

.menu-links a {
    text-decoration: none; 
    color: #333; 
    align-items: center;
    font-family: Poppins;
    font-weight: 500; 
    font-size: 1rem;
    transition: color 0.3s ease;
    display: inline-block;
}

.menu-links a:hover {
    color: #e9a53b; 
}   

.carousel {
    position: relative;
    width: 100%;
    height: auto; 
    aspect-ratio: 980 / 200;
    overflow: hidden;
    background-color: #ffffff;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}


.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
    position: relative;
}

/* Texto sobre las imágenes */
.carousel-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

.carousel-text h1 {
    font-family: Sukhumvit Set;
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.pastilla {
    background-color: #F2F2F2;
    padding: 80px 0;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.pastilla-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    gap: 60px; 
    padding: 0 20px;
}

.pastilla-image {
    flex: 1;
}

.pastilla-image img {
    width: 100%;
    height: auto;
    display: block;
}

.pastilla-content {
    flex: 1.2; 
}


.pastilla-content h1 {
    font-weight: 500;
    font-size: 2.5rem;
    color: #051f53;
    margin-bottom: 25px;
    letter-spacing: -1px;
    text-align: justify;
}

.pastilla-content p {
    font-family: Poppins;
    font-weight: 300;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #1a4a8d; 
    margin-bottom: 20px;
    text-align: justify;
}

.hero {
    background: linear-gradient(to right, #F2F2F2, #F2F2F2); 
    padding-top: 60px;
    display: flex;
    align-items: center;
    min-height: 500px;
    overflow: hidden;
}

.hero-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-content h1 {
    font-size: 2.5rem;
    color: #1c4691; 
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 20px;
   
}

.hero-content h1 span {
    font-size: 1.5rem;
    color: #1c4691; 
    display: block;
    text-align: justify;
}

.hero-content p {
    font-size: 1.20rem;
    font-weight: 100;
    color: #1c4691;
    margin-bottom: 30px;
    text-align: justify;
}

/* Botones */
.hero-buttons {
    display: flex;
    align-items: center;
    gap: 25px;
}

.btn-primary {
    background-color: #e9a53b;
    color: white;
    padding: 12px 35px;
    border-radius: 50px; 
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(44, 110, 181, 0.3);
}

.btn-link {
    color: #2c6eb5;
    text-decoration: none;
    font-weight: 500;
}


.hero-image {
    flex: 1;
    padding: auto;
    text-align: right;
}

.hero-image img {
    max-width: 90%;
    height: auto;
    mix-blend-mode: multiply; 
}

.container-minimalista {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 60px;
}

#info-sede-display {
    margin-top: 30px;
    min-height: 50px; 
}

#texto-sede-dinamico {
    font-size: 1.1rem;
    color: #1c4691;
    font-weight: 500;
}
/* Responsivo para móviles */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    .hero-buttons {
        justify-content: center;
    }
}

.recursos {
    padding: 100px 0;
    background-color: #F2F2F2;
}
.recursos .container {
    display: block; 
}

.section-title-horizontal {
    text-align: center;
    color: #1a4a8d;
    font-size: 1.8rem;  
    font-weight: 700;
    margin-bottom: 30px;
    width: 100%;
}

.recursos-horizontal {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.recurso-card {
    display: flex;
    align-items: center;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-left: 6px solid #2c6eb5;
    transition: transform 0.3s ease;
}

.recurso-card:hover {
    transform: scale(1.02);
}

.recurso-icon img {
    width: 80px; 
    margin-right: 25px;
}

.recurso-info {
    text-align: left;
}

.recurso-info h3 {
    color: #1a4a8d;
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.recurso-info p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 20px;
}

.recurso-actions {
    display: flex;
    gap: 15px;
}

.btn-download, .btn-go {
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.85rem;
    text-decoration: none;
    font-weight: 600;
}

.btn-download {
    background-color: #e9a53b;
    color: white;
}

.btn-go {
    border: 1px solid #2c6eb5;
    color: #2c6eb5;
}
.modal-content input {
    width: 100%;
    padding: 12px;
    margin: 15px 0;
    border: 1px solid #ccd6e0;
    border-radius: 8px;
    font-family: Poppins;
    box-sizing: border-box;
}

.btn-confirmar {
    background-color: #1c4691;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    margin-bottom: 10px;
}

.btn-cancelar {
    background: none;
    color: #556b84;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: underline;
}

.valores-corporativos {
    padding: 60px 0;
    background-color: #f2f2f2;
}

.container-valores {
    display: flex;
    justify-content: center;
    gap: 15px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* LA TARJETA AZUL */
.card-valor {
    background-color: #1c4691; 
    color: #ffffff; 
    padding: 30px 20px;
    border-radius: 15px; 
    text-align: left;
    flex: 1;
    min-width: 280px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.card-valor:hover {
    transform: translateY(-5px);
}

.valor-icon {
    font-size: 3.5rem;
    margin-bottom: 30px;
    color: #ffffff;
}

.card-valor h3 {
    font-family: Poppins;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.2;
}

.card-valor p {
    font-family: Poppins;
    font-size: 1.05rem;
    line-height: 1.5;
    opacity: 0.9; 
}

/* Responsivo para móviles */
@media (max-width: 768px) {
    .container-valores {
        flex-direction: column;
        align-items: center;
    }
    .card-valor {
        width: 100%;
        max-width: 350px;
    }
}

.servicios-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 40px 20px;
    background-color: #f2f2f2; 
}

.servicios-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.chip-servicio {
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid #1a4a8d; 
    color: #1a4a8d;
    border-radius: 50px; 
    font-size: 1rem; 
    font-weight: 600;
    cursor: default;
    transition: all 0.3s ease;
    background-color: white;
}

/* INTERACTIVIDAD */
.chip-servicio:hover {
    background-color: #1a4a8d; 
    color: #ffffff; 
    transform: translateY(-3px); 
    box-shadow: 0 5px 15px rgba(26, 74, 141, 0.2);
    cursor: pointer;
}

:root {
    --azul-oscuro: #1A3668;
    --azul-claro: #2D9CDB;
    --gris-fondo: #F9F9F9;
}

.modelo-negocios {
    position: relative;
    padding: 80px 0;
    background-color: #f2f2f2;
    min-height: 800px; /* Asegura espacio para que no se monten los clientes */
}

/* Header */
.modelo-header {
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.titulo-modelo h1 {
    text-align: center;
    font-size: 4rem;
    color: #1c4691;
    margin: 0;
    line-height: 1;
    margin-bottom: 15px;
}

.titulo-modelo .bg-azul {
    text-align: center;
    background-color: #e9a53b;
    color: white;
    font-size: 3rem;
    padding: 15px 30px;
    border-radius: 10px;
    display: inline-block;
    margin-block: 10px 20px;
}

.modelo-header .logo-small{
    margin-right: 110px;
    width: 90px; 
    height: auto;
    display: block;
}

/* Timeline */
.timeline-container {
    position: relative;
    margin-top: 50px;
    width: 100%;
}


.timeline-line {
    position: absolute;
    top: 180px; /* Ajustado para que pase por el medio de los rombos */
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to right, #e0f2fe, #1a4a8d);
    z-index: 1;
}

.steps-wrapper {
    margin-top: 0;
    display: flex;
    justify-content: space-around;
    position: relative;
    z-index: 2;
    gap: 20px;
    color: #ffffff;
}

.step-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 260px;
    text-align: center;
    transition: all 0.3s ease; /* suaviza hover */
}

.step-item:hover {
  transition: all 0.3s ease;
}


.step-top-text {
    color: var(--azul-oscuro);
    font-size: 0.95rem;       
    font-weight: 600;
    margin-bottom: 10px;
    white-space: normal;  /* permite saltos de línea */
    line-height: 1.4;
    text-align: center;
}


/* Rombos */
.step-diamond {
    width: 90px;
    height: 90px;
    transform: rotate(45deg);
    background: white;
    border: 4px solid #1a4a8d;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 5;
    position: relative;
    margin: 30px auto !important;
}

.step-diamond img, .icono-rombo {
    width: 45px;      /* Tamaño miniatura forzado */
    height: 45px;
    max-width: 45px;
    min-width: 45px;
    transform: rotate(-45deg);
    object-fit: contain;
    display: block;
    margin: auto;
}

.logo-fix {
    max-width: 180px;
    height: auto;
    display: inline-block;
    margin: 0;
}

.icon-fix {
    width: 40px;
    height: 40px;
    transform: rotate(-45deg);
}

/* Colores degradados de los rombos (como en la imagen) */
.color-1 { background: linear-gradient(45deg, #f0f7ff, #d1e9ff); }
.color-2 { background: linear-gradient(45deg, #56ccf2, #2d9cdb); }
/* Agrega color-3 y color-4 con azules más oscuros */

/* Cards inferiores */
.step-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 15px;
    min-height: 160px;
    color: #1c4691;
    font-size: 0.85rem;
    box-shadow: 0 5px 10px rgba(0,0,0,0.05);
    width: 100%;
}

.badge {
    display: block;
    background-color: var(--azul-oscuro);
    color: white;
    padding: 3px 8px;
    border-radius: 5px;
    margin: 5px auto;
    width: fit-content;
    font-weight: bold;
}

.clientes {
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.clientes h1 {
  font-size: 2.5rem;
  color: #051f53;
  margin-bottom: 40px;
}

.clientes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.cliente-card {
  position: relative;
  background: linear-gradient(115deg, #1c4681, #01112c);
  border-radius: 10px;
  margin: 3px;
  padding: 43px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  color: white;
}

.cliente-card:hover {
  transform: translateY(-5px);
}

.cliente-logo {
  width: 80px;
  height: auto;
  border-radius: 10px;
  position: absolute;
  bottom: 5px;
  right: 20px;
}

.cliente-card h3 {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 5px 5px;
  text-align: center;
}

.cliente-card p {
  margin-top: 10px;
  font-size: 0.70rem;
  color: #ffffff;
  text-align: justify;
}

/* FOOTER ESTILO REFERENCIA */
.logo-container {
    width: 900px;    
    height: 400px;
    border-radius: 50%; 
    background-color: #ffffff; 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;   
    box-shadow: 0 2px 8px rgba(0,0,0,0.2); 
}

.footer-logo-img-container img {
    width: 900%;   
    height: auto;
}

.footer-logo-img img {
    height: 100px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo img:hover{
    transform: scale(1.05);
}
/* CONTENEDOR PRINCIPAL DEL FOOTER */
.footer {
    background-color: #1c4691;
    padding: 70px 0 40px;
    border-top: 1px solid #ffffff;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-column h3 {
    font-family: Poppins;
    font-weight: 700;
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}


.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 15px;
}

.footer-column ul li a {
    text-decoration: none;
    color: #ffffff;
    font-family: Poppins;
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-item {
    text-decoration: none;
    color: #ffffff;
    font-family: Poppins;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-item i {
    color: #ffffff;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

/* Efecto hover unificado */
.footer-column ul li a:hover,
.social-item:hover {
    color: #e9a53b;
}

/* --- AJUSTES PARA DISPOSITIVOS MÓVILES (MÁX 768PX) --- */
@media (max-width: 768px) {
    
    /* 1. BARRA SUPERIOR Y MENÚ */
    .top-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 20px;
    }

    .menu-links {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .carousel {
        aspect-ratio: 16 / 9;
    }

    .carousel-text h1 {
        font-size: 1.8rem;
    }

    
    .pastilla-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .pastilla-content h1 {
        font-size: 2.2rem;
    }

   
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 15px;
    }

    .hero-image {
        text-align: center;
    }

    

    
    .recursos-horizontal {
        grid-template-columns: 1fr;
    }

    .recurso-card {
        flex-direction: column;
        text-align: center;
    }

    .recurso-icon img {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .recurso-actions {
        justify-content: center;
    }

    /* 6. VALORES CORPORATIVOS */
    .container-valores {
        flex-direction: column;
        align-items: center;
    }

    /* 7. FOOTER */
    .footer-container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .footer-social {
        align-items: center;
    }

    .logo-container {
        width: 100%; /* Ajuste del círculo en móvil */
        height: 200px;
    }
}