﻿html, body {
    overflow-x: hidden;
    max-width: 100vw; /* Asegura que el tope absoluto sea el ancho de la pantalla */
}

/* ⚙️ MOTOR GRÁFICO PRELOADER CORPORATIVO */
.unselectable {
    user-select: none;
    -webkit-user-drag: none;
}

.light-shimmer {
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shine-effect 1.2s ease-in-out 0.4s 1;
}

@keyframes shine-effect {
    0% {
        left: -150%;
    }

    100% {
        left: 150%;
    }
}

@keyframes teams-corporate-intro {
    0% {
        opacity: 0;
        filter: blur(12px);
        transform: scale(0.7) translateY(10px);
    }

    25% {
        opacity: 1;
        filter: blur(0px);
        transform: scale(1.02) translateY(0); /* Enfoque con ligero impacto */
    }

    70% {
        opacity: 1;
        filter: blur(0px);
        transform: scale(1.0); /* Estabilización seria y lectura de marca */
    }

    100% {
        opacity: 0;
        filter: blur(6px);
        transform: scale(3.8); /* 🚀 Efecto inmersivo: El logo absorbe la pantalla */
    }
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    background-color: #f5f7fa;
}

.dot {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.bg-success {
    background-color: #22c55e;
}

.bg-danger {
    background-color: #ef4444;
}

/* HERO */
.hero {
    min-height: 75vh;
    background: linear-gradient( 135deg, #0f172a 0%, #1e293b 50%, #0f172a 100% );
    color: white;
    display: flex;
    align-items: center;
    padding: 4rem 0;
}

.hero-content {
    max-width: 600px;
    padding: 3rem;
}

.hero h1 {
    font-weight: 800;
    /* responsive font size: mínimo 1.8rem, ideal 4vw, máximo 3.5rem */
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    line-height: 1.1;
    background: linear-gradient(to bottom, #ffffff 60%, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .hero {
        padding: 2rem 0;
        text-align: center; /* Centramos el texto en móvil para mejor balance */
    }

    .hero-content {
        padding: 1.5rem;
    }

    .hero-layout {
        flex-direction: column;
        align-items: center;
    }

    .d-flex.gap-3.flex-wrap {
        justify-content: center; /* Centramos botones en móvil */
    }
}

.hero p {
    font-size: 1.1rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* --- BOTÓN INGENIERÍA LED (Ferretería Pro) --- */
.btn-tech-primary {
    /* Gradiente base: Azul Aluminio a Cian Tecnológico */
    background: linear-gradient(135deg, #0f172a 0%, #0071e3 100%);
    background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.05) 1px, transparent 0); /* Trama industrial de puntos */
    background-size: 8px 8px;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 16px 36px;
    font-size: 1.1rem;
    font-weight: 800;
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(0, 113, 227, 0.3);
    text-transform: uppercase; /* Le da el tono serio de ferretería */
    letter-spacing: 0.5px;
}

    /* El Rayo de Luz LED (Barrido) */
    .btn-tech-primary::before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 60%;
        height: 100%;
        background: linear-gradient( to right, rgba(0, 198, 255, 0) 0%, rgba(0, 198, 255, 0.8) 50%, /* Luz Cian Eléctrica */
        rgba(0, 198, 255, 0) 100% );
        transform: skewX(-30deg);
        animation: led-sweep 3.5s infinite;
        filter: blur(5px); /* Hace que la luz parezca neón real */
    }

    /* Efecto Hover: Resplandor Metálico */
    .btn-tech-primary:hover {
        transform: translateY(-5px) scale(1.02);
        box-shadow: 0 15px 35px rgba(0, 198, 255, 0.4);
        background-color: #0071e3;
        border-color: #00c6ff;
    }

@keyframes led-sweep {
    0% {
        left: -110%;
    }

    25% {
        left: 130%;
    }
    /* Atraviesa con fuerza */
    100% {
        left: 130%;
    }
    /* Pausa de espera */
}

/* --- BOTÓN EXPLORAR (Tono Acero Inox) --- */
.btn-tech-outline {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(203, 213, 225, 0.3);
    color: #e2e8f0 !important;
    padding: 16px 36px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 14px;
    transition: all 0.3s ease;
}

    .btn-tech-outline:hover {
        background: #f8fafc;
        color: #0f172a !important;
        border-color: #ffffff;
    }

/* Iconos de los botones */
.btn i {
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: scale(1.2);
}

/* SECCIÓN CATEGORÍAS */


footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 2rem 1rem;
    text-align: center;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    border: none;
    padding: 14px 32px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 12px;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366; /* Verde oficial WhatsApp */
    color: #FFF !important; /* Blanco puro */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px; /* Tamaño del icono */
    box-shadow: 2px 5px 15px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
}

    .whatsapp-float img {
        width: 30px; /* tamaño del logo */
        height: 30px;
    }

    .whatsapp-float:hover {
        background-color: #20ba5a; /* Un verde un poco más oscuro al pasar el mouse */
        transform: scale(1.1);
        color: #fff;
        box-shadow: 2px 8px 20px rgba(0,0,0,0.4);
    }


/* Efecto de pulso más sutil y profesional */
@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float {
    animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37,211,102,0.7);
    }

    70% {
        box-shadow: 0 0 0 18px rgba(37,211,102,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37,211,102,0);
    }
}




.topbar {
    position: absolute;
    top: 20px;
    right: 20px; /* positivo */
    left: auto;
    z-index: 1000;
}

    .topbar .btn {
        border-radius: 10px;
        font-weight: 600;
    }


/* SECCIÓN CATEGORÍAS */
.categories {
    padding: 4rem 1rem;
    background: white;
}

.category-card {
    border-radius: 18px;
    border: 1px solid #eee;
    padding: 1.8rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

    .category-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 18px 35px rgba(0,0,0,0.12);
    }

/* IMAGEN GRANDE */
.category-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .category-image img {
        max-width: 100%;
        max-height: 200px; /* 👈 ocupa casi toda la card */
        object-fit: contain;
        transition: transform 0.35s ease;
    }

.category-card:hover .category-image img {
    transform: scale(1.1);
}

/* TEXTO PEQUEÑO */
.category-text {
    margin-top: 1rem;
}

    .category-text h6 {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 0.2rem;
    }

    .category-text p {
        font-size: 0.85rem;
        color: #6b7280;
        margin: 0;
    }

.hero-badges {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-top: -1rem;
    margin-bottom: 2rem;
}

.hero-badges {
    color: #fff;
    font-size: 0.85rem;
    opacity: 0.85;
    white-space: nowrap;
}

/* En móvil lo ocultamos */
@media (max-width: 768px) {
    .hero-badges {
        display: none;
    }
}

.hero-badges {
    color: #e5e7eb;
}

    .hero-badges::before {
        color: #22c55e;
    }

.hero-badges {
    animation: fadeInRight 0.8s ease-out;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* --- BOTÓN CANDADO (LOGIN) --- */
.btn-login-lock {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1); /* Fondo blanco traslúcido */
    backdrop-filter: blur(8px); /* Efecto Glassmorphism */
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white !important;
    border-radius: 50%; /* Circular perfecto */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

    .btn-login-lock:hover {
        background: #22c55e; /* Cambia al verde de tu marca al pasar el mouse */
        transform: rotate(15deg) scale(1.1); /* Ligera rotación para que se vea dinámico */
        border-color: #22c55e;
        box-shadow: 0 0 20px rgba(34, 197, 94, 0.5);
    }

    /* Animación de pulso sutil solo en el icono */
    .btn-login-lock i {
        animation: lock-blink 3s infinite;
    }

@keyframes lock-blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* Ajuste para que en móvil no se pierda */
@media (max-width: 768px) {
    .topbar {
        top: 15px;
        right: 15px;
    }
}

.hero-layout {
    display: flex;
    justify-content: space-between;
    align-items: center; /* 🔥 alinea altura con texto */
    gap: 40px;
}

.hero-content {
    max-width: 600px;
}

.hero-card .card {
    background: rgba(255, 255, 255, 0.05); /* Glassmorphism */
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    color: white;
}

.hero-card h4 {
    font-weight: 700;
}

.hero-card p.text-muted {
    color: #94a3b8 !important; /* Gris más claro para que se lea en fondo oscuro */
}

/* El botón de esa card debe resaltar */
.hero-card .btn-dark {
    background: white;
    color: #0f172a;
    border: none;
    font-weight: 700;
    border-radius: 12px;
}

    .hero-card .btn-dark:hover {
        background: #e2e8f0;
    }


.work-flow-section {
    background-color: #ffffff;
    position: relative;
}

/* Contenedor de la tarjeta con diseño moderno */
.flow-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 24px;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

    /* Efecto Pro al pasar el mouse */
    .flow-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
        border-color: #22c55e; /* El verde de confianza que usas */
    }

/* Círculo del número con gradiente */
.flow-number {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    font-size: 1.1rem;
    box-shadow: 0 8px 15px rgba(34, 197, 94, 0.3);
}

.flow-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.flow-text {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

/* Línea conectora sutil para escritorio */
@media (min-width: 992px) {
    .flow-wrapper {
        position: relative;
    }

        .flow-wrapper::before {
            content: "";
            position: absolute;
            top: 45px; /* Alineado con los números */
            left: 10%;
            right: 10%;
            height: 2px;
            background: dashed #e2e8f0;
            z-index: 0;
        }
}


.trust-icon {
    font-size: 1.5rem;
    color: #0071e3;
    margin-bottom: 5px;
}

.trust-item h3 {
    font-size: 1.8rem;
    color: #0f172a;
}

.hero-content {
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* --- 🛠️ [NUEVO] ESTILOS WORKFLOW INDUSTRIAL PREMIUM --- */
.work-flow-pro {
    background-color: #0f172a; /* Fondo azul oscuro profundo */
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 0.8px, transparent 0.8px);
    background-size: 25px 25px; /* Trama de puntos industriales en color claro */
    padding: 5rem 0;
    color: #f8fafc;
}

/* Tarjetas traslúcidas de alta tecnología */
.flow-step-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03); /* Efecto cristal oscuro */
    padding: 2.2rem 1.2rem;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    height: 100%;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

    /* Brillo verde al pasar el mouse */
    .flow-step-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 35px rgba(34, 197, 94, 0.15);
        border-color: #22c55e; /* Tu verde de confianza */
        background: rgba(255, 255, 255, 0.06);
    }

.step-badge {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.15);
}

/* Contenedores de iconos */
.step-icon-box {
    width: 65px;
    height: 65px;
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 1.2rem;
    transition: all 0.3s ease;
}

.flow-step-card:hover .step-icon-box {
    background: #22c55e;
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.step-icon-box.success {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
}

/* Conectores discontinuos adaptados para fondo oscuro */
@media (min-width: 992px) {
    .step-connector {
        position: absolute;
        top: 45px;
        right: -15%;
        width: 30%;
        height: 1px;
        border-top: 2px dashed rgba(255, 255, 255, 0.15);
        z-index: -1;
    }

    .last-step .step-connector {
        display: none;
    }
}

/* --- 📱 OPTIMIZACIÓN MÓVIL (SWIPER NATIVO OSCURO) --- */
@media (max-width: 768px) {
    .work-flow-pro {
        padding: 3.5rem 0;
    }

    .flow-wrapper-pro {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        padding: 1rem 1.5rem 2.5rem 1.5rem !important;
        margin-left: 0 !important; /* 👈 ESTO MATA EL OVERFLOW IZQUIERDO */
        margin-right: 0 !important; /* 👈 ESTO MATA EL ESPACIO BLANCO DERECHO */
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

        .flow-wrapper-pro::-webkit-scrollbar {
            display: none;
        }

        .flow-wrapper-pro .col-md-3 {
            flex: 0 0 82% !important;
            max-width: 82% !important;
            scroll-snap-align: center;
            position: relative;
        }

    .flow-step-card {
        padding: 2rem 1.5rem;
        height: 100%;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3) !important;
    }

    .step-connector {
        display: block !important;
        position: absolute;
        top: 45px;
        right: -10%;
        width: 20%;
        height: 1px;
        border-top: 2px dashed rgba(255, 255, 255, 0.15);
        z-index: -1;
    }

    .last-step .step-connector {
        display: none !important;
    }
}

/* --- 📝 [NUEVO] ESTILOS FAQ PREMIUM (CAJAS FLOTANTES) --- */
.faq-section {
    background-color: #f8fafc; /* Gris muy sutil para separar de la sección blanca anterior */
    padding: 6rem 0;
}

.custom-faq .accordion-item {
    background: #ffffff;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important; /* Bordes redondeados modernos */
    margin-bottom: 1.2rem; /* Separación entre preguntas */
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

    /* Efecto al pasar el mouse por encima de la caja cerrada */
    .custom-faq .accordion-item:hover {
        border-color: #cbd5e1 !important;
        box-shadow: 0 12px 25px rgba(15, 23, 42, 0.06);
        transform: translateY(-3px);
    }

.custom-faq .accordion-button {
    background-color: transparent;
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 1.5rem;
    box-shadow: none !important;
    border-radius: 16px !important;
}

    /* ESTADO ABIERTO (ACTIVO) */
    .custom-faq .accordion-button:not(.collapsed) {
        background-color: #f0fdf4; /* Fondo verde muy clarito */
        color: #16a34a; /* Texto verde corporativo */
        border-bottom: 1px solid #e2e8f0;
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }

/* El contenido interno de la respuesta */
.custom-faq .accordion-body {
    padding: 1.5rem;
    color: #475569;
    line-height: 1.6;
    background-color: #ffffff;
    font-size: 0.95rem;
}

/* Ajustes para móviles */
@media (max-width: 768px) {
    .faq-section {
        padding: 4rem 0;
    }

    .custom-faq .accordion-button {
        font-size: 0.95rem;
        padding: 1.2rem;
    }

    .custom-faq .accordion-body {
        padding: 1.2rem;
        font-size: 0.9rem;
    }
}

/* --- 🚚 [NUEVO] ESTILOS DE ENTREGA Y LOGÍSTICA --- */
.delivery-section {
    background-color: #ffffff; /* Blanco puro para contrastar fuertemente con la sección oscura anterior */
    padding: 6rem 0;
}

.delivery-card {
    background: #f8fafc; /* Gris ultra claro para dar volumen */
    padding: 2.2rem;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

    .delivery-card:hover {
        background: #ffffff;
        box-shadow: 0 15px 35px rgba(15, 23, 42, 0.06);
        border-color: #cbd5e1;
        transform: translateY(-4px);
    }

    /* Tarjeta Destacada (Recojo en Tienda) */
    .delivery-card.highlight {
        background: #f0fdf4; /* Tono verde sutil de éxito */
        border: 2px solid #22c55e;
    }

        .delivery-card.highlight:hover {
            box-shadow: 0 15px 35px rgba(34, 197, 94, 0.12);
        }

/* Cajas de Iconos Redondeadas */
.delivery-icon {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

    .delivery-icon.train {
        background: #fff1f2;
        color: #e11d48;
    }

    .delivery-icon.truck {
        background: #eff6ff;
        color: #2563eb;
    }

    .delivery-icon.shop {
        background: #dcfce7;
        color: #16a34a;
    }

.delivery-card h5 {
    font-weight: 800;
    color: #0f172a;
}

.price-tag {
    display: inline-block;
    padding: 4px 14px;
    background: #ffffff;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    align-self: flex-start;
}

.delivery-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .delivery-list li {
        font-size: 0.9rem;
        color: #475569;
        margin-bottom: 0.7rem;
        display: flex;
        gap: 10px;
        align-items: flex-start;
        line-height: 1.4;
    }

        .delivery-list li i {
            font-size: 1rem;
            margin-top: 2px;
        }


/* --- 📱 OPTIMIZACIÓN RESPONSIVA PARA DELIVERY --- */
@media (max-width: 768px) {
    .delivery-section {
        padding: 4rem 0;
    }

    .delivery-card {
        padding: 1.5rem;
    }

        .delivery-card.highlight {
            text-align: center !important;
        }

            .delivery-card.highlight .d-flex {
                flex-direction: column;
                align-items: center !important;
                text-align: center;
            }
}


/* --- 🚀 [NUEVO] ESTILOS COTIZADOR INTELIGENTE (TECH/SCANNER) --- */
.cotizador-section {
    background-color: #ffffff; /* Blanco puro para iluminar la sección */
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

    /* Marca de agua estilo "Plano de Ingeniería / Grid" */
    .cotizador-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: linear-gradient(rgba(0, 113, 227, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 113, 227, 0.04) 1px, transparent 1px);
        background-size: 30px 30px;
        z-index: 0;
    }

    .cotizador-section .container {
        position: relative;
        z-index: 1;
    }

.cotizador-link {
    text-decoration: none !important;
    display: block;
    height: 100%;
}

/* Tarjeta principal */
.cotizador-pro-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #f1f5f9;
    padding: 1.2rem;
    height: 100%;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

    /* EFECTO HOVER: Levita y se ilumina con aura tecnológica */
    .cotizador-pro-card:hover {
        transform: translateY(-12px);
        border-color: #00c6ff;
        box-shadow: 0 20px 40px rgba(0, 198, 255, 0.15);
    }

/* Etiqueta flotante tecnológica */
.badge-tech {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    color: #00c6ff; /* Cyan neón */
    font-size: 0.65rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    border: 1px solid rgba(0, 198, 255, 0.3);
}

/* Contenedor de la Imagen */
.img-tech-container {
    width: 100%;
    height: 170px;
    border-radius: 16px;
    overflow: hidden;
    background: #f8fafc;
    margin-bottom: 1.5rem;
    position: relative;
}

    .img-tech-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* EFECTO LÁSER ESCÁNER */
    .img-tech-container::after {
        content: '';
        position: absolute;
        top: -10px;
        left: 0;
        width: 100%;
        height: 3px;
        background: #00c6ff;
        box-shadow: 0 0 15px 4px rgba(0, 198, 255, 0.6);
        opacity: 0;
    }

/* Al pasar el mouse: Zoom y Escáner */
.cotizador-pro-card:hover .img-tech-container img {
    transform: scale(1.1);
}

.cotizador-pro-card:hover .img-tech-container::after {
    animation: scanner-sweep 1.2s ease-in-out forwards;
}

@keyframes scanner-sweep {
    0% {
        top: -10px;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

/* Textos */
.card-tech-info h5 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.4rem;
    transition: color 0.3s;
}

.card-tech-info p {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 1.5rem;
}

.cotizador-pro-card:hover .card-tech-info h5 {
    color: #0071e3;
}

/* Botón de Acción Interno */
.btn-tech-start {
    margin-top: auto;
    background: #f1f5f9;
    color: #334155;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 12px 16px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

    .btn-tech-start i {
        background: white;
        color: #0f172a;
        width: 26px;
        height: 26px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        transition: transform 0.3s ease;
    }

/* Hover del Botón */
.cotizador-pro-card:hover .btn-tech-start {
    background: #0071e3;
    color: white;
    box-shadow: 0 8px 15px rgba(0, 113, 227, 0.3);
}

    .cotizador-pro-card:hover .btn-tech-start i {
        transform: translateX(5px);
        color: #0071e3;
    }

/* Responsive */
@media (max-width: 576px) {
    .cotizador-section {
        padding: 4rem 0;
    }

    .img-tech-container {
        height: 130px;
    }

    .card-tech-info h5 {
        font-size: 0.95rem;
    }
}

/* --- 🎥 ESTILOS BURBUJA VIDEO --- */
.video-tutorial-wrapper {
    position: fixed;
    bottom: 105px; /* Justo arriba del WhatsApp que está en 30px */
    right: 30px;
    z-index: 9998;
}

.video-float-btn {
    width: 60px;
    height: 60px;
    background-color: #FF0000; /* Rojo YouTube */
    color: white !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border: none;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

    .video-float-btn:hover {
        transform: scale(1.1) rotate(5deg);
        box-shadow: 0 8px 25px rgba(255, 0, 0, 0.5);
    }

/* El Panel de Menú */
.video-menu-panel {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 280px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border: 1px solid #f1f5f9;
    display: none; /* Se activa con JS */
    overflow: hidden;
    animation: slideUp 0.3s ease-out;
}

    .video-menu-panel.active {
        display: block;
    }

.video-menu-header {
    background: #0f172a;
    color: white;
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 700;
}

.video-menu-body {
    padding: 10px 0;
}

.video-option {
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
}

    .video-option p {
        margin: 0;
        font-size: 0.85rem;
        font-weight: 600;
        color: #334155;
        line-height: 1.2;
        padding-right: 10px;
    }

.btn-ver-video {
    background: #f1f5f9;
    color: #FF0000;
    border: none;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    transition: all 0.2s;
    white-space: nowrap;
}

    .btn-ver-video:hover {
        background: #FF0000;
        color: white;
    }

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .video-tutorial-wrapper {
        bottom: 100px;
        right: 30px;
    }

    .video-menu-panel {
        width: 250px;
    }
}

/* --- 🔍 BOTÓN FLOTANTE INTERACTIVO MÓVIL (ACTUALIZADO PAREJO) --- */
.reserva-float-m {
    position: fixed;
    bottom: 170px;
    right: 30px;
    background: #0f172a;
    color: white !important;
    height: 60px; /* 👈 Subido a 60px para igualar a WhatsApp y YT */
    width: 60px; /* 👈 Subido a 60px para igualar a WhatsApp y YT */
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 2px 5px 15px rgba(0,0,0,0.3); /* 👈 Misma sombra exacta de WhatsApp */
    z-index: 9997;
    text-decoration: none;
    white-space: nowrap;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.4s ease;
}

    /* Caja del icono centrada */
    .reserva-float-m .icon-box-m {
        width: 60px; /* 👈 Igualado a 60px */
        height: 60px; /* 👈 Igualado a 60px */
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        font-size: 26px; /* 👈 Icono más grande y grueso para hacer match */
    }

    /* Texto oculto por defecto (Enrollado) */
    .reserva-float-m .text-box-m {
        max-width: 0;
        opacity: 0;
        font-size: 0.78rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        overflow: hidden;
        display: inline-block;
        transition: max-width 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, padding 0.6s;
        padding-right: 0;
    }

    /* === 🔥 ESTADO DESENROLLADO === */
    .reserva-float-m.expanded {
        width: 240px; /* 👈 Ajustado a 240px para que con el nuevo tamaño pase limpio */
        background: #22c55e;
    }

        .reserva-float-m.expanded .text-box-m {
            max-width: 175px;
            opacity: 1;
            padding-right: 15px;
        }

    /* Efecto de ondas/pulso idéntico al estilo de WhatsApp */
    .reserva-float-m:not(.expanded) {
        animation: pulse-reserva-m 2s infinite; /* 👈 Sincronizado a 2s como WhatsApp */
    }

@keyframes pulse-reserva-m {
    0% {
        box-shadow: 0 0 0 0 rgba(15, 23, 42, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(15, 23, 42, 0); /* 👈 Mismo radio de onda */
    }

    100% {
        box-shadow: 0 0 0 0 rgba(15, 23, 42, 0);
    }
}

/* --- 🚚 OPTIMIZACIÓN DE LOGÍSTICA EN MÓVIL --- */
@media (max-width: 768px) {
    .delivery-card {
        padding: 1.2rem !important;
        margin-bottom: 1rem;
        border-radius: 20px !important;
    }

    .delivery-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.4rem !important;
        margin-bottom: 1rem !important;
    }

    .delivery-card h5 {
        font-size: 1.1rem !important;
    }

    .price-tag {
        margin-bottom: 0.8rem !important;
        padding: 2px 10px !important;
        font-size: 0.8rem !important;
    }

    .delivery-list li {
        font-size: 0.82rem !important;
        margin-bottom: 0.5rem !important;
    }

    .delivery-card.highlight {
        border: 2px solid #22c55e !important;
        background: #f0fdf4 !important;
        box-shadow: 0 10px 25px rgba(34, 197, 94, 0.08) !important;
    }
}
.footer-cotizacion {
    background: #0f172a;
    color: #e2e8f0;
    font-size: 0.9rem;
}

    .footer-cotizacion h5,
    .footer-cotizacion h6 {
        color: #ffffff;
        font-weight: 600;
        margin-bottom: 1rem;
    }

    .footer-cotizacion p {
        color: #cbd5e1;
        margin-bottom: 0.4rem;
    }

    .footer-cotizacion .footer-link {
        color: #cbd5e1;
        text-decoration: none;
        display: inline-block;
        margin-bottom: 0.4rem;
        transition: color 0.2s ease, transform 0.2s ease;
    }

        .footer-cotizacion .footer-link:hover {
            color: #22c55e;
            transform: translateX(4px);
        }

.footer-divider {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin: 2rem 0;
}

/* ==========================================
   📱 CONFIGURACIÓN PREMIUM PARA EL MODAL MÓVIL
   ========================================== */

/* ==========================================
   📱 CONFIGURACIÓN PREMIUM PARA EL MODAL MÓVIL
   ========================================== */

/* 1. Forzamos el fondo negro y el desenfoque por encima de los botones flotantes */
.modal-backdrop {
    z-index: 10040 !important; /* Capa ultra alta para tapar WhatsApp (9999) */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background-color: rgba(15, 23, 42, 0.7);
}

/* Forzamos que la estructura del contenedor modal se alinee sobre el nuevo fondo */
.modal.fade {
    z-index: 10050 !important; /* Un paso más arriba que el backdrop */
}

/* 2. Reducir la altura máxima y centrarlo dejando aire arriba y abajo */
#modalLogistica .modal-dialog {
    max-width: 480px;
    margin-right: auto;
    margin-left: auto;
    z-index: 10060 !important; /* Capa final superior para el contenido del texto */
}

#modalLogistica .modal-content {
    max-height: 82vh; /* Limita el alto para que nunca ocupe toda la pantalla */
    display: flex;
    flex-direction: column;
}

/* 3. Controlar el scroll interno del cuerpo */
#modalLogistica .modal-scroll-area {
    overflow-y: auto !important;
    max-height: calc(82vh - 120px); /* Resta dinámicamente la cabecera y el footer */
}

/* 4. Ajustar el tamaño de las tarjetas adentro para que el texto respire */
.modal-delivery-card {
    padding: 1.1rem !important; /* Margen interno balanceado para celular */
    margin-bottom: 1rem !important;
    border-radius: 16px !important;
}

    /* Ajustes específicos de los iconos dentro del modal */
    .modal-delivery-card .delivery-icon {
        width: 42px !important;
        height: 42px !important;
        font-size: 1.2rem !important;
        margin-bottom: 0 !important; /* Evita que el icono empuje el texto en el flex */
    }

    /* Ajustes de tipografías dentro del modal */
    .modal-delivery-card h6 {
        font-size: 1rem !important;
        color: #0f172a !important;
    }

    .modal-delivery-card .price-tag {
        margin-top: 0.5rem;
        margin-bottom: 0.5rem !important;
        padding: 3px 12px !important;
        font-size: 0.78rem !important;
    }

    .modal-delivery-card .delivery-list li {
        font-size: 0.82rem !important;
        line-height: 1.35 !important;
        margin-bottom: 0.5rem !important;
        color: #475569 !important;
    }

/* ==========================================
   📱 ADAPTACIÓN HORIZONTAL PARA EL COTIZADOR
   ========================================== */
@media (max-width: 768px) {
    /* 1. Transformamos la tarjeta vertical en un rectángulo horizontal */
    .horizontal-mobile-card {
        flex-direction: row !important;
        align-items: center !important;
        padding: 10px 14px !important;
        gap: 15px !important;
        border-radius: 18px !important;
    }

        /* 2. Encogemos el contenedor de la imagen para que sea un cuadrado lateral */
        .horizontal-mobile-card .img-tech-container {
            width: 65px !important;
            height: 65px !important;
            min-width: 65px !important; /* Evita que el flexbox lo deforme */
            margin-bottom: 0 !important; /* Quitamos el margen que empujaba el texto en PC */
            border-radius: 12px !important;
        }

        /* 3. Ajustamos los textos para que se centren verticalmente en el rectángulo */
        .horizontal-mobile-card .card-tech-info {
            flex: 1; /* Hace que el texto consuma todo el espacio del medio */
        }

            .horizontal-mobile-card .card-tech-info h5 {
                font-size: 0.95rem !important;
                margin-bottom: 2px !important;
            }

            .horizontal-mobile-card .card-tech-info p {
                font-size: 0.78rem !important;
                margin-bottom: 0 !important; /* Eliminamos el espacio que dejaba para el botón de PC */
                line-height: 1.2 !important;
            }

        /* 4. Transformamos el botón grande en una pequeña flecha minimalista circular */
        .horizontal-mobile-card .btn-tech-start {
            margin-top: 0 !important; /* Quitamos el auto-margin vertical de PC */
            background: transparent !important; /* Sin fondo gris */
            padding: 0 !important;
            color: #0071e3 !important; /* Flecha azul por defecto */
        }

            .horizontal-mobile-card .btn-tech-start i {
                width: 32px !important;
                height: 32px !important;
                background: #f1f5f9 !important; /* Círculo gris claro de fondo */
                color: #334155 !important;
                font-size: 0.85rem !important;
            }

    /* 5. Efecto al pasar el dedo o dar tap a la fila */
    .cotizador-link:hover .horizontal-mobile-card .btn-tech-start i {
        background: #0071e3 !important;
        color: white !important;
        transform: translateX(3px); /* Pequeño empuje dinámico hacia la derecha */
    }
}

/* ==========================================
   📸 SECCIÓN VITRINA DE TRABAJOS REALES
   ========================================== */
.trabajo-item-card {
    background: #f8fafc;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.trabajo-img-wrapper {
    position: relative;
    width: 100%;
    /* Mantiene las fotos cuadradas y perfectas sin importar la forma original */
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #000; /* Fondo negro por si la imagen demora en cargar */
}

    .trabajo-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Ajusta la imagen al cuadrado sin deformarla */
        transition: transform 0.5s ease;
    }


.trabajo-item-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    /* Sombra suave y difusa */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}


/* Efectos visuales interactivos */
.trabajo-item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

    .trabajo-item-card:hover .trabajo-img-wrapper img {
        transform: scale(1.06); /* Micro-zoom suave */
    }

/* Optimización estricta para pantallas móviles */
@media (max-width: 768px) {
    #trabajos-reales {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .trabajo-item-card {
        border-radius: 14px; /* Curvatura un poco más sutil en celular */
    }

    
}

/* Esto hace que el carrusel sea fluido */
.carousel-inner .carousel-item {
    transition: transform 0.6s ease-in-out;
}

/* 🚀 AJUSTE DE ESPACIADO DE LA SECCIÓN */
#trabajos-reales {
    padding-top: 1rem !important; /* <--- SI QUIERES MÁS PEGADO, BAJA ESTE NÚMERO (ej. 0.5rem) */
    padding-bottom: 2rem !important;
}

/* 🚀 AJUSTE DE TAMAÑO DE LETRA RESPONSIVE */
@media (max-width: 768px) {
    .display-5 {
        font-size: 1.5rem !important; /* Tamaño del título en móvil */
    }
}

.swiper-slide img {
    width: 100%;
    height: 300px; /* <--- ALTURA FIJA PARA TODAS LAS FOTOS */
    object-fit: cover; /* <--- ESTO EVITA QUE SE DEFORMEN */
    border-radius: 16px;
}



/* Aseguramos que la caja no tenga background heredado */
.trabajo-item-card {
    background: #ffffff !important;
}

/* --- NUEVA VITRINA SIN FONDO NEGRO --- */
.trabajo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    text-align: center;
    background: transparent !important; /* Eliminamos el fondo negro */
    z-index: 10;
}

    .trabajo-overlay span {
        color: #ffffff !important;
        font-size: 0.85rem !important;
        font-weight: 900 !important;
        text-transform: uppercase;
        letter-spacing: 1px;
        /* Sombreado potente para que resalte sobre la foto sin necesitar fondo */
        text-shadow: 0 2px 4px rgba(0,0,0,0.9) !important;
        background: none !important;
    }

.trabajo-img-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background-color: transparent !important; /* Asegura que no haya negro de fondo */
}