/* ============================================================================
   MEMBRESIAS.HTML - MEMBERSHIPS PAGE STYLES
   ============================================================================ */

.memberships-main {
    background: var(--charcoal-dark);
}

/* Hero */
.memberships-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    background: 
        linear-gradient(to bottom, rgba(45, 45, 45, 0.95), var(--charcoal-dark)),
        radial-gradient(ellipse at center, rgba(196, 163, 90, 0.08) 0%, transparent 70%);
}

/* Plans Section */
.plans-section {
    padding: 4rem 2rem 6rem;
    max-width: 1400px;
    margin: 0 auto;
}

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

.plan-card {
    background: var(--charcoal);
    border: 2px solid rgba(196, 163, 90, 0.2);
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
}

.plan-card:hover {
    transform: translateY(-10px);
    border-color: rgba(196, 163, 90, 0.6);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.plan-card.featured {
    border-color: var(--gold);
    background: linear-gradient(to bottom, rgba(196, 163, 90, 0.05), var(--charcoal));
    transform: scale(1.05);
}

.plan-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.plan-badge {
    position: absolute;
    top: -12px;
    right: 2rem;
    background: var(--gold);
    color: var(--charcoal-dark);
    padding: 0.5rem 1.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.plan-badge.premium {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(196, 163, 90, 0.2);
}

.plan-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.plan-name {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.plan-tagline {
    font-size: 0.9rem;
    opacity: 0.8;
    font-style: italic;
}

.plan-price {
    text-align: center;
    margin-bottom: 2.5rem;
}

.price-amount {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--gold);
    font-weight: 600;
}

.price-period {
    font-size: 1rem;
    opacity: 0.7;
    margin-left: 0.5rem;
}

.plan-features {
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.875rem 0;
    border-bottom: 1px solid rgba(196, 163, 90, 0.1);
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-icon {
    color: var(--gold);
    font-weight: bold;
    flex-shrink: 0;
}

.feature-item span:last-child {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* How It Works */
.how-it-works {
    padding: 6rem 2rem;
    background: var(--charcoal);
}

.steps-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

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

.step-number {
    width: 70px;
    height: 70px;
    background: var(--gold);
    color: var(--charcoal-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    margin: 0 auto 1.5rem;
}

.step-item h4 {
    font-size: 1.3rem;
    color: var(--cream);
    margin-bottom: 0.75rem;
}

.step-item p {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.7;
}

/* Comparison Table */
.comparison-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.comparison-table {
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--charcoal);
}

.comparison-table thead {
    background: var(--charcoal-dark);
}

.comparison-table th {
    padding: 1.5rem;
    text-align: left;
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--gold);
    border-bottom: 2px solid rgba(196, 163, 90, 0.3);
}

.comparison-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(196, 163, 90, 0.1);
}

.comparison-table tbody tr:hover {
    background: rgba(196, 163, 90, 0.05);
}

.comparison-table td:first-child {
    font-weight: 500;
}

/* FAQ */
.faq-section {
    padding: 6rem 2rem;
    background: var(--charcoal);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--charcoal-dark);
    border: 1px solid rgba(196, 163, 90, 0.15);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 1rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--gold);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--gold);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    font-size: 0.95rem;
    line-height: 1.8;
    opacity: 0.9;
}

/* Final CTA */
.final-cta {
    padding: 6rem 2rem;
    text-align: center;
    background: 
        linear-gradient(rgba(196, 163, 90, 0.05), rgba(196, 163, 90, 0.05)),
        var(--charcoal-dark);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--cream);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 2.5rem;
}

.cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

/* Tablets grandes (hasta 1024px) */
@media (max-width: 1024px) {
    .membership-hero {
        padding: 10rem 2rem 6rem;
    }
    
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .plan-card.featured {
        grid-column: span 2;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Tablets y móviles (hasta 768px) */
@media (max-width: 768px) {
    .membership-hero {
        padding: 8rem 1.5rem 4rem;
        min-height: 60vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .plans-section {
        padding: 4rem 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .plan-card {
        padding: 2rem 1.5rem;
    }
    
    .plan-card.featured {
        transform: scale(1);
        grid-column: span 1;
        max-width: none;
    }
    
    .plan-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .plan-badge {
        font-size: 0.65rem;
        padding: 0.4rem 1rem;
    }
    
    .plan-tier {
        font-size: 0.8rem;
    }
    
    .plan-name {
        font-size: 2rem;
    }
    
    .price-amount {
        font-size: 3rem;
    }
    
    .price-period {
        font-size: 0.95rem;
    }
    
    .plan-savings {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .plan-description {
        font-size: 0.9rem;
    }
    
    .plan-features {
        gap: 0.875rem;
    }
    
    .plan-features li {
        font-size: 0.9rem;
    }
    
    .steps-section {
        padding: 4rem 1.5rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .step-card {
        padding: 2rem 1.5rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .step-title {
        font-size: 1.1rem;
    }
    
    .step-description {
        font-size: 0.85rem;
    }
    
    .comparison-section {
        padding: 4rem 1.5rem;
    }
    
    .comparison-table-wrapper {
        overflow-x: auto;
        margin: 0 -1.5rem;
        padding: 0 1.5rem;
    }
    
    .comparison-table {
        font-size: 0.85rem;
        min-width: 600px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 1rem;
    }
    
    .comparison-table th:first-child,
    .comparison-table td:first-child {
        position: sticky;
        left: 0;
        background: var(--charcoal);
        z-index: 1;
    }
    
    .faq-section {
        padding: 4rem 1.5rem;
    }
    
    .faq-container {
        max-width: 100%;
    }
    
    .faq-item {
        padding: 1.5rem;
    }
    
    .faq-question {
        font-size: 1rem;
    }
    
    .faq-answer {
        font-size: 0.85rem;
    }
    
    .cta-section {
        padding: 4rem 1.5rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 0.95rem;
    }
    
    .cta-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-actions .btn-primary,
    .cta-actions .btn-outline {
        width: 100%;
        justify-content: center;
    }
}

/* Móviles pequeños (hasta 480px) */
@media (max-width: 480px) {
    .membership-hero {
        padding: 6rem 1rem 3rem;
        min-height: 50vh;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 0.85rem;
    }
    
    .plans-section {
        padding: 3rem 1rem;
    }
    
    .section-label {
        font-size: 0.65rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-line {
        width: 60px;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
    }
    
    .plans-grid {
        gap: 1.5rem;
    }
    
    .plan-card {
        padding: 1.75rem 1.25rem;
        border-radius: 12px;
    }
    
    .plan-badge {
        font-size: 0.6rem;
        padding: 0.35rem 0.875rem;
    }
    
    .plan-tier {
        font-size: 0.75rem;
    }
    
    .plan-name {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }
    
    .price-container {
        margin-bottom: 1.25rem;
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
    
    .price-currency {
        font-size: 1.25rem;
    }
    
    .price-period {
        font-size: 0.85rem;
    }
    
    .plan-savings {
        font-size: 0.75rem;
        padding: 0.4rem 0.875rem;
        margin-bottom: 1.25rem;
    }
    
    .plan-description {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }
    
    .plan-features {
        gap: 0.75rem;
        margin-bottom: 2rem;
    }
    
    .plan-features li {
        font-size: 0.85rem;
        padding-left: 1.5rem;
    }
    
    .plan-features li::before {
        width: 5px;
        height: 5px;
        left: 0.35rem;
    }
    
    .plan-cta {
        padding: 1rem 2rem;
        font-size: 0.85rem;
    }
    
    .steps-section {
        padding: 3rem 1rem;
    }
    
    .steps-grid {
        gap: 1.5rem;
    }
    
    .step-card {
        padding: 1.75rem 1.25rem;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .step-title {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .step-description {
        font-size: 0.8rem;
    }
    
    .comparison-section {
        padding: 3rem 1rem;
    }
    
    .comparison-table-wrapper {
        margin: 0 -1rem;
        padding: 0 1rem;
    }
    
    .comparison-table {
        font-size: 0.75rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .comparison-table th {
        font-size: 0.7rem;
    }
    
    .check-icon {
        font-size: 1rem;
    }
    
    .faq-section {
        padding: 3rem 1rem;
    }
    
    .faq-item {
        padding: 1.25rem;
    }
    
    .faq-question {
        font-size: 0.95rem;
        padding-right: 2rem;
    }
    
    .faq-toggle {
        width: 30px;
        height: 30px;
        font-size: 1.25rem;
    }
    
    .faq-answer {
        font-size: 0.8rem;
        padding-top: 1rem;
    }
    
    .cta-section {
        padding: 3rem 1rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .cta-description {
        font-size: 0.85rem;
        margin-bottom: 2rem;
    }
    
    .cta-actions {
        gap: 0.875rem;
    }
    
    .cta-actions .btn-primary,
    .cta-actions .btn-outline {
        padding: 1rem 2rem;
        font-size: 0.85rem;
    }
}

/* Móviles muy pequeños (hasta 360px) */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .plan-name {
        font-size: 1.3rem;
    }
    
    .price-amount {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
}

/* Landscape mode para móviles */
@media (max-width: 768px) and (orientation: landscape) {
    .membership-hero {
        padding: 5rem 1.5rem 3rem;
        min-height: 100vh;
    }
    
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .plan-card.featured {
        grid-column: span 2;
        max-width: 500px;
        margin: 0 auto;
    }
}
