/* ============================================
   ESTILOS PÁGINA SOCIOS - XINO-XANO
   Diseño moderno y dinámico para hacerse socio
   ============================================ */

:root {
    --socios-primary: #268529;
    --socios-primary-dark: #1e6b20;
    --socios-primary-light: #88c58a;
    --socios-secondary: #2E7D32;
    --socios-accent: #4CAF50;
    --socios-text: #333;
    --socios-text-light: #666;
    --socios-bg: #F5F7F5;
    --socios-white: #FFFFFF;
    --socios-shadow: 0 16px 45px rgba(0, 0, 0, 0.18);
    --socios-shadow-hover: 0 22px 55px rgba(0, 0, 0, 0.22);
    --socios-gradient: linear-gradient(135deg, #268529 0%, #4CAF50 100%);
}

html {
    scroll-behavior: smooth;
}

/* Fondo general de la página */
body {
    background-color: var(--socios-bg);
}

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

.socios-hero {
    position: relative;
    min-height: 60vh;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.socios-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(38, 133, 41, 0.9) 0%, rgba(76, 175, 80, 0.9) 100%),
                url('../images/grupoh.png') center/cover no-repeat;
    background-attachment: fixed;
    filter: brightness(0.58);
}

.socios-hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(38, 133, 41, 0.4) 0%, transparent 60%);
}

.socios-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 1.5rem;
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

.socios-hero-badge {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 3px solid rgba(255, 255, 255, 0.3);
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.socios-hero-badge i {
    font-size: 2.8rem;
    color: white;
}

.socios-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.2;
}

.socios-hero-tagline {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
    opacity: 0.95;
}

.socios-hero-description {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.socios-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.5rem;
}

.socios-stat-label {
    display: block;
    font-size: 1rem;
    opacity: 0.9;
}

.socios-hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2rem;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 2;
    transition: transform 0.3s ease;
}

.socios-hero-scroll:hover {
    transform: translateX(-50%) translateY(5px);
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@media (max-width: 768px) {
    .socios-hero {
        min-height: 50vh;
    }
    
    .socios-hero-background {
        background-attachment: scroll;
    }
    
    .socios-hero-title {
        font-size: 2.5rem;
    }
    
    .socios-hero-tagline {
        font-size: 1.3rem;
    }
    
    .socios-hero-description {
        font-size: 1rem;
    }
    
    .socios-hero-badge {
        width: 90px;
        height: 90px;
    }
    
    .socios-hero-badge i {
        font-size: 2.5rem;
    }
    
    .socios-hero-stats {
        gap: 2rem;
    }
    
    .socios-stat-number {
        font-size: 2rem;
    }
}

/* ============================================
   PRICING SECTION
   ============================================ */

.socios-pricing {
    padding: 1rem 2rem 2rem;
    margin-top: 4em;
    background: transparent;
}

.socios-pricing-container {
    max-width: 380px;
    margin: 0 auto;
}

.socios-pricing-card {
    background: linear-gradient(135deg, #c0c6c0 0%, #e0e4e0 45%, #f8f9f8 100%);
    border-radius: 25px;
    padding: 0;
    text-align: center;
    box-shadow: 0 20px 50px rgba(38, 133, 41, 0.2), 0 8px 25px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 2px solid rgba(38, 133, 41, 0.1);
}

.socios-pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--socios-gradient);
    z-index: 1;
}

.socios-pricing-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(38, 133, 41, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.socios-pricing-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 28px 65px rgba(38, 133, 41, 0.3), 0 12px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--socios-primary-light);
}

.socios-pricing-card:hover::after {
    opacity: 1;
}

.socios-pricing-header {
    background: var(--socios-gradient);
    padding: 1.5rem 1.2rem 1.2rem;
    color: white;
    position: relative;
    margin-bottom: 0;
}

.socios-pricing-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.socios-pricing-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    margin: 0.3rem 0 0.8rem;
    position: relative;
    z-index: 1;
}

.socios-price-amount {
    font-size: 4.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.socios-price-currency {
    font-size: 1.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.5rem;
}

.socios-price-period {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

.socios-pricing-features {
    text-align: left;
    margin-top: 2rem;
    padding: 0 1.2rem 1.5rem;
}

.socios-feature-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.8rem;
    margin-bottom: 0.4rem;
    color: var(--socios-text);
    font-size: 0.95rem;
    padding: 0.5rem;
    background: transparent;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.socios-feature-item:hover {
    background: transparent;
    transform: translateX(5px);
}

.socios-feature-item i {
    color: var(--socios-primary);
    font-size: 1.1rem;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

@media (max-width: 768px) {
    .socios-pricing {
        padding: 1rem 1.5rem 1.5rem;
    }
    
    .socios-pricing-container {
        max-width: 100%;
    }
    
    .socios-pricing-header {
        padding: 1.5rem 1.2rem 1.2rem;
    }
    
    .socios-pricing-label {
        font-size: 0.8rem;
        padding: 0.4rem 1.2rem;
        margin-bottom: 1rem;
    }
    
    .socios-price-amount {
        font-size: 3.5rem;
    }
    
    .socios-price-currency {
        font-size: 1.5rem;
    }
    
    .socios-pricing-features {
        padding: 0 1.2rem 1.5rem;
        margin-top: 2rem;
    }
    
    .socios-feature-item {
        font-size: 0.9rem;
        padding: 0.5rem;
    }
}

/* ============================================
   BENEFITS SECTION
   ============================================ */

.socios-benefits {
    padding: 4rem 2rem;
    background: transparent;
}

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

.socios-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--socios-primary-dark);
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.socios-underline {
    width: 80px;
    height: 4px;
    background: var(--socios-gradient);
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

.socios-section-subtitle {
    font-size: 1.1rem;
    color: var(--socios-text-light);
    max-width: 600px;
    margin: 0 auto;
}

.socios-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.socios-benefit-item {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.14), 0 6px 20px rgba(38, 133, 41, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.socios-benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--socios-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.socios-benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--socios-shadow-hover);
    border-color: var(--socios-primary-light);
}

.socios-benefit-item:hover::before {
    transform: scaleX(1);
}

.socios-benefit-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.socios-benefit-icon {
    width: 100px;
    height: 100px;
    background: var(--socios-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(38, 133, 41, 0.3);
}

.socios-benefit-item:hover .socios-benefit-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(38, 133, 41, 0.4);
}

.socios-benefit-icon i {
    font-size: 2.8rem;
    color: white;
}

.socios-benefit-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: var(--socios-primary-light);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 1;
}

.socios-benefit-item:hover .socios-benefit-glow {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1.2);
}

.socios-benefit-title {
    color: var(--socios-primary-dark);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.socios-benefit-text {
    color: var(--socios-text-light);
    line-height: 1.7;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .socios-benefits {
        padding: 3rem 1.5rem;
    }
    
    .socios-section-title {
        font-size: 2rem;
    }
    
    .socios-benefits-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .socios-benefit-item {
        padding: 2rem;
    }
}

/* ============================================
   PROCESS SECTION
   ============================================ */

.socios-process {
    padding: 4rem 2rem;
    background: transparent;
}

.socios-process-timeline {
    max-width: 1200px;
    margin: 4rem auto;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.socios-process-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    max-width: 250px;
}

.socios-process-number {
    width: 50px;
    height: 50px;
    background: var(--socios-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    box-shadow: 0 5px 15px rgba(38, 133, 41, 0.4);
    position: relative;
    z-index: 2;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.socios-process-content {
    width: 100%;
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.14), 0 6px 20px rgba(38, 133, 41, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.socios-process-item:hover .socios-process-content {
    transform: translateY(-5px);
    box-shadow: var(--socios-shadow);
}

.socios-process-icon-box {
    width: 70px;
    height: 70px;
    background: var(--socios-primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.socios-process-item:hover .socios-process-icon-box {
    background: var(--socios-gradient);
    transform: scale(1.1);
}

.socios-process-icon-box i {
    font-size: 2rem;
    color: var(--socios-primary-dark);
    transition: color 0.3s ease;
}

.socios-process-item:hover .socios-process-icon-box i {
    color: white;
}

.socios-process-title {
    color: var(--socios-primary-dark);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-family: 'Montserrat', sans-serif;
}

.socios-process-text {
    color: var(--socios-text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

.socios-process-connector {
    display: none;
}

.socios-process-connector::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--socios-primary);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(38, 133, 41, 0.3);
}

.socios-process-item:last-child .socios-process-connector {
    display: none;
}

/* CTA Section */
.socios-cta-wrapper {
    max-width: 650px;
    margin: 3rem auto 0;
}

.socios-cta-card {
    background: var(--socios-gradient);
    background: rgb(26, 85, 26);
    border-radius: 25px;
    padding: 2.5rem;
    text-align: center;
    color: white;
    box-shadow: var(--socios-shadow-hover);
    position: relative;
    overflow: hidden;
}

.socios-cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.socios-cta-icon-container {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 3px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
}

.socios-cta-icon-container i {
    font-size: 2.8rem;
    color: white;
}

.socios-cta-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
    font-family: 'Montserrat', sans-serif;
}

.socios-cta-description {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.socios-cta-button {
    background: white;
    color: var(--socios-primary-dark);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    position: relative;
    z-index: 1;
}

.socios-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: var(--socios-bg);
}

.socios-cta-button i {
    font-size: 1.3rem;
}

.socios-cta-info {
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.socios-cta-email {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.socios-email-link {
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.socios-email-link:hover {
    opacity: 0.8;
}

.socios-cta-note {
    font-size: 0.95rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.socios-cta-note i {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .socios-process {
        padding: 3rem 1.5rem;
    }
    
    .socios-process-timeline {
        margin: 3rem auto;
        flex-direction: column;
        gap: 2rem;
    }
    
    .socios-process-item {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        max-width: 100%;
        gap: 1.5rem;
    }
    
    .socios-process-number {
        margin-bottom: 0;
    }
    
    .socios-process-content {
        align-items: flex-start;
        text-align: left;
    }
    
    .socios-process-icon-box {
        margin-bottom: 1rem;
    }
    
    .socios-process-item:hover .socios-process-content {
        transform: translateX(5px);
    }
    
    .socios-process-connector {
        position: static;
        width: 3px;
        height: 40px;
        margin: 0 auto;
        left: auto;
        top: auto;
    }
    
    .socios-process-connector::after {
        top: 50%;
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%);
    }
    
    .socios-process-item:last-child .socios-process-connector {
        display: block;
    }
    
    .socios-cta-wrapper {
        margin: 2rem auto 0;
    }
    
    .socios-cta-card {
        padding: 2rem 1.5rem;
    }
    
    .socios-cta-title {
        font-size: 1.4rem;
    }
    
    .socios-cta-icon-container {
        width: 80px;
        height: 80px;
        margin-bottom: 1.2rem;
    }
    
    .socios-cta-icon-container i {
        font-size: 2.5rem;
    }
    
    .socios-cta-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .socios-cta-info {
        margin-top: 1.5rem;
    }
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.socios-contact {
    padding: 2.5rem 2rem 5rem;
    background: transparent;
    display: flex;
    justify-content: center;
}

.socios-contact-container {
    max-width: 500px;
    width: 100%;
}

.socios-contact-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--socios-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.socios-contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--socios-shadow-hover);
}

.socios-contact-icon-wrapper {
    width: 75px;
    height: 75px;
    background: var(--socios-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    box-shadow: 0 10px 25px rgba(38, 133, 41, 0.3);
}

.socios-contact-icon-wrapper i {
    font-size: 2.3rem;
    color: white;
}

.socios-contact-title {
    color: var(--socios-primary-dark);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-family: 'Montserrat', sans-serif;
}

.socios-contact-text {
    color: var(--socios-text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.socios-contact-button {
    background: var(--socios-gradient);
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(38, 133, 41, 0.4);
}

.socios-contact-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(38, 133, 41, 0.5);
}

.socios-contact-button i {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .socios-contact {
        padding: 2rem 1.5rem;
    }
    
    .socios-contact-card {
        padding: 1.5rem 1.2rem;
    }
    
    .socios-contact-icon-wrapper {
        width: 65px;
        height: 65px;
        margin-bottom: 1rem;
    }
    
    .socios-contact-icon-wrapper i {
        font-size: 2rem;
    }
    
    .socios-contact-title {
        font-size: 1.3rem;
    }
    
    .socios-contact-text {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
}
