/* ==========================================================================
   ESTILOS OPTIMIZADOS PARA T-QUIOSK (PREMIUM, TOTALMENTE RESPONSIVE Y COMPACTO)
   ========================================================================== */

/* Variables de diseño para mantener consistencia */
:root {
    --color-primary: #00a650;      /* Verde corporativo */
    --color-primary-hover: #008540;/* Verde más oscuro para hovers */
    --color-dark: #1a1a1a;         /* Gris casi negro para títulos */
    --color-text: #5a5a5a;         /* Gris suave para textos */
    --color-bg-light: #f9fbf9;     /* Fondo sutilmente verdoso/gris */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 20px 40px rgba(0, 166, 80, 0.12);
    --v-transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.vicon-restaurante-elite.v-moda {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--color-text);
    background-color: #fff;
    overflow-x: hidden;
    line-height: 1.5;
}

/* CONTENEDOR ESTRUCTURAL INTELIGENTE */
.v-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   1. SECCIÓN HERO (CABECERA)
   ========================================================================== */
.v-hero {
    position: relative;
    width: 100%;
    min-height: auto;
    display: flex;
    align-items: center;
    background: #000;
    padding: 50px 0;
}

.v-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.v-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

.v-hero-content {
    max-width: 700px;
    color: #fff;
    text-align: center;
    margin: 0 auto;
}

.v-badge {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(0, 166, 80, 0.3);
}

.v-hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-top: 0;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.v-hero-content h1 span {
    color: var(--color-primary);
}

.v-hero-content p {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.6;
    color: #f0f0f0;
    margin: 0;
}

/* ==========================================================================
   2. CUADRÍCULA DE PRODUCTOS (TARJETAS)
   ========================================================================== */
.dw-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
}

.dw-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s var(--v-transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.dw-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 166, 80, 0.2);
    box-shadow: var(--shadow-hover);
}

.dw-card img {
    height: 220px;
    width: 100%;
    object-fit: contain;
    margin-bottom: 20px;
    transition: transform 0.4s ease;
}

.dw-card:hover img {
    transform: scale(1.03);
}

.dw-card h4 {
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-top: 0;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.dw-card h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--color-dark);
    margin-top: 0;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.dw-card p {
    color: var(--color-text);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   3. SECCIÓN CARACTERÍSTICAS / CASHDRO (ORDEN EXACTO EN MÓVIL)
   ========================================================================== */

   
.v-features {
    padding: 40px 0 !important;
    background: var(--color-bg-light);
    border-top: 1px solid #f0f0f0;
}

/* Forzamos el uso de Flexbox vertical en el contenedor para anular estilos inline */
.v-features .v-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    align-items: center !important;
}

/* CONTENEDOR DE TEXTO: Convertido a Flexbox interno para micro-gestionar el orden */
.v-features-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100%;
    text-align: center;
    order: 1 !important;
}

.v-features h2 {
    color: var(--color-dark);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.25;
    margin-top: 0;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
    order: 1; /* 1º: El título arriba */
}

.v-features p:not(li p) {
    font-size: 1rem;
    line-height: 1.7;
    margin-top: 0;
    margin-bottom: 15px;
    order: 2; /* 2º: La descripción introductoria */
}

.v-features p strong {
    color: var(--color-primary);
}

/* CONTENEDOR DE LA IMAGEN: Inyectado visualmente en medio mediante orden relacional */
.v-features-visual {
    display: flex !important;
    justify-content: center !important;
    width: 100%;
    max-width: 270px; /* Tamaño controlado para smartphones */
    margin: 15px auto !important;
    order: 2 !important; /* Se posiciona debajo del bloque introductorio */
}

.v-features img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 35px rgba(0,0,0,0.08));
    animation: smoothFloat 4s ease-in-out infinite;
}

/* LOS 3 CHECKS VERDES: Empujados al final de la visualización */
.v-features-content ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0 !important;
    display: inline-block;
    text-align: left;
    width: 100%;
    max-width: 480px;
    order: 3 !important; /* 3º: Forzado a aparecer debajo de la foto del quiosco */
}

.v-features ul li {
    font-size: 0.98rem;
    margin-bottom: 14px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--color-text);
}

.v-features ul li i {
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-top: 3px;
    flex-shrink: 0;
}

/* ANIMACIÓN DE FLOTACIÓN SUAVE */
@keyframes smoothFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ==========================================================================
   4. MEDIA QUERIES: ADAPTACIÓN PARA TABLETS (DESDE 640px HASTA 1023px)
   ========================================================================== */
@media (min-width: 640px) {



    .dw-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .dw-card {
        padding: 35px 25px;
    }

    .dw-card img {
        height: 260px;
    }

    .v-features img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 35px rgba(0,0,0,0.08));
    animation: smoothFloat 4s ease-in-out infinite;
}

}

/* ==========================================================================
   5. MEDIA QUERIES: ADAPTACIÓN PREMIUM PARA ESCRITORIO (PC - DESDE 1024px)
   ========================================================================== */
@media (min-width: 1024px) {
    /* HERO */
    .v-hero {
        padding: 90px 0;
        min-height: 500px;
    }

    .v-hero-content {
        text-align: left;
        margin: 0;
    }

    /* PRODUCTOS */
    .dw-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        margin-top: 40px;
    }

    .dw-card {
        padding: 45px 35px;
    }

    .dw-card img {
        height: 320px;
    }

    /* CARACTERÍSTICAS (RESTAURACIÓN AL REJILLA HORIZONTAL ORIGINAL) */
    .v-features {
        padding: 80px 0 !important;
    }

    .v-features .v-container {
        display: grid !important; /* Retorna a la maquetación partida de Elementor */
        grid-template-columns: 1.2fr 0.8fr !important;
        gap: 80px !important;
    }

    /* Reiniciamos las alteraciones estructurales de móvil para PC */
    .v-features-content {
        order: unset !important;
        text-align: left;
        display: block !important; /* Desactiva el micro-flex de móvil */
    }

    .v-features h2 {
        order: unset;
        margin-bottom: 16px;
    }

    .v-features p:not(li p) {
        order: unset;
        margin-bottom: 15px;
    }

    .v-features-visual {
        order: unset !important;
        max-width: 100%;
        margin: 0 !important;
    }

    .v-features-content ul {
        order: unset !important;
        margin-top: 25px !important;
        max-width: 100%;
    }
}