/* Estilos compactos para la página Conócenos - InclúYes */
/* Active navigation link */
.nav-links a.active {
    color: #0066cc;
    font-weight: 600;
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0066cc, #004499);
    border-radius: 2px;
}

/* Hero Section Compacto */
.about-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
    padding: 60px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="medical-pattern" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M20 5 L20 35 M5 20 L35 20" stroke="%230066cc" stroke-width="0.5" opacity="0.1" fill="none"/></pattern></defs><rect width="100" height="100" fill="url(%23medical-pattern)"/></svg>');
    z-index: 1;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    line-height: 1.2;
    font-family: 'Segoe UI', system-ui, sans-serif;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
    font-weight: 400;
}

/* Mission Section Compacto */
.mission-section {
    padding: 50px 0;
    background: #ffffff;
    position: relative;
}

.mission-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.08);
    border: 2px solid #e2e8f0;
    position: relative;
}

.mission-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #0066cc;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    font-family: 'Segoe UI', system-ui, sans-serif;
    letter-spacing: -0.01em;
}

.mission-text {
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
    margin-top: 16px;
    font-weight: 400;
}

/* Vision Section Compacto */
.vision-section {
    padding: 50px 0;
    background: #ffffff;;
    position: relative;
}

.vision-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.08);
    border: 2px solid #e2e8f0;
    position: relative;
}

.vision-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #00b4d8;
}

.vision-text {
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
    margin-top: 16px;
    font-weight: 400;
}

/* Values Section Compacto */
.values-section {
    padding: 60px 0;
    background: #ffffff;
    position: relative;
}

.values-header {
    text-align: center;
    margin-bottom: 40px;
}

.values-header .section-title {
    color: #1e293b;
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.values-header .section-subtitle {
    color: #64748b;
    font-size: 1.1rem;
    font-weight: 400;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.value-card {
    background: #ffffff;
    padding: 24px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.08);
    transition: all 0.3s ease;
    border: 2px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0066cc, #00b4d8);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 102, 204, 0.15);
    border-color: #cbd5e1;
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: #0066cc;
    transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.05);
}

.value-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

.value-description {
    color: #475569;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Team Section Compacto */
.team-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
}

.team-header {
    text-align: center;
    margin-bottom: 40px;
}

.team-header .section-title {
    font-size: 2.2rem;
    color: #1e293b;
    margin-bottom: 12px;
}

.team-header .section-subtitle {
    color: #64748b;
    font-size: 1.1rem;
    font-weight: 400;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.team-member {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #f1f5f9;
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.08);
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0066cc, #00b4d8);
}

/* Estilo especial para el asesor */
.team-member.advisor {
    border-color: #0066cc;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.team-member.advisor::before {
    background: linear-gradient(90deg, #0066cc, #004499);
    height: 4px;
}

.team-member.advisor .member-role {
    color: #0066cc;
    font-weight: 700;
    font-size: 1rem;
}

.team-member.advisor .member-name {
    color: #0066cc;
}

/* Estilo para estudiantes */
.team-member.student .member-role {
    color: #00b4d8;
    font-weight: 500;
}

.team-member:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15);
    border-color: #cbd5e1;
}

.member-photo {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #e2e8f0;
    background: #f8fafc;
    position: relative;
    transition: transform 0.3s ease;
}

.team-member:hover .member-photo {
    transform: scale(1.05);
    border-color: #0066cc;
}

.member-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info {
    text-align: center;
}

.member-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 6px;
    font-family: 'Segoe UI', system-ui, sans-serif;
    line-height: 1.3;
}

.member-role {
    color: #64748b;
    font-weight: 500;
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* Impact Section Compacto */
.impact-section {
    padding: 60px 0;
    background: #ffffff;
    position: relative;
}

.impact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0066cc, #00b4d8, #0066cc);
}

.impact-header {
    text-align: center;
    margin-bottom: 40px;
}

.impact-header .section-title {
    font-size: 2.2rem;
    color: #1e293b;
    margin-bottom: 12px;
}

.impact-header .section-subtitle {
    color: #64748b;
    font-size: 1.1rem;
    font-weight: 400;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.impact-stat {
    text-align: center;
    background: #ffffff;
    padding: 24px 16px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.08);
    border: 2px solid #f1f5f9;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.impact-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0066cc, #00b4d8);
}

.impact-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 102, 204, 0.15);
    border-color: #cbd5e1;
}

.impact-stat .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #0066cc;
    margin-bottom: 8px;
    font-family: 'Segoe UI', system-ui, sans-serif;
    transition: transform 0.3s ease;
}

.impact-stat:hover .stat-number {
    transform: scale(1.05);
}

.impact-stat .stat-label {
    color: #475569;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.3;
}

/* Responsive Design Compacto */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

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

    .impact-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .mission-content,
    .vision-content {
        padding: 30px 20px;
    }

    .value-card {
        padding: 20px 16px;
    }

    .team-member {
        padding: 16px 12px;
    }

    .about-hero {
        padding: 40px 0 30px;
    }

    .mission-section,
    .vision-section,
    .values-section,
    .team-section,
    .impact-section {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .impact-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .mission-content,
    .vision-content {
        padding: 24px 16px;
    }

    .value-card {
        padding: 16px 12px;
    }

    .team-member {
        padding: 12px 8px;
    }

    .impact-stat {
        padding: 20px 12px;
    }

    .member-photo {
        width: 70px;
        height: 70px;
        margin-bottom: 12px;
    }

    .member-name {
        font-size: 1rem;
    }

    .member-role {
        font-size: 0.8rem;
    }
}

/* Animaciones suaves */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.value-card,
.team-member,
.impact-stat {
    animation: fadeInUp 0.5s ease-out;
}

/* Estados de focus para accesibilidad */
.value-card:focus,
.team-member:focus,
.impact-stat:focus {
    outline: 3px solid rgba(0, 102, 204, 0.3);
    outline-offset: 2px;
}

/* Mejoras tipográficas */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
}

p, span, div {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-weight: 400;
}

/* Container base */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilidades adicionales */
.text-center {
    text-align: center;
}

.dos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
}

.dos-grid::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  display: block; 
  background: linear-gradient(90deg, #0066cc, #00b4d8, #0066cc);
  z-index: 1; /* <- sobre los contenidos */
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }

.video-frame {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    padding: 80px;
    overflow: hidden;
}