/* ========================================================
   TECHNOQUIP S.A.C. - ULTRA-PROFESSIONAL INDUSTRIAL UI
   Google Fonts: Outfit & Inter
   ======================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@500;600;700;800;900&display=swap');

:root {
    --tq-dark: #0a0f1d;
    --tq-surface: #131b2e;
    --tq-accent: #ea580c;
    --tq-accent-hover: #c2410c;
    --tq-amber: #f59e0b;
    --tq-blue: #0284c7;
    --tq-green: #10b981;
    --tq-border: #e2e8f0;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: #334155;
    background-color: #f8fafc;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .hero-title, .font-heading {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}

/* ========================================================
   TOP BAR
   ======================================================== */
.top-bar-tq {
    background-color: var(--tq-dark);
    font-size: 0.8rem;
    color: #cbd5e1;
    border-bottom: 1px solid #1e293b;
}
.top-bar-tq a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.2s;
}
.top-bar-tq a:hover {
    color: var(--tq-amber);
}

.top-strip-mobile {
    background-color: var(--tq-dark);
    padding: 7px 14px;
    font-size: 0.78rem;
    color: #e2e8f0;
    border-bottom: 1px solid #1e293b;
}

/* ========================================================
   NAVBAR (GLASSMORPHISM & SYMMETRY)
   ======================================================== */
.navbar-tq {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 25px rgba(10, 15, 29, 0.07);
    padding: 0 !important;
    height: 72px;
    transition: all 0.3s ease;
}

.navbar-tq .container,
.navbar-tq .container-fluid {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-tq .navbar-brand {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0;
}

.navbar-tq .navbar-brand img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

/* Desktop Navigation */
@media (min-width: 1200px) {
    .navbar-tq .navbar-nav {
        display: flex;
        align-items: center !important;
        height: 100%;
        flex-wrap: nowrap !important;
        gap: 0.2rem;
    }

    .navbar-tq .nav-item {
        display: flex;
        align-items: center;
        height: 100%;
    }

    .navbar-tq .nav-link {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 42px !important;
        padding: 0 11px !important;
        margin: 0 !important;
        font-family: 'Outfit', sans-serif !important;
        font-size: 0.86rem !important;
        font-weight: 700 !important;
        color: #0f172a !important;
        text-transform: uppercase !important;
        letter-spacing: 0.2px !important;
        white-space: nowrap !important;
        line-height: 1 !important;
        border-radius: 6px;
        transition: all 0.2s ease;
    }

    .navbar-tq .nav-link:hover, 
    .navbar-tq .nav-link.active {
        color: var(--tq-accent) !important;
        background-color: #fff7ed;
    }

    .btn-nav-cta {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 42px !important;
        padding: 0 18px !important;
        font-family: 'Outfit', sans-serif !important;
        font-size: 0.88rem !important;
        font-weight: 800 !important;
        letter-spacing: 0.3px !important;
        white-space: nowrap !important;
        line-height: 1 !important;
        text-transform: uppercase;
        border-radius: 8px;
        background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%) !important;
        color: #ffffff !important;
        border: none !important;
        box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35) !important;
        transition: all 0.25s ease;
    }

    .btn-nav-cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(234, 88, 12, 0.5) !important;
        color: #ffffff !important;
    }
}

.btn-mobile-toggler {
    background-color: var(--tq-dark);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* ========================================================
   OFFCANVAS MOBILE DRAWER
   ======================================================== */
.offcanvas-tq {
    width: 330px !important;
    background-color: var(--tq-dark);
    color: #f8fafc;
    border-left: 4px solid var(--tq-accent);
}

.offcanvas-tq .offcanvas-header {
    border-bottom: 1px solid #1e293b;
    padding: 1.1rem 1.25rem;
}

.offcanvas-tq .nav-mobile-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 8px;
    margin-bottom: 4px;
    transition: all 0.2s;
}
.offcanvas-tq .nav-mobile-link:hover,
.offcanvas-tq .nav-mobile-link.active {
    background-color: #1e293b;
    color: var(--tq-amber);
}

.offcanvas-tq .accordion-button {
    background-color: transparent !important;
    color: #e2e8f0 !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.8rem 1rem;
    box-shadow: none !important;
}
.offcanvas-tq .accordion-button:not(.collapsed) {
    color: var(--tq-amber) !important;
    background-color: #1e293b !important;
}
.offcanvas-tq .accordion-button::after {
    filter: invert(1);
}
.offcanvas-tq .accordion-body {
    background-color: #0b1120;
    padding: 0.5rem 0.5rem 0.5rem 1.5rem;
}
.offcanvas-tq .sub-link {
    display: block;
    padding: 7px 10px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 6px;
    transition: color 0.2s;
}
.offcanvas-tq .sub-link:hover {
    color: var(--tq-amber);
}

/* ========================================================
   HERO SLIDER WITH KEN BURNS EFFECT
   ======================================================== */
.hero-slider-wrap {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    min-height: 560px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    animation: kenburns 12s infinite alternate;
}

@keyframes kenburns {
    0% { transform: scale(1); }
    100% { transform: scale(1.06); }
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(10, 15, 29, 0.94) 0%, rgba(10, 15, 29, 0.82) 55%, rgba(10, 15, 29, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fde047;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(6px);
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.12;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.hero-highlight {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ========================================================
   KEY METRICS STRIP
   ======================================================== */
.metrics-strip {
    background-color: var(--tq-dark);
    border-top: 3px solid var(--tq-accent);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    position: relative;
    z-index: 10;
}

.metric-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.metric-item:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-3px);
}

.metric-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

/* ========================================================
   CATEGORY CARDS WITH 3D HOVER LIFT
   ======================================================== */
.cat-card-ultra {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(10, 15, 29, 0.05);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cat-card-ultra:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 35px rgba(234, 88, 12, 0.18);
    border-color: var(--tq-accent);
}

.cat-img-box {
    height: 220px;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    position: relative;
    border-bottom: 1px solid #f1f5f9;
}

.cat-img-box img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.cat-card-ultra:hover .cat-img-box img {
    transform: scale(1.08);
}

.cat-badge-float {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(10, 15, 29, 0.85);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 30px;
    backdrop-filter: blur(4px);
}

/* ========================================================
   PRODUCT SHOWCASE & SWIPER
   ======================================================== */
.prod-card-ultra {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 18px rgba(10, 15, 29, 0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
}

.prod-card-ultra:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(10, 15, 29, 0.1);
    border-color: #cbd5e1;
}

.prod-thumb-ultra {
    height: 210px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    position: relative;
    border-bottom: 1px solid #f1f5f9;
}

.prod-thumb-ultra img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.prod-card-ultra:hover .prod-thumb-ultra img {
    transform: scale(1.05);
}

/* ========================================================
   INTERACTIVE ADVISOR STRIP
   ======================================================== */
.advisor-card {
    background: linear-gradient(135deg, #0a0f1d 0%, #1e293b 100%);
    border-radius: 20px;
    padding: 40px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(10, 15, 29, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.advisor-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(234, 88, 12, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

/* ========================================================
   WHATSAPP FLOAT
   ======================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 62px;
    height: 62px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    z-index: 1050;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse-green 2s infinite;
}

@media (max-width: 768px) {
    .navbar-tq {
        height: 64px;
    }
    .navbar-tq .navbar-brand img {
        height: 40px;
    }
    .hero-slide {
        min-height: 440px;
        padding: 40px 0;
    }
    .hero-title {
        font-size: 1.85rem;
        text-align: center;
    }
    .hero-content {
        text-align: center;
    }
    .hero-content p {
        font-size: 1rem;
        text-align: center;
    }
    .hero-content .d-flex {
        justify-content: center;
    }
    .whatsapp-float {
        bottom: 18px;
        right: 18px;
        width: 52px;
        height: 52px;
        font-size: 26px;
    }
}

@keyframes pulse-green {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.06); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ========================================================
   FOOTER HIGH-CONTRAST
   ======================================================== */
.footer-tq {
    background-color: var(--tq-dark) !important;
    color: #e2e8f0 !important;
}

.footer-tq .footer-title {
    color: #ffffff !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 16px !important;
    position: relative;
    padding-bottom: 8px;
}

.footer-tq .footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background-color: var(--tq-accent);
}

.text-light-contrast {
    color: #cbd5e1 !important;
}

.footer-link {
    color: #e2e8f0 !important;
    text-decoration: none !important;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-link:hover {
    color: var(--tq-amber) !important;
    transform: translateX(4px);
}
