/* ===========================
   ESTILOS GENERALES
=========================== */

body {
    background: url("img/fondo-binario.png") no-repeat center center fixed;
    background-size: cover;
    color: white;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    z-index: -1;
}

/* ===========================
   LOGO
=========================== */

.logo-central {
    display: block;
    width: 460px;
    margin: 1px auto;
}

/* ===========================
   INDEX
=========================== */

.main-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}

.left-image {
    width: 45%;
}

.right-content {
    width: 50%;
}

.welcome-text {
    font-size: 22px;
    line-height: 1.5;
}

.green {
    color: #00ff7f;
    font-weight: 700;
}

/* BOTONES INDEX */

.buttons {
    margin-top: 25px;
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.btn {
    background: #00ff7f;
    color: #000;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    min-width: 180px;
    text-align: center;
    transition: 0.25s;
}

.btn:hover {
    background: #00e676;
    transform: translateY(-3px);
}

/* ===========================
   BOTÓN VOLVER
=========================== */

.back-btn {
    display: inline-block;
    margin: 20px;
    padding: 10px 18px;
    background: #00ff7f;
    color: #000;
    font-size: 18px;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.25s;
}

.back-btn:hover {
    background: #00e676;
    transform: translateY(-3px);
}

/* ===========================
   COMBO.HTML PREMIUM
=========================== */

.combo-title {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    margin-top: 30px;
    color: #00ff7f;
}

.grid-combo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    padding: 30px;
    max-width: 900px;
    margin: auto;
}

.combo-card {
    background: #0d0d0d;
    border: 2px solid #00ff7f;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: 0.25s ease;
    box-shadow: 0 0 20px rgba(0,255,127,0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.combo-card:hover {
    background: #00ff7f;
    color: #000;
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 0 30px rgba(0,255,127,0.7);
}

.combo-card.selected {
    background: #00ff7f !important;
    color: #000 !important;
    border-color: #00ff7f !important;
    box-shadow: 0 0 30px rgba(0,255,127,0.7) !important;
    transform: translateY(-5px) scale(1.03);
}

.combo-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.combo-name {
    font-size: 20px;
    font-weight: 800;
}

.combo-price {
    font-size: 18px;
    font-weight: 600;
}

.btn-wsp-final {
    display: block;
    margin: 30px auto;
    background: #00ff7f;
    padding: 14px 22px;
    border-radius: 12px;
    color: #000;
    font-size: 20px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    transition: 0.25s;
}

.btn-wsp-final:hover {
    background: #00e676;
    transform: translateY(-3px);
}

/* ===========================
   PLANES.HTML
=========================== */

.tabla-planes {
    width: 90%;
    max-width: 600px;
    margin: 30px auto;
    border-collapse: collapse;
    background: #111;
    color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,255,127,0.3);
}

.tabla-planes th, 
.tabla-planes td {
    padding: 14px;
    border-bottom: 1px solid #222;
    text-align: center;
    font-size: 18px;
}

.tabla-planes th {
    background: #00ff7f;
    color: #000;
    font-weight: 800;
}

.btn-wsp {
    background: #00ff7f;
    padding: 10px 18px;
    border-radius: 10px;
    color: #000;
    font-size: 16px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

.btn-wsp:hover {
    background: #00e676;
}

/* ===========================
   RESPONSIVE
=========================== */

@media (max-width: 900px) {
    .main-container {
        flex-direction: column;
        text-align: center;
    }

    .left-image {
        width: 70%;
        margin-bottom: 20px;
    }

    .right-content {
        width: 90%;
    }
}
/* LAYOUT GENERAL DE PLANES */
.planes-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

/* GRID IZQUIERDA 3x3 */
.planes-servicios {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

/* PANEL DERECHA */
.planes-detalle {
    background: rgba(0,0,0,0.55);
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 0 20px rgba(0,255,127,0.25);
}

.planes-placeholder {
    text-align: center;
    font-size: 20px;
    opacity: 0.7;
}

.combo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,0,0,0.55);
    padding: 15px 20px;
    border-radius: 12px;
    margin: 20px auto;
    max-width: 900px;
    box-shadow: 0 0 15px rgba(0,255,127,0.3);
}

.combo-total {
    font-size: 22px;
    font-weight: 800;
    color: #00ff7f;
}

.btn-comprar {
    background: #00ff7f;
    color: #000;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

.btn-comprar:hover {
    background: #00e676;
    transform: scale(1.05);
}
.total-zero {
    color: #00ff7f; /* verde */
}

.total-activo {
    color: #ffffff; /* blanco */
}
/* ===========================
   VERSIÓN MÓVIL INDEX (WOLFNET)
=========================== */

@media (max-width: 768px) {

    /* Contenedor principal en columna */
    .main-container {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    /* Reordenar elementos */
    .logo-central {
        order: 1;
        width: 200px;
        margin: 10px auto 20px;
    }

    .buttons {
        order: 2;
        display: flex;
        flex-direction: row;
        gap: 12px;
        width: 100%;
        margin: 20px 0;
    }

    .btn {
        flex: 1;
        font-size: 18px;
        padding: 16px;
        border-radius: 10px;
    }

    .welcome-text {
        order: 3;
        font-size: 20px;
        line-height: 1.6;
        margin: 10px 15px 20px;
    }

    .left-image {
        order: 4;
        width: 100%;
        margin-top: 20px;
    }

    /* Asegurar que right-content no rompa el layout */
    .right-content {
        width: 100%;
    }
}
@media (max-width: 768px) {

    .main-container, 
    .right-content, 
    .buttons, 
    .welcome-text, 
    .left-image, 
    .logo-central {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
    }

    .logo-central {
        order: 1 !important;
        width: 200px !important;
        margin: 10px auto 20px !important;
    }

    .buttons {
        order: 2 !important;
        display: flex !important;
        flex-direction: row !important;
        gap: 12px !important;
        margin: 20px 0 !important;
    }

    .btn {
        flex: 1 !important;
        font-size: 18px !important;
        padding: 16px !important;
    }

    .welcome-text {
        order: 3 !important;
        font-size: 20px !important;
        line-height: 1.6 !important;
        margin: 10px 15px 20px !important;
    }

    .left-image {
        order: 4 !important;
        width: 100% !important;
        margin-top: 20px !important;
    }
}

/* ===========================
   VERSIÓN MÓVIL FINAL WOLFNET
=========================== */

@media (max-width: 768px) {

    /* Contenedor principal en columna */
    .main-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 20px !important;
        padding: 20px !important;
    }

    /* LOGO ARRIBA */
    .logo-central {
        order: 1 !important;
        width: 200px !important;
        margin: 10px auto 0 !important;
        display: block !important;
    }

    /* BOTONES SEGUNDO */
    .buttons {
        order: 2 !important;
        display: flex !important;
        flex-direction: row !important;
        gap: 12px !important;
        width: 100% !important;
        justify-content: center !important;
        margin-top: 10px !important;
    }

    .btn {
        flex: 1 !important;
        font-size: 18px !important;
        padding: 16px !important;
        border-radius: 10px !important;
    }

    /* TEXTO TERCERO */
    .welcome-text {
        order: 3 !important;
        font-size: 20px !important;
        line-height: 1.6 !important;
        margin: 0 15px 10px !important;
    }

    /* IMAGEN DEL HOMBRE AL FINAL */
    .left-image {
        order: 4 !important;
        width: 100% !important;
        max-width: 380px !important;
        margin-top: 10px !important;
    }

    /* Evitar que right-content rompa el layout */
    .right-content {
        width: 100% !important;
    }
}
/* Texto corto oculto por defecto */
.welcome-text-short {
    display: none;
}

/* Versión móvil */
@media (max-width: 768px) {

    /* Ocultar texto largo */
    .welcome-text {
        display: none !important;
    }

    /* Mostrar texto corto */
    .welcome-text-short {
        display: block !important;
        font-size: 20px !important;
        line-height: 1.6 !important;
        margin: 0 15px 10px !important;
        text-align: center !important;
    }
}
@media (max-width: 768px) {

    /* Texto más abajo */
    .welcome-text-short {
        margin-top: 25px !important;   /* antes estaba más pegado */
        margin-bottom: 15px !important;
    }

    /* Botones 10% más pequeños */
    .buttons {
        gap: 10px !important;
    }

    .btn {
        font-size: 16px !important;   /* antes 18px → 10% menos */
        padding: 14px !important;     /* antes 16px */
    }
}






