@import url('styles.css');   /* Importamos la base compartida */

/* master-style.css - ACTUALIZACIÓN */

:root {
    --primary: #0f2b5b;
    --accent: #0077cc;
    --text-main: #2d3436; /* Un gris muy oscuro, más pro que el negro puro */
    --text-light: #636e72;
    --font-size-p: 1.15rem; /* Aumentamos el tamaño base del párrafo */
}

/* Tipografía Pro para Párrafos */
p {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--font-size-p);
    color: var(--text-main);
    line-height: 1.8; /* Más espacio entre líneas para elegancia */
    margin-bottom: 1.5rem;
    font-weight: 400;
}

/* Etiquetas de categoría (Tagline) */
.tagline {
    display: inline-block;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 45px;
}

.tagline::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 35px;
    height: 2px;
    background: var(--accent);
}

/* Títulos de Sección */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: 700;
}

/* Hero Fundación */
.hero-fundacion {
    position: relative;
    height: 85vh;
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-fundacion .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15,43,91,0.45), rgba(15,43,91,0.75));
}

.hero-fundacion .hero-content h1 {
    font-size: clamp(2.8rem, 6.5vw, 4.8rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-fundacion .subtitle {
    font-size: 1.35rem;
    max-width: 680px;
    margin: 0 auto;
    opacity: 0.95;
}

/* Sección "Así Estamos Haciendo la Diferencia" */
.difference-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.difference-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

/* Sección Transformando Vidas y Comunidades */
.transform-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
}

.transform-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.transform-images img {
    width: 100%;
    border-radius: 12px;
    height: 220px;
    object-fit: cover;
}

/* Sección "¿Cómo puedes ser parte del cambio?" */
.ways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.way-card {
    background: white;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
}

.way-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.way-images {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.way-images img {
    width: 50%;
    border-radius: 10px;
    height: 160px;
    object-fit: cover;
}

/* CTA */
.cta-center {
    text-align: center;
    margin-top: 70px;
}

.cta-center .btn-primary {
    padding: 18px 48px;
    font-size: 1.1rem;
}

/* Responsive específico para Fundación */
@media (max-width: 992px) {
    .difference-grid,
    .transform-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.header {
    background: var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.1rem 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-main {
    font-size: 1.95rem;
    font-weight: 700;
    color: white;
    letter-spacing: -1px;
}

.logo-sub {
    font-size: 0.82rem;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.75);
}

.nav-desktop {
    display: flex;
    gap: 2.8rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.98rem;
    letter-spacing: 0.6px;
}

.nav-link:hover,
.nav-link.active {
    color: #5eb0ff;
}

.menu-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.7rem;
    cursor: pointer;
    display: none;
}

/* Menú móvil */
.nav-mobile {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: var(--primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.8rem;
    z-index: 2000;
    transition: left 0.4s ease;
}

.nav-mobile.active {
    left: 0;
}

.nav-mobile .nav-link {
    font-size: 1.85rem;
    color: white;
}