* {
    font-family: "Inter", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden; 
}

body {
    background-color: #f5f7e7d1;
}

.autoshow{
    animation: text-appear both;
    animation-timeline: view();
    animation-range: entry 20% cover 100vh;
}

@keyframes text-appear{
    from{
        opacity: 0;
        transform: translateY(-100px);
    }
    to{
        opacity: 1;
        transform: translate(0);
    }
}

.menucontainer {
    max-width: 1300px;
    margin: 0 ;
}

.header {
  background-image:url(sobre-nosotros.jpg);
  background-size: cover;
  background-attachment: scroll;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


/* --- Menú de Navegación (Desktop) --- */

.Menu {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 15px; 
    background-color: #ffffffdc; 
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
    z-index: 1000;
}

.logo {
    width: 60px; 
    height: auto;
    min-width: 60px; 
}

.Menu .navbar {
    flex: 1; 
    display: flex; 
    justify-content: center; 
}

.Menu .navbar ul {
    display: flex;
    list-style: none;
    gap: 20px; 
}

.Menu .navbar ul li a {
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    color: #333; 
    display: block;
    font-weight: 600;
    text-transform: uppercase;
    padding: 5px 0; 
    transition: color 0.3s;
}

.Menu .navbar ul li a:hover {
    color: #0094d8;
}

/* ❌ Elementos de menú hamburguesa ocultos */
#menu,
input[type="checkbox"],
.menuicon,
.Menu label {
    display: none; 
}

.search {
    width: 25px;
    height: auto;
    transition: transform 0.3s;
}

.search:hover {
    transform: scale(1.1);
}

.body2{
    min-height: 120vh;
}

/* --- SECCIÓN SOBRE NOSOTROS Y SERVICIOS --- */
/* ... (Estilos de about-us, services, etc. Mantenidos sin cambios funcionales) ... */

.about-us-section {
    padding: 80px 20px;
    background-color: #fff;
}

.about-us-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.about-us-image-container {
    flex: 1; 
    min-width: 300px; 
    position: relative;
    padding: 20px; 
}

.about-us-main-image {
    width: 100%;
    height: 400px; 
    object-fit: cover; 
    border-radius: 15px;
    display: block;
}


.about-us-image-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid #006fbe; 
    border-radius: 20px; 
    z-index: 0;
    transform: rotate(5deg); 
}

.about-us-text-content {
    flex: 1.5;
    min-width: 300px;
    padding-left: 20px;
}

.about-us-text-content p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
}

.info-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: #f0f0f0;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.info-icon {
    width: 40px;
    height: 40px;
    min-width: 40px; 
    color: #6b46c1; 
}

.info-item p {
    margin: 0;
    align-items: flex-start;
    font-size: 1em;
    font-weight: 600;
    color: #333;
}


.services-section {
    padding: 80px 20px;
    background-image: linear-gradient(135deg, #f5f7fa 0%, #eff3d7 100%); 
    text-align: center;
}

.services-grid {
    max-width: 1200px;
    margin: 40px auto 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}
.service-card img{
    width: 300px;
    height: 300px;
    border-radius: 20px;
}
.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    color: #6b46c1; 
}

.service-card h3 {
    font-size: 1.4em;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card p {
    font-size: 1em;
    color: #666;
    line-height: 1.5;
}




.section-title {
    font-size: 2.5em;
    color: #0094d8;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 800;
    text-transform: uppercase;
}


.last {
    margin-top: 80px; 
    max-width: 1300px;
}

.encabezado {
    background-color: #eff3d7;
    text-align: center;
    color: #0094d8;
    padding: 10px 1px; 
}

.encabezado h5 {
    font-size: 30px; 
    text-transform: uppercase;
    font-weight: bolder;
    margin-bottom: 5px;
}

.encabezado h4 {
    font-size: 50px; 
    text-transform: uppercase;
    font-weight: bolder;
}

.items {
    background: #0094d8;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; 
    padding: 40px 1px; 
    place-items: center;
}

.services1,
.services2,
.services3 {
    text-align: center;
    padding: 15px; 
    border-radius: 15px;
    height: 100%; 
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.services1 img,
.services2 img,
.services3 img {
    width: 80px;
    margin-bottom: 15px;
}

.services1 h3,
.services2 h3,
.services3 h3 {
    font-size: 25px; 
    color: aliceblue;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.services1 p,
.services2 p,
.services3 p {
    font-size: 18px;
    color: aliceblue;
    font-weight: 600;
    line-height: 1.5;
}

/* --- FOOTER --- */
.footblack {
    background-color: #3d3c3c;
    color: #ecebeb;
    padding: 40px 10px; 
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

.contactos,
.acerca {
    flex-basis: 25%;
    min-width: 250px;
    margin-bottom: 25px; 
}

.contactos h4,
.acerca h4 {
    font-size: 22px; 
    font-weight: 700;
    color: aliceblue;
    text-transform: capitalize;
    margin-bottom: 12px;
}

.plataforma,
.acerca a {
    
    color: #ecebeb;
    font-weight: 500;
    font-size: 14px; 
    text-transform: capitalize;
    text-decoration: none;
    margin-bottom: 5px;
}

.usuario {
    font-size: 14px; 
    text-transform: capitalize;
    color: #0095f6;
    font-weight: 500;
    display: inline;
    text-decoration: underline;
}

.usuario:hover {
    color: #2100f8;
}

.acerca a:hover {
    color: #fdfcfc;
}

.logo1 {
    flex-basis: 40%;
    text-align: center;
    margin-bottom: 25px; 
}

.logo1 img {
    width: 400px;
}

.svgs {
    flex-basis: 100%;
    display: flex;
    justify-content: center;
    gap: 20px; 
    margin-top: 15px; 
}

.svgs img {
    width: 35px; 
}

/* =======================================
   REGLAS RESPONSIVE (MENÚ COMPACTO Y CENTRADO)
   ======================================= */

@media (max-width: 968px) {
    /* 🟢 CORRECCIÓN: Menú siempre visible, centrado y más ajustado */
    .Menu {
        /* Se quita el padding horizontal para ganar espacio */
        padding: 4px 5px; 
    }
    
    .Menu .navbar {
        /* Asegura que el navbar use el espacio y centra los enlaces */
        flex: 1;
        justify-content: center; /* ¡CENTRADO AHORA! */
    }

    .Menu .navbar ul {
        /* Se reduce el espacio entre los enlaces para que quepan */
        gap: 8px; /* Menos espacio */
    }
    
    .Menu .navbar ul li a {
        /* Se reduce el tamaño de la letra para ganar espacio */
        font-size: 12px; /* Más pequeño para que quepa todo */
    }
    
    .search {
        /* Se hace el buscador un poco más pequeño */
        width: 20px;
        min-width: 20px; /* Aseguramos que no se comprima demasiado */
    }
    
    .logo {
        width: 40px; /* Logo un poco más pequeño para dejar más espacio al menú */
        min-width: 40px;
    }
    
    /* El resto de secciones se ajustan como lo hacían antes */
    .header{
        min-height: 70vh;
        background-size: contain; 
        background-repeat: no-repeat;
        background-color: #ffffff;
        background-position: center ;
    }
    
    .encabezado h5 {
        font-size: 15px; 
    }

    .encabezado h4 {
        font-size: 30px; 
    }
    
    .footblack {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contactos,
    .acerca,
    .logo1 {
        min-width: auto;
        width: 100%;
        text-align: center; /* Centrado en móvil */
    }
}