/* Sobre Nosotros - Modern Light Theme */
body {
    background-color: #ffffff;
    color: var(--text-main);
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Header */
.about-header {
    margin-top: 6rem;
    margin-bottom: 5rem;
}

.badge-pill {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 1px solid #fee2e2;
    background-color: #fef2f2;
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.about-header h1 {
    font-size: 4rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 800px;
}

.about-header p {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 600px;
    line-height: 1.6;
}

/* Split Section (Text + Image) */
.history-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
    margin-bottom: 8rem;
}

.history-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1.5rem;
}

.history-text p {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.history-image-container {
    position: relative;
    padding: 1rem;
    /* Space for offset */
}

.history-image-container::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 100%;
    height: 100%;
    background-color: #ffe4e6;
    /* Light pink/red offset */
    z-index: -1;
    border-radius: 12px;
}

.history-image-container img {
    width: 100%;
    border-radius: 8px;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Update: The user image shows the offset shape is likely bottom-left or top-right. I'll stick to a simple clean offset behind. */


/* Pillars Section */
.pillars-section {
    margin-bottom: 6rem;
}

.pillars-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 3rem;
    text-align: center;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pillar-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 2.5rem;
    transition: transform 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
    border-color: #fee2e2;
}

.pillar-card h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pillar-card p {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
}


@media (max-width: 768px) {
    .history-section {
        grid-template-columns: 1fr;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .about-header h1 {
        font-size: 3rem;
    }
}