/*
Theme Name: Asheforklift
Theme URI: https://asheforklift.com/
Author: Grow & Bless
Description: Premium WordPress theme for CV Ashe Forklift — industrial equipment solutions.
Version: 3.0.0
Text Domain: asheforklift
*/

/* =============================================
   BASE OVERRIDES (Tailwind handles most base styles)
============================================= */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #1A1A1A;
    background-color: #FFFFFF;
    line-height: 1.7;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

/* =============================================
   SCROLL REVEAL ANIMATIONS
============================================= */
.reveal {
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.fade-up { transform: translateY(40px); }
.reveal.fade-right { transform: translateX(-40px); }
.reveal.fade-left { transform: translateX(40px); }

.reveal.active {
    opacity: 1;
    transform: translate(0, 0);
}

.reveal.delay-1 { transition-delay: 0.15s; }
.reveal.delay-2 { transition-delay: 0.3s; }
.reveal.delay-3 { transition-delay: 0.45s; }

/* =============================================
   HEADER — scrolled state + nav animations
============================================= */
.site-header.scrolled {
    background: rgba(17, 17, 17, 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Navigation link styles */
.site-header {
    height: 72px;
}

.admin-bar .site-header {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 8px;
}

.main-navigation li a {
    display: block;
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.main-navigation li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background: #E31E24;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-navigation li a:hover { color: #fff; }
.main-navigation li a:hover::after { transform: scaleX(1); transform-origin: left; }
.main-navigation li.current-menu-item a { color: #fff; }
.main-navigation li.current-menu-item a::after { transform: scaleX(1); }

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    margin: 6px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 7px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -7px); }

/* =============================================
   BUTTONS (complex hover effects need custom CSS)
============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    min-height: 48px;
}

.btn-icon {
    font-size: 18px !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover .btn-icon { transform: translateX(3px); }

.btn-primary {
    background: #E31E24;
    color: #fff;
    border-color: #E31E24;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.15);
    transition: left 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
    background: #c2181d;
    border-color: #c2181d;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(227, 30, 36, 0.35);
}

.btn-primary:hover::before { left: 100%; }

.btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.btn-outline-dark {
    background: transparent;
    border-color: #1A1A1A;
    color: #1A1A1A;
}

.btn-outline-dark:hover {
    background: #1A1A1A;
    color: #fff;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 0.9375rem;
}

/* =============================================
   HERO — Blueprint + Hydraulic Lift Effects
============================================= */
.hero-section {
    min-height: 100vh;
    display: flex;
    position: relative;
    overflow: hidden;
    padding-top: 72px;
}

.admin-bar .hero-section {
    min-height: calc(100vh - 32px);
}

@media (max-width: 782px) {
    .admin-bar .hero-section {
        min-height: calc(100vh - 46px);
    }
}

/* Blueprint Grid Background */
.blueprint-grid {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        linear-gradient(rgba(227, 30, 36, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(227, 30, 36, 0.06) 1px, transparent 1px),
        linear-gradient(rgba(227, 30, 36, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(227, 30, 36, 0.03) 1px, transparent 1px);
    background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Blueprint Crosshair Canvas */
.blueprint-crosshair {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    pointer-events: none;
}

/* Blueprint Corner Registration Marks */
.bp-corner {
    position: absolute;
    width: 40px;
    height: 40px;
    z-index: 3;
    pointer-events: none;
}

.bp-corner-tl { top: 100px; left: 40px; border-top: 1px solid rgba(227, 30, 36, 0.3); border-left: 1px solid rgba(227, 30, 36, 0.3); }
.bp-corner-br { bottom: 40px; right: 40px; border-bottom: 1px solid rgba(227, 30, 36, 0.3); border-right: 1px solid rgba(227, 30, 36, 0.3); }

.has-bp-accents > .bp-corner-tl { border-color: rgba(227, 30, 36, 0.12); }
.has-bp-accents > .bp-corner-br { border-color: rgba(227, 30, 36, 0.12); }

/* =============================================
   HYDRAULIC GAUGE PANEL
============================================= */
.hyd-panel {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 15;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: hydPanelIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

@keyframes hydPanelIn {
    0% { opacity: 0; transform: translateY(-50%) translateX(-20px); }
    100% { opacity: 1; transform: translateY(-50%) translateX(0); }
}

/* PSI Readout */
.hyd-readout {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 10px;
    border: 1px solid rgba(227, 30, 36, 0.2);
    background: rgba(227, 30, 36, 0.04);
    border-radius: 3px;
}

.hyd-readout-label {
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: rgba(227, 30, 36, 0.4);
}

.hyd-readout-value {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.125rem;
    font-weight: 900;
    color: #E31E24;
    line-height: 1;
    min-width: 36px;
    text-align: center;
}

/* Tonnage Scale */
.hyd-scale {
    position: relative;
    height: 180px;
    width: 50px;
    display: flex;
    flex-direction: column;
}

.hyd-scale-mark {
    position: absolute;
    right: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    transform: translateY(50%);
}

.hyd-scale-mark::after {
    content: '';
    width: 8px;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

.hyd-scale-mark span {
    font-size: 0.5625rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 0.05em;
    transition: color 0.4s;
    min-width: 20px;
    text-align: right;
}

.hyd-scale-mark.active span {
    color: #E31E24;
}

.hyd-scale-mark.active::after {
    background: rgba(227, 30, 36, 0.5);
}

/* Main Track */
.hyd-track {
    position: absolute;
    right: -2px;
    top: 0;
    width: 4px;
    height: 100%;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    overflow: hidden;
}

.hyd-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: #E31E24;
    border-radius: 2px;
    transition: height 1.8s cubic-bezier(0.08, 0.82, 0.17, 1);
}

.hyd-fill.active { height: 100%; }

.hyd-fill-glow {
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, rgba(227,30,36,0.6) 0%, transparent 70%);
    border-radius: 50%;
    animation: hydGlow 2s ease-in-out infinite;
}

@keyframes hydGlow {
    0%, 100% { opacity: 0.4; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.5); }
}

/* Tick marks along track */
.hyd-ticks {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
}

.hyd-ticks span {
    display: block;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

/* Status Lights */
.hyd-status-lights {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
}

.hyd-light {
    display: flex;
    align-items: center;
    gap: 5px;
}

.hyd-light-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    transition: all 0.5s;
    flex-shrink: 0;
}

.hyd-light.on .hyd-light-dot {
    background: #25D366;
    box-shadow: 0 0 8px rgba(37, 211, 102, 0.5);
}

.hyd-light.warning .hyd-light-dot {
    background: #FFB800;
    box-shadow: 0 0 8px rgba(255, 184, 0, 0.4);
}

.hyd-light.active .hyd-light-dot {
    background: #E31E24;
    box-shadow: 0 0 8px rgba(227, 30, 36, 0.5);
    animation: lightBlink 1.5s ease-in-out infinite;
}

@keyframes lightBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hyd-light-text {
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.2);
    transition: color 0.5s;
}

.hyd-light.on .hyd-light-text,
.hyd-light.active .hyd-light-text {
    color: rgba(255, 255, 255, 0.5);
}

/* Bottom Label */
.hyd-bottom-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.hyd-mode {
    font-size: 0.5625rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: rgba(227, 30, 36, 0.4);
    transition: color 0.5s;
}

.hyd-mode.lifting {
    color: #E31E24;
    animation: lightBlink 1.5s ease-in-out infinite;
}

.hyd-mode.ready {
    color: rgba(37, 211, 102, 0.7);
}

.hyd-label-line {
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
}

.hyd-label-text {
    font-size: 0.4375rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.12);
    writing-mode: vertical-lr;
    text-orientation: mixed;
    transform: rotate(180deg);
    white-space: nowrap;
}

/* Hydraulic Lift Animation on Content */
.hydraulic-lift {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.9s cubic-bezier(0.08, 0.82, 0.17, 1),
                transform 0.9s cubic-bezier(0.08, 0.82, 0.17, 1);
}

.hydraulic-lift.lifted {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Badge left accent */
.hero-badge::before {
    content: '';
    position: absolute;
    left: -1px;
    top: -1px;
    bottom: -1px;
    width: 3px;
    background: #E31E24;
}

/* Blueprint Annotation */
.annotation-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #E31E24;
    flex-shrink: 0;
    animation: dotPulse 3s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(227, 30, 36, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(227, 30, 36, 0); }
}

.annotation-line {
    width: 48px;
    height: 1px;
    background: rgba(227, 30, 36, 0.3);
    flex-shrink: 0;
}

/* =============================================
   HERO FORKLIFT PHOTO + BLUEPRINT OVERLAYS
============================================= */
.hero-forklift-visual {
    position: absolute;
    right: -80px;
    top: 0;
    bottom: -120px;
    width: 68%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 5;
    padding: 0;
}

.hero-forklift-img {
    width: 140%;
    max-width: 1300px;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.6))
            drop-shadow(0 0 100px rgba(227, 30, 36, 0.1));
    animation: forkliftReveal 1.2s cubic-bezier(0.08, 0.82, 0.17, 1) 0.6s both;
}

@keyframes forkliftReveal {
    0% {
        opacity: 0;
        transform: translateX(60px) scale(0.95);
        filter: drop-shadow(0 20px 60px rgba(0,0,0,0.5)) brightness(0.3);
    }
    60% {
        opacity: 1;
        filter: drop-shadow(0 20px 60px rgba(0,0,0,0.5)) brightness(1.1);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: drop-shadow(0 20px 60px rgba(0,0,0,0.5))
                drop-shadow(0 0 80px rgba(227,30,36,0.08)) brightness(1);
    }
}

/* Blueprint Scan Overlay */
.bp-scan-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

.bp-scan-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(227,30,36,0.03) 30%, rgba(227,30,36,0.06) 50%, rgba(227,30,36,0.03) 70%, transparent);
    animation: bpScanSweep 4s ease-in-out 1.5s forwards;
    opacity: 0;
}

@keyframes bpScanSweep {
    0% { left: -50%; opacity: 1; }
    100% { left: 150%; opacity: 0; }
}

.bp-scan-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, transparent 0px, transparent 3px, rgba(227,30,36,0.015) 3px, rgba(227,30,36,0.015) 4px);
    z-index: 1;
    opacity: 0;
    animation: bpFadeIn 1s cubic-bezier(0.4, 0, 0.2, 1) 1s forwards;
}

@keyframes bpFadeIn { to { opacity: 1; } }

/* Load Capacity Callout — top center of forklift */
.bp-photo-capacity {
    position: absolute;
    top: 12%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    animation: bpFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) 2.4s forwards;
}

.bp-cap-value { font-size: 2.5rem; font-weight: 900; color: #E31E24; font-family: 'Barlow Condensed', sans-serif; line-height: 1; text-shadow: 0 2px 20px rgba(227,30,36,0.3); }
.bp-cap-label { font-size: 0.625rem; font-weight: 700; color: rgba(227,30,36,0.5); letter-spacing: 0.2em; margin-top: 4px; }

/* Vertical connector line from capacity label down toward center */
.bp-cap-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(227,30,36,0.5), rgba(227,30,36,0.15));
    margin-top: 10px;
    flex-shrink: 0;
}

.bp-cap-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1.5px solid rgba(227,30,36,0.5);
    background: rgba(227,30,36,0.15);
    flex-shrink: 0;
    margin-top: 2px;
    animation: dotPulse 3s ease-in-out infinite;
}

/* Spec Callout — right side of forklift */
.bp-photo-spec {
    position: absolute;
    top: 38%;
    right: 10%;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 0;
    opacity: 0;
    animation: bpFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) 2.6s forwards;
}

.bp-spec-box { display: flex; flex-direction: column; gap: 2px; order: 3; }
.bp-spec-item { font-size: 0.5625rem; color: rgba(255,255,255,0.35); letter-spacing: 0.05em; line-height: 1.5; font-weight: 600; text-align: right; }

/* Horizontal connector line from spec box toward center */
.bp-spec-line {
    width: 50px;
    height: 1px;
    background: linear-gradient(to left, rgba(255,255,255,0.3), rgba(255,255,255,0.08));
    flex-shrink: 0;
    order: 2;
    margin-right: 10px;
    margin-left: 0;
}

.bp-spec-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.08);
    flex-shrink: 0;
    order: 1;
    margin-right: 2px;
    margin-left: 0;
    animation: dotPulse 3s ease-in-out 1s infinite;
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.scroll-text { font-size: 0.5625rem; font-weight: 700; letter-spacing: 0.3em; color: rgba(255,255,255,0.2); }

.scroll-line {
    width: 1px;
    height: 48px;
    background: rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -48px;
    left: 0;
    width: 100%;
    height: 48px;
    background: linear-gradient(to bottom, transparent, #E31E24);
    animation: scrollLine 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes scrollLine {
    0% { top: -48px; }
    100% { top: 48px; }
}

/* =============================================
   BRAND LOGO MARQUEE
============================================= */
.marquee-container {
    overflow: hidden;
    width: 100%;
}

.marquee-track {
    animation: marqueeScroll 30s linear infinite;
    width: max-content;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =============================================
   SERVICE CARDS — Featured + Standard
============================================= */

/* Standard Service Cards */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #E31E24;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
    border-color: transparent;
    box-shadow: 0 8px 40px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

.service-card:hover::before { transform: scaleX(1); }

/* Service link hover */
.service-link:hover .material-symbols-outlined { transform: translateX(4px); }

/* =============================================
   STAT CARD — bar animation
============================================= */
.stat-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #E31E24;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-card:hover .stat-bar { transform: scaleX(1); }

/* =============================================
   PROCESS SECTION
============================================= */

/* Section centered header top bar */
.section-header-center::before {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: #E31E24;
    margin: 0 auto 20px;
}

/* =============================================
   CTA BANNER — decorative circles
============================================= */
.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    border: 1px solid rgba(227, 30, 36, 0.08);
    border-radius: 50%;
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(227, 30, 36, 0.05);
    border-radius: 50%;
}

/* =============================================
   FOOTER — link hover line animation
============================================= */
.footer-link::before {
    content: '';
    width: 0;
    height: 1px;
    background: #E31E24;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-link:hover::before { width: 16px; }

/* =============================================
   WHATSAPP FLOATING BUTTON
============================================= */
.wa-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    animation: waFloat 3s ease-in-out infinite;
}

.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.wa-float svg { width: 28px; height: 28px; fill: #fff; }

@keyframes waFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* =============================================
   SPEC TABS (Unit Forklift Section)
============================================= */
.spec-tab {
    background: #fff;
    color: #6B6B6B;
    border: 1px solid #E8E8E8;
}

.spec-tab:hover {
    color: #1A1A1A;
    border-color: #E31E24;
    background: rgba(227, 30, 36, 0.03);
}

.spec-tab.active {
    background: #E31E24;
    color: #fff;
    border-color: #E31E24;
    box-shadow: 0 4px 15px rgba(227, 30, 36, 0.25);
}

.spec-tab.active .material-symbols-outlined {
    color: #fff;
}

.spec-tab .material-symbols-outlined {
    color: #E31E24;
    transition: color 0.3s;
}

.spec-tabs {
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.spec-tabs::-webkit-scrollbar { display: none; }

.spec-tabs .spec-tab {
    scroll-snap-align: start;
}

/* Timeline dot — mobile alignment fix */
.timeline-dot {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #E8E8E8;
    position: relative;
    z-index: 2;
}

.timeline-dot::after {
    content: '';
    width: 10px;
    height: 10px;
    background: #E31E24;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.spec-panel {
    animation: specPanelIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* =============================================
   PARTNER CARDS
============================================= */
.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #E31E24;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.partner-card:hover::before {
    transform: scaleX(1);
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
    .blueprint-crosshair { display: none; }

    .main-navigation { display: none; }
    .menu-toggle { display: block; }

    .main-navigation.active {
        display: flex;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        height: calc(100vh - 72px);
        height: calc(100dvh - 72px);
        overflow-y: auto;
        background: rgba(17, 17, 17, 0.98);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        z-index: 999;
        align-items: center;
        justify-content: center;
    }

    .main-navigation.active ul {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .main-navigation.active li a {
        font-size: 1.25rem;
        padding: 16px 32px;
        color: rgba(255, 255, 255, 0.7);
    }
}

/* (Process connector is now handled inline with Tailwind) */

@media (max-width: 1024px) {
    .hyd-panel { display: none; }

    .bp-corner-tl { top: 40px; left: 16px; }
    .bp-corner-br { bottom: 16px; right: 16px; }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 0 !important;
    }

    .hero-forklift-visual {
        position: relative;
        right: 0;
        top: 0;
        bottom: 0;
        width: 100%;
        height: auto;
        padding: 0 20px 40px;
        justify-content: center;
        align-items: center;
    }

    .hero-forklift-img {
        max-width: 360px;
        width: 85%;
        filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    }

    .bp-photo-capacity,
    .bp-photo-spec { display: none; }

    .bp-scan-overlay { display: none; }

    .hero-scroll-indicator { display: none; }

    .blueprint-grid { display: none; }

    .bp-corner { display: none; }
}

@media (max-width: 640px) {
    .btn {
        width: 100%;
        justify-content: center;
    }

    .wa-float {
        bottom: 16px;
        right: 16px;
        width: 48px;
        height: 48px;
    }
    .wa-float svg { width: 24px; height: 24px; }
}


/* =============================================
   FAQ ACCORDION
============================================= */
.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-item.active .faq-toggle {
    background: rgba(227, 30, 36, 0.02);
}

.faq-item.active {
    border-color: #E31E24;
}

.faq-answer {
    animation: faqSlideDown 0.3s ease-out;
}

@keyframes faqSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =============================================
   CATALOG FILTER
============================================= */
.catalog-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #D1D5DB;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    flex-shrink: 0;
}

.catalog-checkbox:checked {
    background: #E31E24;
    border-color: #E31E24;
}

.catalog-checkbox:checked::after {
    content: '';
    position: absolute;
    left: 3px;
    top: 3px;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
}

.catalog-filter-label:has(.catalog-checkbox:checked) {
    color: #1A1A1A;
    font-weight: 600;
}

.catalog-filter-toggle.active .filter-chevron {
    transform: rotate(180deg);
}

/* =============================================
   PRODUCT THUMB ACTIVE
============================================= */
.product-thumb.active {
    border-color: #E31E24;
}

/* =============================================
   WHATSAPP BUTTON STYLE
============================================= */
/* =============================================
   WOOCOMMERCE PAGINATION
============================================= */
.woocommerce-pagination,
nav.woocommerce-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
    font-weight: 700;
    font-size: 0.875rem;
    color: #6B6B6B;
    text-decoration: none;
    transition: all 0.2s;
}

.page-numbers:hover {
    border-color: #E31E24;
    color: #E31E24;
}

.page-numbers.current {
    background: #E31E24;
    color: #fff;
    border-color: #E31E24;
}

.page-numbers.prev,
.page-numbers.next {
    font-size: 0;
}

/* =============================================
   PRODUCT DESCRIPTION PROSE
============================================= */
.prose p {
    margin-bottom: 1em;
}

.prose h2,
.prose h3,
.prose h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    color: #1A1A1A;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.prose ul,
.prose ol {
    padding-left: 1.5em;
    margin-bottom: 1em;
}

.prose ul li {
    list-style-type: disc;
    margin-bottom: 0.25em;
}

.prose ol li {
    list-style-type: decimal;
    margin-bottom: 0.25em;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1em;
}

.prose table th,
.prose table td {
    padding: 0.5rem 0.75rem;
    border: 1px solid #E2E8F0;
    text-align: left;
}

.prose table th {
    background: #F5F5F5;
    font-weight: 600;
}

.prose table tr:nth-child(even) {
    background: #F9F9F9;
}

.prose img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* =============================================
   WHATSAPP BUTTON STYLE
============================================= */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: #25D366;
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-whatsapp:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

/* =============================================
   PROSE CONTENT (Blog Single)
============================================= */
.prose-content p {
    margin-bottom: 1.5em;
}

.prose-content h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1.75rem;
    text-transform: uppercase;
    color: #1A1A1A;
    margin-top: 2.5em;
    margin-bottom: 0.75em;
    line-height: 1.2;
}

.prose-content h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1.375rem;
    text-transform: uppercase;
    color: #1A1A1A;
    margin-top: 2em;
    margin-bottom: 0.6em;
    line-height: 1.3;
}

.prose-content h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    color: #1A1A1A;
    margin-top: 1.75em;
    margin-bottom: 0.5em;
}

.prose-content ul,
.prose-content ol {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
}

.prose-content ul { list-style-type: disc; }
.prose-content ol { list-style-type: decimal; }

.prose-content li {
    margin-bottom: 0.5em;
    line-height: 1.85;
}

.prose-content blockquote {
    border-left: 3px solid #E31E24;
    padding: 1em 1.5em;
    margin: 2em 0;
    background: #F9F9F9;
    color: #333;
    font-style: italic;
}

.prose-content blockquote p:last-child {
    margin-bottom: 0;
}

.prose-content a {
    color: #E31E24;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.prose-content a:hover {
    color: #c2181d;
}

.prose-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2em 0;
}

.prose-content figure {
    margin: 2em 0;
}

.prose-content figcaption {
    text-align: center;
    font-size: 0.875rem;
    color: #6B6B6B;
    margin-top: 0.5em;
}

.prose-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
    font-size: 0.9375rem;
}

.prose-content th,
.prose-content td {
    padding: 0.75em 1em;
    border: 1px solid #E5E7EB;
    text-align: left;
}

.prose-content th {
    background: #F5F5F5;
    font-weight: 700;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.prose-content pre {
    background: #1A1A1A;
    color: #E5E7EB;
    padding: 1.25em 1.5em;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2em 0;
    font-size: 0.875rem;
    line-height: 1.7;
}

.prose-content code {
    background: #F5F5F5;
    padding: 0.15em 0.4em;
    border-radius: 4px;
    font-size: 0.875em;
}

.prose-content pre code {
    background: none;
    padding: 0;
    border-radius: 0;
}

.prose-content hr {
    border: none;
    border-top: 1px solid #E5E7EB;
    margin: 2.5em 0;
}

/* =============================================
   BLOG PAGINATION
============================================= */
.page-numbers {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0;
    margin: 0;
}

.page-numbers li {
    display: flex;
}

.page-numbers li a,
.page-numbers li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: #6B6B6B;
    text-decoration: none;
    transition: all 0.2s;
}

.page-numbers li a:hover {
    border-color: #E31E24;
    color: #E31E24;
    background: rgba(227, 30, 36, 0.04);
}

.page-numbers li span.current {
    background: #E31E24;
    border-color: #E31E24;
    color: #fff;
}

.page-numbers li .prev,
.page-numbers li .next {
    border: none;
    background: none;
    color: #6B6B6B;
    min-width: 36px;
    padding: 0;
}

.page-numbers li .prev:hover,
.page-numbers li .next:hover {
    color: #E31E24;
    background: none;
}

/* =============================================
   FLUENT FORM OVERRIDES
============================================= */
.fluentform .ff-el-input--label label {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.8125rem !important;
    color: #1A1A1A !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

.fluentform .ff-el-form-control {
    border: 1px solid #E5E7EB !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 0.9375rem !important;
    transition: border-color 0.2s !important;
}

.fluentform .ff-el-form-control:focus {
    border-color: #E31E24 !important;
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.08) !important;
    outline: none !important;
}

.fluentform .ff-btn-submit {
    background: #E31E24 !important;
    color: #fff !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.8125rem !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    padding: 14px 32px !important;
    border: none !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
}

.fluentform .ff-btn-submit:hover {
    background: #c2181d !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(227, 30, 36, 0.25) !important;
}

/* =============================================
   TIMELINE CONNECTOR (About Page)
============================================= */
.timeline-dot {
    width: 16px;
    height: 16px;
    background: #E31E24;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #E31E24;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}
