:root {
    --bg: #f4f7fb;
    --bg-soft: #dce7f2;
    --surface: #ffffff;
    --surface-muted: #edf2f9;
    --surface-dark: #071325;
    --text: #0e1a2c;
    --text-soft: #4f6078;
    --accent: #d62839;
    --accent-dark: #a71c2b;
    --line: #d8e0ec;
    --shadow: 0 18px 42px rgba(10, 20, 40, 0.08);
    --container: 1200px;
    --radius: 16px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Manrope', 'Segoe UI', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 12% 10%, rgba(14, 167, 159, 0.12), transparent 34%),
        radial-gradient(circle at 88% 86%, rgba(0, 118, 222, 0.14), transparent 34%),
        linear-gradient(145deg, var(--bg) 0%, #f8fbff 44%, var(--bg-soft) 100%);
    line-height: 1.65;
    position: relative;
    overflow-x: hidden;
    isolation: isolate;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(14, 34, 53, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 34, 53, 0.025) 1px, transparent 1px);
    background-size: 34px 34px;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.2));
    z-index: -1;
}

[hidden] {
    display: none !important;
}

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

.ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.ico svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

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

h1,
h2,
h3,
h4 {
    margin: 0;
    font-family: 'Sora', 'Segoe UI', sans-serif;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

p {
    margin: 0;
}

main {
    overflow: clip;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 16px;
    background: #000;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    z-index: 2000;
}

.skip-link:focus {
    top: 12px;
}

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

.container-fluid {
    width: 100%;
    margin: 0;
    padding-inline: clamp(16px, 2.6vw, 44px);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #7f1522;
    background: #ffe6ea;
    border: 1px solid #ffcad2;
}

.lead {
    margin-top: 20px;
    font-size: 19px;
    color: var(--text-soft);
    max-width: 780px;
}

.hero-tagline {
    margin-top: 14px;
    color: #0d4a95;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 13px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 13px 20px;
    font-size: 15px;
    font-weight: 700;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

.btn .ico {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-dark);
}

.btn-outline {
    border-color: #b9c4d7;
    color: var(--text);
    background: #fff;
}

.btn-outline:hover {
    border-color: #94a4bd;
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
    background: transparent;
}

.btn-outline-light:hover {
    border-color: rgba(255, 255, 255, 0.65);
}

.text-link {
    display: inline-flex;
    margin-top: 18px;
    color: #0d3f86;
    font-weight: 700;
}

.text-link:hover {
    text-decoration: underline;
}

.cta-row {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.section {
    padding: 86px 0;
}

.section h2 {
    font-size: clamp(31px, 4vw, 44px);
}

.section-intro {
    margin-top: 18px;
    max-width: 850px;
    color: var(--text-soft);
    font-size: 18px;
}

.section-grid {
    display: grid;
    gap: 24px;
}

.section-grid.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
}

.section-grid.single-col {
    grid-template-columns: minmax(0, 840px);
    justify-content: center;
}

.section-grid.align-start {
    align-items: start;
}

.card-grid {
    margin-top: 28px;
    display: grid;
    gap: 20px;
}

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

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}

.card h3 {
    font-size: 25px;
    margin-bottom: 12px;
}

.card h2 {
    font-size: 30px;
    margin-bottom: 12px;
}

.card p + p {
    margin-top: 12px;
}

.card hr {
    border: 0;
    border-top: 1px solid #d9e2ef;
    margin: 20px 0;
}

.info-card a {
    color: #0d3f86;
    font-weight: 700;
}

.emphasis-card {
    background: linear-gradient(165deg, #0c1f3a 0%, #0a162a 100%);
    color: #d7e5ff;
    border-color: #263551;
}

.emphasis-card h3,
.emphasis-card h2 {
    color: #fff;
}

.emphasis-card .btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
    background: transparent;
}

.surface {
    background: var(--surface-muted);
}

.dark-surface {
    background: radial-gradient(circle at top right, #152c52, #081325 60%);
    color: #d6e1f7;
}

.dark-surface .card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: none;
}

.dark-surface h2,
.dark-surface h3 {
    color: #fff;
}

.hero {
    padding: 84px 0 72px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    align-items: center;
}

.hero h1 {
    margin-top: 18px;
    font-size: clamp(36px, 5vw, 66px);
    max-width: 760px;
}

.hero-highlights {
    margin: 24px 0 0;
    padding-left: 18px;
    color: var(--text-soft);
    display: grid;
    gap: 9px;
}

.hero-panel {
    background: linear-gradient(160deg, #091931 0%, #061122 100%);
    color: #d8e4ff;
    border: 1px solid #1b335b;
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 26px 55px rgba(6, 16, 32, 0.35);
}

.hero-panel h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #fff;
}

.hero-panel div + div {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-panel h3 {
    font-size: 19px;
    color: #fff;
}

.trust-band {
    padding: 24px 0;
    border-top: 1px solid #dde5f1;
    border-bottom: 1px solid #dde5f1;
    background: #fff;
}

.trust-band-inner {
    display: grid;
    gap: 18px;
}

.trust-band p {
    font-weight: 700;
    color: #20334f;
}

.trust-band ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.trust-band li {
    background: #f3f6fc;
    border: 1px solid #d8e2f1;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: #243a5b;
}

.page-hero {
    padding: 78px 0 44px;
}

.page-hero h1 {
    margin-top: 16px;
    font-size: clamp(34px, 4.8vw, 60px);
    max-width: 920px;
}

.simple-list,
.check-list {
    margin: 12px 0 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
}

.numbered-list {
    list-style: decimal;
    padding-left: 22px;
}

.check-list {
    list-style: none;
    padding-left: 0;
}

.check-list li {
    position: relative;
    padding-left: 28px;
}

.check-list li::before {
    content: '';
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    position: absolute;
    left: 0;
    top: 9px;
    box-shadow: 0 0 0 4px rgba(214, 40, 57, 0.12);
}

.check-list.plain li::before {
    top: 8px;
}

.service-grid .card {
    min-height: 220px;
}

.service-featured-note {
    margin-top: 18px;
    border: 1px solid #bde7cf;
    background: #ebf9f0;
    color: #1f6a3a;
    padding: 12px 14px;
    border-radius: 12px;
}

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

.certification-card {
    border: 1px solid #dbe4f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(12, 28, 52, 0.08);
    padding: 14px;
}

.dark-surface .certification-card {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
}

.certification-logo-wrap {
    background: #f7fbff;
    border: 1px solid #e0e9f6;
    border-radius: 10px;
    min-height: 112px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.dark-surface .certification-logo-wrap {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.55);
}

.certification-logo-wrap img {
    width: auto;
    max-width: 100%;
    max-height: 82px;
    object-fit: contain;
}

.certification-title {
    margin-top: 11px;
    font-family: 'Manrope', 'Segoe UI', sans-serif;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
    color: #1a2f4e;
}

.dark-surface .certification-title {
    color: #dbe7ff;
}

.alert {
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

.alert-success {
    border: 1px solid #a8e6bc;
    background: #eafaf0;
    color: #136b34;
}

.alert-error {
    border: 1px solid #f0a9b2;
    background: #fff0f3;
    color: #8f1d2a;
}

.alert ul {
    margin: 8px 0 0;
    padding-left: 18px;
}

.contact-form {
    margin-top: 8px;
    display: grid;
    gap: 16px;
}

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

.contact-form label {
    display: block;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid #bdcbe0;
    border-radius: 10px;
    padding: 12px 13px;
    font: inherit;
    color: var(--text);
    background: #fff;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 4px rgba(214, 40, 57, 0.14);
}

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

.topbar {
    background: #081021;
    color: #d0def6;
    font-size: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.topbar a:hover {
    color: #fff;
}

.site-header-wrap {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.site-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #dce3ee;
}

.header-row {
    min-height: 86px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
}

.header-login {
    justify-self: end;
    position: relative;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 46px;
    height: 46px;
    border-radius: 12px;
}

.brand-text {
    display: grid;
    line-height: 1.2;
}

.brand-text strong {
    font-family: 'Sora', 'Segoe UI', sans-serif;
    font-size: 20px;
}

.brand-text small {
    color: var(--text-soft);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.main-nav {
    justify-self: center;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-item {
    position: relative;
}

.nav-link {
    padding: 10px 11px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #1c2b43;
}

.nav-link:hover,
.nav-link.is-active,
.nav-item.is-open > .nav-link {
    background: #eef2f8;
}

.header-login .login-trigger {
    background: #08142a;
    color: #fff;
    border: 1px solid #08142a;
    padding-inline: 14px;
}

.header-login .login-trigger:hover,
.header-login.is-open .login-trigger {
    background: #0f2141;
    border-color: #0f2141;
}

.nav-caret {
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -3px;
}

.portal-btn {
    justify-self: end;
    background: #08142a;
    color: #fff;
    padding: 12px 16px;
    border-radius: 11px;
    font-weight: 700;
    font-size: 14px;
    border: 1px solid #08142a;
}

.portal-btn:hover {
    background: #0f2141;
    border-color: #0f2141;
}

.mega-menu {
    position: absolute;
    left: 0;
    top: calc(100% + 14px);
    width: min(960px, calc(100vw - 64px));
    background: #fff;
    border: 1px solid #d5deeb;
    border-radius: 18px;
    box-shadow: 0 28px 64px rgba(10, 22, 44, 0.18);
    display: none;
    overflow: hidden;
}

.mega-menu.mega-menu-sm {
    width: min(760px, calc(100vw - 64px));
}

.has-mega[data-mega='about'] .mega-menu {
    left: auto;
    right: 0;
}

.mega-feature {
    background: linear-gradient(164deg, #0a1a35 0%, #091527 100%);
    color: #deebff;
    padding: 26px;
}

.mega-feature h3 {
    margin-top: 8px;
    margin-bottom: 10px;
    color: #fff;
    font-size: 28px;
}

.mega-feature p {
    color: #c8daf8;
    margin-bottom: 16px;
}

.mega-label {
    margin: 0;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-size: 11px;
    font-weight: 800;
    color: #f7a9b3;
}

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

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

.mega-group {
    padding: 24px;
    border-left: 1px solid #e3e9f3;
}

.mega-group h4 {
    margin-bottom: 12px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #576b89;
}

.mega-group a {
    display: block;
    padding: 11px 10px;
    border-radius: 10px;
}

.mega-group a + a {
    margin-top: 6px;
}

.mega-group a:hover {
    background: #f3f6fb;
}

.mega-group strong {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0f213d;
}

.mega-group span {
    display: block;
    font-size: 13px;
    color: #617492;
    margin-top: 3px;
}

.mega-menu-login {
    left: auto;
    right: 0;
    width: min(460px, calc(100vw - 40px));
}

.mega-feature-login {
    padding: 22px;
}

.mega-columns.one-col {
    grid-template-columns: 1fr;
}

.mega-group-login {
    border-left: 0;
    padding: 18px;
}

.mega-group-login a {
    padding: 12px;
}

.mobile-toggle {
    display: none;
    border: 1px solid #c8d3e5;
    background: #fff;
    border-radius: 10px;
    width: 44px;
    height: 44px;
    padding: 10px;
    justify-content: center;
    align-content: center;
    gap: 5px;
    cursor: pointer;
}

.mobile-toggle span {
    height: 2px;
    border-radius: 2px;
    background: #1a2b46;
    display: block;
}

.mobile-nav {
    border-top: 1px solid #dce5f2;
    background: #fff;
    padding: 14px 24px 22px;
}

.mobile-link,
.mobile-subtoggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    font-weight: 700;
    color: #1c2b43;
    border: 0;
    background: transparent;
    font: inherit;
    border-bottom: 1px solid #e7edf6;
}

.mobile-link > span:first-child,
.mobile-subtoggle > span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mobile-link.is-active {
    color: #0d3f86;
}

.mobile-submenu {
    padding: 10px 0 4px;
    border-bottom: 1px solid #e7edf6;
}

.mobile-submenu a {
    display: block;
    padding: 8px 0 8px 10px;
    color: #3d526f;
}

.mobile-submenu a:hover {
    color: #0d3f86;
}

.portal-btn-mobile {
    margin-top: 16px;
    width: 100%;
    justify-content: center;
}

.footer-cta {
    padding: 74px 0;
    background: linear-gradient(140deg, #0c1f3c 0%, #091629 60%, #0f2746 100%);
    color: #d8e5ff;
}

.footer-cta-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
}

.footer-cta h2 {
    margin-top: 14px;
    font-size: clamp(28px, 4vw, 44px);
    color: #fff;
}

.footer-cta p {
    margin-top: 14px;
    max-width: 820px;
}

.footer-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.site-footer {
    background: #050e1c;
    color: #bccde8;
    padding: 62px 0 28px;
}

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

.footer-brand {
    margin-bottom: 14px;
}

.footer-copy {
    margin-top: 12px;
    max-width: 420px;
}

.footer-address {
    margin-top: 14px;
    font-style: normal;
    color: #9eb0cf;
}

.footer-line {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.footer-line + .footer-line {
    margin-top: 8px;
}

.site-footer h3 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    color: #f2f6ff;
}

.footer-subtitle {
    margin-top: 14px;
    margin-bottom: 4px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #cbd9f2;
}

.site-footer section a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #afc0dd;
    margin-top: 8px;
}

.site-footer section a:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 34px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 14px;
}

.footer-bottom a {
    color: #d2e2ff;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .topbar {
        display: none;
    }

    .main-nav {
        display: none;
    }

    .header-login {
        display: none;
    }

    .mobile-toggle {
        display: grid;
        justify-self: end;
    }

    .hero-grid,
    .section-grid.two-col,
    .card-grid.three-col,
    .certifications-gallery,
    .footer-grid,
    .footer-cta-inner,
    .form-row {
        grid-template-columns: 1fr;
    }

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

    .footer-cta-actions {
        width: 100%;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(var(--container), calc(100% - 30px));
    }

    .container-fluid {
        padding-inline: 14px;
    }

    .hero {
        padding-top: 54px;
    }

    .page-hero {
        padding-top: 48px;
    }

    .section {
        padding: 70px 0;
    }

    .btn,
    .portal-btn-mobile {
        width: 100%;
    }

    .cta-row {
        flex-direction: column;
    }

    .brand-text strong {
        font-size: 18px;
    }

    .header-row {
        min-height: 74px;
    }

    .card {
        padding: 22px;
    }

    .certifications-gallery {
        grid-template-columns: 1fr;
    }
}
