/* ==========================================
   NOSOTROS.PHP - ESTILOS ESPECÍFICOS
   ========================================== */

/* Story Section */
.story-section {
    padding: 80px 0;
    background: var(--bg-color);
}

.story-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 968px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.story-content .section-label {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.story-content .section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--text-color);
}
[data-theme="dark"] .story-content .section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #FFF;
}

.story-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
[data-theme="dark"] .story-text p {
    font-size: 1.125rem;
    color: #FFF;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.story-text strong {
    color: var(--primary-color);
}

.story-quote {
    margin-top: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-left: 4px solid var(--primary-color);
    border-radius: 0 16px 16px 0;
}

.story-quote blockquote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.6;
}
[data-theme="dark"] .story-quote blockquote {
    font-size: 1.25rem;
    font-style: italic;
    color: #FFF;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.story-quote cite {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 600;
    font-style: normal;
}

.story-visual {
    position: relative;
}

.story-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.story-image {
    width: 100%;
    height: auto;
    display: block;
}

.story-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.badge-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.badge-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Mission Section */
.mission-section {
    padding: 80px 0;
    background: var(--card-bg);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .mission-grid {
        grid-template-columns: 1fr;
    }
}

.mission-card {
    background: var(--bg-color);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.mission-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.mission-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}
[data-theme="dark"] .mission-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #FFF;
}

.mission-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
}
[data-theme="dark"] .mission-text {
    font-size: 1.125rem;
    color: #FFF;
    line-height: 1.6;
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background: var(--bg-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.value-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}
[data-theme="dark"] .value-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #FFF;
}

.value-text {
    color: var(--text-secondary);
    line-height: 1.6;
}
[data-theme="dark"] .value-text {
    color: #FFF;
    line-height: 1.6;
}

/* Stats Section - Dark variant */
.stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.stats-section .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 968px) {
    .stats-section .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-section .stats-grid {
        grid-template-columns: 1fr;
    }
}

.stats-section .stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.stats-section .stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: white;
}

.stats-section .stat-label {
    font-size: 1rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: var(--card-bg);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.team-card {
    text-align: center;
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-image-wrapper {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-color);
}

.team-role {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-bio {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Trust Section */
.trust-section {
    padding: 80px 0;
    background: var(--bg-color);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.trust-item {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-5px);
}

.trust-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.trust-item h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}
[data-theme="dark"] .trust-item h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #FFF;
}

.trust-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
[data-theme="dark"] .trust-item p {
    font-size: 0.95rem;
    color: #FFF;
    line-height: 1.5;
}

/* Dark Mode Adjustments */
[data-theme="dark"] .story-quote {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
}

[data-theme="dark"] .story-badge {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .mission-card {
    background: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .value-card {
    background: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .team-card {
    background: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .trust-item {
    background: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .stats-section .stat-card {
    background: rgba(255, 255, 255, 0.15);
}