body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #333;
    padding-bottom: 60px;
    /* Espacio para que no tape contenido */
}

:root {
    --azul: #2D6CDF;
    --azul-claro: #6FA8FF;
    --menta: #A8E6CF;
    --gris: #E5E5E5;
    --blanco: #FFFFFF;
}

/* NAV */
nav {
    width: 100%;
    justify-content: space-between;
    background: #5481da;
    padding: 18px 40px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    gap: 40px;
}

nav .logo {
    font-size: 26px;
    font-weight: 700;
}

nav ul {
    background: #5481da;
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    margin-right: 60px;
    /* mueve el menú un poco a la izquierda */
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Botón hamburguesa */
.menu-toggle {
    margin-right: 60px;
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    transition: 0.3s;
}


/* Responsive */
@media (max-width: 768px) {

    .nav-links {

        position: absolute;
        top: 70px;
        right: 0;
        background: #5481da;
        width: 100%;
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        /*display: none;*/
        display: none;
        z-index: 10;

    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
        background: #5481da;
    }
}



/* HERO */
.hero {
    margin-top: 70px;
    background: url('src/hero.jpg') center/cover no-repeat;
    height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 70px;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 108, 223, 0.55);
}

.hero-content {
    position: relative;
    max-width: 800px;
}

.hero h1 {
    font-size: 50px;
    margin: 0;
    font-weight: 700;
}

.hero p {
    font-size: 22px;
    margin-top: 10px;
}

.btn-principal {
    margin-top: 20px;
    padding: 14px 30px;
    font-size: 18px;
    background: var(--gris);
    color: #003;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
}

section {
    padding: 70px 30px;
    max-width: 1200px;
    margin: auto;
}

h2 {
    font-size: 34px;
    color: var(--azul);
    text-align: center;
    margin-bottom: 40px;
}

/* QUIENES SOMOS */
.somos {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}

.somos img {
    width: 100%;
    max-width: 480px;
    border-radius: 18px;
    filter: brightness(1.08) saturate(1.15) hue-rotate(-12deg);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.somos p {
    flex: 1;
    font-size: 18px;
    line-height: 1.6;
}

/* SERVICIOS */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.card {
    background: var(--gris);
    padding: 25px;
    border-radius: 14px;
    text-align: center;
}

.card img {
    width: 80px;
    margin-bottom: 15px;
}

.card h3 {
    margin-top: 0;
    color: var(--azul);
}

.card p {
    font-size: 16px;
    line-height: 1.5;
}

/* CONTACTO */
.contacto {
    text-align: center;
}

.btn-whatsapp {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
}

/* Tarjetas modernizadas */
.card {
    background: white;
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #eef2f7;
    transition: all 0.25s ease;
}

/* Efecto hover elegante */
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    background: #f9fbff;
}

/* Iconos más modernos y centrados */
.card i {
    font-size: 58px;
    margin-bottom: 18px;
    color: var(--azul);
    filter: drop-shadow(0px 3px 4px rgba(0, 0, 0, 0.15));
    transition: transform 0.25s ease;
}

.card:hover i {
    transform: scale(1.14);
}

/* Títulos estilizados */
.card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--azul);
    margin-bottom: 12px;
}

/* Texto del contenido */
.card p {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
}

/* Grid mejorado */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin-top: 45px;
}

/* SERVICIOS */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.card {
    background: var(--gris);
    padding: 25px;
    border-radius: 14px;
    text-align: center;
}

.card i {
    font-size: 60px;
    margin-bottom: 15px;
    color: var(--azul);
}

.card h3 {
    margin-top: 0;
    color: var(--azul);
}

.card p {
    font-size: 16px;
    line-height: 1.5;
}


/* FOOTER */
footer {
    /*
    background: var(--azul);
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;*/

    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    /* altura fija */
    background: black;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;

}

.contact-bar {
    width: 100%;
    background: var(--azul);
    color: white;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-family: Arial, sans-serif;
    flex-wrap: wrap;
}

.contact-item a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-button {
    background: #ffffff;
    color: #2561ab;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}

.contact-button:hover {
    background: #e3e3e3;
}

/* Boton whatsapp */
.whatsapp-float {
    position: fixed;
    bottom: 150px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    font-size: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}