:root {
    --ink: #15212f;
    --muted: #627083;
    --line: #dfe6ee;
    --panel: #ffffff;
    --soft: #f5f8fb;
    --blue: #0b5ed7;
    --blue-dark: #073b86;
    --green: #12845f;
    --gold: #d99a17;
    --shadow: 0 18px 50px rgba(15, 33, 54, 0.12);
    --radius: 8px;
    --header: 116px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header);
}

body {
    margin: 0;
    color: var(--ink);
    font-family: Arial, "Segoe UI", sans-serif;
    line-height: 1.6;
    background: #fff;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: min(1140px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    height: var(--header);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 max(20px, calc((100vw - 1140px) / 2));
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(223, 230, 238, 0.78);
    backdrop-filter: blur(14px);
    transition: box-shadow 180ms ease, height 180ms ease;
}

.site-header.is-scrolled {
    box-shadow: 0 12px 32px rgba(18, 35, 55, 0.1);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    font-weight: 800;
    letter-spacing: 0;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 315px;
    height: 96px;
    flex: 0 0 auto;
    padding: 8px 12px;
    border: 0;
    border-radius: var(--radius);
    background: transparent;
    box-shadow: none;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-nav a {
    padding: 10px 13px;
    border-radius: 999px;
    color: #344256;
    font-size: 0.94rem;
    font-weight: 700;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: var(--blue);
    background: #eef5ff;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--ink);
}

.hero {
    position: relative;
    min-height: 720px;
    display: grid;
    align-items: center;
    overflow: hidden;
    color: #fff;
    padding: calc(var(--header) + 64px) 0 74px;
}

.hero-media,
.hero-overlay,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-media {
    background: #0a1f35;
}

.hero-slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 900ms ease, transform 2600ms ease;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    background: linear-gradient(90deg, rgba(5, 18, 34, 0.88), rgba(5, 18, 34, 0.62) 48%, rgba(5, 18, 34, 0.24));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-left: max(20px, calc((100vw - 1140px) / 2));
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: #8bd3ff;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 820px;
    margin-bottom: 22px;
    font-size: clamp(2.55rem, 6vw, 5.45rem);
    line-height: 1.02;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 4vw, 3.15rem);
    line-height: 1.08;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 10px;
    font-size: 1.15rem;
    line-height: 1.25;
}

.hero-copy {
    max-width: 690px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.12rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 34px 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 20px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-weight: 800;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #fff;
    background: var(--blue);
    box-shadow: 0 12px 28px rgba(11, 94, 215, 0.3);
}

.btn-primary:hover {
    background: var(--blue-dark);
}

.btn-secondary {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.08);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    max-width: 640px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.hero-metrics div {
    padding: 18px;
}

.hero-metrics strong {
    display: block;
    font-size: 1.55rem;
    line-height: 1;
}

.hero-metrics span {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
}

.capability-strip {
    position: relative;
    z-index: 3;
    margin-top: -58px;
    padding-bottom: 26px;
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}

.capability-grid article {
    min-height: 178px;
    padding: 24px;
    border-right: 1px solid var(--line);
}

.capability-grid article:last-child {
    border-right: 0;
}

.capability-grid span,
.process-grid span {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--blue);
    font-weight: 900;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
}

.capability-grid h2 {
    margin-bottom: 8px;
    font-size: 1.2rem;
    line-height: 1.22;
}

.capability-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 0.94rem;
}

.section {
    padding: 96px 0;
}

.muted,
.about-section,
.contact-section {
    background: var(--soft);
}

.split-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    gap: 64px;
    align-items: center;
}

.media-panel {
    overflow: hidden;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}

.media-panel img {
    width: 100%;
    height: auto;
    max-height: 620px;
    object-fit: contain;
}

.section-copy p,
.section-heading p,
.contact-grid p {
    color: var(--muted);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.feature-list {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.feature-list div {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: start;
}

.feature-list p {
    margin: 0;
}

.icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: var(--radius);
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--green));
    font-weight: 800;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.service-card,
.team-card,
.contact-form {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(20, 43, 65, 0.07);
}

.service-card {
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover,
.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.service-card img {
    width: 100%;
    aspect-ratio: 1.42 / 1;
    object-fit: cover;
}

.service-card div {
    padding: 22px;
}

.service-card p,
.team-card p {
    color: var(--muted);
}

.service-card ul {
    display: grid;
    gap: 8px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.service-card li {
    position: relative;
    padding-left: 18px;
    color: #425067;
    font-size: 0.94rem;
    font-weight: 700;
}

.service-card li::before {
    content: "";
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
}

.service-card-text {
    display: grid;
    align-content: stretch;
    min-height: 100%;
    background: linear-gradient(145deg, #ffffff, #f6fbff);
}

.service-card-text div {
    display: grid;
    align-content: start;
}

.service-tag {
    display: inline-flex;
    margin-bottom: 14px;
    color: var(--green);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.process-section {
    background: #071a2f;
    color: #fff;
}

.process-section .eyebrow {
    color: #8bd3ff;
}

.process-section .section-heading p,
.process-section p {
    color: rgba(255, 255, 255, 0.74);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.14);
}

.process-grid article {
    min-height: 250px;
    padding: 28px;
    background: rgba(255, 255, 255, 0.06);
}

.process-grid span {
    color: #8bd3ff;
}

.process-grid h3 {
    color: #fff;
    font-size: 1.22rem;
}

.industry-panel {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 28px;
    align-items: center;
    margin-top: 28px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.07);
}

.industry-panel h3 {
    margin: 0;
    max-width: 520px;
    color: #fff;
    font-size: clamp(1.4rem, 2.7vw, 2rem);
}

.industry-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.industry-list span {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 9px 13px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    font-weight: 800;
    font-size: 0.9rem;
}

.partner-showcase {
    display: grid;
    gap: 24px;
}

.partner-panel {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border: 1px solid rgba(210, 224, 238, 0.95);
    border-radius: 14px;
    background:
        radial-gradient(circle at top right, rgba(11, 94, 215, 0.12), transparent 30%),
        radial-gradient(circle at bottom left, rgba(18, 132, 95, 0.1), transparent 34%),
        rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 48px rgba(16, 39, 64, 0.09);
}

.partner-panel::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, var(--blue), var(--green), var(--gold));
}

.partner-panel-wide {
    display: grid;
    grid-template-columns: 0.36fr 0.64fr;
    gap: 26px;
    align-items: center;
}

.partner-panel-copy {
    position: relative;
    z-index: 1;
}

.partner-panel-copy span {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--blue);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.partner-panel-copy h3 {
    margin-bottom: 10px;
    color: var(--ink);
    font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.partner-panel-copy p {
    margin: 0;
    color: var(--muted);
}

.partner-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.partner-card {
    position: relative;
    min-height: 104px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 16px;
    border: 1px solid rgba(209, 224, 238, 0.95);
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 253, 255, 0.92));
    color: #324056;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 10px 24px rgba(19, 42, 66, 0.07);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
    overflow: hidden;
}

.partner-card::after {
    content: "";
    position: absolute;
    inset: auto 14px 0;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(90deg, var(--blue), var(--green), var(--gold));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 180ms ease;
}

.partner-card:hover {
    transform: translateY(-7px);
    border-color: rgba(11, 94, 215, 0.38);
    background: #fff;
    box-shadow: 0 22px 52px rgba(18, 35, 55, 0.16);
}

.partner-card:hover::after {
    transform: scaleX(1);
}

.partner-card img {
    max-width: 100%;
    width: auto;
    max-height: 58px;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: filter 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.partner-card:hover img {
    opacity: 1;
    transform: scale(1.08);
}

.partner-wordmark strong {
    position: relative;
    z-index: 1;
    color: #1d3149;
    font-size: clamp(1rem, 1.4vw, 1.26rem);
}

.partner-wordmark {
    background:
        linear-gradient(135deg, rgba(11, 94, 215, 0.1), rgba(18, 132, 95, 0.1)),
        #fff;
}

.partner-grid-small {
    max-width: 300px;
    grid-template-columns: 1fr;
}

.partner-duo {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.partner-duo .partner-panel {
    display: grid;
    gap: 22px;
    align-content: space-between;
}

.partner-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 28px;
    border-radius: 14px;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(7, 26, 47, 0.96), rgba(8, 67, 89, 0.94)),
        #071a2f;
    box-shadow: 0 18px 48px rgba(7, 26, 47, 0.18);
}

.partner-cta .eyebrow {
    margin-bottom: 8px;
    color: #8bd3ff;
}

.partner-cta h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.25rem, 2.2vw, 1.75rem);
}

.partner-cta .btn {
    flex: 0 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.team-card {
    padding: 30px;
    text-align: center;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.team-card img {
    width: 132px;
    height: 132px;
    margin: 0 auto 18px;
    border-radius: 50%;
    object-fit: cover;
}

.team-card .role {
    margin-bottom: 12px;
    color: var(--blue);
    font-weight: 800;
}

.gallery-section {
    overflow: hidden;
    padding-bottom: 108px;
}

.gallery-preview-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 28px;
    align-items: center;
    margin-bottom: 42px;
}

.gallery-feature {
    position: relative;
    display: grid;
    min-height: 380px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow);
}

.gallery-feature img {
    width: 100%;
    height: 100%;
    max-height: 480px;
    padding: 12px;
    object-fit: contain;
}

.gallery-feature span {
    position: absolute;
    left: 18px;
    bottom: 18px;
    padding: 10px 14px;
    border-radius: 999px;
    color: #fff;
    background: rgba(7, 26, 47, 0.88);
    font-weight: 800;
}

.gallery-preview-copy {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background:
        radial-gradient(circle at top right, rgba(11, 94, 215, 0.12), transparent 34%),
        #fff;
    box-shadow: 0 14px 36px rgba(18, 35, 55, 0.08);
}

.gallery-preview-copy h3 {
    font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.gallery-preview-copy p {
    color: var(--muted);
}

.gallery-rail {
    width: 100%;
    overflow: hidden;
}

.gallery-track {
    display: flex;
    gap: 16px;
    min-height: 260px;
    width: max-content;
    animation: gallery-scroll 56s linear infinite;
    will-change: transform;
}

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

.gallery-track img {
    width: 260px;
    height: 260px;
    padding: 8px;
    object-fit: contain;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 10px 26px rgba(18, 38, 60, 0.14);
}

.gallery-loading {
    display: inline-flex;
    width: min(420px, calc(100vw - 40px));
    height: 260px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--muted);
    background: var(--soft);
    font-weight: 800;
}

.gallery-hero {
    padding: calc(var(--header) + 70px) 0 80px;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(7, 26, 47, 0.94), rgba(9, 62, 88, 0.86)),
        url("../images/optimized/hero-solar.jpg") center/cover no-repeat;
}

.gallery-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.65fr);
    gap: 42px;
    align-items: center;
}

.gallery-hero h1 {
    max-width: 720px;
}

.gallery-hero p {
    max-width: 660px;
    color: rgba(255, 255, 255, 0.78);
}

.gallery-hero .eyebrow {
    color: #8bd3ff;
}

.gallery-hero-frame {
    display: grid;
    min-height: 420px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(10px);
}

.gallery-hero-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    background: #fff;
}

.gallery-page-section {
    background: var(--soft);
}

.gallery-toolbar {
    position: sticky;
    top: calc(var(--header) + 12px);
    z-index: 8;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 42px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 34px rgba(18, 35, 55, 0.09);
    backdrop-filter: blur(14px);
}

.gallery-toolbar button {
    min-height: 42px;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 9px 15px;
    color: #344256;
    background: #f4f8fc;
    font-weight: 800;
    cursor: pointer;
}

.gallery-toolbar button:hover,
.gallery-toolbar button.is-active {
    color: #fff;
    background: var(--blue);
}

.gallery-category {
    margin-bottom: 56px;
}

.gallery-category.is-hidden {
    display: none;
}

.gallery-category-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
}

.gallery-category-heading span {
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.gallery-category-heading h2 {
    margin: 0;
    font-size: clamp(1.65rem, 3vw, 2.4rem);
}

.gallery-board {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.gallery-item {
    display: grid;
    min-height: 260px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(18, 35, 55, 0.08);
    cursor: zoom-in;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    border-color: rgba(11, 94, 215, 0.32);
    box-shadow: 0 20px 48px rgba(18, 35, 55, 0.14);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    max-height: 340px;
    object-fit: contain;
}

.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: rgba(4, 14, 26, 0.86);
}

.gallery-modal.is-open {
    display: flex;
}

.gallery-modal img {
    max-width: min(1120px, 94vw);
    max-height: 86vh;
    padding: 12px;
    border-radius: 14px;
    background: #fff;
    object-fit: contain;
}

.gallery-modal-close {
    position: fixed;
    top: 18px;
    right: 18px;
    min-height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    padding: 9px 15px;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    font-weight: 800;
    cursor: pointer;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 52px;
    align-items: start;
}

.contact-list {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.contact-list a {
    padding: 15px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    color: #344256;
    font-weight: 700;
}

.contact-list a:hover {
    color: var(--blue);
}

.contact-form {
    display: grid;
    gap: 16px;
    padding: 28px;
}

.contact-form label {
    display: grid;
    gap: 7px;
    color: #344256;
    font-size: 0.92rem;
    font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid #ced8e4;
    border-radius: var(--radius);
    padding: 13px 14px;
    color: var(--ink);
    background: #fff;
    outline: none;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(11, 94, 215, 0.12);
}

.contact-form .btn {
    width: 100%;
}

.site-footer {
    padding: 28px 0;
    color: rgba(255, 255, 255, 0.78);
    background: #071a2f;
}

.footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-grid p,
.footer-grid strong {
    margin: 0;
}

.footer-grid strong {
    display: block;
    color: #fff;
    margin-bottom: 4px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-end;
}

.footer-grid a {
    color: #fff;
    font-weight: 800;
}

@media (max-width: 980px) {
    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 1px);
        left: 20px;
        right: 20px;
        display: none;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: #fff;
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: grid;
    }

    .site-nav a {
        border-radius: var(--radius);
    }

    .hero {
        min-height: 680px;
    }

    .hero-content {
        margin: 0 auto;
    }

    .split-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .service-grid,
    .team-grid,
    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .partner-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .partner-panel-wide,
    .partner-duo,
    .gallery-hero-grid,
    .gallery-preview-grid {
        grid-template-columns: 1fr;
    }

    .partner-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .capability-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .capability-grid article:nth-child(2) {
        border-right: 0;
    }

    .capability-grid article {
        border-bottom: 1px solid var(--line);
    }

    .capability-grid article:nth-child(n + 3) {
        border-bottom: 0;
    }

    .industry-panel {
        grid-template-columns: 1fr;
    }

    .gallery-board {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    :root {
        --header: 88px;
    }

    .container {
        width: min(100% - 28px, 1140px);
    }

    .site-header {
        padding-inline: 14px;
    }

    .brand {
        gap: 8px;
    }

    .brand-logo {
        width: 205px;
        height: 72px;
        padding: 5px 6px;
    }

    .hero {
        min-height: 660px;
        padding-top: calc(var(--header) + 36px);
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(5, 18, 34, 0.86), rgba(5, 18, 34, 0.7));
    }

    .hero-actions,
    .footer-grid {
        align-items: stretch;
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 68px 0;
    }

    .service-grid,
    .team-grid,
    .partner-grid,
    .process-grid,
    .capability-grid {
        grid-template-columns: 1fr;
    }

    .partner-panel {
        padding: 22px;
    }

    .partner-card {
        min-height: 92px;
    }

    .capability-strip {
        margin-top: 0;
        padding: 26px 0;
        background: var(--soft);
    }

    .capability-grid article,
    .capability-grid article:nth-child(2),
    .capability-grid article:nth-child(n + 3) {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .capability-grid article:last-child {
        border-bottom: 0;
    }

    .process-grid article {
        min-height: auto;
    }

    .gallery-track img {
        width: 210px;
        height: 210px;
    }

    .gallery-feature {
        min-height: 300px;
    }

    .gallery-toolbar {
        position: static;
        justify-content: flex-start;
    }

    .gallery-toolbar button {
        flex: 1 1 auto;
    }

    .gallery-board {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        min-height: 260px;
    }

    .gallery-category-heading {
        display: block;
    }

    .gallery-hero-frame {
        min-height: 320px;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
