.hero {
    position: relative;
    min-height: calc(100vh - 64px);
    padding: 66px 0 64px;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 217, 54, 0.16) 0, rgba(255, 217, 54, 0.07) 14%, rgba(255, 217, 54, 0) 28%),
        radial-gradient(circle at 86% 12%, rgba(246, 252, 255, 0.2) 0, rgba(246, 252, 255, 0.08) 22%, rgba(246, 252, 255, 0) 42%),
        #006aa7;
}

.hero-shader {
    position: absolute;
    inset: -2px;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 26%, rgba(8, 75, 128, 0.42) 0 10%, rgba(8, 75, 128, 0) 28%),
        radial-gradient(circle at 58% 52%, rgba(0, 106, 167, 0.82) 0 46%, rgba(0, 106, 167, 0) 78%),
        radial-gradient(circle at 82% 18%, rgba(255, 217, 54, 0.26) 0 5%, rgba(255, 217, 54, 0) 22%);
    background-size: cover;
    opacity: 1;
}

.hero-shader::before {
    content: "";
    position: absolute;
    inset: -12%;
    background:
        radial-gradient(ellipse at 24% 28%, rgba(8, 75, 128, 0.34) 0 10%, rgba(8, 75, 128, 0) 32%),
        radial-gradient(ellipse at 68% 38%, rgba(0, 106, 167, 0.58) 0 18%, rgba(0, 106, 167, 0) 48%),
        radial-gradient(ellipse at 46% 48%, rgba(255, 217, 54, 0.14) 0 7%, rgba(0, 106, 167, 0.28) 22%, rgba(0, 106, 167, 0) 52%);
    background-size: 130% 130%, 150% 150%, 140% 140%;
    background-position: 20% 44%, 70% 50%, 48% 48%;
    filter: blur(14px) saturate(1.22);
    opacity: 0.84;
    transform: translate3d(0, 0, 0) scale(1.08);
    animation: heroShinyFloat 8s ease-in-out infinite alternate, heroShinyBand 9s cubic-bezier(.25, 1, .5, 1) infinite alternate;
    will-change: transform, opacity, background-position;
}

.hero-shader::after {
    content: "";
    position: absolute;
    width: 58%;
    height: 70%;
    left: 20%;
    top: 15%;
    background:
        radial-gradient(ellipse at center, rgba(255, 217, 54, 0.34) 0 9%, rgba(246, 252, 255, 0.18) 18%, rgba(0, 106, 167, 0.22) 38%, rgba(0, 106, 167, 0) 72%);
    border-radius: 50%;
    filter: blur(30px);
    mix-blend-mode: screen;
    opacity: 0.7;
    transform: translate3d(0, 0, 0) scale(1);
    animation: heroYellowOrbit 7s linear infinite;
    will-change: transform, opacity;
}

.hero-yellow-orbit {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
    mix-blend-mode: screen;
    will-change: transform, opacity;
}

.hero-yellow-orbit-secondary {
    width: 34%;
    height: 42%;
    left: 44%;
    top: 28%;
    background:
        radial-gradient(ellipse at center, rgba(255, 217, 54, 0.28) 0 8%, rgba(246, 252, 255, 0.14) 16%, rgba(0, 106, 167, 0.18) 36%, rgba(0, 106, 167, 0) 72%);
    filter: blur(26px);
    opacity: 0.58;
    transform: translate3d(0, 0, 0) scale(0.96);
    animation: heroYellowOrbitSecondary 8.5s linear infinite;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(0, 106, 167, 0.48) 0%, rgba(0, 106, 167, 0.32) 52%, rgba(0, 106, 167, 0.1) 100%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 18px);
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    gap: 44px;
    align-items: center;
}

@keyframes heroShinyFloat {
    0% {
        opacity: 0.7;
        transform: translate3d(-2.4%, -1.4%, 0) scale(1.04);
    }
    50% {
        opacity: 0.92;
    }
    100% {
        opacity: 0.78;
        transform: translate3d(2.4%, 1.4%, 0) scale(1.1);
    }
}

@keyframes heroShinyBand {
    0% {
        background-position: 12% 40%, 78% 54%, 36% 44%;
    }
    100% {
        background-position: 34% 54%, 52% 40%, 64% 56%;
    }
}

@keyframes heroYellowOrbit {
    0% {
        opacity: 0.48;
        transform: translate3d(-58%, -38%, 0) scale(0.92);
    }
    12.5% {
        opacity: 0.72;
        transform: translate3d(4%, -58%, 0) scale(1.02);
    }
    25% {
        opacity: 0.62;
        transform: translate3d(74%, -32%, 0) scale(0.96);
    }
    37.5% {
        opacity: 0.76;
        transform: translate3d(88%, 18%, 0) scale(1.08);
    }
    50% {
        opacity: 0.54;
        transform: translate3d(28%, 58%, 0) scale(0.98);
    }
    62.5% {
        opacity: 0.7;
        transform: translate3d(-46%, 48%, 0) scale(1.06);
    }
    75% {
        opacity: 0.62;
        transform: translate3d(-82%, 2%, 0) scale(0.94);
    }
    87.5% {
        opacity: 0.7;
        transform: translate3d(-72%, -44%, 0) scale(1.04);
    }
    100% {
        opacity: 0.48;
        transform: translate3d(-58%, -38%, 0) scale(0.92);
    }
}

@keyframes heroYellowOrbitSecondary {
    0% {
        opacity: 0.36;
        transform: translate3d(48%, 28%, 0) scale(0.86);
    }
    11% {
        opacity: 0.62;
        transform: translate3d(12%, 62%, 0) scale(1.02);
    }
    24% {
        opacity: 0.5;
        transform: translate3d(-46%, 42%, 0) scale(0.92);
    }
    39% {
        opacity: 0.68;
        transform: translate3d(-72%, -6%, 0) scale(1.08);
    }
    53% {
        opacity: 0.44;
        transform: translate3d(-28%, -52%, 0) scale(0.9);
    }
    67% {
        opacity: 0.66;
        transform: translate3d(34%, -48%, 0) scale(1.04);
    }
    82% {
        opacity: 0.52;
        transform: translate3d(74%, -10%, 0) scale(0.96);
    }
    100% {
        opacity: 0.36;
        transform: translate3d(48%, 28%, 0) scale(0.86);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-shader,
    .hero-shader::before,
    .hero-shader::after,
    .hero-yellow-orbit {
        animation: none;
    }
}

.hero-text {
    color: #fff;
}

.hero-badge {
    margin-bottom: 20px;
}

.hero h1 {
    max-width: 760px;
    margin-bottom: 16px;
    color: #fff;
    font-size: clamp(34px, 4.8vw, 58px);
    font-weight: 800;
    line-height: 1.08;
}

.hero p {
    max-width: 620px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 17px;
    line-height: 1.7;
}

.hero-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 690px;
    margin-bottom: 24px;
}

.trust-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 8px 14px 8px 8px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.07));
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 14px 28px rgba(0, 48, 78, 0.12);
    backdrop-filter: blur(10px);
    transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.trust-badge:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.42);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.1));
}

.trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(221, 226, 230, 0.84));
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.88),
        inset 0 -2px 0 rgba(84, 94, 102, 0.16);
}

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

.hero-btn {
    min-width: 160px;
    box-shadow: 0 16px 30px rgba(0, 48, 78, 0.2);
}

.hero-image-card {
    width: min(100%, 500px);
    justify-self: center;
    filter: drop-shadow(0 34px 34px rgba(0, 0, 0, 0.22));
}

.hero-image-card img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

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

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

.company-card,
.partners-grid article {
    min-height: 240px;
    padding: 28px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    transition: box-shadow 0.3s, transform 0.3s;
}

.company-card:hover,
.partners-grid article:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.company-card h3,
.partners-grid h3 {
    margin-bottom: 12px;
    color: #1a1a2e;
    font-size: 20px;
    font-weight: 800;
}

.company-card p,
.partners-grid p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

.company-card a {
    display: inline-flex;
    margin-top: 18px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 800;
}

.section-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 44px;
}

.section-title-left,
.section-subtitle-left {
    text-align: left;
}

.section-subtitle-left {
    margin: 0;
}

.section-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid rgba(0, 106, 167, 0.2);
    border-radius: 999px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 800;
    background: #f6fcff;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.section-link:hover {
    border-color: rgba(0, 106, 167, 0.38);
    background: #eef8ff;
    transform: translateY(-2px);
}

.section-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
}

.carousel-count {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #f6fcff;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.carousel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(0, 106, 167, 0.2);
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    font-family: var(--font-main);
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.carousel-btn:hover {
    border-color: rgba(0, 106, 167, 0.42);
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.carousel-btn span {
    display: block;
    transform: translateY(-1px);
}

.category-carousel {
    overflow-x: hidden;
    overflow-y: visible;
    padding: 8px 0 20px;
}

.category-track {
    --category-card-width: calc((100% - 72px) / 4);
    display: flex;
    gap: 24px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
}

.category-track::-webkit-scrollbar {
    display: none;
}

.category-track.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    scroll-behavior: auto;
}

.category-card {
    display: flex;
    flex: 0 0 var(--category-card-width);
    min-width: 0;
    height: 430px;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    scroll-snap-align: start;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.category-card:hover {
    border-color: rgba(0, 106, 167, 0.24);
    box-shadow: 0 14px 34px rgba(0, 48, 78, 0.12);
}

.category-card-media {
    position: relative;
    display: flex;
    align-items: flex-end;
    height: 184px;
    flex: 0 0 184px;
    padding: 22px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(0, 106, 167, 0.9), rgba(0, 106, 167, 0.62)),
        linear-gradient(45deg, #f6fcff, #ffffff);
}

.category-card-media-alt {
    background:
        linear-gradient(135deg, rgba(0, 106, 167, 0.82), rgba(122, 181, 230, 0.74)),
        linear-gradient(45deg, #f6fcff, #ffffff);
}

.category-card-media-soft {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.84), rgba(0, 106, 167, 0.72)),
        linear-gradient(45deg, #f6fcff, #ffffff);
}

.category-card-media-light {
    background:
        linear-gradient(135deg, rgba(246, 252, 255, 0.94), rgba(122, 181, 230, 0.36)),
        linear-gradient(45deg, #ffffff, #eef8ff);
}

.category-card-media-dark {
    background:
        linear-gradient(135deg, rgba(0, 48, 78, 0.92), rgba(0, 106, 167, 0.76)),
        linear-gradient(45deg, #0f172a, #006aa7);
}

.category-card-media-muted {
    background:
        linear-gradient(135deg, rgba(84, 94, 102, 0.82), rgba(0, 106, 167, 0.58)),
        linear-gradient(45deg, #f6fcff, #ffffff);
}

.category-card-media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.category-card:hover .category-card-media img {
    transform: scale(1.04);
}

.category-card-media img.category-card-placeholder {
    inset: auto;
    left: 50%;
    top: 46%;
    width: min(54%, 112px);
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    opacity: 0.92;
    z-index: 1;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 18px 24px rgba(0, 48, 78, 0.22));
}

.category-card-media-light img.category-card-placeholder {
    opacity: 0.86;
}

.category-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 48, 78, 0.04), rgba(0, 48, 78, 0.46));
}

.category-card-media span {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.category-card-media-light span {
    border-color: rgba(0, 106, 167, 0.18);
    background: rgba(255, 255, 255, 0.78);
    color: var(--primary);
}

.category-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
    padding: 22px;
}

.category-card h3 {
    margin-bottom: 10px;
    color: #1a1a2e;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.35;
}

.category-card p {
    display: -webkit-box;
    overflow: hidden;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

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

.insight-card {
    display: flex;
    min-height: 390px;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: box-shadow 0.3s, transform 0.3s;
}

.insight-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.insight-cover {
    display: flex;
    align-items: flex-end;
    min-height: 178px;
    padding: 22px;
    background:
        linear-gradient(135deg, rgba(0, 106, 167, 0.9), rgba(0, 106, 167, 0.62)),
        linear-gradient(45deg, #f6fcff, #ffffff);
}

.insight-cover-alt {
    background:
        linear-gradient(135deg, rgba(0, 106, 167, 0.82), rgba(122, 181, 230, 0.74)),
        linear-gradient(45deg, #f6fcff, #ffffff);
}

.insight-cover-soft {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.84), rgba(0, 106, 167, 0.72)),
        linear-gradient(45deg, #f6fcff, #ffffff);
}

.insight-cover span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.insight-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px;
}

.insight-category {
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.insight-card h3 {
    margin-bottom: 10px;
    color: #1a1a2e;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.35;
}

.insight-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
}

.insight-meta {
    margin-top: auto;
    padding-top: 20px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
}

.portfolio-card,
.feature-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    transition: box-shadow 0.3s, transform 0.3s;
}

.portfolio-card {
    display: flex;
    flex-direction: column;
    min-height: 430px;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
}

.portfolio-card:hover,
.feature-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.portfolio-logo-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 215px;
    padding: 28px;
    background: linear-gradient(135deg, #eef8ff 0%, #ffffff 100%);
    border-bottom: 1px solid #e5e7eb;
}

.portfolio-logo-panel img {
    display: block;
    width: min(78%, 210px);
    max-height: 150px;
    object-fit: contain;
}

.portfolio-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.portfolio-tag {
    display: block;
    margin-bottom: 4px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.portfolio-card h3,
.feature-card h3 {
    color: #1a1a2e;
    font-size: 18px;
    font-weight: 800;
}

.portfolio-card-body p,
.feature-card p {
    color: var(--text-light);
    font-size: 14px;
    font-family: var(--font-body);
    line-height: 1.7;
}

.portfolio-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 22px;
}

.portfolio-meta span {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 20px;
    background: #eff6ff;
    color: #006aa7;
    font-size: 12px;
    font-weight: 700;
}

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

.feature-card {
    padding: 32px 24px;
    text-align: center;
}

.feature-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    border-radius: 14px;
    background: var(--primary);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(0, 106, 167, 0.3);
}

.section-stats {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.stats-heading {
    max-width: 760px;
    margin: 0 auto 44px;
    color: #fff;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
}

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

.stat-card {
    padding: 24px 16px;
    text-align: center;
}

.stat-number {
    display: block;
    margin-bottom: 6px;
    color: #fff;
    font-size: 42px;
    font-weight: 800;
}

.stat-label {
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    font-weight: 600;
}

.cta-banner {
    position: relative;
    padding: 100px 0;
    background:
        linear-gradient(135deg, rgba(122, 181, 230, 0.92), rgba(0, 106, 167, 0.84)),
        linear-gradient(45deg, #0f172a, #1d4ed8);
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: #f1fdffff;
}

.cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-inner h2 {
    margin-bottom: 16px;
    color: #006aa7;
    font-size: 40px;
    font-weight: 800;
}

.cta-inner p {
    max-width: 620px;
    margin: 0 auto 36px;
    color: #006aa7;
    font-size: 18px;
}

.contact-form-panel {
    display: none;
    max-width: 860px;
    margin: 30px auto 0;
    padding: 28px;
    border: 1px solid rgba(0, 106, 167, 0.16);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 44px rgba(0, 48, 78, 0.1);
    text-align: left;
}

.contact-form-panel.open {
    display: block;
}

.contact-alert {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
}

.contact-alert-success {
    border: 1px solid rgba(46, 160, 67, 0.22);
    background: rgba(46, 160, 67, 0.08);
    color: #1f7a35;
}

.contact-alert-error {
    border: 1px solid rgba(217, 54, 79, 0.22);
    background: rgba(217, 54, 79, 0.08);
    color: #a8273b;
}

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

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

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

.contact-form span {
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 800;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid #dbe4ee;
    border-radius: 8px;
    background: #fff;
    color: var(--text);
    font: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input {
    min-height: 48px;
    padding: 0 14px;
}

.contact-form textarea {
    min-height: 132px;
    padding: 14px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(0, 106, 167, 0.58);
    box-shadow: 0 0 0 4px rgba(0, 106, 167, 0.1);
}

.contact-form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.contact-form-actions a {
    color: var(--primary);
    font-size: 14px;
    font-weight: 800;
}

@media (max-width: 1120px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-image-card {
        width: min(100%, 420px);
    }

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

    .company-grid,
    .partners-grid,
    .insights-grid {
        grid-template-columns: 1fr;
    }

    .section-heading-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .section-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .category-track {
        --category-card-width: calc((100% - 24px) / 2);
    }

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

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 58px 0 52px;
    }

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

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

    .hero-trust-badges {
        flex-direction: column;
    }

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

    .hero-btn {
        width: 100%;
    }

    .hero-image-card {
        width: min(100%, 340px);
    }

    .portfolio-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .category-track {
        --category-card-width: 100%;
    }

    .category-card {
        height: 420px;
    }

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

    .cta-inner h2 {
        font-size: 28px;
    }

    .contact-form-panel {
        padding: 20px;
    }

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