:root {
    --navy: #003b78;
    --navy-950: #00152f;
    --navy-900: #00234c;
    --blue: #0077b6;
    --cyan: #00a8cc;
    --yellow: #ffd400;
    --yellow-dark: #e8be00;
    --ink: #102338;
    --muted: #66788b;
    --light: #f3f7fb;
    --white: #ffffff;
    --border: #dfe8f0;
    --shadow: 0 20px 60px rgba(3, 29, 58, .12);
    --radius: 22px;
    --header-height: 88px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
::selection { color: var(--navy-950); background: var(--yellow); }
.skip-link {
    position: fixed;
    z-index: 9999;
    top: 10px;
    left: 10px;
    padding: .7rem 1rem;
    color: var(--white);
    background: var(--navy);
    border-radius: .5rem;
    transform: translateY(-160%);
}
.skip-link:focus { transform: none; }
.container { max-width: 1240px; }
.btn {
    border-radius: 999px;
    font-weight: 700;
    padding: .75rem 1.35rem;
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-warning {
    color: var(--navy-950);
    background: var(--yellow);
    border-color: var(--yellow);
    box-shadow: 0 10px 28px rgba(255, 212, 0, .18);
}
.btn-warning:hover,
.btn-warning:focus { color: var(--navy-950); background: #ffe248; border-color: #ffe248; }
.btn-primary { background: var(--navy); border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-900); border-color: var(--navy-900); }
.btn-outline-primary { color: var(--navy); border-color: var(--navy); }
.btn-outline-primary:hover { background: var(--navy); border-color: var(--navy); }
.form-control, .form-select {
    min-height: 50px;
    border-color: var(--border);
    border-radius: 12px;
    box-shadow: none;
}
textarea.form-control { min-height: auto; }
.form-control:focus, .form-select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 .22rem rgba(0, 119, 182, .12);
}
.topbar {
    position: relative;
    z-index: 1040;
    color: rgba(255,255,255,.82);
    background: var(--navy-950);
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-size: .82rem;
}
.topbar .container { min-height: 36px; }
.topbar a:hover { color: var(--yellow); }
.topbar-tagline { text-transform: uppercase; letter-spacing: .11em; font-size: .7rem; }
.site-header {
    position: absolute;
    z-index: 1030;
    top: 36px;
    left: 0;
    right: 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
    transition: background .3s ease, box-shadow .3s ease, top .3s ease, backdrop-filter .3s ease;
}
.site-header.is-scrolled {
    position: fixed;
    top: 0;
    background: rgba(0, 30, 66, .94);
    box-shadow: 0 12px 35px rgba(0, 15, 34, .25);
    backdrop-filter: blur(14px);
}
.site-header .navbar { min-height: var(--header-height); padding: .35rem 0; }
.navbar-brand img { object-fit: contain; }
.navbar-brand span { display: flex; flex-direction: column; line-height: 1; }
.navbar-brand strong {
    font-family: "Oswald", sans-serif;
    letter-spacing: .08em;
    font-size: 1.28rem;
}
.navbar-brand small {
    margin-top: .35rem;
    color: var(--yellow);
    letter-spacing: .15em;
    font-size: .62rem;
}
.navbar .nav-link {
    position: relative;
    color: rgba(255,255,255,.88);
    font-weight: 700;
    font-size: .86rem;
    padding: 1rem .72rem !important;
}
.navbar .nav-link::after {
    position: absolute;
    content: "";
    left: .75rem;
    right: .75rem;
    bottom: .55rem;
    height: 2px;
    background: var(--yellow);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s ease;
}
.navbar .nav-link:hover,
.navbar .nav-link.active { color: var(--white); }
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after { transform: scaleX(1); }
.navbar .dropdown-toggle::after { position: static; display: inline-block; margin-left: .35rem; width: auto; height: auto; background: none; transform: none; }
.dropdown-menu {
    padding: .7rem;
    border: 0;
    border-radius: 16px;
    box-shadow: var(--shadow);
}
.dropdown-item { border-radius: 9px; padding: .6rem .75rem; font-size: .86rem; }
.dropdown-item:hover { color: var(--navy); background: var(--light); }
.flash-container {
    position: fixed;
    z-index: 1100;
    top: 118px;
    left: 50%;
    transform: translateX(-50%);
}
.hero-section {
    position: relative;
    min-height: 840px;
    color: var(--white);
    overflow: hidden;
    background: var(--navy-950);
}
.hero-media {
    position: absolute;
    inset: -7% 0;
    background:
        linear-gradient(90deg, rgba(0, 16, 38, .94) 0%, rgba(0, 30, 65, .75) 48%, rgba(0, 30, 65, .25) 100%),
        linear-gradient(0deg, rgba(0, 24, 52, .7), rgba(0, 24, 52, .05)),
        url("../images/hero.jpg") center/cover no-repeat;
}
.hero-grid {
    position: absolute;
    inset: 0;
    opacity: .16;
    background-image:
        linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to right, black, transparent 85%);
}
.hero-content { position: relative; z-index: 2; padding-top: 135px; }
.min-vh-75 { min-height: 75vh; }
.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    color: var(--yellow);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .17em;
}
.hero-kicker::before { content: ""; width: 46px; height: 2px; background: var(--yellow); }
.hero-title {
    max-width: 960px;
    margin: 1rem 0 1.5rem;
    font-family: "Oswald", sans-serif;
    font-size: clamp(3.35rem, 7vw, 6.4rem);
    font-weight: 700;
    line-height: .98;
    letter-spacing: -.025em;
    text-transform: uppercase;
}
.hero-title span { color: var(--yellow); }
.hero-lead { max-width: 760px; margin-bottom: 2rem; color: rgba(255,255,255,.84); font-size: clamp(1.05rem, 1.7vw, 1.3rem); }
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 3.5rem;
    border-top: 1px solid rgba(255,255,255,.18);
}
.hero-badges > div { min-width: 205px; padding: 1.25rem 2rem 0 0; }
.hero-badges strong, .hero-badges span { display: block; }
.hero-badges strong { color: var(--white); font-size: .95rem; }
.hero-badges span { color: rgba(255,255,255,.55); font-size: .77rem; }
.scroll-indicator {
    position: absolute;
    z-index: 3;
    right: 3.5rem;
    bottom: 2.4rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    color: rgba(255,255,255,.72);
    transform: rotate(90deg);
    transform-origin: right bottom;
    font-size: .67rem;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.scroll-indicator span { width: 55px; height: 1px; background: rgba(255,255,255,.55); }
.section { position: relative; padding: 110px 0; }
.section-light { background: var(--light); }
.section-dark { color: var(--white); background: var(--navy-950); }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: .85rem;
    color: var(--blue);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.section-title {
    margin-bottom: 1.35rem;
    color: var(--navy-950);
    font-family: "Oswald", sans-serif;
    font-size: clamp(2.1rem, 4vw, 3.7rem);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -.015em;
}
.section-heading { max-width: 760px; }
.section-heading.text-center .eyebrow { justify-content: center; }
.section-heading p { color: var(--muted); font-size: 1.03rem; }
.lead { color: #31465b; font-size: 1.16rem; }
.media-frame { position: relative; padding: 0 40px 40px 0; }
.media-frame::before {
    position: absolute;
    content: "";
    right: 0;
    bottom: 0;
    width: 70%;
    height: 72%;
    border: 10px solid var(--yellow);
    border-radius: var(--radius);
}
.media-frame img { position: relative; z-index: 1; width: 100%; min-height: 480px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.media-badge {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 58px;
    width: 145px;
    padding: 1.25rem;
    color: var(--white);
    background: var(--navy);
    border-radius: 16px;
    box-shadow: var(--shadow);
}
.media-badge strong, .media-badge span { display: block; }
.media-badge strong { color: var(--yellow); font-family: "Oswald", sans-serif; font-size: 2.5rem; line-height: 1; }
.media-badge span { margin-top: .35rem; font-size: .74rem; }
.value-list { display: grid; gap: .75rem; margin-top: 1.5rem; }
.value-list > div { display: flex; align-items: center; gap: .7rem; font-weight: 700; }
.value-list i { color: var(--blue); font-size: 1.2rem; }
.services-section { background: linear-gradient(180deg, #fff, #f6f9fc); }
.service-card { height: 100%; overflow: hidden; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 14px 40px rgba(10, 44, 75, .06); transition: transform .35s ease, box-shadow .35s ease; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.service-image { position: relative; overflow: hidden; height: 230px; }
.service-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.service-card:hover .service-image img { transform: scale(1.06); }
.service-image::after { position: absolute; content: ""; inset: 0; background: linear-gradient(0deg, rgba(0,35,76,.62), transparent 65%); }
.service-number { position: absolute; z-index: 2; right: 18px; bottom: 8px; color: rgba(255,255,255,.85); font-family: "Oswald"; font-size: 2rem; }
.service-body { position: relative; padding: 2rem; }
.service-icon {
    position: absolute;
    top: -34px;
    left: 2rem;
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    color: var(--navy-950);
    background: var(--yellow);
    border: 5px solid var(--white);
    border-radius: 18px;
    font-size: 1.65rem;
}
.service-body h3 { margin: 1.2rem 0 .85rem; font-family: "Oswald"; font-size: 1.55rem; }
.service-body p { min-height: 92px; color: var(--muted); font-size: .9rem; }
.service-body a { display: inline-flex; align-items: center; gap: .55rem; color: var(--navy); font-weight: 800; font-size: .83rem; }
.service-body a i { transition: transform .25s ease; }
.service-body a:hover i { transform: translateX(4px); }
.stats-section { color: var(--white); background: var(--navy); }
.stat-item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 190px;
    padding: 2rem;
    text-align: center;
}
.stat-item:not(:last-child)::after { position: absolute; content: ""; top: 30%; right: 0; bottom: 30%; width: 1px; background: rgba(255,255,255,.2); }
.stat-item strong { color: var(--yellow); font-family: "Oswald"; font-size: clamp(2.4rem, 4vw, 4.1rem); line-height: 1; }
.stat-item span { margin-top: .8rem; color: rgba(255,255,255,.75); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.projects-section { background: var(--light); }
.project-card { position: relative; min-height: 410px; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.project-card-lg { min-height: 520px; }
.project-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease; }
.project-card:hover > img { transform: scale(1.065); }
.project-card::after { position: absolute; content: ""; inset: 0; background: linear-gradient(0deg, rgba(0,18,42,.94) 0%, rgba(0,23,53,.34) 55%, transparent 78%); }
.project-overlay { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 2rem; color: var(--white); }
.project-overlay > span { color: var(--yellow); font-size: .69rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.project-overlay h3 { max-width: 85%; margin: .5rem 0 .8rem; font-family: "Oswald"; font-size: 1.55rem; line-height: 1.15; }
.project-card-lg .project-overlay h3 { font-size: 2rem; }
.project-meta { display: flex; flex-wrap: wrap; gap: 1rem; color: rgba(255,255,255,.72); }
.project-meta small { display: inline-flex; align-items: center; gap: .35rem; }
.project-overlay > a {
    position: absolute;
    right: 1.6rem;
    bottom: 1.7rem;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: var(--navy-950);
    background: var(--yellow);
    border-radius: 50%;
    transition: transform .25s ease;
}
.project-overlay > a:hover { transform: rotate(45deg); }
.equipment-tags { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.5rem; }
.equipment-tags span { padding: .55rem .85rem; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: rgba(255,255,255,.75); font-size: .76rem; }
.equipment-visual { position: relative; }
.equipment-visual img { width: 100%; min-height: 480px; object-fit: cover; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.sonar-ring { position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px; border: 2px solid var(--yellow); border-radius: 50%; opacity: .6; }
.sonar-ring-2 { width: 120px; height: 120px; right: -10px; bottom: -10px; }
.feature-box { height: 100%; padding: 1.25rem; background: var(--light); border: 1px solid var(--border); border-radius: 16px; }
.feature-box i, .feature-box strong, .feature-box span { display: block; }
.feature-box i { margin-bottom: .65rem; color: var(--blue); font-size: 1.45rem; }
.feature-box span { color: var(--muted); font-size: .8rem; }
.references-strip { padding: 2.3rem 0; color: var(--white); background: var(--navy-900); }
.references-strip p { color: rgba(255,255,255,.45); font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; }
.reference-list { display: grid; grid-template-columns: repeat(6, 1fr); align-items: center; gap: 2rem; text-align: center; }
.reference-list span { color: rgba(255,255,255,.68); font-family: "Oswald"; font-size: 1.1rem; letter-spacing: .08em; }

/* Page headers */
.page-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 500px;
    padding: 175px 0 75px;
    color: var(--white);
    background-position: center;
    background-size: cover;
}
.page-hero::before { position: absolute; content: ""; inset: 0; background: linear-gradient(90deg, rgba(0,20,46,.96), rgba(0,38,80,.58)); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 900px; margin: 0 0 1rem; font-family: "Oswald"; font-size: clamp(2.8rem, 6vw, 5.2rem); line-height: 1.04; text-transform: uppercase; }
.page-hero p { max-width: 760px; margin: 0; color: rgba(255,255,255,.78); font-size: 1.08rem; }
.page-hero-company { background-image: url("../images/about.jpg"); }
.page-hero-services { background-image: url("../images/service-inspection.jpg"); }
.page-hero-equipment { background-image: url("../images/equipment.jpg"); }
.page-hero-projects { background-image: url("../images/service-port.jpg"); }
.page-hero-safety { background-image: url("../images/security.jpg"); }
.page-hero-legal { min-height: 380px; background-image: url("../images/service-hydraulic.jpg"); }
.company-facts { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.company-facts > div { padding: 1rem 1.2rem; background: var(--white); border-bottom: 1px solid var(--border); }
.company-facts > div:nth-child(odd) { border-right: 1px solid var(--border); }
.company-facts span, .company-facts strong { display: block; }
.company-facts span { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; }
.icon-card, .safety-card {
    height: 100%;
    padding: 2rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform .3s ease, box-shadow .3s ease;
}
.icon-card:hover, .safety-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.icon-card > i, .safety-card > i { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 1.25rem; color: var(--navy); background: rgba(255,212,0,.25); border-radius: 16px; font-size: 1.5rem; }
.icon-card h3, .safety-card h3 { font-family: "Oswald"; font-size: 1.4rem; }
.icon-card p, .safety-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.process-list { display: grid; gap: 1rem; }
.process-item { display: grid; grid-template-columns: 76px 1fr; gap: 1.2rem; padding: 1.5rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09); border-radius: 18px; }
.process-item > span { color: var(--yellow); font-family: "Oswald"; font-size: 2rem; }
.process-item h3 { color: var(--white); font-family: "Oswald"; font-size: 1.3rem; }
.process-item p { margin: 0; color: rgba(255,255,255,.56); font-size: .86rem; }
.location-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.location-card { padding: 1.4rem; background: var(--light); border: 1px solid var(--border); border-radius: 15px; }
.location-card strong, .location-card span { display: block; }
.location-card strong { color: var(--navy); font-family: "Oswald"; font-size: 1.3rem; }
.location-card span { margin-top: .4rem; color: var(--muted); font-size: .8rem; }

/* Services */
.service-list-card { display: grid; grid-template-columns: 42% 58%; min-height: 340px; overflow: hidden; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 12px 40px rgba(0,35,76,.06); }
.service-list-image img { width: 100%; height: 100%; object-fit: cover; }
.service-list-content { position: relative; padding: 2rem; }
.service-list-content > span { position: absolute; right: 1.5rem; top: 1rem; color: #e6edf3; font-family: "Oswald"; font-size: 3rem; }
.service-list-content > i { color: var(--blue); font-size: 2rem; }
.service-list-content h2 { margin: .8rem 0; font-family: "Oswald"; font-size: 1.65rem; }
.service-list-content p { color: var(--muted); font-size: .88rem; }
.service-list-content a { color: var(--navy); font-weight: 800; font-size: .82rem; }
.callout-card { padding: 2rem; color: var(--white); background: var(--navy); border-radius: var(--radius); box-shadow: var(--shadow); }
.callout-card > i { color: var(--yellow); font-size: 2.4rem; }
.callout-card h3 { margin-top: 1rem; font-family: "Oswald"; font-size: 1.8rem; }
.callout-card p { color: rgba(255,255,255,.68); }
.service-hero {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    color: var(--white);
    background: var(--navy-950);
}
.service-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,17,40,.95), rgba(0,30,65,.38)); }
.service-hero .container { position: relative; z-index: 1; }
.service-hero-content { max-width: 800px; padding: 180px 0 75px; }
.back-link { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.2rem; color: rgba(255,255,255,.72); font-size: .8rem; font-weight: 700; }
.back-link:hover { color: var(--yellow); }
.service-icon-xl { display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 1.5rem; color: var(--navy-950); background: var(--yellow); border-radius: 20px; font-size: 1.9rem; }
.service-hero h1 { max-width: 800px; margin-bottom: 1rem; font-family: "Oswald"; font-size: clamp(3rem, 6vw, 5.6rem); text-transform: uppercase; line-height: 1; }
.service-hero p { max-width: 680px; color: rgba(255,255,255,.8); font-size: 1.1rem; }
.service-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .85rem; }
.service-feature-item { display: flex; align-items: flex-start; gap: .65rem; padding: 1rem; background: var(--light); border-radius: 12px; font-size: .86rem; }
.service-feature-item i { color: var(--blue); font-size: 1.2rem; }
.service-sidebar { top: 115px; padding: 2rem; color: var(--white); background: var(--navy); border-radius: var(--radius); }
.service-sidebar h3 { font-family: "Oswald"; }
.service-sidebar p, .service-sidebar li { color: rgba(255,255,255,.7); font-size: .85rem; }
.service-sidebar ul { padding-left: 1.1rem; }

/* Equipment & safety */
.equipment-card { height: 100%; padding: 2rem; background: var(--light); border: 1px solid var(--border); border-radius: var(--radius); }
.equipment-card > i { display: grid; place-items: center; width: 58px; height: 58px; color: var(--navy); background: var(--yellow); border-radius: 16px; font-size: 1.45rem; }
.equipment-card h2 { margin: 1.2rem 0 1rem; font-family: "Oswald"; font-size: 1.5rem; }
.equipment-card ul { padding: 0; margin: 0; list-style: none; }
.equipment-card li { position: relative; padding: .45rem 0 .45rem 1.15rem; color: var(--muted); font-size: .84rem; border-bottom: 1px dashed #d5e0e9; }
.equipment-card li::before { position: absolute; content: ""; left: 0; top: .95rem; width: 5px; height: 5px; background: var(--blue); border-radius: 50%; }
.safety-timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.safety-timeline > div { padding: 1.5rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; }
.safety-timeline span { color: var(--yellow); font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.safety-timeline h3 { margin: .75rem 0; color: var(--white); font-family: "Oswald"; }
.safety-timeline p { color: rgba(255,255,255,.55); font-size: .82rem; }

/* Portfolio */
.project-filters { padding: 1.5rem; background: var(--white); border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 12px 35px rgba(0,35,76,.07); }
.project-filters .input-group-text { background: var(--white); border-color: var(--border); border-radius: 12px 0 0 12px; }
.portfolio-card { height: 100%; overflow: hidden; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 14px 40px rgba(0,35,76,.07); }
.portfolio-image { position: relative; display: block; height: 290px; overflow: hidden; }
.portfolio-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.portfolio-card:hover .portfolio-image img { transform: scale(1.06); }
.portfolio-arrow { position: absolute; right: 1.1rem; bottom: 1.1rem; display: grid; place-items: center; width: 46px; height: 46px; color: var(--navy-950); background: var(--yellow); border-radius: 50%; }
.portfolio-content { padding: 1.5rem; }
.portfolio-category { color: var(--blue); font-size: .67rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.portfolio-year { color: var(--muted); font-size: .75rem; }
.portfolio-content h2 { margin: .65rem 0 .75rem; font-family: "Oswald"; font-size: 1.45rem; line-height: 1.2; }
.portfolio-content h2 a:hover { color: var(--blue); }
.portfolio-content p { color: var(--muted); font-size: .84rem; }
.portfolio-meta { display: flex; flex-wrap: wrap; gap: .75rem 1rem; padding-top: 1rem; border-top: 1px solid var(--border); color: var(--muted); font-size: .71rem; }
.portfolio-meta span { display: inline-flex; align-items: center; gap: .3rem; }
.empty-state { padding: 5rem 1rem; text-align: center; background: var(--light); border: 1px dashed #c9d7e3; border-radius: var(--radius); }
.empty-state > i { color: var(--blue); font-size: 3rem; }
.empty-state h2 { margin-top: 1rem; font-family: "Oswald"; }

/* Project details */
.project-detail-hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    color: var(--white);
}
.project-detail-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-detail-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,18,42,.96), rgba(0,24,55,.25) 72%); }
.project-detail-hero .container { position: relative; z-index: 1; }
.project-detail-heading { max-width: 950px; padding: 180px 0 70px; }
.project-chip { display: inline-block; margin-bottom: 1rem; padding: .4rem .75rem; color: var(--navy-950); background: var(--yellow); border-radius: 999px; font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.project-detail-heading h1 { margin-bottom: 1.1rem; font-family: "Oswald"; font-size: clamp(3rem, 6vw, 5.7rem); line-height: 1.02; text-transform: uppercase; }
.project-detail-meta { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; color: rgba(255,255,255,.72); }
.project-detail-meta span { display: inline-flex; align-items: center; gap: .45rem; font-size: .82rem; }
.project-info-card { top: 115px; padding: 2rem; background: var(--light); border: 1px solid var(--border); border-radius: var(--radius); }
.project-info-card h3 { font-family: "Oswald"; }
.project-info-card dl { margin: 1.2rem 0; }
.project-info-card dl > div { padding: .85rem 0; border-bottom: 1px solid var(--border); }
.project-info-card dt { color: var(--muted); font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; }
.project-info-card dd { margin: .2rem 0 0; color: var(--navy-950); font-weight: 700; }
.scope-item { display: flex; align-items: flex-start; gap: .65rem; height: 100%; padding: 1rem; background: var(--light); border-radius: 12px; font-size: .85rem; }
.scope-item i { color: var(--blue); font-size: 1.15rem; }
.project-gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; gap: 1rem; }
.gallery-item { position: relative; min-height: 260px; padding: 0; overflow: hidden; background: #dfe8ef; border: 0; border-radius: 16px; cursor: zoom-in; }
.gallery-item:nth-child(5n+1) { grid-column: span 2; min-height: 390px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item > span { position: absolute; inset: 0; display: grid; place-items: center; color: var(--white); background: rgba(0,35,76,.3); opacity: 0; transition: opacity .25s ease; font-size: 1.7rem; }
.gallery-item:hover > span { opacity: 1; }
.gallery-video { overflow: hidden; background: var(--navy-950); border-radius: 16px; }
.gallery-video video { display: block; width: 100%; min-height: 280px; background: #000; }
.gallery-video p { margin: 0; padding: .8rem 1rem; color: rgba(255,255,255,.75); font-size: .8rem; }
.gallery-modal {
    position: fixed;
    z-index: 1200;
    inset: 0;
    display: none;
    place-items: center;
    padding: 3rem 6rem;
    background: rgba(0,12,28,.96);
}
.gallery-modal.is-open { display: grid; }
.gallery-modal figure { max-width: min(1200px, 90vw); max-height: 86vh; margin: 0; text-align: center; }
.gallery-modal img { max-width: 100%; max-height: 78vh; object-fit: contain; }
.gallery-modal figcaption { margin-top: .8rem; color: rgba(255,255,255,.7); }
.gallery-close, .gallery-prev, .gallery-next { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; color: var(--white); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 50%; }
.gallery-close { top: 1.5rem; right: 1.5rem; }
.gallery-prev { left: 1.5rem; top: 50%; }
.gallery-next { right: 1.5rem; top: 50%; }
body.gallery-open { overflow: hidden; }

/* Contact */
.contact-location-hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    color: var(--white);
    background: var(--navy-950);
}
.contact-location-map,
.contact-location-map iframe,
.contact-location-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.contact-location-map iframe {
    display: block;
    border: 0;
    filter: saturate(.82) contrast(1.04);
}
.contact-location-shade {
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(0,20,46,.94) 0%, rgba(0,33,72,.80) 34%, rgba(0,36,78,.16) 72%, rgba(0,36,78,.04) 100%),
        linear-gradient(0deg, rgba(0,20,46,.28), transparent 55%);
}
.contact-location-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 620px;
    padding-top: 145px;
    padding-bottom: 70px;
    pointer-events: none;
}
.contact-location-panel {
    width: min(590px, 100%);
    padding: 2.2rem;
    background: rgba(0,31,66,.86);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius);
    box-shadow: 0 28px 70px rgba(0,0,0,.28);
    backdrop-filter: blur(12px);
    pointer-events: auto;
}
.contact-location-panel h1 {
    margin: 0 0 1rem;
    font-family: "Oswald";
    font-size: clamp(2.8rem, 5.5vw, 5rem);
    line-height: 1;
    text-transform: uppercase;
}
.contact-location-panel > p {
    max-width: 520px;
    margin-bottom: 1.35rem;
    color: rgba(255,255,255,.78);
}
.contact-location-address {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: 1rem 1.1rem;
    color: rgba(255,255,255,.88);
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
}
.contact-location-address i {
    flex: 0 0 auto;
    margin-top: .08rem;
    color: var(--yellow);
    font-size: 1.25rem;
}
.contact-card { display: flex; flex-direction: column; height: 100%; padding: 1.7rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); transition: transform .25s ease, box-shadow .25s ease; }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-card > i { color: var(--blue); font-size: 1.7rem; }
.contact-card span { margin-top: 1rem; color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-card strong { margin-top: .35rem; color: var(--navy-950); line-height: 1.35; }
.contact-guidance { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-guidance > div { display: grid; grid-template-columns: 50px 1fr; gap: .8rem; }
.contact-guidance i { display: grid; place-items: center; width: 46px; height: 46px; color: var(--navy); background: rgba(255,212,0,.35); border-radius: 13px; }
.contact-guidance strong, .contact-guidance span { display: block; }
.contact-guidance span { color: var(--muted); font-size: .82rem; }
.contact-guidance strong { color: var(--ink); font-size: .92rem; }
.contact-form { padding: 2.4rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.legal-content { max-width: 880px; }
.legal-content h2 { margin-top: 2rem; color: var(--navy); font-family: "Oswald"; }
.not-found-section { display: grid; place-items: center; min-height: 75vh; padding: 180px 0 100px; background: var(--light); }
.not-found-code { color: var(--yellow); font-family: "Oswald"; font-size: clamp(7rem, 20vw, 15rem); line-height: .8; text-shadow: 5px 5px 0 var(--navy); }
.not-found-section h1 { margin-top: 2rem; font-family: "Oswald"; }

/* Footer */
.cta-band { padding: 60px 0; color: var(--white); background: linear-gradient(120deg, var(--navy), var(--blue)); }
.cta-band h2 { color: var(--white); font-family: "Oswald"; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.cta-band p { color: rgba(255,255,255,.68); }
.site-footer { color: rgba(255,255,255,.68); background: var(--navy-950); }
.footer-brand { color: var(--white); }
.footer-brand span { display: flex; flex-direction: column; line-height: 1; }
.footer-brand strong { font-family: "Oswald"; font-size: 1.3rem; letter-spacing: .08em; }
.footer-brand small { margin-top: .35rem; color: var(--yellow); font-size: .6rem; letter-spacing: .13em; }
.site-footer h3 { margin-bottom: 1rem; color: var(--white); font-family: "Oswald"; font-size: 1.05rem; }
.footer-links, .contact-list { padding: 0; margin: 0; list-style: none; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a:hover, .contact-list a:hover { color: var(--yellow); }
.contact-list { display: grid; gap: .75rem; }
.contact-list li { display: grid; grid-template-columns: 24px 1fr; gap: .45rem; }
.contact-list i { color: var(--yellow); }
.social-links { display: flex; gap: .6rem; margin-top: 1.2rem; }
.social-links a { display: grid; place-items: center; width: 40px; height: 40px; color: var(--white); background: rgba(255,255,255,.08); border-radius: 50%; }
.social-links a:hover { color: var(--navy-950); background: var(--yellow); }
.footer-bottom { padding: 1.1rem 0; color: rgba(255,255,255,.42); border-top: 1px solid rgba(255,255,255,.08); font-size: .72rem; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .55rem 1.25rem; }
.developer-credit { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .28rem; }
.developer-credit strong { color: rgba(255,255,255,.72); font-weight: 700; }
.developer-credit a { color: rgba(255,255,255,.62); text-decoration: underline; text-decoration-color: rgba(255,212,0,.48); text-underline-offset: 3px; }
.developer-credit a:hover { color: var(--yellow); }
.developer-email { color: rgba(255,255,255,.5); }
.back-to-top {
    position: fixed;
    z-index: 1000;
    right: 1.5rem;
    bottom: 1.5rem;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: var(--navy-950);
    background: var(--yellow);
    border: 0;
    border-radius: 50%;
    box-shadow: 0 12px 30px rgba(0,0,0,.2);
    opacity: 0;
    pointer-events: none;
    transform: translateY(15px);
    transition: opacity .25s, transform .25s;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }

@media (max-width: 1199.98px) {
    .site-header { top: 0; }
    .offcanvas { background: var(--navy-950) !important; }
    .offcanvas-body { display: block !important; }
    .navbar .nav-link { padding: .75rem 0 !important; }
    .navbar .nav-link::after { display: none; }
    .dropdown-menu { background: rgba(255,255,255,.07); box-shadow: none; }
    .dropdown-item { color: rgba(255,255,255,.78); }
    .dropdown-item:hover { color: var(--white); background: rgba(255,255,255,.08); }
    .project-card-lg { min-height: 460px; }
}
@media (max-width: 991.98px) {
    :root { --header-height: 78px; }
    .section { padding: 80px 0; }
    .hero-section { min-height: 780px; }
    .hero-content { padding-top: 110px; }
    .hero-title { font-size: clamp(3rem, 10vw, 5rem); }
    .scroll-indicator { display: none; }
    .media-frame img { min-height: 400px; }
    .reference-list { grid-template-columns: repeat(3, 1fr); }
    .location-grid { grid-template-columns: repeat(2, 1fr); }
    .service-list-card { grid-template-columns: 38% 62%; }
    .safety-timeline { grid-template-columns: 1fr; }
    .project-gallery { grid-template-columns: repeat(2, 1fr); }
    .gallery-item:nth-child(5n+1) { grid-column: span 1; min-height: 260px; }
    .service-sidebar, .project-info-card { position: static !important; }
}
@media (max-width: 767.98px) {
    .navbar-brand img { width: 54px; height: 54px; }
    .navbar-brand strong { font-size: 1.05rem; }
    .hero-section { min-height: 720px; }
    .hero-media { background-position: 58% center; }
    .hero-title { font-size: clamp(2.65rem, 14vw, 4.2rem); }
    .hero-badges { display: grid; grid-template-columns: 1fr 1fr; }
    .hero-badges > div { min-width: 0; }
    .section { padding: 68px 0; }
    .media-frame { padding: 0 20px 25px 0; }
    .media-frame img { min-height: 330px; }
    .media-badge { right: 0; bottom: 35px; width: 125px; }
    .service-image { height: 210px; }
    .service-body p { min-height: auto; }
    .stat-item { min-height: 150px; padding: 1rem; }
    .stat-item:nth-child(2)::after { display: none; }
    .project-card, .project-card-lg { min-height: 410px; }
    .reference-list { gap: 1rem; }
    .reference-list span { font-size: .9rem; }
    .page-hero { min-height: 430px; padding: 145px 0 55px; }
    .page-hero h1 { font-size: 2.8rem; }
    .company-facts { grid-template-columns: 1fr; }
    .company-facts > div:nth-child(odd) { border-right: 0; }
    .location-grid { grid-template-columns: 1fr; }
    .service-list-card { grid-template-columns: 1fr; }
    .service-list-image { height: 230px; }
    .service-feature-grid { grid-template-columns: 1fr; }
    .service-hero, .project-detail-hero { min-height: 610px; }
    .service-hero-content, .project-detail-heading { padding-top: 145px; }
    .portfolio-image { height: 260px; }
    .project-gallery { grid-template-columns: 1fr; }
    .gallery-modal { padding: 4rem 1rem; }
    .gallery-prev, .gallery-next { top: auto; bottom: 1rem; }
    .contact-location-hero,
    .contact-location-content { min-height: 600px; }
    .contact-location-content { align-items: flex-end; padding-top: 120px; padding-bottom: 35px; }
    .contact-location-shade {
        background: linear-gradient(0deg, rgba(0,20,46,.96) 0%, rgba(0,29,65,.80) 46%, rgba(0,36,78,.14) 100%);
    }
    .contact-location-panel { padding: 1.45rem; }
    .contact-location-panel h1 { font-size: 2.65rem; }
    .contact-form { padding: 1.3rem; }
    .footer-bottom-inner { align-items: flex-start; }
    .developer-credit { justify-content: flex-start; }
}
@media (max-width: 575.98px) {
    .hero-content { padding-top: 95px; }
    .hero-title { font-size: 2.75rem; }
    .hero-badges { grid-template-columns: 1fr; margin-top: 2rem; }
    .hero-badges > div { padding-top: .8rem; }
    .hero-section .btn-lg { width: 100%; }
    .section-title { font-size: 2.2rem; }
    .project-overlay { padding: 1.4rem; }
    .project-overlay > a { right: 1.1rem; bottom: 1.2rem; }
    .reference-list { grid-template-columns: repeat(2, 1fr); }
    .page-hero h1, .service-hero h1, .project-detail-heading h1 { font-size: 2.55rem; }
    .project-detail-meta { gap: .5rem 1rem; }
    .cta-band .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal-up, .reveal-left, .reveal-right { opacity: 1 !important; transform: none !important; }
}
