/* ================================================================
   DIVINE AUTO CNC | style.css
   Cleaned and consolidated. Mobile rules are at the very bottom.
   ================================================================ */



/* ─── VARIABLES ─────────────────────────────────────────────── */

:root {
    --navy: #08172b;
    --navy-mid: #0c1f3d;
    --navy-lt: #132d58;
    --accent: #2F80ED;
    --accent2: #5DA1F7;
    --white: #ffffff;
    --text: #b8cfdf;
    --muted: #607d95;
    --light: #dceaf5;
    --glass: rgba(8,23,43,0.88);
    --r: 8px;
    --ease: cubic-bezier(0.4,0,0.2,1);
}


/* ─── RESET ─────────────────────────────────────────────────── */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Barlow', sans-serif;
    background: var(--navy);
    color: var(--text);
    overflow-x: hidden;
    cursor: none;
}

img,
video {
    max-width: 100%;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }


/* ─── GRID TEXTURE ──────────────────────────────────────────── */

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
    background-size: 72px 72px;
}


/* ─── CUSTOM CURSOR ─────────────────────────────────────────── */

*,
*::before,
*::after {
    cursor: none !important;
}

.cursor {
    position: fixed;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.1s, opacity .2s;
    opacity: 0;
}

.cursor.active { opacity: 1; }

.cursor-ring {
    position: fixed;
    width: 38px;
    height: 38px;
    border: 1.5px solid rgba(120,180,255,0.7);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9998;
    transition: width 0.2s, height 0.2s, border-color 0.2s, opacity .2s;
    opacity: 0;
}

.cursor-ring.active { opacity: 1; }

.cursor-ring.hovered {
    width: 58px;
    height: 58px;
    border-color: rgba(120,220,255,0.95);
}


/* ─── LOADER ─────────────────────────────────────────────────── */

#loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: var(--navy);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity .6s ease .2s, visibility .6s ease .2s;
}

#loader .loader-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    display: block;
    filter: brightness(1.05) contrast(1.05) saturate(1.05);
}

#loader .loader-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(8, 23, 43, 0.48) 0%,
        rgba(8, 23, 43, 0.58) 50%,
        rgba(8, 23, 43, 0.68) 100%
    );
}

#loader .ld-logo,
#loader .ld-sub,
#loader .ld-track {
    position: relative;
    z-index: 2;
}

#loader .ld-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(40px, 5vw, 68px);
    font-weight: 400;
    letter-spacing: clamp(4px, 0.7vw, 9px);
    line-height: 1;
    color: #ffffff;
    text-align: center;
    white-space: nowrap;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5), 0 0 20px rgba(47, 128, 237, 0.2);
}

#loader .ld-sub {
    margin-top: 14px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(10px, 1.2vw, 16px);
    font-weight: 500;
    letter-spacing: clamp(3px, 0.45vw, 6px);
    line-height: 1.4;
    text-transform: uppercase;
    text-align: center;
    color: var(--accent);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

#loader .ld-track {
    width: clamp(140px, 18vw, 220px);
    height: 3px;
    margin-top: 28px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}

#loader .ld-bar {
    width: 0;
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
    animation: ldFill 1.8s ease forwards;
    box-shadow: 0 0 8px rgba(47, 128, 237, 0.7);
}

@keyframes ldFill {
    from { width: 0; }
    to { width: 100%; }
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@media (min-width: 769px) {
    #loader .loader-video { object-position: center center; }
    #loader .ld-logo { font-size: clamp(52px, 5vw, 72px); }
    #loader .ld-sub { font-size: 15px; }
    #loader .ld-track { width: 220px; height: 3px; }
}

@media (max-width: 768px) {
    #loader .loader-video {
        width: 100vw;
        height: 100vh;
        object-fit: cover;
        object-position: center center;
    }
    #loader .ld-logo {
        font-size: clamp(34px, 9vw, 46px);
        letter-spacing: 5px;
        max-width: 90vw;
        white-space: normal;
    }
    #loader .ld-sub {
        font-size: 11px;
        letter-spacing: 3.5px;
        margin-top: 12px;
        max-width: 90vw;
    }
    #loader .ld-track { width: 160px; height: 3px; margin-top: 24px; }
}

@media (max-width: 480px) {
    #loader .ld-logo { font-size: clamp(30px, 9vw, 38px); letter-spacing: 4px; max-width: 92vw; }
    #loader .ld-sub { font-size: 9px; letter-spacing: 2.5px; max-width: 90vw; }
    #loader .ld-track { width: 140px; height: 2px; margin-top: 22px; }
}

@media (max-width: 360px) {
    #loader .ld-logo { font-size: 28px; letter-spacing: 3px; }
    #loader .ld-sub { font-size: 8px; letter-spacing: 2px; }
    #loader .ld-track { width: 120px; }
}


/* ─── NAVBAR ─────────────────────────────────────────────────── */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 58px;
    background: transparent;
    -webkit-backdrop-filter: blur(0);
    backdrop-filter: blur(0);
    border-bottom: 1px solid transparent;
    transition: background .4s, backdrop-filter .4s, border-color .4s;
}

.navbar.scrolled,
.navbar.solid {
    background: rgba(8,23,43,.97);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-color: rgba(47,128,237,.16);
}

.nav-brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
    text-decoration: none;
}

.nav-brand-main {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 34px;
    letter-spacing: 3px;
    color: #fff;
}

.nav-brand-sub {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--accent);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 0;
}

.nav-links a {
    display: block;
    padding: 8px 20px;
    text-decoration: none;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 30px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    color: #fff;
    position: relative;
    transition: color .2s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 20px;
    right: 20px;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform .25s;
}

.nav-links a:hover,
.nav-links a.active { color: #fff; }

.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-links a.active { color: var(--accent); }

.nav-cta {
    background: var(--accent) !important;
    color: #fff !important;
    border-radius: 3px;
    margin-left: 8px;
}

.nav-cta:hover { background: var(--accent2) !important; }
.nav-cta::after { display: none !important; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: .28s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ─── BUTTONS ────────────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #fff;
    padding: 20px 42px;
    border: none;
    border-radius: 3px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background .25s var(--ease), transform .15s;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.13);
    transform: translateX(-110%);
    transition: transform .4s ease;
}

.btn:hover::after { transform: translateX(0); }
.btn:hover { background: var(--accent2); transform: translateY(-2px); }

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid rgba(255,255,255,.22);
    color: #fff;
    padding: 20px 42px;
    border-radius: 3px;
    background: transparent;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: border-color .25s, color .25s, transform .15s;
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}


/* ─── UTILITY CLASSES ───────────────────────────────────────── */

.quote-btn { margin-top: 22px; }
.center-block { text-align: center; }
.center-block .eyebrow { justify-content: center; }
.center-block .sec-body { max-width: 540px; margin: 0 auto; }
.center-block-mt-40 { margin-top: 40px; }
.center-block-mt-36 { margin-top: 36px; }
.scrollm-chuck-origin { transform-origin: 45px 160px; }
.scrollm-sparks-hidden { opacity: 0; }
.accent { color: var(--accent); }


/* ─── HERO (legacy slideshow hero) ──────────────────────────── */

.hero {
    position: relative;
    height: 100vh;
    min-height: 660px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-slides { position: absolute; inset: 0; }

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.hero-slide.active { opacity: 1; }

.hero-slide img { width: 100%; height: 100%; object-fit: cover; }

.hero-slide.active img { animation: kenburns 9s ease forwards; }

@keyframes kenburns {
    from { transform: scale(1.09); }
    to { transform: scale(1.0); }
}

.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(8,23,43,.96) 0%,
        rgba(8,23,43,.78) 46%,
        rgba(8,23,43,.32) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 10px 40px 0;
    width: 100%;
    text-align: center;
}

.hero-pill {
    position: absolute;
    top: 90px;
    left: 60px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(47,128,237,.1);
    border: 1px solid rgba(47,128,237,.35);
    color: var(--accent);
    font-family: 'Poppins', sans-serif !important;
    font-size: 13px !important;
    letter-spacing: 3px !important;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 20px;
    animation: fadeUp .7s .3s both;
}

.pill-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%,100% { opacity: 1; transform: scale(1); }
    50% { opacity: .4; transform: scale(.6); }
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    font-size: clamp(40px,7vw,100px);
    line-height: 1.1;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 22px;
    text-align: center;
    white-space: normal;
    animation: fadeUp .7s .44s both;
}

.hero h1 em { color: var(--accent); font-style: normal; }

.hero-sub {
    font-size: 40px;
    line-height: 1.5;
    color: var(--text);
    max-width: 800px;
    font-weight: 400;
    margin: 0 auto 38px;
    text-align: center;
    animation: fadeUp .7s .58s both;
}

.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeUp .7s .72s both;
}

.hero-stats {
    position: absolute;
    right: 60px;
    bottom: 96px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hsc {
    background: rgba(19,45,88,0.92);
    border: 1px solid rgba(255,255,255,.12);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    padding: 22px 28px;
    border-radius: var(--r);
    border-left: 4px solid var(--accent);
    animation: slideR .55s ease both;
}

.hsc:nth-child(2) { animation-delay: .13s; }
.hsc:nth-child(3) { animation-delay: .26s; }

@keyframes slideR {
    from { opacity: 0; transform: translateX(28px); }
    to { opacity: 1; transform: translateX(0); }
}

.hsc-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 46px;
    color: #fff;
    line-height: 1;
}

.hsc-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--muted);
}

.hero-dots {
    position: absolute;
    bottom: 50px;
    left: 60px;
    z-index: 3;
    display: flex;
    gap: 8px;
}

.hdot {
    width: 26px;
    height: 3px;
    background: rgba(255,255,255,.2);
    border-radius: 2px;
    cursor: pointer;
    transition: background .3s, width .3s;
}

.hdot.active { background: var(--accent); width: 48px; }

.hero-scroll {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    animation: bounce 2.2s ease infinite;
}

@keyframes bounce {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

.scroll-bar {
    width: 1px;
    height: 42px;
    background: linear-gradient(var(--accent), transparent);
}

.scroll-txt {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 9px;
    letter-spacing: 3px;
    color: var(--muted);
    text-transform: uppercase;
    writing-mode: vertical-lr;
}

.hero-ticker {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 36px;
    background: var(--accent);
    overflow: hidden;
    display: flex;
    align-items: center;
    z-index: 4;
}

.ticker-wrap {
    display: flex;
    animation: tickAnim 34s linear infinite;
    white-space: nowrap;
}

.ticker-wrap:hover { animation-play-state: paused; }

.tick {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--navy);
    padding: 0 44px;
    opacity: .85;
}

.tick::after { content: '◆'; margin-left: 44px; opacity: .36; }

@keyframes tickAnim {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}


/* ─── SCROLL REVEAL ─────────────────────────────────────────── */

.rv,
.rv-l,
.rv-r {
    opacity: 0;
    transition: opacity .74s ease, transform .74s ease;
}

.rv { transform: translateY(36px); }
.rv-l { transform: translateX(-36px); }
.rv-r { transform: translateX(36px); }

.rv.on,
.rv-l.on,
.rv-r.on {
    opacity: 1;
    transform: translate(0,0);
}

.d1 { transition-delay: .10s !important; }
.d2 { transition-delay: .20s !important; }
.d3 { transition-delay: .30s !important; }
.d4 { transition-delay: .40s !important; }
.d5 { transition-delay: .50s !important; }


/* ─── SECTION BASE ───────────────────────────────────────────── */

.sec {
    position: relative;
    z-index: 1;
    padding: 0 60px 100px;
}

.sec.alt {
    background: #081B36;
    border-top: 1px solid rgba(255,255,255,.04);
    border-bottom: 1px solid rgba(255,255,255,.04);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--accent);
}

.sec-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(36px,5.2vw,64px);
    letter-spacing: 2px;
    color: #fff;
    line-height: .94;
    margin-bottom: 16px;
}

.sec-body {
    font-size: 15px;
    line-height: 1.86;
    color: var(--muted);
    font-weight: 300;
}


/* ─── ABOUT (legacy blocks) ─────────────────────────────────── */

.about-imgs { position: relative; height: 460px; }

.aimg-main {
    position: absolute;
    right: 0;
    top: 0;
    width: 65%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,.06);
}

.aimg-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .56s; }
.aimg-main:hover img { transform: scale(1.04); }

.aimg-secondary {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 65%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    border: none;
    box-shadow: none;
}

.aimg-secondary img { width: 100%; height: 100%; object-fit: cover; transition: transform .56s; }
.aimg-secondary:hover img { transform: scale(1.04); }

.aimg-badge {
    display: none;
    position: absolute;
    right: 0;
    bottom: 56px;
    z-index: 3;
    background: var(--accent);
    color: #fff;
    padding: 16px 20px;
    border-radius: var(--r);
    text-align: center;
}

.aib-num { font-family: 'Bebas Neue', sans-serif; font-size: 38px; line-height: 1; }

.aib-txt {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 9px;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: .85;
}

.about-text .quote {
    background: rgba(47,128,237,.07);
    border-left: 3px solid var(--accent);
    padding: 18px 22px;
    margin: 22px 0;
    border-radius: 0 6px 6px 0;
    font-size: 15px;
    color: var(--light);
    font-style: italic;
    line-height: 1.76;
}

.chklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
}

.chklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text);
}

.chklist li::before {
    content: '✓';
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: rgba(47,128,237,.14);
    border: 1px solid rgba(47,128,237,.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: var(--accent);
}


/* ─── METRICS ────────────────────────────────────────────────── */

.metrics {
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: linear-gradient(100deg, #123B78 0%, #1674E8 100%);
    padding: 64px 60px;
}

.metrics::before {
    content: '';
    position: absolute;
    right: -80px;
    top: -80px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: rgba(255,255,255,.07);
}

.metrics::after {
    content: '';
    position: absolute;
    left: -60px;
    bottom: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255,255,255,.04);
}

.metrics-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4,1fr);
}

.mitem {
    text-align: center;
    padding: 20px;
    background: transparent;
    border-right: 1px solid rgba(255,255,255,.18);
}

.mitem:last-child { border-right: none; }

.mnum { font-family: 'Bebas Neue', sans-serif; font-size: 66px; color: #ffffff; line-height: 1; }
.msym { font-family: 'Bebas Neue', sans-serif; font-size: 38px; color: rgba(255,255,255,.5); }

.mlbl {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 4px;
}


/* ─── SERVICE CARDS ──────────────────────────────────────────── */

.srv-cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 2px;
    margin-top: 52px;
}

.scard {
    background: var(--navy-mid);
    border: 1px solid rgba(255,255,255,.04);
    position: relative;
    overflow: hidden;
    transition: border-color .28s;
}

.scard:hover { border-color: rgba(47,128,237,.3); }

.scard-img { width: 100%; height: 200px; overflow: hidden; position: relative; }

.scard-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
    display: block;
}

.scard:hover .scard-img img { transform: scale(1.07); }

.scard-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(8,23,43,.05) 0%, rgba(8,23,43,.65) 100%);
}

.scard-img-num {
    position: absolute;
    bottom: 10px;
    right: 14px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 54px;
    color: rgba(255,255,255,.1);
    line-height: 1;
}

.scard-body { padding: 26px 28px 30px; }

.scard-lbl {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 8px;
    display: block;
}

.scard h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 10px;
}

.scard p { font-size: 13px; color: var(--muted); line-height: 1.76; font-weight: 300; }

.scard-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }

.stag {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(47,128,237,.08);
    border: 1px solid rgba(47,128,237,.22);
    padding: 3px 9px;
    border-radius: 20px;
}


/* ─── SERVICES PAGE TABS ─────────────────────────────────────── */

.srv-layout {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 32px;
    align-items: start;
}

.srv-tabs {
    display: flex;
    flex-direction: column;
    gap: 2px;
    position: sticky;
    top: 88px;
}

.srv-tab {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(255,255,255,.02);
    border: 1px solid rgba(255,255,255,.04);
    border-radius: 6px;
    cursor: pointer;
    transition: background .25s, border-color .25s;
}

.srv-tab.active,
.srv-tab:hover {
    background: rgba(47,128,237,.09);
    border-color: rgba(47,128,237,.3);
}

.srv-tab-ico {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: rgba(47,128,237,.1);
    border: 1px solid rgba(47,128,237,.25);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    transition: background .25s;
}

.srv-tab.active .srv-tab-ico { background: var(--accent); }

.srv-tab h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 16px;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 2px;
}

.srv-tab span { font-size: 11px; color: var(--muted); }

.srv-panel { display: none; }

.srv-panel.active { display: block; animation: fadeUp .38s ease; }

/* Service image: whole picture visible, no side gaps */
.srv-pimg {
    width: 90%;
    max-width: 900px;
    margin: 0 auto 28px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    background: var(--navy-mid);
}

.srv-pimg img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .55s;
}

.srv-pimg:hover img { transform: scale(1.04); }

.srv-pimg-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: var(--accent);
    color: #fff;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 3px;
}

.srv-panel h3 { font-size: 2.8rem; }

.srv-panel p {
    font-size: 1.3rem;
    color: var(--muted);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 20px;
}

.srv-panel .stag { font-size: 1rem; }


/* ─── MARQUEE ────────────────────────────────────────────────── */

.marquee-wrap { overflow: hidden; margin-top: 52px; }

.marquee-track {
    display: flex;
    animation: tickAnim 24s linear infinite;
    white-space: nowrap;
}

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

.mpill {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    padding: 16px 28px;
    margin-right: 10px;
    border-radius: 4px;
    transition: border-color .25s, background .25s;
    cursor: default;
}

.mpill:hover { border-color: rgba(47,128,237,.35); background: rgba(47,128,237,.05); }

.mpill-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    letter-spacing: 2px;
    color: #fff;
}

.mpill-sec {
    font-size: 11px;
    color: var(--muted);
    border-left: 1px solid rgba(255,255,255,.1);
    padding-left: 12px;
    margin-left: 12px;
}

.mpill-logo {
    height: 34px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: .85;
}

.mpill-logo + .mpill-sec { margin-left: 12px; }


/* ─── CLIENT CARDS ───────────────────────────────────────────── */

.ccards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
    margin-top: 52px;
}

.ccard {
    background: var(--navy-mid);
    border: 1px solid rgba(255,255,255,.05);
    border-radius: var(--r);
    padding: 30px 24px;
    position: relative;
    overflow: hidden;
    transition: border-color .28s, transform .28s;
}

.ccard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .32s;
}

.ccard:hover::before { transform: scaleX(1); }
.ccard:hover { border-color: rgba(47,128,237,.26); transform: translateY(-4px); }

.ccard-name {
    font-family: 'Poppins', sans-serif !important;
    font-size: 24px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    color: #fff;
    margin-bottom: 4px;
}

.ccard-sec {
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
    display: block;
}

.ccard-desc {
    font-family: 'Poppins', sans-serif !important;
    font-size: 17px !important;
    color: #b8cfdf !important;
    line-height: 1.7 !important;
}


/* ─── PROCESS ────────────────────────────────────────────────── */

.proc-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 0;
    margin-top: 60px;
    position: relative;
}

.proc-grid::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.pstep { text-align: center; padding: 0 16px; position: relative; z-index: 1; }

.pstep-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 18px;
    background: var(--navy-mid);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    color: var(--accent);
    transition: background .25s, color .25s;
}

.pstep:hover .pstep-circle { background: var(--accent); color: #fff; }

.pstep-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 8px;
}

.pstep-desc { font-size: 13px; color: var(--muted); line-height: 1.7; }


/* ─── GALLERY (legacy) ───────────────────────────────────────── */

.gallery {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-template-rows: 260px 200px;
    gap: 10px;
    margin-top: 52px;
}

.gitem { border-radius: var(--r); overflow: hidden; position: relative; cursor: pointer; }
.gitem:first-child { grid-column: 1/3; }
.gitem img { width: 100%; height: 100%; object-fit: cover; transition: transform .52s; }
.gitem:hover img { transform: scale(1.07); }

.g-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8,23,43,0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .28s;
}

.gitem:hover .g-overlay { background: rgba(47,128,237,.22); }

.gplus { color: #fff; font-size: 32px; opacity: 0; transition: opacity .28s; }
.gitem:hover .gplus { opacity: 1; }


/* ─── INDUSTRY GRID ──────────────────────────────────────────── */

.ind-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; }

.ind-card {
    background: var(--navy-mid);
    border: 1px solid rgba(255,255,255,.04);
    padding: 32px 20px;
    text-align: center;
    transition: border-color .25s, background .25s;
}

.ind-card:hover { border-color: rgba(47,128,237,.3); background: var(--navy-lt); }

.ind-ico { font-size: 26px; margin-bottom: 12px; display: block; }

.ind-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 17px;
    letter-spacing: 1px;
    color: #fff;
}


/* ─── CTA BAND ───────────────────────────────────────────────── */

.cta {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 80px 60px;
    background: linear-gradient(135deg, var(--navy-lt) 0%, var(--navy-mid) 100%);
    border-top: 1px solid rgba(47,128,237,.2);
}

.cta::before {
    content: '';
    position: absolute;
    right: -80px;
    top: -80px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(47,128,237,.1) 0%, transparent 70%);
}

.cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.cta-inner h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(34px,4.2vw,54px);
    letter-spacing: 2px;
    color: #fff;
    line-height: 1;
}

.cta-btns { display: flex; gap: 14px; flex-wrap: wrap; }


/* ─── PAGE BANNER (About / Services / Clients / Contact) ────── */

.page-one {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
}

.phero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
    padding: 170px 60px 50px;
    border-bottom: 1px solid rgba(255,255,255,.05);
    overflow: hidden;
}

.phero + .sec { padding-top: 60px; }

.phero-bg { position: absolute; inset: 0; }

.phero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.phero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(8,23,43,.88) 0%,
        rgba(8,23,43,.60) 40%,
        rgba(8,23,43,.10) 100%
    );
}

.phero-content { position: relative; z-index: 1; }

.phero-eye {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #7db5ff;
    display: block;
    margin-bottom: 12px;
    text-shadow: 0 1px 6px rgba(0,0,0,.8);
    animation: fadeUp .65s both;
}

.phero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(54px,8vw,100px);
    letter-spacing: 2px;
    color: #fff;
    line-height: .9;
    margin-bottom: 16px;
    text-shadow: 0 2px 14px rgba(0,0,0,.65);
    animation: fadeUp .65s .1s both;
}

.phero p {
    font-size: 17px;
    color: #e6f0fa;
    max-width: 520px;
    font-weight: 400;
    line-height: 1.72;
    text-shadow: 0 1px 8px rgba(0,0,0,.8);
    animation: fadeUp .65s .2s both;
}

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


/* ─── VALUES / FIRST SCREEN ─────────────────────────────────── */

.values-header { text-align: center; margin-bottom: 56px; }
.values-eyebrow { justify-content: center; }
.values-title { text-align: center; }

.first-screen {
    height: 100vh;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.first-screen .hero-split {
    flex: 0 0 68vh;
    min-height: 0;
    padding-top: 60px;
    padding-bottom: 0;
}


/* ─── CONTACT ────────────────────────────────────────────────── */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: start;
}

.cinfo { display: flex; flex-direction: column; gap: 24px; }

.ci { display: flex; align-items: flex-start; gap: 16px; }

.ci-ico {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: rgba(47,128,237,.1);
    border: 1px solid rgba(47,128,237,.25);
    border-radius: var(--r);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.ci-lbl {
    font-family: 'Barlow Condensed', sans-serif !important;
    font-size: 15px !important;
    letter-spacing: 3px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 4px;
}

.ci-val {
    font-family: 'Poppins', sans-serif !important;
    font-size: 17px !important;
    line-height: 1.8 !important;
    color: #e6f0fa !important;
}

.ci-val a { color: var(--light); text-decoration: none; transition: color .2s; }
.ci-val a:hover { color: var(--accent); }

.hrs { display: flex; flex-direction: column; gap: 6px; }

.hr-row {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255,255,255,.05);
}

.hr-day,
.hr-time {
    font-family: 'Poppins', sans-serif !important;
    font-size: 16px !important;
}

.hr-day { color: var(--muted); }
.hr-time { color: var(--light); font-weight: 500; }
.hr-time.closed { color: #f87171; }

.fcard {
    background: var(--navy-mid);
    border: 1px solid rgba(255,255,255,.06);
    padding: 44px;
    border-radius: 10px;
    position: relative;
}

.fcard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    border-radius: 10px 10px 0 0;
}

.fcard h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 26px;
}

.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.fg { margin-bottom: 16px; }

.fl {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 7px;
}

.fc {
    width: 100%;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.09);
    color: #fff;
    padding: 12px 15px;
    font-family: 'Barlow', sans-serif;
    font-size: 14px;
    border-radius: 6px;
    outline: none;
    transition: border-color .2s, background .2s;
}

.fc:focus { border-color: var(--accent); background: rgba(255,255,255,.06); }
.fc::placeholder { color: rgba(255,255,255,.2); }

textarea.fc { min-height: 96px; resize: vertical; }
select.fc { appearance: none; cursor: pointer; }

.map-wrap {
    margin-top: 20px;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: var(--r);
    overflow: hidden;
    height: 380px;
}

.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: none; }


/* ─── ABOUT PAGE (older layout classes) ─────────────────────── */

.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    margin-top: 0;
}

.about-page,
.about-section {
    margin-top: 0 !important;
    padding-top: 80px !important;
}

.section-tag {
    display: block;
    width: 100%;
    text-align: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 100px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 3;
    margin: 0 0 40px;
}

.abt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.abt-text p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.9;
    margin-bottom: 18px;
    font-weight: 300;
}

.side-card {
    background: var(--navy-mid);
    border: 1px solid rgba(255,255,255,.06);
    padding: 32px;
    border-radius: var(--r);
    margin-bottom: 18px;
}

.side-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 16px;
}

.side-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.side-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--muted);
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,.05);
}

.side-list li::before { content: '▸'; color: var(--accent); font-size: 10px; flex-shrink: 0; }


/* ─── FOOTER ─────────────────────────────────────────────────── */

footer {
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,.05);
    position: relative;
    z-index: 1;
}

.foot-top {
    padding: 64px 60px 44px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 48px;
}

.foot-tag { font-size: 13px; color: var(--muted); line-height: 1.65; margin-top: 12px; max-width: 240px; }

.foot-head {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 18px;
}

.foot-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.foot-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    transition: color .2s, padding-left .2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.foot-links a::before { content: '▸'; font-size: 9px; color: var(--accent); opacity: 0; transition: opacity .2s; }
.foot-links a:hover::before { opacity: 1; }
.foot-links a:hover { color: #fff; padding-left: 4px; }

.foot-div { height: 1px; background: rgba(255,255,255,.05); margin: 0 60px; }

.foot-bot { padding: 18px 60px; display: flex; justify-content: space-between; align-items: center; }

.foot-copy { font-size: 12px; color: var(--muted); }

.foot-est {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--muted);
}


/* ─── HOME HERO (split layout) ───────────────────────────────── */

.hero-split {
    position: relative;
    min-height: 62vh;
    padding: 0 60px;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
    background: var(--navy);
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }

.hero-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        100deg,
        rgba(8,23,43,.95) 0%,
        rgba(8,23,43,.8) 32%,
        rgba(8,23,43,.25) 58%,
        rgba(8,23,43,.05) 100%
    );
}

.hero-left { position: relative; z-index: 2; max-width: 640px; padding: 70px 0 15px; }

.hero-split .hero-pill { position: static; margin-bottom: 24px; }

.hero-split-title {
    font-family: 'Fredoka', sans-serif !important;
    font-weight: 700 !important;
    font-size: clamp(58px, 7vw, 112px) !important;
    text-transform: uppercase;
    letter-spacing: 1px !important;
    line-height: 1 !important;
    color: #fff;
    margin-bottom: 18px;
    text-shadow: 0 4px 22px rgba(0,0,0,.55);
}

.hero-split-title .accent,
.hero-split-title em,
.hero-split-title span {
    color: var(--accent);
    text-shadow: 0 0 28px rgba(47,128,237,.55);
}

.hero-title-underline {
    width: 90px;
    height: 3px;
    background: var(--accent);
    margin-bottom: 26px;
    position: relative;
}

.hero-title-underline::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 3px;
    background: #fff;
    filter: blur(2px);
    animation: underlineGlow 2.4s ease-in-out infinite;
}

@keyframes underlineGlow {
    0%,100% { left: 0; }
    50% { left: 60px; }
}

.hero-split .hero-sub {
    text-align: left;
    margin: 0 0 34px;
    max-width: 520px;
    font-family: 'Poppins', sans-serif !important;
    font-size: 19px !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
    color: #e6f0fa !important;
}

.hero-split .hero-btns { justify-content: flex-start; }

.hero-right { position: relative; }

.hero-photo {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 30px 60px rgba(0,0,0,.4);
}

.hero-photo img { width: 100%; height: 460px; object-fit: cover; display: block; }

.hero-stat-stack {
    position: absolute;
    right: 60px;
    top: 160px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hstat {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(12,31,61,0.95);
    border: 1px solid rgba(47,128,237,.3);
    border-radius: 10px;
    padding: 14px 22px;
    min-width: 430px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.hstat-featured { min-height: 90px; padding: 17px 22px; }
.hstat-featured .hstat-ico { width: 48px; height: 48px; }
.hstat-featured b { font-size: 30px; }

.hstat:hover .hstat-ico {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.55);
    transform: scale(1.06);
}

.hstat-ico {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.30);
    color: #ffffff;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.04), 0 0 18px rgba(30, 120, 255, 0.15);
    transition: all 0.3s ease;
}

.hstat-ico svg { width: 28px; height: 28px; stroke-width: 1.8; }

.hstat b {
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 26px;
    color: #fff;
    line-height: 1.1;
}

.hstat span {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted);
}


/* ─── FEATURES STRIP ─────────────────────────────────────────── */

.feat-strip {
    position: relative;
    z-index: 50;
    background: var(--navy-mid);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 12px 60px;
    gap: 12px;
    margin-top: -150px;
    margin-bottom: 0;
}

.feat-item { display: flex; align-items: center; gap: 14px; }

.feat-ico {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(47,128,237,.1);
    border: 1px solid rgba(47,128,237,.3);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feat-item b { display: block; color: #fff; font-size: 16px; font-weight: 600; }
.feat-item span { display: block; color: var(--muted); font-size: 13px; }


/* ─── TRUSTED-BY LOGOS STRIP ────────────────────────────────── */

.logos-strip {
    position: relative;
    z-index: 50;
    background: var(--navy);
    padding: 12px 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 0;
}

.logos-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 27px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
}

.logos-divider { width: 1px; height: 32px; background: rgba(255,255,255,.12); }

.logos-row { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }

.logo-item { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.55); }

.logo-item svg { width: 52px; height: 52px; }

.logo-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    letter-spacing: 2px;
    color: rgba(255,255,255,.7);
    line-height: 1;
}

.logo-name small {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
}

.logo-name.accent {
    color: var(--accent);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    letter-spacing: 1px;
}


/* ─── WHO WE ARE (About page) ───────────────────────────────── */

.who-sec { padding-top: 70px; }

.who-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 70px;
    align-items: start;
}

.who-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(44px, 5.5vw, 76px);
    letter-spacing: 2px;
    color: #fff;
    line-height: 1;
    margin-bottom: 26px;
}

.who-title span { color: var(--accent); }

.who-quote {
    border-left: 4px solid var(--accent);
    padding: 4px 0 4px 20px;
    margin-bottom: 26px;
    font-size: 21px;
    font-style: italic;
    line-height: 1.55;
    color: #dceaf5;
    max-width: 600px;
}

.who-text > p {
    font-size: 17px;
    line-height: 1.75;
    color: #c9dbea;
    font-weight: 400;
    max-width: 640px;
    margin-bottom: 18px;
}

.who-feats {
    display: grid;
    grid-template-columns: repeat(4, auto);
    justify-content: start;
    margin-top: 34px;
}

.who-feat { padding: 0 26px; border-left: 1px solid rgba(255,255,255,.14); }
.who-feat:first-child { padding-left: 0; border-left: none; }

.who-feat svg {
    width: 36px;
    height: 36px;
    display: block;
    margin-bottom: 12px;
    fill: none;
    stroke: var(--accent);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.who-feat b {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
}

.who-feat span { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; }

.who-cards { display: flex; flex-direction: column; gap: 22px; }

.who-card {
    background: linear-gradient(135deg, rgba(19,45,88,.75), rgba(12,31,61,.9));
    border: 1px solid rgba(47,128,237,.35);
    border-left: 4px solid var(--accent);
    border-radius: 12px;
    padding: 28px 32px 24px;
    box-shadow: 0 0 30px rgba(47,128,237,.1);
}

.who-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }

.who-card-head svg {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    fill: none;
    stroke: var(--accent);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.who-card-head h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 24px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 700;
    color: #fff;
    margin: 0;
    white-space: nowrap;
}

.who-card-head i { flex: 1; max-width: 50px; height: 1px; background: var(--accent); }

.who-card ul { list-style: none; }

.who-card li {
    position: relative;
    padding: 11px 0 11px 28px;
    font-size: 16px;
    color: #dceaf5;
    border-bottom: 1px solid rgba(255,255,255,.08);
    transition: color .2s, padding-left .2s;
}

.who-card li:last-child { border-bottom: none; }

.who-card li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-right: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: translateY(-60%) rotate(-45deg);
}

.who-card li:hover { color: var(--accent2); padding-left: 33px; }


/* ─── MACHINING CAPABILITIES (About page) ───────────────────── */

.cap-top {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 48px;
    align-items: center;
}

.cap-text p {
    font-size: 18px;
    line-height: 1.75;
    color: #c9dbea;
    max-width: 520px;
    margin-bottom: 30px;
}

.cap-feats { display: flex; flex-wrap: wrap; row-gap: 18px; }

.cap-feat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 24px;
    border-left: 1px solid rgba(255,255,255,.14);
}

.cap-feat:first-child { padding-left: 0; border-left: none; }

.cap-feat svg {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    fill: none;
    stroke: var(--accent);
    stroke-width: 1.7;
}

.cap-feat b { display: block; color: #fff; font-size: 16px; font-weight: 600; }
.cap-feat span { display: block; color: var(--muted); font-size: 14px; }

.cap-img {
    overflow: hidden;
    border: 1px solid rgba(47,128,237,.4);
    border-radius: 8px;
    box-shadow: 0 0 26px rgba(47,128,237,.12);
}

.cap-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s;
}

.cap-img:hover img { transform: scale(1.06); }

.cap-top .cap-img { height: 290px; }

.cap-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 26px;
}

.cap-bottom .cap-img { height: 250px; }


/* ─── CNC IMAGE TRANSITION BAND ─────────────────────────────── */

.cnc-bg-transition {
    position: relative;
    width: 100%;
    height: 430px;
    overflow: hidden;
    background: var(--navy);
}

.cnc-bg-transition > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    opacity: 1;
    filter: contrast(1.05) brightness(1.05) saturate(1.1);
}

.cnc-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(8,23,43,.42) 0%,
        rgba(8,23,43,.08) 35%,
        rgba(8,23,43,.02) 50%,
        rgba(8,23,43,.10) 70%,
        rgba(8,23,43,.46) 100%
    );
}

.cnc-bg-transition::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(47,128,237,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(47,128,237,.06) 1px, transparent 1px);
    background-size: 55px 55px;
}

.cnc-floating-text {
    position: absolute;
    z-index: 5;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #eaf3ff;
    white-space: nowrap;
    padding-left: 14px;
    border-left: 2px solid var(--accent2);
    text-shadow: 0 0 14px rgba(93,161,247,.85), 0 0 4px rgba(0,0,0,.9), 0 1px 3px rgba(0,0,0,.9);
    pointer-events: none;
    animation: cncFloat 5s ease-in-out infinite;
}

.cnc-floating-text::after {
    content: '';
    position: absolute;
    left: 14px;
    top: 22px;
    width: 45px;
    height: 2px;
    background: var(--accent2);
    box-shadow: 0 0 8px rgba(93,161,247,.7);
}

.cnc-text-1 { top: 22%; left: 8%; animation-delay: 0s; }
.cnc-text-2 { top: 20%; right: 10%; animation-delay: 1s; }
.cnc-text-3 { bottom: 22%; left: 14%; animation-delay: 2s; }
.cnc-text-4 { bottom: 25%; right: 12%; animation-delay: 3s; }
.cnc-text-5 { top: 52%; left: 7%; animation-delay: 1.5s; }
.cnc-text-6 { top: 54%; right: 8%; animation-delay: 2.5s; }

@keyframes cncFloat {
    0% { opacity: .7; transform: translateY(6px); }
    50% { opacity: 1; transform: translateY(-5px); }
    100% { opacity: .7; transform: translateY(6px); }
}


/* ─── GLOBAL BUBBLE FONT ─────────────────────────────────────── */
/* Delete this whole block to go back to Bebas Neue / Barlow headings. */

html,
body,
button,
input,
textarea,
select,
a,
p,
span,
div,
li,
label,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Fredoka', sans-serif !important;
}


/* ================================================================
   RESPONSIVE: keep everything below this line, at the very bottom
   ================================================================ */

@media (max-width: 960px) {
    .cnc-bg-transition { height: 320px; }
    .cnc-floating-text { font-size: 9px; letter-spacing: 2px; }
    .cnc-text-1 { left: 5%; }
    .cnc-text-2 { right: 5%; }
    .cnc-text-3 { left: 7%; }
    .cnc-text-4 { right: 6%; }
    .cnc-text-5,
    .cnc-text-6 { display: none; }

    .who-grid { grid-template-columns: 1fr; gap: 40px; }
    .who-feats { grid-template-columns: repeat(2, auto); row-gap: 24px; }
    .who-feat:nth-child(3) { padding-left: 0; border-left: none; }
}

@media (max-width: 900px) {

    /* Navbar and hamburger menu */
    .navbar { padding: 0 20px; height: 64px; }
    .nav-brand-main { font-size: 22px; letter-spacing: 2px; white-space: nowrap; }
    .nav-brand-sub { font-size: 9px; letter-spacing: 2px; white-space: nowrap; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .nav-links a { font-size: 22px; padding: 12px 8px; }
    .nav-links a::after { left: 8px; right: 8px; }
    .nav-cta { margin-left: 0; text-align: center; margin-top: 6px; }

    /* Sections */
    .sec { padding: 0 20px 60px; }
    .metrics { padding: 40px 20px; }
    .cta { padding: 50px 20px; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    .sec-title { font-size: clamp(32px, 9vw, 48px); }

    /* Home hero */
    .first-screen { height: auto; min-height: 0; overflow: visible; }
    .first-screen .hero-split { flex: 0 0 auto; padding-top: 0; }
    .hero-split {
        flex-direction: column;
        align-items: stretch;
        min-height: auto;
        padding: 0 20px 30px;
    }
    .hero-left { max-width: 100%; padding: 96px 0 24px; }
    .hero-split .hero-pill {
        font-size: 10px !important;
        letter-spacing: 2px !important;
        padding: 8px 14px;
        white-space: normal;
    }
    .hero-split-title {
        font-size: clamp(34px, 11vw, 54px) !important;
        letter-spacing: 1px !important;
    }
    .hero-split .hero-sub { font-size: 16px !important; max-width: 100%; }
    .hero-split .hero-btns { gap: 10px; }
    .hero-split .hero-btns .btn,
    .hero-split .hero-btns .btn-outline {
        padding: 15px 22px;
        font-size: 15px;
        width: 100%;
        justify-content: center;
    }

    /* Stat cards move below the text */
    .hero-stat-stack {
        position: static;
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-top: 10px;
    }
    .hstat { min-width: 0; padding: 12px; gap: 10px; }
    .hstat-featured { min-height: 0; padding: 12px; }
    .hstat-ico,
    .hstat-featured .hstat-ico { width: 38px; height: 38px; }
    .hstat-ico svg { width: 18px; height: 18px; }
    .hstat b,
    .hstat-featured b { font-size: 20px; }
    .hstat span { font-size: 9px; }

    /* Feature strip and logos */
    .feat-strip { grid-template-columns: 1fr 1fr; margin-top: 0; padding: 20px; gap: 16px; }
    .feat-item b { font-size: 14px; }
    .feat-item span { font-size: 12px; }
    .logos-strip { padding: 16px 20px; gap: 12px; }
    .logos-label { font-size: 16px; white-space: normal; text-align: center; }
    .logos-divider { display: none; }
    .logos-row { gap: 18px; justify-content: center; }
    .logo-item svg { width: 32px; height: 32px; }
    .logo-name { font-size: 18px; }

    /* Page banners */
    .phero { min-height: 300px; padding: 110px 20px 36px; }
    .phero h1 { font-size: clamp(40px, 12vw, 60px); }
    .phero p { font-size: 15px; }

    /* Grids */
    .abt-grid,
    .about-split,
    .contact-grid,
    .srv-layout { grid-template-columns: 1fr; gap: 32px; }
    .srv-tabs { position: static; flex-direction: row; overflow-x: auto; }
    .srv-tab { flex: 0 0 auto; }
    .srv-pimg { width: 100%; }
    .srv-panel h3 { font-size: 2rem; }
    .srv-panel p { font-size: 1.05rem; }
    .srv-cards,
    .ccards { grid-template-columns: 1fr; }
    .proc-grid { grid-template-columns: 1fr 1fr; row-gap: 36px; }
    .proc-grid::before { display: none; }
    .ind-grid { grid-template-columns: 1fr 1fr; }
    .metrics-inner { grid-template-columns: 1fr 1fr; }
    .mitem { border-right: none; padding: 14px; }
    .mnum { font-size: 48px; }
    .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .gitem:first-child { grid-column: 1 / 3; }
    .section-tag { font-size: 44px; line-height: 1.4; }

    /* About page cards and capabilities */
    .who-card { padding: 22px 20px; }
    .who-card-head h3 { font-size: 20px; white-space: normal; }
    .who-quote { font-size: 18px; }
    .who-text > p { font-size: 16px; }
    .cap-top { grid-template-columns: 1fr; gap: 30px; }
    .cap-bottom { grid-template-columns: 1fr; }
    .cap-feat { padding: 0 16px 0 0; border-left: none; }
    .cap-top .cap-img,
    .cap-bottom .cap-img { height: 230px; }

    /* Contact */
    .fcard { padding: 24px; }
    .frow { grid-template-columns: 1fr; gap: 0; }
    .map-wrap { height: 260px; }
    .hr-row { gap: 12px; flex-wrap: wrap; }
    .ci-val { font-size: 15px !important; }
    .hr-day,
    .hr-time { font-size: 14px !important; }

    /* Footer */
    .foot-top { grid-template-columns: 1fr 1fr; padding: 40px 20px 30px; gap: 30px; }
    .foot-div { margin: 0 20px; }
    .foot-bot { flex-direction: column; gap: 8px; padding: 16px 20px; text-align: center; }

    /* Marquee */
    .mpill { padding: 12px 18px; }
    .mpill-name { font-size: 17px; }
}

@media (max-width: 560px) {
    .cnc-bg-transition { height: 260px; }
    .cnc-floating-text { font-size: 8px; letter-spacing: 1.5px; }
    .cnc-text-3,
    .cnc-text-4 { display: none; }
}

@media (max-width: 520px) {
    .feat-strip { grid-template-columns: 1fr; }
    .proc-grid { grid-template-columns: 1fr; }
    .foot-top { grid-template-columns: 1fr; }
    .who-feats { grid-template-columns: 1fr 1fr; }
    .ccard-desc { font-size: 15px !important; }
    .ccard-name { font-size: 20px !important; }
}

/* ── MOBILE FIX: stop hero overlap ── */
@media (max-width: 900px) {

  html body .first-screen {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  html body .first-screen .hero-split,
  html body .hero-split {
    flex: none !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    padding-bottom: 30px !important;
  }

  html body .hero-stat-stack {
    position: static !important;
    width: 100% !important;
    margin-top: 14px !important;
  }

  html body .feat-strip {
    margin-top: 0 !important;
    position: relative !important;
    z-index: 1 !important;
  }

  html body .logos-strip {
    position: relative !important;
    z-index: 1 !important;
  }
}

/* ── MOBILE: show all six floating labels in two neat columns ── */
@media (max-width: 960px) {

  html body .cnc-bg-transition {
    height: 300px;
  }

  html body .cnc-floating-text {
    display: block !important;
    font-size: 9px !important;
    letter-spacing: 1px !important;
    padding-left: 10px;
    bottom: auto !important;
  }

  html body .cnc-floating-text::after {
    top: 16px;
    width: 30px;
  }

  /* left column */
  html body .cnc-text-1 { top: 12% !important; left: 4% !important; right: auto !important; }
  html body .cnc-text-5 { top: 44% !important; left: 4% !important; right: auto !important; }
  html body .cnc-text-3 { top: 76% !important; left: 4% !important; right: auto !important; }

  /* right column */
  html body .cnc-text-2 { top: 12% !important; right: 4% !important; left: auto !important; }
  html body .cnc-text-6 { top: 44% !important; right: 4% !important; left: auto !important; }
  html body .cnc-text-4 { top: 76% !important; right: 4% !important; left: auto !important; }
}

/* ── TIMES NEW ROMAN EVERYWHERE ── */
html body *:not(#a):not(#b),
html body *:not(#a):not(#b)::before,
html body *:not(#a):not(#b)::after {
    font-family: 'Times New Roman', Times, serif !important;
}

/* Times looks thin where Bebas Neue used to be, so make headings bold */
html body h1,
html body h2,
html body h3,
html body h4,
html body .nav-brand-main,
html body .nav-links a,
html body .btn,
html body .btn-outline {
    font-weight: 700 !important;
}

html.skip-loader #loader {
    display: none !important;
}