:root {
    --blue: #1687ce;
    --blue-dark: #096aa9;
    --blue-soft: #eaf6fd;
    --ink: #07131d;
    --ink-soft: #31475a;
    --line: #dce7ef;
    --surface: #f5f9fc;
    --white: #fff;
    --shadow: 0 22px 60px rgba(7, 31, 49, .12);
    --radius: 20px;
    --shell: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body,
button,
input,
textarea {
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

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

button {
    color: inherit;
}

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

h1,
h2,
h3 {
    line-height: 1.15;
    letter-spacing: -.035em;
}

.shell {
    width: min(calc(100% - 48px), var(--shell));
    margin: 0 auto;
}

.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;
}

.site-header {
    position: absolute;
    z-index: 50;
    top: 0;
    left: 0;
    width: 100%;
    color: var(--white);
}

.topbar {
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    background: rgba(4, 13, 21, .7);
    backdrop-filter: blur(14px);
}

.topbar-inner {
    display: flex;
    min-height: 40px;
    align-items: center;
    justify-content: space-between;
}

.topbar-contact {
    display: flex;
    align-items: center;
    gap: 22px;
}

.topbar-contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
    font-weight: 650;
    transition: color .2s ease;
}

.topbar-contact a:hover {
    color: var(--white);
}

.topbar-contact svg {
    width: 15px;
    height: 15px;
    fill: var(--blue);
}

.language-switch {
    position: relative;
}

.language-button {
    display: inline-flex;
    min-height: 30px;
    padding: 4px 10px;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    color: rgba(255, 255, 255, .9);
    background: rgba(255, 255, 255, .06);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.language-button svg,
.nav-dropdown-button svg {
    width: 12px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    transition: transform .2s ease;
}

.language-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 0 4px rgba(22, 135, 206, .16);
}

.language-switch.is-open .language-button svg,
.nav-dropdown.is-open .nav-dropdown-button svg {
    transform: rotate(180deg);
}

.language-menu {
    position: absolute;
    top: calc(100% + 9px);
    right: 0;
    display: grid;
    width: 148px;
    padding: 7px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 14px;
    visibility: hidden;
    opacity: 0;
    background: rgba(7, 20, 30, .92);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .25);
    backdrop-filter: blur(18px);
    transform: translateY(-5px);
    transition: .2s ease;
}

.language-switch.is-open .language-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.language-menu a {
    padding: 8px 10px;
    border-radius: 9px;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    font-weight: 650;
}

.language-menu a:hover,
.language-menu a.is-active {
    color: var(--white);
    background: rgba(22, 135, 206, .18);
}

.nav-wrap {
    border-bottom: 1px solid rgba(255, 255, 255, .11);
    background: rgba(7, 20, 30, .74);
    backdrop-filter: blur(18px);
}

.nav-inner {
    display: grid;
    min-height: 104px;
    grid-template-columns: 230px 1fr auto;
    align-items: center;
    gap: 40px;
}

.brand {
    display: inline-flex;
    width: 205px;
    align-items: center;
}

.brand img,
.footer-logo {
    width: 100%;
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.main-nav > a,
.nav-dropdown-button {
    position: relative;
    padding: 15px 0;
    border: 0;
    color: rgba(255, 255, 255, .9);
    background: transparent;
    font-size: 14px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: .025em;
    cursor: pointer;
}

.main-nav > a::after,
.nav-dropdown-button::after {
    position: absolute;
    right: 0;
    bottom: 7px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .25s ease;
}

.main-nav > a:hover::after,
.nav-dropdown-button:hover::after,
.nav-dropdown.is-open .nav-dropdown-button::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: -20px;
    display: grid;
    width: 220px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    visibility: hidden;
    opacity: 0;
    color: var(--ink);
    background: rgba(255, 255, 255, .97);
    box-shadow: var(--shadow);
    transform: translateY(-6px);
    transition: .2s ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 700;
}

.nav-dropdown-menu a:hover {
    color: var(--blue-dark);
    background: var(--blue-soft);
}

.header-cta,
.button {
    display: inline-flex;
    min-height: 52px;
    padding: 0 24px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid var(--blue);
    border-radius: 9px;
    color: var(--white);
    background: var(--blue);
    font-size: 14px;
    font-weight: 800;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.header-cta {
    min-width: 142px;
    min-height: 50px;
}

.header-cta:hover,
.button:hover {
    background: var(--blue-dark);
    box-shadow: 0 12px 30px rgba(22, 135, 206, .28);
    transform: translateY(-2px);
}

.button-dark {
    border-color: var(--ink);
    background: var(--ink);
}

.button-dark:hover {
    border-color: var(--blue-dark);
    background: var(--blue-dark);
}

.menu-toggle {
    display: none;
}

.hero {
    position: relative;
    min-height: 790px;
    overflow: hidden;
    color: var(--white);
    background: var(--ink);
}

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

.hero-slide {
    visibility: hidden;
    opacity: 0;
    transition: opacity .7s ease, visibility .7s ease;
}

.hero-slide.is-active {
    z-index: 2;
    visibility: visible;
    opacity: 1;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-1 {
    object-position: 50% 46%;
}

.hero-image-2 {
    object-position: 50% 43%;
}

.hero-image-3 {
    object-position: 50% 45%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 12, 20, .94) 0%, rgba(3, 15, 24, .77) 38%, rgba(3, 15, 24, .18) 72%, rgba(3, 15, 24, .1) 100%),
        linear-gradient(0deg, rgba(3, 14, 23, .28), transparent 55%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 790px;
    padding-top: 170px;
    padding-bottom: 70px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.eyebrow {
    display: flex;
    margin-bottom: 20px;
    align-items: center;
    gap: 12px;
    color: #75c9f4;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: .2em;
}

.eyebrow::before {
    width: 38px;
    height: 2px;
    content: "";
    background: var(--blue);
}

.eyebrow-dark {
    color: var(--blue-dark);
}

.hero h1 {
    width: 100%;
    max-width: 760px;
    margin-bottom: 24px;
    font-size: clamp(48px, 5.1vw, 78px);
    font-weight: 800;
    letter-spacing: -.055em;
}

.hero-copy {
    width: 100%;
    max-width: 650px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, .8);
    font-size: 19px;
    line-height: 1.7;
}

.hero-arrow {
    position: absolute;
    z-index: 5;
    top: 56%;
    display: grid;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, .23);
    border-radius: 50%;
    place-items: center;
    color: var(--white);
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: .2s ease;
}

.hero-arrow:hover {
    border-color: var(--blue);
    background: var(--blue);
}

.hero-prev {
    left: 28px;
}

.hero-next {
    right: 28px;
}

.hero-dots {
    position: absolute;
    z-index: 5;
    right: 0;
    bottom: 34px;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 9px;
}

.hero-dots button {
    width: 34px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    opacity: .46;
    background: var(--white);
    cursor: pointer;
    transition: .2s ease;
}

.hero-dots button.is-active {
    opacity: 1;
    background: var(--blue);
}

.section {
    padding: 105px 0;
}

.about-section {
    background: var(--white);
}

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

.media-card {
    position: relative;
}

.media-card img {
    width: 100%;
    aspect-ratio: 1.05;
    border-radius: var(--radius);
    object-fit: cover;
    box-shadow: var(--shadow);
}

.media-accent {
    position: absolute;
    z-index: -1;
    right: -24px;
    bottom: -24px;
    width: 44%;
    height: 45%;
    border-radius: var(--radius);
    background: var(--blue-soft);
}

.section-copy h2,
.section-heading h2,
.cta-card h2,
.contact-intro h2 {
    margin-bottom: 24px;
    font-size: clamp(36px, 4vw, 56px);
}

.section-copy > p:not(.eyebrow),
.section-heading > p:not(.eyebrow),
.contact-intro > p:not(.eyebrow) {
    margin-bottom: 32px;
    color: var(--ink-soft);
    font-size: 18px;
    line-height: 1.85;
}

.services-section {
    background:
        radial-gradient(circle at 90% 10%, rgba(22, 135, 206, .08), transparent 28%),
        var(--surface);
}

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

.section-heading .eyebrow {
    justify-content: center;
}

.section-heading-left {
    margin: 80px 0 38px;
    text-align: left;
}

.section-heading-left .eyebrow {
    justify-content: flex-start;
}

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

.service-card {
    display: flex;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    flex-direction: column;
    background: var(--white);
    box-shadow: 0 8px 30px rgba(7, 31, 49, .05);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.service-card:hover {
    border-color: rgba(22, 135, 206, .5);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
}

.service-image {
    overflow: hidden;
    aspect-ratio: 1.5;
    background: var(--ink);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease, opacity .3s ease;
}

.service-card:hover .service-image img {
    opacity: .9;
    transform: scale(1.045);
}

.service-content {
    display: flex;
    padding: 28px;
    flex: 1;
    flex-direction: column;
}

.card-kicker {
    margin-bottom: 12px;
    color: var(--blue-dark);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .15em;
}

.service-content h2,
.service-content h3 {
    margin-bottom: 14px;
    font-size: 23px;
    letter-spacing: -.025em;
}

.service-content p:not(.card-kicker) {
    margin-bottom: 24px;
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.7;
}

.service-content span,
.news-card span {
    margin-top: auto;
    color: var(--blue-dark);
    font-size: 14px;
    font-weight: 800;
}

.cta-section {
    padding-top: 0;
    background: var(--surface);
}

.cta-card {
    display: flex;
    padding: 60px;
    border-radius: 24px;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    color: var(--white);
    background:
        linear-gradient(110deg, rgba(7, 20, 30, .96), rgba(7, 49, 76, .92)),
        var(--ink);
    box-shadow: var(--shadow);
}

.cta-card h2 {
    max-width: 760px;
    margin-bottom: 0;
}

.page-hero {
    padding: 245px 0 105px;
    color: var(--white);
    background:
        radial-gradient(circle at 80% 0, rgba(22, 135, 206, .3), transparent 38%),
        linear-gradient(120deg, #06121c, #0b2537);
}

.page-hero-compact {
    padding-bottom: 85px;
}

.page-hero h1 {
    max-width: 930px;
    margin-bottom: 22px;
    font-size: clamp(44px, 5.2vw, 72px);
}

.page-hero > .shell > p:not(.eyebrow) {
    max-width: 790px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, .74);
    font-size: 19px;
}

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

.service-grid-page .service-card {
    display: grid;
    min-height: 360px;
    grid-template-columns: .9fr 1.1fr;
}

.service-grid-page .service-image {
    height: 100%;
    aspect-ratio: auto;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr);
    align-items: start;
    gap: 56px;
}

.detail-media {
    position: sticky;
    top: 30px;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.detail-media img {
    width: 100%;
    min-height: 580px;
    object-fit: cover;
}

.detail-panel {
    padding: 18px 0;
}

.detail-panel > h2 {
    margin-bottom: 34px;
    font-size: 42px;
}

.feature-list {
    display: grid;
    gap: 14px;
}

.feature-list article {
    display: grid;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 15px;
    grid-template-columns: 34px 1fr;
    gap: 14px;
    background: var(--white);
}

.feature-list article > span {
    display: grid;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    place-items: center;
    color: var(--white);
    background: var(--blue);
    font-size: 13px;
}

.feature-list h3 {
    margin-bottom: 7px;
    font-size: 19px;
}

.feature-list p {
    margin-bottom: 0;
    color: var(--ink-soft);
    font-size: 14px;
}

.result-card {
    margin-top: 70px;
    padding: 54px;
    border: 1px solid var(--line);
    border-left: 5px solid var(--blue);
    border-radius: 18px;
    background: var(--surface);
}

.result-card h2 {
    max-width: 960px;
    margin-bottom: 30px;
    font-size: 30px;
    line-height: 1.45;
}

.content-narrow {
    max-width: 1040px;
}

.intro-cards {
    display: grid;
    gap: 18px;
}

.intro-cards p {
    margin: 0;
    padding: 30px 34px;
    border: 1px solid var(--line);
    border-left: 4px solid var(--blue);
    border-radius: 15px;
    color: var(--ink-soft);
    background: var(--white);
    box-shadow: 0 10px 35px rgba(7, 31, 49, .05);
    font-size: 17px;
    line-height: 1.85;
}

.featured-grid {
    display: grid;
    margin-top: 26px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.featured-grid article {
    padding: 36px;
    border-radius: 18px;
    color: var(--white);
    background: linear-gradient(135deg, var(--ink), #123b55);
}

.featured-grid h2 {
    margin-bottom: 18px;
    color: #75c9f4;
    font-size: 30px;
}

.featured-grid p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, .78);
}

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

.value-grid article {
    position: relative;
    padding: 30px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
    transition: .25s ease;
}

.value-grid article:hover {
    border-color: rgba(22, 135, 206, .5);
    box-shadow: 0 18px 45px rgba(7, 31, 49, .08);
    transform: translateY(-4px);
}

.value-grid article > span {
    display: block;
    margin-bottom: 28px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 850;
    letter-spacing: .1em;
}

.value-grid h3 {
    margin-bottom: 12px;
    font-size: 22px;
}

.value-grid p {
    margin-bottom: 0;
    color: var(--ink-soft);
}

.contact-section {
    background: var(--surface);
}

.contact-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    align-items: start;
    gap: 70px;
}

.contact-cards {
    display: grid;
    gap: 16px;
}

.contact-cards > * {
    display: grid;
    padding: 25px 28px;
    border: 1px solid var(--line);
    border-radius: 16px;
    grid-template-columns: 46px 1fr;
    column-gap: 18px;
    background: var(--white);
    box-shadow: 0 8px 30px rgba(7, 31, 49, .04);
    transition: .25s ease;
}

.contact-cards > a:hover {
    border-color: rgba(22, 135, 206, .52);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.contact-icon {
    grid-row: span 2;
    color: var(--blue);
    font-size: 13px;
    font-weight: 850;
    letter-spacing: .1em;
}

.contact-cards small {
    color: #6c8091;
    font-size: 12px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.contact-cards strong {
    color: var(--ink);
    font-size: 18px;
    overflow-wrap: anywhere;
}

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

.news-card {
    display: flex;
    min-height: 300px;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 18px;
    flex-direction: column;
    background: var(--white);
    box-shadow: 0 8px 30px rgba(7, 31, 49, .04);
    transition: .25s ease;
}

.news-card:hover {
    border-color: rgba(22, 135, 206, .52);
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.news-card h2 {
    margin-bottom: 17px;
    font-size: 28px;
}

.news-card p:not(.card-kicker) {
    color: var(--ink-soft);
}

.article-card {
    max-width: 900px;
    padding: 55px;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.rich-content {
    color: var(--ink-soft);
    font-size: 17px;
    line-height: 1.9;
}

.rich-content h2,
.rich-content h3 {
    margin-top: 38px;
    color: var(--ink);
}

.rich-content a {
    color: var(--blue-dark);
    text-decoration: underline;
}

.error-hero {
    min-height: 72vh;
}

.site-footer {
    padding: 75px 0 24px;
    color: rgba(255, 255, 255, .72);
    background: #06111a;
}

.footer-grid {
    display: grid;
    padding-bottom: 55px;
    grid-template-columns: 1.5fr .75fr 1fr;
    gap: 70px;
}

.footer-logo {
    width: 180px;
    margin-bottom: 24px;
}

.footer-grid p {
    max-width: 450px;
    margin-bottom: 8px;
}

.footer-grid h2 {
    margin-bottom: 22px;
    color: var(--white);
    font-size: 18px;
    letter-spacing: -.01em;
}

.footer-grid > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-grid a {
    margin-bottom: 9px;
    transition: color .2s ease;
}

.footer-grid a:hover {
    color: #75c9f4;
}

.footer-bottom {
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: 13px;
}

@media (max-width: 1080px) {
    .nav-inner {
        grid-template-columns: 190px 1fr auto;
        gap: 22px;
    }

    .brand {
        width: 180px;
    }

    .main-nav {
        gap: 22px;
    }

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

    .split-grid,
    .detail-grid {
        gap: 44px;
    }
}

@media (max-width: 860px) {
    .shell {
        width: min(calc(100% - 32px), var(--shell));
    }

    .topbar-contact a span {
        display: none;
    }

    .nav-inner {
        position: relative;
        min-height: 86px;
        grid-template-columns: 1fr auto;
    }

    .brand {
        width: 170px;
    }

    .menu-toggle {
        display: grid;
        width: 44px;
        height: 44px;
        padding: 11px;
        border: 1px solid rgba(255, 255, 255, .18);
        border-radius: 10px;
        place-content: center;
        gap: 5px;
        background: rgba(255, 255, 255, .06);
        cursor: pointer;
    }

    .menu-toggle > span:not(.sr-only) {
        display: block;
        width: 20px;
        height: 2px;
        background: var(--white);
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 1px);
        right: 0;
        left: 0;
        display: none;
        padding: 18px;
        border: 1px solid rgba(255, 255, 255, .14);
        border-radius: 0 0 16px 16px;
        align-items: stretch;
        flex-direction: column;
        gap: 4px;
        background: rgba(7, 20, 30, .98);
        box-shadow: var(--shadow);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav > a,
    .nav-dropdown-button {
        width: 100%;
        padding: 11px 8px;
        text-align: left;
    }

    .nav-dropdown-menu {
        position: static;
        display: none;
        width: auto;
        margin: 4px 0 8px;
        visibility: visible;
        opacity: 1;
        transform: none;
    }

    .nav-dropdown.is-open .nav-dropdown-menu {
        display: grid;
    }

    .header-cta {
        display: none;
    }

    .hero,
    .hero-content {
        min-height: 720px;
    }

    .hero-content {
        padding-top: 160px;
    }

    .hero h1 {
        font-size: clamp(42px, 9vw, 62px);
    }

    .hero-overlay {
        background: linear-gradient(90deg, rgba(2, 12, 20, .94), rgba(3, 15, 24, .52));
    }

    .hero-arrow {
        top: auto;
        bottom: 28px;
    }

    .hero-dots {
        bottom: 50px;
    }

    .split-grid,
    .detail-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .detail-media {
        position: static;
    }

    .detail-media img {
        min-height: 0;
    }

    .service-grid-page .service-card {
        display: flex;
    }

    .cta-card {
        padding: 42px;
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid > div:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 15px;
    }

    .topbar-inner {
        min-height: 38px;
    }

    .topbar-contact {
        gap: 10px;
    }

    .hero,
    .hero-content {
        min-height: 690px;
    }

    .hero-content {
        padding-top: 155px;
        padding-bottom: 90px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-copy {
        font-size: 16px;
    }

    .hero-image {
        object-position: 58% 45%;
    }

    .hero-overlay {
        background: linear-gradient(90deg, rgba(2, 12, 20, .96) 0%, rgba(3, 15, 24, .78) 70%, rgba(3, 15, 24, .55) 100%);
    }

    .hero-prev {
        left: 16px;
    }

    .hero-next {
        right: 16px;
    }

    .hero-arrow {
        width: 44px;
        height: 44px;
    }

    .section {
        padding: 72px 0;
    }

    .page-hero {
        padding: 205px 0 72px;
    }

    .page-hero h1 {
        font-size: 40px;
    }

    .service-grid,
    .service-grid-page,
    .featured-grid,
    .value-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .service-content {
        padding: 24px;
    }

    .section-copy h2,
    .section-heading h2,
    .cta-card h2,
    .contact-intro h2 {
        font-size: 34px;
    }

    .cta-card,
    .result-card,
    .article-card {
        padding: 30px 24px;
    }

    .detail-panel > h2 {
        font-size: 34px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-grid > div:first-child {
        grid-column: auto;
    }
}

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

/* Refined glass header, social shortcuts and open-source map */
.site-header {
    position: fixed;
    z-index: 100;
    transition: transform .3s ease;
}

.topbar {
    max-height: 40px;
    overflow: visible;
    background: rgba(4, 14, 22, .42);
    -webkit-backdrop-filter: blur(22px) saturate(145%);
    backdrop-filter: blur(22px) saturate(145%);
    transition: max-height .3s ease, opacity .22s ease, transform .3s ease, border-color .3s ease;
}

.nav-wrap {
    background: linear-gradient(90deg, rgba(4, 17, 27, .58), rgba(20, 39, 52, .38));
    -webkit-backdrop-filter: blur(22px) saturate(145%);
    backdrop-filter: blur(22px) saturate(145%);
    box-shadow: 0 10px 34px rgba(2, 12, 20, .08);
    transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.nav-inner,
.brand,
.header-cta {
    transition: min-height .3s ease, width .3s ease, transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.site-header.is-scrolled .topbar {
    max-height: 0;
    overflow: hidden;
    border-bottom-color: transparent;
    opacity: 0;
    transform: translateY(-100%);
}

.site-header.is-scrolled .nav-wrap {
    border-bottom-color: rgba(255, 255, 255, .12);
    background: rgba(5, 18, 28, .88);
    box-shadow: 0 12px 38px rgba(2, 12, 20, .2);
}

.site-header.is-scrolled .nav-inner {
    min-height: 74px;
}

.site-header.is-scrolled .brand {
    width: 158px;
}

.site-header.is-scrolled .header-cta {
    min-height: 42px;
}

.topbar-social {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.topbar-contact .social-icon {
    display: grid;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    place-items: center;
    background: rgba(255, 255, 255, .06);
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.topbar-contact .social-icon:hover {
    border-color: rgba(117, 201, 244, .7);
    background: rgba(22, 135, 206, .22);
    transform: translateY(-1px);
}

.topbar-contact .social-icon svg {
    width: 13px;
    height: 13px;
    fill: rgba(255, 255, 255, .88);
}

.topbar-phone {
    white-space: nowrap;
}

.hero-image-1,
.hero-image-2,
.hero-image-3 {
    object-position: 50% 50%;
}

.map-section {
    padding-top: 38px;
    background: var(--white);
}

.map-heading {
    display: flex;
    margin-bottom: 28px;
    align-items: flex-end;
    justify-content: space-between;
    gap: 36px;
}

.map-heading > div {
    max-width: 720px;
}

.map-heading h2 {
    margin-bottom: 14px;
    font-size: clamp(32px, 4vw, 48px);
}

.map-heading p:last-child {
    margin-bottom: 0;
    color: var(--ink-soft);
}

.button-outline {
    border-color: rgba(22, 135, 206, .35);
    color: var(--blue-dark);
    background: var(--white);
    white-space: nowrap;
}

.button-outline:hover {
    color: var(--white);
    background: var(--blue);
}

.map-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.map-card iframe {
    display: block;
    width: 100%;
    height: 440px;
    border: 0;
    filter: saturate(.78) contrast(1.04);
}

.map-meta {
    display: grid;
    min-height: 92px;
    padding: 20px 24px;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
}

.map-pin {
    display: grid;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    place-items: center;
    color: var(--white);
    background: var(--blue);
}

.map-pin svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
}

.map-meta div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.map-meta small {
    color: var(--blue-dark);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .14em;
}

.map-meta strong {
    color: var(--ink);
    font-size: 15px;
    overflow-wrap: anywhere;
}

.map-meta > a {
    color: var(--blue-dark);
    font-size: 14px;
    font-weight: 800;
}

.map-attribution {
    margin: 10px 3px 0;
    color: #758796;
    font-size: 11px;
}

.map-attribution a {
    text-decoration: underline;
}

@media (max-width: 860px) {
    .topbar-contact .topbar-phone span {
        display: inline;
    }

    .topbar-contact .topbar-email {
        display: none;
    }

    .site-header.is-scrolled .nav-inner {
        min-height: 68px;
    }

    .site-header.is-scrolled .brand {
        width: 148px;
    }

    .map-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
    }

    .map-card iframe {
        height: 370px;
    }
}

@media (max-width: 600px) {
    .topbar-contact {
        gap: 8px;
    }

    .topbar-social {
        gap: 4px;
    }

    .topbar-contact .social-icon {
        width: 26px;
        height: 26px;
    }

    .topbar-phone {
        font-size: 11px !important;
    }

    .hero-image-1 {
        object-position: 58% 50%;
    }

    .hero-image-2 {
        object-position: 54% 50%;
    }

    .hero-image-3 {
        object-position: 62% 50%;
    }

    .map-card iframe {
        height: 310px;
    }

    .map-meta {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .map-meta > a {
        grid-column: 2;
    }
}

/* Keep the language chooser above the glass navigation layer. */
.topbar {
    position: relative;
    z-index: 4;
}

.nav-wrap {
    position: relative;
    z-index: 2;
}

.language-switch,
.language-menu {
    z-index: 20;
}

.news-card.has-image { padding:0 0 30px; overflow:hidden; }
.news-card-image { width:100%; height:190px; margin-bottom:25px; object-fit:cover; }
.news-card.has-image > :not(.news-card-image) { margin-right:30px; margin-left:30px; }
.news-detail-media { margin-bottom:28px; }
.news-detail-media img { width:100%; max-height:520px; border-radius:20px; object-fit:cover; box-shadow:var(--shadow); }
