/* ========================================
   ABOUT US PAGE STYLES
   ======================================== */

.nosotros-page {
    padding: 0;
}

/* Hero Section */
.hero-about {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/static/img/pattern.png') repeat;
    opacity: 0.05;
}

.hero-about h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.hero-about .highlight {
    color: var(--primary);
    text-shadow: 0 0 20px rgba(50, 205, 50, 0.5);
}

.hero-about p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* Story Section */
.story-section {
    padding: 80px 0;
    background: white;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--gray-800);
}

.story-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 15px;
}

.story-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background: var(--gray-50);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 38px;
    margin-bottom: 15px;
    color: var(--gray-800);
}

.section-title p {
    font-size: 16px;
    color: var(--gray-600);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.value-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border-top: 4px solid transparent;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-top-color: var(--primary);
}

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(134, 239, 172, 0.2) 100%);
    border-radius: 50%;
    font-size: 32px;
    color: var(--primary);
}

.value-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--gray-800);
}

.value-card p {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 15px;
}

/* Timeline */
.timeline-section {
    padding: 80px 0;
    background: white;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary);
    transform: translateX(-50%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(even) .timeline-content {
    grid-column: 2;
}

.timeline-item:nth-child(even) .timeline-year {
    grid-column: 1;
    text-align: left;
}

.timeline-content {
    background: var(--gray-50);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.timeline-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--gray-800);
}

.timeline-content p {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 14px;
}

.timeline-year {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    text-align: right;
    align-self: center;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border: 4px solid white;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 4px var(--primary-light);
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: var(--gray-50);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-photo {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--gray-800);
}

.team-role {
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.team-bio {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Contact CTA */
.contact-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.contact-cta-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.contact-cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: var(--primary);
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.btn-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 968px) {
    .story-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        grid-template-columns: 1fr;
        padding-left: 60px;
    }
    
    .timeline-item:nth-child(even) .timeline-content,
    .timeline-item:nth-child(even) .timeline-year {
        grid-column: 1;
    }
    
    .timeline-year {
        text-align: left;
        margin-bottom: 15px;
    }
    
    .timeline-dot {
        left: 20px;
    }
}

@media (max-width: 768px) {
    .hero-about h1 {
        font-size: 36px;
    }
    
    .hero-about p {
        font-size: 16px;
    }
    
    .story-content h2 {
        font-size: 28px;
    }
    
    .section-title h2 {
        font-size: 30px;
    }
    
    .contact-cta-section h2 {
        font-size: 28px;
    }
}
