/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SMEP â€” TIER-ONE INDUSTRIAL MEP PROTOTYPE
   Architecture: AFCO Steel Structural Blueprint
   Brand Identity: SMEP Native (Open Sans, #0081b7, 0px radius)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

:root {
    --amber: #E8762D;
    --blue: #0081b7;
    --blue-dark: #006a96;
    --blue-light: #1d9dd3;
    --blue-accent: #00a4e4;
    --bg-light: #ffffff;
    --surface: #f7f9fb;
    --text-dark: #0a1f2e;
    --text-mid: #2c3e4d;
    --text-muted: #5a7080;
    --border: #dce3e8;
    --border-light: #eef2f5;
    --shadow-card: 0 2px 4px rgba(0,0,0,0.4), 0 8px 16px rgba(0,0,0,0.3), 0 16px 32px rgba(0,0,0,0.2);
    --shadow-card-hover: 0 2px 8px rgba(0,0,0,0.5), 0 12px 24px rgba(0,0,0,0.4), 0 24px 48px rgba(0,0,0,0.3), 0 0 0 1px var(--amber);
    --font-main: 'Open Sans', sans-serif;
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* â•â•â• GLOBAL RESET & TYPOGRAPHY â•â•â• */
.sp-page-builder * { box-sizing: border-box; }
.sp-page-builder { font-family: var(--font-main); color: var(--text-dark); line-height: 1.6; }
.sp-page-builder h1, .sp-page-builder h2, .sp-page-builder h3, .sp-page-builder h4 {
    font-family: var(--font-main); font-weight: 700; color: var(--text-dark); margin: 0;
}
.sp-page-builder a { text-decoration: none; color: inherit; }
.sp-page-builder img { max-width: 100%; display: block; }

/* â•â•â• CINEMATIC HERO (75vh IMMERSIVE) â•â•â• */
.worldclass-hero {
    position: relative;
    height: 75vh;
    min-height: 580px;
    display: flex;
    align-items: flex-end;
    background: #0a1f2e;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    filter: contrast(110%) saturate(105%);
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 5% 80px;
    max-width: 900px;
    width: 100%;
}
.hero-badge {
    font-family: var(--font-main);
    font-size: 11px;
    font-weight: 700;
    color: white;
    border: 1px solid rgba(255,255,255,0.35);
    padding: 7px 16px;
    border-radius: 0;
    display: inline-block;
    margin-bottom: 28px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    background: rgba(0,129,183,0.25);
}
.hero-content h1 {
    font-family: var(--font-main);
    font-size: clamp(36px, 5vw, 62px);
    font-weight: 800;
    color: white;
    line-height: 1.08;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}
.hero-content p {
    font-family: var(--font-main);
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    font-weight: 400;
    max-width: 580px;
    line-height: 1.75;
    margin: 0;
}

/* Heavy transparent watermark text */
.hero-watermark {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 1;
    font-family: var(--font-main);
    font-size: clamp(80px, 12vw, 180px);
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.07);
    text-transform: uppercase;
    line-height: 0.85;
    letter-spacing: -3px;
    pointer-events: none;
    white-space: nowrap;
    padding: 0 40px 20px 0;
}

/* â•â•â• INTERACTIVE STATS BAR (IntersectionObserver Counter) â•â•â• */
.stats-bar {
    background: var(--blue);
    padding: 52px 0;
    position: relative;
    z-index: 10;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    text-align: center;
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
    padding: 0 5%;
}
.stat-box {
    position: relative;
    padding: 16px 0;
}
.stat-box:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 12%;
    height: 76%;
    width: 1px;
    background: rgba(255,255,255,0.2);
}
.stat-box h3 {
    font-family: var(--font-main);
    font-size: 46px;
    font-weight: 800;
    color: white;
    margin-bottom: 6px;
    line-height: 1;
}
.stat-box p {
    font-family: var(--font-main);
    font-size: 12px;
    color: rgba(255,255,255,0.85);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    margin: 0;
}

/* ─── TYPOGRAPHIC SERVICE LEDGER (Hyper-Minimalist) ─── */
.capabilities-ledger {
    display: flex;
    flex-direction: column;
    border-top: 2px solid var(--border);
}
.ledger-item {
    display: flex;
    align-items: center;
    padding: 36px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.ledger-item::before {
    content: '';
    position: absolute;
    left: 0; bottom: -1px; width: 100%; height: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.ledger-item:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}
.ledger-item .num {
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 800;
    color: var(--blue);
    width: 60px;
    letter-spacing: 1px;
}
.ledger-item h3 {
    font-family: var(--font-main);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 300;
    text-transform: uppercase;
    margin: 0;
    flex: 1;
    letter-spacing: 0.5px;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), color 0.3s;
}
.ledger-item:hover h3 {
    transform: translateX(16px);
    color: var(--blue);
}
.ledger-item svg {
    width: 32px;
    height: 32px;
    stroke: var(--border);
    fill: none;
    stroke-width: 1.5;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.ledger-item:hover svg {
    stroke: var(--blue);
    transform: translateX(8px);
}

/* ─── ASYMMETRICAL SECTION WRAP (4fr / 8fr Sticky Sidebar) ─── */
.section-wrap {
    display: grid;
    grid-template-columns: 4fr 8fr;
    gap: 80px;
    align-items: start;
    max-width: 1300px;
    margin: 0 auto;
    padding: 100px 5%;
}
.section-sidebar {
    position: sticky;
    top: 140px;
}
.section-main {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.eyebrow {
    font-family: var(--font-main);
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 16px;
}
.section-heading {
    font-family: var(--font-main);
    font-size: 48px;
    font-weight: 300;
    line-height: 1.12;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--text-dark);
    letter-spacing: 1px;
}
.section-sub {
    font-family: var(--font-main);
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
}

/* ─── CAPABILITIES SECTION ─── */
.capabilities {
    background: var(--surface);
    border-top: 1px solid var(--border);
}

/* ─── PROJECTS / DEPLOYMENT SHOWCASE ─── */
.projects-section {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding-bottom: 100px;
}
.projects-section .section-wrap { padding-bottom: 40px; }

/* ─── TERMINAL FRAME (Institutional Browser Chrome) ─── */
.terminal-frame {
    background: #0a1a28;
    border: 1px solid rgba(0,129,183,0.15);
    border-radius: 6px;
    overflow: hidden;
    box-shadow:
        0 4px 8px rgba(0,0,0,0.12),
        0 16px 40px rgba(0,0,0,0.08),
        0 32px 80px rgba(0,0,0,0.06);
    transition: box-shadow 0.6s cubic-bezier(0.23, 1, 0.32, 1),
                transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.terminal-frame:hover {
    box-shadow:
        0 4px 8px rgba(0,0,0,0.15),
        0 20px 48px rgba(0,0,0,0.12),
        0 40px 96px rgba(0,0,0,0.08),
        0 0 0 1px rgba(0,129,183,0.25);
    transform: translateY(-2px);
}
.terminal-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: #0d2133;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.terminal-dots {
    display: flex;
    gap: 7px;
    flex-shrink: 0;
}
.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }
.terminal-url {
    flex: 1;
    text-align: center;
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.5px;
    background: rgba(255,255,255,0.04);
    padding: 5px 16px;
    border: 1px solid rgba(255,255,255,0.06);
}
.terminal-spacer {
    width: 52px;
    flex-shrink: 0;
}
.terminal-viewport {
    line-height: 0;
    position: relative;
    overflow: hidden;
}
.terminal-viewport img,
.terminal-viewport video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: top center;
}
.deployment-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 700;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
}
.deployment-link:hover {
    color: var(--blue-light);
    transform: translateX(4px);
}

.bento-gallery {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
}
.bento-item {
    border-radius: 0;
    overflow: hidden;
    position: relative;
    background: #0a1f2e;
    display: flex;
    align-items: flex-end;
    min-height: 580px;
    text-decoration: none;
    box-shadow: 0 16px 40px rgba(0,0,0,0.06);
    transition: box-shadow 0.4s;
}
.bento-item:hover {
    box-shadow: 0 24px 56px rgba(0,0,0,0.12);
}
.bento-item.span-8 { grid-column: span 8; }
.bento-item.span-4 { grid-column: span 4; }
.bento-item.span-6 { grid-column: span 6; }
.bento-item > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s;
}
.bento-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,31,46,0.95) 0%, rgba(10,31,46,0.15) 55%, transparent 100%);
    transition: background 0.6s;
    pointer-events: none;
    z-index: 1;
}
.bento-item:hover > img {
    transform: scale(1.04);
    opacity: 0.95;
}
.bento-item:hover::after {
    background: linear-gradient(to top, rgba(10,31,46,0.95) 0%, rgba(10,31,46,0.35) 55%, transparent 100%);
}
.bento-caption {
    position: relative;
    padding: 36px;
    z-index: 2;
    width: 100%;
    pointer-events: none;
}
.bento-meta {
    font-family: var(--font-main);
    color: var(--blue-accent);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 10px;
    display: block;
}
.bento-caption h3 {
    font-family: var(--font-main);
    color: white;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    transition: transform 0.4s;
    letter-spacing: 0.3px;
}
.bento-item:hover .bento-caption h3 {
    transform: translateY(-4px);
}

/* ─── CTA SECTION ─── */
.cta-section {
    background: var(--text-dark);
    padding: 80px 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,129,183,0.1) 0%, transparent 50%);
    pointer-events: none;
}
.cta-inner {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.cta-eyebrow {
    font-family: var(--font-main);
    color: var(--blue-accent);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}
.cta-heading {
    font-family: var(--font-main);
    font-size: 40px;
    font-weight: 300;
    color: white;
    text-transform: uppercase;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: 1px;
}
.cta-desc {
    font-family: var(--font-main);
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    line-height: 1.75;
    margin-bottom: 36px;
}
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: var(--blue);
    color: white;
    border: none;
    border-radius: 0;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}
.cta-btn:hover {
    background: var(--blue-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0,129,183,0.3);
}
.cta-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* ─── ODBA CREDIT LINE ─── */
.odba-credit {
    background: #071520;
    padding: 16px 5%;
    text-align: center;
    font-family: var(--font-main);
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.5px;
}
.odba-credit span {
    color: rgba(255,255,255,0.5);
    font-weight: 600;
}

/* ─── STRUCTURAL: NAV / HEADER / FOOTER / OFFCANVAS ─── */
/* (Previously loaded from remote template.css & smep.css — now self-contained) */

/* Header / Branding Bar */
#sp-smep-branding {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    position: relative;
    z-index: 1000;
}
#sp-smep-branding a {
    text-decoration: none !important;
}
.logo-image { height: 60px; width: auto; object-fit: contain; }
#sp-smep-branding .container { max-width: 1300px; margin: 0 auto; padding: 0 5%; }
#sp-smep-branding .container-inner { padding: 0; }
#sp-smep-branding .row { display: flex !important; align-items: center; flex-wrap: nowrap !important; }
#sp-smep-branding #sp-logo { flex: 0 0 auto; width: auto; }
#sp-smep-branding #sp-menu { flex: 1 1 auto; width: auto; }
#sp-smep-branding #sp-languages { flex: 0 0 auto; width: auto; }
#sp-smep-branding #sp-contact { flex: 0 0 auto; width: auto; }
.sticky-header-placeholder { display: none; }
.logo-image { height: 80px; }
.logo-image-phone { height: 80px; }

/* Nav menu */
.sp-megamenu-wrapper { width: 100%; }
.sp-megamenu-parent { list-style: none; margin: 0; padding: 0; display: flex !important; gap: 0; }
.sp-megamenu-parent > .sp-menu-item > a {
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 28px 16px;
    display: block;
    transition: color 0.3s;
    white-space: nowrap;
}
.sp-megamenu-parent > .sp-menu-item > a:hover,
.sp-megamenu-parent > .sp-menu-item.active > a,
.sp-megamenu-parent > .sp-menu-item.current-item > a {
    color: var(--blue);
}

/* Dropdown */
.sp-has-child { position: relative; }
.sp-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    border: 1px solid var(--border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.3s cubic-bezier(0.23,1,0.32,1);
    z-index: 2000;
    min-width: 280px;
}
.sp-has-child:hover > .sp-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.sp-dropdown-inner { padding: 12px 0; }
.sp-dropdown-items { list-style: none; margin: 0; padding: 0; }
.sp-dropdown-items .sp-menu-item a {
    font-family: var(--font-main);
    font-size: 13px;
    color: var(--text-mid);
    padding: 10px 28px;
    display: block;
    transition: all 0.25s;
}
.sp-dropdown-items .sp-menu-item a:hover {
    color: var(--blue);
    background: white;
}

/* Contact header */
.contacts-top {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}
.smep-contacts {
    font-family: var(--font-main);
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    transition: color 0.3s;
}
.smep-contacts:hover { color: var(--blue); }

/* Offcanvas mobile menu */
.offcanvas-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.offcanvas-overlay.active {
    opacity: 1;
    visibility: visible;
}
.offcanvas-menu {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100%;
    background: #fff;
    z-index: 9999;
    overflow-y: auto;
    transition: left 0.35s cubic-bezier(0.23,1,0.32,1);
    box-shadow: 4px 0 24px rgba(0,0,0,0.12);
}
.offcanvas-menu.active { left: 0; }
.offcanvas-inner { padding: 16px 20px; }
.offcanvas-inner .menu { list-style: none; margin: 0; padding: 0; }
.offcanvas-inner .menu > li > a {
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    padding: 12px 0;
    display: block;
    border-bottom: 1px solid var(--border-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.offcanvas-inner .menu-child { list-style: none; padding: 0 0 0 16px; display: none; }
.offcanvas-inner .menu-parent.open > .menu-child { display: block; }
.offcanvas-inner .menu-child li a {
    font-family: var(--font-main);
    font-size: 13px;
    color: var(--text-muted);
    padding: 8px 0;
    display: block;
}
.menu-toggler {
    display: inline-block;
    width: 24px;
    height: 24px;
    float: right;
    cursor: pointer;
    position: relative;
}
.menu-toggler::before {
    content: '+';
    font-size: 18px;
    font-weight: 300;
    color: var(--text-muted);
}
.close-offcanvas .burger-icon span { background: var(--text-dark); }
.close-offcanvas .burger-icon span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.close-offcanvas .burger-icon span:nth-child(2) { opacity: 0; }
.close-offcanvas .burger-icon span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
.burger-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 24px;
    height: 24px;
}
.burger-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-dark);
    border-radius: 1px;
    transition: all 0.3s;
}

/* Footer */
#sp-smep-rich-footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 64px 0 48px;
}
#sp-smep-rich-footer .container { max-width: 1300px; margin: 0 auto; padding: 0 5%; }
#sp-smep-rich-footer .row { display: flex; flex-wrap: wrap; gap: 0; }
#sp-smep-rich-footer [class*="col-lg-"] { flex: 1; min-width: 280px; padding: 0 16px; }
.sp-module { margin-bottom: 28px; }
.sp-module-title {
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-dark);
    letter-spacing: 1px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--blue);
    display: inline-block;
}
.sp-module-content ul.menu { list-style: none; margin: 0; padding: 0; }
.sp-module-content ul.menu li a {
    font-family: var(--font-main);
    font-size: 13px;
    color: var(--text-muted);
    padding: 5px 0;
    display: block;
    transition: color 0.3s;
}
.sp-module-content ul.menu li a:hover { color: var(--blue); }

/* Footer form overrides */
.sppb-addon-title {
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-dark);
    letter-spacing: 1px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--blue);
    display: inline-block;
}
.sppb-form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    background: #fff;
    font-family: var(--font-main);
    font-size: 13px;
    color: var(--text-dark);
    margin-bottom: 10px;
    outline: none;
    transition: border 0.3s;
}
.sppb-form-control:focus { border-color: var(--blue); }
.sppb-btn {
    padding: 12px 28px;
    background: var(--blue);
    color: white;
    border: none;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: background 0.3s;
}
.sppb-btn:hover { background: var(--blue-light); }

/* Footer contact details */
#sp-contactdetails .mod-custom {
    font-family: var(--font-main);
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.8;
}
#sp-contactdetails a { color: var(--blue); }

/* Copyrights */
#sp-smep-copyrights {
    background: var(--text-dark);
    padding: 20px 0;
}
#sp-smep-copyrights .container { max-width: 1300px; margin: 0 auto; padding: 0 5%; }
.sp-copyright {
    font-family: var(--font-main);
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

/* Scroll-to-top */
.sp-scroll-up {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    background: var(--blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    text-decoration: none;
}
.sp-scroll-up.visible {
    opacity: 1;
    visibility: visible;
}
.sp-scroll-up:hover {
    background: var(--blue-dark);
    transform: translateY(-3px);
}

/* Language switcher */
.lang-inline { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.lang-inline li a {
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    padding: 4px 10px;
    border: 1px solid var(--border);
    display: block;
    transition: all 0.3s;
}
.lang-inline li a:hover {
    color: var(--blue);
    border-color: var(--blue);
}

/* General layout helpers */
.body-wrapper { min-height: 100vh; }
.container { width: 100%; }
.container-inner { padding: 0; }
.sp-column { width: 100%; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .section-wrap {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 72px 5%;
    }
    .section-sidebar {
        position: relative;
        top: 0;
    }
    .bento-item.span-8,
    .bento-item.span-4,
    .bento-item.span-6 {
        grid-column: span 12;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
    .stat-box:not(:last-child)::after { display: none; }
    .worldclass-hero { height: 60vh; min-height: 480px; }
    .hero-content h1 { font-size: 36px; }
    .section-heading { font-size: 38px; }
    .cta-heading { font-size: 32px; }
}

@media (max-width: 768px) {
    .worldclass-hero { height: 55vh; min-height: 420px; }
    .hero-content { padding: 0 5% 56px; }
    .hero-content h1 { font-size: 30px; }
    .hero-content p { font-size: 15px; }
    .hero-watermark { font-size: 60px; }
    .stats-bar { padding: 40px 0; }
    .stat-box h3 { font-size: 32px; }
    .section-heading { font-size: 32px; }
    .bento-item { min-height: 300px; }
    .bento-caption h3 { font-size: 22px; }
    .cta-heading { font-size: 28px; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-box h3 { font-size: 28px; }
    .bento-gallery { gap: 16px; }
    .bento-caption { padding: 24px; }
    .bento-caption h3 { font-size: 20px; }
}



/* === DARK CTA SECTION === */
.cta-section {
    background: #0a1f2e;
    padding: 120px 5%;
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.cta-inner {
    text-align: center;
    max-width: 800px;
}
.cta-eyebrow {
    font-family: var(--font-main);
    color: var(--amber);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 24px;
}
.cta-heading {
    color: white !important;
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 32px;
}
.cta-desc {
    color: rgba(255,255,255,0.7);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: var(--blue);
    color: white;
    padding: 24px 48px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}
.cta-btn svg { width: 20px; height: 20px; stroke: currentColor; transition: var(--transition); }
.cta-btn:hover { background: var(--blue-dark); color: white; }
.cta-btn:hover svg { transform: translateX(6px); }

/* === ODBA CREDIT === */
.odba-credit {
    background: #051017;
    color: rgba(255,255,255,0.4);
    text-align: center;
    padding: 24px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.odba-credit span { color: white; font-weight: 700; }

/* ─── SERVICES INDEX GRID & NAV (Beast Mode) ─── */
.svc-index { background: #0a1f2e; border-top: 1px solid rgba(255,255,255,0.05); }
.svc-index-inner { max-width: 1300px; margin: 0 auto; padding: 100px 5%; }
.svc-index-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 60px; gap: 40px; }
.svc-index-header h2 { color: white; font-size: 42px; font-weight: 300; text-transform: uppercase; margin: 0; letter-spacing: 1px; }
.svc-index-header p { color: rgba(255,255,255,0.6); max-width: 400px; font-size: 15px; margin: 0; text-align: right; line-height: 1.7; }
.svc-index-header .eyebrow { color: var(--blue-accent); margin-bottom: 12px; }

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(255,255,255,0.1); background: #071520; }
.svc-card { padding: 48px 40px; border-right: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); text-decoration: none; display: flex; flex-direction: column; gap: 20px; transition: var(--transition); cursor: pointer; position: relative; overflow: hidden; }
.svc-card:nth-child(3n) { border-right: none; }
.svc-card:nth-child(n+7) { border-bottom: none; }
.svc-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 0.5s; }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card:hover { background: #0c2637; }

.svc-card-num { font-size: 11px; font-weight: 800; color: var(--amber); letter-spacing: 2.5px; }
.svc-card-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: rgba(0,129,183,0.1); color: var(--blue-accent); font-size: 20px; transition: var(--transition); border-radius: 4px; }
.svc-card:hover .svc-card-icon { background: var(--blue); color: white; transform: translateY(-3px); }
.svc-card h3 { font-size: 18px; font-weight: 700; color: white; text-transform: uppercase; margin: 0; }
.svc-card p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.7; margin: 0; flex: 1; }
.svc-card-arrow { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; color: var(--blue-accent); text-transform: uppercase; letter-spacing: 1.5px; opacity: 0; transform: translateX(-8px); transition: var(--transition); }
.svc-card:hover .svc-card-arrow { opacity: 1; transform: translateX(0); }
.svc-card-arrow svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

/* Sticky Nav - HUD Style */
.svc-nav { background: #071520; border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); position: sticky; top: 76px; z-index: 1000; overflow-x: auto; -webkit-overflow-scrolling: touch; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.svc-nav::-webkit-scrollbar { display: none; }
.svc-nav-inner { max-width: 1300px; margin: 0 auto; padding: 0 5%; display: flex; min-width: max-content; }
.svc-nav-item { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 1px; padding: 20px 24px; text-decoration: none; border-bottom: 2px solid transparent; transition: all 0.3s; display: flex; align-items: center; gap: 10px; }
.svc-nav-item:hover, .svc-nav-item.active { color: white; border-bottom-color: var(--blue-accent); background: rgba(255,255,255,0.02); }
.svc-nav-num { font-size: 10px; color: var(--amber); font-weight: 800; }

/* Individual Details - Dark Mode */
.svc-detail { background: #0a1f2e; border-top: 1px solid rgba(255,255,255,0.05); scroll-margin-top: 130px; }
.svc-detail:nth-child(even) { background: #0c2637; }
.svc-detail .section-wrap { padding: 100px 5%; }
.svc-num-badge { font-family: var(--font-main); font-size: 80px; font-weight: 800; color: rgba(255,255,255,0.03); line-height: 1; margin-bottom: 24px; letter-spacing: -2px; }
.svc-detail .eyebrow { color: var(--amber); }
.svc-detail .section-heading { color: white; }
.svc-detail p, .svc-detail div[style*="var(--text-muted)"], .svc-detail div[style*="rgba(255,255,255,0.7)"] { color: rgba(255,255,255,0.65) !important; font-size: 16px !important; line-height: 1.8 !important; margin-bottom: 20px !important; }

/* Lists inside sections */
.svc-capabilities-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; margin-top: 32px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.08); }
.svc-cap-item { display: flex; align-items: center; gap: 12px; font-family: var(--font-main); font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.85); }
.svc-cap-dot { width: 6px; height: 6px; min-width: 6px; background: var(--blue-accent); }

/* ELV stats */
.svc-elv-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 36px; border: 1px solid rgba(255,255,255,0.1); }
.svc-elv-stat { padding: 32px 28px; border-right: 1px solid rgba(255,255,255,0.1); text-align: center; }
.svc-elv-stat:last-child { border-right: none; }
.svc-elv-stat h4 { font-size: 32px; font-weight: 800; color: white; margin-bottom: 6px; }
.svc-elv-stat p { font-size: 11px; font-weight: 700; color: var(--blue-accent); text-transform: uppercase; letter-spacing: 1.5px; margin: 0; }

@media(max-width: 1024px) {
    .svc-grid { grid-template-columns: repeat(2, 1fr); }
    .svc-card:nth-child(3n) { border-right: 1px solid rgba(255,255,255,0.05); }
    .svc-card:nth-child(2n) { border-right: none; }
    .svc-index-header { flex-direction: column; align-items: flex-start; }
    .svc-index-header p { text-align: left; }
    .svc-elv-stats { grid-template-columns: 1fr; }
    .svc-elv-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .svc-elv-stat:last-child { border-bottom: none; }
    .svc-capabilities-list { grid-template-columns: 1fr; }
}
@media(max-width: 768px) {
    .svc-grid { grid-template-columns: 1fr; }
    .svc-card { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.05) !important; }
    .svc-index-header h2 { font-size: 32px; }
    .svc-nav-item { padding: 14px 16px; font-size: 10px; }
    .svc-num-badge { font-size: 60px; }
}



/* =========================================================================
   VENDOR MARQUEE — Dual-Track Infinite Scroll
   ========================================================================= */
.vendor-marquee-wrap {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}
.vendor-marquee-wrap::before, .vendor-marquee-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    width: 12vw;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.vendor-marquee-wrap::before {
    left: 0;
    background: linear-gradient(to right, #ffffff 0%, transparent 100%);
}
.vendor-marquee-wrap::after {
    right: 0;
    background: linear-gradient(to left, #ffffff 0%, transparent 100%);
}
.vendor-marquee-track {
    display: inline-block;
    animation: marquee-scroll 35s linear infinite;
}
.vendor-marquee-track:hover {
    animation-play-state: paused;
}
.vendor-img {
    display: inline-block !important;
    height: 50px;
    width: auto;
    object-fit: contain;
    margin: 0 56px;
    vertical-align: middle;
    transition: transform 0.4s ease;
}
.vendor-img:hover {
    transform: scale(1.08);
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes marquee-scroll-reverse {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}


/* ═══════════════════════════════════════════════════════════════════════════
   PROJECTS PORTFOLIO — Architectural Gallery Layout
   Design: Foster+Partners / SOM presentation language
   White Tone · Large photography · Minimal chrome
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Hero ─── */
.proj-hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    background: #0a1f2e;
    overflow: hidden;
}
.proj-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    filter: contrast(110%) saturate(105%);
}
.proj-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 5% 80px;
    max-width: 800px;
}
.proj-hero-eyebrow {
    font-family: var(--font-main);
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 24px;
}
.proj-hero-content h1 {
    font-family: var(--font-main);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 300;
    color: white;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 20px;
}
.proj-hero-sub {
    font-family: var(--font-main);
    font-size: 15px;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    max-width: 520px;
    margin: 0;
}

/* ─── Portfolio Container ─── */
.proj-portfolio {
    max-width: 1400px;
    margin: 0 auto;
}

/* ─── Featured Full-Width Project ─── */
.proj-featured {
    padding: 80px 5% 0;
    border-bottom: 1px solid var(--border);
    position: relative;
}

/* ─── Image Wraps ─── */
.proj-img-wrap {
    overflow: hidden;
    line-height: 0;
    background: var(--surface);
}
.proj-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.proj-img-wrap:hover img {
    transform: scale(1.03);
}
.proj-img-wide {
    height: 520px;
}
.proj-img-tall {
    height: 480px;
}

/* ─── Project Info Block ─── */
.proj-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 40px 0 64px;
    gap: 48px;
}
.proj-info-primary {
    flex: 1;
    min-width: 0;
}
.proj-sector {
    font-family: var(--font-main);
    font-size: 11px;
    font-weight: 800;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 14px;
}
.proj-name {
    font-family: var(--font-main);
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 300;
    color: var(--text-dark);
    text-transform: uppercase;
    line-height: 1.15;
    letter-spacing: 0.5px;
    margin: 0;
}
.proj-brief {
    font-family: var(--font-main);
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 16px 0 0;
    max-width: 520px;
}
.proj-info-secondary {
    flex: 0 0 320px;
    text-align: right;
}
.proj-location {
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}
.proj-year {
    font-family: var(--font-main);
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}
.proj-scope {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}
.proj-scope span {
    font-family: var(--font-main);
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 14px;
    border: 1px solid var(--border);
    line-height: 1;
    transition: all 0.3s;
}
.proj-featured:hover .proj-scope span,
.proj-card:hover .proj-scope span {
    border-color: var(--blue);
    color: var(--blue);
}

/* ─── Paired Projects (Two-Column) ─── */
.proj-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--border);
}
.proj-card {
    padding: 80px 48px 0;
    position: relative;
}
.proj-card:first-child {
    padding-left: 5%;
    border-right: 1px solid var(--border);
}
.proj-card:last-child {
    padding-right: 5%;
}
.proj-card .proj-info {
    flex-direction: column;
    gap: 24px;
}
.proj-card .proj-info-secondary {
    flex: none;
    text-align: left;
}
.proj-card .proj-scope {
    justify-content: flex-start;
}
.proj-card .proj-name {
    font-size: clamp(22px, 2.5vw, 32px);
}

/* ─── Selected Engagements Ledger ─── */
.proj-ledger-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 5%;
    border-bottom: 1px solid var(--border);
}
.proj-ledger-header {
    margin-bottom: 60px;
}
/* ─── S-TIER TIMELINE GRAPH ─── */
.pi-timeline-wrapper {
    max-width: 1000px;
    margin: 80px auto;
    position: relative;
}
.pi-timeline {
    position: relative;
    padding: 0;
}
.pi-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 140px;
    width: 1px;
    background: var(--border);
}
.pi-timeline-wrapper::after {
    content: '';
    position: absolute;
    inset: -40px;
    background-image: radial-gradient(var(--border) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: -1;
    opacity: 0.3;
}
.pi-time-group {
    position: relative;
    padding: 24px 0 32px;
}
.pi-time-marker {
    position: absolute;
    top: 24px;
    left: 0;
    width: 100px;
    text-align: right;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 800;
    color: var(--blue);
    letter-spacing: 2px;
}
.pi-time-marker::after {
    content: '';
    position: absolute;
    top: 10px;
    right: -40px;
    width: 40px;
    height: 1px;
    background: var(--border);
}
.pi-time-node {
    position: relative;
    padding-left: 180px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    transition: all 0.3s;
}
.pi-time-node:last-child {
    margin-bottom: 0;
}
.pi-time-node::before {
    content: '';
    position: absolute;
    left: 138px;
    top: 12px;
    width: 5px;
    height: 5px;
    background: var(--surface);
    border: 1px solid var(--text-muted);
    transition: all 0.3s;
}
.pi-time-node:hover::before {
    background: var(--blue);
    border-color: var(--blue);
    transform: scale(1.5);
}
.pi-time-node::after {
    content: '';
    position: absolute;
    left: 144px;
    top: 14px;
    width: 0;
    height: 1px;
    background: var(--blue);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}
.pi-time-node:hover::after {
    width: 20px;
}
.pi-time-node:hover {
    padding-left: 200px;
}
.pi-title {
    flex: 1;
    font-family: var(--font-main);
    font-size: clamp(16px, 1.5vw, 20px);
    font-weight: 300;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    padding-right: 24px;
}
.pi-client {
    flex: 0 0 auto;
    font-family: var(--font-main);
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.proj-request-link {
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 700;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: color 0.3s;
}
.proj-request-link:hover {
    color: var(--blue-light);
}

/* ─── Scroll Reveal Animation ─── */
.proj-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.23, 1, 0.32, 1),
                transform 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}
.proj-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Projects Responsive ─── */
@media (max-width: 1024px) {
    .proj-pair {
        grid-template-columns: 1fr;
    }
    .proj-card:first-child {
        border-right: none;
        padding-left: 5%;
        padding-right: 5%;
        border-bottom: 1px solid var(--border);
    }
    .proj-card:last-child {
        padding-left: 5%;
        padding-right: 5%;
    }
    .proj-info {
        flex-direction: column;
        gap: 24px;
    }
    .proj-info-secondary {
        flex: none;
        text-align: left;
    }
    .proj-scope {
        justify-content: flex-start;
    }
    .proj-img-wide { height: 400px; }
    .proj-img-tall { height: 360px; }
}

@media (max-width: 768px) {
    .proj-hero {
        height: 65vh;
        min-height: 480px;
    }
    .proj-hero-content {
        padding: 0 5% 56px;
    }
    .proj-hero-content h1 {
        font-size: 32px;
    }
    .proj-hero-sub {
        font-size: 14px;
    }
    .proj-featured,
    .proj-card {
        padding: 56px 5% 0;
    }
    .proj-card:first-child,
    .proj-card:last-child {
        padding-left: 5%;
        padding-right: 5%;
    }
    .proj-img-wide { height: 260px; }
    .proj-img-tall { height: 240px; }
    .proj-info { padding: 28px 0 48px; }
    .proj-name { font-size: 24px !important; }
    .proj-card .proj-name { font-size: 22px !important; }
    .pi-timeline::before { left: 24px; }
    .pi-time-marker {
        position: relative;
        left: 0;
        top: 0;
        text-align: left;
        padding-left: 48px;
        margin-bottom: 24px;
        width: auto;
    }
    .pi-time-marker::after {
        right: auto;
        left: 24px;
        width: 16px;
    }
    .pi-time-node {
        padding-left: 48px;
        flex-direction: column;
        gap: 4px;
    }
    .pi-time-node:hover {
        padding-left: 56px;
    }
    .pi-time-node::before { left: 22px; }
    .pi-time-node::after { left: 28px; }
    .pi-title { padding-right: 0; }
    .proj-ledger-section { padding: 72px 5%; }
    .proj-scope span { font-size: 10px; padding: 5px 10px; }
}

@media (max-width: 480px) {
    .proj-hero {
        height: 55vh;
        min-height: 400px;
    }
    .proj-hero-content h1 {
        font-size: 28px;
    }
    .proj-img-wide { height: 200px; }
    .proj-img-tall { height: 200px; }
    .proj-featured,
    .proj-card {
        padding: 40px 5% 0;
    }
    .proj-info { padding: 24px 0 40px; gap: 16px; }
    .proj-name { font-size: 22px !important; }
}

