:root {
    --navy: #212265;
    --navy-2: #212265;
    --yellow: #fdf413;
    --yellow-2: #fdf413;
    --ink: #111827;
    --muted: #637083;
    --line: #e8edf3;
    --paper: #ffffff;
    --soft: #f4f7fa;
    --shadow: 0 24px 70px rgba(33, 34, 101, 0.18);
}

* {
    box-sizing: border-box;
    min-width: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding-top: calc(var(--header-height, 86px) + var(--cms-edit-bar-height, 0px));
    color: var(--ink);
    background: var(--paper);
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    line-height: 1.55;
    width: 100%;
    min-width: 0;
    word-break: normal;
    overflow-wrap: normal;
    -webkit-hyphens: manual;
    hyphens: manual;
    hyphenate-character: "-";
}

body.nav-open {
    overflow: hidden;
}

h1,
h2,
h3,
p,
li,
dt,
dd,
a,
span,
strong,
small {
    word-break: normal;
    overflow-wrap: normal;
    -webkit-hyphens: manual;
    hyphens: manual;
    hyphenate-character: "-";
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: fixed;
    top: var(--cms-edit-bar-height, 0px);
    left: 0;
    right: 0;
    z-index: 80;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
    width: 100%;
    min-height: 86px;
    padding: 0.7rem clamp(1rem, 4vw, 4.5rem);
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(232, 237, 243, 0.85);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 0;
    max-width: 100%;
    white-space: nowrap;
}

.brand-mark {
    display: block;
    width: 64px;
    height: 64px;
    flex: 0 0 auto;
    filter: drop-shadow(0 10px 18px rgba(33, 34, 101, 0.14));
}

.brand-logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-text {
    display: grid;
    gap: 0.1rem;
    min-width: 0;
}

.brand-text strong {
    color: var(--navy);
    font-size: 1rem;
    line-height: 1;
    text-transform: none;
    letter-spacing: 0;
    white-space: nowrap;
    -webkit-hyphens: none;
    hyphens: none;
}

.brand-text small {
    color: var(--muted);
    font-weight: 700;
    font-size: 0.72rem;
    white-space: nowrap;
    -webkit-hyphens: none;
    hyphens: none;
}

.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(1rem, 2.7vw, 2.6rem);
    white-space: nowrap;
}

.main-nav a {
    position: relative;
    color: #101827;
    font-size: 0.9rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
    padding: 0.45rem 0;
    white-space: nowrap;
    -webkit-hyphens: none;
    hyphens: none;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.18rem;
    height: 4px;
    background: var(--yellow);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
}

.header-cta,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    min-height: 52px;
    padding: 0.9rem 1.55rem;
    border: 0;
    color: var(--navy-2);
    background: var(--yellow);
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0;
    text-align: center;
    white-space: nowrap;
    -webkit-hyphens: none;
    hyphens: none;
    box-shadow: 0 12px 26px rgba(253, 244, 19, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-cta:hover,
.btn:hover {
    background: var(--yellow-2);
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(253, 244, 19, 0.4);
}

.nav-toggle,
.mobile-nav-cta {
    display: none;
}

.fito-section {
    position: relative;
    scroll-margin-top: calc(var(--header-height, 86px) + var(--cms-edit-bar-height, 0px) + 24px);
}

.section-shell {
    width: 100%;
    max-width: 1180px;
    padding: 0 1rem;
    margin: 0 auto;
}

.hero-section {
    display: flex;
    flex-direction: column;
    height: calc(100svh - var(--header-height, 86px));
    min-height: calc(100svh - var(--header-height, 86px));
    overflow: hidden;
    background: linear-gradient(90deg, #f9fbfd 0%, #ffffff 45%, #f4f7fa 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.28;
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.85) 42%, rgba(255, 255, 255, 0.35) 100%),
        linear-gradient(135deg, transparent 0 48%, rgba(33, 34, 101, 0.1) 48% 49%, transparent 49% 100%);
}

.hero-bg .editable-image,
.hero-bg-img {
    width: 100%;
    height: 100%;
}

.hero-bg-img {
    object-fit: cover;
}

.hero-mobile-bg {
    display: none;
}

.hero-mobile-bg .editable-image,
.hero-mobile-bg-img {
    width: 100%;
    height: 100%;
}

.hero-mobile-bg-img {
    object-fit: cover;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.9fr);
    align-items: center;
    gap: clamp(1.25rem, 4vw, 4rem);
    width: 100%;
    max-width: 1280px;
    flex: 1 1 auto;
    min-height: 0;
    margin: 0 auto;
    padding: clamp(0.75rem, 1.7vw, 1.25rem) 1rem;
}

.hero-copy {
    max-width: 540px;
}

.eyebrow {
    margin: 0 0 0.75rem;
    color: var(--navy);
    font-size: 0.82rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0;
}

.hero-copy .eyebrow {
    text-transform: none;
}

.hero-copy h1,
.section-heading h2,
.section-copy h2,
.contact-panel h2 {
    margin: 0;
    color: var(--navy);
    font-size: 4.45rem;
    line-height: 0.98;
    font-weight: 950;
    text-transform: uppercase;
}

.hero-copy h1 {
    font-size: 3.25rem;
    -webkit-hyphens: none;
    hyphens: none;
}

@media (min-width: 721px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(220px, 260px);
    }

    .hero-copy {
        max-width: 940px;
    }

    .hero-copy h1 {
        font-size: 1.85rem;
        line-height: 1.08;
        white-space: nowrap;
    }

    .section-heading h2,
    .section-copy h2,
    .contact-panel h2 {
        -webkit-hyphens: none;
        hyphens: none;
    }

    .hero-logo-img {
        width: 230px;
    }
}

@media (min-width: 1280px) {
    .hero-copy h1 {
        font-size: 1.95rem;
    }
}

@media (min-width: 721px) and (max-width: 1080px) {
    .hero-copy h1 {
        font-size: 1.35rem;
    }
}

.hero-copy h2 {
    margin: 0.85rem 0 0;
    color: var(--navy);
    font-size: 1.55rem;
    line-height: 1.2;
}

.yellow-rule {
    display: block;
    width: 112px;
    height: 5px;
    margin: 1rem 0 1.25rem;
    background: var(--yellow);
}

.hero-text,
.contact-lead,
.rich-text {
    color: var(--navy);
    font-size: 1.05rem;
}

.hero-text {
    max-width: 520px;
    margin: 0 0 1.35rem;
}

.hero-logo-card {
    display: grid;
    place-items: center;
    min-height: 260px;
}

.hero-logo-img {
    width: min(330px, 42vw);
    max-height: 300px;
    object-fit: contain;
    filter: drop-shadow(0 26px 34px rgba(33, 34, 101, 0.22));
}

.trust-bar {
    position: relative;
    z-index: 3;
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.trust-item {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 1.1rem;
    align-items: center;
    min-height: 96px;
    padding: 0.85rem clamp(1rem, 2.2vw, 1.65rem);
    background: var(--navy);
}

.trust-item h3 {
    margin: 0 0 0.25rem;
    color: #fff;
    font-size: 0.98rem;
    text-transform: uppercase;
}

.trust-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.88rem;
}

.trust-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    color: var(--yellow);
}

.trust-icon svg {
    width: 52px;
    height: 52px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.75;
}

.trust-icon img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.intro-section,
.services-section,
.references-section,
.partners-section {
    padding: clamp(4.5rem, 9vw, 7rem) 0;
}

.intro-grid,
.process-grid,
.partners-grid,
.contact-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}

.intro-media {
    position: relative;
}

.intro-media::before {
    content: "";
    position: absolute;
    inset: 1.1rem -1.1rem -1.1rem 1.1rem;
    border: 5px solid var(--yellow);
}

.section-photo,
.service-img,
.reference-img {
    width: 100%;
    object-fit: cover;
}

.section-photo {
    position: relative;
    height: min(620px, 72vw);
    box-shadow: var(--shadow);
}

.section-copy h2,
.section-heading h2,
.contact-panel h2 {
    font-size: 3.1rem;
}

.rich-text p {
    margin: 0 0 1rem;
}

.services-section {
    background: var(--soft);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 2.5rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.1rem;
}

.service-card {
    overflow: hidden;
    background: #fff;
    box-shadow: 0 16px 42px rgba(33, 34, 101, 0.1);
}

.service-card .editable-image {
    height: 230px;
}

.service-img {
    height: 100%;
}

.service-body {
    padding: 1.4rem;
}

.service-number {
    color: var(--yellow-2);
    font-size: 0.82rem;
    font-weight: 950;
}

.service-card h3 {
    margin: 0.35rem 0 0.6rem;
    color: var(--navy);
    font-size: 1.15rem;
    text-transform: uppercase;
}

.service-card p {
    margin: 0;
    color: var(--muted);
}

.process-section {
    padding: clamp(4.5rem, 9vw, 7rem) 0;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(253, 244, 19, 0.08) 0 25%, transparent 25% 100%),
        var(--navy);
}

.process-section h2,
.process-section .eyebrow {
    color: #fff;
}

.process-list {
    display: grid;
    gap: 1rem;
}

.process-item {
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.process-item strong {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    color: var(--navy);
    background: var(--yellow);
    font-size: 1rem;
}

.process-item h3,
.process-item p {
    margin: 0;
}

.process-item h3 {
    color: #fff;
    text-transform: uppercase;
}

.process-item p {
    color: rgba(255, 255, 255, 0.78);
}

.compare-section {
    padding: clamp(4.5rem, 9vw, 7rem) 0;
    background:
        linear-gradient(135deg, transparent 0 48%, rgba(253, 244, 19, 0.2) 48% 49%, transparent 49% 100%),
        #fff;
}

.compare-layout {
    max-width: 1240px;
}

.compare-heading {
    max-width: 900px;
    margin: 0 auto clamp(2rem, 5vw, 3.8rem);
    text-align: center;
}

.compare-heading .yellow-rule {
    margin-left: auto;
    margin-right: auto;
}

.compare-text {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.ba-slider {
    width: 100%;
}

.ba-stage {
    position: relative;
    width: 100%;
    max-width: 760px;
    aspect-ratio: 3 / 4;
    min-height: 520px;
    max-height: 820px;
    margin: 0 auto;
    overflow: hidden;
    background: var(--navy);
    border-radius: 8px;
    box-shadow: var(--shadow);
    cursor: ew-resize;
    user-select: none;
}

.ba-stage > .editable-image,
.ba-after,
.ba-after .editable-image {
    position: absolute;
    inset: 0;
}

.ba-stage .editable-image,
.ba-img {
    width: 100%;
    height: 100%;
}

.ba-img {
    object-fit: cover;
}

.ba-after {
    z-index: 2;
    clip-path: inset(0 calc(100% - var(--position)) 0 0);
}

.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--position);
    z-index: 4;
    width: 4px;
    background: #fff;
    transform: translateX(-50%);
    box-shadow: 0 0 0 1px rgba(33, 34, 101, 0.18), 0 0 24px rgba(0, 0, 0, 0.22);
}

.ba-handle span {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    color: var(--navy);
    background: var(--yellow);
    border: 4px solid #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 14px 30px rgba(33, 34, 101, 0.32);
}

.ba-handle span::before {
    content: "‹ ›";
    font-size: 1.35rem;
    font-weight: 950;
    letter-spacing: 0;
}

.ba-range {
    position: absolute;
    inset: 0;
    z-index: 8;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: ew-resize;
    pointer-events: none;
}

.ba-handle span::before {
    content: "< >";
}

.ba-point {
    position: absolute;
    left: var(--x);
    top: var(--y);
    z-index: 1;
    max-width: min(230px, 42vw);
    padding: 0.65rem 0.9rem;
    color: #fff;
    background: rgba(33, 34, 101, 0.94);
    border: 1px solid rgba(253, 244, 19, 0.25);
    border-radius: 999px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
    font-size: 0.86rem;
    font-weight: 950;
    line-height: 1.15;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.reference-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.reference-card {
    position: relative;
    min-height: 300px;
    margin: 0;
    overflow: hidden;
    background: var(--navy);
}

.reference-card .editable-image,
.reference-img {
    height: 100%;
}

.reference-img {
    transition: transform 0.35s ease;
}

.reference-card:hover .reference-img {
    transform: scale(1.05);
}

.reference-card figcaption {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    padding: 0.55rem 0.8rem;
    color: var(--navy);
    background: var(--yellow);
    font-weight: 950;
    text-transform: uppercase;
}

.partners-section {
    background: var(--soft);
}

.partners-grid {
    align-items: start;
}

.partners-text {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.partners-showcase {
    display: grid;
    gap: clamp(1.4rem, 3vw, 2rem);
}

.partner-panel {
    display: grid;
    gap: 1rem;
    padding-left: 1.2rem;
    border-left: 5px solid var(--yellow);
}

.partner-panel h3 {
    margin: 0 0 1rem;
    color: var(--navy);
    text-transform: uppercase;
}

.product-logo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.product-card,
.partner-name-card {
    background: #fff;
    border: 1px solid rgba(232, 237, 243, 0.95);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(33, 34, 101, 0.08);
}

.product-card {
    display: grid;
    align-content: center;
    gap: 1.5rem;
    min-height: 196px;
    padding: 1rem;
    text-align: center;
}

.product-card .editable-image {
    display: grid;
    place-items: center;
    width: 100%;
    height: 74px;
}

.product-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-card span {
    color: var(--navy);
    font-size: 0.92rem;
    font-weight: 950;
    line-height: 1.15;
}

.partner-name-grid {
    display: grid;
    gap: 0.75rem;
}

.partner-name-card {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-height: 68px;
    padding: 0.85rem 1rem;
}

.partner-name-card span {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    color: var(--navy);
    background: var(--yellow);
    border-radius: 8px;
    font-weight: 950;
}

.partner-name-card strong {
    color: var(--navy);
    font-size: 0.98rem;
    line-height: 1.25;
}

.contact-section {
    padding: clamp(4.5rem, 9vw, 7rem) 0;
    background: linear-gradient(90deg, var(--navy) 0%, var(--navy-2) 100%);
}

.contact-panel {
    color: #fff;
}

.contact-panel h2,
.contact-panel .eyebrow {
    color: #fff;
}

.contact-lead {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.82);
}

.contact-card {
    padding: clamp(1.5rem, 4vw, 2.4rem);
    background: #fff;
    color: var(--ink);
    box-shadow: var(--shadow);
}

.contact-card dl {
    display: grid;
    gap: 1rem;
    margin: 0;
}

.contact-card div {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

.contact-card div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.contact-card dt {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0;
}

.contact-card dd {
    margin: 0.25rem 0 0;
    color: var(--navy);
    font-size: 1.1rem;
    font-weight: 900;
}

.site-footer {
    padding: 2rem clamp(1rem, 4vw, 4rem);
    color: #fff;
    background: var(--navy);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: min(1180px, 100%);
    margin: 0 auto;
}

.footer-brand .brand-text strong,
.footer-brand .brand-text small {
    color: #fff;
}

.site-footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-links a {
    color: var(--yellow);
    font-weight: 900;
}

.legal-section {
    min-height: calc(100svh - var(--header-height, 86px));
    padding: clamp(4.5rem, 9vw, 7rem) 0;
    background:
        linear-gradient(135deg, transparent 0 48%, rgba(253, 244, 19, 0.14) 48% 49%, transparent 49% 100%),
        var(--soft);
}

.legal-shell {
    max-width: 920px;
}

.legal-shell h1 {
    margin: 0;
    color: var(--navy);
    font-size: 4rem;
    line-height: 1;
    text-transform: uppercase;
}

.legal-content {
    padding: clamp(1.5rem, 4vw, 2.5rem);
    background: #fff;
    box-shadow: var(--shadow);
}

.legal-content h3 {
    margin: 1.6rem 0 0.45rem;
    color: var(--navy);
    text-transform: uppercase;
}

.legal-content h3:first-child {
    margin-top: 0;
}

.legal-content p {
    margin: 0 0 1rem;
    color: var(--muted);
}

.editable-image {
    position: relative;
}

.not-found {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 2rem;
    text-align: center;
    background: var(--soft);
}

.not-found h1 {
    margin: 2rem 0 0.5rem;
    color: var(--navy);
    font-size: 3.5rem;
}

.not-found p {
    color: var(--muted);
}

@media (max-width: 1080px) {
    .site-header {
        grid-template-columns: minmax(0, 1fr) auto;
        justify-content: space-between;
        gap: clamp(0.75rem, 3vw, 2rem);
        z-index: 80;
    }

    .nav-toggle {
        position: relative;
        z-index: 72;
        display: block;
        width: 48px;
        height: 48px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #fff;
        box-shadow: 0 10px 24px rgba(33, 34, 101, 0.1);
        cursor: pointer;
        transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    }

    .nav-toggle:hover,
    .nav-toggle:focus-visible {
        border-color: rgba(33, 34, 101, 0.24);
        box-shadow: 0 14px 30px rgba(33, 34, 101, 0.14);
        outline: none;
    }

    .nav-toggle span {
        position: absolute;
        left: 13px;
        right: 13px;
        height: 2px;
        border-radius: 999px;
        background: var(--navy);
        transform-origin: center;
        transition: top 0.2s ease, opacity 0.15s ease, transform 0.2s ease;
    }

    .nav-toggle span:nth-child(1) {
        top: 16px;
    }

    .nav-toggle span:nth-child(2) {
        top: 23px;
    }

    .nav-toggle span:nth-child(3) {
        top: 30px;
    }

    body.nav-open .nav-toggle {
        background: var(--navy);
        border-color: var(--navy);
        box-shadow: 0 16px 36px rgba(33, 34, 101, 0.22);
    }

    body.nav-open .nav-toggle span {
        background: #fff;
    }

    body.nav-open .nav-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    body.nav-open .nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    body.nav-open .nav-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .main-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        z-index: 60;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        width: auto;
        max-width: 100%;
        height: calc(100svh - var(--header-height, 86px) - var(--cms-edit-bar-height, 0px));
        padding: clamp(1.1rem, 4vw, 2rem);
        overflow-y: auto;
        background: rgba(255, 255, 255, 0.98);
        border-top: 1px solid var(--line);
        box-shadow: inset 0 18px 36px rgba(33, 34, 101, 0.08);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
        visibility: hidden;
    }

    body.nav-open .main-nav {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        visibility: visible;
    }

    .main-nav a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 58px;
        padding: 0.95rem 0.2rem;
        color: var(--navy);
        border-bottom: 1px solid var(--line);
        font-size: 1.15rem;
        line-height: 1.15;
    }

    .main-nav a::after {
        display: none;
    }

    .main-nav a:hover,
    .main-nav a:focus-visible,
    .main-nav a.active {
        color: var(--navy-2);
        background: linear-gradient(90deg, rgba(253, 244, 19, 0.24), transparent 78%);
        outline: none;
    }

    .mobile-nav-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 54px;
        margin-top: 1.25rem;
        padding: 0.9rem 1rem;
        color: var(--navy-2);
        background: var(--yellow);
        border-bottom: 0;
        font-size: 0.92rem;
        font-weight: 950;
        text-transform: uppercase;
        box-shadow: 0 12px 26px rgba(253, 244, 19, 0.28);
    }

    .mobile-nav-cta:hover,
    .mobile-nav-cta:focus-visible {
        color: var(--navy-2);
        background: var(--yellow-2);
    }

    .header-cta {
        display: none;
    }

    .hero-grid,
    .intro-grid,
    .process-grid,
    .partners-grid,
    .contact-panel {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        min-height: auto;
    }

    .hero-logo-card {
        min-height: 300px;
    }

    .intro-media::before {
        display: none;
    }

    .trust-bar,
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trust-bar .trust-item:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .hero-section {
        height: auto;
        min-height: calc(100svh - 78px);
        color: #fff;
        background: var(--navy);
    }

    .hero-bg {
        display: none;
    }

    .hero-mobile-bg {
        position: absolute;
        inset: 0;
        z-index: 0;
        display: block;
    }

    .hero-mobile-bg::after {
        content: "";
        position: absolute;
        inset: 0;
        background:
            linear-gradient(180deg, rgba(33, 34, 101, 0.72) 0%, rgba(33, 34, 101, 0.45) 42%, rgba(33, 34, 101, 0.92) 100%),
            linear-gradient(90deg, rgba(17, 24, 39, 0.56), rgba(17, 24, 39, 0.08));
    }

    .hero-mobile-bg-img {
        object-position: center bottom;
    }

    .site-header {
        min-height: 78px;
        padding: 0.8rem 1rem;
    }

    .brand-mark {
        width: 58px;
        height: 58px;
    }

    .brand-text small {
        display: none;
    }

    .brand-text strong {
        max-width: min(9rem, 46vw);
        line-height: 1.05;
        white-space: normal;
    }

    .hero-copy h1,
    .section-heading h2,
    .section-copy h2,
    .contact-panel h2 {
        line-height: 1.05;
    }

    .hero-copy h1 {
        color: #fff;
        font-size: 1.75rem;
    }

    .hero-copy h2 {
        color: #fff;
        font-size: 1.18rem;
    }

    .hero-copy .eyebrow,
    .hero-text {
        color: rgba(255, 255, 255, 0.9);
    }

    .section-heading h2,
    .section-copy h2,
    .contact-panel h2 {
        font-size: 2rem;
    }

    .hero-grid {
        position: relative;
        z-index: 2;
        align-items: center;
        min-height: calc(100svh - var(--header-height, 78px));
        padding: clamp(1.5rem, 6vw, 2.4rem) 1rem clamp(1.5rem, 6vw, 2.4rem);
    }

    .hero-copy {
        align-self: center;
        transform: translateY(8%);
    }

    .hero-logo-card {
        display: none;
    }

    .trust-bar,
    .service-grid,
    .reference-grid {
        grid-template-columns: 1fr;
    }

    .trust-item {
        min-height: auto;
    }

    .section-photo {
        height: 420px;
    }

    .reference-card {
        min-height: 260px;
    }

    .ba-stage {
        aspect-ratio: 3 / 4;
        min-height: 0;
        max-height: none;
    }

    .ba-point {
        display: none;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-links {
        justify-content: flex-start;
    }

    .ba-point {
        font-size: 0.74rem;
        padding: 0.5rem 0.65rem;
    }
}

@media (max-width: 380px) {
    .site-header {
        gap: 0.75rem;
        padding: 0.7rem 0.75rem;
    }

    .brand {
        gap: 0.55rem;
        min-width: 0;
    }

    .brand-mark {
        width: 48px;
        height: 48px;
    }

    .brand-text {
        display: none;
    }

    .nav-toggle {
        width: 44px;
        height: 44px;
        flex: 0 0 auto;
    }

    .nav-toggle span {
        left: 11px;
        right: 11px;
    }

    .nav-toggle span:nth-child(1) {
        top: 14px;
    }

    .nav-toggle span:nth-child(2) {
        top: 21px;
    }

    .nav-toggle span:nth-child(3) {
        top: 28px;
    }
}

@media (max-width: 340px) {
    .intro-section,
    .services-section,
    .references-section,
    .partners-section,
    .process-section,
    .compare-section,
    .contact-section,
    .legal-section {
        padding-top: 3.25rem;
        padding-bottom: 3.25rem;
    }

    .section-shell {
        padding-right: 0.625rem;
        padding-left: 0.625rem;
    }

    .hero-grid {
        padding-right: 0.625rem;
        padding-left: 0.625rem;
    }

    .trust-bar {
        width: 100%;
        max-width: 100%;
    }

    .trust-item {
        grid-template-columns: 1fr;
        gap: 0.55rem;
        padding: 0.85rem 0.75rem;
    }

    .trust-icon {
        width: 38px;
        height: 38px;
    }

    .trust-icon svg,
    .trust-icon img {
        width: 36px;
        height: 36px;
    }

    .trust-item h3,
    .trust-item p {
        overflow-wrap: normal;
    }

    .section-photo {
        height: 360px;
    }

    .process-item {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1rem 0.75rem;
    }

    .process-item strong {
        width: 42px;
        height: 42px;
    }

    .product-card,
    .partner-name-card,
    .contact-card,
    .legal-content,
    .service-body {
        padding-right: 0.9rem;
        padding-left: 0.9rem;
    }

    .reference-card figcaption {
        right: 0.75rem;
        left: 0.75rem;
        text-align: center;
    }
}

/* Legal documents and CMS controls share the site's existing visual language. */
.legal-shell h1 { font-size: clamp(2.1rem, 8vw, 4rem); overflow-wrap: anywhere; }
.legal-content { border-top: 4px solid var(--yellow); line-height: 1.8; overflow-wrap: anywhere; }
.legal-content h2 { margin: 2.3rem 0 .7rem; color: var(--navy); font-size: clamp(1.15rem, 2.4vw, 1.45rem); line-height: 1.35; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content a { color: var(--navy); text-decoration: underline; text-underline-offset: .2em; }
.legal-content li { margin: .45rem 0; color: var(--muted); }
.legal-placeholder { background: #fff8ce; color: #67520a; padding: .1em .3em; box-decoration-break: clone; }
.legal-back { display: inline-flex; margin-bottom: 1.8rem; color: var(--navy); font-weight: 700; text-decoration: none; }
.legal-navigation { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2rem; }
.legal-navigation a { color: var(--navy); font-weight: 700; }
.footer-contact p { margin: .25rem 0; }
.site-header.has-page-background { background: var(--soft); box-shadow: 0 8px 24px rgba(33, 34, 101, .12); }
.footer-contact a { color: inherit; }
.footer-links { flex-wrap: wrap; }
.consent-settings-link { border: 0; padding: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-align: left; }
.footer-page-text { padding-bottom: 2rem; }
body.cms-edit-mode { padding-top: calc(var(--header-height, 86px) + var(--cms-edit-bar-height, 40px)); }
#cms-edit-bar { position: fixed; inset: 0 0 auto; z-index: 10001; display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; padding: .6rem 1rem; background: #171842; color: #fff; font: 14px/1.4 system-ui, sans-serif; }
#cms-edit-bar button, #cms-edit-bar a { padding: .45rem .7rem; border: 1px solid #656697; border-radius: 4px; background: #292a65; color: #fff; cursor: pointer; font: inherit; text-decoration: none; }
#cms-edit-bar .hidden { display: none; }
#cms-edit-bar #cms-save-btn { background: var(--yellow); color: var(--navy); }
@media (max-width: 600px) { .footer-inner { align-items: flex-start; } #cms-edit-bar strong { display: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
