/* ==========================================================================
   AER MULTINET - Plan Clarity & Commercial Modern Design System
   ========================================================================== */

/* Layout general de la grilla de planes */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
    justify-content: center;
    margin: 2rem auto;
    max-width: 1320px;
}

.pricing-grid.many-plans {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.25rem;
}

@media (min-width: 1200px) {
    .pricing-grid.many-plans {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 900px) and (max-width: 1199px) {
    .pricing-grid.many-plans {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 600px) and (max-width: 899px) {
    .pricing-grid.many-plans {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 599px) {
    .pricing-grid,
    .pricing-grid.many-plans {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

/* Tarjeta de Plan Comercial */
.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    border-radius: 20px;
    padding: 1.75rem 1.4rem;
    background: linear-gradient(165deg, rgba(24, 33, 56, 0.95), rgba(13, 18, 43, 0.95));
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}

.plan-card:hover {
    transform: translateY(-5px);
    border-color: rgba(34, 211, 238, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 20px rgba(34, 211, 238, 0.15);
}

.plan-card.featured {
    border-color: rgba(240, 147, 251, 0.6);
    background: linear-gradient(165deg, rgba(35, 33, 68, 0.96), rgba(18, 20, 50, 0.96));
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3), 0 0 25px rgba(240, 147, 251, 0.18);
    transform: translateY(-6px);
}

.plan-card.featured:hover {
    transform: translateY(-9px);
    border-color: rgba(240, 147, 251, 0.85);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.4), 0 0 30px rgba(240, 147, 251, 0.25);
}

/* Badge de recomendado / más elegido */
.badge-featured {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(236, 72, 153, 0.3);
}

/* Encabezado de la tarjeta */
.plan-card__top {
    text-align: center;
}

.plan-card__kind {
    margin: 0 0 0.4rem;
    color: #38bdf8;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.plan-card__title {
    margin: 0 0 0.5rem;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    min-height: 2.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Badge de Métrica (Cuentas, oyentes, capacidad) */
.plan-metric {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0.35rem auto 0.75rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.25);
    max-width: fit-content;
}

.plan-metric__badge {
    color: #38bdf8;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: capitalize;
}

.plan-metric__sub {
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.03em;
}

/* Precio */
.plan-card__pricing {
    margin: 0.4rem 0 1rem;
    text-align: center;
}

.plan-card .price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.2rem;
    margin: 0;
}

.plan-card .currency-symbol {
    font-size: 1.1rem;
    font-weight: 600;
    color: #cbd5e1;
}

.plan-card .price-amount {
    font-size: 2.15rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.04em;
    line-height: 1;
}

.plan-card .price-period {
    font-size: 0.88rem;
    font-weight: 500;
    color: #94a3b8;
}

/* Lista de Características */
.plan-card__body {
    flex: 1 1 auto;
    margin: 0.5rem 0 1.25rem;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    padding-top: 1rem;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.86rem;
    color: #cbd5e1;
    line-height: 1.35;
    text-align: left;
}

.plan-features li i {
    color: #10b981;
    font-size: 0.88rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.plan-details {
    margin-top: 0.75rem;
}

.plan-details summary {
    font-size: 0.8rem;
    color: #38bdf8;
    cursor: pointer;
    font-weight: 600;
    user-select: none;
}

.plan-details .plan-features--rest {
    margin-top: 0.6rem;
    padding-top: 0.6rem;
    border-top: 1px dashed rgba(148, 163, 184, 0.18);
}

/* Acciones y Botones */
.plan-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.btn-order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    color: #ffffff !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(6, 182, 212, 0.3);
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}

.btn-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(6, 182, 212, 0.45);
    filter: brightness(1.1);
}

.plan-consult {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    color: #94a3b8 !important;
    font-size: 0.82rem;
    text-decoration: none !important;
    padding: 0.3rem 0;
    transition: color 0.2s ease;
}

.plan-consult:hover {
    color: #22c55e !important;
}

.plan-consult i {
    color: #22c55e;
    font-size: 1rem;
}

/* ==========================================================================
   Secciones Explicativas Fuera de las Tarjetas
   ========================================================================== */

/* 1. ¿Qué incluye el servicio? (Pilar Grid) */
.service-pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.pillar-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.pillar-card:hover {
    transform: translateY(-3px);
    border-color: rgba(34, 211, 238, 0.4);
}

.pillar-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(34, 211, 238, 0.12);
    color: #22d3ee;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.pillar-card h3 {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.pillar-card p {
    color: #cbd5e1;
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

/* 2. ¿Cómo funciona el streaming para revendedores? (Timeline/Pasos) */
.how-it-works-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2.5rem 0;
    position: relative;
}

@media (max-width: 860px) {
    .how-it-works-steps {
        grid-template-columns: 1fr;
    }
}

.step-card {
    position: relative;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.8));
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 16px;
    padding: 2rem 1.5rem;
}

.step-card__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    color: #ffffff;
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.step-card h3 {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.6rem;
}

.step-card p {
    color: #cbd5e1;
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

/* 3. Ingesta OBS / vMix */
.tech-broadcast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.tech-broadcast-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
}

.tech-broadcast-card h3 {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.tech-broadcast-card h3 i {
    color: #38bdf8;
}

.tech-broadcast-card p {
    color: #cbd5e1;
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

/* 4. Diferencia Streaming vs IPTV (Scope Notice) */
.streaming-vs-iptv-banner {
    margin: 3.5rem 0;
    padding: clamp(1.5rem, 3.5vw, 2.5rem);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(8, 47, 73, 0.75), rgba(15, 23, 42, 0.95));
    border: 1px solid rgba(34, 211, 238, 0.45);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.streaming-vs-iptv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .streaming-vs-iptv-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.scope-box {
    padding: 1.4rem;
    border-radius: 14px;
}

.scope-box--included {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.scope-box--excluded {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.scope-box h4 {
    margin: 0 0 0.75rem;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.scope-box--included h4 { color: #34d399; }
.scope-box--excluded h4 { color: #f87171; }

.scope-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.scope-box ul li {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #e2e8f0;
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
}

.scope-box--included ul li i { color: #34d399; margin-top: 0.2rem; }
.scope-box--excluded ul li i { color: #f87171; margin-top: 0.2rem; }

/* 5. Preguntas Frecuentes (FAQ) */
.service-faq {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    max-width: 1100px;
    margin: 2rem auto 0;
}

.service-faq .faq-item {
    padding: 1.5rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.75);
    height: 100%;
}

.service-faq .faq-item h3 {
    margin: 0 0 0.65rem;
    color: #f8fafc;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
}

.service-faq .faq-item p {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.6;
    font-size: 0.92rem;
}

@media (max-width: 768px) {
    .service-faq {
        grid-template-columns: 1fr;
    }
}
