/* Reset y variables CSS - IterHub Colors */
:root {
    --primary: #FECC17;    /* Amarillo IterHub */
    --secondary: #1E3664;  /* Azul IterHub */
    --accent: #FF6B35;     /* Naranja de acento */
    --dark: #0a0a0f;       /* Azul oscuro */
    --darker: #050508;     /* Azul más oscuro */
    --gray: #1a1a2e;       /* Azul grisáceo */
    --light: #e6e6e6;      /* Blanco */
    --gradient: linear-gradient(135deg, var(--primary), var(--accent));
    --brand-gradient: linear-gradient(135deg, var(--primary), var(--secondary));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: var(--darker);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 400;
}

/* Logo IterHub CSS */
.iterhub-logo {
    display: flex;
    align-items: center;
    margin-right: 1rem;
}

.logo-h {
    position: relative;
    width: 32px;
    height: 38px;
    margin-right: 12px;
}

.i-dot {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 6px;
    height: 6px;
    background: var(--primary);
}

.h-vertical.i-stem {
    position: absolute;
    width: 22px;
    height: 6px;
    background: var(--primary);
    top: 50%;
    left: 50%;
    transform: translate(+50%, +50%);
    box-shadow: 0 0 12px var(--primary);
    z-index: 2;
}

.h-horizontal {
    position: absolute;
    width: 34px;
    height: 6px;
    background: var(--primary);
    top: 50%;
    left: 40%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 12px var(--primary);
    z-index: 2;
}

.h-vertical.right {
    position: absolute;
    right: 5px;
    width: 6px;
    height: 35px;
    background: var(--primary);
    z-index: 1;
}


.h-vertical {
    position: absolute;
    width: 6px;
    top: -4;
    height: 25px;
    background: var(--primary);
}

.h-vertical.left {
    left: 0;
    top: 10px;
}




.iterhub-logo.small {
    transform: scale(0.8);
}

.iterhub-logo.small .logo-h {
    width: 30px;
    height: 35px;
}

.iterhub-logo.small .h-vertical {
    height: 28px;
}

.iterhub-logo.small .h-horizontal {
    width: 22px;
    height: 5px;
}

/* Particles Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 245, 255, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h2 {
    font-family: 'Arial', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--light);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    font-family: 'Arial', sans-serif;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.login-btn, .demo-btn {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Arial', sans-serif;
}

.login-btn {
    background: transparent;
    color: var(--light);
    border: 1px solid var(--gray);
}

.demo-btn {
    background: var(--primary);
    color: var(--secondary);
    font-weight: 700;
}

.login-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.demo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(254, 204, 23, 0.4);
    background: #ffd43b;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 10rem 5% 5rem;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100vh;
}

.tech-badge {
    background: rgba(254, 204, 23, 0.1);
    border: 1px solid var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    font-family: 'Arial', sans-serif;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-family: 'Arial', sans-serif;
    font-weight: 700;
}

.gradient-text {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-text {
    color: var(--primary);
    text-shadow: 0 0 20px rgba(254, 204, 23, 0.5);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: #b0b0b0;
    font-family: 'Arial', sans-serif;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Arial', sans-serif;
    font-weight: 700;
}

.hero-btn.primary {
    background: var(--primary);
    color: var(--secondary);
}

.hero-btn.secondary {
    background: transparent;
    color: var(--light);
    border: 1px solid var(--gray);
}

.hero-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(254, 204, 23, 0.3);
    background: #ffd43b;
}

.hero-btn.secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.tech-stack {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stack-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #b0b0b0;
    font-family: 'Arial', sans-serif;
}

.stack-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
}

.iterative-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, var(--gray) 1px, transparent 1px) 0 0 / 20px 20px,
        linear-gradient(0deg, var(--gray) 1px, transparent 1px) 0 0 / 20px 20px;
    opacity: 0.3;
    border-radius: 15px;
    border: 1px solid rgba(254, 204, 23, 0.1);
}

.floating-card {
    position: absolute;
    background: rgba(30, 54, 100, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(254, 204, 23, 0.3);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite;
    font-family: 'Arial', sans-serif;
}

.floating-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.floating-card h4 {
    margin-bottom: 0.5rem;
    color: var(--light);
    font-weight: 700;
}

.floating-card p {
    font-size: 0.9rem;
    color: #b0b0b0;
}

.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 10%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 10%;
    left: 20%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Sections comunes */
section {
    padding: 5rem 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-family: 'Arial', sans-serif;
    font-weight: 700;
}

.section-header p {
    font-size: 1.2rem;
    color: #b0b0b0;
    font-family: 'Arial', sans-serif;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(30, 54, 100, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(254, 204, 23, 0.2);
    padding: 2.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-family: 'Arial', sans-serif;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--brand-gradient);
    opacity: 0.1;
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 0;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(254, 204, 23, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--light);
    font-weight: 700;
}

.feature-card p {
    color: #b0b0b0;
    margin-bottom: 1.5rem;
}

.feature-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.feature-tech span {
    background: rgba(254, 204, 23, 0.1);
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(254, 204, 23, 0.3);
    font-family: 'Arial', sans-serif;
}

/* Technology Stack */
.technology {
    background: rgba(15, 26, 51, 0.8);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tech-item {
    text-align: center;
    padding: 2rem;
    background: rgba(30, 54, 100, 0.6);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(254, 204, 23, 0.1);
    font-family: 'Arial', sans-serif;
}

.tech-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(254, 204, 23, 0.2);
}

.tech-item i {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tech-item h4 {
    margin-bottom: 0.5rem;
    color: var(--light);
    font-weight: 700;
}

.tech-item p {
    color: #b0b0b0;
    font-size: 0.9rem;
}

/* Stats */
.stats {
    background: var(--brand-gradient);
    color: var(--secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.stat-card h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'Arial', sans-serif;
}

.stat-card p {
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Arial', sans-serif;
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: rgba(30, 54, 100, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(254, 204, 23, 0.2);
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    font-family: 'Arial', sans-serif;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(254, 204, 23, 0.2);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--brand-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.2rem;
}

.client-info h4 {
    color: var(--light);
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.client-info p {
    color: #b0b0b0;
    font-size: 0.9rem;
}

.testimonial-card p {
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.rating {
    color: var(--primary);
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, var(--dark), var(--darker));
    text-align: center;
    padding: 6rem 5%;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-family: 'Arial', sans-serif;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: #b0b0b0;
    font-family: 'Arial', sans-serif;
}

.cta-btn {
    background: var(--primary);
    color: var(--secondary);
    border: none;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Arial', sans-serif;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(254, 204, 23, 0.4);
    background: #ffd43b;
}

/* Footer */
footer {
    background: var(--darker);
    border-top: 1px solid rgba(254, 204, 23, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 0 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo h3 {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Arial', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--light);
    font-family: 'Arial', sans-serif;
    font-weight: 700;
}

.footer-section p {
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    font-family: 'Arial', sans-serif;
}

.footer-section a {
    display: block;
    color: #b0b0b0;
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
    font-family: 'Arial', sans-serif;
}

.footer-section a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    background: rgba(30, 54, 100, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--light);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--secondary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #b0b0b0;
    font-family: 'Arial', sans-serif;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 8rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .tech-stack {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .floating-card {
        position: relative;
        margin: 1rem;
    }

    .hero-visual {
        height: auto;
        margin-top: 2rem;
    }

    .footer-logo {
        justify-content: center;
    }
}

/* Compatibilidad adicional para navegadores modernos */
@supports (background-clip: text) or (-webkit-background-clip: text) {
    .gradient-text,
    .logo h2,
    .feature-icon,
    .tech-item i,
    .footer-logo h3 {
        background-clip: text;
        -webkit-background-clip: text;
    }
}

/* ... (mantener todo el CSS anterior) ... */

/* About Section */
.about {
    background: rgba(15, 26, 51, 0.8);
    padding: 5rem 5%;
}

.about-subtitle {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 2rem;
    font-weight: 600;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #b0b0b0;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(30, 54, 100, 0.6);
    border-radius: 10px;
    border: 1px solid rgba(254, 204, 23, 0.2);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-item p {
    color: #b0b0b0;
    font-weight: 600;
}

/* Services Section */
.services {
    padding: 5rem 5%;
    background: var(--darker);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: rgba(30, 54, 100, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(254, 204, 23, 0.2);
    padding: 2.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(254, 204, 23, 0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--light);
    font-weight: 700;
}

.service-card p {
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    color: #b0b0b0;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.service-cta {
    background: var(--primary);
    color: var(--secondary);
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
    font-family: 'Arial', sans-serif;
}

.service-cta:hover {
    background: #ffd43b;
    transform: translateY(-2px);
}

/* Specialties Section */
.specialties {
    padding: 5rem 5%;
    background: rgba(15, 26, 51, 0.8);
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.specialty-card {
    background: rgba(30, 54, 100, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(254, 204, 23, 0.2);
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    text-align: center;
}

.specialty-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(254, 204, 23, 0.2);
}

.specialty-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.specialty-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--light);
    font-weight: 700;
}

.specialty-card p {
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.specialty-tools {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.specialty-tools span {
    background: rgba(254, 204, 23, 0.1);
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(254, 204, 23, 0.3);
}

/* Events Section */
.events {
    padding: 5rem 5%;
    background: var(--darker);
}

.event-card {
    background: rgba(30, 54, 100, 0.8);
    backdrop-filter: blur(10px);
    border: 2px solid var(--primary);
    border-radius: 20px;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(254, 204, 23, 0.2);
}

.event-badge {
    background: var(--primary);
    color: var(--secondary);
    padding: 1rem 2rem;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.event-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    padding: 3rem;
}

.event-info h3 {
    font-size: 2rem;
    color: var(--light);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.event-subtitle {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 2rem;
    font-weight: 600;
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.event-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #b0b0b0;
}

.event-detail i {
    color: var(--primary);
    width: 20px;
}

.event-description {
    color: #b0b0b0;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.event-learn, .event-includes {
    margin-bottom: 2rem;
}

.event-learn h4, .event-includes h4 {
    color: var(--light);
    margin-bottom: 1rem;
    font-weight: 600;
}

.event-learn ul, .event-includes ul {
    list-style: none;
    color: #b0b0b0;
}

.event-learn li, .event-includes li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.event-learn li:before, .event-includes li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
}

.event-result {
    color: var(--primary);
    font-style: italic;
    border-left: 3px solid var(--primary);
    padding-left: 1rem;
}

.event-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.event-calendar {
    background: var(--secondary);
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.calendar-header {
    background: var(--primary);
    color: var(--secondary);
    padding: 1rem;
    font-weight: 700;
    font-size: 1.2rem;
}

.calendar-days {
    display: flex;
    gap: 0.5rem;
    padding: 1.5rem;
}

.calendar-day {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(254, 204, 23, 0.1);
    color: #b0b0b0;
    font-weight: 600;
}

.calendar-day.active {
    background: var(--primary);
    color: var(--secondary);
}

.event-cta {
    background: var(--primary);
    color: var(--secondary);
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.event-cta:hover {
    background: #ffd43b;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(254, 204, 23, 0.4);
}

/* Team Section */
.team {
    padding: 5rem 5%;
    background: rgba(15, 26, 51, 0.8);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background: rgba(30, 54, 100, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(254, 204, 23, 0.2);
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(254, 204, 23, 0.2);
}

/* Alternativa más robusta */
.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    border: 3px solid var(--primary);
    box-shadow: 0 5px 15px rgba(254, 204, 23, 0.3);
    background: var(--secondary);
    /* Forzar el contexto de apilamiento */
    isolation: isolate;
    position: relative;
}

.team-avatar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 3px solid var(--primary);
    z-index: 2;
    pointer-events: none;
}

/* Solución definitiva para imágenes circulares */
.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    border: 3px solid var(--primary);
    box-shadow: 0 5px 15px rgba(254, 204, 23, 0.3);
    background: var(--secondary);
    position: relative;
    /* Asegurar el contexto de apilamiento */
    transform: translateZ(0);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    display: block;
    /* Doble protección con border-radius */
    border-radius: 50%;
}

.team-card:hover .team-avatar img {
    transform: scale(1.1);
}

/* Fallback para navegadores muy antiguos */
@supports not (object-fit: cover) {
    .team-avatar {
        background-size: cover;
        background-position: center;
    }
    
    .team-avatar img {
        display: none;
    }
}

.team-card h3 {
    font-size: 1.3rem;
    color: var(--light);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.team-role {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.team-bio {
    color: #b0b0b0;
    line-height: 1.6;
    font-style: italic;
}

/* Blog Preview */
.blog-preview {
    padding: 5rem 5%;
    background: var(--darker);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    background: rgba(30, 54, 100, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(254, 204, 23, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(254, 204, 23, 0.2);
}

.blog-image {
    height: 150px;
    background: var(--brand-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 3rem;
}

.blog-content {
    padding: 2rem;
}

.blog-content h3 {
    font-size: 1.3rem;
    color: var(--light);
    margin-bottom: 1rem;
    font-weight: 700;
}

.blog-content p {
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.blog-cta {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
}

.blog-cta:hover {
    background: var(--primary);
    color: var(--secondary);
}

/* Responsive Updates */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .event-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .calendar-days {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .specialties-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}