/* ==========================================================================
   FUNDACIÓN INJOE - ABOUT/FOUNDATION PAGE SPECIFIC STYLES
   ========================================================================== */

@import url('styles.css'); /* Import shared design tokens & resets */

/* Paragraph text readability styling */
.parrafo {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: var(--color-text-main);
    line-height: 1.85;
    margin-bottom: 1.8rem;
    font-weight: 400;
}

/* Category Label (Tagline) */
.tagline {
    display: inline-block;
    color: var(--color-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%;
    transform: translateY(-50%);
    width: 30px;
    height: 3px;
    background: var(--color-accent);
    border-radius: var(--radius-full);
}

/* ==========================================================================
   HERO ABOUT US
   ========================================================================== */
.hero-fundacion {
    position: relative;
    height: 60vh;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    background-image: url('imagenes/hero-4.jpg');
    background-size: cover;
    background-position: center;
}

.hero-fundacion .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 32, 66, 0.45) 20%, rgba(15, 32, 66, 0.85) 100%);
    z-index: 1;
}

.hero-fundacion .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 24px;
}

.hero-fundacion .hero-content h1 {
    font-size: var(--fs-h1);
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    letter-spacing: -1px;
}

.hero-fundacion .subtitle {
    font-size: 1.3rem;
    max-width: 680px;
    margin: 0 auto;
    opacity: 0.95;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    line-height: 1.5;
}

/* ==========================================================================
   MISSION & VISION SECTION
   ========================================================================== */
.difference-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.difference-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
}

.difference-image img:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.difference-text h2 {
    font-size: var(--fs-h3);
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 10px;
}

.difference-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--color-accent);
    border-radius: var(--radius-full);
}

.difference-text h2:not(:first-of-type) {
    margin-top: 2.5rem;
}

/* ==========================================================================
   TRANSFORMING LIVES (GALLERY SHIFT)
   ========================================================================== */
.transform-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 70px;
    align-items: center;
}

.transform-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.transform-images img {
    width: 100%;
    border-radius: var(--radius-md);
    height: 220px;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.transform-images img:hover {
    transform: scale(1.04) translateY(-4px);
    box-shadow: var(--shadow-md);
    z-index: 2;
}

/* ==========================================================================
   WAYS TO HELP CARDS
   ========================================================================== */
.ways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.way-card {
    background: var(--color-bg-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(15, 32, 66, 0.03);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.way-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 119, 204, 0.15);
}

.way-card h3 {
    color: var(--color-primary);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.way-images {
    display: flex;
    gap: 15px;
    margin-top: 24px;
}

.way-images img {
    width: 50%;
    border-radius: var(--radius-sm);
    height: 140px;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.way-images img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   RESPONSIVE STYLING REFINE
   ========================================================================== */
@media (max-width: 992px) {
    .difference-grid,
    .transform-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .difference-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .transform-images {
        margin-top: 20px;
    }
    
    .ways-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .transform-images {
        grid-template-columns: 1fr;
    }
    
    .transform-images img {
        height: 200px;
    }
    
    .way-images img {
        height: 110px;
    }
}