* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f4f6f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* HEADER */
.header {
    height: 90px;
    background: white;
    color: #0b3d91;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: fixed;
    width: 100%;
    z-index: 1000;
}


.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: bold;
}

.logo img {
    height: 100px;
    width: auto;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
}

.btn-nav {
    background: #ff7a1a;
    color: white !important;
    padding: 8px 18px;
    border-radius: 6px;
}

.menu-toggle {
    display: none;
    font-size: 30px;
    cursor: pointer;
}

/* HERO */
.hero {
    height: 550px;
    background: linear-gradient(rgba(11, 61, 145, 0.85), rgba(11, 61, 145, 0.85)),
        url('http://dipasagt.com/wp-content/uploads/2026/02/PORTADA.webp') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding-top: 90px;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100px;
    background: white;
    border-top-left-radius: 50% 100px;
    border-top-right-radius: 50% 100px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 34px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 25px;
}

.btn {
    background: #ff7a1a;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}

/* SECTIONS NOSOTROS */
.section {
    padding: 80px 0;
}

.section.light {
    background: #f9fafc;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-img {
    height: 250px;
    background: url('http://dipasagt.com/wp-content/uploads/2025/06/51.webp') center/cover no-repeat;
    border-radius: 12px;
}


/* MINI CARDS */
.mini-cards {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.mini-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    flex: 1;
    text-align: left;
    transition: 0.3s ease;
}

.mini-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.mini-card strong {
    display: block;
    margin-bottom: 8px;
    color: #0b3d91;
    font-size: 18px;
}

/* GRID 4 */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.card {
    background: white;
    padding: 30px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.06);
    font-weight: bold;
    transition: 0.3s ease;

}

.card img {
    max-width: 300px;
    max-height: 200px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: 0.3s ease;

}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);

}

.card:hover img {
    filter: grayscale(0%);
}

.card-link {
    text-decoration: none;
    /* Quita el subrayado */
    color: inherit;
    /* Mantiene el color normal */
}


/* ===== MARCAS (CORREGIDO) ===== */

.brand-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.brand {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.06);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
    transition: 0.3s ease;

}

.brand:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

/* Imagen del logo */
.brand img {
    max-width: 275px;
    max-height: 175px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: 0.3s ease;
}

.brand:hover img {
    filter: grayscale(0%);
}

/* CONTACT */
.contact {
    background: linear-gradient(to right, #0b3d91, #1e5fa8);
    color: white;
    text-align: center;
}

/* FOOTER */
.footer {
    background: #0b3d91;
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* RESPONSIVE */
@media(max-width: 900px) {

    .grid-2,
    .grid-3,
    .brand-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width: 600px) {

    .grid-2,
    .grid-3,
    .brand-grid {
        grid-template-columns: 1fr;
    }

    .nav {
        display: none;
    }

    .nav.active {
        display: block;
        position: absolute;
        top: 90px;
        right: 0;
        background: white;
        width: 200px;
        padding: 20px;
    }

    .nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .menu-toggle {
        display: block;
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: 0.3s ease;
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}