/* ==========================================================================
   VARIABLES Y RESET
   ========================================================================== */
:root {
    --bg-dark: #000000;
    --bg-card: #151515;
    --primary-blue: #3b82f6;
    --primary-blue-hover: #2563eb;
    --accent-green: #4ade80;
    --text-light: #ffffff;
    --text-muted: #a3a3a3;
    --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; /* Relación con alto de navbar */
    width: calc(100% - var(--sidebar-width)); /* Deja el hueco para el sidebar */
    color: var(--text-light);
    min-height: 100vh;
}

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

.fixed-sidebar {
    position: fixed;
    top: 70px; /* Empieza exactamente donde termina el Navbar */
    right: 0;
    width: var(--sidebar-width);
    height: calc(100vh - 70px); /* El resto de la pantalla */
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    overflow-y: auto; /* Permite scroll interno si el formulario es largo */
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
}

.icon{
    display: inline-block;
    width: 20px;  /* Ajusta según el tamaño de tu diseño */
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
    margin-right: 10px;
}

.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-b{
    display: inline-block;
    width: 35px;           /* Tamaño del icono según la imagen */
    height: 35px;
    background-color: #40e0d0; /* Color Turquesa de Totalplay */
    
    /* Propiedades de Máscara para el SVG */
    -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;        /* Evita que el icono se deforme */
    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 */
/* ==========================================================================
   AJUSTE DEL SLIDER DINÁMICO (ADAPTABLE)
   ========================================================================== */
.slider-container {
    position: relative;
    width: 100%;
    min-height: 300px; 
    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: 100%;
    min-height: 350px;
}

.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 img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

/* Contenido de texto sobre la imagen */
.slide-content {
    position: absolute;
    z-index: 3;
    text-align: center;
    width: 80%;
    pointer-events: none; /* Permite hacer clic a través del texto */
}

/* ==========================================================================
   CONTROLES (DOTS) FUERA DEL WRAPPER
   ========================================================================== */
.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);
}

/* Banners Centrales */
.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;
}

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

/* ==========================================================================
   ESTRUCTURA DE LA TARJETA (CARD)
   ========================================================================== */
.card {
    width: 30%; 
    flex-grow: 0; 
    flex-shrink: 0;
    background-color: #f5f5f7; /* Color claro del cuerpo según tu imagen */
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    position: relative; /* Crucial para que la etiqueta sobresalga */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* Sombra para darle profundidad contra el fondo negro */
    margin-top: 20px; /* Espacio para que quepa la etiqueta superior */
}

/* Etiqueta Flotante ("El más vendido") */
.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);
}

/* ==========================================================================
   ENCABEZADO DE LA TARJETA (CARD HEAD)
   ========================================================================== */
.card-head {
    background-color: #1a1a24; /* El gris oscuro casi negro de la parte superior */
    color: #ffffff;
    border-radius: 20px 20px 0 0; /* Solo redondea arriba */
    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: 3.5rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.1;
    padding-bottom: 20px;
}
.card-head .megas .mtxt{
    font-size: 2.5rem;
}

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

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

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

/* Estilo para el precio anterior tachado (si existe, ej: $1,328) */
.card-head small {
    display: block;
    font-size: 1rem;
    color: #a855f7; /* Morado por defecto, o hereda */
    text-decoration: line-through;
    margin-bottom: -5px;
    opacity: 0.8;
}

/* ==========================================================================
   CUERPO DE LA TARJETA (CARD BODY)
   ========================================================================== */
.card-body {
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Para que todas las tarjetas midan lo mismo */
    height: 100%;
}

/* Banners de promociones (Netflix, HBO, Surround) */
.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;
}

/* Listas de beneficios */
.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;
}

/* Botón Principal (Me interesa) */
.card-btn {
    margin-top: auto;
    background-color: #3b82f6; /* Azul brillante */
    color: #ffffff;
    border: none;
    padding: 14px 0;
    border-radius: 30px;
    font-size: 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: #2563eb;
    transform: translateY(-2px);
}

.salto{
    padding: 20px 0;
}

/* Botón Secundario (Ver detalle) */
.card-more {
    background: none;
    border: none;
    color: #3b82f6;
    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: #3b82f6; /* Azul brillante */
    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: #2563eb;
    transform: translateY(-2px);
}

/* Sección Por Qué Elegirnos */
/* Contenedor Principal */
.why-us {
    background: linear-gradient(180deg, #422584 0%, #1E1F28 100%);
    padding: 40px 0;
    color: white;
    font-family: sans-serif;
    display: grid;
    /* Creamos una cuadrícula: columna izquierda para el texto, derecha para beneficios */
    grid-template-columns: 1fr 2fr; 
    gap: 20px;
    align-items: start;
    margin: 40px 4%;
    border-radius: 20px;
}

/* Título que ocupa todo el ancho superior */
.why-us h2 {
    grid-column: 1 / -1; 
    font-size: 2.2rem;
    margin-bottom: 30px;
    text-align: center;
}

/* Cuadro de texto destacado (Imagen 1 - Izquierda) */
.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: 1.3rem;
    line-height: 1.4;
    margin: 0;
    font-weight: 600;
}

/* Cuadrícula de beneficios (Imagen 1 - Derecha) */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columnas de beneficios */
    gap: 15px;
}

/* Item individual */
.benefit-item {
    padding: 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95rem;
    line-height: 1.2;
}

/* Estilo de los Iconos (Círculos verdes) */
.benefit-item i {
    color: #64E1F7;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0; /* Evita que el círculo se aplaste */
    font-size: 2rem;
}

.itembold {
    display: block; /* Para que el texto en negrita rompa línea si es necesario */
    font-weight: 800;
}

.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(20px, 5vw, 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 {
    gap: 10px;
    color: #4F5357;
    font-size: clamp(1.3rem, 5vw, 2.3rem);
}

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

.sidebar-header h2 img {
    vertical-align: middle; /* Alinea la imagen al centro de la línea de texto */
    margin-right: 8px;      /* Espacio entre imagen y texto */
    /*width: 224px;*/
    width: 50%;
}

.contact-form {
    width: 100%;
}

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

.form-group label {
    display: block;
    font-size: 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: 30px 60px 60px;
    text-align: center;
    border-top: 1px solid #eee;
}

.online-chat-section p {
    font-size: 1.5rem;
    color: #555;
    margin-bottom: 10px;
}

.btn-chat {
    width: 100%;
    padding: 12px;
    background-color: #2563eb;
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
}
/* ==========================================================================
    MODAL
========================================================================== */
/* 1. Fondo del modal (Overlay) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;   /* Asegura el ancho total */
    height: 100vh;  /* Asegura el alto total */
    background-color: rgba(0, 0, 0, 0.6); /* Fondo oscuro semitransparente */
    
    /* Centrado absoluto */
    display: none; /* El JS lo cambia a 'flex' */
    justify-content: center;
    align-items: center;
    
    /* Capas superiores */
    z-index: 9999; /* Valor muy alto para evitar que las cards queden arriba */
    backdrop-filter: blur(5px); /* Efecto de desenfoque al fondo */
}

/* 2. Caja del Modal */
.modal-content {
    background-color: #2F2F2F;
    width: 90%;
    max-width: 500px;
    /*padding: 40px;*/
    border-radius: 24px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: modalFadeIn 0.3s ease-out; /* Animación de entrada */
    overflow: hidden;
}

/* 3. Título y Textos */
.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;
}

/* 4. Estilos de Formulario e Inputs */
.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: #3b82f6; /* Azul Totalplay al escribir */
}

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

/* 5. Botón de Enviar */
.btn-send {
    background-color: #3b82f6;
    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: #2563eb;
}

/* 6. Botón Cerrar (X) */
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #888;
    font-size: 30px;
    cursor: pointer;
}

/* Animación */
@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; /* Color acento Totalplay */
    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 oscuro del fondo de la imagen */
    color: #ffffff;
    padding: 60px 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; /* Alineación superior como en la imagen */
    gap: 40px;
}

/* --- Lado Izquierdo: Textos Legales --- */
.footer-legal {
    flex: 1;
}

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

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

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

/* --- Lado Derecho: Logos y Copyright --- */
.footer-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Alineado a la derecha en desktop */
    text-align: right;
}

.footer-logos {
    display: grid;
    /* Creamos dos columnas para los logos de arriba */
    grid-template-columns: auto auto; 
    gap: 20px;
    justify-content: flex-end; /* Alineado a la derecha en desktop */
    margin-bottom: 25px;
}

.logo-bottom {
    grid-column: 1 / span 2; 
    display: flex;
    justify-content: flex-end; /* Lo mantiene alineado a la derecha */
}

.footer-logos img {
    height: auto;
    max-height: 28px; /* Altura máxima para los logos */
    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;
}
/* ==========================================================================
   RESPONSIVO
========================================================================== */
@media (max-width: 768px) {
    .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 {
        flex-direction: column; /* Alinea las cards una debajo de otra */
        align-items: center;
    }

    .card {
        width: 100% !important; /* La card ocupa todo el ancho disponible */
        max-width: 400px; /* Evita que en tablets se vea demasiado ancha */
        margin-bottom: 20px;
    }

    /* Ajustamos el tamaño de la fuente de los megas para móvil */
    .card .megas {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

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

    .price {
        font-size: 2.5rem; /* Ajuste ligero del precio */
    }

    .card-btn {
        width: 100%; /* El botón ocupa todo el ancho para facilitar el clic táctil */
        padding: 15px;
        font-size: 1.1rem;
    }
    
    /* Si las imágenes de banners internos son muy grandes */
    .banners img {
        width: 100%;
        height: auto;
    }
}
@media (max-width: 375px) {
    .nav-links {
        width: 100%;
    }
}
