/* =========================================
   DESIGN TOKENS & VARIABLES
   ========================================= */
:root {
    --primary: #039df9;
    --primary-container: #0290e6;
    --on-primary: #ffffff;
    
    --surface: #f8f9ff;
    --surface-container: #d1edff;
    --surface-container-low: #e6f4ff;
    --on-surface: #0b1c30;
    --on-surface-variant: #3f4850;
    
    --font-display: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-chromatic: 0px 10px 25px -5px rgba(3, 157, 249, 0.15);
    --radius-btn: 9999px;
    --radius-card: 24px;
    
    /* Escala tipográfica fluida: se adapta de móvil a escritorio */
    --fs-display: clamp(30px, 3vw + 18px, 44px);
    --fs-h2: clamp(25px, 2.2vw + 15px, 34px);
    --fs-h3: clamp(19px, 1.4vw + 13px, 24px);
    --fs-body: clamp(16px, 0.9vw + 13px, 18px);
    --fs-block: clamp(20px, 1.2vw + 14px, 24px);
    --fs-meta: clamp(14px, 0.6vw + 11px, 15px);
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--surface);
    color: var(--on-surface);
    line-height: 1.5;
    padding-top: 100px;
}

h1, h2, h3, .logo {
    font-family: var(--font-display);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

/* Espaciado lateral cómodo en todos los dispositivos */
@media (max-width: 1024px) {
    .container {
        padding: 0 32px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(248, 249, 255, 0.85);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-chromatic);
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.logo img {
    height: 36px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--on-surface-variant);
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s;
}

.nav-links a.active, .nav-links a:hover {
    color: var(--primary);
}

/* BOTONES */
.btn {
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--on-primary);
    padding: 12px 28px;
    border-radius: var(--radius-btn);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(3, 157, 249, 0.28);
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--primary-container);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(3, 157, 249, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

/* =========================================
   HERO SECTION (2 COLUMNAS)
   ========================================= */
.hero {
    padding-top: 60px;
    padding-bottom: 60px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text {
    text-align: left;
}

.hero-text .badge {
    display: inline-block;
    margin-bottom: 24px;
    background-color: var(--surface-container-low); 
    color: var(--primary);
    border-radius: 20px; 
    padding: 8px 16px; 
    font-weight: 600;
}

.hero-text h1 {
    font-size: var(--fs-display);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
    color: var(--primary);
}

.hero-text p {
    font-size: var(--fs-body);
    color: var(--on-surface-variant);
    margin: 0;
    line-height: 1.6;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 620px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0px 15px 30px rgba(0, 97, 148, 0.12));
    padding: 0;
}

.store-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.store-link {
    display: inline-flex;
    align-items: center;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.store-link:hover {
    transform: translateY(-3px);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.badge-img {
    height: 44px; /* Ambos badges escalarán perfectamente a esta altura */
    width: auto;
}

/* En teléfonos muy estrechos los badges se reducen para no apilarse */
@media (max-width: 375px) {
    .badge-img {
        height: 36px;
    }

    .store-buttons {
        gap: 8px;
    }
}

/* Adaptación para pantallas medianas y móviles */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text {
        text-align: center;
    }

    .store-buttons {
        justify-content: center;
    }

    .hero-text p {
        max-width: 600px;
        margin: 0 auto;
    }
}

/* ECOSISTEMA & TOGGLE */
.ecosystem {
    padding-top: 40px;
    padding-bottom: 80px;
    text-align: center;
}

.ecosystem h2 {
    font-size: var(--fs-h2);
    font-weight: 700;
    margin-bottom: 24px;
}

.ecosystem p{
    margin-bottom: 32px;
    color: var(--on-surface-variant);
}

.toggle-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.toggle-container {
    position: relative;
    background-color: var(--surface-container);
    padding: 4px;
    border-radius: var(--radius-btn);
    display: inline-flex;
}

.toggle-btn {
    position: relative;
    z-index: 2;
    background: transparent;
    border: none;
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--on-surface-variant);
    cursor: pointer;
    transition: color 0.3s;
}

.toggle-btn.active {
    color: var(--on-primary);
}

.toggle-indicator {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background-color: var(--primary);
    border-radius: var(--radius-btn);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

/* CARDS GRID */
.eco-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background-color: #ffffff;
    border-radius: var(--radius-card);
    padding: 32px 24px;
    box-shadow: var(--shadow-chromatic);
    border: 1px solid var(--surface-container);
    text-align: left;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
}

.icon-wrapper {
    width: 48px;
    height: 48px;
    background-color: var(--surface-container-low);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.card h3 {
    font-size: var(--fs-h3);
    font-weight: 700;
    margin-bottom: 8px;
}

.card p {
    font-size: var(--fs-meta);
    color: var(--on-surface-variant);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .eco-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   MENÚ HAMBURGUESA (MÓVIL)
   ========================================= */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 1100px) {
    .logo {
        font-size: 24px;
        gap: 8px;
    }

    .logo img {
        height: 28px;
    }

    .nav-actions .btn-primary {
        padding: 10px 16px;
        font-size: 13px;
    }

    .menu-toggle {
        display: flex;
        flex-shrink: 0;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--surface);
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
        gap: 20px;
        box-shadow: var(--shadow-chromatic);
    }

    .nav-links.open {
        display: flex;
    }

    .menu-toggle.open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* En pantallas muy estrechas se oculta el botón "Descargar App" para
   que el logo y el menú hamburguesa queden siempre visibles */
@media (max-width: 480px) {
    .nav-actions .btn-primary {
        display: none;
    }
}


/* =========================================
   CARRUSEL CONTINUO DE CATEGORÍAS
   ========================================= */
.categories-section {
    padding: 60px 0;
    background-color: var(--surface-container-low);
    overflow: hidden;
}

.section-title {
    font-size: var(--fs-h2);
    font-weight: 700;
    margin-bottom: 32px;
}

/* Máscara para que las orillas desaparezcan con un difuminado suave */
.mask-fade {
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 32px 0;
}

.carousel-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: infiniteScroll 30s linear infinite;
}

/* Al pasar el cursor, el movimiento se pausa para facilitar la interacción */
.carousel-track:hover {
    animation-play-state: paused;
}

@keyframes infiniteScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Tarjeta más ancha para evitar saltos de línea excesivos */
.category-card {
    width: 260px; /* Antes 200px */
    background-color: #ffffff;
    border-radius: var(--radius-card);
    padding: 32px 20px;
    box-shadow: var(--shadow-chromatic);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
}

.category-card:hover {
    transform: translateY(-6px);
    /*background-color: var(--surface-container);*/
}

/* Ilustración/Ícono de mayor tamaño */
.category-img-wrapper {
    width: 140px; /* Antes 110px */
    height: 140px; /* Antes 110px */
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.category-card:hover .category-img-wrapper {
    transform: scale(1.08);
}

.category-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Asegura que la ilustración se ajuste completa sin recortarse */
    padding: 18px;
}

/* Ajustes tipográficos para mejor legibilidad */
.category-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.25;
    color: var(--on-surface);
}

.category-card p {
    font-size: var(--fs-meta);
    color: var(--on-surface-variant);
    line-height: 1.35;
}

html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 80px;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px 80px 40px;
}

@media (max-width: 768px) {
    .policy-content {
        padding: 0 24px 80px 24px;
    }
}

.policy-block {
    margin-bottom: 40px;
}

.policy-block h2 {
    font-size: var(--fs-block);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--surface-container);
}

.policy-block p {
    font-size: 16px;
    color: var(--on-surface-variant);
    line-height: 1.7;
    margin-bottom: 12px;
}

.policy-block p strong {
    color: var(--on-surface);
}

.policy-block ul {
    padding-left: 24px;
    margin-bottom: 12px;
}

.policy-block li {
    font-size: 16px;
    color: var(--on-surface-variant);
    line-height: 1.7;
    margin-bottom: 10px;
}

.policy-block li strong {
    color: var(--on-surface);
}

.policy-intro {
    font-size: 18px !important;
    color: var(--on-surface) !important;
    margin-bottom: 8px !important;
}



/* =========================================
   SECCIÓN CTA (EMPIEZA HOY MISMO)
   ========================================= */
.cta-section {
    padding: 140px 0;
    text-align: center;
    background-color: var(--surface);
    background-image: url('../img/descarga.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: #ffffff;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(3, 157, 249, 0.6), rgba(11, 28, 48, 0.6));
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: var(--fs-h2);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.cta-content p {
    font-size: var(--fs-body);
    color: #ffffff;
    max-width: 650px;
    margin: 0 auto 40px auto;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.store-badge img {
    height: 52px;
    width: auto;
    transition: transform 0.2s ease;
}

.store-badge:hover img {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .store-badge img {
        height: 48px;
    }
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background-color: #0b1c30; /* Tono oscuro profundo para cerrar la página */
    color: #e1e8f0;
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.02em;
}

.footer-logo img {
    height: 36px;
    width: auto;
}

.footer-brand p {
    font-size: var(--fs-meta);
    color: #94a3b8;
    line-height: 1.6;
    max-width: 360px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #64748b;
}

/* Adaptación Móvil */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* =========================================
   ¿CÓMO FUNCIONA? SECTION
   ========================================= */
.howto-section {
    padding: 60px 0 80px 0;
    text-align: center;
    background-color: var(--surface-container-low);
}

.howto-section h2 {
    font-size: var(--fs-h2);
    font-weight: 700;
    margin-bottom: 16px;
}

.howto-section > .container > p {
    color: var(--on-surface-variant);
    margin-bottom: 32px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.howto-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    position: relative;
    margin-top: 40px;
}

/* Línea conectora punteada */
.howto-steps::before {
    content: '';
    position: absolute;
    top: 60px;
    left: calc(16.66% + 24px);
    right: calc(16.66% + 24px);
    height: 2px;
    border-top: 2px dashed var(--surface-container);
    z-index: 0;
}

.howto-step {
    position: relative;
    z-index: 1;
    padding: 20px 20px 0 20px;
    text-align: center;
}

.howto-step-icon {
    width: 64px;
    height: 64px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    box-shadow: var(--shadow-chromatic);
    position: relative;
    z-index: 2;
}

.howto-step-icon .material-symbols-outlined {
    font-size: 32px;
    color: var(--primary);
}

.howto-step h3 {
    font-size: var(--fs-h3);
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--on-surface);
}

.howto-step p {
    font-size: var(--fs-meta);
    color: var(--on-surface-variant);
    line-height: 1.5;
    max-width: 280px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .howto-steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .howto-steps::before {
        display: none;
    }
}

/* =========================================
   FAQ / ACORDEÓN
   ========================================= */
.faq-container {
    padding-top: 60px;
    padding-bottom: 80px;
    text-align: center;
}

.faq-header h2 {
    font-size: var(--fs-h2);
    font-weight: 700;
    margin-bottom: 16px;
}

.faq-header > p {
    color: var(--on-surface-variant);
    margin-bottom: 32px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.faq-columns {
    max-width: 1000px;
    margin: 32px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    text-align: left;
}

.faq-col h3 {
    font-family: var(--font-display);
    font-size: var(--fs-h3);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--surface-container);
}

.faq-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--surface-container);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item.open {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(3, 157, 249, 0.08);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--on-surface);
    text-align: left;
    cursor: pointer;
}

.faq-icon {
    font-size: 22px;
    color: var(--primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--surface-container-low);
}

.faq-item.open .faq-answer {
    max-height: 320px;
}

.faq-answer p {
    color: var(--on-surface-variant);
    line-height: 1.6;
    margin: 0;
    padding: 4px 24px 20px 24px;
    font-size: var(--fs-meta);
}

.faq-support-card {
    max-width: 1000px;
    margin: 48px auto 0 auto;
    background: var(--surface-container-low);
    border-radius: 20px;
    padding: 28px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    text-align: left;
}

.support-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--on-surface);
}

.support-info p {
    font-size: 14px;
    color: var(--on-surface-variant);
    margin: 0;
}

@media (max-width: 768px) {
    .faq-columns {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .faq-support-card {
        flex-direction: column;
        text-align: center;
    }

    .faq-question {
        font-size: 15px;
        padding: 16px 20px;
    }
}



/* =========================================
   WIDGET FLOTANTE DE WHATSAPP
   ========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    z-index: 1000;
}

/* Globo de texto (Tooltip) */
.whatsapp-tooltip {
    background-color: #ffffff;
    padding: 12px 18px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
    display: flex;
    flex-direction: column;
    text-align: left;
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid #ffffff;
}

.whatsapp-tooltip strong {
    font-size: 14px;
    font-weight: 700;
    color: var(--on-surface, #0b1c30);
    line-height: 1.2;
}

.whatsapp-tooltip span {
    font-size: 13px;
    color: var(--on-surface-variant, #64748b);
    line-height: 1.3;
}

/* Botón Circular Verde */
.whatsapp-icon {
    width: 64px;
    height: 64px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
    position: relative;
    flex-shrink: 0;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

/* Anillo de pulso para llamar la atención */
.whatsapp-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: whatsappPulse 2.2s ease-out infinite;
}

.whatsapp-icon svg {
    width: 34px;
    height: 34px;
}

.whatsapp-float:hover .whatsapp-icon {
    background-color: #20ba5a;
    transform: scale(1.08);
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Ocultar el texto en pantallas móviles estrechas para no saturar */
@media (max-width: 480px) {
    .whatsapp-tooltip {
        display: none;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-icon {
        width: 60px;
        height: 60px;
    }
}

/* =========================================
   INTERACCIÓN: EVITA BOTONES "PEGADOS" AL ARRASTRAR
   ========================================= */
/* 1) Al presionar y arrastrar fuera no debe quedar selección de texto
      que bloquee el resto de los clics, ni highlight gris en móvil */
.btn-primary,
.store-link,
.store-badge,
.faq-question,
.menu-toggle,
.toggle-btn,
.whatsapp-float {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    touch-action: manipulation;
}

/* 2) El anillo de foco solo se muestra al navegar con teclado (accesible),
      no tras hacer clic/arrastrar con ratón o dedo */
.btn:focus,
a:focus,
button:focus,
.faq-question:focus,
.menu-toggle:focus,
.toggle-btn:focus,
.store-link:focus,
.whatsapp-float:focus {
    outline: none;
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
.faq-question:focus-visible,
.menu-toggle:focus-visible,
.toggle-btn:focus-visible,
.store-link:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* 3) En pantallas táctiles se desactivan los efectos de hover que quedan
      "pegados" tras tocar y arrastrar fuera del botón */
@media (hover: none), (pointer: coarse) {
    .btn-primary:hover,
    .btn-primary:active {
        background-color: var(--primary);
        transform: none;
        box-shadow: 0 4px 12px rgba(3, 157, 249, 0.28);
    }

    .store-link:hover,
    .store-link:active {
        transform: none;
        filter: none;
    }

    .store-badge:hover,
    .store-badge:active {
        transform: none;
    }

    .category-card:hover,
    .card:hover,
    .faq-item:hover {
        transform: none;
    }

    .whatsapp-float:hover .whatsapp-icon,
    .whatsapp-float:active .whatsapp-icon {
        background-color: #25D366;
        transform: none;
    }
}