/* ========================================= */
/* VARIABLES CSS - RINSA WEEKENDS */
/* ========================================= */

:root {
    /* Colores Base */
    --color-white: #FFFFFF;
    --color-light-gray: #F8FAFC;
    --color-medium-gray: #E2E8F0;
    --color-dark-gray: #64748B;
    --color-black: #0F172A;
    
    /* Paleta Colorida Rinsa Weekends */
    --color-primary-blue: #0EA5E9;
    --color-vibrant-purple: #8B5CF6;
    --color-energetic-orange: #F59E0B;
    --color-fresh-green: #059669;
    --color-warm-coral: #EA580C;
    --color-bright-pink: #EC4899;
    --color-electric-cyan: #06B6D4;
    --color-sunny-yellow: #EAB308;
    
    /* Colores por Tipo de Contenido */
    --webinar-primary: #0EA5E9;
    --webinar-secondary: #8B5CF6;
    --event-premium: #F59E0B;
    --event-virtual: #EA580C;
    --partner-highlight: #059669;
    --community-accent: #EC4899;
    --rating-gold: #EAB308;
    
    /* Gradientes Vibrantes */
    --gradient-hero: linear-gradient(135deg, #E0F2FE 0%, #F3E8FF 30%, #FEF3C7 60%, #ECFDF5 100%);
    --gradient-primary: linear-gradient(135deg, var(--color-primary-blue) 0%, var(--color-vibrant-purple) 100%);
    --gradient-energy: linear-gradient(135deg, var(--color-energetic-orange) 0%, var(--color-warm-coral) 100%);
    --gradient-fresh: linear-gradient(135deg, var(--color-fresh-green) 0%, var(--color-electric-cyan) 100%);
    --gradient-vibrant: linear-gradient(135deg, var(--color-bright-pink) 0%, var(--color-vibrant-purple) 100%);
    --gradient-warm: linear-gradient(135deg, var(--color-sunny-yellow) 0%, var(--color-energetic-orange) 100%);
    
    /* Sombras Coloridas */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow-blue: 0 0 20px rgba(14, 165, 233, 0.3);
    --shadow-glow-purple: 0 0 20px rgba(139, 92, 246, 0.3);
    --shadow-glow-orange: 0 0 20px rgba(245, 158, 11, 0.3);
    --shadow-glow-green: 0 0 20px rgba(5, 150, 105, 0.3);
    
    /* Tipografía */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-secondary: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Espaciado */
    --border-radius-sm: 0.375rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
    --border-radius-2xl: 1.5rem;
    --border-radius-full: 9999px;
    
    /* Transiciones */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
    
    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 1040;
    --z-popover: 1050;
    --z-tooltip: 1060;
}

/* ========================================= */
/* RESET Y BASE */
/* ========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-dark-gray);
    background-color: var(--color-white);
    overflow-x: hidden;
}

/* ========================================= */
/* TIPOGRAFÍA */
/* ========================================= */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-black);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================= */
/* LAYOUT Y CONTENEDORES */
/* ========================================= */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-alt {
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--color-dark-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================= */
/* HEADER */
/* ========================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-medium-gray);
    z-index: var(--z-fixed);
    transition: var(--transition-normal);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-logo {
    height: 40px;
    border-radius: var(--border-radius-md);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-black);
}

.brand-subtitle {
    font-size: 0.875rem;
    color: var(--color-dark-gray);
}

.header-nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--color-dark-gray);
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--color-primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 1rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--color-dark-gray);
}

/* ========================================= */
/* BOTONES */
/* ========================================= */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: var(--transition-fast);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow-blue);
}

.btn-secondary {
    background: var(--gradient-energy);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow-orange);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary-blue);
    border: 2px solid var(--color-primary-blue);
}

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* ========================================= */
/* HERO SECTION */
/* ========================================= */

.hero {
    background: var(--gradient-hero);
    padding: 8rem 0 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--color-dark-gray);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.stat-number {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-dark-gray);
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ========================================= */
/* ANIMACIÓN DE COMUNIDAD */
/* ========================================= */

.community-animation {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.network-container {
    position: relative;
    width: 400px;
    height: 400px;
}

.central-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl), var(--shadow-glow-blue);
    z-index: 10;
}

.hub-icon {
    color: var(--color-white);
    font-size: 2rem;
}

.hub-pulse {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--color-primary-blue);
    border-radius: var(--border-radius-full);
    animation: pulse 2s infinite;
    opacity: 0.6;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 0.3; }
    100% { transform: scale(1); opacity: 0.6; }
}

.institution-nodes {
    position: relative;
    width: 100%;
    height: 100%;
}

.node {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-full);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: var(--transition-normal);
    animation: float 3s ease-in-out infinite;
}

.node:nth-child(1) { animation-delay: 0s; }
.node:nth-child(2) { animation-delay: 0.5s; }
.node:nth-child(3) { animation-delay: 1s; }
.node:nth-child(4) { animation-delay: 1.5s; }
.node:nth-child(5) { animation-delay: 2s; }
.node:nth-child(6) { animation-delay: 2.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(calc(var(--angle))) translateX(150px) rotate(calc(-1 * var(--angle))); }
    50% { transform: translateY(-10px) rotate(calc(var(--angle))) translateX(150px) rotate(calc(-1 * var(--angle))); }
}

.node-university {
    background: var(--gradient-primary);
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%) rotate(calc(var(--angle))) translateX(150px) rotate(calc(-1 * var(--angle)));
}

.node-company {
    background: var(--gradient-energy);
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%) rotate(calc(var(--angle))) translateX(150px) rotate(calc(-1 * var(--angle)));
}

.node-government {
    background: var(--gradient-fresh);
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%) rotate(calc(var(--angle))) translateX(150px) rotate(calc(-1 * var(--angle)));
}

.node-foundation {
    background: var(--gradient-vibrant);
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%) rotate(calc(var(--angle))) translateX(150px) rotate(calc(-1 * var(--angle)));
}

.node-research {
    background: var(--gradient-warm);
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%) rotate(calc(var(--angle))) translateX(150px) rotate(calc(-1 * var(--angle)));
}

.node-innovation {
    background: linear-gradient(135deg, var(--color-electric-cyan) 0%, var(--color-bright-pink) 100%);
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%) rotate(calc(var(--angle))) translateX(150px) rotate(calc(-1 * var(--angle)));
}

.node-icon {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.node-label {
    font-size: 0.75rem;
    color: var(--color-white);
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
}

.node:hover {
    transform: translateY(-50%) translateX(-50%) rotate(calc(var(--angle))) translateX(150px) rotate(calc(-1 * var(--angle))) scale(1.1);
    box-shadow: var(--shadow-xl), var(--shadow-glow-blue);
}

.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.connections-svg {
    width: 100%;
    height: 100%;
}

.connection-line {
    stroke: var(--color-primary-blue);
    stroke-width: 1;
    opacity: 0.3;
    animation: connectionPulse 3s ease-in-out infinite;
}

@keyframes connectionPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-primary-blue);
    border-radius: var(--border-radius-full);
    animation: particleFloat 4s ease-in-out infinite;
}

.particle-1 { top: 20%; left: 20%; animation-delay: 0s; }
.particle-2 { top: 30%; right: 20%; animation-delay: 1s; }
.particle-3 { bottom: 30%; left: 30%; animation-delay: 2s; }
.particle-4 { bottom: 20%; right: 30%; animation-delay: 3s; }
.particle-5 { top: 60%; left: 10%; animation-delay: 0.5s; }
.particle-6 { top: 70%; right: 10%; animation-delay: 1.5s; }

@keyframes particleFloat {
    0%, 100% { transform: translateY(0px); opacity: 0.4; }
    50% { transform: translateY(-20px); opacity: 0.8; }
}

/* ========================================= */
/* WEBINARS GRID */
/* ========================================= */

.month-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-full);
    font-weight: 500;
    margin-top: 1rem;
}

.webinars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.webinar-card {
    background: var(--color-white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: var(--transition-normal);
    border: 1px solid var(--color-medium-gray);
}

.webinar-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl), var(--shadow-glow-blue);
}

.webinar-card.featured {
    border: 2px solid var(--color-primary-blue);
    position: relative;
}

.webinar-card.featured::before {
    content: 'Destacado';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 5;
}

.webinar-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem 1.5rem 0;
}

.webinar-date {
    text-align: center;
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 0.75rem;
    border-radius: var(--border-radius-lg);
    min-width: 60px;
}

.date-day {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.date-month {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.9;
}

.webinar-status {
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.status-upcoming {
    background: linear-gradient(135deg, var(--color-fresh-green) 0%, var(--color-electric-cyan) 100%);
    color: var(--color-white);
}

.webinar-content {
    padding: 1.5rem;
}

.webinar-title {
    margin-bottom: 1rem;
    color: var(--color-black);
}

.webinar-description {
    color: var(--color-dark-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.webinar-speaker {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.speaker-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
}

.speaker-name {
    font-weight: 600;
    color: var(--color-black);
}

.speaker-title {
    font-size: 0.875rem;
    color: var(--color-dark-gray);
}

.webinar-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-full);
    font-size: 0.75rem;
    font-weight: 500;
}

.tag-technology {
    background: rgba(14, 165, 233, 0.1);
    color: var(--color-primary-blue);
}

.tag-education {
    background: rgba(139, 92, 246, 0.1);
    color: var(--color-vibrant-purple);
}

.tag-innovation {
    background: rgba(245, 158, 11, 0.1);
    color: var(--color-energetic-orange);
}

.tag-pedagogy {
    background: rgba(5, 150, 105, 0.1);
    color: var(--color-fresh-green);
}

.tag-context {
    background: rgba(234, 88, 12, 0.1);
    color: var(--color-warm-coral);
}

.tag-methodology {
    background: rgba(236, 72, 153, 0.1);
    color: var(--color-bright-pink);
}

.tag-research {
    background: rgba(6, 182, 212, 0.1);
    color: var(--color-electric-cyan);
}

.webinar-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-top: 1px solid var(--color-medium-gray);
    background: var(--color-light-gray);
}

.webinar-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-dark-gray);
    font-size: 0.875rem;
}

.cycle-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 2rem;
    background: var(--color-light-gray);
    border-radius: var(--border-radius-xl);
}

.cycle-partner h4,
.cycle-benefits h4 {
    margin-bottom: 1rem;
    color: var(--color-black);
}

.partner-logo img {
    max-width: 200px;
    height: auto;
    border-radius: var(--border-radius-md);
}

.cycle-benefits ul {
    list-style: none;
}

.cycle-benefits li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-dark-gray);
}

.cycle-benefits li i {
    color: var(--color-fresh-green);
}

/* ========================================= */
/* EVENTOS INDEPENDIENTES */
/* ========================================= */

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.event-card {
    background: var(--color-white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: var(--transition-normal);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl), var(--shadow-glow-orange);
}

.event-card.premium {
    border: 2px solid var(--color-energetic-orange);
}

.event-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.event-type {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-energy);
    color: var(--color-white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.event-content {
    padding: 1.5rem;
}

.event-title {
    margin-bottom: 1rem;
    color: var(--color-black);
}

.event-description {
    color: var(--color-dark-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.event-details {
    margin-bottom: 1.5rem;
}

.event-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-dark-gray);
    font-size: 0.875rem;
}

.event-detail i {
    color: var(--color-energetic-orange);
}

.event-price {
    text-align: center;
    padding: 1rem;
    background: var(--color-light-gray);
    border-radius: var(--border-radius-lg);
}

.price-amount {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-energetic-orange);
    margin-bottom: 0.25rem;
}

.price-note {
    font-size: 0.875rem;
    color: var(--color-dark-gray);
}

.event-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--color-medium-gray);
}

/* ========================================= */
/* CICLOS PASADOS */
/* ========================================= */

.past-cycles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.cycle-card {
    background: var(--color-white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: var(--transition-normal);
    border: 1px solid var(--color-medium-gray);
}

.cycle-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl), var(--shadow-glow-green);
}

.cycle-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 0;
}

.cycle-date {
    background: var(--gradient-fresh);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-full);
    font-weight: 600;
    font-size: 0.875rem;
}

.cycle-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-stars {
    display: flex;
    gap: 0.25rem;
}

.star {
    width: 16px;
    height: 16px;
    color: var(--color-medium-gray);
}

.star.filled {
    color: var(--color-sunny-yellow);
}

.rating-score {
    font-weight: 600;
    color: var(--color-dark-gray);
    font-size: 0.875rem;
}

.cycle-content {
    padding: 1.5rem;
}

.cycle-title {
    margin-bottom: 1rem;
    color: var(--color-black);
}

.cycle-description {
    color: var(--color-dark-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.cycle-partner {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--color-light-gray);
    border-radius: var(--border-radius-lg);
}

.partner-logo {
    width: 80px;
    height: 40px;
    object-fit: contain;
    border-radius: var(--border-radius-sm);
}

.partner-name {
    font-weight: 600;
    color: var(--color-black);
}

.partner-location {
    font-size: 0.875rem;
    color: var(--color-dark-gray);
}

.cycle-stats {
    display: flex;
    gap: 1rem;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-dark-gray);
    font-size: 0.875rem;
}

.stat i {
    color: var(--color-fresh-green);
}

/* ========================================= */
/* CARRUSEL DE SOCIOS */
/* ========================================= */

.partners-section {
    padding: 4rem 0;
    background: var(--color-light-gray);
}

.partners-carousel {
    overflow: hidden;
    margin-top: 2rem;
}

.partners-track {
    display: flex;
    gap: 2rem;
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.partner-item {
    flex-shrink: 0;
    width: 200px;
    height: 100px;
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    cursor: pointer;
}

.partner-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.partner-item img {
    max-width: 160px;
    max-height: 60px;
    object-fit: contain;
}

/* ========================================= */
/* SOBRE WEEKENDS */
/* ========================================= */

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.about-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.about-text h3 {
    margin-bottom: 0.5rem;
    color: var(--color-black);
}

.about-text p {
    color: var(--color-dark-gray);
    line-height: 1.6;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.impact-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.impact-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--color-white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
}

.impact-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary-blue);
    margin-bottom: 0.5rem;
}

.impact-label {
    font-size: 0.875rem;
    color: var(--color-dark-gray);
    font-weight: 500;
}

/* ========================================= */
/* COMUNIDAD */
/* ========================================= */

.community-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
    background: var(--color-white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl), var(--shadow-glow-purple);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-vibrant);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.benefit-item h3 {
    margin-bottom: 1rem;
    color: var(--color-black);
}

.benefit-item p {
    color: var(--color-dark-gray);
    line-height: 1.6;
}

.community-cta {
    text-align: center;
    padding: 3rem;
    background: var(--gradient-hero);
    border-radius: var(--border-radius-2xl);
}

.community-cta h3 {
    margin-bottom: 1rem;
    color: var(--color-black);
}

.community-cta p {
    margin-bottom: 2rem;
    color: var(--color-dark-gray);
    font-size: 1.125rem;
}

/* ========================================= */
/* FOOTER */
/* ========================================= */

.footer {
    background: var(--color-black);
    color: var(--color-white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--color-white);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-section a:hover {
    color: var(--color-primary-blue);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--color-primary-blue);
    transform: translateY(-2px);
}

/* ========================================= */
/* MOBILE MENU */
/* ========================================= */

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-medium-gray);
    box-shadow: var(--shadow-lg);
    z-index: var(--z-dropdown);
}

.mobile-menu-content {
    padding: 2rem;
}

.mobile-nav-link {
    display: block;
    padding: 1rem 0;
    text-decoration: none;
    color: var(--color-dark-gray);
    font-weight: 500;
    border-bottom: 1px solid var(--color-medium-gray);
}

.mobile-nav-link:hover {
    color: var(--color-primary-blue);
}

.mobile-menu-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

/* ========================================= */
/* RESPONSIVE DESIGN */
/* ========================================= */

@media (max-width: 768px) {
    .header-nav,
    .header-actions {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .community-animation {
        height: 300px;
    }
    
    .network-container {
        width: 300px;
        height: 300px;
    }
    
    .node {
        width: 40px;
        height: 40px;
    }
    
    .node-icon {
        font-size: 1rem;
    }
    
    .node-label {
        font-size: 0.625rem;
    }
    
    .webinars-grid,
    .events-grid,
    .past-cycles-grid {
        grid-template-columns: 1fr;
    }
    
    .cycle-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .impact-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .community-benefits {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-lg {
        width: 100%;
        justify-content: center;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
}