/* =========================================
   ESTILOS ADICIONALES PARA POS INTELIGENTE
   ========================================= */

/* Hero Section POS - Siempre visible */
.page-content .hero-section-pos {
    background: var(--gradient);
    color: white;
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

/* Forzar visibilidad inmediata del hero */
.page-content.fade-in .hero-section-pos,
.page-content .hero-section-pos {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

.hero-section-pos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="3" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="60" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="80" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="90" r="3" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

.hero-section-pos .hero-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-section-pos h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: white;
    line-height: 1.2;
}

.pos-main-icon {
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.3);
    animation: pulse 2s ease-in-out infinite alternate;
}

/* Section Header con icono */
.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.section-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.section-header h2 {
    color: var(--dark-green);
    font-size: 1.8rem;
    margin: 0;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 10px;
    transition: var(--transition);
}

.benefit-item:hover {
    background: rgba(124, 179, 66, 0.05);
    transform: translateX(5px);
}

.benefit-check {
    color: var(--primary-green);
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.benefit-text {
    flex: 1;
}

/* Differentiators List */
.differentiators-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.differentiator-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 10px;
    transition: var(--transition);
}

.differentiator-item:hover {
    background: rgba(124, 179, 66, 0.05);
    transform: translateX(5px);
}

.differentiator-bullet {
    color: var(--primary-green);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.differentiator-text {
    flex: 1;
}

/* Conclusion Section */
.conclusion-section {
    background: var(--dark-green);
    color: white;
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    margin-top: 3rem;
    text-align: center;
    animation: fadeInUp 0.8s ease forwards;
}

.conclusion-section .section-header {
    justify-content: center;
    flex-direction: column;
}

.conclusion-section h2 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    animation: textFocusIn 1s cubic-bezier(0.55, 0.085, 0.68, 0.53) both;
}

.conclusion-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease forwards 0.2s both;
}

.cta-conclusion {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--light-green);
    margin-top: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section-pos .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .hero-section-pos h1 {
        font-size: 1.8rem;
    }
    
    .pos-main-icon {
        font-size: 4rem;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .conclusion-section {
        padding: 2rem 1.5rem;
    }
}

/* Corrección para eliminar el efecto cuadrado del icono */
.pos-main-icon {
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.3);
    animation: float 3s ease-in-out infinite;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
}

/* Asegurarse de que el contenedor del icono también esté limpio */
.hero-visual {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Si el problema persiste, usar esta versión más específica */
.hero-section-pos .pos-main-icon {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    text-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
}

/* Corrección para eliminar la rotación del icono */
.pos-main-icon {
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.3);
    animation: float-no-rotation 3s ease-in-out infinite;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
}

/* Nueva animación sin rotación */
@keyframes float-no-rotation {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Alternativa con animación más sutil */
@keyframes gentle-float {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

/* Si prefieres la animación más sutil, cambia esta línea: */
.pos-main-icon-gentle {
    animation: gentle-float 4s ease-in-out infinite;
}

/* =========================================
   ANIMACIONES PARA ICONO POS
   ========================================= */

/* 1. ANIMACIONES SUTILES (Recomendadas para uso profesional) */

/*@keyframes pulse {
            0% { transform: scale(1); opacity: 0.2; }
            100% { transform: scale(1.05); opacity: 0.4; }
        }*/

/* Flotación suave vertical */
@keyframes gentle-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* Pulsación suave de escala */
@keyframes soft-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

/* Respiración con opacidad */
@keyframes breathe {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.5; }
}

/* Flotación con escala combinada */
@keyframes float-scale {
    0%, 100% { 
        transform: translateY(0px) scale(1); 
        opacity: 0.3; 
    }
    50% { 
        transform: translateY(-10px) scale(1.02); 
        opacity: 0.4; 
    }
}

/* 2. ANIMACIONES DINÁMICAS (Más llamativas) */

/* Oscilación horizontal suave */
@keyframes gentle-sway {
    0%, 100% { transform: translateX(0px); }
    25% { transform: translateX(3px); }
    75% { transform: translateX(-3px); }
}

/* Rotación muy sutil */
@keyframes subtle-rotate {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(1deg); }
    75% { transform: rotate(-1deg); }
}

/* Efecto de latido */
@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    14% { transform: scale(1.05); }
    28% { transform: scale(1); }
    42% { transform: scale(1.03); }
    70% { transform: scale(1); }
}

/* 3. ANIMACIONES COMPLEJAS (Más elaboradas) */

/* Órbita suave */
@keyframes orbit {
    0% { transform: rotate(0deg) translateX(5px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(5px) rotate(-360deg); }
}

/* Flotación con rotación mínima */
@keyframes float-minimal-rotate {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    25% { 
        transform: translateY(-5px) rotate(1deg); 
    }
    75% { 
        transform: translateY(-5px) rotate(-1deg); 
    }
}

/* Efecto de pendulo */
@keyframes pendulum {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(3deg); }
}

/* 4. ANIMACIONES DE HOVER (Para interactividad) */

/* Crecimiento al hover */
@keyframes hover-grow {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

/* Rotación completa al hover */
@keyframes hover-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Rebote al hover */
@keyframes hover-bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* =========================================
   CLASES PARA APLICAR LAS ANIMACIONES
   ========================================= */
/*.pos-icon-pulse {
    animation: pulse 2s ease-in-out infinite alternate;
}*/
   

/* Animaciones sutiles - Uso continuo */
.pos-icon-gentle-float {
    animation: gentle-float 4s ease-in-out infinite;
}

.pos-icon-soft-pulse {
    animation: soft-pulse 3s ease-in-out infinite;
}

.pos-icon-breathe {
    animation: breathe 4s ease-in-out infinite;
}

.pos-icon-float-scale {
    animation: float-scale 5s ease-in-out infinite;
}

/* Animaciones dinámicas */
.pos-icon-sway {
    animation: gentle-sway 6s ease-in-out infinite;
}

.pos-icon-heartbeat {
    animation: heartbeat 2s ease-in-out infinite;
}

.pos-icon-orbit {
    animation: orbit 20s linear infinite;
}

/* Combinaciones */
.pos-icon-float-rotate {
    animation: float-minimal-rotate 8s ease-in-out infinite;
}

.pos-icon-pendulum {
    animation: pendulum 4s ease-in-out infinite;
}

/* Animaciones de hover */
.pos-icon-hover-grow:hover {
    animation: hover-grow 0.3s ease forwards;
}

.pos-icon-hover-spin:hover {
    animation: hover-spin 0.6s ease;
}

.pos-icon-hover-bounce:hover {
    animation: hover-bounce 0.6s ease;
}

/* =========================================
   RECOMENDACIONES DE USO
   ========================================= */

/* PARA CONTEXTO PROFESIONAL/CORPORATIVO: */
/* .pos-icon-gentle-float o .pos-icon-soft-pulse */

/* PARA LLAMAR ATENCIÓN SIN SER MOLESTO: */
/* .pos-icon-float-scale o .pos-icon-breathe */

/* PARA SITIOS MÁS CREATIVOS: */
/* .pos-icon-heartbeat o .pos-icon-sway */

/* COMBINACIÓN RECOMENDADA: */
.pos-main-icon-professional {
    animation: gentle-float 4s ease-in-out infinite;
    transition: all 0.3s ease;
}

.pos-main-icon-professional:hover {
    animation: hover-grow 0.3s ease forwards, gentle-float 4s ease-in-out infinite;
}


/* =========================================
   TARJETAS COMPACTAS PARA CARACTERÍSTICAS
   ========================================= */

/* Modificar el grid para mostrar más tarjetas por fila */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

/* Diseño compacto para las tarjetas */
.service-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(124, 179, 66, 0.1);
    text-align: center; /* Centrar contenido */
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient);
}

.service-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

/* Icono más pequeño y centrado */
.service-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto; /* Centrado y menos margen */
    color: white;
    font-size: 1.4rem;
}

/* Título más pequeño */
.service-card h3 {
    font-size: 1.1rem;
    color: var(--dark-green);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

/* Texto más pequeño y compacto */
.service-card p {
    color: var(--text-color);
    line-height: 1.5;
    margin-bottom: 0;
    font-size: 0.85rem;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 0.8rem;
    }
    
    .service-card {
        padding: 1.2rem;
    }
    
    .service-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .service-card h3 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .service-card p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
    }
    
    .service-card {
        padding: 1rem;
    }
    
    .service-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }
    
    .service-card h3 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .service-card p {
        font-size: 0.75rem;
        line-height: 1.4;
    }
}

/* Variante alternativa: Layout horizontal para tarjetas aún más compactas */
.service-card-horizontal {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
    padding: 1.2rem;
}

.service-card-horizontal .service-icon {
    margin: 0;
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
}

.service-card-horizontal .service-content h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.service-card-horizontal .service-content p {
    font-size: 0.8rem;
    margin: 0;
}

/* Para usar layout horizontal en desktop pero vertical en móvil */
@media (min-width: 769px) {
    .service-card-adaptive {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        text-align: left;
    }
    
    .service-card-adaptive .service-icon {
        margin: 0;
        flex-shrink: 0;
    }
}

.cta-button {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 1rem 2rem;
            background: var(--light-green);
            color: var(--dark-green);
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1.1rem;
            transition: var(--transition);
        }

        .cta-button:hover {
            background: white;
            transform: translateY(-2px);
            box-shadow: var(--shadow-hover);
        }

section.fade-in + section.fade-in {
    margin-top: 4rem;
}

/* =========================================
   SECCIÓN DE VIDEO POS
   ========================================= */

.video-section {
    margin: 5rem 0;
    background: var(--light-gray);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
}

.video-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

/* Contenedor del video responsivo */
.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* Aspect ratio 16:9 */
    background: var(--dark-green);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
}

/* Descripción del video */
.video-description h3 {
    color: var(--dark-green);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.video-description p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Highlights del video */
.video-highlights {
    margin-bottom: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-color);
}

.highlight-item i {
    color: var(--primary-green);
    font-size: 1rem;
    flex-shrink: 0;
}

/* Botón CTA del video */
.video-cta {
    text-align: center;
}

.btn-video-demo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.btn-video-demo:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: white;
}

.btn-video-demo i {
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 968px) {
    .video-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .video-section {
        margin: 3rem 0;
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .video-section {
        margin: 2rem 0;
        padding: 1.5rem 1rem;
    }
    
    .video-description h3 {
        font-size: 1.3rem;
        text-align: center;
    }
    
    .video-description p {
        font-size: 0.9rem;
        text-align: center;
    }
    
    .highlight-item {
        font-size: 0.85rem;
    }
    
    .btn-video-demo {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Animaciones específicas para la sección de video */
.video-wrapper {
    animation: zoomInUp 0.8s ease forwards;
}

.video-description {
    animation: fadeInRight 0.8s ease forwards 0.2s both;
}

.highlight-item {
    animation: slideInLeft 0.6s ease forwards;
}

.highlight-item:nth-child(1) { animation-delay: 0.1s; }
.highlight-item:nth-child(2) { animation-delay: 0.2s; }
.highlight-item:nth-child(3) { animation-delay: 0.3s; }
.highlight-item:nth-child(4) { animation-delay: 0.4s; }

.btn-video-demo {
    animation: bounceIn 0.8s ease forwards 0.5s both;
}


/* =========================================
   OVERLAY DE VIDEO CON COLORES CODEIA
   ========================================= */

/* Modificar el contenedor del video para incluir overlay */
.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* Aspect ratio 16:9 */
    background: var(--dark-green);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
    opacity: 0; /* Oculto inicialmente */
    transition: opacity 0.3s ease;
}

/* Overlay con gradiente de colores CodeIA */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    z-index: 2;
}

.video-overlay:hover {
    background: var(--gradient-hover);
    transform: scale(1.02);
}

/* Botón de play */
.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.play-button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
    transform: scale(1.1);
}

.play-button i {
    color: white;
    font-size: 2rem;
    margin-left: 3px; /* Centrar visualmente el triángulo */
}

/* =========================================
   TEXTO MÁS PEQUEÑO PARA OVERLAY DE VIDEO
   ========================================= */

/* Texto del overlay con tamaños reducidos */
.overlay-text {
    color: white;
    text-align: center;
    padding: 0 1rem;
}

.overlay-text h3 {
    font-size: 1.2rem;  /* Reducido de 1.5rem */
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    line-height: 1.3;
}

.overlay-text p {
    font-size: 0.85rem;  /* Reducido de 1rem */
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    margin: 0;
}

/* Responsive para overlay - tamaños aún más pequeños */
@media (max-width: 768px) {
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button i {
        font-size: 1.5rem;
    }
    
    .overlay-text h3 {
        font-size: 1rem;      /* Reducido de 1.2rem */
        line-height: 1.2;
    }
    
    .overlay-text p {
        font-size: 0.75rem;   /* Reducido de 0.9rem */
    }
}

/* Para pantallas muy pequeñas */
@media (max-width: 480px) {
    .overlay-text h3 {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
    
    .overlay-text p {
        font-size: 0.7rem;
    }
}

/* Estado cuando se activa el video */
.video-wrapper.playing .video-overlay {
    opacity: 0;
    pointer-events: none;
}

.video-wrapper.playing iframe {
    opacity: 1;
}

/* Responsive para overlay */
@media (max-width: 768px) {
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button i {
        font-size: 1.5rem;
    }
    
    .overlay-text h3 {
        font-size: 1.2rem;
    }
    
    .overlay-text p {
        font-size: 0.9rem;
    }
}

/* =========================================
   SECCIÓN DE INTRODUCCIÓN CON GRID
   ========================================= */

/* Intro Section - Siempre visible */
.page-content .intro-section {
    padding: 3rem 0;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

/* Forzar visibilidad inmediata de intro */
.page-content.fade-in .intro-section,
.page-content .intro-section {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Columna de texto */
.intro-text-col h3 {
    color: var(--dark-green);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.intro-text-col p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Lista de características */
.intro-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.intro-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
}

.intro-features li i {
    color: var(--primary-green);
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Columna visual - Dashboard Mockup */
.intro-visual-col {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-mockup {
    width: 100%;
    max-width: 500px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.dashboard-mockup:hover {
    transform: translateY(-5px) scale(1.02);
}

/* Header del mockup */
.mockup-header {
    background: var(--gradient);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
}

.mockup-title {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Contenido del mockup */
.mockup-content {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    background: #f8f9fa;
}

.mockup-module {
    background: white;
    padding: 1.25rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.mockup-module:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(124, 179, 66, 0.2);
}

.mockup-module i {
    font-size: 1.8rem;
    color: var(--primary-green);
}

.mockup-module span {
    font-size: 0.75rem;
    color: var(--text-color);
    font-weight: 500;
    text-align: center;
}

/* Animación de entrada */
.intro-section .intro-text-col {
    animation: fadeInLeft 0.8s ease forwards;
}

.intro-section .intro-visual-col {
    animation: fadeInRight 0.8s ease forwards;
}

/* Responsive */
@media (max-width: 968px) {
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1.5rem;
    }

    .intro-text-col {
        text-align: center;
    }

    .intro-features li {
        text-align: left;
    }

    .dashboard-mockup {
        max-width: 100%;
    }

    .mockup-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .intro-section {
        padding: 2rem 0;
    }

    .intro-text-col h3 {
        font-size: 1.5rem;
    }

    .intro-text-col p {
        font-size: 0.95rem;
    }

    .intro-features li {
        font-size: 0.9rem;
    }

    .mockup-content {
        padding: 0.8rem;
        gap: 0.6rem;
    }

    .mockup-module {
        padding: 0.8rem;
    }

    .mockup-module i {
        font-size: 1.4rem;
    }

    .mockup-module span {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .mockup-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .intro-text-col h3 {
        font-size: 1.3rem;
    }

    .mockup-header {
        padding: 0.8rem;
    }

    .mockup-title {
        font-size: 0.8rem;
    }
}

/* =========================================
   INTRO SECTION V2 — TEXTO ARRIBA, MOCKUP COMPLETO ABAJO
   ========================================= */

.intro-v2 {
    padding: 3rem 0 4rem;
    background: transparent;
    border-radius: 0;
    margin: 0;
}

/* Header centrado */
.intro-v2-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}

.intro-v2-tag {
    display: inline-block;
    background: rgba(124, 179, 66, 0.1);
    color: var(--primary-green);
    border: 1px solid rgba(124, 179, 66, 0.3);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.intro-v2-title {
    font-size: 2.2rem;
    color: var(--dark-green);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.intro-v2-accent {
    color: var(--primary-green);
}

.intro-v2-desc {
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

/* Feature pills horizontales */
.intro-v2-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
}

.intro-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    background: white;
    border: 1px solid rgba(124, 179, 66, 0.25);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--dark-green);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.2s ease;
}

.intro-pill:hover {
    background: rgba(124, 179, 66, 0.06);
    border-color: var(--primary-green);
    transform: translateY(-2px);
}

.intro-pill i {
    color: var(--primary-green);
    font-size: 0.85rem;
}

/* Visual a ancho completo */
.intro-v2-visual {
    width: 100%;
}

/* Mockup full-width */
.browser-mockup-full {
    max-width: 100% !important;
    padding: 1.5rem 3.5rem !important;
}

/* Grid de mesas más amplio */
.pos-tables-wide {
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 0.6rem !important;
    padding: 1rem !important;
}

.pos-preview-wide {
    padding: 0 !important;
}

.pos-preview-wide .pos-dash-top {
    padding: 0.85rem 1.25rem;
}

.pos-preview-wide .pos-salon-tabs {
    padding: 0.5rem 1.25rem;
}

/* Tarjetas flotantes reposicionadas para mockup full */
.browser-mockup-full .float-card-left {
    left: 0.5rem;
    top: 3.5rem;
}

.browser-mockup-full .float-card-right {
    right: 0.5rem;
    bottom: 3.5rem;
}

/* Sombra exterior llamativa */
.browser-mockup-full .browser-mockup {
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255,255,255,0.05);
}

/* Responsive */
@media (max-width: 768px) {
    .intro-v2-title { font-size: 1.7rem; }
    .intro-v2-header { margin-bottom: 2rem; }
    .browser-mockup-full { padding: 0.5rem !important; }
    .pos-tables-wide { grid-template-columns: repeat(4, 1fr) !important; }
    .browser-mockup-full .float-card-left,
    .browser-mockup-full .float-card-right { display: none; }
}

@media (max-width: 480px) {
    .pos-tables-wide { grid-template-columns: repeat(3, 1fr) !important; }
}

/* =========================================
   BROWSER MOCKUP CON TARJETAS FLOTANTES
   ========================================= */

.browser-mockup-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 1.5rem 2.5rem;
}

.browser-mockup {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.browser-header {
    background: #1e293b;
    padding: 0.7rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
}

.dot-red   { background: rgba(239, 68, 68, 0.8); }
.dot-amber { background: rgba(245, 158, 11, 0.8); }
.dot-green-dot { background: rgba(34, 197, 94, 0.8); }

.browser-url {
    font-family: monospace;
    font-size: 0.7rem;
    color: #64748b;
    margin-left: 0.5rem;
}

/* Dashboard POS oscuro */
.pos-dashboard-preview {
    background: #0f172a;
    padding: 1rem;
}

.pos-dash-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pos-dash-stat {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: white;
}

.pos-dash-stat i {
    font-size: 1.3rem;
    color: var(--primary-green);
}

.pos-stat-label {
    font-size: 0.65rem;
    color: #64748b;
    line-height: 1;
    margin-bottom: 0.15rem;
}

.pos-stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1;
}

.pos-dash-actions {
    display: flex;
    gap: 0.4rem;
}

.pos-badge {
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.pos-badge-green {
    background: rgba(124, 179, 66, 0.15);
    color: var(--primary-green);
    border: 1px solid rgba(124, 179, 66, 0.35);
}

.pos-badge-red {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.35);
}

/* Tabs de salones */
.pos-salon-tabs {
    display: flex;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.pos-tab {
    font-size: 0.6rem;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    color: #64748b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: background 0.2s;
}

.pos-tab-active {
    background: rgba(124, 179, 66, 0.2);
    color: var(--primary-green);
    border-color: rgba(124, 179, 66, 0.4);
}

/* Grid de mesas */
.pos-tables-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.45rem;
}

.pos-table {
    border-radius: 7px;
    padding: 0.6rem 0.35rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    border: 1px solid;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pos-table:hover {
    transform: scale(1.06);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.pos-table-free {
    background: rgba(34, 197, 94, 0.06);
    border-color: rgba(34, 197, 94, 0.3);
}

.pos-table-occupied {
    background: rgba(124, 179, 66, 0.15);
    border-color: rgba(124, 179, 66, 0.5);
}

.pos-table-busy {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.45);
}

.pos-table-num {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1;
}

.pos-table-label {
    font-size: 0.5rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pos-table-amount {
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--primary-green);
    margin-top: 0.15rem;
}

/* Tarjetas flotantes animadas */
.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: white;
    border-radius: 12px;
    padding: 0.65rem 1rem 0.65rem 0.7rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    z-index: 10;
    white-space: nowrap;
}

.float-card-left {
    left: -0.5rem;
    top: 3rem;
    animation: float-card-anim 4s ease-in-out infinite;
}

.float-card-right {
    right: -0.5rem;
    bottom: 3rem;
    animation: float-card-anim 4s ease-in-out infinite;
    animation-delay: 1.8s;
}

@keyframes float-card-anim {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.float-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.float-icon-green {
    background: rgba(124, 179, 66, 0.12);
    color: var(--primary-green);
}

.float-icon-blue {
    background: rgba(59, 130, 246, 0.12);
    color: #3b82f6;
}

.float-card-label {
    font-size: 0.65rem;
    color: #94a3b8;
    margin-bottom: 0.1rem;
    line-height: 1;
}

.float-card-value {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1;
}

.sunat-value {
    color: var(--primary-green);
}

/* Responsivo para tarjetas flotantes */
@media (max-width: 900px) {
    .float-card-left,
    .float-card-right {
        display: none;
    }
    .browser-mockup-wrapper {
        padding: 0;
    }
}

@media (max-width: 480px) {
    .pos-tables-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Entrada animada del mockup */
.browser-mockup-wrapper {
    animation: fadeInRight 0.8s ease forwards;
}

/* =========================================
   FIX CRÍTICO PARA VISIBILIDAD EN MÓVIL
   ========================================= */

/* Asegurar que el main page-content sea visible inmediatamente */
.page-content.fade-in {
    opacity: 1 !important;
    transform: none !important;
}

/* Asegurar que las primeras secciones sean visibles */
.page-content > .hero-section-pos,
.page-content > .intro-section,
.page-content .hero-section-pos,
.page-content .intro-section {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

/* Para mobile, mostrar todo el contenido inmediatamente */
@media (max-width: 768px) {
    .page-content,
    .page-content.fade-in,
    .page-content > *,
    .page-content .hero-section-pos,
    .page-content .intro-section {
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
        animation: none !important;
    }
}

/* =========================================
   SECCIÓN DEMO EN VIVO — TABS INTERACTIVOS
   ========================================= */

.demo-tabs-section {
    padding: 3rem 0;
    margin: 2rem 0;
}

/* Header */
.demo-section-header {
    margin-bottom: 2.5rem;
}

.demo-section-tag {
    display: inline-block;
    background: rgba(124, 179, 66, 0.1);
    color: var(--primary-green);
    border: 1px solid rgba(124, 179, 66, 0.3);
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.demo-section-title {
    font-size: 2rem;
    line-height: 1.2;
    color: var(--dark-green);
    margin-bottom: 0.75rem;
}

.demo-title-green {
    color: var(--dark-green);
}

.demo-title-accent {
    color: var(--primary-green);
}

.demo-section-desc {
    color: var(--text-color);
    font-size: 1rem;
    max-width: 560px;
    line-height: 1.6;
}

/* Layout principal */
.demo-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2rem;
    align-items: start;
}

/* Tab list */
.demo-tab-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.demo-tab-btn {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.9rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    text-align: left;
    transition: all 0.25s ease;
    width: 100%;
}

.demo-tab-btn:hover {
    border-color: var(--primary-green);
    background: rgba(124, 179, 66, 0.04);
}

.demo-tab-btn.active {
    background: var(--dark-green);
    border-color: var(--dark-green);
}

.demo-tab-num {
    font-size: 0.7rem;
    font-weight: 600;
    color: #94a3b8;
    font-family: monospace;
    line-height: 1;
}

.demo-tab-btn.active .demo-tab-num {
    color: rgba(255, 255, 255, 0.6);
}

.demo-tab-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
}

.demo-tab-btn.active .demo-tab-name {
    color: white;
}

/* Preview panel */
.demo-preview-panel {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Controls bar */
.demo-preview-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.demo-theme-toggle {
    display: inline-flex;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 3px;
    gap: 2px;
}

.demo-theme-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    border-radius: 7px;
    font-size: 0.78rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    background: transparent;
    color: #64748b;
    transition: all 0.2s;
}

.demo-theme-btn.active {
    background: #1e293b;
    color: white;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.demo-ampliar-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s;
}

.demo-ampliar-btn:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

/* Browser frame */
.demo-browser-frame {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(0,0,0,0.08);
    background: #0f172a;
    transition: background 0.3s;
}

.demo-browser-frame.light-mode {
    background: #f1f5f9;
}

.demo-browser-bar {
    background: #1e293b;
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: background 0.3s;
}

.demo-browser-frame.light-mode .demo-browser-bar {
    background: #e2e8f0;
}

.demo-browser-frame.light-mode .browser-url {
    color: #94a3b8;
}

/* Screens */
.demo-screen-container {
    position: relative;
    min-height: 360px;
}

.demo-screen {
    display: none;
    animation: demoFadeIn 0.3s ease;
}

.demo-screen.active {
    display: block;
}

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

/* Tags y descripción */
.demo-tab-meta {
    margin-top: 0.25rem;
}

.demo-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

.demo-meta-tag {
    padding: 0.3rem 0.85rem;
    border-radius: 50px;
    background: rgba(124, 179, 66, 0.1);
    border: 1px solid rgba(124, 179, 66, 0.25);
    color: var(--dark-green);
    font-size: 0.78rem;
    font-weight: 600;
}

.demo-meta-desc {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ---- COMMON SCREEN ELEMENTS ---- */
.ds-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.demo-browser-frame.light-mode .ds-top-bar {
    border-bottom-color: rgba(0,0,0,0.07);
}

.ds-stat-box {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: white;
}

.demo-browser-frame.light-mode .ds-stat-box {
    color: #1e293b;
}

.ds-stat-box i {
    font-size: 1.2rem;
    color: var(--primary-green);
}

.ds-stat-lbl {
    font-size: 0.6rem;
    color: #64748b;
    line-height: 1;
}

.demo-browser-frame.light-mode .ds-stat-lbl {
    color: #94a3b8;
}

.ds-stat-val {
    font-size: 0.9rem;
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1;
}

.demo-browser-frame.light-mode .ds-stat-val {
    color: #1e293b;
}

.ds-badges { display: flex; gap: 0.35rem; }

.ds-badge {
    padding: 0.18rem 0.5rem;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 700;
}

.ds-badge-g {
    background: rgba(124,179,66,0.15);
    color: var(--primary-green);
    border: 1px solid rgba(124,179,66,0.3);
}

.ds-badge-r {
    background: rgba(239,68,68,0.15);
    color: #f87171;
    border: 1px solid rgba(239,68,68,0.3);
}

/* ---- SCREEN 0: MESAS ---- */
.ds-mesas { padding: 0; }

.ds-tabs {
    display: flex;
    gap: 0.3rem;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.demo-browser-frame.light-mode .ds-tabs {
    border-bottom-color: rgba(0,0,0,0.06);
}

.ds-tab {
    font-size: 0.65rem;
    padding: 0.25rem 0.7rem;
    border-radius: 4px;
    color: #64748b;
    cursor: pointer;
    font-weight: 500;
}

.ds-tab-on {
    background: rgba(124,179,66,0.15);
    color: var(--primary-green);
}

.ds-salon-row {
    display: flex;
    gap: 0.3rem;
    padding: 0.4rem 1rem;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.demo-browser-frame.light-mode .ds-salon-row {
    border-bottom-color: rgba(0,0,0,0.05);
}

.ds-stab {
    font-size: 0.58rem;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    background: rgba(255,255,255,0.05);
    color: #64748b;
    border: 1px solid rgba(255,255,255,0.07);
    font-weight: 500;
}

.demo-browser-frame.light-mode .ds-stab {
    background: rgba(0,0,0,0.04);
    border-color: rgba(0,0,0,0.08);
}

.ds-stab-on {
    background: rgba(124,179,66,0.2);
    color: var(--primary-green);
    border-color: rgba(124,179,66,0.35);
}

.ds-table-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.4rem;
    padding: 0.75rem 1rem;
}

.ds-t {
    border-radius: 7px;
    padding: 0.55rem 0.3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    border: 1px solid;
    transition: transform 0.15s;
    cursor: pointer;
}

.ds-t:hover { transform: scale(1.06); }

.ds-t-free {
    background: rgba(34,197,94,0.07);
    border-color: rgba(34,197,94,0.3);
}

.ds-t-occ {
    background: rgba(124,179,66,0.14);
    border-color: rgba(124,179,66,0.5);
}

.ds-t-pre {
    background: rgba(239,68,68,0.1);
    border-color: rgba(239,68,68,0.45);
}

.ds-t-n {
    font-size: 1rem;
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1;
}

.demo-browser-frame.light-mode .ds-t-n { color: #1e293b; }

.ds-t-l {
    font-size: 0.45rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ds-t-a {
    font-size: 0.55rem;
    font-weight: 600;
    color: var(--primary-green);
}

/* ---- SCREEN 1: PEDIDOS ---- */
.ds-pedidos { padding: 0; }

.ds-pedido-layout {
    display: grid;
    grid-template-columns: 1fr 180px;
    gap: 0;
    min-height: 290px;
}

.ds-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    padding: 0.75rem;
    border-right: 1px solid rgba(255,255,255,0.06);
}

.demo-browser-frame.light-mode .ds-product-grid {
    border-right-color: rgba(0,0,0,0.06);
}

.ds-prod {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px;
    padding: 0.65rem 0.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.demo-browser-frame.light-mode .ds-prod {
    background: white;
    border-color: #e2e8f0;
}

.ds-prod:hover {
    border-color: var(--primary-green);
    background: rgba(124,179,66,0.08);
}

.ds-prod-on {
    border-color: var(--primary-green);
    background: rgba(124,179,66,0.1);
}

.ds-prod i {
    font-size: 1.3rem;
    color: var(--primary-green);
}

.ds-prod span {
    font-size: 0.6rem;
    color: #94a3b8;
    line-height: 1.2;
}

.demo-browser-frame.light-mode .ds-prod span { color: #475569; }

.ds-prod-p {
    font-weight: 700 !important;
    color: #f1f5f9 !important;
    font-size: 0.65rem !important;
}

.demo-browser-frame.light-mode .ds-prod-p { color: #1e293b !important; }

.ds-order-panel {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.ds-order-title {
    font-size: 0.7rem;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ds-order-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: #cbd5e1;
    padding: 0.25rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.demo-browser-frame.light-mode .ds-order-item {
    color: #475569;
    border-bottom-color: rgba(0,0,0,0.05);
}

.ds-order-divider {
    height: 1px;
    background: rgba(124,179,66,0.3);
    margin: 0.25rem 0;
}

.ds-order-total {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 700;
    color: #f1f5f9;
}

.demo-browser-frame.light-mode .ds-order-total { color: #1e293b; }

.ds-order-btn {
    margin-top: auto;
    width: 100%;
    padding: 0.5rem;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 7px;
    font-size: 0.65rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

/* ---- SCREEN 2: TOPPINGS ---- */
.ds-toppings { padding: 0; }

.ds-topping-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 290px;
}

.ds-prod-card {
    padding: 0.75rem;
    border-right: 1px solid rgba(255,255,255,0.06);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.demo-browser-frame.light-mode .ds-prod-card {
    border-right-color: rgba(0,0,0,0.06);
}

.ds-prod-img {
    background: rgba(124,179,66,0.1);
    border-radius: 10px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-green);
}

.ds-prod-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #f1f5f9;
}

.demo-browser-frame.light-mode .ds-prod-name { color: #1e293b; }

.ds-prod-base {
    font-size: 0.65rem;
    color: #64748b;
}

.ds-prod-base span {
    color: var(--primary-green);
    font-weight: 700;
}

.ds-prod-prices { display: flex; flex-direction: column; gap: 0.3rem; }

.ds-price-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: #94a3b8;
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    cursor: pointer;
}

.ds-price-sel {
    background: rgba(124,179,66,0.1);
    color: var(--primary-green);
    font-weight: 600;
}

.ds-topping-panel {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.ds-topping-title {
    font-size: 0.65rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.1rem;
}

.ds-topping-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.65rem;
    color: #94a3b8;
    padding: 0.25rem 0;
    cursor: pointer;
}

.ds-topping-checked {
    color: #f1f5f9;
}

.demo-browser-frame.light-mode .ds-topping-checked { color: #1e293b; }

.ds-topping-checked i { color: var(--primary-green); }

.ds-top-p {
    margin-left: auto;
    color: var(--primary-green);
    font-weight: 600;
}

.ds-top-nota { margin-top: 0.25rem; }

.ds-top-textarea {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    padding: 0.4rem;
    color: #94a3b8;
    font-size: 0.6rem;
    resize: none;
    height: 36px;
}

.demo-browser-frame.light-mode .ds-top-textarea {
    background: white;
    border-color: #e2e8f0;
    color: #475569;
}

.ds-top-total {
    font-size: 0.75rem;
    color: #f1f5f9;
    margin-top: auto;
}

.demo-browser-frame.light-mode .ds-top-total { color: #1e293b; }

.ds-top-total strong { color: var(--primary-green); }

/* ---- SCREEN 3: COBRO ---- */
.ds-cobro { padding: 0; }

.ds-cobro-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 290px;
}

.ds-cobro-summary {
    padding: 0.75rem;
    border-right: 1px solid rgba(255,255,255,0.06);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.demo-browser-frame.light-mode .ds-cobro-summary {
    border-right-color: rgba(0,0,0,0.06);
}

.ds-cobro-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: #94a3b8;
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.demo-browser-frame.light-mode .ds-cobro-item {
    color: #64748b;
    border-bottom-color: rgba(0,0,0,0.05);
}

.ds-cobro-bold { font-weight: 700; color: #f1f5f9; font-size: 0.85rem !important; }
.demo-browser-frame.light-mode .ds-cobro-bold { color: #1e293b; }

.ds-cobro-comp {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.ds-comp-btn {
    flex: 1;
    text-align: center;
    padding: 0.4rem;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.1);
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.ds-comp-on {
    background: rgba(124,179,66,0.15);
    border-color: rgba(124,179,66,0.4);
    color: var(--primary-green);
}

.ds-payment-methods {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ds-pay-title {
    font-size: 0.65rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ds-pay-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
}

.ds-pay-btn {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 7px;
    padding: 0.5rem 0.3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.58rem;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s;
}

.demo-browser-frame.light-mode .ds-pay-btn {
    background: white;
    border-color: #e2e8f0;
    color: #64748b;
}

.ds-pay-btn i { font-size: 1rem; }

.ds-pay-sel {
    background: rgba(124,179,66,0.12);
    border-color: rgba(124,179,66,0.4);
    color: var(--primary-green);
}

.ds-pay-mix { grid-column: span 3; flex-direction: row; justify-content: center; gap: 0.4rem; }

.ds-pay-input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.65rem;
    color: #94a3b8;
}

.ds-input {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 5px;
    padding: 0.25rem 0.5rem;
    color: #f1f5f9;
    font-size: 0.7rem;
    font-weight: 600;
    width: 90px;
    text-align: right;
}

.demo-browser-frame.light-mode .ds-input {
    background: white;
    border-color: #e2e8f0;
    color: #1e293b;
}

.ds-pay-vuelto { font-weight: 700; }
.ds-pay-vuelto strong { color: var(--primary-green); }

.ds-pay-final { margin-top: auto; }

/* ---- SCREEN 4: COMPROBANTE ---- */
.ds-comprobante { padding: 0; }

.ds-receipt-layout {
    display: grid;
    grid-template-columns: 1fr 130px;
    gap: 0;
    min-height: 290px;
    padding: 0.75rem;
    gap: 0.75rem;
}

.ds-receipt {
    background: white;
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 0.65rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.ds-receipt-header {
    text-align: center;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed #e2e8f0;
    margin-bottom: 0.5rem;
}

.ds-receipt-brand {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--dark-green);
}

.ds-receipt-sub { font-size: 0.58rem; color: #64748b; }

.ds-receipt-tipo {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-top: 0.3rem;
}

.ds-receipt-num { font-size: 0.6rem; color: #94a3b8; }

.ds-receipt-items {
    margin-bottom: 0.5rem;
}

.ds-ri {
    display: flex;
    justify-content: space-between;
    color: #475569;
    padding: 0.15rem 0;
    font-size: 0.62rem;
}

.ds-receipt-totals {
    border-top: 1px dashed #e2e8f0;
    padding-top: 0.4rem;
}

.ds-rt {
    display: flex;
    justify-content: space-between;
    color: #64748b;
    font-size: 0.62rem;
    padding: 0.1rem 0;
}

.ds-rt-bold {
    font-weight: 700;
    color: var(--dark-green);
    font-size: 0.75rem !important;
}

.ds-receipt-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ds-qr-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #94a3b8;
}

.demo-browser-frame.light-mode .ds-qr-box {
    background: white;
    border-color: #e2e8f0;
}

.ds-receipt-btns {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.ds-rcpt-btn {
    width: 100%;
    padding: 0.35rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    color: #94a3b8;
    font-size: 0.6rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    transition: all 0.2s;
}

.ds-rcpt-btn:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.demo-browser-frame.light-mode .ds-rcpt-btn {
    background: white;
    border-color: #e2e8f0;
    color: #475569;
}

/* ---- SCREEN 5: DASHBOARD ---- */
.ds-dashboard { padding: 0; }

.ds-dash-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding: 0.75rem;
}

.ds-dash-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 0.75rem;
}

.demo-browser-frame.light-mode .ds-dash-card {
    background: white;
    border-color: #e2e8f0;
}

.ds-dc-label {
    font-size: 0.55rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
}

.ds-dc-val {
    font-size: 1.1rem;
    font-weight: 800;
    color: #f1f5f9;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.demo-browser-frame.light-mode .ds-dc-val { color: #1e293b; }

.ds-dc-pct { font-size: 0.65rem; font-weight: 700; margin-bottom: 0.35rem; }
.ds-pct-g { color: #4ade80; }
.ds-pct-b { color: #60a5fa; }
.ds-pct-v { color: #a78bfa; }

.ds-dc-bar {
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.35rem;
}

.demo-browser-frame.light-mode .ds-dc-bar { background: #f1f5f9; }

.ds-dc-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 1s ease;
}

.ds-fill-g { background: #4ade80; }
.ds-fill-b { background: #60a5fa; }
.ds-fill-v { background: #a78bfa; }

.ds-dc-note { font-size: 0.55rem; color: #64748b; }

.ds-dash-row2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding: 0 0.75rem 0.75rem;
}

.ds-dash-mini {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 0.65rem;
}

.demo-browser-frame.light-mode .ds-dash-mini {
    background: white;
    border-color: #e2e8f0;
}

.ds-dm-label {
    font-size: 0.6rem;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.ds-dm-bars { display: flex; flex-direction: column; gap: 0.35rem; }

.ds-dmb {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.58rem;
    color: #64748b;
}

.ds-dmb span:first-child { width: 50px; }
.ds-dmb span:last-child { color: #94a3b8; width: 30px; text-align: right; }

.ds-dmb-bar {
    flex: 1;
    height: 5px;
    background: rgba(124,179,66,0.6);
    border-radius: 2px;
}

.ds-dmb-b { background: rgba(96,165,250,0.6); }
.ds-dmb-o { background: rgba(251,146,60,0.6); }
.ds-dmb-p { background: rgba(167,139,250,0.6); }
.ds-dmb-v { background: rgba(52,211,153,0.6); }
.ds-dmb-c { background: rgba(251,191,36,0.6); }

/* ---- SCREEN 6: TABLERO ---- */
.ds-tablero { padding: 0; }

.ds-table-ctrl {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ds-ctrl-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.7rem;
}

.ds-ctrl-table th {
    text-align: left;
    padding: 0.4rem 0.5rem;
    color: #64748b;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.demo-browser-frame.light-mode .ds-ctrl-table th {
    border-bottom-color: rgba(0,0,0,0.08);
}

.ds-ctrl-table td {
    padding: 0.45rem 0.5rem;
    color: #cbd5e1;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    vertical-align: middle;
}

.demo-browser-frame.light-mode .ds-ctrl-table td {
    color: #475569;
    border-bottom-color: rgba(0,0,0,0.04);
}

.ds-ctrl-table td i { color: var(--primary-green); margin-right: 0.3rem; }

.ds-status {
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.58rem;
    font-weight: 700;
}

.ds-ok {
    background: rgba(34,197,94,0.12);
    color: #4ade80;
    border: 1px solid rgba(34,197,94,0.25);
}

.ds-sunat {
    background: rgba(124,179,66,0.12);
    color: var(--primary-green);
    border: 1px solid rgba(124,179,66,0.25);
}

.ds-tr-total td {
    border-top: 1px solid rgba(124,179,66,0.3);
    color: #f1f5f9 !important;
    font-size: 0.75rem;
}

.demo-browser-frame.light-mode .ds-tr-total td { color: #1e293b !important; }

.ds-tablero-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.ds-kpi {
    background: rgba(124,179,66,0.08);
    border: 1px solid rgba(124,179,66,0.2);
    border-radius: 8px;
    padding: 0.6rem;
    text-align: center;
}

.demo-browser-frame.light-mode .ds-kpi {
    background: rgba(124,179,66,0.06);
}

.ds-kpi-v {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary-green);
    line-height: 1;
}

.ds-kpi-l {
    font-size: 0.58rem;
    color: #64748b;
    margin-top: 0.2rem;
}

/* ---- LIGHTBOX ---- */
.demo-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(4px);
}

.demo-lightbox.open {
    display: flex;
}

.demo-lightbox-inner {
    position: relative;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
}

.demo-lb-close {
    position: absolute;
    top: -2.5rem;
    right: 0;
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.demo-lb-close:hover { background: rgba(255,255,255,0.2); }

.demo-lb-content .demo-browser-frame {
    box-shadow: none;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
    .demo-layout {
        grid-template-columns: 1fr;
    }

    .demo-tab-list {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        gap: 0.35rem;
        scrollbar-width: none;
    }

    .demo-tab-list::-webkit-scrollbar { display: none; }

    .demo-tab-btn {
        flex-shrink: 0;
        min-width: 150px;
    }

    .ds-table-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .ds-dash-cards {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .demo-section-title { font-size: 1.6rem; }

    .ds-pedido-layout,
    .ds-topping-layout,
    .ds-cobro-layout,
    .ds-receipt-layout {
        grid-template-columns: 1fr;
    }

    .ds-order-panel,
    .ds-topping-panel,
    .ds-payment-methods,
    .ds-receipt-actions {
        border-top: 1px solid rgba(255,255,255,0.06);
    }

    .ds-table-grid { grid-template-columns: repeat(3, 1fr); }
    .ds-dash-cards { grid-template-columns: 1fr; }
    .ds-dash-row2 { grid-template-columns: 1fr; }
}

/* =========================================
   MOBILE FIXES — ≤768px
   ========================================= */

@media (max-width: 768px) {

    /* --- Intro v2 --- */
    .intro-v2 { padding: 2rem 0 3rem; }
    .intro-v2-title { font-size: 1.5rem; }
    .intro-v2-desc { font-size: 0.95rem; }
    .intro-v2-header { margin-bottom: 1.5rem; }
    .intro-v2-pills { gap: 0.45rem; }
    .intro-pill { font-size: 0.78rem; padding: 0.35rem 0.8rem; }

    /* Mockup full width: sin padding lateral en mobile */
    .browser-mockup-full { padding: 0.75rem 1rem !important; }
    .browser-mockup-full .float-card-left,
    .browser-mockup-full .float-card-right { display: none; }

    /* Mesas grid: 3 columnas en 768 */
    .pos-tables-wide { grid-template-columns: repeat(3, 1fr) !important; }

    /* --- Demo tabs section --- */
    .demo-section-title { font-size: 1.5rem; }
    .demo-section-desc { font-size: 0.9rem; }

    /* Tabs en scroll horizontal */
    .demo-layout { grid-template-columns: 1fr; gap: 1rem; }
    .demo-tab-list {
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
        gap: 0.35rem;
        scrollbar-width: none;
    }
    .demo-tab-list::-webkit-scrollbar { display: none; }
    .demo-tab-btn {
        flex-shrink: 0;
        min-width: 140px;
        max-width: 180px;
        padding: 0.75rem 0.85rem;
    }
    .demo-tab-name { font-size: 0.8rem; }

    /* Browser frame */
    .demo-screen-container { min-height: 260px; }
    .demo-browser-frame { border-radius: 10px; }

    /* Tarjetas flotantes: ocultas en mobile */
    .float-card-left, .float-card-right { display: none; }

    /* Pantallas internas: quitar split layout */
    .ds-pedido-layout,
    .ds-topping-layout,
    .ds-cobro-layout { grid-template-columns: 1fr; }

    .ds-order-panel,
    .ds-topping-panel,
    .ds-payment-methods {
        border-top: 1px solid rgba(255,255,255,0.07);
        border-left: none;
    }

    .demo-browser-frame.light-mode .ds-order-panel,
    .demo-browser-frame.light-mode .ds-topping-panel,
    .demo-browser-frame.light-mode .ds-payment-methods {
        border-top-color: rgba(0,0,0,0.06);
    }

    /* Mesas en demo */
    .ds-table-grid { grid-template-columns: repeat(4, 1fr) !important; }

    /* Dashboard cards */
    .ds-dash-cards { grid-template-columns: 1fr 1fr; }

    /* Comprobante */
    .ds-receipt-layout {
        grid-template-columns: 1fr;
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .ds-receipt-actions { flex-direction: row; flex-wrap: wrap; }
    .ds-receipt-btns { flex-direction: row; flex-wrap: wrap; gap: 0.3rem; }
    .ds-rcpt-btn { flex: 1; min-width: 80px; }
    .ds-qr-box { height: 60px; font-size: 1.8rem; }
}

/* =========================================
   MOBILE FIXES — ≤480px
   ========================================= */

@media (max-width: 480px) {

    /* --- Intro v2 --- */
    .intro-v2-title { font-size: 1.3rem; }
    .intro-v2-tag { font-size: 0.72rem; }
    .intro-pill { font-size: 0.72rem; padding: 0.3rem 0.65rem; }
    .intro-pill i { display: none; }

    /* Mesas grid: 2 columnas en pantallas muy pequeñas */
    .pos-tables-wide { grid-template-columns: repeat(2, 1fr) !important; }
    .browser-mockup-full { padding: 0.4rem !important; }

    /* --- Demo tabs --- */
    .demo-section-title { font-size: 1.3rem; }
    .demo-tab-btn { min-width: 120px; padding: 0.65rem 0.75rem; }
    .demo-tab-name { font-size: 0.75rem; }
    .demo-tab-num { font-size: 0.65rem; }

    /* Browser interno */
    .demo-screen-container { min-height: 220px; }
    .browser-url { font-size: 0.6rem; }

    /* Mesas en pantallas demo */
    .ds-table-grid { grid-template-columns: repeat(3, 1fr) !important; }
    .ds-t-n { font-size: 0.85rem; }

    /* Dashboard: 1 columna */
    .ds-dash-cards { grid-template-columns: 1fr; }
    .ds-dash-row2 { grid-template-columns: 1fr; }

    /* Tablero */
    .ds-tablero-kpis { grid-template-columns: 1fr 1fr; }
    .ds-ctrl-table { font-size: 0.6rem; }
    .ds-ctrl-table th, .ds-ctrl-table td { padding: 0.3rem 0.3rem; }

    /* Productos/toppings: panel más compacto */
    .ds-prod-grid { grid-template-columns: repeat(2, 1fr); }
    .ds-pay-grid { grid-template-columns: repeat(2, 1fr); }
    .ds-pay-mix { grid-column: span 2; }

    /* Cobro */
    .ds-cobro-comp { flex-direction: column; }

    /* Comprobante receipt buttons */
    .ds-rcpt-btn { font-size: 0.55rem; padding: 0.3rem; }

    /* Lightbox */
    .demo-lightbox { padding: 0.5rem; }
    .demo-lb-close { top: -2rem; }
}

