/* ========================================
   PLANES MÓVIL - ESTILOS PIXEL PERFECT
   Referencia: 1.3 _ Planes Movil Pospago.png
               1.4 _ Movil Prepago.png
   ======================================== */

/* Variables */
:root {
    --etb-cyan: #0092BC;
    --etb-blue-deep: #214780;
    --etb-gray: #515151;
    --etb-light-gray: #F8F9FA;
    --etb-white: #FFFFFF;
    --etb-success: #00C853;
    --etb-warning: #FFB300;
    --etb-border: #E5E7EB;
}

/* ========================================
   HERO CON TABS
   ======================================== */
.hero-planes-movil {
    background: white;
    padding: 40px 0 20px;
    text-align: center;
}

.tabs-container-movil {
    display: inline-flex;
    justify-content: center;
    gap: 0;
    background: white;
    border-radius: 50px;
    border: 2px solid var(--etb-cyan);
    overflow: hidden;
}

.tab-movil {
    background: transparent;
    border: none;
    color: var(--etb-cyan);
    padding: 14px 48px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: capitalize;
}

.tab-movil:hover {
    background: rgba(0, 146, 188, 0.1);
}

.tab-movil.active {
    background: var(--etb-cyan);
    color: white;
}

/* ========================================
   CONTENIDO DE TABS
   ======================================== */
.tab-content-movil {
    display: none;
    animation: fadeIn 0.4s;
}

.tab-content-movil.active {
    display: block;
}

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

/* ========================================
   SECCIÓN TÍTULO
   ======================================== */
.titulo-section-movil {
    padding: 50px 0 30px;
    text-align: center;
    background: white;
}

.titulo-planes-movil {
    font-size: 2.8rem;
    color: var(--etb-blue-deep);
    margin-bottom: 8px;
    font-weight: 700;
}

.subtitulo-planes-movil {
    font-size: 1.1rem;
    color: var(--etb-gray);
}

/* ========================================
   STEP HEADER - PIXEL PERFECT
   ======================================== */
.step-header-movil {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.step-number-circle {
    width: 48px;
    height: 48px;
    background: var(--etb-cyan);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.section-title-movil {
    font-size: 1.8rem;
    color: var(--etb-blue-deep);
    font-weight: 600;
    margin: 0;
}

.opcional-text {
    font-weight: 400;
    color: var(--etb-gray);
}

.section-title-prepago {
    text-align: center;
    color: var(--etb-blue-deep);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 40px;
}

/* ========================================
   GRID DE PLANES
   ======================================== */
.planes-movil-section {
    padding: 30px 0 60px;
    background: white;
}

.planes-movil-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   CARDS DE PLANES - PIXEL PERFECT
   ======================================== */
.plan-movil-card {
    background: white;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s;
    border: 1px solid var(--etb-border);
}

.plan-movil-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--etb-cyan);
}

/* Badge de descuento - Pixel Perfect */
.badge-descuento {
    position: absolute;
    top: -12px;
    left: 20px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--etb-cyan);
    color: white;
}

.badge-descuento svg {
    stroke: white;
    fill: none;
}

/* Nombre del plan */
.plan-movil-nombre {
    font-size: 1.6rem;
    color: var(--etb-cyan);
    margin-bottom: 12px;
    margin-top: 8px;
    font-weight: 700;
}

/* Precio - Pixel Perfect */
.plan-movil-precio {
    margin-bottom: 20px;
}

.precio-anterior {
    font-size: 0.95rem;
    color: #999;
    text-decoration: line-through;
    display: block;
    margin-bottom: 2px;
}

.precio-actual {
    font-size: 2.8rem;
    color: var(--etb-blue-deep);
    font-weight: 700;
    line-height: 1;
}

.precio-periodo {
    font-size: 1rem;
    color: var(--etb-gray);
    font-weight: 400;
}

/* Features - Pixel Perfect */
.plan-movil-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.plan-movil-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    color: var(--etb-gray);
    font-size: 0.9rem;
    line-height: 1.4;
}

.plan-movil-features li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.plan-movil-features li strong {
    color: var(--etb-gray);
}

/* Botón Seleccionar - Pixel Perfect (Outline) */
.btn-seleccionar-movil {
    width: 100%;
    padding: 14px;
    background: white;
    color: var(--etb-cyan);
    border: 2px solid var(--etb-cyan);
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-seleccionar-movil:hover {
    background: var(--etb-cyan);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 146, 188, 0.3);
}

/* Nota al pie */
.plan-movil-nota {
    font-size: 0.75rem;
    color: #999;
    text-align: center;
    margin-top: 12px;
}

/* ========================================
   SERVICIOS EXTRA (POSPAGO) - PIXEL PERFECT
   ======================================== */
.servicios-section-movil {
    padding: 60px 0;
    background: var(--etb-light-gray);
}

/* Carousel de servicios */
.servicios-carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 60px;
}

.servicios-carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
}

.servicios-carousel-track::-webkit-scrollbar {
    display: none;
}

.servicio-card {
    min-width: 200px;
    max-width: 200px;
    background: white;
    border-radius: 16px;
    padding: 24px 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    text-align: center;
    flex-shrink: 0;
}

.servicio-icon {
    width: 56px;
    height: 56px;
    background: white;
    border: 2px solid var(--etb-blue-deep);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.servicio-icon-hbo {
    background: var(--etb-blue-deep);
    border-color: var(--etb-blue-deep);
}

.hbo-text {
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.1;
}

.servicio-nombre {
    font-size: 1rem;
    color: var(--etb-blue-deep);
    margin-bottom: 8px;
    font-weight: 600;
}

.servicio-precio {
    font-size: 1.4rem;
    color: var(--etb-cyan);
    font-weight: 700;
    margin-bottom: 16px;
}

.servicio-precio span {
    font-size: 0.9rem;
    font-weight: 400;
}

.servicio-cantidad {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-cantidad {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--etb-cyan);
    background: white;
    color: var(--etb-cyan);
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 300;
}

.btn-cantidad:hover {
    background: var(--etb-cyan);
    color: white;
}

.cantidad-valor {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--etb-blue-deep);
    min-width: 30px;
    text-align: center;
}

/* Carousel Dots - Servicios */
.carousel-dots-servicios {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.carousel-dots-servicios .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #D0D0D0;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dots-servicios .dot.active {
    background: var(--etb-blue-deep);
    width: 24px;
    border-radius: 5px;
}

/* Flechas de navegación - Pixel Perfect */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: white;
    border: 2px solid var(--etb-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    color: var(--etb-gray);
}

.carousel-arrow:hover {
    border-color: var(--etb-cyan);
    color: var(--etb-cyan);
}

.carousel-arrow-left {
    left: 0;
}

.carousel-arrow-right {
    right: 0;
}

/* ========================================
   PREPAGO - CARDS ESPECÍFICAS
   ======================================== */
.plan-prepago-card {
    min-width: 300px;
    max-width: 320px;
    flex-shrink: 0;
}

/* Apps sin consumo - Pixel Perfect */
.apps-sin-consumo-section {
    margin: 16px 0;
    padding: 12px 0;
}

.apps-sin-consumo-section .apps-title {
    color: var(--etb-cyan);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-align: left;
}

.apps-icons-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.app-icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid var(--etb-border);
    transition: all 0.3s;
    cursor: pointer;
}

.app-icon-circle:hover {
    transform: scale(1.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.app-icon-circle svg {
    width: 16px;
    height: 16px;
}

/* Botón Ir a pagar - Prepago (Solid) */
.btn-ir-pagar-prepago {
    width: 100%;
    padding: 14px;
    background: var(--etb-cyan);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 16px;
}

.btn-ir-pagar-prepago:hover {
    background: var(--etb-blue-deep);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 146, 188, 0.3);
}

/* Carousel dots Prepago */
.carousel-dots-prepago {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.carousel-dots-prepago .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #D0D0D0;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dots-prepago .dot.active {
    background: var(--etb-blue-deep);
    width: 24px;
    border-radius: 5px;
}

/* ========================================
   SECCIÓN TÉRMINOS Y COBERTURA
   ======================================== */
.terminos-link-section,
.cobertura-link-section {
    padding: 24px 0;
    text-align: center;
    background: white;
}

.terminos-link {
    color: #333;
    text-decoration: underline;
    font-size: 0.95rem;
}

.terminos-link strong {
    color: var(--etb-blue-deep);
}

.cobertura-link {
    color: var(--etb-cyan);
    text-decoration: none;
    font-size: 0.95rem;
}

.cobertura-link:hover {
    text-decoration: underline;
}

/* ========================================
   SECCIÓN RECARGA (PREPAGO)
   ======================================== */
.recarga-section {
    padding: 50px 0;
    background: var(--etb-light-gray);
}

.recarga-container {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.recarga-title {
    font-size: 1.6rem;
    color: var(--etb-blue-deep);
    margin-bottom: 30px;
    font-weight: 600;
}

.recarga-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recarga-input {
    padding: 16px 24px;
    border: 2px solid var(--etb-border);
    border-radius: 30px;
    font-size: 1rem;
    transition: all 0.3s;
    text-align: center;
}

.recarga-input:focus {
    border-color: var(--etb-cyan);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 146, 188, 0.1);
}

.recarga-equivalencia {
    font-size: 1.1rem;
    color: var(--etb-gray);
}

.recarga-equivalencia strong {
    color: var(--etb-blue-deep);
    font-weight: 700;
}

.btn-ir-pagar-recarga {
    padding: 16px 48px;
    background: var(--etb-cyan);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-ir-pagar-recarga:hover {
    background: var(--etb-blue-deep);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 146, 188, 0.3);
}

/* ========================================
   FAQ SECTION - PIXEL PERFECT
   ======================================== */
.faq-section-movil {
    padding: 60px 0;
    background: white;
}

.faq-section-movil h2 {
    font-size: 2rem;
    color: var(--etb-blue-deep);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
}

.faq-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-item {
    background: white;
    border: 1px solid var(--etb-border);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 18px 24px;
    background: white;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    color: var(--etb-blue-deep);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.faq-question:hover {
    background: var(--etb-light-gray);
}

.faq-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
    color: var(--etb-gray);
}

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

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
}

.faq-item.active .faq-answer {
    padding: 0 24px 18px;
    max-height: 200px;
}

.faq-answer p {
    color: var(--etb-gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Chat Link - Pixel Perfect */
.faq-chat {
    text-align: center;
    margin-top: 40px;
    padding: 24px;
    background: white;
    border-radius: 12px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.faq-chat p {
    font-size: 1rem;
    color: var(--etb-gray);
    margin-bottom: 12px;
}

.faq-chat a {
    display: inline-block;
    padding: 14px 32px;
    background: var(--etb-cyan);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.faq-chat a:hover {
    background: var(--etb-blue-deep);
    transform: translateY(-2px);
}

/* ========================================
   TÉRMINOS SECTION (LEGACY)
   ======================================== */
.terminos-section {
    padding: 30px 0;
    text-align: center;
    background: white;
}

.terminos-section .terminos-link {
    color: #333;
    text-decoration: underline;
    font-size: 0.95rem;
}

.cobertura-text {
    margin-top: 16px;
    color: var(--etb-cyan);
    font-size: 0.95rem;
}

/* ========================================
   RESPONSIVE - PIXEL PERFECT
   ======================================== */
@media (max-width: 1024px) {
    .planes-movil-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    .tabs-container-movil {
        width: calc(100% - 40px);
        margin: 0 20px;
    }
    
    .tab-movil {
        padding: 12px 24px;
        font-size: 0.95rem;
        flex: 1;
    }
    
    .titulo-planes-movil {
        font-size: 2rem;
    }
    
    .planes-movil-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .servicios-carousel-container {
        padding: 0 50px;
    }
    
    .step-header-movil {
        flex-direction: column;
        gap: 12px;
    }
    
    .section-title-movil {
        font-size: 1.4rem;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .hero-planes-movil {
        padding: 30px 0 20px;
    }
    
    .titulo-planes-movil {
        font-size: 1.7rem;
    }
    
    .subtitulo-planes-movil {
        font-size: 1rem;
    }
    
    .plan-movil-card {
        padding: 24px 20px;
    }
    
    .precio-actual {
        font-size: 2.2rem;
    }
    
    .servicios-carousel-container {
        padding: 0 40px;
    }
    
    .carousel-arrow {
        width: 36px;
        height: 36px;
    }
    
    .faq-section-movil h2 {
        font-size: 1.6rem;
    }
    
    .recarga-container {
        margin: 0 20px;
        padding: 30px 20px;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-center {
    text-align: center;
}

.container-planes {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
