/* ==========================================================================
   PAN ENGINEERS — WHITE, ICE-BLUE & DEEP OCEAN BLUE 3D ANIMATED THEME
   Matches the About page white surfaces + Deep Ocean Blue (#042a3d -> #075985)
   feature blocks while retaining 3D glare, scroll reveals, and transitions.
   ========================================================================== */

:root {
    --in-oklab: ;
    --cy-black:      #042a3d;
    --cy-surface:    #073952;
    --cy-ocean-deep: #042a3d;
    --cy-ocean-mid:  #073952;
    --cy-ocean-hi:   #075985;
    --cy-glass:      rgba(4, 42, 61, 0.84);
    --cy-glass-soft: rgba(7, 57, 82, 0.72);
    --cy-white:      #ffffff;
    --cy-light-bg:   #f0f9ff;
    --cy-muted:      #d6e6f2;
    --cy-text-dark:  #0f172a;
    --cy-text-mid:   #334155;
    --cy-navy:       #0c4a6e;
    --cy-sky:        #38bdf8;
    --cy-sky-strong: #0ea5e9;
    --cy-sky-deep:   #0284c7;
    --cy-border:     rgba(56, 189, 248, 0.28);
    --cy-border-hi:  rgba(125, 211, 252, 0.55);
    --cy-card-border:#e2e8f0;
    --cy-ease:       cubic-bezier(0.22, 1, 0.36, 1);
}

@supports (background: linear-gradient(in oklab, white, black)) {
    :root { --in-oklab: in oklab; }
}

/* Global Clean White Canvas (matches About page) */
body {
    background: #ffffff !important;
    color: var(--cy-text-dark) !important;
}

/* Reduced-motion compliance */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: initial !important;
        transition-duration: 0.01s !important;
    }
}

/* ==========================================================================
   1. INTRO LOGO CURTAIN (Non-blocking 0.85s PAN Engineers Reveal)
   ========================================================================== */
.cy-intro {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    background: linear-gradient(135deg, rgba(4, 42, 61, 0.96) 0%, rgba(7, 57, 82, 0.96) 100%);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    pointer-events: none;
    transition: opacity 0.55s var(--cy-ease), transform 0.55s var(--cy-ease), visibility 0.55s;
}
.cy-intro.is-done {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.04);
}
.cy-intro-logo-wrap {
    position: relative;
    padding: 18px 34px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(125, 211, 252, 0.45);
    box-shadow: 0 0 60px rgba(56, 189, 248, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.cy-intro-logo-wrap img {
    height: 62px;
    width: auto;
    display: block;
    filter: drop-shadow(0 6px 24px rgba(56, 189, 248, 0.45));
}
.cy-intro-title {
    font-family: var(--font-display);
    font-size: clamp(18px, 2.5vw, 26px);
    font-weight: 800;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--cy-white);
}
.cy-intro-title span { color: var(--cy-sky); }
.cy-intro-line {
    width: 220px;
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    overflow: hidden;
}
.cy-intro-line::after {
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--cy-sky), #ffffff, var(--cy-sky), transparent);
    transform-origin: left;
}
@media (prefers-reduced-motion: no-preference) {
    .cy-intro-logo-wrap { animation: cyIntroPop 0.75s var(--cy-ease) both; }
    .cy-intro-line::after { animation: cyLineSweep 0.85s var(--cy-ease) both; }
}
@media (prefers-reduced-motion: reduce) {
    .cy-intro { display: none !important; }
}

/* ==========================================================================
   2. DEEP OCEAN BLUE HEADER & NAV UNFOLD
   ========================================================================== */
.pe-header {
    z-index: 99999 !important;
    isolation: isolate;
    background: linear-gradient(120deg, rgba(4, 42, 61, 0.94) 0%, rgba(7, 57, 82, 0.94) 55%, rgba(12, 74, 110, 0.94) 100%) !important;
    backdrop-filter: saturate(180%) blur(20px) !important;
    -webkit-backdrop-filter: saturate(180%) blur(20px) !important;
    border-bottom: 1px solid rgba(125, 211, 252, 0.25) !important;
    box-shadow: 0 10px 34px rgba(4, 42, 61, 0.28), 0 1px 0 rgba(255, 255, 255, 0.08) inset !important;
}
.pe-header.scrolled {
    background: #042a3d !important;
    border-bottom-color: rgba(56, 189, 248, 0.45) !important;
    box-shadow: 0 14px 40px rgba(4, 42, 61, 0.38) !important;
}
.pe-header .pe-logo img {
    filter: brightness(1.08) drop-shadow(0 4px 14px rgba(56, 189, 248, 0.22));
}

@media (prefers-reduced-motion: no-preference) {
    .pe-header .pe-logo {
        animation: cyLogoEnter 0.75s var(--cy-ease) 0.1s both;
    }
    .pe-header .pe-nav > .nav-link,
    .pe-header .header-actions > * {
        animation: cyNavUnfold 0.65s var(--cy-ease) both;
        animation-delay: calc(0.28s + var(--nav-i, 0) * 65ms);
    }
    .pe-header .pe-nav > :nth-child(1) { --nav-i: 1; }
    .pe-header .pe-nav > :nth-child(2) { --nav-i: 2; }
    .pe-header .pe-nav > :nth-child(3) { --nav-i: 3; }
    .pe-header .pe-nav > :nth-child(4) { --nav-i: 4; }
    .pe-header .pe-nav > :nth-child(5) { --nav-i: 5; }
    .pe-header .pe-nav > :nth-child(6) { --nav-i: 6; }
    .pe-header .header-actions > :nth-child(1) { --nav-i: 7; }
    .pe-header .header-actions > :nth-child(2) { --nav-i: 8; }
    .pe-header .header-actions > :nth-child(3) { --nav-i: 9; }
}

.nav-link { color: #f8fafc !important; }
.nav-link:hover, .nav-link.active {
    background: rgba(56, 189, 248, 0.16) !important;
    color: #ffffff !important;
}
.nav-underline {
    background: linear-gradient(90deg, var(--cy-sky), #ffffff) !important;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.85) !important;
}
.header-phone-btn {
    background: rgba(255, 255, 255, 0.10) !important;
    border: 1px solid rgba(125, 211, 252, 0.42) !important;
    color: #ffffff !important;
}
.header-cta-btn, .catalogue-download-btn {
    background: linear-gradient(135deg var(--in-oklab), #0ea5e9, #0284c7) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.32) !important;
}
.mobile-nav {
    background: rgba(4, 42, 61, 0.97) !important;
    backdrop-filter: blur(22px);
}

/* ==========================================================================
   3. 3D HERO STAGE — CLEAN WHITE & SKY-BLUE SHOWCASE (Matches About Us)
   ========================================================================== */
.pe-hero-dual {
    position: relative;
    min-height: 100vh;
    background:
        radial-gradient(900px 440px at 15% 5%, rgba(14, 165, 233, 0.08), transparent 62%),
        radial-gradient(800px 420px at 85% 15%, rgba(56, 189, 248, 0.07), transparent 62%),
        #ffffff !important;
    padding-top: 96px;
    padding-bottom: 48px;
    overflow: hidden;
}

/* Subtle 3D Perspective Floor Grid on White */
.hero-grid-bg {
    background-image:
        linear-gradient(rgba(2, 132, 199, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(2, 132, 199, 0.08) 1px, transparent 1px) !important;
    background-size: 64px 64px !important;
    transform: perspective(750px) rotateX(48deg) scale(1.6) translateY(-10%);
    transform-origin: center top;
    opacity: 0.55;
    mask-image: radial-gradient(ellipse 85% 75% at 50% 42%, black 15%, transparent 90%) !important;
}

@media (prefers-reduced-motion: no-preference) {
    .hero-grid-bg { animation: cyGridDrift 16s linear infinite; }
}

.hero-dual-inner {
    gap: 38px !important;
    padding: 28px 0 36px !important;
}

/* Clean White 3D Cards (JCB + Tractor) */
.hero-dual-cards {
    perspective: 1600px;
}
.hero-cat-card {
    background: #ffffff !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid #cbd5e1 !important;
    box-shadow:
        0 18px 46px rgba(12, 74, 110, 0.09),
        0 2px 8px rgba(12, 74, 110, 0.04) !important;
    transform-style: preserve-3d;
    transition: transform 0.35s var(--cy-ease), box-shadow 0.4s var(--cy-ease), border-color 0.3s ease !important;
}
.hero-cat-card::before,
.hero-cat-card::after {
    opacity: 0.25;
}
.hero-cat-card:hover {
    border-color: var(--cy-sky-strong) !important;
    box-shadow:
        0 26px 60px rgba(2, 132, 199, 0.16),
        0 0 0 1px rgba(14, 165, 233, 0.2) !important;
}
.hero-cat-content {
    background: #ffffff !important;
    backdrop-filter: none;
}
.hero-cat-img-wrap {
    height: 310px;
}
.earth-img-overlay, .tractor-img-overlay {
    background: linear-gradient(
        to bottom,
        rgba(4, 42, 61, 0.08) 0%,
        rgba(255, 255, 255, 0.12) 68%,
        rgba(255, 255, 255, 0.96) 100%
    ) !important;
}
.cy-card-chip {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffffff;
    background: rgba(4, 42, 61, 0.86);
    border: 1px solid rgba(125, 211, 252, 0.5);
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 18px rgba(4, 42, 61, 0.25);
}
.cy-card-chip::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cy-sky);
    box-shadow: 0 0 10px var(--cy-sky);
}
.hero-cat-card .cat-title {
    font-size: clamp(30px, 3vw, 44px) !important;
    color: var(--cy-navy) !important;
}
.earth-card .cat-title em, .tractor-card .cat-title em {
    color: var(--cy-sky-deep) !important;
}
.hero-cat-card .cat-desc {
    color: #475569 !important;
}
.hero-cat-card .cat-features-list li {
    color: #334155 !important;
}
.earth-orb, .tractor-orb {
    background: var(--cy-sky-strong) !important;
    box-shadow: none !important;
}
.earth-btn, .tractor-btn {
    background: linear-gradient(135deg var(--in-oklab), #073952, #0284c7) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 22px rgba(2, 132, 199, 0.25) !important;
}
.cat-call-mini {
    background: #f0f9ff !important;
    border: 1px solid #bae6fd !important;
    color: var(--cy-navy) !important;
}
.cat-call-mini:hover {
    background: #e0f2fe !important;
    border-color: var(--cy-sky-strong) !important;
    color: var(--cy-navy) !important;
}

/* Clean Ice-Blue Intro Stage Right Below JCB & Tractor Cards */
.cy-welcome-stage {
    position: relative;
    text-align: center;
    padding: 36px clamp(20px, 4vw, 52px);
    border-radius: 24px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    box-shadow: 0 14px 36px rgba(12, 74, 110, 0.06);
    isolation: isolate;
    overflow: hidden;
}
.cy-welcome-stage::before {
    display: none;
}
.hero-badge {
    background: #e0f2fe !important;
    border: 1px solid #bae6fd !important;
    color: #0284c7 !important;
    margin-bottom: 18px;
}
.badge-dot {
    background: var(--cy-sky-deep) !important;
    box-shadow: 0 0 8px rgba(2, 132, 199, 0.45) !important;
}
.hero-dual-title {
    font-size: clamp(30px, 4vw, 56px) !important;
    color: var(--cy-navy) !important;
    line-height: 1.12 !important;
    margin-bottom: 14px !important;
}
.hero-dual-title em {
    background: linear-gradient(90deg, #0284c7 0%, #0ea5e9 55%, #075985 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}
.title-dim {
    color: #334155 !important;
    font-size: 0.42em !important;
    letter-spacing: 3.5px !important;
    margin-top: 12px !important;
}
.hero-dual-sub {
    color: #475569 !important;
    font-size: clamp(14px, 1.15vw, 17px) !important;
    font-weight: 600 !important;
}

/* Hero Stats Bar — Crisp White Surface */
.hero-stats-box {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 12px 32px rgba(12, 74, 110, 0.06) !important;
}
.hsb-num { color: var(--cy-navy) !important; }
.hsb-num.hsb-text, .hsb-plus { color: var(--cy-sky-deep) !important; }
.hsb-label { color: #475569 !important; }
.hsb-divider { background: #e2e8f0 !important; }

/* ==========================================================================
   4. PRODUCT RANGE & CATEGORIES (CLEAN ICE-BLUE SECTION + WHITE CARDS)
   ========================================================================== */
.cy-range-sec {
    position: relative;
    padding: 96px 0;
    background: var(--cy-light-bg) !important;
    border-top: 1px solid #e0f2fe;
    border-bottom: 1px solid #e0f2fe;
    overflow: hidden;
}
.cy-range-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    perspective: 1400px;
}
@media (max-width: 1180px) { .cy-range-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 640px)  { .cy-range-grid { grid-template-columns: 1fr; } }

.cy-range-img img[src*="parts-trailer-range"] {
    object-fit: contain;
    background: #ffffff;
    padding: 12px;
}

.cy-range-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 22px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--cy-card-border);
    box-shadow: 0 10px 30px rgba(12, 74, 110, 0.06);
    transition: transform 0.35s var(--cy-ease), border-color 0.35s ease, box-shadow 0.4s var(--cy-ease);
    text-decoration: none;
    isolation: isolate;
}
.cy-range-card:hover {
    border-color: var(--cy-sky-strong);
    box-shadow: 0 22px 50px rgba(12, 74, 110, 0.14);
}
.cy-range-img {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f8fafc;
}
.cy-range-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--cy-ease);
}
.cy-range-card:hover .cy-range-img img { transform: scale(1.08); }
.cy-range-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 62%, rgba(12, 74, 110, 0.08) 100%);
}
.cy-range-count {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #ffffff;
    background: linear-gradient(135deg, #073952, #0284c7);
    box-shadow: 0 4px 12px rgba(4, 42, 61, 0.25);
}
.cy-range-body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.cy-range-body h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    color: var(--cy-navy);
    line-height: 1.25;
}
.cy-range-body p {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.55;
    flex: 1;
}
.cy-range-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--cy-sky-deep);
}
.cy-range-card:hover .cy-range-link { color: var(--cy-navy); }
.cy-range-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 42px;
}

/* ==========================================================================
   5. HOMEPAGE SECTIONS -> CLEAN WHITE & ICE-BLUE CONTRAST (MATCHES ABOUT PAGE)
   ========================================================================== */
#pan-homepage .section-tag,
.cy-range-sec .section-tag,
.cy-contact-cta .section-tag {
    background: #e0f2fe !important;
    border: 1px solid #bae6fd !important;
    color: #0284c7 !important;
}
#pan-homepage .section-title,
#pan-homepage .brands-main-title,
.cy-range-sec .section-title,
.cy-contact-cta .section-title {
    color: #0c4a6e !important;
}
#pan-homepage .section-title .highlight,
#pan-homepage .brands-main-title span,
.cy-range-sec .section-title .highlight,
.cy-contact-cta .section-title .highlight {
    background: linear-gradient(135deg var(--in-oklab), #0284c7 0%, #0ea5e9 65%, #38bdf8 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}
#pan-homepage .section-desc,
#pan-homepage .brands-main-desc,
.cy-range-sec .section-desc,
.cy-contact-cta .section-desc {
    color: #475569 !important;
}

/* Keep Deep Ocean Blue `.pan-home-faq` crisp white text intact */
#pan-homepage .pan-home-faq .section-title,
.pan-home-faq h2 {
    color: #ffffff !important;
}

/* About Preview (White Surface) */
.pe-about-preview {
    background: #ffffff !important;
    color: var(--cy-text-dark) !important;
}
.about-lead { color: #334155 !important; }
.about-quick-stats {
    background: #f0f9ff !important;
    border: 1px solid #bae6fd !important;
}
.qs-item {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}
.qs-num { color: var(--cy-sky-deep) !important; }
.qs-label { color: #475569 !important; }
.check-row { color: #334155 !important; }
.check-row svg { background: #e0f2fe !important; color: var(--cy-sky-deep) !important; }
.collage-main {
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 24px 60px rgba(12, 74, 110, 0.12) !important;
}
.collage-badge-est {
    background: linear-gradient(135deg, #073952, #0284c7) !important;
    color: #ffffff !important;
    box-shadow: 0 14px 36px rgba(12, 74, 110, 0.28), 0 0 0 6px #ffffff !important;
}

/* Leading Brands (Ice Blue Surface) */
.pe-leading-brands-section {
    background: var(--cy-light-bg) !important;
    border-top: 1px solid #e0f2fe;
    border-bottom: 1px solid #e0f2fe;
}
.brands-badge {
    background: #e0f2fe !important;
    border: 1px solid #bae6fd !important;
    color: var(--cy-sky-deep) !important;
}
.brand-logo-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 8px 24px rgba(12, 74, 110, 0.06) !important;
    transition: transform 0.35s var(--cy-ease), box-shadow 0.35s var(--cy-ease), border-color 0.3s !important;
}
.brand-logo-card:hover {
    border-color: var(--cy-sky-strong) !important;
    box-shadow: 0 18px 40px rgba(2, 132, 199, 0.14) !important;
}
.brand-subtext { color: #0f172a !important; }
.brands-disclaimer { color: #64748b !important; }

/* Why Us (White Surface + White Cards) */
.pe-why-us {
    background: #ffffff !important;
}
.why-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 28px rgba(12, 74, 110, 0.06) !important;
}
.why-card:hover {
    border-color: var(--cy-sky-strong) !important;
    box-shadow: 0 20px 48px rgba(2, 132, 199, 0.14) !important;
}
.why-card h4 { color: var(--cy-navy) !important; }
.why-card p  { color: #475569 !important; }
.why-icon {
    background: #e0f2fe !important;
    color: var(--cy-sky-deep) !important;
}

/* Gallery Strip + Pause Accessibility Button (Ice Blue Surface) */
.pe-gallery-strip {
    background: var(--cy-light-bg) !important;
    border-top: 1px solid #e0f2fe;
}
.btn-outline-dark {
    color: var(--cy-navy) !important;
    border: 1px solid #94a3b8 !important;
    background: #ffffff !important;
}
.btn-outline-dark:hover {
    background: #0c4a6e !important;
    color: #ffffff !important;
    border-color: #0c4a6e !important;
}
.cy-marquee-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: var(--cy-navy);
    background: #ffffff;
    border: 1px solid #cbd5e1;
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.cy-marquee-toggle:hover {
    background: #e0f2fe;
    border-color: var(--cy-sky-strong);
    color: var(--cy-navy);
}
.gs-item {
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
}
.gs-item span { color: #ffffff !important; background: rgba(4, 42, 61, 0.85) !important; }

/* Trust / Process & Markets (White Surface) */
.pe-trust {
    background: #ffffff !important;
    color: var(--cy-text-dark) !important;
}
.pe-trust-head p { color: #475569 !important; }
.pe-process-step {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 18px !important;
    box-shadow: 0 8px 24px rgba(12, 74, 110, 0.04) !important;
}
.pe-process-step h3 { color: var(--cy-navy) !important; }
.pe-process-step p  { color: #475569 !important; }
.pe-process-num { background: var(--cy-sky-strong) !important; color: #ffffff !important; }
.pe-markets {
    background: linear-gradient(135deg, #042a3d 0%, #073952 50%, #075985 100%) !important;
    border: 1px solid rgba(125, 211, 252, 0.28) !important;
    box-shadow: 0 20px 50px rgba(4, 42, 61, 0.18) !important;
}
.pe-markets-copy h3 { color: #ffffff !important; }
.pe-markets-copy p  { color: #d6e6f2 !important; }
.pe-markets-list li {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
}
.pe-cert {
    background: rgba(56, 189, 248, 0.14) !important;
    border: 1px solid rgba(125, 211, 252, 0.35) !important;
    color: #ffffff !important;
}

/* ==========================================================================
   6. "IF YOU WANT TO CONTACT US" — LIGHT ICE-BLUE + WHITE SHELL STAGE
   ========================================================================== */
.cy-contact-cta {
    position: relative;
    padding: 84px 0;
    background: var(--cy-light-bg) !important;
    border-top: 1px solid #e0f2fe;
    overflow: hidden;
}
.cy-contact-shell {
    position: relative;
    padding: clamp(32px, 5vw, 56px);
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid #bae6fd;
    box-shadow: 0 24px 60px rgba(12, 74, 110, 0.08);
    text-align: center;
}
.cy-contact-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 34px 0 32px;
    perspective: 1200px;
}
@media (max-width: 840px) { .cy-contact-cards { grid-template-columns: 1fr; } }

.cy-contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px 20px;
    border-radius: 18px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    color: var(--cy-navy);
    text-decoration: none;
    transition: transform 0.35s var(--cy-ease), border-color 0.3s, background 0.3s, box-shadow 0.35s;
}
.cy-contact-card:hover {
    border-color: var(--cy-sky-strong);
    background: #e0f2fe;
    box-shadow: 0 18px 36px rgba(2, 132, 199, 0.14);
}
.cy-contact-card strong { font-size: 16px; color: var(--cy-navy); }
.cy-contact-card span   { font-size: 14px; color: #334155; }

/* ==========================================================================
   INNER PAGES: BRAND LANDINGS, ABOUT SEO/CHIPS, PRODUCTS, GALLERY (WHITE + OCEAN)
   ========================================================================== */
.pan-lp-hero {
    background:
        radial-gradient(750px 380px at 80% 10%, rgba(56, 189, 248, 0.2), transparent 65%),
        linear-gradient(135deg, #042a3d 0%, #073952 50%, #075985 100%) !important;
}
.pan-lp-products { background: #f8fafc !important; }
.pan-lp-count { color: #475569 !important; }
.pan-lp-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 6px 20px rgba(12, 74, 110, 0.05) !important;
}
.pan-lp-card:hover {
    border-color: var(--cy-sky-strong) !important;
    box-shadow: 0 18px 38px rgba(2, 132, 199, 0.12) !important;
}
.pan-lp-img { background: #f8fafc !important; }
.pan-lp-body h3 a { color: #0f172a !important; }
.pan-lp-body h3 a:hover { color: var(--cy-sky-deep) !important; }
.pan-lp-models { color: #475569 !important; }
.pan-lp-add { background: linear-gradient(135deg, #073952, #0284c7) !important; color: #ffffff !important; }
.pan-lp-view { color: #0f172a !important; border-color: #cbd5e1 !important; background: #ffffff !important; }
.pan-lp-view:hover { border-color: var(--cy-sky-strong) !important; color: var(--cy-sky-deep) !important; }

.pan-lp-content { background: #ffffff !important; }
.pan-lp-text h2, .pan-lp-faq h2 { color: var(--cy-navy) !important; }
.pan-lp-text p, .pan-lp-faq details p { color: #475569 !important; }
.pan-lp-faq details { background: #f8fafc !important; border-color: #e2e8f0 !important; }
.pan-lp-faq summary { color: #0f172a !important; }

.pan-lp-links { background: var(--cy-light-bg) !important; border-top: 1px solid #e0f2fe; }
.pan-lp-links h2 { color: var(--cy-navy) !important; }
.pan-lp-chips a {
    background: #ffffff !important;
    color: var(--cy-navy) !important;
    border-color: #bae6fd !important;
}
.pan-lp-chips a:hover {
    background: #e0f2fe !important;
    border-color: var(--cy-sky-strong) !important;
    color: var(--cy-sky-deep) !important;
}
.pan-lp-content-grid--single {
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: 880px;
    margin-inline: auto;
}

/* Keep inner containers clean white with crisp stacking context */
.pe-page, .pe-contact-page, .pe-capabilities-page {
    position: relative;
    z-index: 0 !important;
    isolation: isolate;
}
.pe-contact-page, .pan-results-page, .single-product-wrap, .about-story, .about-timeline, .about-stats, .about-factory, .cat-section, .gallery-section {
    background: #ffffff;
    color: #0f172a;
}
.gallery-filter-bar, .products-filter-bar {
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
}
.pe-capabilities-page .section-title {
    color: var(--cy-navy) !important;
}
.pe-capabilities-page .section-title .highlight {
    color: var(--cy-sky-strong) !important;
    -webkit-text-fill-color: var(--cy-sky-strong) !important;
    background: none !important;
}

/* Products Page White + Ice-Blue Clean Styling */
.pe-page .products-all {
    background: #ffffff !important;
    color: #0f172a !important;
}
.pe-page .products-all .category-header {
    background: var(--cy-light-bg) !important;
    border: 1px solid #bae6fd !important;
}
.pe-page .products-all .cat-header-text h2 { color: var(--cy-navy) !important; }
.pe-page .products-all .cat-header-text h2 .highlight { color: var(--cy-sky-strong) !important; }
.pe-page .products-all .cat-header-text p { color: #334155 !important; }
.pe-page .products-all .cat-count-badge {
    background: #e0f2fe !important;
    color: var(--cy-sky-deep) !important;
    border: 1px solid #bae6fd !important;
}
.pe-page .products-all .product-item {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
    box-shadow: 0 6px 20px rgba(12, 74, 110, 0.05) !important;
}
.pe-page .products-all .product-item:hover {
    border-color: var(--cy-sky-strong) !important;
    box-shadow: 0 18px 36px rgba(2, 132, 199, 0.12) !important;
}
.pe-page .products-all .product-card-title a { color: #0f172a !important; }
.pe-page .products-all .product-card-title a:hover { color: var(--cy-sky-deep) !important; }
.pe-page .products-all .product-oem { color: var(--cy-sky-deep) !important; }
.pan-cat-filter-btn {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}
.pan-cat-filter-btn:hover {
    background: #e0f2fe !important;
    border-color: var(--cy-sky-strong) !important;
    color: var(--cy-navy) !important;
}
.pan-cat-filter-btn.active {
    background: linear-gradient(135deg, #073952, #0284c7) !important;
    color: #ffffff !important;
    border-color: #0284c7 !important;
}

@media (max-width: 768px) {
    html, body { overflow-x: clip !important; }
    .about-preview-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 32px !important; }
    .about-preview-left, .about-preview-right { min-width: 0 !important; max-width: 100% !important; }
    .about-quick-stats { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 8px !important; }
    .qs-item { padding: 12px 6px !important; min-width: 0 !important; }
    .hero-cat-card .cat-actions { flex-wrap: wrap !important; }
    .hero-cat-card .cat-primary-btn { flex: 1 1 210px; min-height: 46px; height: auto; padding: 12px 16px; white-space: normal; text-align: center; }
    .hero-cat-card .cat-call-mini { flex: 1 1 110px; height: 46px; }
    .section-title, .cy-welcome-stage .hero-dual-title {
        font-size: clamp(24px, 6.8vw, 32px) !important;
        overflow-wrap: break-word;
    }
}

/* Footer — Deep Ocean Blue Matching Pan Engineers at a Glance */
.pe-footer {
    background: linear-gradient(180deg var(--in-oklab), #073952 0%, #042a3d 100%) !important;
    border-top: 1px solid rgba(125, 211, 252, 0.25) !important;
}
.pe-footer .footer-bottom p,
.pe-footer .footer-disclaimer p {
    color: #d6e6f2 !important;
    opacity: 0.94 !important;
}
.pe-footer .footer-bottom-right {
    color: #7dd3fc !important;
    opacity: 1 !important;
}

/* ==========================================================================
   7. NATIVE SCROLL-DRIVEN ENTRY EFFECTS (Baseline 2026 + Progressive Fallback)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
    @supports ((animation-timeline: view()) and (animation-range: entry)) {
        .cy-scroll-card {
            animation: cyScrollRise auto linear both;
            animation-timeline: view();
            animation-range: entry 0% entry 85%;
        }
    }
}

/* Keyframes */
@keyframes cyIntroPop {
    from { opacity: 0; transform: perspective(900px) translateY(20px) scale(0.88); }
    to   { opacity: 1; transform: perspective(900px) translateY(0) scale(1); }
}
@keyframes cyLineSweep {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}
@keyframes cyLogoEnter {
    from { opacity: 0; transform: translateX(-24px) scale(0.92); }
    to   { opacity: 1; transform: none; }
}
@keyframes cyNavUnfold {
    from { opacity: 0; transform: translateY(-14px); }
    to   { opacity: 1; transform: none; }
}
@keyframes cyGridDrift {
    from { background-position: 0 0, 0 0; }
    to   { background-position: 0 64px, 0 64px; }
}
@keyframes cyShine {
    0%   { background-position: 0% center; }
    100% { background-position: 200% center; }
}
@keyframes cyScrollRise {
    from { opacity: 0.15; transform: perspective(1000px) translateY(36px) rotateX(6deg) scale(0.96); }
    to   { opacity: 1; transform: none; }
}
