:root {
    --ink: #111827;
    --muted: #4e5a6c;
    --line: #e5e8ed;
    --soft: #f5f6f8;
    --paper: #ffffff;
    --brand: #55b5e6;
    --brand-dark: #1976d2;
    --navy: #101c2c;
    --red: #ff6267;
    --shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
    --max: 1150px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 9% 0%, rgba(85, 181, 230, 0.12), transparent 28%),
        radial-gradient(circle at 92% 14%, rgba(25, 118, 210, 0.08), transparent 24%),
        linear-gradient(180deg, #fbfcfe 0%, var(--soft) 42%, #ffffff 100%);
    font-family: Inter, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.55;
}

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

img,
svg {
    display: block;
}

img {
    max-width: 100%;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(226, 232, 240, 0.82);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.035);
}

.header-inner {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 18px;
    width: min(100% - 40px, var(--max));
    height: 76px;
    margin: 0 auto;
}

.brand {
    display: inline-flex;
    width: 88px;
    height: 48px;
    align-items: center;
}

.brand img {
    display: block;
    width: 88px;
    height: auto;
}

.main-nav {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    padding-right: 0;
    font-size: 13px;
    font-weight: 800;
}

.mobile-menu-panel {
    display: contents;
}

.drawer-top,
.menu-scrim {
    display: none;
}

.main-nav a {
    position: relative;
    padding: 28px 0;
}

.main-nav a::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    content: "";
    background: transparent;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: var(--brand-dark);
}

.main-nav a.is-active::after {
    background: var(--brand);
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: transparent;
    border: 0;
    border-radius: 10px;
    box-shadow: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    opacity: 1;
    visibility: visible;
    z-index: 45;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    margin: 3px 0;
    background: #222;
    border-radius: 999px;
    transition: transform 260ms ease, opacity 260ms ease;
}

body.nav-open .menu-toggle span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

body.nav-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}

body.nav-open .menu-toggle span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.header-action,
.button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.header-action {
    position: relative;
    min-width: 126px;
    gap: 9px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #0d64c8, #0754aa);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 9px;
    box-shadow: 0 8px 18px rgba(25, 118, 210, 0.18);
    transition: transform 260ms ease, box-shadow 260ms ease, color 260ms ease;
}

.header-action::before {
    display: none;
    content: none;
}

.header-action::after {
    position: absolute;
    inset: 0 auto 0 -40%;
    width: 34%;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
    transform: skewX(-18deg);
    transition: left 620ms ease;
}

.header-action:hover {
    color: #fff;
    box-shadow: 0 10px 22px rgba(25, 118, 210, 0.22);
    transform: none;
}

.header-action:hover::after {
    left: 118%;
}

.header-login-link {
    position: relative;
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 12px 0 12px 20px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    transition: color 220ms ease;
}

.header-login-link::before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 2px;
    height: 26px;
    content: "";
    background: rgba(17, 24, 39, 0.24);
    transform: translateY(-50%);
}

.header-login-link:hover {
    color: var(--brand-dark);
}

.button-primary {
    color: #fff;
    background: linear-gradient(135deg, #55b5e6 0%, #1976d2 100%);
    box-shadow: 0 14px 28px rgba(25, 118, 210, 0.22);
}

.button-light {
    color: var(--brand);
    background: rgba(255, 255, 255, 0.88);
    border: 2px solid var(--brand);
}

.button-dark {
    color: #fff;
    background: var(--navy);
}

.button-outline-white {
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.72);
}

.hero {
    width: 100%;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 48%, rgba(85, 181, 230, 0.18), transparent 34%),
        linear-gradient(90deg, rgba(251, 252, 254, 0.98) 0%, rgba(247, 250, 252, 0.82) 52%, rgba(247, 250, 252, 0.26) 100%),
        var(--hero-bg) center / cover no-repeat;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.hero-inner {
    display: grid;
    grid-template-columns: 520px minmax(420px, 1fr);
    align-items: center;
    width: min(100% - 40px, var(--max));
    min-height: 460px;
    margin: 0 auto;
    padding: 26px 0 0;
}

.hero-copy {
    position: relative;
    z-index: 2;
    padding-bottom: 20px;
}

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

h1 {
    max-width: 520px;
    margin-bottom: 40px;
    color: #07162b;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: 0;
    text-wrap: balance;
}

h2 {
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
}

.hero-copy > p {
    max-width: 510px;
    margin-bottom: 0;
    color: #111827;
    font-size: 15px;
    line-height: 1.65;
}

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

.hero-actions .button {
    min-width: 155px;
}

.hero-note {
    position: relative;
    max-width: 500px;
    margin-top: 18px;
    padding-left: 34px;
    color: #39465a;
    font-size: 12px !important;
    line-height: 1.45 !important;
}

.hero-note::before {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    color: #fff;
    background: var(--brand-dark);
    border-radius: 999px;
    content: "✓";
    font-size: 12px;
    font-weight: 900;
}

.hero-media {
    position: relative;
    align-self: stretch;
    min-height: 460px;
}

.hero-media img {
    position: absolute;
    right: -26px;
    bottom: 0;
    width: 620px;
    max-width: none;
    filter: drop-shadow(0 28px 28px rgba(17, 24, 39, 0.13));
}

.quick-strip {
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--line);
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-height: 76px;
}

.quick-grid article {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: #4f5f73;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    transition: transform 380ms ease, color 380ms ease;
}

.quick-grid article:hover {
    color: var(--brand-dark);
    transform: translateY(-4px);
}

.line-icon,
.service-icon {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
}

.line-icon svg,
.service-icon svg {
    fill: none;
}

.line-icon.dark {
    width: 42px;
    height: 42px;
    color: var(--brand-dark);
}

.line-icon.blue {
    color: var(--brand-dark);
}

.line-icon.dark svg {
    width: 38px;
    height: 38px;
}

.line-icon.blue svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.icon-main {
    fill: var(--brand-dark);
}

.icon-accent {
    fill: var(--brand);
}

.icon-soft {
    fill: #eaf7ff;
}

.icon-muted {
    fill: #cfe3f4;
}

.icon-dark {
    fill: var(--navy);
}

.icon-white {
    fill: #fff;
}

.icon-dark-stroke {
    fill: none;
    stroke: var(--navy);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 5;
}

.section-block {
    padding-top: 18px;
    scroll-margin-top: 76px;
}

.section-title {
    margin: 0 0 26px;
}

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

.service-card {
    display: grid;
    min-height: 240px;
    align-content: center;
    justify-items: center;
    padding: 28px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(17, 24, 39, 0.06);
    transition: transform 450ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 450ms ease, border-color 450ms ease;
    will-change: transform;
}

.service-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(85, 181, 230, 0.86), transparent);
    opacity: 0;
    transition: opacity 420ms ease;
}

.service-icon {
    width: 76px;
    height: 76px;
    margin-bottom: 28px;
    color: var(--brand-dark);
    background: #f3fbff;
    border: 1px solid #dbeef9;
    border-radius: 18px;
    box-shadow: 0 10px 20px rgba(25, 118, 210, 0.08);
    transition: transform 450ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 450ms ease;
}

.service-icon svg {
    width: 62px;
    height: 62px;
}

.managed-icon-img {
    display: block;
    object-fit: contain;
}

.service-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.service-card:hover {
    transform: translateY(-9px);
    border-color: rgba(85, 181, 230, 0.42);
    box-shadow: 0 24px 50px rgba(17, 24, 39, 0.12);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover .service-icon {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 16px 30px rgba(25, 118, 210, 0.14);
}

.why-section {
    padding-top: 42px;
}

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

.why-card {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 78px;
    padding: 16px 20px;
    background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.055);
    transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 420ms ease, border-color 420ms ease;
    will-change: transform;
}

.why-card:hover {
    transform: translateY(-7px);
    border-color: rgba(85, 181, 230, 0.4);
    box-shadow: 0 18px 34px rgba(17, 24, 39, 0.1);
}

.why-card strong,
.why-card span {
    display: block;
}

.why-card strong {
    font-size: 14px;
    font-weight: 900;
}

.why-card div > span {
    color: #263245;
    line-height: 1.25;
}

.results-section {
    padding-top: 36px;
}

.results-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 500px;
    overflow: hidden;
    background: linear-gradient(135deg, #fff 0%, #fbfdff 100%);
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 14px;
    box-shadow: 0 22px 46px rgba(17, 24, 39, 0.07);
}

.results-copy {
    align-self: center;
    padding: 48px 34px 48px 26px;
}

.results-copy p {
    max-width: 500px;
    color: var(--muted);
    font-size: 14px;
}

.results-copy .button {
    margin-top: 8px;
}

.results-box img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transform: scale(1);
    transform-origin: center;
    transition-property: transform, filter;
    transition-duration: 1500ms;
    transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
    will-change: transform;
}

.results-box:hover img {
    transform: scale(1.07);
    filter: saturate(1.08) contrast(1.03);
}

.mission-section {
    margin-top: 42px;
    padding: 42px 0 52px;
    background: #fff;
    scroll-margin-top: 76px;
}

.centered {
    max-width: 720px;
    margin: 0 auto 54px;
    text-align: center;
}

.pill-label {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 9px 20px;
    color: var(--red);
    background: #ffe1e4;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

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

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

.mission-grid article {
    min-height: 238px;
    padding: 36px 32px;
    background: #fff;
    border: 1px solid #eef1f5;
    border-radius: 20px;
    box-shadow: 0 18px 36px rgba(17, 24, 39, 0.12);
}

.mission-grid p {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.8;
}

.process-section {
    padding-top: 42px;
}

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

.process-card {
    position: relative;
    display: grid;
    min-height: 178px;
    align-content: center;
    justify-items: center;
    padding: 30px 18px 24px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.055);
}

.process-card:not(:last-child)::after {
    position: absolute;
    top: 50%;
    right: -32px;
    color: var(--brand-dark);
    content: "→";
    font-size: 28px;
    font-weight: 900;
    transform: translateY(-50%);
}

.process-number {
    position: absolute;
    top: 18px;
    left: 18px;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    color: #fff;
    background: var(--brand-dark);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.process-icon {
    margin-bottom: 18px;
}

.process-icon svg {
    width: 38px;
    height: 38px;
}

.process-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.business-section {
    padding-top: 42px;
}

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

.business-card {
    display: grid;
    min-height: 108px;
    align-content: center;
    justify-items: center;
    gap: 12px;
    text-align: center;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 10px 26px rgba(17, 24, 39, 0.045);
    transition: transform 360ms ease, box-shadow 360ms ease, border-color 360ms ease;
}

.business-card:hover {
    border-color: rgba(85, 181, 230, 0.44);
    box-shadow: 0 18px 34px rgba(17, 24, 39, 0.08);
    transform: translateY(-5px);
}

.business-card svg {
    width: 34px;
    height: 34px;
}

.business-note {
    max-width: 780px;
    margin: 22px auto 0;
    color: var(--muted);
    text-align: center;
}

.clients-section {
    overflow: hidden;
    padding: 42px 0 58px;
    background: #fff;
}

.clients-section .section-title {
    margin-bottom: 28px;
}

.clients-slider {
    position: relative;
    width: min(100% - 40px, var(--max));
    margin: 0 auto;
    overflow: hidden;
    border-radius: 7px;
}

.clients-slider::before,
.clients-slider::after {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: min(14vw, 160px);
    content: "";
    pointer-events: none;
}

.clients-slider::before {
    left: 0;
    background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0));
}

.clients-slider::after {
    right: 0;
    background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0));
}

.clients-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 18px;
    animation: clients-marquee 28s linear infinite;
}

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

.client-logo {
    display: inline-flex;
    min-width: 170px;
    height: 72px;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    color: #aeb5bf;
    background: #fff;
    border: 1px solid #edf0f4;
    border-radius: 7px;
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.04);
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    transition: transform 320ms ease, border-color 320ms ease, box-shadow 320ms ease, color 320ms ease;
}

a.client-logo:hover {
    color: var(--brand-dark);
    border-color: rgba(85, 181, 230, 0.46);
    box-shadow: 0 14px 30px rgba(85, 181, 230, 0.12);
    transform: translateY(-3px);
}

.client-logo img {
    max-width: 132px;
    max-height: 42px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.72;
}

@keyframes clients-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.final-cta-section {
    padding: 0 0 46px;
    background: #fff;
}

.final-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    padding: 34px 36px;
    color: #fff;
    background:
        radial-gradient(circle at 92% 20%, rgba(85, 181, 230, 0.32), transparent 24%),
        linear-gradient(135deg, #0754aa 0%, #003f91 58%, #06294f 100%);
    border-radius: 14px;
    box-shadow: 0 22px 46px rgba(0, 63, 145, 0.2);
}

.final-cta h2 {
    max-width: 520px;
    margin-bottom: 8px;
    color: #fff;
    font-size: 23px;
}

.final-cta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}

.final-cta-actions {
    display: flex;
    gap: 14px;
}

.final-cta .button-light {
    color: var(--brand-dark);
    background: #fff;
    border-color: #fff;
}

.site-footer {
    padding: 52px 0 28px;
    color: rgba(255, 255, 255, 0.78);
    background:
        radial-gradient(circle at 8% 16%, rgba(85, 181, 230, 0.14), transparent 30%),
        linear-gradient(135deg, #07182b 0%, #08243f 55%, #061326 100%);
    overflow: clip;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.72fr 1fr 1.15fr;
    gap: 46px;
}

.footer-brand img {
    width: 96px;
    margin-bottom: 18px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    max-width: 220px;
    color: rgba(255, 255, 255, 0.78);
}

.site-footer h3 {
    margin-bottom: 16px;
    color: #fff;
    font-size: 15px;
}

.footer-menu,
.footer-contact-list {
    display: grid;
    gap: 8px;
}

.footer-menu a,
.footer-contact-list a,
.footer-contact-list span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    transition: color 220ms ease;
}

.footer-menu a:hover,
.footer-contact-list a:hover {
    color: #fff;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    gap: 14px;
}

.social-links a {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    transition: transform 260ms ease, background 260ms ease;
}

.social-links a:hover {
    background: var(--brand-dark);
    transform: translateY(-3px);
}

.footer-copy {
    position: relative;
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 18px;
    padding-top: 26px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    text-align: center;
}

.footer-copy::before {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    min-width: min(100vw, 100%);
    height: 1px;
    content: "";
    background: rgba(255, 255, 255, 0.18);
    transform: translateX(-50%);
}

.contact-page {
    background: #fff;
}

.map-section {
    width: 100%;
    height: 430px;
    background: #edf1f5;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-wrap {
    display: grid;
    grid-template-columns: 0.78fr 1.08fr;
    width: min(100% - 40px, var(--max));
    margin: 64px auto 0;
    overflow: hidden;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(17, 24, 39, 0.09);
}

.contact-info-panel {
    padding: 48px 44px;
    color: #fff;
    background: var(--brand);
}

.contact-info-panel h1 {
    margin-bottom: 28px;
    font-size: 24px;
    line-height: 1.15;
}

.contact-info-panel p {
    max-width: 540px;
    margin-bottom: 42px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.55;
}

.contact-lines {
    display: grid;
    gap: 36px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
}

.contact-form {
    padding: 42px 38px;
}

.contact-form h2 {
    margin-bottom: 28px;
    font-size: 23px;
}

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

.contact-main-row {
    grid-template-columns: 1fr;
    gap: 0;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    margin-bottom: 28px;
    padding: 17px 20px;
    color: var(--ink);
    background: #fff;
    border: 1px solid #dde6ef;
    border-radius: 11px;
    box-shadow: none;
    font: inherit;
    font-size: 13px;
}

.contact-form textarea {
    min-height: 210px;
    resize: vertical;
}

.captcha-wrap {
    display: flex;
    justify-content: flex-start;
    margin: -4px 0 24px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--brand);
    outline: 3px solid rgba(85, 181, 230, 0.18);
}

.contact-form button {
    float: left;
    min-width: 195px;
    min-height: 50px;
    cursor: pointer;
}

.contact-form button span {
    margin-left: 10px;
    font-size: 24px;
}

.contact-submit-button {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #0d64c8, #0754aa);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 9px;
    box-shadow: 0 8px 18px rgba(25, 118, 210, 0.18);
    font-size: 13px;
    font-weight: 800;
    transition: box-shadow 260ms ease, color 260ms ease;
}

.contact-submit-button::after {
    position: absolute;
    inset: 0 auto 0 -40%;
    width: 34%;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
    transform: skewX(-18deg);
    transition: left 620ms ease;
}

.contact-submit-button:hover {
    color: #fff;
    box-shadow: 0 10px 22px rgba(25, 118, 210, 0.22);
}

.contact-submit-button:hover::after {
    left: 118%;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 80px;
    width: min(100% - 40px, var(--max));
    margin: 110px auto 120px;
    text-align: center;
}

.contact-cards article {
    display: grid;
    justify-items: center;
    gap: 30px;
    transition: transform 420ms ease;
}

.contact-cards article:hover {
    transform: translateY(-8px);
}

.contact-cards span {
    display: grid;
    width: 128px;
    height: 92px;
    place-items: center;
    color: #cfd3d8;
    background: #fff;
    border: 1px solid #edf0f4;
    border-radius: 6px;
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.07);
    transition: box-shadow 420ms ease, color 420ms ease, transform 420ms ease;
}

.contact-cards article:hover span {
    color: var(--brand-dark);
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(17, 24, 39, 0.1);
}

.contact-cards svg {
    width: 58px;
    height: 58px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.contact-cards h3 {
    font-size: 18px;
}

.admin-page {
    min-height: 100vh;
    padding: 18px;
    background: #f4f6fb;
}

.admin-page .site-header {
    display: none;
}

.cms-admin-frame {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    min-height: calc(100vh - 36px);
    overflow: hidden;
    background: #fff;
    border-radius: 34px;
    box-shadow: 0 30px 70px rgba(23, 28, 45, 0.08);
}

.cms-admin-sidebar {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 28px 22px;
    background: #fff;
    border-right: 1px solid #e8ebf5;
}

.cms-admin-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cms-admin-brand > span {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #5247cb, #7267f2);
    border-radius: 18px;
    font-size: 22px;
    font-weight: 900;
}

.cms-admin-brand strong,
.cms-admin-brand small {
    display: block;
}

.cms-admin-brand strong {
    color: #172033;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.1;
}

.cms-admin-brand small {
    color: #8a90a8;
    font-size: 14px;
}

.cms-admin-nav {
    display: grid;
    gap: 10px;
}

.cms-admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: #7a83a4;
    border-radius: 16px;
    font-weight: 800;
}

.cms-admin-nav a.is-active,
.cms-admin-nav a:hover {
    color: #5b4fcf;
    background: #efedff;
}

.cms-admin-nav span {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    background: #f1f4fb;
    border-radius: 10px;
    font-size: 14px;
}

.cms-admin-cta {
    margin-top: auto;
    padding: 20px;
    text-align: center;
    background: linear-gradient(180deg, #fafbff, #f2f3fb);
    border: 1px solid #e8ebf5;
    border-radius: 24px;
}

.cms-admin-cta strong {
    display: block;
    margin-bottom: 8px;
    color: #172033;
    font-size: 18px;
}

.cms-admin-cta p {
    margin: 0 0 16px;
    color: #8a90a8;
    font-size: 13px;
}

.cms-admin-cta a {
    display: inline-flex;
    padding: 12px 18px;
    color: #fff;
    background: #5b4fcf;
    border-radius: 14px;
    font-weight: 800;
}

.cms-admin-main {
    width: auto !important;
    margin: 0 !important;
    padding: 28px 30px 44px !important;
    overflow-x: hidden;
    background: linear-gradient(180deg, #fff 0%, #fbfbfe 100%);
}

.cms-admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.cms-admin-topbar h1 {
    margin: 0 0 6px;
    font-size: 24px;
    line-height: 1.1;
}

.cms-admin-topbar p {
    margin: 0;
    color: #8a90a8;
    font-size: 16px;
}

.cms-admin-topbar nav {
    display: flex;
    gap: 12px;
}

.login-shell {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 24px;
    background:
        radial-gradient(circle at 18% 12%, rgba(104, 218, 235, 0.18), transparent 28%),
        radial-gradient(circle at 82% 18%, rgba(100, 82, 214, 0.14), transparent 24%),
        #f4f6fb;
}

.login-card,
.admin-panel,
.mini-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.login-card {
    width: min(100%, 420px);
    padding: 30px;
    border-color: #e5e9f3;
    border-radius: 30px;
    box-shadow: 0 30px 80px rgba(23, 28, 45, 0.12);
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.login-brand > span {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #5247cb, #7267f2);
    border-radius: 18px;
    font-size: 22px;
    font-weight: 900;
}

.login-brand strong,
.login-brand small {
    display: block;
}

.login-brand strong {
    color: #172033;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.1;
}

.login-brand small {
    color: #8a90a8;
    font-size: 14px;
}

.admin-header h1 {
    margin-bottom: 22px;
    font-size: 34px;
    line-height: 1.1;
}

.login-card h1 {
    margin: 20px 0 10px;
    color: #0f1831;
    font-size: 22px;
    line-height: 1.05;
}

.login-intro {
    margin: 0 0 18px;
    color: #7d86a3;
    font-size: 14px;
    line-height: 1.5;
}

.login-hint {
    margin: 14px 0 0;
    color: #8a90a8;
    font-size: 13px;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 26px clamp(20px, 5vw, 72px);
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.admin-header nav,
.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.admin-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 32px auto 70px;
}

.admin-form {
    display: grid;
    gap: 22px;
}

.admin-panel {
    padding: 28px;
    border-radius: 26px;
    box-shadow: 0 18px 45px rgba(23, 28, 45, 0.06);
}

.admin-panel h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

.mini-panel {
    padding: 20px;
    border-radius: 20px;
    box-shadow: none;
}

.mini-panel h3 {
    font-size: 18px;
}

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

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

.admin-subtitle {
    margin: 22px 0 14px;
    color: #5b4fcf;
    font-size: 16px;
}

.icon-admin-fields {
    display: grid;
    gap: 12px;
    margin-top: 14px;
    padding: 14px;
    background: #f7f8fd;
    border: 1px solid #e8ebf5;
    border-radius: 16px;
}

.icon-admin-preview {
    width: 56px;
    height: 56px;
    object-fit: contain;
    padding: 8px;
    background: #fff;
    border: 1px solid #e8ebf5;
    border-radius: 14px;
}

.admin-form label,
.login-card label {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

.checkbox-field {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: center;
    gap: 10px !important;
}

.checkbox-field input {
    width: auto !important;
}

.admin-form label span,
.login-card label span {
    color: #5f6884;
    font-size: 13px;
    font-weight: 800;
}

.admin-form input,
.admin-form textarea,
.login-card input {
    width: 100%;
    padding: 15px 16px;
    color: var(--ink);
    background: #fff;
    border: 1px solid #e2e6f0;
    border-radius: 16px;
    font: inherit;
}

.admin-form textarea {
    resize: vertical;
}

.admin-form input:focus,
.admin-form textarea:focus,
.login-card input:focus {
    border-color: #6b5df0;
    outline: 4px solid rgba(107, 93, 240, 0.13);
}

.login-card .notice {
    margin: 0 0 16px;
    border-radius: 16px;
}

.login-submit {
    width: 100%;
    justify-content: center;
    margin-top: 4px;
    padding: 14px 18px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #5b4fcf, #7367f2);
    box-shadow: 0 16px 32px rgba(91, 79, 207, 0.24);
}

.login-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 38px rgba(91, 79, 207, 0.28);
}

.notice {
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 700;
}

.notice span {
    display: block;
}

.notice span + span {
    margin-top: 6px;
}

.notice.success {
    color: #116a3a;
    background: #e8f8ef;
    border: 1px solid #bce8ce;
}

.notice.error {
    color: #9f1d28;
    background: #fff0f1;
    border: 1px solid #ffd1d5;
}

.admin-actions {
    position: sticky;
    bottom: 0;
    padding: 18px 0 0;
    background: linear-gradient(180deg, rgba(246, 248, 251, 0), var(--soft) 38%);
}

@media (max-width: 980px) {
    .cms-admin-frame {
        grid-template-columns: 1fr;
    }

    .cms-admin-sidebar {
        border-right: 0;
        border-bottom: 1px solid #e8ebf5;
    }

    .cms-admin-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .header-inner {
        position: relative;
        grid-template-columns: 1fr auto;
        height: 65px;
        gap: 12px;
        padding: 0;
    }

    .menu-toggle {
        display: inline-flex;
        position: absolute;
        top: 9px;
        right: 0;
    }

    .drawer-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        margin-bottom: 14px;
    }

    .drawer-top img {
        width: 77px;
        height: auto;
        background: transparent;
    }

    .menu-close {
        display: grid;
        width: 34px;
        height: 34px;
        place-items: center;
        color: #222;
        background: #f8fafc;
        border: 1px solid #dbe3ec;
        border-radius: 999px;
        font-size: 0;
        line-height: 1;
        cursor: pointer;
        margin-bottom: 5px;
        display: none;
    }

    .menu-close::before {
        content: "×";
        font-size: 24px;
        font-weight: 700;
        line-height: 1;
    }

    .menu-scrim {
        position: fixed;
        inset: 0;
        display: block;
        background: rgba(15, 23, 42, 0.44);
        backdrop-filter: blur(7px);
        -webkit-backdrop-filter: blur(7px);
        border: 0;
        opacity: 0;
        pointer-events: none;
        transition: opacity 240ms ease;
        z-index: 80;
    }

    .mobile-menu-panel {
        position: fixed;
        top: 0;
        right: auto;
        bottom: 0;
        left: 0;
        display: grid;
        align-content: start;
        gap: 0;
        width: min(78vw, 350px);
        height: 100dvh;
        padding: 20px 16px 22px;
        overflow-y: auto;
        background: #fff;
        border: 0;
        /* border-radius: 0 28px 28px 0; */
        box-shadow: 18px 0 60px rgba(15, 23, 42, 0.22);
        opacity: 0;
        pointer-events: none;
        transform: translateX(-100%);
        visibility: hidden;
        transition: opacity 220ms ease, transform 280ms cubic-bezier(0.22, 1, 0.36, 1), visibility 220ms ease;
        z-index: 90;
    }

    .main-nav {
        display: grid;
        justify-content: stretch;
        gap: 10px;
        padding-right: 0;
    }

    .main-nav a {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 16px;
        align-items: center;
        gap: 12px;
        color: #222;
        min-height: 56px;
        padding: 9px 14px 9px 18px;
        background: #fff;
        border: 1px solid #e8edf4;
        border-radius: 16px;
        box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
        font-size: 15px;
        font-weight: 900;
        transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
    }

    .main-nav a::after {
        position: static;
        display: block;
        width: auto;
        height: auto;
        color: #9aa5b1;
        background: transparent;
        content: "›";
        font-size: 20px;
        line-height: 1;
        display: none;
    }

    .main-nav a:hover,
    .main-nav a.is-active {
        color: var(--brand-dark);
        border-color: #cfeafa;
        box-shadow: 0 12px 24px rgba(85, 181, 230, 0.12);
        transform: translateX(-2px);
    }

    .header-action {
        display: flex;
        width: 100%;
        min-height: 56px;
        align-items: center;
        justify-content: center;
        gap: 0;
        margin-top: 12px;
        padding: 12px 16px;
        color: #fff;
        background: linear-gradient(135deg, #55b5e6, #1976d2);
        border-radius: 16px;
        box-shadow: 0 10px 20px rgba(25, 118, 210, 0.18);
        font-size: 14px;
        font-weight: 900;
        text-align: left;
    }

    .header-login-link {
        position: static;
        display: flex;
        width: 100%;
        min-height: 50px;
        align-items: center;
        justify-content: center;
        margin-top: 12px;
        padding: 12px 16px;
        color: var(--brand-dark);
        background: #fff;
        border: 1px solid #e8edf4;
        border-radius: 16px;
        box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
        font-size: 14px;
        font-weight: 900;
    }

    .header-login-link::before {
        display: none;
    }

    .header-action::before {
        display: none;
        content: none;
    }

    .header-action::after {
        display: none;
    }

    body.nav-open .mobile-menu-panel {
        opacity: 1;
        pointer-events: auto;
        transform: translateX(0);
        visibility: visible;
    }

    body.nav-open .menu-scrim {
        opacity: 1;
        pointer-events: auto;
    }

    body.nav-open .menu-toggle {
        position: fixed;
        top: 9px;
        right: 14px;
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        z-index: 95;
    }

    body.nav-open {
        overflow: hidden;
    }

    .hero-inner,
    .results-box,
    .final-cta,
    .footer-grid,
    .contact-wrap {
        grid-template-columns: 1fr;
    }

    .hero-media {
        min-height: 300px;
    }

    .hero-media img {
        right: 50%;
        width: min(620px, 100vw);
        transform: translateX(50%);
    }

    .quick-grid,
    .service-grid,
    .why-card-grid,
    .process-grid,
    .business-grid,
    .mission-grid,
    .partners-grid,
    .contact-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-card:not(:last-child)::after {
        display: none;
    }

    .final-cta {
        align-items: start;
    }

    .final-cta-actions {
        justify-content: flex-start;
    }

    .contact-info-panel p,
    .contact-lines {
        font-size: 17px;
    }
}

@media (max-width: 640px) {
    .container,
    .header-inner,
    .hero-inner,
    .clients-slider {
        width: min(100% - 28px, var(--max));
    }

    .header-action {
        width: 100%;
    }

    .hero-actions .button {
        width: 190px;
        min-width: 190px;
        min-height: 48px;
        padding: 0 18px;
    }

    .hero {
        background: #fff;
    }

    .hero-inner {
        display: flex;
        flex-direction: column;
        width: 100%;
        min-height: auto;
        padding: 0 0 28px;
    }

    .hero-media {
        order: 1;
        position: relative;
        width: 100%;
        min-height: 355px;
        overflow: hidden;
        background:
            radial-gradient(circle at 58% 18%, rgba(85, 181, 230, 0.12), transparent 36%),
            linear-gradient(180deg, rgba(247, 250, 252, 0.38) 0%, rgba(247, 250, 252, 0.48) 52%, rgba(247, 250, 252, 0.8) 100%),
            var(--hero-bg) center top / cover no-repeat;
    }

    .hero-media::before {
        display: none;
        content: none;
    }

    .hero-media img {
        right: 50%;
        bottom: 4px;
        z-index: 1;
        width: min(414px, 106vw);
        transform: translateX(50%);
        filter: drop-shadow(0 20px 24px rgba(17, 24, 39, 0.16));
    }

    .hero-copy {
        order: 2;
        width: min(100% - 34px, 420px);
        margin: 0 auto;
        padding: 0 0 4px;
        text-align: center;
    }

    .hero-copy h1 {
        max-width: 335px;
        margin: 30px auto 30px;
        font-size: 19px;
        line-height: 1.08;
    }

    .hero-copy > p {
        width: 100%;
        max-width: 320px;
        margin-right: auto;
        margin-left: auto;
        font-size: 15px;
        line-height: 1.45;
        overflow-wrap: break-word;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions {
        align-items: center;
        justify-content: center;
        gap: 12px;
        margin-top: 24px;
    }

    .hero-note {
        padding-left: 0;
        margin-right: auto;
        margin-left: auto;
        text-align: center;
    }

    .hero-note::before {
        position: static;
        margin: 0 auto 10px;
    }

    .quick-grid,
    .service-grid,
    .why-card-grid,
    .process-grid,
    .business-grid,
    .mission-grid,
    .partners-grid,
    .contact-cards,
    .form-row,
    .form-grid,
    .repeat-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        gap: 14px;
    }

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

    .final-cta {
        padding: 28px 22px;
        text-align: center;
    }

    .final-cta h2 {
        font-size: 24px;
    }

    .final-cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .final-cta-actions .button {
        width: 190px;
    }

    .footer-grid {
        gap: 28px;
        text-align: center;
    }

    .footer-brand img,
    .footer-brand p {
        margin-right: auto;
        margin-left: auto;
    }

    .site-footer .social-links {
        justify-content: center;
    }

    .footer-grid > section:nth-of-type(2),
    .footer-grid > section:nth-of-type(3) {
        display: none;
    }

    .map-section {
        height: 300px;
    }

    .contact-wrap {
        width: min(100% - 28px, var(--max));
        margin-top: 34px;
    }

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

    .contact-form button {
        float: none;
        width: 100%;
    }

    .contact-cards {
        gap: 40px;
        margin: 70px auto;
    }

    .quick-grid article {
        justify-content: flex-start;
        padding: 12px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-card,
    .service-icon,
    .why-card,
    .quick-grid article,
    .contact-cards article,
    .contact-cards span,
    .results-box img,
    .menu-toggle span {
        transition-duration: 1ms !important;
    }
}
