﻿/* ============================================================================
   Estilos extraídos de socios-2026.html (P0.2 cleanup)
   Movidos del <style> inline al external stylesheet el 2026-08-16.
   ============================================================================ */


        /* Hero Section */
        .hero-socios {
            position: relative;
            min-height: 350px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, var(--cycling-primary) 0%, var(--cycling-secondary) 100%);
            overflow: hidden;
            padding: 3rem 2rem;
            box-sizing: border-box;
            width: 100%;
        }
        
        .hero-socios::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('assets/images/banners/hero-carretera.jpg') center/cover no-repeat;
            opacity: 0.2;
            pointer-events: none;
        }
        
        .hero-socios-content {
            position: relative;
            z-index: 1;
            text-align: center;
            max-width: 900px;
            width: 100%;
            color: white;
            box-sizing: border-box;
        }
        
        .hero-socios-content h1 {
            font-size: clamp(2rem, 6vw, 3.5rem);
            font-weight: 800;
            margin-bottom: 1rem;
            text-transform: uppercase;
            text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
            line-height: 1.2;
            color: white;
        }
        
        .hero-socios-content p {
            font-size: clamp(1.1rem, 3vw, 1.5rem);
            margin-bottom: 1.5rem;
            line-height: 1.6;
            color: white;
        }
        
        .hero-socios-badge {
            display: inline-block;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            padding: 0.75rem 1.5rem;
            border-radius: 50px;
            font-size: clamp(1rem, 2.5vw, 1.2rem);
            font-weight: 700;
            border: 2px solid rgba(255, 255, 255, 0.3);
            margin-bottom: 1.5rem;
            color: white;
        }
        
        .hero-socios-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
            margin-top: 1.5rem;
        }
        
        .hero-socios-buttons .btn {
            min-width: 220px;
        }

        .hero-btn-secondary {
            background: rgba(255, 255, 255, 0.15);
            color: white;
            border-color: rgba(255, 255, 255, 0.5);
        }

        .hero-btn-secondary:hover {
            background: rgba(255, 255, 255, 0.3);
            color: white;
            border-color: white;
        }
        
        /* Footer siempre al fondo */
        #footer-placeholder {
            flex-shrink: 0;
            margin-top: auto;
        }
        
        /* Responsive hero */
        @media (max-width: 968px) {
            .hero-socios {
                min-height: 320px;
                padding: 2.5rem 1.5rem;
            }
            
            .hero-socios-content h1 {
                font-size: clamp(1.8rem, 5.5vw, 3rem);
            }
            
            .hero-socios-content p {
                font-size: clamp(1rem, 2.8vw, 1.3rem);
            }
        }
        
        @media (max-width: 768px) {
            .hero-socios {
                min-height: 280px;
                padding: 2rem 1.25rem;
            }
            
            .hero-socios-content h1 {
                font-size: clamp(1.6rem, 5vw, 2.5rem);
                margin-bottom: 0.75rem;
            }
            
            .hero-socios-content p {
                font-size: clamp(0.95rem, 2.5vw, 1.2rem);
                margin-bottom: 1rem;
            }
            
            .hero-socios-badge {
                font-size: clamp(0.9rem, 2.2vw, 1.1rem);
                padding: 0.6rem 1.25rem;
            }
            
            .hero-socios-buttons {
                flex-direction: column;
                align-items: center;
            }
            
            .hero-socios-buttons .btn {
                width: 100%;
                max-width: 320px;
            }
        }
        
        @media (max-width: 480px) {
            .hero-socios {
                min-height: 250px;
                padding: 1.5rem 1rem;
            }
            
            .hero-socios-content h1 {
                font-size: clamp(1.4rem, 4.5vw, 2rem);
                margin-bottom: 0.5rem;
            }
            
            .hero-socios-content p {
                font-size: clamp(0.9rem, 2.3vw, 1.1rem);
                margin-bottom: 0.75rem;
            }
            
            .hero-socios-badge {
                font-size: clamp(0.85rem, 2vw, 1rem);
                padding: 0.5rem 1rem;
            }
        }
        
        /* Sección beneficios responsive */
        @media (max-width: 768px) {
            .benefits-section {
                padding: 2rem 0 !important;
            }
        }
        
        @media (max-width: 480px) {
            .benefits-section {
                padding: 1.5rem 0 !important;
            }
            
            .benefits-section .section-title {
                font-size: 1.5rem;
            }
            
            .benefits-section .section-subtitle {
                font-size: 0.95rem;
            }
        }
        
        /* Sección de Contador de Socios */
        .socios-counter-section {
            background: linear-gradient(135deg, var(--cycling-blue) 0%, #1e3f73 100%);
            padding: 3rem 2rem;
            text-align: center;
            color: white;
            display: none;
        }
        
        .counter-container {
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .counter-number {
            font-size: clamp(3rem, 10vw, 6rem);
            font-weight: 800;
            line-height: 1;
            margin-bottom: 0.5rem;
            text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
        }
        
        .counter-label {
            font-size: clamp(1.2rem, 3vw, 1.8rem);
            font-weight: 600;
            margin-bottom: 2rem;
        }
        
        .socios-list-container {
            background: rgba(255,255,255,0.1);
            border-radius: 16px;
            padding: 2rem;
            max-width: 900px;
            margin: 0 auto;
            backdrop-filter: blur(10px);
        }
        
        .socios-list-title {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            opacity: 0.9;
        }
        
        .socios-search {
            margin-bottom: 1.5rem;
        }
        
        .socios-search input {
            width: 100%;
            max-width: 400px;
            padding: 0.75rem 1rem;
            border: none;
            border-radius: 25px;
            font-size: 1rem;
            background: rgba(255,255,255,0.2);
            color: white;
            outline: none;
            transition: background 0.3s;
        }
        
        .socios-search input::placeholder {
            color: rgba(255,255,255,0.7);
        }
        
        .socios-search input:focus {
            background: rgba(255,255,255,0.3);
        }
        
        .btn-ver-mas {
            background: rgba(255,255,255,0.2);
            color: white;
            border: 2px solid rgba(255,255,255,0.4);
            padding: 0.75rem 2rem;
            border-radius: 25px;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .btn-ver-mas:hover {
            background: rgba(255,255,255,0.3);
            border-color: rgba(255,255,255,0.6);
        }
        
        .socios-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 0.75rem;
            text-align: left;
        }
        
        .socio-item {
            background: rgba(255,255,255,0.15);
            padding: 0.6rem 1rem;
            border-radius: 8px;
            font-size: 0.95rem;
            transition: background 0.2s;
        }
        
        .socio-item:hover {
            background: rgba(255,255,255,0.25);
        }
        
        .ultima-actualizacion {
            margin-top: 1.5rem;
            font-size: 0.85rem;
            opacity: 0.7;
        }
        
        .loading-spinner {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 2px solid rgba(255,255,255,0.3);
            border-radius: 50%;
            border-top-color: white;
            animation: spin 1s linear infinite;
        }
        
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        
        @media (max-width: 768px) {
            .socios-counter-section {
                padding: 2rem 1rem;
            }
            
            .socios-list-container {
                padding: 1.5rem;
            }
            
            .socios-grid {
                grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
                gap: 0.5rem;
            }
            
            .socio-item {
                padding: 0.5rem 0.75rem;
                font-size: 0.9rem;
            }
        }
        
        /* Socios counter section responsive */
        @media (max-width: 480px) {
            .socios-counter-section {
                padding: 1.5rem 0.75rem;
            }
            
            .socios-list-container {
                padding: 1rem;
                border-radius: 12px;
            }
            
            .socios-list-title {
                font-size: 1rem;
                margin-bottom: 1rem;
            }
            
            .socios-search input {
                padding: 0.6rem 0.9rem;
                font-size: 0.9rem;
            }
            
            .socios-grid {
                grid-template-columns: 1fr 1fr;
                gap: 0.4rem;
            }
            
            .socio-item {
                padding: 0.4rem 0.6rem;
                font-size: 0.8rem;
            }
            
            .btn-ver-mas {
                padding: 0.6rem 1.5rem;
                font-size: 0.9rem;
            }
            
            .ultima-actualizacion {
                font-size: 0.75rem;
                margin-top: 1rem;
            }
        }
        
        /* Extra small devices */
        @media (max-width: 360px) {
            .hero-socios-content h1 {
                font-size: 1.3rem;
            }
            
            .hero-socios-badge {
                padding: 0.4rem 0.8rem;
                font-size: 0.8rem;
            }
            
            .socios-grid {
                grid-template-columns: 1fr;
            }
        }
    