/* ==========================================================================
   PVE — Prospects Vision Engineering · Main stylesheet
   ========================================================================== */

:root {
    --navy: #103F4B;
    --navy-900: #0A2A33;
    --navy-950: #061C22;
    --teal: #007D8A;
    --teal-600: #006A75;
    --turq: #16B4C5;
    --turq-300: #6FDDE8;
    --orange: #F36F32;
    --orange-600: #DB5A1F;
    --off: #F5F8FA;
    --line: #E1E9EE;
    --text: #172B33;
    --muted: #546A74;
    --white: #fff;

    --font-head: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    --radius: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 2px rgba(16, 63, 75, .06), 0 2px 8px rgba(16, 63, 75, .05);
    --shadow: 0 10px 30px -10px rgba(16, 63, 75, .18);
    --shadow-lg: 0 30px 60px -20px rgba(6, 28, 34, .35);
    --container: 1240px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
    margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65;
    color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-600); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.ic { flex: none; }
p > .ic, h3 > .ic, li > .ic, .alert > .ic { display: inline-block; vertical-align: -0.2em; margin-right: 6px; }
:focus-visible { outline: 3px solid var(--turq); outline-offset: 2px; border-radius: 4px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 46px; padding: 0 22px; border-radius: 10px; border: 2px solid transparent;
    font: 600 15.5px/1 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: background .2s var(--ease), color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 16.5px; }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 8px 20px -8px rgba(0, 125, 138, .7); }
.btn-primary:hover { background: var(--teal-600); color: #fff; }
.btn-accent { background: var(--orange); color: #1b0d05; box-shadow: 0 10px 24px -10px rgba(243, 111, 50, .9); }
.btn-accent:hover { background: #ff8148; color: #1b0d05; }
.btn-outline { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn-outline:hover { background: var(--teal); color: #fff; }
.btn-ghost { color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--off); color: var(--navy); }
.btn-glass { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { color: var(--teal); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link-arrow .ic { transition: transform .2s var(--ease); }
.link-arrow:hover .ic, a:hover > .link-arrow .ic { transform: translateX(4px); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy-950); color: #b9d2d8; font-size: 13.5px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar a, .topbar span { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar-left { display: flex; gap: 22px; flex-wrap: wrap; }

.site-header {
    position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent;
    transition: box-shadow .25s, border-color .25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -12px rgba(16, 63, 75, .25); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand img { height: 48px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav li { position: relative; display: flex; align-items: center; }
.main-nav > ul > li > a {
    display: block; padding: 10px 14px; color: var(--navy); font: 600 15px/1 var(--font-head);
    text-decoration: none; border-radius: 8px; transition: background .15s, color .15s;
}
.main-nav > ul > li > a:hover, .main-nav li.is-active > a { color: var(--teal); background: rgba(22, 180, 197, .08); }
.main-nav li.is-active > a { box-shadow: inset 0 -2px 0 var(--turq); }
.sub-toggle { display: none; background: none; border: 0; color: var(--navy); cursor: pointer; padding: 8px; }
.sub {
    position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px; padding: 10px;
    background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s var(--ease);
}
.sub::before { content: ''; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.sub a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: 15px; }
.sub a:hover { background: var(--off); color: var(--teal); }
.sub a small { color: var(--muted); font-size: 12.5px; margin-left: 4px; }
.mega { width: 420px; }
.mega > a { display: flex; gap: 14px; align-items: flex-start; }
.mega > a .ic { color: var(--teal); background: rgba(22, 180, 197, .1); padding: 8px; width: 40px; height: 40px; border-radius: 10px; }
.mega > a strong { display: block; color: var(--navy); font-family: var(--font-head); }
.mega > a small { display: block; margin: 0; }
.mega-wide { width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mega-title { margin: 6px 12px 6px; font: 700 12px/1 var(--font-head); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.mega-all { color: var(--teal) !important; font-weight: 600; display: flex !important; align-items: center; gap: 6px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; background: var(--off); border: 0; border-radius: 10px; width: 46px; height: 46px; align-items: center; justify-content: center; color: var(--navy); cursor: pointer; }
.nav-mobile-cta { display: none; }
.nav-logo { display: none; }
.hero-logo { height: 42px; width: auto; margin: 0 0 18px auto; opacity: .95; }
.logo-card { position: absolute; top: 20px; left: 20px; background: rgba(255, 255, 255, .96); border-radius: 14px; padding: 16px 22px; box-shadow: var(--shadow); }
.logo-card img { height: 56px; width: auto; }
.page-logo { height: 54px; width: auto; margin: 0 auto 28px; }

@media (max-width: 1180px) { .hide-md { display: none; } }
@media (max-width: 1080px) {
    .nav-toggle { display: inline-flex; }
    .main-nav {
        position: fixed; inset: 0 0 0 auto; width: min(400px, 100%); background: #fff; z-index: 200;
        padding: 88px 20px 28px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s .3s;
        box-shadow: var(--shadow-lg);
    }
    body.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; z-index: 300; }
    body.nav-open .main-nav { transform: none; visibility: visible; transition: transform .3s var(--ease); }
    body.nav-open::after { content: ''; position: fixed; inset: 0; background: rgba(6, 28, 34, .5); z-index: 150; }
    body.nav-open .nav-toggle { position: fixed; top: 16px; right: 16px; z-index: 210; }
    .main-nav > ul { flex-direction: column; gap: 0; }
    .main-nav li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
    .main-nav > ul > li > a { flex: 1; padding: 16px 6px; font-size: 17px; }
    .main-nav li.is-active > a { box-shadow: none; }
    .sub-toggle { display: inline-flex; }
    .sub, .mega, .mega-wide { position: static; width: 100%; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px; }
    .has-sub.open > .sub { display: block; }
    .has-sub.open > .sub-toggle .ic { transform: rotate(180deg); }
    .mega-wide { grid-template-columns: 1fr; }
    .nav-mobile-cta { display: grid; gap: 10px; margin-top: 24px; }
    .nav-logo { display: block; position: absolute; top: 22px; left: 20px; height: 40px; width: auto; }
    .header-actions .btn-primary span { display: none; }
    .header-actions .btn-primary { padding: 0 14px; }
}
@media (max-width: 720px) {
    .hide-sm { display: none !important; }
    .container { padding: 0 18px; }
    .topbar-left { gap: 14px; }
    .topbar-left a:nth-child(2) { display: none; }
    .brand img { height: 40px; }
}

/* ---------- Generic sections ---------- */
.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; }
.section-off { background: var(--off); }
.section-dark { background: var(--navy-950); color: #cfe3e8; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head p { color: var(--muted); font-size: 18px; }
.section-dark .section-head p { color: #a9c6cd; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.section-head-row .section-head { margin-bottom: 0; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
    font: 700 13px/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--teal);
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: linear-gradient(90deg, var(--turq), var(--orange)); border-radius: 2px; }
.eyebrow.light { color: var(--turq-300); }
.lead { font-size: 19px; color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) {
    .section { padding: 56px 0; } .section-sm { padding: 44px 0; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    body { font-size: 16.5px; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden; color: #d6e8ec;
    background:
        radial-gradient(1000px 600px at 85% 10%, rgba(22, 180, 197, .35), transparent 60%),
        radial-gradient(700px 500px at 10% 100%, rgba(243, 111, 50, .18), transparent 60%),
        linear-gradient(135deg, var(--navy-950) 0%, var(--navy) 55%, #0b5560 100%);
    padding: 96px 0 120px;
}
.hero::before {
    content: ''; position: absolute; inset: 0; opacity: .5;
    background-image: linear-gradient(rgba(111, 221, 232, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(111, 221, 232, .08) 1px, transparent 1px);
    background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
}
.hero-photo { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .22; mix-blend-mode: luminosity; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 .grad { background: linear-gradient(90deg, var(--turq-300), var(--turq) 50%, #ffb48f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: #b9d4da; max-width: 600px; font-size: 19px; margin-bottom: 34px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; margin-bottom: 26px;
    border: 1px solid rgba(111, 221, 232, .3); background: rgba(255, 255, 255, .06); border-radius: 999px; font-size: 14px; color: #d6eef2;
}
.hero-badge b { white-space: nowrap; background: var(--orange); color: #1b0d05; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.hero-trust { display: flex; gap: 28px; margin-top: 44px; flex-wrap: wrap; }
.hero-trust div { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: #b9d4da; }
.hero-trust .ic { color: var(--turq); }

.hero-visual { position: relative; }
.hero-card {
    position: relative; border-radius: var(--radius-lg); padding: 28px;
    background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03));
    border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(10px); box-shadow: var(--shadow-lg);
}
.hero-art { width: 100%; height: auto; }
.hero-art .spin { transform-origin: 200px 150px; animation: spin 18s linear infinite; }
.hero-art .flow { stroke-dasharray: 6 10; animation: flow 1.6s linear infinite; }
.hero-art .pulse { animation: pulse 2.4s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes flow { to { stroke-dashoffset: -32; } }
@keyframes pulse { 50% { opacity: .35; } }
.float-stat {
    position: absolute; background: #fff; color: var(--navy); border-radius: 14px; padding: 14px 18px;
    box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; animation: bob 5s ease-in-out infinite;
}
.float-stat strong { font: 800 26px/1 var(--font-head); display: block; }
.float-stat small { color: var(--muted); font-size: 13px; }
.float-stat .ic { color: #fff; background: var(--teal); border-radius: 10px; padding: 8px; width: 40px; height: 40px; }
.float-stat.a { left: -34px; bottom: 34px; }
.float-stat.b { left: -24px; top: -22px; animation-delay: -2.5s; }
.float-stat.b .ic { background: var(--orange); }
@keyframes bob { 50% { transform: translateY(-10px); } }
@media (max-width: 980px) {
    .hero { padding: 64px 0 96px; }
    .hero-inner { grid-template-columns: 1fr; gap: 48px; }
    .float-stat.a { left: 8px; bottom: -24px; } .float-stat.b { left: 8px; top: -24px; }
}

/* ---------- Partner marquee ---------- */
.partners-band { position: relative; margin-top: -56px; z-index: 5; }
.partners-panel {
    background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
    padding: 28px 0 30px; overflow: hidden;
}
.partners-label { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 0 32px 22px; flex-wrap: wrap; }
.partners-label p { margin: 0; font: 700 13px/1.3 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.partners-label a { font-weight: 600; font-size: 15px; text-decoration: none; }
.marquee { position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 22px; width: max-content; animation: marquee 38s linear infinite; padding: 4px 0; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 11px)); } }
.logo-tile {
    flex: none; width: 230px; height: 118px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    background: #fff; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; position: relative;
    transition: border-color .2s, box-shadow .25s, transform .25s var(--ease);
}
.logo-tile img { height: 52px; width: auto; max-width: 180px; object-fit: contain; filter: saturate(1.05); }
.logo-tile span { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.logo-tile:hover { border-color: var(--turq); box-shadow: 0 14px 30px -14px rgba(0, 125, 138, .45); transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
    .marquee-track [aria-hidden="true"] { display: none; }
    .marquee { mask-image: none; -webkit-mask-image: none; }
}
@media (max-width: 720px) { .logo-tile { width: 180px; height: 100px; } .logo-tile img { height: 42px; } .partners-label { padding: 0 20px 18px; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--line); gap: 1px; }
.stat { background: #fff; padding: 30px 28px; }
.stat strong { display: block; font: 800 clamp(2.2rem, 4vw, 3rem)/1 var(--font-head); color: var(--navy); letter-spacing: -.03em; }
.stat strong sup { color: var(--orange); font-size: .55em; top: -.7em; }
.stat > span { color: var(--muted); font-size: 15px; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat { padding: 22px 18px; } }

/* ---------- Cards ---------- */
.card {
    position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px;
    transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card p { color: var(--muted); }
.card .link-arrow { margin-top: auto; }
.card-icon {
    width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
    color: #fff; background: linear-gradient(135deg, var(--teal), var(--turq)); box-shadow: 0 10px 22px -10px rgba(0, 125, 138, .8);
}
.card-icon.orange { background: linear-gradient(135deg, var(--orange-600), #ff9a63); box-shadow: 0 10px 22px -10px rgba(243, 111, 50, .8); }
.card-icon.navy { background: linear-gradient(135deg, var(--navy), #1d6575); }
.card a.stretched::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.card-num { position: absolute; top: 24px; right: 28px; font: 800 44px/1 var(--font-head); color: var(--off); }
.list-check { list-style: none; padding: 0; margin: 0 0 1.2em; }
.list-check li { position: relative; padding-left: 30px; margin-bottom: 9px; }
.list-check li::before {
    content: ''; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%;
    background: rgba(22, 180, 197, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007D8A' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* Industry cards */
.industry {
    position: relative; overflow: hidden; border-radius: var(--radius-lg); min-height: 380px; padding: 28px; color: #fff;
    display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; isolation: isolate;
    background: var(--navy);
}
.industry::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--bg) center/cover; transition: transform .6s var(--ease); }
.industry::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 28, 34, 0) 20%, rgba(6, 28, 34, .92) 85%); }
.industry:hover::before { transform: scale(1.06); }
.industry .ic-wrap { position: absolute; top: 24px; left: 24px; width: 52px; height: 52px; border-radius: 14px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(8px); display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .25); }
.industry h3 { color: #fff; font-size: 1.4rem; margin-bottom: 8px; }
.industry p { color: #c7dde2; font-size: 15px; margin-bottom: 14px; }
.industry .link-arrow { color: var(--turq-300); }

/* Project cards */
.project {
    border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line);
    display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s; position: relative;
}
.project:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.project-media { aspect-ratio: 16/10; background: var(--bg) center/cover, var(--navy); position: relative; }
.project-media .tag { position: absolute; top: 16px; left: 16px; }
.project-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.project-meta { display: flex; gap: 14px; font-size: 13.5px; color: var(--muted); margin-bottom: 10px; flex-wrap: wrap; }
.project-meta span { display: inline-flex; gap: 6px; align-items: center; }
.project h3 { font-size: 1.2rem; }
.project p { color: var(--muted); font-size: 15.5px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font: 600 12.5px/1.2 var(--font-body); background: rgba(22, 180, 197, .14); color: var(--teal-600); }
.tag.white { background: rgba(255, 255, 255, .95); color: var(--navy); }
.tag.orange { background: rgba(243, 111, 50, .14); color: #b0461a; }
.tag.navy { background: var(--navy); color: #fff; }

/* Service panels */
.service-panel {
    position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 40px; color: #d6e8ec;
    background: linear-gradient(140deg, var(--navy) 0%, var(--navy-950) 100%); display: flex; flex-direction: column;
    border: 1px solid rgba(111, 221, 232, .15); min-height: 360px;
}
.service-panel.alt { background: linear-gradient(140deg, #005c66 0%, var(--navy) 100%); }
.service-panel::after { content: ''; position: absolute; width: 340px; height: 340px; right: -110px; top: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(22, 180, 197, .35), transparent 70%); }
.service-panel h3 { color: #fff; font-size: 1.7rem; }
.service-panel p { color: #b6d0d6; }
.service-panel .brand-logo { height: 46px; width: auto; background: #fff; padding: 8px 14px; border-radius: 10px; margin-bottom: 26px; }
.service-panel ul { margin-bottom: 28px; }
.service-panel .list-check li { color: #d6e8ec; }
.service-panel .btn { margin-top: auto; align-self: flex-start; position: relative; z-index: 1; }

/* Feature split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; background: var(--bg, var(--navy)) center/cover; box-shadow: var(--shadow-lg); }
.split-media .overlay-card { position: absolute; left: 20px; right: 20px; bottom: 20px; background: rgba(255, 255, 255, .95); border-radius: 14px; padding: 18px 20px; display: flex; gap: 14px; align-items: center; }
.split-media .overlay-card .ic { color: var(--teal); }
@media (max-width: 980px) { .split { grid-template-columns: 1fr; gap: 36px; } .split.reverse > :first-child { order: 0; } .split-media { min-height: 300px; } }

/* Page hero (inner pages) */
.page-hero {
    position: relative; overflow: hidden; padding: 72px 0 64px; color: #cfe3e8;
    background: radial-gradient(800px 400px at 90% 0%, rgba(22, 180, 197, .3), transparent 60%), linear-gradient(135deg, var(--navy-950), var(--navy));
}
.page-hero::before { content: ''; position: absolute; inset: 0; opacity: .4; background-image: linear-gradient(rgba(111, 221, 232, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(111, 221, 232, .08) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.1rem); max-width: 820px; }
.page-hero .lead { color: #b6d0d6; max-width: 720px; margin-bottom: 0; }
.page-hero .btn-row { margin-top: 28px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; font-size: 14px; }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; color: #6c939c; }
.breadcrumb a { color: var(--turq-300); text-decoration: none; }
.breadcrumb [aria-current] { color: #9dbcc3; }

/* Sticky side nav for long pages */
.layout-side { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
.layout-side > *, .form-shell > *, .split > * { min-width: 0; }
.side-nav { position: sticky; top: calc(var(--header-h) + 24px); border: 1px solid var(--line); border-radius: 16px; padding: 12px; background: #fff; }
.side-nav a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; }
.side-nav a:hover, .side-nav a.active { background: var(--off); color: var(--teal); }
@media (max-width: 980px) { .layout-side { grid-template-columns: 1fr; } .side-nav { position: static; display: flex; overflow-x: auto; gap: 4px; } .side-nav a { white-space: nowrap; } }

.block { scroll-margin-top: calc(var(--header-h) + 24px); padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--line); }
.block:last-child { border-bottom: 0; margin-bottom: 0; }
.block-head { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; }
.block-head .card-icon { margin: 0; }
.block-head h2 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 22px 0; }
.spec { background: var(--off); border-radius: 14px; padding: 20px 22px; }
.spec h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--teal); margin-bottom: 10px; }
.spec ul { margin: 0; padding-left: 18px; color: var(--text); font-size: 15.5px; }
.spec p { font-size: 15.5px; margin: 0; color: var(--text); }
@media (max-width: 720px) { .spec-grid { grid-template-columns: 1fr; } }

/* Partner grid page */
.partner-card { display: flex; flex-direction: column; }
.partner-card .logo-box { height: 120px; display: grid; place-items: center; background: var(--off); border-radius: 14px; margin-bottom: 22px; }
.partner-card .logo-box img { height: 56px; width: auto; max-width: 80%; }
.country { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; color: var(--muted); font-weight: 500; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.step-card { position: relative; padding-top: 18px; }
.step-card::before { counter-increment: s; content: '0' counter(s); font: 800 15px/1 var(--font-head); color: var(--orange); display: block; margin-bottom: 14px; }
.step-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--turq), transparent); border-radius: 3px; }
.step-card p { color: var(--muted); font-size: 15.5px; }
.section-dark .step-card p { color: #a9c6cd; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--off); font: 700 13px/1.3 var(--font-head); text-transform: uppercase; letter-spacing: .06em; color: var(--navy); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fbfdfe; }

/* Filter chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 16px; font: 600 14px/1 var(--font-body); color: var(--navy); cursor: pointer; transition: all .15s; }
.chip:hover { border-color: var(--turq); }
.chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Customers */
.customer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.customer { border: 1px solid var(--line); border-radius: 14px; padding: 22px; background: #fff; display: flex; gap: 14px; align-items: center; transition: border-color .2s, box-shadow .2s; }
.customer:hover { border-color: var(--turq); box-shadow: var(--shadow-sm); }
.customer .mono { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font: 800 15px/1 var(--font-head); color: #fff; background: linear-gradient(135deg, var(--navy), var(--teal)); }
.customer strong { display: block; font-family: var(--font-head); color: var(--navy); line-height: 1.3; font-size: 15.5px; }
.customer small { color: var(--muted); }
@media (max-width: 980px) { .customer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .customer-grid { grid-template-columns: 1fr; } }

/* Certificates / resources */
.cert { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: start; }
.cert-badge { aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center; color: #fff; background: conic-gradient(from 200deg, var(--turq), var(--teal), var(--navy), var(--turq)); padding: 10px; box-shadow: var(--shadow); }
.cert-badge div { background: var(--navy); border-radius: 50%; width: 100%; height: 100%; display: grid; place-items: center; font: 800 18px/1.1 var(--font-head); }
.cert-badge small { display: block; font-size: 11px; font-weight: 600; opacity: .8; }
dl.meta { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; font-size: 15px; margin: 12px 0 0; }
dl.meta dt { color: var(--muted); }
dl.meta dd { margin: 0; font-weight: 500; }
.resource { display: flex; gap: 18px; align-items: center; padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.resource .ic-box { width: 52px; height: 52px; border-radius: 12px; background: rgba(243, 111, 50, .12); color: var(--orange-600); display: grid; place-items: center; flex: none; }
.resource h3 { font-size: 1.05rem; margin: 0 0 4px; }
.resource p { margin: 0; color: var(--muted); font-size: 14px; }
.resource .btn { margin-left: auto; }
@media (max-width: 640px) { .resource { flex-wrap: wrap; } .resource .btn { margin-left: 0; width: 100%; } .cert { grid-template-columns: 80px 1fr; } }

/* Contact */
.contact-card { display: flex; gap: 16px; padding: 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.contact-card .ic-box { width: 48px; height: 48px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(22, 180, 197, .12); color: var(--teal); }
.contact-card h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-card p { margin: 0; color: var(--muted); font-size: 15px; }
.contact-card a { font-weight: 600; text-decoration: none; }
.map-embed { border: 0; width: 100%; height: 100%; min-height: 340px; border-radius: var(--radius-lg); filter: saturate(.8); }

/* ---------- Forms ---------- */
.form-shell { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
@media (max-width: 1024px) { .form-shell { grid-template-columns: 1fr; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); }
@media (max-width: 720px) { .form-card { padding: 24px 18px; border-radius: 16px; } }
.form-group { border: 0; padding: 0; margin: 0 0 36px; }
.form-group legend { display: flex; align-items: center; gap: 12px; font: 700 1.25rem/1.2 var(--font-head); color: var(--navy); margin-bottom: 20px; padding: 0; }
.form-group legend .step { width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 14px; }
.field { margin-bottom: 18px; }
.field.full, .grid-2 > .full { grid-column: 1 / -1; }
.grid-2 > .field { margin-bottom: 0; }
.form-group .grid-2 { row-gap: 18px; }
label { display: block; font-weight: 600; font-size: 15px; color: var(--navy); margin-bottom: 7px; }
.req { color: #c4441a; }
.opt { color: var(--muted); font-weight: 400; font-size: 13.5px; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], input[type=password], select, textarea {
    width: 100%; min-height: 48px; padding: 12px 14px; font: 400 16px/1.4 var(--font-body); color: var(--text);
    background: #fff; border: 1.5px solid #cfdde4; border-radius: 10px; transition: border-color .15s, box-shadow .15s; appearance: none;
}
select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23103F4B' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center/18px no-repeat; padding-right: 40px; }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(22, 180, 197, .2); }
[aria-invalid=true] { border-color: #c4441a !important; }
.field-error { color: #b23a12; font-size: 14px; margin: 6px 0 0; font-weight: 500; }
.hint { color: var(--muted); font-size: 13.5px; margin: 6px 0 0; }
.radio-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.radio-cards label { position: relative; display: flex; align-items: center; gap: 10px; padding: 13px 14px; margin: 0; border: 1.5px solid #cfdde4; border-radius: 10px; cursor: pointer; font-weight: 500; font-size: 15px; transition: all .15s; min-height: 48px; }
.radio-cards input { accent-color: var(--teal); width: 18px; height: 18px; flex: none; margin: 0; }
.radio-cards label:has(input:checked) { border-color: var(--teal); background: rgba(22, 180, 197, .08); color: var(--navy); }
.checkbox { display: flex; gap: 12px; align-items: flex-start; }
.checkbox input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--teal); flex: none; }
.checkbox label { font-weight: 400; font-size: 14.5px; color: var(--text); }
.inline-check { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14px; color: var(--muted); margin-top: 8px; }
.inline-check input { accent-color: var(--teal); width: 17px; height: 17px; }
.dropzone { position: relative; border: 2px dashed #b7cdd5; border-radius: 14px; padding: 28px 20px; text-align: center; background: var(--off); transition: border-color .2s, background .2s; color: var(--teal); }
.dropzone.drag { border-color: var(--teal); background: rgba(22, 180, 197, .08); }
.dropzone .ic { margin: 0 auto 8px; }
.dropzone p { margin: 0; color: var(--text); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.file-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; background: var(--off); font-size: 14px; }
.file-list li.bad { background: #fdecE5; color: #8a2c0c; }
.file-list button { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 13px; text-decoration: underline; }
.conditional { display: none; padding: 22px; border-radius: 14px; background: var(--off); border-left: 4px solid var(--turq); margin-bottom: 18px; }
.conditional.show { display: block; }
.conditional h4 { font-size: 1rem; margin-bottom: 14px; }
.unit-row { position: relative; padding: 20px; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 14px; background: #fff; }
.unit-row .unit-title { font: 700 14px/1 var(--font-head); color: var(--teal); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; display: flex; justify-content: space-between; }
.unit-row .remove-unit { background: none; border: 0; color: #b23a12; cursor: pointer; font-size: 13px; text-transform: none; letter-spacing: 0; }
.alert { border-radius: 14px; padding: 18px 22px; margin-bottom: 26px; }
.alert ul { margin: 8px 0 0; padding-left: 20px; }
.alert-error { background: #fdf0ea; border: 1px solid #f3c2ab; color: #7a2a0c; }
.alert-error a { color: #7a2a0c; }
.alert-info { background: #eaf8fa; border: 1px solid #b6e6ec; color: var(--navy); }
.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 24px; }
.form-submit .btn[disabled] { opacity: .7; pointer-events: none; }
.aside-card { background: var(--off); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 20px; }
.aside-card h3 { font-size: 1.1rem; }
.aside-card p, .aside-card li { font-size: 15px; color: var(--muted); }
.aside-card.dark { background: var(--navy); color: #cfe3e8; }
.aside-card.dark h3 { color: #fff; }
.aside-card.dark p { color: #b6d0d6; }
.aside-card.dark a { color: var(--turq-300); }
.form-aside { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 1024px) { .form-aside { position: static; } }

/* Success */
.success-box { text-align: center; max-width: 680px; margin: 0 auto; }
.success-icon { width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 24px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--teal), var(--turq)); box-shadow: 0 20px 40px -14px rgba(0, 125, 138, .7); }
.ref-box { display: inline-block; font: 800 26px/1 var(--font-head); letter-spacing: .04em; color: var(--navy); background: var(--off); border: 2px dashed var(--turq); border-radius: 14px; padding: 18px 28px; margin: 12px 0 24px; }

/* Prose */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: #304750; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #9dbcc3; font-size: 15px; }
.footer-cta { background: linear-gradient(120deg, var(--teal) 0%, var(--navy) 70%); position: relative; overflow: hidden; }
.footer-cta::after { content: ''; position: absolute; right: -120px; top: -160px; width: 480px; height: 480px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .06); }
.footer-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 64px 28px; position: relative; z-index: 1; }
.footer-cta h2 { color: #fff; margin-bottom: 10px; }
.footer-cta p { color: #cde6ea; max-width: 560px; margin: 0; }
@media (max-width: 900px) { .footer-cta-inner { flex-direction: column; align-items: flex-start; padding: 48px 18px; } }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 48px; padding-top: 72px; padding-bottom: 56px; }
.footer-grid h3 { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 20px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 11px; }
.footer-grid a { color: #b8d2d8; text-decoration: none; }
.footer-grid a:hover { color: var(--turq-300); }
.footer-brand img { height: 54px; width: auto; margin-bottom: 20px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .ic { color: var(--turq); margin-top: 3px; }
.footer-contact small { color: #7fa1a9; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 255, 255, .07); color: #fff; }
.social a:hover { background: var(--teal); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; font-size: 14px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #b8d2d8; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 52px; } }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .7); transition: transform .2s var(--ease); }
.wa-float:hover { transform: scale(1.08); color: #fff; }
body.on-form .wa-float { display: none; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================================
   Company-profile content: projects, galleries, certificates, customers
   ========================================================================== */
.project-kpi { position: absolute; right: 14px; bottom: 14px; background: rgba(6, 28, 34, .82); backdrop-filter: blur(6px); color: #fff; border-radius: 12px; padding: 8px 14px; text-align: right; border: 1px solid rgba(111, 221, 232, .3); }
.project-kpi strong { display: block; font: 800 20px/1.1 var(--font-head); color: var(--turq-300); }
.project-kpi small { font-size: 11.5px; color: #cfe3e8; }
.project-media { background-size: cover; background-position: center; }

.photo-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 28px; }
.photo-strip a { aspect-ratio: 1; border-radius: 14px; background: var(--bg) center/cover, var(--navy); transition: transform .3s var(--ease), filter .3s; filter: saturate(.9); }
.photo-strip a:hover { transform: scale(1.04); filter: saturate(1.15); }
@media (max-width: 720px) { .photo-strip { grid-template-columns: repeat(3, 1fr); } }

.customers-band { overflow: hidden; }
.marquee-slow .marquee-track { animation-duration: 60s; gap: 18px; }
.cust-tile { flex: none; width: 170px; height: 104px; background: #fff; border: 1px solid var(--line); border-radius: 16px; display: grid; place-items: center; padding: 12px; }
.cust-tile img { max-height: 76px; max-width: 140px; width: auto; height: auto; object-fit: contain; }

.cert-fan { position: relative; height: 440px; }
.cert-card { position: absolute; top: 20px; width: 56%; background: #fff; padding: 8px; border-radius: 12px; box-shadow: var(--shadow-lg); transition: transform .35s var(--ease), z-index 0s; }
.cert-card img { border-radius: 6px; }
.cert-card.c0 { left: 0; transform: rotate(-7deg); }
.cert-card.c1 { left: 22%; top: 0; z-index: 2; }
.cert-card.c2 { right: 0; transform: rotate(7deg); }
.cert-card:hover { transform: translateY(-10px) rotate(0); z-index: 3; }
@media (max-width: 980px) { .cert-fan { height: 360px; } }
@media (max-width: 560px) { .cert-fan { height: 260px; } }

/* Project detail */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ba-item { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; background: var(--navy); box-shadow: var(--shadow); }
.ba-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.ba-item:hover img { transform: scale(1.05); }
.ba-label { position: absolute; left: 14px; top: 14px; background: var(--teal); color: #fff; font: 700 13px/1 var(--font-head); padding: 8px 12px; border-radius: 8px; letter-spacing: .02em; }
.ba-label.after { background: var(--orange); color: #1b0d05; }
@media (max-width: 560px) { .ba-grid { grid-template-columns: 1fr; } }
.scope-2col { columns: 2; column-gap: 28px; }
.scope-2col li { break-inside: avoid; }
@media (max-width: 720px) { .scope-2col { columns: 1; } }
.challenges { list-style: none; padding: 0; margin: 20px 0 0; counter-reset: c; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.challenges li { counter-increment: c; position: relative; background: var(--off); border-radius: 14px; padding: 20px 20px 18px 64px; }
.challenges li::before { content: counter(c); position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font: 700 14px/1 var(--font-head); }
.challenges h3 { font-size: 1rem; margin-bottom: 6px; }
.challenges p { font-size: 15px; color: var(--muted); margin: 0; }
@media (max-width: 720px) { .challenges { grid-template-columns: 1fr; } }
.outcome { display: flex; gap: 10px; align-items: flex-start; background: rgba(22, 180, 197, .1); border-left: 4px solid var(--turq); padding: 16px 18px; border-radius: 10px; font-weight: 500; color: var(--navy) !important; }
.outcome .ic { color: var(--teal); margin-top: 3px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-top: 18px; }
.gallery a { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--off); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.gallery a:hover img { transform: scale(1.07); }
.gallery span { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 8px; font-size: 12.5px; color: #fff; background: linear-gradient(transparent, rgba(6, 28, 34, .85)); }
.kpi-card { background: linear-gradient(135deg, var(--teal), var(--navy)); color: #fff; border-radius: var(--radius-lg); padding: 26px 28px; margin-bottom: 20px; }
.kpi-card strong { display: block; font: 800 2.6rem/1 var(--font-head); color: #fff; }
.kpi-card span { color: #cfe3e8; }
.mini-project { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--navy); font-weight: 600; font-size: 14px; line-height: 1.35; margin-bottom: 12px; }
.mini-project img { width: 64px; height: 52px; object-fit: cover; border-radius: 8px; flex: none; }
.mini-project:hover { color: var(--teal); }

/* References */
.ref-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 28px; }
.ref-stats div { background: rgba(255, 255, 255, .06); border: 1px solid rgba(111, 221, 232, .2); border-radius: 16px; padding: 22px; }
.ref-stats strong { display: block; font: 800 2.4rem/1 var(--font-head); color: #fff; margin-bottom: 6px; }
.ref-stats div:nth-child(4) strong { color: var(--turq-300); }
.ref-stats div:nth-child(5) strong { color: #ffb48f; }
.ref-stats span { font-size: 14px; color: #a9c6cd; }
.coverage { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.coverage div { border-top: 3px solid var(--turq); padding-top: 14px; }
.coverage h3 { font-size: 1rem; margin-bottom: 6px; }
.coverage p { font-size: 14.5px; color: #a9c6cd; margin: 0; }
@media (max-width: 980px) { .ref-stats { grid-template-columns: repeat(3, 1fr); } .coverage { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ref-stats { grid-template-columns: 1fr 1fr; } .coverage { grid-template-columns: 1fr; } }
tr.group-row td { background: var(--navy); color: #fff; font-size: 14px; }
tr.group-row span { color: #a9c6cd; margin-left: 8px; }
.type-label { font-weight: 600; color: var(--teal); font-size: 13.5px; white-space: nowrap; }

/* Customers */
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.logo-cell { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 14px 14px; text-align: center; transition: border-color .2s, box-shadow .25s, transform .25s var(--ease); }
.logo-cell:hover { border-color: var(--turq); box-shadow: var(--shadow); transform: translateY(-4px); }
.logo-cell div { height: 96px; display: grid; place-items: center; }
.logo-cell img { max-height: 90px; max-width: 150px; width: auto; height: auto; object-fit: contain; }
.logo-cell figcaption { margin-top: 12px; font-size: 13.5px; font-weight: 600; color: var(--navy); line-height: 1.3; }

/* Certificates */
.cert-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s var(--ease); }
.cert-item:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.cert-frame { position: relative; display: block; background: linear-gradient(160deg, var(--off), #e3edf1); padding: 22px 26px 0; }
.cert-frame img { border-radius: 8px 8px 0 0; box-shadow: 0 -6px 24px -10px rgba(16, 63, 75, .35); }
.cert-frame .zoom { position: absolute; right: 16px; top: 16px; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; opacity: 0; transition: opacity .2s; }
.cert-frame:hover .zoom { opacity: 1; }
.cert-body { padding: 22px 24px 24px; }
.cert-body h3 { margin: 12px 0 4px; }
.cert-details { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.cert-details div { background: #fff; padding: 20px 22px; }
.cert-details span { display: block; font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.cert-details strong { font-weight: 600; color: var(--navy); font-size: 15px; }
@media (max-width: 980px) { .cert-details { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cert-details { grid-template-columns: 1fr; } }
.keystones { display: grid; gap: 12px; }
.keystones div { display: flex; gap: 16px; align-items: baseline; background: #fff; border-radius: 12px; padding: 16px 18px; border-left: 4px solid var(--orange); }
.keystones strong { font: 800 1.15rem/1 var(--font-head); color: var(--navy); min-width: 70px; }
.keystones span { color: var(--muted); font-size: 15.5px; }
.letter { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.letter-pages { display: flex; gap: 12px; padding: 22px; background: var(--off); justify-content: center; }
.letter-pages a { flex: 1; max-width: 240px; background: #fff; padding: 6px; border-radius: 8px; box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.letter-pages a:hover { transform: translateY(-6px) rotate(-1deg); }
.letter-body { padding: 24px 26px 26px; }
.letter-body blockquote { margin: 0 0 16px; font-size: 16.5px; font-style: italic; color: #304750; border-left: 3px solid var(--turq); padding-left: 16px; }
.letter-body h3 { font-size: 1.05rem; margin-bottom: 4px; }
.letter-body p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* Products */
.cat-media { display: flex; gap: 12px; margin: 4px 0 22px; }
.cat-media img { flex: 1; min-width: 0; max-height: 300px; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow); background: #fff; }
.cat-media img + img { object-fit: contain; }

/* Services & training */
.photo-mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 150px); gap: 10px; }
.photo-mosaic a { border-radius: 14px; overflow: hidden; }
.photo-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.photo-mosaic a:hover img { transform: scale(1.06); }
.photo-mosaic .m0 { grid-row: span 2; }
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.photo-grid a { border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.photo-grid a:hover img { transform: scale(1.06); }
.highlight-quote { display: flex; gap: 18px; align-items: center; background: var(--navy); color: #cfe3e8; border-radius: 16px; padding: 20px 24px; margin-top: 24px; }
.highlight-quote strong { font: 800 2.8rem/1 var(--font-head); color: var(--turq-300); }
.scope-band { background: var(--navy-950); padding: 56px 0; }
.scope-banner { width: 100%; border-radius: var(--radius-lg); margin-bottom: 26px; }
.scope-items { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.scope-items div { background: rgba(255, 255, 255, .06); border: 1px solid rgba(111, 221, 232, .2); border-radius: 16px; padding: 22px 14px; text-align: center; color: #fff; }
.scope-items span { width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: rgba(243, 111, 50, .15); color: #ffb48f; }
.scope-items strong { font-family: var(--font-head); font-size: 15px; }
.scope-note { color: #a9c6cd; text-align: center; margin: 24px auto 0; max-width: 760px; }
@media (max-width: 900px) { .scope-items { grid-template-columns: repeat(2, 1fr); } }
.profile-feature { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; }
.profile-cover { display: block; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); transform: rotate(-2deg); transition: transform .3s var(--ease); }
.profile-cover:hover { transform: rotate(0) translateY(-6px); }
@media (max-width: 860px) { .profile-feature { grid-template-columns: 1fr; gap: 32px; } .profile-cover { max-width: 420px; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(6, 28, 34, .94); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 8px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); background: #fff; }
.lightbox figcaption { color: #cfe3e8; margin-top: 14px; font-size: 15px; text-align: center; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); border: 0; color: #fff; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; font-size: 26px; line-height: 1; }
.lightbox button:hover { background: var(--teal); }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox { padding: 60px 10px; } .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 14px; transform: none; } }
body.lb-open { overflow: hidden; }
.service-panel .brand-logo { align-self: flex-start; object-fit: contain; max-width: 220px; }

/* Filtered items must hide even when the component sets display */
[hidden] { display: none !important; }

/* Project photos keep their natural orientation (portrait or landscape) */
.ba-item { aspect-ratio: auto; height: 380px; background: var(--navy-950); }
.ba-item img { object-fit: contain; }
.ba-item:hover img { transform: scale(1.03); }
@media (max-width: 560px) { .ba-item { height: 300px; } }
.gallery { display: block; columns: 4 170px; column-gap: 12px; }
.gallery a { display: block; aspect-ratio: auto; margin-bottom: 12px; break-inside: avoid; }
.gallery img { height: auto; object-fit: initial; }
