
    /* Hero Section Styles */
    .hero-section {
        padding: 8rem 0 6rem;
        background: linear-gradient(135deg, rgba(44, 90, 160, 0.02) 0%, rgba(136, 164, 188, 0.02) 100%);
        position: relative;
        overflow: hidden;
    }

    .hero-section::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 20"><defs><pattern id="grain" width="100" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="5" r="0.5" fill="%23e9ecef" opacity="0.3"/><circle cx="30" cy="15" r="0.3" fill="%23dee2e6" opacity="0.4"/><circle cx="70" cy="8" r="0.4" fill="%23e9ecef" opacity="0.2"/></pattern></defs><rect width="100" height="20" fill="url(%23grain)"/></svg>');
        pointer-events: none;
    }

    .hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        background: rgba(44, 90, 160, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(44, 90, 160, 0.2);
        border-radius: 50px;
        padding: 0.5rem 1rem;
        margin-bottom: 2rem;
        font-size: 0.9rem;
        font-weight: 500;
        color: var(--primary-color);
    }

    .badge-icon {
        font-size: 1rem;
    }

    .hero-title {
        font-size: clamp(2.5rem, 5vw, 3.5rem);
        font-weight: 700;
        line-height: 1.2;
        margin-bottom: 1.5rem;
        color: var(--text-dark);
    }

    .text-gradient {
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .hero-description {
        font-size: 1.1rem;
        line-height: 1.7;
        color: var(--text-light);
        margin-bottom: 3rem;
    }

    .hero-stats {
        display: flex;
        justify-content: center;
        gap: 3rem;
        flex-wrap: wrap;
    }

    .stat-item {
        text-align: center;
    }

    .stat-number {
        display: block;
        font-size: 2rem;
        font-weight: 700;
        color: var(--primary-color);
        line-height: 1;
    }

    .stat-label {
        font-size: 0.9rem;
        color: var(--text-light);
        font-weight: 500;
    }

    /* Section Header */
    .section-header {
        margin-bottom: 4rem;
    }

    .section-badge {
        display: inline-block;
        background: var(--primary-color);
        color: white;
        padding: 0.5rem 1rem;
        border-radius: 50px;
        font-size: 0.9rem;
        font-weight: 500;
        margin-bottom: 1rem;
    }

    .section-title {
        font-size: clamp(2rem, 4vw, 2.5rem);
        font-weight: 700;
        margin-bottom: 1rem;
        color: var(--text-dark);
    }

    .section-description {
        font-size: 1.1rem;
        color: var(--text-light);
        line-height: 1.6;
    }

    /* Team Cards 3D Effect */
    .team-container {
        perspective: 1000px;
    }

    .team-card {
        height: 500px;
        margin: 0 10px;
    }

    .card-inner {
        position: relative;
        width: 100%;
        height: 100%;
        text-align: center;
        transition: transform 0.8s;
        transform-style: preserve-3d;
        cursor: pointer;
    }

    .team-card:hover .card-inner {
        transform: rotateY(180deg);
    }

    .card-front, .card-back {
        position: absolute;
        width: 100%;
        height: 100%;
        backface-visibility: hidden;
        border-radius: var(--border-radius-lg);
        background: var(--bg-white);
        box-shadow: var(--shadow-md);
        overflow: hidden;
        border: 1px solid var(--border-color);
    }

    .card-back {
        transform: rotateY(180deg);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 2rem;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        color: white;
    }

   .member-image {
    position: relative;
    height: 350px; /* o más */
    overflow: hidden;
}

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

    .image-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(44, 90, 160, 0.8);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .team-card:hover .image-overlay {
        opacity: 1;
    }

    .social-links a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        background: white;
        color: var(--primary-color);
        border-radius: 50%;
        font-size: 1.2rem;
        transition: transform 0.3s ease;
    }

    .social-links a:hover {
        transform: scale(1.1);
    }

    .member-info {
        padding: 1.5rem;
        height: 150px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .member-name {
        font-size: 1.2rem;
        font-weight: 600;
        color: var(--text-dark);
        margin-bottom: 0.5rem;
    }

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

    .member-tags {
        display: flex;
        gap: 0.5rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .tag {
        background: rgba(44, 90, 160, 0.1);
        color: var(--primary-color);
        padding: 0.25rem 0.75rem;
        border-radius: 15px;
        font-size: 0.8rem;
        font-weight: 500;
    }

    .member-details h4 {
        margin-bottom: 1rem;
        font-size: 1.3rem;
    }

    .skills {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
        margin-top: 1rem;
    }

    .skill {
        background: rgba(255, 255, 255, 0.2);
        padding: 0.25rem 0.75rem;
        border-radius: 15px;
        font-size: 0.8rem;
        font-weight: 500;
    }

    /* CTA Section */
    .cta-section {
        padding: 6rem 0;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        color: white;
        text-align: center;
    }

    .cta-title {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .cta-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        opacity: 0.9;
    }

    .cta-buttons {
        display: flex;
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .btn-primary {
        background: white;
        color: var(--primary-color);
        border: none;
        font-weight: 600;
    }

    .btn-primary:hover {
        background: rgba(255, 255, 255, 0.9);
        transform: translateY(-2px);
    }

    .btn-outline-primary {
        border: 2px solid white;
        color: white;
        background: transparent;
        font-weight: 600;
    }

    .btn-outline-primary:hover {
        background: white;
        color: var(--primary-color);
        transform: translateY(-2px);
    }

    /* Responsive Design */
    @media (max-width: 768px) {
        .hero-section {
            padding: 6rem 0 4rem;
        }
        
        .hero-stats {
            gap: 2rem;
        }
        
        .team-card {
            height: 350px;
        }
        
        .member-image {
            height: 200px;
        }
        
        .cta-title {
            font-size: 2rem;
        }
        
        .cta-buttons {
            flex-direction: column;
            align-items: center;
        }
        
        .cta-buttons .btn {
            width: 200px;
        }
    }

    /* Animations */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .fade-in-up {
        animation: fadeInUp 0.8s ease-out;
    }

    /* Custom Owl Carousel Styles */
    .owl-nav {
        text-align: center;
        margin-top: 2rem;
    }

    .owl-nav button {
        background: var(--primary-color) !important;
        color: white !important;
        border-radius: 50% !important;
        width: 50px !important;
        height: 50px !important;
        margin: 0 0.5rem !important;
        font-size: 1.2rem !important;
        transition: all 0.3s ease !important;
    }

    .owl-nav button:hover {
        background: var(--secondary-color) !important;
        transform: scale(1.1) !important;
    }

    .owl-dots {
        text-align: center;
        margin-top: 2rem;
    }

    .owl-dot {
        background: var(--border-color) !important;
        border-radius: 50% !important;
        width: 12px !important;
        height: 12px !important;
        margin: 0 0.5rem !important;
        transition: all 0.3s ease !important;
    }

    .owl-dot.active {
        background: var(--primary-color) !important;
        transform: scale(1.3) !important;
    }
    html, body{
    height:auto !important;   /* anula el h-100 heredado */
    min-height:100%;          /* mantiene el sticky‑footer */
    }
