/* Tipografía base */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: #333;
    background: #fff;
}

/* Contenedores */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* HEADER */
.header {
    background: #ffffff;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 55px;
}

.nav a {
    margin-left: 25px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.btn-primary {
    background: #0056d6;
    color: #fff !important;
    padding: 10px 18px;
    border-radius: 6px;
}

/* HERO */
.hero {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
}

.hero-content {
    position: relative;
    text-align: center;
    color: #fff;
    max-width: 700px;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 700;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* SECCIONES */
.section {
    padding: 80px 0;
}

.bg-light {
    background: #f7f9fc;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
}

/* GRIDS */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

.grid-1 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 35px;
}

/* TARJETAS */
.card, .cap-card, .blog-card, .team-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    text-align: center;
}

.cap-card img,
.blog-card img,
.team-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* CONTACTO */
.contact-box {
    background: #f1f5fb;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    margin-top: 20px;
}

/* FOOTER */
.footer {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 25px 0;
    margin-top: 40px;
}



/* ============================
   RESPONSIVE — MÓVIL
   ============================ */

@media (max-width: 900px) {

    .nav a {
        margin-left: 15px;
        font-size: 14px;
    }

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

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

    .hero {
        height: 55vh;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 26px;
    }

    .card, .cap-card, .blog-card, .team-card {
        padding: 20px;
    }

    .header-content {
        flex-direction: column;
        gap: 10px;
    }

    .logo {
        height: 45px;
    }
}

@media (max-width: 600px) {

    .nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .nav a {
        margin: 0;
        padding: 6px 10px;
    }

    .btn-primary {
        padding: 8px 14px;
        font-size: 14px;
    }

    .hero {
        height: 50vh;
    }

    .hero-content h1 {
        font-size: 22px;
    }
}


.flag {
    height: 20px;
    margin-left: 15px;
    vertical-align: middle;
    cursor: pointer;
}

.icon {
    width: 26px;
    height: 26px;
    fill: white;
}

.icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    transition: opacity 0.2s ease;
}

.icon-wrap:hover {
    opacity: 0.7;
}

