

body {
        background-color: #e4e4e4;
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 20px 40px;
    }

    h1 {
        color: #0b3d91;
        font-size: 50px;
    }

    p {
        font-size: 22px;
    }
  
    header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav {
    display: flex;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: #333;
}

.boton-cotizar {
    background-color: #0b3d91;
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}

.hero {
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-contenido {
    max-width: 650px;
}

.hero-imagen {
    width: 45%;
}

.hero-mosaico {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    aspect-ratio: 1 / 1;
}

.hero-mosaico img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    transition: opacity 0.2s ease;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.1;
    color: #0b3d91;
    margin-bottom: 25px;
}

.hero p {
    font-size: 21px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 35px;
}

.logo img {
    width: 300px;
    height: auto;
    display: block;
}

.soluciones {
    padding: 80px 0;
}

.soluciones h2 {
    text-align: center;
    font-size: 40px;
    color: #0b3d91;
    margin-bottom: 15px;
}

.soluciones-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 18px;
    line-height: 1.6;
    color: #444;
}

.soluciones-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.solucion-card {
    background-color: white;
    padding: 0 0 30px 0;
    border-radius: 10px;
    overflow: hidden;
}

.solucion-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.solucion-card h3 {
    color: #0b3d91;
    font-size: 22px;
    margin: 25px 30px 15px 30px;
}

.solucion-card p {
    color: #555;
    line-height: 1.6;
    margin: 0 30px;
}

/* =========================
   PROYECTOS REALIZADOS
   ========================= */

.proyectos {
    padding: 80px 0;
}

.proyectos h2 {
    text-align: center;
    font-size: 40px;
    color: #0b3d91;
    margin-bottom: 15px;
}

.proyectos-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 18px;
    line-height: 1.6;
    color: #444;
}

.proyectos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.proyecto-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
}

.proyecto-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.proyecto-card h3 {
    color: #0b3d91;
    font-size: 22px;
    margin: 25px 30px 15px 30px;
}

.proyecto-card p {
    color: #555;
    line-height: 1.6;
    margin: 0 30px 30px;
}

/* =========================
   ¿POR QUÉ TRABAJAR CON CEGI?
   ========================= */

.porque-cegi {
    padding: 80px 0;
}

.porque-cegi h2 {
    text-align: center;
    font-size: 40px;
    color: #0b3d91;
    margin-bottom: 15px;
}

.porque-cegi-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 18px;
    line-height: 1.6;
    color: #444;
}

.porque-cegi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.porque-cegi-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
}

.porque-cegi-card h3 {
    color: #0b3d91;
    font-size: 22px;
    margin: 0 0 15px;
}

.porque-cegi-card p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* =========================
   CONTACTO Y COTIZACIÓN
   ========================= */

.contacto {
    padding: 80px 0;
}

.contacto h2 {
    text-align: center;
    font-size: 40px;
    color: #0b3d91;
    margin-bottom: 15px;
}

.contacto-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 18px;
    line-height: 1.6;
    color: #444;
}

.contacto-contenido {
    max-width: 700px;
    margin: 0 auto;
}

.formulario-cotizacion {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
}

.campo {
    margin-bottom: 25px;
}

.campo label {
    display: block;
    color: #0b3d91;
    font-weight: bold;
    margin-bottom: 8px;
}

.campo input,
.campo textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: inherit;
    font-size: 16px;
}

.campo textarea {
    resize: vertical;
}

.formulario-cotizacion button {
    background-color: #0b3d91;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

/* =========================
   FOOTER
   ========================= */

.footer {
    background-color: #0b3d91;
    color: white;
    padding: 50px 0 20px;
}

.footer-contenido {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.footer h3 {
    margin-top: 0;
    font-size: 22px;
}

.footer p {
    font-size: 16px;
    line-height: 1.6;
}

.footer-derechos {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
}

.footer-derechos p {
    margin: 0;
    font-size: 14px;
}

.footer-empresa img {
    width: 180px;
    height: auto;
    margin-bottom: 20px;
}

.whatsapp-flotante {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    text-decoration: none;
}

.whatsapp-flotante svg {
    width: 34px;
    height: 34px;
    fill: white;
}

.whatsapp-flotante:hover {
    transform: scale(1.1);
}

/* =========================
   RESPONSIVE
   ========================= */

   .menu-toggle {
    display: none;
}

@media (max-width: 900px) {

    .soluciones-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .proyectos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}
          .porque-cegi-grid {
    grid-template-columns: repeat(2, 1fr);
}


@media (max-width: 600px) {

    nav {
    display: none;
}

nav.menu-abierto {
    display: flex;
}

    .menu-toggle {
    display: block;
}
    .boton-cotizar {
    display: none;
}

    nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

   header {
    flex-direction: column;
    gap: 20px;
}
   
    .hero {
        flex-direction: column;
    }

    .hero-imagen {
    width: 100%;
}

.hero-imagen img {
    width: 100%;
    height: auto;
}

    .soluciones-grid {
        grid-template-columns: 1fr;
    }

    .proyectos-grid {
        grid-template-columns: 1fr;
    }

    .porque-cegi-grid {
        grid-template-columns: 1fr;
    }

    .porque-cegi-card {
        padding: 20px;
    }

    .porque-cegi-card h3 {
        font-size: 20px;
    }

    .porque-cegi-card p {
        font-size: 16px;
        line-height: 1.5;
    }

    .footer-contenido {
    grid-template-columns: 1fr;
    gap: 30px;
}

.footer-empresa,
.footer-contacto {
    text-align: center;
}

.footer-empresa img {
    width: 180px;
}

.footer-derechos p {
    font-size: 13px;
}

}

.boton-inicio {
    display: block;
    width: fit-content;
    margin: 40px auto 0;
    color: #0b3d91;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}

.boton-inicio {
    display: block;
    width: fit-content;
    margin: 40px auto 0;
    color: #0b3d91;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}

.boton-inicio {
    display: block;
    width: fit-content;
    margin: 40px auto 0;
    color: #0b3d91;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}

.boton-inicio:hover {
    text-decoration: underline;
}






