:root {
    --primary: #2c3e50;
    --primary-dark: #1a2530;
    --secondary: #3498db;
    --accent: #e74c3c;
    --light: #f8f9fa;
    --dark: #2c3e50;
    --success: #2ecc71;
    --warning: #f39c12;
    --text: #333;
    --text-light: #f9f9f9;
    --gray-light: #e9ecef;
    --gray: #6c757d;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 16px;
    --border-radius-sm: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light);
    color: var(--text);
    line-height: 1.6;
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

main {
    flex: 1;
}

/* ==========================
   ESTILOS SOBRE NOSOTROS
========================== */

/* About Section */
.about-section {
    padding: 80px 0;
    background: white;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start; 
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
}

.about-content h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 24px;
    font-weight: 600;
    margin-top: 0; 
    padding-top: 0;
}

.about-content p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--text);
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.about-image img {
    width: 85%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.about-image img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

/* Valores Section */
.values-section {
    padding: 80px 0;
    background: var(--light);
}

.values-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 60px;
    font-weight: 600;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.value-card p {
    color: var(--text);
    line-height: 1.6;
}

/* Equipo Section */
.team-section {
    padding: 80px 0;
    background: white;
}

.team-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 600;
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
    color: var(--gray);
    font-size: 1.1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background: var(--light);
    border-radius: var(--border-radius);
    overflow: hidden;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.member-image {
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.team-member h3 {
    margin: 20px 0 5px;
    color: var(--primary);
    font-size: 1.3rem;
}

.member-role {
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 15px;
}

.member-desc {
    padding: 0 20px 20px;
    color: var(--text);
    line-height: 1.6;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 0 20px 25px;
}

.member-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    transition: var(--transition);
}

.member-social a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .about-section,
    .values-section,
    .team-section {
        padding: 60px 0;
    }
    
    .about-content h2,
    .values-section h2,
    .team-section h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .value-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .member-image {
        height: 200px;
    }
    
    .about-image img {
        width: 85%;
    }
}