/* ==========================================================================
   VARIABLES Y RESET
   ========================================================================== */
:root {
    --bg-dark: #000000;
    --bg-card: #151515;
    --primary-blue: #4087F8;
    --primary-blue-hover: #2563eb;
    --accent-green: #4ade80;
    --text-light: #ffffff;
    --text-muted: #a3a3a3;
    --iconb: #40e0d0;
    --sidebar-width: 34%;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}
/* ==========================================================================
   ESTRUCTURA PRINCIPAL (PANTALLA DIVIDIDA)
   ========================================================================== */
body {
    display: block;
    background-color: var(--bg-dark);
    overflow-x: hidden;
}
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    background-color: #111;
    border-bottom: 1px solid #333;
    z-index: 1001;
}

.main-container {
    margin-top: 70px;
    width: calc(100% - var(--sidebar-width));
    color: var(--text-light);
    min-height: 100vh;
}

.site-content {
    color: var(--text-light);
}

.fixed-sidebar {
    position: fixed;
    top: 70px;
    right: 0;
    width: var(--sidebar-width);
    height: calc(100vh - 70px);
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    overflow-y: auto;
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
}

.icon-alexa{
    background-image: url('../img/iconos/cards/alexa.svg');
}

.icon-anytime{
    background-image: url('../img/iconos/cards/anytime-canales.svg');
}

.icon-more{
    background-image: url('../img/iconos/cards/more-canales.svg');
}

.icon-phone{
    background-image: url('../img/iconos/cards/phone.svg');
}
.icon-tv{
    background-image: url('../img/iconos/cards/totalplay-tv.svg');
}
.icon-wifi{
    background-image: url('../img/iconos/cards/wifi.svg');
}

.icon{
    display: inline-block;
    width: clamp(18px, 2vw, 24px); 
    height: clamp(18px, 2vw, 24px);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: -15%; 
    margin-right: 12px;
    flex-shrink: 0;
}

.icon-b{
    display: inline-block;
    width: 35px;
    height: 35px;
    background-color: var(--iconb);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
    flex-shrink: 0;
    margin-right: 15px;
}
.icon-b-down{
    -webkit-mask-image: url('../img/iconos/beneficios/arrow-down-up.svg');
    mask-image: url('../img/iconos/beneficios/arrow-down-up.svg');
}
.icon-b-headset{
    -webkit-mask-image: url('../img/iconos/beneficios/headset.svg');
    mask-image: url('../img/iconos/beneficios/headset.svg');
}
.icon-b-percent{
    -webkit-mask-image: url('../img/iconos/beneficios/square-percent.svg');
    mask-image: url('../img/iconos/beneficios/square-percent.svg');
}
.icon-b-wifi{
    -webkit-mask-image: url('../img/iconos/beneficios/wifi.svg');
    mask-image: url('../img/iconos/beneficios/wifi.svg');
}
.icon-b-wrench{
    -webkit-mask-image: url('../img/iconos/beneficios/wrench.svg');
    mask-image: url('../img/iconos/beneficios/wrench.svg');
}
/* ==========================================================================
   ESTILOS DEL SITIO (LADO IZQUIERDO)
========================================================================== */
/* NAVBAR
================================================== */
.nav-logo img{
    height: 35px; /* Tamaño controlado del logo */
    width: auto;
}

.menu-toggle{
    display: none;
}

.nav-links {
    display: flex;
    gap: clamp(10px, 2vw, 30px); /* Espaciado fluido entre links */
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 10px;
    font-size: clamp(0.9rem, 1.2vw, 1rem); 
    transition: color 0.3s;
}

.nav-links .active {
    color: var(--primary-blue);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 6px;
}

.nav-links a:hover {
    color: var(--text-light);
}

.nav-phone {
    color: var(--primary-blue);
    font-weight: bold;
}

.phone-link {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.phone-link:hover {
  opacity: 0.8;
}

/* SLIDER
================================================== */
.slider-container {
    position: relative;
    width: 100%;
    background-color: #000;
    overflow: visible; 
    display: flex;
    flex-direction: column;
}

#sliderWrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 7; 
    overflow: hidden;
    z-index: 1;
    height: auto;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-picture, .slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    z-index: 3;
    text-align: center;
    width: 80%;
    pointer-events: none;
}

.slider-controls {
    position: relative;
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 10;
    padding: 10px 0;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #555;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary-blue);
    transform: scale(1.3);
}

/* BANNER CENTRAL
================================================== */
.text-banner {
    text-align: center;
    padding: 40px 20px;
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    font-weight: 600;
}

.text-banner h2 {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    margin-bottom: 20px;
}

.switch-btns {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pill-btn {
    padding: 10px 25px;
    border-radius: 25px;
    border: none;
    background-color: #333;
    color: var(--text-light);
    cursor: pointer;
    font-weight: bold;
}

.pill-btn.active {
    background-color: var(--primary-blue);
}

.promo-banner {
    margin: 0 auto 40px auto;
    width: 100%;
    max-width: 600px;
}

.discount-badge {
    font-size: 2.5rem;
    font-weight: bold;
}

/* ==========================================================================
   CARDS
========================================================================== */
.pricing-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 clamp(5px, 0vw, 60px);
}

.card {
    width: 30%; 
    flex-grow: 0; 
    flex-shrink: 0;
    background-color: #f5f5f7;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-top: 20px;
}

.tag-featured {
    position: absolute;
    top: -24px;
    right: 0;
    padding: 6px 20px 35px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    z-index: -1;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.slider-dots-container {
    display: none;
}

.card-head {
    background-color: #1a1a24;
    color: #ffffff;
    border-radius: 20px 20px 0 0;
    padding: 15px 20px 20px;
    text-align: center;
    position: relative;
}

.card-type {
    font-size: 0.9rem;
    color: #a1a1aa;
    margin-bottom: 5px;
    text-align: left;
}

.card-head .megas {
    font-size: clamp(1.8rem, 3vw, 3.5rem);
    font-weight: 600;
    margin: 0;
    line-height: 1.1;
    padding-bottom: 20px;
}
.card-head .megas .mtxt{
    font-size: clamp(.8rem, 3vw, 2.5rem);
}

.card-head .price {
    font-size: 2.8rem;
    font-weight: 800;
    margin-top: 15px;
    position: relative;
}

.card-head .antes {
    text-decoration:line-through;
    display:block;
    font-size:0.4em;
    font-weight: 600;
}

.card-head .nota {
    font-weight: 200;
    font-size: .6rem;
}

.card-head .price span {
    font-size: 1.5rem;
    position: relative;
    top: -15px;
}

.card-head small {
    display: block;
    font-size: 1rem;
    color: #a855f7;
    text-decoration: line-through;
    margin-bottom: -5px;
    opacity: 0.8;
}

.card-body {
    padding: clamp(5px, 1vh, 25px) clamp(10px, 1vw, 30px);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    height: 100%;
}

.banners {
    margin-bottom: 20px;
    text-align: center;
}

.banners img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.features-list, .features-list-more {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    text-align: left;
    color: #334155;
    font-size: 0.9rem;
    line-height: 1.4;
}

.features-list li, .features-list-more li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    line-height: 1.3;
}

.card-btn {
    margin-top: auto;
    background-color: var(--primary-blue);
    color: #ffffff;
    border: none;
    padding: 14px 0;
    border-radius: 30px;
    font-size: clamp(0.7rem, 1vw, 1.1rem);
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    width: 100%;
}

.card-btn:hover {
    background-color: var(--primary-blue-hover);
    transform: translateY(-2px);
}

.salto{
    padding: 20px 0;
}

.card-more {
    background: none;
    border: none;
    color: var(--primary-blue);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 0;
}

.card-more:hover {
    text-decoration: underline;
}

.features-list-more {
    margin-top: 10px;
    border-top: 1px solid #e2e8f0;
    padding-top: 15px;
}

.btn-more{
    background-color: var(--primary-blue);
    color: #ffffff;
    border: none;
    padding: 14px 0;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    width: 25%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    text-decoration: none;
    display: block;
    text-align: center;
    margin: 0 auto;
}

.btn-more:hover {
    background-color: var(--primary-blue-hover);
    transform: translateY(-2px);
}

/* ==========================================================================
   ¿Por qué elegirnos?
========================================================================== */
.why-us {
    background: linear-gradient(180deg, #422584 0%, #1E1F28 100%);
    /*padding: clamp(40px, 8vw, 80px) 0;*/
    padding: clamp(30px, 4vw, 80px) 0;
    color: white;
    font-family: sans-serif;
    display: grid;
    grid-template-columns: 1fr 2fr; 
    gap: 20px;
    align-items: start;
    margin: 40px 4%;
    border-radius: 20px;
}

.why-us h2 {
    grid-column: 1 / -1; 
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 30px;
    text-align: center;
}

.whytxt {
    background: linear-gradient(180deg, rgba(169, 113, 225, 0.35) 0%, rgba(92, 0, 125, 0.35) 100%);
    padding: 40px;
    border-radius: 0 20px 20px 0;
    height: 100%;
    display: flex;
    align-items: center;
}

.whytxt p {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    line-height: 1.4;
    margin: 0;
    font-weight: 600;
    line-height: 1.5;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.benefit-item {
    padding: clamp(10px, 2vw, 20px);
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    line-height: 1.2;
}

.benefit-item i {
    color: #64E1F7;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    font-size: 2rem;
}

.itembold {
    display: block;
    font-weight: 600;
}

.site-footer {
    text-align: center;
    padding: 30px;
    color: #555;
    font-size: 0.8rem;
}

/* ==========================================================================
   ESTILOS DEL FORMULARIO (LADO DERECHO)
   ========================================================================== */
.sidebar-header, .contact-form, .online-chat-section{
    padding: 0 clamp(5px, 2vw, 60px);
}
.sidebar-header {
    text-align: center;
    padding-top: clamp(10px, 5vw, 25px);
    margin-bottom: 25px;
}

.trust-badges {
    font-size: 0.7rem;
    color: #666;
    margin-bottom: 15px;
}

.trust-badges img{
    max-width: 240px;
    width: 100%;
}

.sidebar-header h2 {
    color: #4F5357;
    font-size: clamp(1.3rem, 5vw, 2rem);
}

.sidebar-header h2 .txtn{
    font-weight: 300;
}

.sidebar-header h2 img {
    vertical-align: middle; 
    margin-right: 8px;
    width: 50%;
}

.contact-form {
    width: 100%;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: clamp(0.8rem, 1vw, 1.2rem);
    color: #555;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 25px;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: var(--primary-blue);
}

.legal-text {
    font-size: 0.7rem;
    color: #888;
    text-align: center;
    margin: 15px 0;
}

.btn-call {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-call:hover {
    background-color: var(--primary-blue-hover);
}

.online-chat-section {
    background: #F1F1F1;
    margin-top: auto;
    padding: 
        clamp(20px, 4vw, 30px) 
        clamp(5px, 2vw, 60px) 
        clamp(30px, 8vw, 60px);
    text-align: center;
    border-top: 1px solid #eee;
}

.online-chat-section p {
    font-size: clamp(0.8rem, 1.9vw, 1.5rem);
    color: #555;
    margin-bottom: 10px;
}

.btn-chat {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
}
.btn-chat:hover {
    background-color: var(--primary-blue-hover);
}
/* ==========================================================================
    MODAL
========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #2F2F2F;
    width: 90%;
    max-width: 500px;
    border-radius: 24px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: modalFadeIn 0.3s ease-out;
    overflow: hidden;
}

.modal-title {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    line-height: 1.5;
    text-align: center;
    padding: 40px 40px 0;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 40px 40px;
}

.input-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.input-group label {
    color: #fff;
    font-size: 0.85rem;
    margin-bottom: 8px;
    padding-left: 5px;
}

.input-group input {
    background-color: #2d2d2d;
    border: 1px solid #fff;
    border-radius: 12px;
    padding: 14px;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.input-group input:focus {
    border-color: var(--primary-blue);
}

.privacy-note{
    color: #a1a1aa;
    text-align: center;
    font-size: 0.7rem;
}

.btn-send {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s;
}

.btn-send:hover {
    background-color: var(--primary-blue-hover);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #888;
    font-size: 30px;
    cursor: pointer;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
    MODAL GRACIAS
========================================================================== */

.modal-success-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: fadeInUp 0.4s ease-out;
}

.content-up {
    background: #606060;
    padding: 40px 40px 20px;
    width: 100%;
}

.content-up h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 2.5rem;
    color: #fff;
    margin: 0;
}

.content-up p {
    font-weight: 500;
    font-size: 1.2rem;
    color: #fff;
    margin: 5px 0 0;
}

.content-down {
    padding: 20px 40px 40px;
}

.content-down p {
    font-size: 1rem;
    color: #fff;
    margin: 0;
}

.content-down img {
    max-width: 150px;
    margin: 15px 0;
}

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

/* ==========================================================================
   FOOTER - ESTILO TOTALPLAY
========================================================================== */
.main-footer {
    background-color: #1a1d23;
    color: #ffffff;
    padding: 30px 5%;
    font-family: 'Segoe UI', Roboto, sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-legal {
    flex: 1;
}

.footer-legal a {
    color: #ffffff;
    text-decoration: none;
    font-size: .8rem;
    font-weight: 300;
}

.footer-legal a:hover {
    text-decoration: underline;
}

.footer-legal p {
    font-size: .8rem;
    margin: 0;
    font-weight: 300;
}

.footer-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.footer-logos {
    display: grid;
    grid-template-columns: auto auto; 
    gap: 20px;
    justify-content: flex-end;
    margin-bottom: 25px;
}

.logo-bottom {
    grid-column: 1 / span 2; 
    display: flex;
    justify-content: flex-end;
}

.footer-logos img {
    height: auto;
    max-height: 28px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-copyright {
    color: #ffffff;
    font-size: 0.7rem;
    line-height: 1.4;
    font-weight: 300;
}

.footer-copyright p {
    margin: 0;
}
/* ==========================================================================
   MOBILE ACTION BAR
========================================================================== */
.mobile-action-bar {
    display: none; /* Oculto en desktop */
}
/* ==========================================================================
   RESPONSIVO
========================================================================== */
@media (max-width: 1440px) {
    .sidebar-header h2 {
        font-size: clamp(1rem, 5vw, 1.3rem);
    }
    .trust-badges img {
        max-width: 190px;
    }
    .card-head .megas .mtxt {
        font-size: clamp(.8rem, 2vw, 2.5rem);
    }
    .card-head .megas {
        font-size: clamp(1.8rem, 3vw, 3.5rem);
    }
    .btn-more{
        width: 30%;
    }
    .benefit-item {
        padding: clamp(5px, 1vw, 20px);
        gap: 0px;
    }
}
@media (max-width: 1024px) {
    .sidebar-header h2 {
        font-size: clamp(.5rem, 5vw, 1rem);
    }
    .trust-badges img {
        max-width: 150px;
    }
    .pricing-grid {
        gap: 15px;
    }
    .card-type{
        font-size: 0.7rem;
    }
    .card-head .price {
        font-size: clamp(.8rem, 3vw, 2.8rem);
    }
    .card-head .price span {
        font-size: .9rem;
    }
    .features-list li, .features-list-more li{
        font-size: clamp(0.7rem, 1vw, 0.95rem);
        gap: 0;
    }
    .btn-more{
        width: 50%;
    }
    .why-us{
        gap: 10px;
    }
    .why-us h2 {
        font-size: clamp(1.8rem, 3vw, 2.5rem);
    }
    .whytxt{
        padding: 15px;
    }
    .whytxt p {
        font-size: clamp(0.8rem, 1vw, 1.1rem);
    }
    .benefit-item {
        font-size: clamp(0.7rem, 0vw, 0.95rem);
    }
    .benefit-item i {
        width: 30px;
        height: 30px;
    }
}
@media (max-width: 768px) {
    .slider-container {
        height: auto; 
    }
    .main-container{
        margin: 0;
        width: 100%;
    }
    .navbar {
        position: relative;
        padding: 0 20px;
        height: 60px;
    }

    .nav-logo .logo {
        height: 28px;
    }

    #menu-toggle{
        position: absolute;
        right: 5%;
        z-index: 9999;
    }

    .menu-toggle {
        display: block !important;
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
    }

    .menu-toggle {
        display: block; /* Solo se ve en móviles */
    }

    .nav-links {
        display: flex !important; /* Forzamos flex */
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%; /* Totalmente fuera a la derecha */
        width: 100%;
        height: 100vh;
        background-color: #111;
        padding: 80px 40px;
        transition: all 0.4s ease-in-out;
        z-index: 1040;
    }

    /* Esta es la clase que el JS activa */
    .nav-links.active {
        right: 0 !important;
    }

    .nav-links a {
        font-size: 1.5rem; /* Letra más grande en móvil */
        margin-bottom: 25px;
    }

    .nav-phone{
        padding-right: 14%;
    }
    .fixed-sidebar{
        display: none;
    }

    .pricing-grid {
        display: flex !important;
        flex-direction: row !important; /* Fuerza una sola fila */
        flex-wrap: nowrap !important;   /* Evita que caigan a la siguiente línea */
        justify-content: flex-start;
        overflow-x: auto;               /* Activa el scroll horizontal */
        scroll-snap-type: x mandatory;  /* Activa el efecto "imán" del slide */
        padding: 10px 5vw 30px 5vw;     /* Margen lateral para que no pegue a las orillas */
        gap: 15px;
        -webkit-overflow-scrolling: touch; /* Scroll fluido en iOS */
        
        /* Ocultar la barra de scroll nativa para un look limpio */
        scrollbar-width: none; 
        -ms-overflow-style: none;
    }

    .pricing-grid::-webkit-scrollbar {
        display: none;
    }

    .card {
        flex: 0 0 85% !important;       /* La card ocupa el 85% de la pantalla */
        width: 85% !important;
        max-width: 320px;
        scroll-snap-align: center;      /* Se centra automáticamente al soltar el dedo */
        margin-bottom: 0 !important;
    }

    .card-type{
        font-size: 0.9rem;
    }

    .card .megas {
        font-size: clamp(3rem, 8vw, 2.8rem);
    }

    .card-head .megas .mtxt {
        font-size: clamp(2.1rem, 5vw, 2.5rem);
    }

    .card-head {
        padding: 20px 15px; /* Reducimos un poco el padding interno */
    }

   .card-head .price {
        font-size: clamp(2rem, 12vw, 2.8rem);
    }

    .card-head .price span {
        font-size: 1rem;
        top: -20px;
    }

    .card-btn {
        width: 100%; /* El botón ocupa todo el ancho para facilitar el clic táctil */
        padding: 15px;
        font-size: 1.1rem;
    }
    
    .features-list li, .features-list-more li {
        font-size: clamp(.85rem, 4vw, 0.95rem);
    }

    /* Si las imágenes de banners internos son muy grandes */
    .banners img {
        width: 100%;
        height: auto;
    }

    .slider-dots-container {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: -10px;
        margin-bottom: 20px;
    }

    .pricing-dot {
        width: 10px;
        height: 10px;
        background-color: #ffffff; /* Punto blanco inactivo */
        border-radius: 50%;
        transition: all 0.3s ease;
    }

    .pricing-dot.active {
        background-color: #4A90E2; /* Tu punto azul activo */
        transform: scale(1.2);
    }
    .why-us{
        display: block;
        position: relative;
        padding-bottom: 15%;
        overflow: hidden;
    }
    .whytxt{
        position: absolute;
        bottom: 0;
        height: 20%;
        text-align: center;
        width: 100%;
        border-radius: 0;
    }
    .benefits-grid {
        padding: 0 20px;
    }
    .benefit-item {
        font-size: clamp(0.7rem, 2vw, 0.95rem);
    }
    .main-footer{
        padding-bottom: 90px;
    }
    .footer-container{
        display: block;
        gap: 10px;
    }
    .footer-legal{
        text-align: center;
    }
    .footer-info{
        display: block;
        text-align: center;
    }
    .footer-logos{
        justify-content: center;
        margin: 20px 0;
    }
    .mobile-action-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: clamp(60px, 10vh, 75px);
        background: #111; /* Fondo oscuro */
        padding: 10px 15px;
        gap: 10px;
        z-index: 2000;
        box-shadow: 0 -4px 15px rgba(0,0,0,0.5);
        transition: all 0.3s ease-in-out;
    }

    /* Cuando llega al footer, podemos cambiar su estilo o posición */
    .mobile-action-bar.at-footer {
        position: relative; /* Se integra al flujo de la página */
        box-shadow: none;
        background: transparent;
        padding: 20px 15px;
    }

    /*.action-btn {
        flex: 1;
        border: none;
        border-radius: 8px;
        font-weight: 700;
        font-size: clamp(0.7rem, 2.5vw, 0.9rem);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        cursor: pointer;
        text-decoration: none;
        text-transform: uppercase;
    }*/
    .btn-chat{
        width: 50%;
    }
    .btn-call{
        width: 50%;
    }
}
@media (max-width: 488px) {
    .footer-copyright {
        font-size: 0.6rem;
    }
}
@media (max-width: 488px) {
    .benefits-grid {
        display: block;
        width: 240px;
        margin: 0 auto;
        padding-bottom: 35px;
    }
    .btn-more {
        width: 92%;
    }
}
@media (max-width: 375px) {
    #sliderWrapper {
        aspect-ratio: 4 / 5; 
        min-height: auto;
    }
    .slide-content {
        bottom: 20%; 
        width: 90%;
    }
    .nav-links {
        width: 100%;
    }
    .why-us h2 {
        font-size: clamp(1.4rem, 3vw, 2.5rem);
    }
    .benefits-grid {
        padding-bottom: 60px;
        width: 288px;
    }
    .benefit-item {
        font-size: clamp(0.7rem, 4vw, 0.95rem);
    }
}
