/* ============================================
   Para Complejos - Estilos Personalizados B2B
   ============================================ */

/* Hero Section B2B */
.hero-b2b {
    background: linear-gradient(135deg, #2d5a27 0%, #1e3a8a 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.hero-b2b-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 0.4rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    letter-spacing: 0.3px;
}

.hero-b2b h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-b2b .lead {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-b2b-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hero-b2b-cta .btn-success {
    padding: 1rem 3.5rem;
    font-weight: 700;
    border-radius: 50px;
    font-size: 1.3rem;
    border: none;
    transition: all 0.3s ease;
}

.hero-b2b-cta .btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-b2b-cta .btn-outline-light {
    font-size: 0.95rem;
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
}

/* Section Titles */
.section-title-custom {
    color: #2d5a27;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.section-title-custom::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2d5a27, #1e3a8a);
    border-radius: 2px;
}

/* Feature Cards */
.feature-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    background: white;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.feature-card .card-body {
    padding: 2.5rem 2rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2d5a27 0%, #1e3a8a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.feature-card h4 {
    color: #2d5a27;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: #6c757d;
    line-height: 1.7;
}

/* Benefits Section */
.benefit-item {
    padding: 1.5rem;
    border-radius: 12px;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.benefit-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.benefit-item h4 {
    color: #2d5a27;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.benefit-item p {
    color: #6c757d;
    margin: 0;
}

/* Sports Grid */
.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.sport-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.sport-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: #2d5a27;
}

.sport-card i {
    color: #ffc107;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.sport-card h4 {
    color: #2d5a27;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.sport-card p {
    color: #6c757d;
    margin: 0;
}

/* Testimonial Cards */
.testimonial-card {
    background: linear-gradient(135deg, rgba(45, 90, 39, 0.05) 0%, rgba(30, 58, 138, 0.05) 100%);
    border-radius: 16px;
    padding: 2rem;
    border-left: 4px solid #2d5a27;
    height: 100%;
}

.testimonial-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #495057;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-card footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
}

.testimonial-card strong {
    color: #2d5a27;
    font-size: 1.1rem;
}

.testimonial-card small {
    color: #6c757d;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #2d5a27 0%, #1e3a8a 100%);
    color: white;
    padding: 80px 0;
    margin: 60px 0 0;
}

.cta-section h2 {
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section .lead {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.cta-section .btn-primary {
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    font-size: 1.1rem;
    background: white;
    color: #2d5a27;
}

.cta-section .btn-primary:hover {
    background: #f8f9fa;
    color: #1e3a8a;
    transform: translateY(-2px);
}

.cta-section .btn-outline-primary {
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid white;
    color: white;
    font-size: 1.1rem;
}

.cta-section .btn-outline-primary:hover {
    background: white;
    color: #2d5a27;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-b2b {
        padding: 50px 0 40px;
    }

    .hero-b2b h1 {
        font-size: 1.75rem;
    }

    .hero-b2b .lead {
        font-size: 1rem;
    }

    .hero-b2b-cta .btn-success {
        font-size: 1.1rem;
        padding: 0.875rem 2.5rem;
    }

    .hero-b2b-cta .btn-outline-light {
        font-size: 0.85rem;
    }
    
    .section-title-custom {
        font-size: 1.5rem;
    }
    
    .feature-card .card-body {
        padding: 2rem 1.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .sports-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .sport-card {
        padding: 2rem 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .cta-section {
        padding: 50px 0;
    }
    
    .cta-section h2 {
        font-size: 1.75rem;
    }
    
    .cta-section .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
}

/* Planes y Precios */
.plan-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    background: white;
    overflow: hidden;
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.marketing-header {
    background: linear-gradient(135deg, #2d5a27 0%, #1e3a8a 100%);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.marketing-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.marketing-body-compact {
    padding: 2rem 1.5rem;
}

.marketing-description-compact {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.marketing-periods-compact {
    margin-bottom: 1.5rem;
}

.marketing-period-price-compact {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    text-align: center;
}

.period-name-compact {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.period-price-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.normal-price-compact {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d5a27;
}

.original-price-compact {
    font-size: 1rem;
    color: #adb5bd;
    text-decoration: line-through;
}

.discounted-price-compact {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d5a27;
}

.discount-badge-compact {
    background: #dc3545;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.marketing-features-basic-section {
    margin-top: 1.5rem;
}

.marketing-features-basic-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2d5a27;
    margin-bottom: 1rem;
}

.marketing-features-compact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.marketing-feature-item-compact {
    padding: 0.5rem 0;
    color: #495057;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.marketing-feature-icon {
    color: #2d5a27;
    font-size: 1.1rem;
}

.marketing-features-additional-section {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px dashed rgba(45, 90, 39, 0.2);
}

.marketing-features-additional-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.marketing-features-additional-title::before {
    content: '';
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 50%;
    flex-shrink: 0;
}

.marketing-feature-value-increased {
    font-weight: 700;
    color: #22c55e;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.marketing-feature-value-increased::after {
    content: '↑';
    font-size: 0.75em;
    color: #22c55e;
}

.value-diff {
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 400;
    margin-left: 0.25rem;
}

.value-diff .bi-arrow-up-circle-fill {
    color: #22c55e;
    font-size: 0.7rem;
}

.marketing-feature-new {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.08) 0%, rgba(22, 163, 74, 0.05) 100%);
    border-radius: 0.375rem;
    padding: 0.35rem 0.5rem;
    margin: 0.15rem -0.5rem;
}

.marketing-feature-new .marketing-feature-icon {
    color: #22c55e;
}

.marketing-feature-new-badge {
    display: inline-block;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.1rem 0.4rem;
    border-radius: 6px;
    text-transform: uppercase;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .marketing-body-compact {
        padding: 1.5rem 1rem;
    }

    .normal-price-compact,
    .discounted-price-compact {
        font-size: 1.25rem;
    }

    .marketing-title {
        font-size: 1.25rem;
    }

    .marketing-description-compact {
        font-size: 0.875rem;
    }

    .marketing-feature-item-compact {
        font-size: 0.85rem;
        padding: 0.35rem 0;
    }
}

@media (max-width: 576px) {
    .marketing-header {
        padding: 1.25rem 1rem;
    }

    .marketing-title {
        font-size: 1.15rem;
    }

    .marketing-body-compact {
        padding: 1.25rem 1rem;
    }

    .marketing-description-compact {
        font-size: 0.85rem;
        margin-bottom: 1.25rem;
        line-height: 1.5;
    }

    .marketing-period-price-compact {
        padding: 0.875rem;
        margin-bottom: 0.625rem;
    }

    .period-name-compact {
        font-size: 0.85rem;
        margin-bottom: 0.375rem;
    }

    .period-price-compact {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        gap: 0.25rem 0.5rem;
        justify-items: start;
    }

    .original-price-compact {
        grid-column: 1;
        grid-row: 1;
        font-size: 0.85rem;
    }

    .discounted-price-compact {
        grid-column: 1;
        grid-row: 2;
        font-size: 1.35rem;
    }

    .discount-badge-compact {
        grid-column: 2;
        grid-row: 1 / span 2;
        align-self: center;
        font-size: 0.75rem;
        padding: 0.2rem 0.4rem;
    }

    .normal-price-compact {
        font-size: 1.35rem;
    }

    .marketing-features-basic-title {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }

    .marketing-feature-item-compact {
        font-size: 0.825rem;
        padding: 0.35rem 0;
        gap: 0.4rem;
    }

    .marketing-feature-icon {
        font-size: 0.95rem;
        flex-shrink: 0;
    }

    .plan-card {
        border-radius: 12px;
    }

    .marketing-periods-compact {
        margin-bottom: 1.25rem;
    }

    .marketing-features-basic-section {
        margin-top: 1.25rem;
    }
}

/* ============================================
   Simulador Plan a Medida
   ============================================ */

.simulador-card {
    border: 2px solid #2d5a27;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(45, 90, 39, 0.1);
}

.simulador-seccion-titulo {
    color: #2d5a27;
    font-weight: 600;
    font-size: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 0.75rem;
}

.simulador-control {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 0.75rem;
    height: 100%;
}

.simulador-control .simulador-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #333;
    display: block;
    margin-bottom: 0.35rem;
}

.simulador-modulo {
    background: #f0f7ef;
    border: 1px solid #d4e8d0;
}

.simulador-resumen {
    background: linear-gradient(135deg, #f8fdf7 0%, #eef6ec 100%);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid #d4e8d0;
    position: sticky;
    top: 1rem;
}

.simulador-resumen h5 {
    color: #2d5a27;
}

#simulador-total {
    color: #2d5a27;
}

@media (max-width: 991.98px) {
    .simulador-resumen {
        position: static;
        margin-top: 1.5rem;
    }
}

/* ============================================
   Botón Pulso - CTA Empezá Gratis
   ============================================ */

.btn-pulse {
    animation: pulse-glow 2s ease-in-out infinite;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.5);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(40, 167, 69, 0);
    }
}

.hero-b2b .btn-pulse {
    font-size: 1.25rem;
    padding: 1rem 3rem;
}

/* ============================================
   Pasos - Cómo Empezar
   ============================================ */

.step-item {
    padding: 2rem 1.5rem;
}

.step-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #2d5a27 0%, #1e3a8a 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 auto 1.25rem;
}

.step-item h4 {
    color: #2d5a27;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.step-item p {
    color: #6c757d;
    line-height: 1.6;
    max-width: 300px;
    margin: 0 auto;
}

/* ============================================
   Cards de Navegación
   ============================================ */

.nav-card-link {
    text-decoration: none;
    display: block;
}

.nav-card {
    background: white;
    border-radius: 16px;
    padding: 2rem 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: #2d5a27;
}

.nav-card h3 {
    color: #2d5a27;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #2d5a27 0%, #1e3a8a 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.nav-card .btn {
    border-radius: 50px;
    font-weight: 600;
    white-space: nowrap;
}

/* ============================================
   Accordion Compacto
   ============================================ */

.accordion-compact .accordion-item {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 0;
}

.accordion-compact .accordion-button {
    background: white;
    font-size: 1.25rem;
    padding: 1.5rem 2rem;
    color: #2d5a27;
    border: none;
    box-shadow: none;
}

.accordion-compact .accordion-button:not(.collapsed) {
    background: white;
    color: #2d5a27;
    box-shadow: none;
}

.accordion-compact .accordion-button::after {
    background-size: 1.25rem;
}

.accordion-compact .accordion-body {
    padding: 1rem 2rem 2rem;
}

/* ============================================
   Responsive - Nuevos Componentes
   ============================================ */

@media (max-width: 768px) {
    .hero-b2b .btn-pulse {
        font-size: 1.1rem;
        padding: 0.875rem 2rem;
    }

    .step-number {
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
    }

    .step-item {
        padding: 1.5rem 1rem;
    }

    .nav-card {
        padding: 1.5rem;
    }

    .nav-card h3 {
        font-size: 1.25rem;
    }

    .nav-card .btn {
        width: 100%;
    }

    .accordion-compact .accordion-button {
        font-size: 1.1rem;
        padding: 1.25rem 1.5rem;
    }

    .accordion-compact .accordion-body {
        padding: 0.75rem 1rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .nav-card-icon {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
        border-radius: 10px;
    }

    .nav-card {
        padding: 1.25rem;
    }
}
