:root {
    --ink: #10243a;
    --muted: #5f7183;
    --soft: #eef6fb;
    --white: #ffffff;
    --line: #d8e7f1;
    --blue: #1e7fd1;
    --deep: #0c4c86;
    --cyan: #4db8d8;
    --gold: #caa557;
    --shadow: 0 22px 60px rgba(20, 65, 105, .13);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #f6fbff;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    line-height: 1.65;
    letter-spacing: 0;
}

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

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

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    border-bottom: 1px solid transparent;
    background: transparent;
    transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled {
    border-bottom-color: rgba(216, 231, 241, .88);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 12px 34px rgba(16, 36, 58, .08);
    backdrop-filter: blur(18px);
}

.nav {
    width: min(1180px, calc(100% - 40px));
    height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-logo {
    width: clamp(128px, 13vw, 186px);
    height: 48px;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.nav-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 10px rgba(255, 255, 255, .72));
}

.site-header.is-scrolled .nav-logo img {
    filter: none;
}

.brand {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    color: var(--ink);
    text-shadow: 0 1px 14px rgba(255, 255, 255, .78);
}

.brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--deep), var(--blue));
    box-shadow: 0 14px 30px rgba(30, 127, 209, .25);
    font-size: 21px;
}

.brand-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand small {
    display: block;
    margin-top: -3px;
    color: #496276;
    font-size: 12px;
    font-weight: 700;
}

.site-header.is-scrolled .brand {
    color: var(--ink);
    text-shadow: none;
}

.site-header.is-scrolled .brand small {
    color: var(--muted);
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    color: #40586e;
    font-size: 14px;
    font-weight: 800;
    text-shadow: 0 1px 14px rgba(255, 255, 255, .82);
}

.nav-links a {
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover {
    color: var(--blue);
    border-color: var(--blue);
}

.nav-links a.is-active {
    color: var(--blue);
    border-color: var(--blue);
}

.site-header.is-scrolled .nav-links {
    color: #40586e;
    text-shadow: none;
}

.site-header.is-scrolled .nav-links a:hover {
    color: var(--blue);
    border-color: var(--blue);
}

.btn,
.nav-cta {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.nav-cta {
    min-width: 96px;
    height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #1e7fd1, #0c4c86);
    box-shadow: 0 10px 24px rgba(30, 127, 209, .24);
    text-shadow: none;
}

.nav-cta:hover {
    color: #fff;
    border-color: transparent;
    box-shadow: 0 14px 30px rgba(30, 127, 209, .34);
}

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

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--deep), var(--blue));
    box-shadow: 0 16px 34px rgba(30, 127, 209, .24);
}

.btn-secondary {
    color: var(--deep);
    background: rgba(255, 255, 255, .86);
    border-color: var(--line);
}

.btn-light {
    color: var(--deep);
    background: #fff;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(30, 127, 209, .22);
    border-radius: 8px;
    background: rgba(255, 255, 255, .6);
    color: var(--deep);
}

.site-header.is-scrolled .menu-toggle {
    border-color: var(--line);
    background: #fff;
    color: var(--deep);
}

.menu-toggle span {
    width: 18px;
    height: 2px;
    display: block;
    margin: 4px auto;
    background: currentColor;
}

.hero-carousel {
    position: relative;
    min-height: auto;
    padding-top: 76px;
    overflow: hidden;
    background: #eaf6ff;
}

.page-main {
    padding-top: 76px;
}

.page-home .page-main {
    padding-top: 0;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 88px 0 74px;
    background:
        radial-gradient(circle at 16% 18%, rgba(30, 127, 209, .12), transparent 26%),
        linear-gradient(135deg, #f7fcff 0%, #eaf6ff 58%, #f6fbff 100%);
    border-bottom: 1px solid var(--line);
}

.page-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(30, 127, 209, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 127, 209, .07) 1px, transparent 1px);
    background-size: 42px 42px;
    pointer-events: none;
}

.page-hero-inner {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    max-width: 780px;
    margin: 14px 0 16px;
    font-size: clamp(38px, 5vw, 60px);
}

.page-hero p {
    max-width: 720px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 17px;
}

.slides {
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 9;
    height: auto;
    min-height: 0;
}

.slide {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #eef7ff;
    opacity: 0;
    visibility: hidden;
    transition: opacity .55s ease, visibility .55s ease;
}

.slide:before {
    display: none;
}

.slide:after {
    display: none;
}

.slide.is-active {
    opacity: 1;
    visibility: visible;
}

.slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    box-sizing: border-box;
    padding: 0;
    object-fit: cover;
    object-position: center center;
}

.slide-inner {
    position: relative;
    z-index: 3;
    width: min(1180px, calc(100% - 40px));
    min-height: 0;
    height: 100%;
    margin: 0 auto;
    padding: 0;
    display: block;
}

.slide-copy {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--deep);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.eyebrow:before,
.section-kicker:before {
    content: "";
    width: 34px;
    height: 2px;
    background: var(--gold);
}

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

h1 {
    margin: 12px 0 12px;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.16;
    letter-spacing: 0;
}

.slide-copy p {
    max-width: 590px;
    margin-bottom: 20px;
    color: #526a7f;
    font-size: 15px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 18px;
}

.tag-row,
.service-points {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.tag-row span,
.service-points span {
    border: 1px solid rgba(30, 127, 209, .18);
    border-radius: 8px;
    padding: 6px 10px;
    color: var(--deep);
    background: rgba(255, 255, 255, .7);
    font-size: 13px;
    font-weight: 800;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(216, 231, 241, .92);
    border-radius: 8px;
    color: var(--deep);
    background: rgba(255, 255, 255, .78);
    transform: translateY(-50%);
    cursor: pointer;
}

.carousel-prev {
    left: 24px;
}

.carousel-next {
    right: 24px;
}

.carousel-dots {
    position: absolute;
    left: 50%;
    bottom: 28px;
    z-index: 5;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

.carousel-dots button {
    width: 34px;
    height: 4px;
    border: 0;
    border-radius: 8px;
    background: rgba(16, 36, 58, .22);
    cursor: pointer;
}

.carousel-dots button.is-active {
    background: var(--blue);
}

.section {
    padding: 86px 0;
}

.section-white {
    background: #fff;
}

.intro-strip {
    padding: 28px 0;
    background: #fff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

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

.stats div {
    padding: 8px 24px;
    border-right: 1px solid var(--line);
}

.stats div:last-child {
    border-right: 0;
}

.stats strong {
    display: block;
    color: var(--deep);
    font-size: 20px;
}

.stats span {
    color: var(--muted);
    font-size: 13px;
}

.section-head {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(290px, .52fr);
    align-items: end;
    gap: 36px;
    margin-bottom: 38px;
}

.section-head.compact {
    grid-template-columns: 1fr;
}

h2 {
    margin: 10px 0 0;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.18;
    letter-spacing: 0;
}

.section-head p {
    margin-bottom: 0;
    color: var(--muted);
}

.services-wrap {
    width: min(1540px, calc(100% - 56px));
}

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

.gallery-section {
    overflow: hidden;
}

.gallery-carousel {
    position: relative;
}

.gallery-viewport {
    overflow: hidden;
    border-radius: 8px;
}

.gallery-track {
    display: flex;
    gap: 18px;
    transition: transform .45s ease;
    will-change: transform;
}

.gallery-card {
    flex: 0 0 calc((100% - 36px) / 3);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(20, 65, 105, .08);
}

.gallery-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--deep);
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 12px 30px rgba(20, 65, 105, .12);
    transform: translateY(-50%);
    cursor: pointer;
}

.gallery-prev {
    left: -18px;
}

.gallery-next {
    right: -18px;
}

.service-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(20, 65, 105, .08);
    transition: transform .2s ease, box-shadow .2s ease;
}

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

.service-image {
    aspect-ratio: 16 / 9;
    background: #eef6fb;
}

.service-image img,
.about-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-body {
    padding: 22px;
}

.service-body h3 {
    margin-bottom: 10px;
    font-size: 21px;
}

.service-body p {
    color: var(--muted);
    font-size: 14px;
}

.about {
    display: grid;
    grid-template-columns: minmax(300px, .92fr) minmax(0, 1.08fr);
    gap: 44px;
    align-items: center;
}

.about-media {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

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

.about-list {
    display: grid;
    gap: 14px;
    margin-top: 26px;
}

.about-list div,
.strength-item,
.case-grid article,
.contact-info,
.contact-form {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.about-list div {
    padding: 18px;
}

.about-list strong {
    display: block;
    color: var(--deep);
    font-size: 17px;
}

.about-list span {
    color: var(--muted);
    font-size: 14px;
}

.strength-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 16% 18%, rgba(30, 127, 209, .12), transparent 28%),
        radial-gradient(circle at 82% 72%, rgba(77, 184, 216, .14), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f2f8fd 100%);
}

.strength-section:before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(30, 127, 209, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 127, 209, .07) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 78%, transparent 100%);
    pointer-events: none;
}

.strength-section .wrap {
    position: relative;
    z-index: 1;
}

.strength-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.strength-grid:before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 47px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(30, 127, 209, .32), rgba(77, 184, 216, .4), transparent);
}

.strength-item {
    position: relative;
    min-height: 230px;
    padding: 24px;
    overflow: hidden;
    box-shadow: 0 16px 42px rgba(20, 65, 105, .08);
    transform: translateY(0);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
    animation: cardRise .7s ease both;
}

.strength-item:nth-child(2) {
    animation-delay: .08s;
}

.strength-item:nth-child(3) {
    animation-delay: .16s;
}

.strength-item:nth-child(4) {
    animation-delay: .24s;
}

.strength-item:before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(30, 127, 209, .1), transparent 44%),
        radial-gradient(circle at 82% 20%, rgba(77, 184, 216, .16), transparent 28%);
    opacity: 0;
    transition: opacity .28s ease;
}

.strength-item:after {
    content: "";
    position: absolute;
    width: 92px;
    height: 92px;
    right: -34px;
    bottom: -34px;
    border: 1px solid rgba(30, 127, 209, .18);
    border-radius: 50%;
    background: rgba(30, 127, 209, .04);
}

.strength-item:hover {
    transform: translateY(-8px);
    border-color: rgba(30, 127, 209, .32);
    box-shadow: 0 24px 58px rgba(20, 65, 105, .16);
}

.strength-item:hover:before {
    opacity: 1;
}

.strength-item span {
    position: relative;
    z-index: 1;
    display: inline-grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--deep), var(--blue));
    box-shadow: 0 12px 26px rgba(30, 127, 209, .28);
    font-weight: 900;
    animation: pulseBadge 2.4s ease-in-out infinite;
}

.strength-item h3 {
    position: relative;
    z-index: 1;
    margin: 22px 0 10px;
    font-size: 20px;
}

.strength-item p,
.case-grid p {
    position: relative;
    z-index: 1;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
}

@keyframes cardRise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseBadge {
    0%,
    100% {
        box-shadow: 0 12px 26px rgba(30, 127, 209, .28);
    }
    50% {
        box-shadow: 0 12px 32px rgba(30, 127, 209, .44);
    }
}

.team-section {
    position: relative;
    overflow: hidden;
}

.team-section:before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 12%, rgba(30, 127, 209, .1), transparent 26%),
        radial-gradient(circle at 82% 78%, rgba(77, 184, 216, .12), transparent 30%);
    pointer-events: none;
}

.team-section .wrap {
    position: relative;
    z-index: 1;
}

.team-wrap {
    width: min(1760px, calc(100% - 64px));
}

.team-head {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
}

.team-head > div:nth-child(2) {
    padding-left: 14px;
}

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

.team-card {
    position: relative;
    min-height: 338px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 28px 16px 24px;
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff, #f8fcff);
    box-shadow: 0 14px 38px rgba(20, 65, 105, .06);
    transition: transform .28s ease, box-shadow .28s ease, background .28s ease;
}

.team-card:hover {
    transform: translateY(-6px);
    background: #fff;
    box-shadow: 0 24px 58px rgba(20, 65, 105, .14);
}

.team-card:before,
.team-card:after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.team-card:before {
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, transparent 48%, rgba(30, 127, 209, .08) 100%);
    opacity: 0;
    transition: opacity .28s ease;
}

.team-card:after {
    right: -70px;
    top: -70px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: rgba(30, 127, 209, .08);
    transform: scale(.8);
    transition: transform .28s ease;
}

.team-card:hover:before,
.team-card:focus-within:before {
    opacity: 1;
}

.team-card:hover:after,
.team-card:focus-within:after {
    transform: scale(1);
}

.team-profile {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    width: 100%;
    transition: width .32s ease, transform .32s ease;
}

.team-card:hover .team-profile,
.team-card:focus-within .team-profile {
    width: 100%;
    transform: translateX(-24%);
}

.team-photo {
    position: relative;
    z-index: 1;
    overflow: hidden;
    width: 124px;
    aspect-ratio: 5 / 7;
    border: 1px solid rgba(216, 231, 241, .95);
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(20, 65, 105, .12);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.team-card:hover .team-photo img,
.team-card:focus-within .team-photo img {
    transform: scale(1.03);
}

.team-info {
    position: absolute;
    top: 50%;
    right: 12px;
    z-index: 1;
    width: 62%;
    min-height: 158px;
    padding: 16px;
    border: 1px solid rgba(216, 231, 241, .92);
    border-radius: 8px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 18px 42px rgba(20, 65, 105, .1);
    opacity: 0;
    transform: translate(28px, -50%);
    transition: opacity .28s ease, transform .28s ease;
}

.team-info strong {
    display: block;
    color: var(--deep);
    font-size: 16px;
    margin-bottom: 10px;
}

.team-role {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    padding: 0;
    color: #2452e8;
    background: transparent;
    font: inherit;
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
    margin-top: 20px;
    transition: color .2s ease, transform .2s ease;
}

.team-company {
    margin-top: 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.team-info p {
    max-width: none;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.75;
}

.team-card:hover .team-info p,
.team-card:focus-within .team-info p {
    opacity: 1;
}

.team-card:hover .team-role,
.team-card:focus-within .team-role {
    color: var(--deep);
    transform: translateY(-2px);
}

.team-card:hover .team-info,
.team-card:focus-within .team-info {
    opacity: 1;
    transform: translate(0, -50%);
}

.partner-mini-card {
    background:
        radial-gradient(circle at 84% 14%, rgba(30, 127, 209, .12), transparent 28%),
        linear-gradient(180deg, #ffffff, #f8fcff);
}

.partner-mini-profile {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    width: 100%;
    transition: transform .32s ease;
}

.team-card:hover .partner-mini-profile,
.team-card:focus-within .partner-mini-profile {
    transform: none;
}

.partner-mini-icon {
    display: grid;
    width: 124px;
    aspect-ratio: 5 / 7;
    place-items: center;
    border: 1px solid rgba(216, 231, 241, .95);
    border-radius: 6px;
    color: var(--deep);
    background:
        linear-gradient(rgba(30, 127, 209, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 127, 209, .06) 1px, transparent 1px),
        #fff;
    background-size: 24px 24px;
    box-shadow: 0 14px 34px rgba(20, 65, 105, .1);
    font-size: 34px;
    font-weight: 900;
}

.partners-section {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(120deg, rgba(12, 76, 134, .96), rgba(30, 127, 209, .9)),
        #0c4c86;
    color: #fff;
}

.partners-section:before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
}

.partners-section .wrap {
    position: relative;
    z-index: 1;
}

.partners-section .section-kicker,
.partners-section h2 {
    color: #fff;
}

.partners-section .section-kicker:before {
    background: #fff;
}

.partner-wall {
    position: relative;
    overflow: hidden;
    margin-top: 28px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    box-shadow: 0 24px 70px rgba(4, 30, 56, .26);
}

.partner-wall:before,
.partner-wall:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: 110px;
    pointer-events: none;
}

.partner-wall:before {
    left: 0;
    background: linear-gradient(90deg, rgba(12, 76, 134, .96), transparent);
}

.partner-wall:after {
    right: 0;
    background: linear-gradient(270deg, rgba(30, 127, 209, .92), transparent);
}

.partner-track {
    display: flex;
    width: max-content;
    gap: 16px;
    padding: 22px;
    animation: partnerMarquee 28s linear infinite;
}

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

.partner-card {
    position: relative;
    flex: 0 0 260px;
    min-height: 128px;
    padding: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 8px;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(12px);
    transition: transform .25s ease, background .25s ease;
}

.partner-card:before {
    content: "";
    position: absolute;
    inset: -40% auto auto -30%;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
}

.partner-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, .18);
}

.partner-card strong,
.partner-card span {
    position: relative;
    z-index: 1;
    display: block;
}

.partner-card strong {
    font-size: 20px;
}

.partner-card span {
    margin-top: 12px;
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
}

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

.partner-feature-grid article {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    background: rgba(255, 255, 255, .1);
    transition: transform .25s ease, background .25s ease;
}

.partner-feature-grid article:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, .15);
}

.partner-feature-grid span {
    display: inline-grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 8px;
    color: var(--deep);
    background: #fff;
    font-weight: 900;
}

.partner-feature-grid strong {
    display: block;
    margin: 20px 0 8px;
    font-size: 20px;
}

.partner-feature-grid p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, .76);
    font-size: 14px;
}

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

@media (prefers-reduced-motion: reduce) {
    .strength-item,
    .strength-item span,
    .partner-track {
        animation: none;
    }
}

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

.case-grid article {
    min-height: 220px;
    padding: 26px;
    background: linear-gradient(180deg, #ffffff, #f3f9fe);
}

.case-grid span {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 8px;
    color: var(--deep);
    background: #e6f3fb;
    font-size: 13px;
    font-weight: 900;
}

.case-grid h3 {
    margin: 42px 0 10px;
    font-size: 22px;
}

.cta-band {
    padding: 68px 0;
    color: #fff;
    background: linear-gradient(135deg, #0b4b84, #1e7fd1 62%, #5db8d5);
}

.cta-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
}

.cta-inner .section-kicker,
.cta-inner h2 {
    color: #fff;
}

.cta-inner .section-kicker:before {
    background: #fff;
}

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

.contact {
    display: grid;
    grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr);
    gap: 28px;
}

.contact-info {
    padding: 32px;
}

.contact-info p {
    color: var(--muted);
}

.contact-row {
    display: grid;
    gap: 4px;
    padding: 16px 0;
    border-top: 1px solid var(--line);
}

.contact-row strong {
    color: var(--deep);
}

.contact-row span {
    color: var(--muted);
}

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

.contact-form label {
    display: grid;
    gap: 8px;
    color: #37556d;
    font-size: 13px;
    font-weight: 900;
}

.contact-form .full {
    grid-column: 1 / -1;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 13px;
    color: var(--ink);
    background: #f8fcff;
    font: inherit;
    outline: none;
}

textarea {
    min-height: 118px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(30, 127, 209, .12);
}

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

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    font-size: 13px;
}

@media (max-width: 1080px) {
    .nav-links {
        position: absolute;
        left: 20px;
        right: 20px;
        top: 76px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 16px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #fff;
        box-shadow: var(--shadow);
        color: #40586e;
        text-shadow: none;
    }

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

    .menu-toggle {
        display: inline-block;
    }

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

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

    .strength-grid:before {
        display: none;
    }
}

@media (max-width: 880px) {
    .section-head,
    .team-head,
    .about,
    .contact,
    .cta-inner {
        grid-template-columns: 1fr;
    }

    .stats,
    .case-grid,
    .partner-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .carousel-arrow {
        display: none;
    }

    .gallery-card {
        flex-basis: calc((100% - 18px) / 2);
    }

    .slide-inner {
        align-items: flex-start;
        padding-top: 0;
    }
}

@media (max-width: 640px) {
    .wrap,
    .nav,
    .slide-inner {
        width: min(100% - 28px, 1180px);
    }

    .nav {
        height: 68px;
    }

    .brand small,
    .nav-cta {
        display: none;
    }

    .nav-logo {
        width: 132px;
    }

    .nav-links {
        top: 68px;
        left: 14px;
        right: 14px;
    }

    .hero-carousel,
    .slides,
    .slide-inner {
        min-height: 0;
        height: auto;
    }

    .page-main {
        padding-top: 68px;
    }

    .page-hero {
        padding: 62px 0 52px;
    }

    .slide-bg {
        padding: 0;
    }

    h1 {
        font-size: 40px;
    }

    .section {
        padding: 60px 0;
    }

    .stats,
    .service-grid,
    .team-grid,
    .strength-grid,
    .case-grid,
    .partner-feature-grid,
    .contact-form {
        grid-template-columns: 1fr;
    }

    .partner-card {
        flex-basis: 220px;
    }

    .team-photo {
        width: 128px;
        height: auto;
    }

    .team-card {
        min-height: auto;
        padding: 28px 22px;
    }

    .team-card:hover .team-profile,
    .team-card:focus-within .team-profile,
    .team-card:hover .partner-mini-profile,
    .team-card:focus-within .partner-mini-profile {
        width: 100%;
        transform: none;
    }

    .team-info {
        position: static;
        width: 100%;
        min-height: auto;
        margin-top: 18px;
        opacity: 1;
        transform: none;
    }

    .team-card:hover .team-info,
    .team-card:focus-within .team-info {
        transform: none;
    }

    .partner-wall:before,
    .partner-wall:after {
        width: 52px;
    }

    .gallery-card {
        flex-basis: 100%;
    }

    .gallery-prev {
        left: 8px;
    }

    .gallery-next {
        right: 8px;
    }

    .stats div {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .stats div:last-child {
        border-bottom: 0;
    }

    .contact-info,
    .contact-form {
        padding: 22px;
    }

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