* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #fff;
    color: #111;
}

/* ================= HEADER ================= */

.header-nosotros {
    background-color: #fff;
    width: 100%;
    padding: 25px 0;
    border-bottom: 3px solid #8c0000;
   text-align: center;
}

/* LOGO */
.header-logo {
    width: 200px;       
    margin:0 auto;
}

.header-logo img {
    width: 100%;
    height: auto;
    display: block;
}

/* ================= HERO ================= */

.nosotros-hero {
    position: relative;
    background-image: url(imag/portg.jpg);
    background-size: cover;
    background-position: center;
    padding: 90px 20px;
}

.nosotros-hero .overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.8);
}

.nosotros-hero-content {
    position: relative;
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.nosotros-hero h1 {
    font-size: 3rem;
    color: #8c0000;
    margin-bottom: 25px;
}

.nosotros-hero p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #111;
}

/* ================= BLOQUES ================= */

.nosotros-detalle {
    padding: 80px 30px;
    display: flex;
    gap: 30px;
    justify-content: center;
    background: #000;
}

.bloque {
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    width: 320px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.bloque h2 {
    color: #8c0000;
    margin-bottom: 15px;
}

.bloque p,
.bloque li {
    color: #333;
    font-size: 0.95rem;
}

.bloque ul {
    list-style: disc;
    text-align: left;
    padding-left: 20px;
}

/* ================= BOTÓN ================= */

.volver-inicio {
    text-align: center;
    padding: 50px 20px;
    background: #0c0c0c;
}

.boton-volver {
    text-decoration: none;
    background: #8c0000;
    color: #fff;
    padding: 14px 30px;
    border-radius: 6px;
    font-weight: 700;
    transition: all 0.3s;
}

.boton-volver:hover {
    background: #fff;
    color: #8c0000;
}

/* ================= FOOTER ================= */

.footer {
    background: #111;
    color: #ccc;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
    .nosotros-detalle {
        flex-direction: column;
        align-items: center;
    }

    .bloque {
        width: 90%;
    }

    .nosotros-hero h1 {
        font-size: 2.3rem;
    }
}

@media (max-width: 500px) {
    .header-logo {
        width: 160px;   /* 🔑 logo más chico en celular */
    }

    .nosotros-hero h1 {
        font-size: 1.9rem;
    }

    .nosotros-hero p {
        font-size: 1rem;
    }
}