:root {
    --navy: #0b2f6b;
    --navy-deep: #06224f;
    --teal: #11a7a1;
    --teal-dark: #067a80;
    --green: #69be45;
    --gold: #d9a441;
    --ink: #243044;
    --muted: #617084;
    --line: #dce7ee;
    --soft: #f3f9fa;
    --white: #ffffff;
    --shadow: 0 24px 70px rgba(11, 47, 107, 0.14);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

section[id] {
    scroll-margin-top: 120px;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: "Nunito Sans", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
}

body.menu-open {
    overflow: hidden;
}

body.modal-open {
    overflow: hidden;
}

body.is-loading {
    overflow: hidden;
}

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 22px;
    min-height: 100svh;
    background:
        radial-gradient(circle at center, rgba(17, 167, 161, 0.14), transparent 30%),
        linear-gradient(145deg, #ffffff, #f1fafb);
    opacity: 1;
    visibility: visible;
    transition: opacity 420ms ease, visibility 420ms ease;
}

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

.page-loader__mark {
    position: relative;
    display: grid;
    place-items: center;
    width: 154px;
    height: 154px;
}

.page-loader__mark::before,
.page-loader__mark::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid rgba(17, 167, 161, 0.18);
    border-top-color: var(--teal);
    border-radius: 50%;
    animation: loader-spin 1.4s linear infinite;
}

.page-loader__mark::after {
    inset: 14px;
    border-color: rgba(105, 190, 69, 0.18);
    border-bottom-color: var(--green);
    animation-direction: reverse;
    animation-duration: 1.9s;
}

.page-loader__mark img {
    position: relative;
    z-index: 1;
    width: 96px;
    height: 96px;
    object-fit: contain;
    animation: loader-pulse 1.5s ease-in-out infinite;
}

.page-loader__mark span {
    position: absolute;
    inset: 38px;
    background: rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    box-shadow: 0 24px 70px rgba(11, 47, 107, 0.16);
}

.page-loader p {
    margin: 0;
    color: var(--navy);
    font-family: Montserrat, Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

@keyframes loader-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes loader-pulse {
    0%,
    100% {
        opacity: 0.72;
        transform: scale(0.96);
    }

    50% {
        opacity: 1;
        transform: scale(1.04);
    }
}

[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 620ms ease,
        transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--reveal-index, 0) * 55ms);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.split-word {
    display: inline-block;
    white-space: nowrap;
}

.split-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(0.72em) rotateX(34deg);
    transform-origin: 50% 80%;
    transition:
        opacity 520ms ease,
        transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--char-index, 0) * 13ms);
    will-change: opacity, transform;
}

[data-reveal].is-visible .split-char,
.hero-slide.is-active .split-char {
    opacity: 1;
    transform: translateY(0) rotateX(0);
}

@keyframes hero-copy-in {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hero-card-in {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes soft-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-loader__mark::before,
    .page-loader__mark::after,
    .page-loader__mark img {
        animation: none;
    }

    [data-reveal],
    .split-char,
    .hero-slide.is-active .hero-copy > *,
    .hero-slide.is-active .hero-card,
    .hero-slide.is-active .hero-card-note {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .services-gallery__item,
    .services-gallery__item img,
    .image-modal,
    .image-modal__dialog,
    .hero-copy > *,
    .hero-card,
    .hero-card-note,
    .hero-bg-mark {
        animation: none !important;
        transition: none;
    }

    .services-gallery__item:hover,
    .services-gallery__item:focus-within,
    .services-gallery__item:hover img,
    .services-gallery__item:focus-within img,
    .image-modal__dialog {
        transform: none;
    }
}

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

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    border-top: 8px solid var(--navy);
    box-shadow: 0 10px 30px rgba(11, 47, 107, 0.08);
    backdrop-filter: blur(16px);
}

.site-header::after {
    content: "";
    display: block;
    height: 5px;
    background: linear-gradient(90deg, var(--teal) 0 45%, var(--green) 45% 80%, var(--gold) 80% 100%);
}

.nav-shell {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 28px;
    width: min(1160px, calc(100% - 40px));
    min-height: 92px;
    margin: 0 auto;
}

.nav-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-left {
    justify-content: flex-end;
}

.nav-right {
    justify-content: flex-start;
}

.nav-group a,
.mobile-menu a {
    color: var(--navy);
    font-family: Montserrat, Arial, sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.nav-group a {
    padding: 10px 10px;
    border-radius: 999px;
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-group a:hover,
.nav-group a:focus-visible {
    color: var(--teal-dark);
    background: rgba(17, 167, 161, 0.1);
    transform: translateY(-1px);
}

.brand {
    display: grid;
    place-items: center;
    width: 100px;
    height: 86px;
    padding: 0;
}

.brand img {
    width: 96px;
    height: 82px;
    object-fit: contain;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 8px;
    background: var(--navy);
    cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: var(--white);
    border-radius: 999px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.mobile-menu {
    display: none;
}

.section,
.section-band {
    position: relative;
    padding: 96px 0;
    overflow: hidden;
}

.section-soft {
    background:
        radial-gradient(circle at top right, rgba(17, 167, 161, 0.14), transparent 34%),
        linear-gradient(180deg, var(--soft), #ffffff);
}

.section-compact {
    padding-top: 68px;
}

.hero {
    min-height: calc(100vh - 105px);
    padding: 0;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.96) 0 48%, rgba(243, 249, 250, 0.9) 48% 100%),
        radial-gradient(circle at 86% 26%, rgba(105, 190, 69, 0.22), transparent 28%);
}

.hero-bg-mark {
    position: absolute;
    inset: auto -120px -190px auto;
    width: 560px;
    height: 560px;
    background: url("../images/logo.png") center / contain no-repeat;
    opacity: 0.055;
    pointer-events: none;
    animation: soft-float 7s ease-in-out infinite;
}

.hero-track {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: calc(100vh - 105px);
    padding: 36px 0 48px;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 520ms ease, visibility 520ms ease;
}

.hero-slide.is-active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.hero-slide .hero-copy > *,
.hero-slide .hero-card,
.hero-slide .hero-card-note {
    opacity: 0;
}

.hero-slide.is-active .hero-copy > * {
    animation: hero-copy-in 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-slide.is-active .hero-copy .eyebrow {
    animation-delay: 80ms;
}

.hero-slide.is-active .hero-copy h1 {
    animation-delay: 150ms;
}

.hero-slide.is-active .hero-lead {
    animation-delay: 520ms;
}

.hero-slide.is-active .hero-actions {
    animation-delay: 640ms;
}

.hero-slide.is-active .trust-strip {
    animation-delay: 760ms;
}

.hero-slide.is-active .hero-card {
    animation: hero-card-in 680ms cubic-bezier(0.22, 1, 0.36, 1) 260ms both;
}

.hero-slide.is-active .hero-card-note {
    animation: hero-copy-in 560ms cubic-bezier(0.22, 1, 0.36, 1) 1080ms both;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: clamp(34px, 4vw, 58px);
    width: min(1280px, calc(100% - 56px));
    min-width: 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    color: var(--teal-dark);
    font-family: Montserrat, Arial, sans-serif;
    font-size: 0.79rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.eyebrow::after {
    content: "";
    width: 64px;
    height: 4px;
    background: linear-gradient(90deg, var(--teal), var(--green));
    border-radius: 999px;
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--navy);
    font-family: Montserrat, Arial, sans-serif;
    line-height: 1.12;
}

h1 {
    max-width: 760px;
    font-size: clamp(2.45rem, 4.45vw, 4.85rem);
    font-weight: 800;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 650px;
    font-size: clamp(2.18rem, 2.82vw, 3.45rem);
    line-height: 1.08;
    text-wrap: balance;
}

h2 {
    font-size: clamp(2rem, 3.4vw, 3.4rem);
    font-weight: 800;
}

h3 {
    font-size: 1.05rem;
    font-weight: 800;
}

.hero-lead,
.section p,
.contact-section p {
    color: var(--muted);
}

.hero-lead {
    max-width: 620px;
    margin: 22px 0 0;
    font-size: 1.16rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 22px;
    border: 2px solid transparent;
    border-radius: 8px;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--navy), var(--teal-dark));
    box-shadow: 0 18px 35px rgba(11, 47, 107, 0.2);
}

.btn-secondary {
    color: var(--navy);
    background: var(--white);
    border-color: rgba(11, 47, 107, 0.16);
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(170px, max-content));
    gap: 10px;
    margin-top: 24px;
    width: fit-content;
}

.trust-strip span,
.step-cloud span,
.modality-pill {
    color: var(--navy);
    background: var(--white);
    border: 1px solid rgba(17, 167, 161, 0.22);
    border-radius: 999px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(11, 47, 107, 0.07);
}

.trust-strip span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 14px;
    font-size: 0.87rem;
    text-align: center;
    white-space: nowrap;
}

.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 16px;
    z-index: 3;
    display: flex;
    justify-content: center;
    width: auto;
    gap: 10px;
    margin: 0;
    transform: translateX(-50%);
}

.hero-controls button {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    color: var(--navy);
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(17, 167, 161, 0.24);
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(11, 47, 107, 0.1);
    cursor: pointer;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.hero-controls button:hover,
.hero-controls button:focus-visible,
.hero-controls button.is-active {
    color: var(--white);
    background: linear-gradient(135deg, var(--navy), var(--teal-dark));
    transform: translateY(-2px);
}

.hero-controls span {
    font-family: Montserrat, Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
}

.hero-card {
    position: relative;
    display: grid;
    gap: 14px;
    padding: 16px;
    background: var(--white);
    border: 1px solid rgba(11, 47, 107, 0.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-card > img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
}

.solution-card {
    min-height: auto;
}

.hero-visual {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-self: center;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.hero-image-card {
    align-self: center;
    margin: 0;
    padding: 12px;
    overflow: hidden;
    isolation: isolate;
}

.hero-image-card::before {
    content: "";
    position: absolute;
    inset: 12px;
    z-index: 1;
    border-radius: calc(var(--radius) - 2px);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(6, 34, 79, 0.08) 72%),
        linear-gradient(0deg, rgba(6, 34, 79, 0.28), transparent 48%);
    pointer-events: none;
}

.hero-image-card > img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    object-position: center;
    border-radius: calc(var(--radius) - 2px);
}

.hero-card-note {
    position: static;
    width: 100%;
    max-width: 100%;
    padding: 16px 20px;
    color: var(--white);
    background: linear-gradient(135deg, rgba(6, 34, 79, 0.96), rgba(11, 47, 107, 0.92));
    border-left: 5px solid var(--green);
    border-radius: var(--radius);
    box-shadow: 0 18px 36px rgba(6, 34, 79, 0.16);
    overflow-wrap: anywhere;
    word-break: normal;
}

.hero-card-note strong,
.hero-card-note span {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.split {
    display: grid;
    grid-template-columns: 1fr 0.82fr;
    align-items: center;
    gap: 56px;
}

.media-section,
.process-redesign {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(24px, 4vw, 36px);
}

.section-visual {
    margin: 0;
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(11, 47, 107, 0.08);
    border-radius: var(--radius);
    box-shadow: 0 22px 62px rgba(11, 47, 107, 0.1);
}

.section-visual img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.section-visual--wide img,
.process-image img {
    aspect-ratio: auto;
}

.value-points,
.process-summary {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

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

.value-points article,
.process-summary article {
    padding: 20px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(11, 47, 107, 0.08);
    border-radius: var(--radius);
    box-shadow: 0 14px 38px rgba(11, 47, 107, 0.08);
}

.value-points p,
.process-summary p {
    margin-top: 8px;
    font-size: 0.98rem;
}

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

.process-summary article {
    display: grid;
    align-content: start;
}

.process-summary span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    color: var(--white);
    background: linear-gradient(135deg, var(--teal), var(--navy));
    border-radius: 12px;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
}

.section p {
    margin: 20px 0 0;
    font-size: 1.1rem;
}

.commitment-panel {
    padding: 30px;
    background: var(--white);
    border: 1px solid rgba(11, 47, 107, 0.1);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.commitment-panel h3 {
    margin-bottom: 22px;
}

.bridge-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 34px;
}

.bridge-card {
    position: relative;
    min-height: 190px;
    padding: 24px;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(17, 167, 161, 0.14), transparent 34%),
        var(--white);
    border: 1px solid rgba(11, 47, 107, 0.08);
    border-radius: var(--radius);
    box-shadow: 0 16px 44px rgba(11, 47, 107, 0.08);
}

.bridge-card::before {
    content: "";
    display: block;
    width: 56px;
    height: 5px;
    margin-bottom: 18px;
    background: linear-gradient(90deg, var(--teal), var(--green), var(--gold));
    border-radius: 999px;
}

.bridge-card p {
    margin-top: 12px;
    font-size: 0.98rem;
}

.commitment-item {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    border-top: 1px solid var(--line);
}

.commitment-item span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--white);
    background: linear-gradient(135deg, var(--teal), var(--navy));
    border-radius: 8px;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
}

.step-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0 0;
}

.step-cloud span {
    padding: 10px 16px;
}

.section-claim {
    color: var(--navy) !important;
    font-family: Montserrat, Arial, sans-serif;
    font-weight: 800;
}

.section-heading {
    max-width: 780px;
    margin-bottom: 42px;
}

.section-heading p:not(.eyebrow) {
    margin-top: 14px;
}

.areas-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 28px;
    align-items: center;
}

.areas-image-frame {
    margin: 0;
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(11, 47, 107, 0.08);
    border-radius: var(--radius);
    box-shadow: 0 20px 58px rgba(11, 47, 107, 0.1);
}

.areas-image-frame img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.areas-image-note {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 16px;
    background:
        linear-gradient(135deg, rgba(6, 34, 79, 0.96), rgba(6, 122, 128, 0.92));
    border-top: 4px solid var(--green);
}

.areas-image-note span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 10px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    font-family: Montserrat, Arial, sans-serif;
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
}

.areas-summary {
    display: grid;
    gap: 16px;
}

.areas-summary__item {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding: 22px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(11, 47, 107, 0.08);
    border-radius: var(--radius);
    box-shadow: 0 14px 38px rgba(11, 47, 107, 0.08);
}

.areas-summary__item span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--white);
    background: linear-gradient(135deg, var(--teal), var(--navy));
    border-radius: 12px;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
}

.areas-summary__item p {
    margin-top: 8px;
    font-size: 0.98rem;
}

.services-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 30px;
}

.services-gallery__item {
    margin: 0;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--white);
    border: 1px solid rgba(11, 47, 107, 0.08);
    border-radius: var(--radius);
    box-shadow: 0 18px 46px rgba(11, 47, 107, 0.1);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.services-gallery__item:hover,
.services-gallery__item:focus-within {
    border-color: rgba(17, 167, 161, 0.28);
    box-shadow: 0 24px 58px rgba(11, 47, 107, 0.16);
    transform: translateY(-4px);
}

.services-gallery__button {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    overflow: hidden;
    color: inherit;
    background: transparent;
    border: 0;
    cursor: zoom-in;
}

.services-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 280ms ease;
}

.services-gallery__item:hover img,
.services-gallery__item:focus-within img {
    transform: scale(1.055);
}

.services-gallery__button:focus-visible {
    outline: 4px solid rgba(17, 167, 161, 0.28);
    outline-offset: -4px;
}

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

.modality-pill {
    display: flex;
    align-items: center;
    min-height: 68px;
    padding: 16px 20px;
    line-height: 1.25;
}

.modality-pill::before {
    content: "";
    width: 12px;
    height: 12px;
    margin-right: 12px;
    flex: 0 0 12px;
    background: var(--gold);
    border-radius: 999px;
}

.contact-section {
    padding: 88px 0;
    background:
        linear-gradient(rgba(11, 47, 107, 0.9), rgba(11, 47, 107, 0.92)),
        url("../images/logo.png") right 10% center / 440px no-repeat;
    color: var(--white);
}

.contact-card {
    display: grid;
    grid-template-columns: 1fr 0.48fr;
    gap: 46px;
    align-items: center;
}

.contact-card .eyebrow,
.contact-card h2,
.contact-card p {
    color: var(--white);
}

.contact-card p {
    max-width: 720px;
    opacity: 0.9;
}

.contact-actions {
    display: grid;
    gap: 13px;
}

.contact-label {
    padding: 16px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 5px solid var(--green);
    border-radius: var(--radius);
}

.contact-label span {
    display: block;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.72);
    font-family: Montserrat, Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-label strong {
    display: block;
    color: var(--white);
    font-family: Montserrat, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 180ms ease, visibility 180ms ease;
}

.contact-modal.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.contact-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 34, 79, 0.72);
    backdrop-filter: blur(10px);
}

.contact-modal__dialog {
    position: relative;
    width: min(760px, 100%);
    max-height: min(92vh, 820px);
    overflow: auto;
    padding: 30px;
    background:
        radial-gradient(circle at top right, rgba(17, 167, 161, 0.16), transparent 32%),
        linear-gradient(145deg, #ffffff, #f4fafb);
    border: 1px solid rgba(17, 167, 161, 0.22);
    border-radius: var(--radius);
    box-shadow: 0 32px 90px rgba(6, 34, 79, 0.28);
}

.contact-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    background: var(--navy);
    border: 0;
    border-radius: var(--radius);
    cursor: pointer;
}

.contact-modal__close span {
    position: absolute;
    width: 18px;
    height: 2px;
    background: var(--white);
    border-radius: 999px;
}

.contact-modal__close span:first-child {
    transform: rotate(45deg);
}

.contact-modal__close span:last-child {
    transform: rotate(-45deg);
}

.contact-modal__intro {
    max-width: 620px;
    padding-right: 48px;
}

.contact-modal__intro p:not(.eyebrow) {
    margin: 12px 0 0;
    color: var(--muted);
}

.contact-modal__intro h2 {
    font-size: clamp(1.9rem, 3.2vw, 2.8rem);
}

.contact-form {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.form-honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

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

.contact-form label {
    display: grid;
    gap: 8px;
}

.contact-form label span {
    color: var(--navy);
    font-family: Montserrat, Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 14px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid rgba(11, 47, 107, 0.14);
    border-radius: var(--radius);
    box-shadow: 0 10px 24px rgba(11, 47, 107, 0.06);
    font: inherit;
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(17, 167, 161, 0.14);
}

.image-modal {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 180ms ease, visibility 180ms ease;
}

.image-modal.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.image-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 34, 79, 0.76);
    backdrop-filter: blur(10px);
}

.image-modal__dialog {
    position: relative;
    width: min(1080px, 100%);
    max-height: min(92svh, 900px);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 18px;
    padding: 24px;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(17, 167, 161, 0.14), transparent 32%),
        linear-gradient(145deg, #ffffff, #f4fafb);
    border: 1px solid rgba(17, 167, 161, 0.22);
    border-radius: var(--radius);
    box-shadow: 0 34px 90px rgba(6, 34, 79, 0.3);
    transform: translateY(14px) scale(0.98);
    transition: transform 180ms ease;
}

.image-modal.is-open .image-modal__dialog {
    transform: translateY(0) scale(1);
}

.image-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    background: var(--navy);
    border: 0;
    border-radius: var(--radius);
    cursor: pointer;
}

.image-modal__close span {
    position: absolute;
    width: 18px;
    height: 2px;
    background: var(--white);
    border-radius: 999px;
}

.image-modal__close span:first-child {
    transform: rotate(45deg);
}

.image-modal__close span:last-child {
    transform: rotate(-45deg);
}

.image-modal__intro {
    max-width: 780px;
    padding-right: 54px;
}

.image-modal__intro h2 {
    font-size: clamp(1.55rem, 2.8vw, 2.35rem);
}

.image-modal__frame {
    min-height: 0;
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(11, 47, 107, 0.08);
    border-radius: var(--radius);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.image-modal__frame img {
    width: 100%;
    height: 100%;
    max-height: calc(92svh - 150px);
    object-fit: contain;
    object-position: center;
    background: var(--white);
}

.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.form-actions p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.form-actions p.is-success {
    color: var(--teal);
    font-weight: 700;
}

.form-actions p.is-error {
    color: #b42318;
    font-weight: 700;
}

.form-actions .btn {
    flex: 0 0 auto;
}

.form-actions .btn:disabled {
    cursor: wait;
    opacity: 0.72;
}

.site-footer {
    padding: 28px 0;
    background: var(--white);
    border-bottom: 8px solid var(--navy);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    color: var(--muted);
}

.footer-inner img {
    width: 88px;
    height: 88px;
    object-fit: contain;
}

.footer-summary {
    display: grid;
    gap: 4px;
}

.footer-summary strong {
    color: var(--navy);
    font-family: Montserrat, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.25;
}

.footer-summary span {
    font-weight: 700;
}

@media (max-width: 1040px) {
    .nav-shell {
        grid-template-columns: 1fr auto;
        min-height: 82px;
    }

    .nav-group {
        display: none;
    }

    .brand {
        justify-self: start;
        width: 86px;
        height: 74px;
    }

    .brand img {
        width: 82px;
        height: 64px;
    }

    .menu-toggle {
        display: block;
        justify-self: end;
    }

    .mobile-menu {
        position: fixed;
        inset: 95px 20px auto;
        display: grid;
        gap: 8px;
        padding: 18px;
        background: var(--white);
        border: 1px solid rgba(11, 47, 107, 0.12);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 180ms ease, transform 180ms ease;
    }

    .mobile-menu.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .mobile-menu a {
        padding: 14px 12px;
        border-bottom: 1px solid var(--line);
    }

    .hero-grid,
    .split,
    .media-section,
    .process-redesign,
    .areas-showcase,
    .contact-card {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero-slide {
        min-height: calc(100svh - 95px);
        padding: 52px 0 78px;
    }

    .hero-copy {
        max-width: 760px;
    }

    .hero-visual {
        max-width: 760px;
        width: 100%;
    }

    .areas-image-frame img {
        min-height: auto;
    }

    .services-gallery,
    .bridge-grid,
    .value-points,
    .modality-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    body {
        font-size: 16px;
    }

    html {
        scroll-padding-top: 94px;
    }

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

    .section,
    .contact-section {
        padding: 64px 0;
    }

    .section-band {
        padding: 0;
    }

    h1 {
        font-size: clamp(2.1rem, 12vw, 3.05rem);
    }

    .hero h1 {
        max-width: 100%;
        font-size: clamp(1.72rem, 7.4vw, 2.06rem);
        line-height: 1.12;
        overflow-wrap: anywhere;
        text-wrap: auto;
    }

    .hero h1 .split-word {
        display: contents;
        white-space: normal;
    }

    .hero h1 .split-char {
        display: inline;
        transform: none;
    }

    .hero-copy {
        width: 100%;
        overflow: visible;
    }

    h2 {
        font-size: clamp(1.65rem, 8vw, 2.25rem);
    }

    .hero-lead {
        max-width: min(100%, 330px);
        font-size: 1.07rem;
        overflow-wrap: anywhere;
    }

    .trust-strip {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .trust-strip span {
        white-space: normal;
    }

    .hero-actions,
    .btn {
        width: 100%;
    }

    .hero-slide {
        min-height: calc(100svh - 95px);
        padding: 44px 0 92px;
    }

    .hero-controls {
        bottom: 22px;
        justify-content: center;
    }

    .hero-controls button {
        width: 42px;
        height: 42px;
    }

    .hero-card-note {
        position: static;
        width: 100%;
        margin-top: 0;
        padding: 13px 15px;
        font-size: 0.9rem;
    }

    .hero-card-note span {
        max-width: 30ch;
    }

    .hero-image-card {
        padding: 10px;
    }

    .hero-image-card::before {
        inset: 10px;
    }

    .services-gallery,
    .bridge-grid,
    .value-points,
    .process-summary,
    .modality-grid {
        grid-template-columns: 1fr;
    }

    .areas-summary__item {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 20px;
    }

    .areas-image-note {
        grid-template-columns: 1fr;
        padding: 12px;
    }

    .areas-summary__item span {
        width: 40px;
        height: 40px;
    }

    .contact-modal {
        padding: 14px;
    }

    .image-modal {
        padding: 14px;
    }

    .contact-modal__dialog {
        max-height: calc(100svh - 28px);
        padding: 24px;
    }

    .image-modal__dialog {
        max-height: calc(100svh - 28px);
        padding: 18px;
    }

    .contact-modal__intro {
        padding-right: 42px;
    }

    .image-modal__intro {
        padding-right: 48px;
    }

    .image-modal__frame img {
        max-height: calc(100svh - 150px);
    }

    .form-grid,
    .form-actions {
        grid-template-columns: 1fr;
    }

    .form-grid {
        display: grid;
    }

    .form-actions {
        align-items: stretch;
        flex-direction: column;
    }

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

    .contact-section {
        background:
            linear-gradient(rgba(11, 47, 107, 0.93), rgba(11, 47, 107, 0.95)),
            url("../images/logo.png") center / 320px no-repeat;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}
