:root {
    --navy: #0a2558;
    --navy-dark: #071c42;
    --navy-soft: #12306b;
    --green: #28a745;
    --green-dark: #1e7e34;
    --green-soft: #e8f7ec;
    --text: #243044;
    --muted: #5b6778;
    --line: #e6ebf2;
    --bg: #ffffff;
    --bg-muted: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 12px 30px rgba(10, 37, 88, 0.08);
    --radius: 14px;
    --container: 1180px;
    --header-h: 82px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

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

a {
    color: var(--green);
    text-decoration: none;
}

a:hover {
    color: var(--green-dark);
}

h1, h2, h3, p, ul, ol {
    margin: 0;
}

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

.region {
    width: 100%;
}

.eyebrow {
    color: var(--green);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.78rem;
    margin-bottom: 0.7rem;
}

.topbar {
    background: var(--navy);
    color: #d7e2f5;
    font-size: 0.82rem;
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 42px;
}

.topbar__items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    list-style: none;
    padding: 8px 0;
}

.topbar__items li,
.topbar__items a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: inherit;
}

.topbar .icon {
    color: var(--green);
}

.topbar__sep {
    opacity: 0.55;
}

.topbar__social {
    color: var(--white);
    display: inline-flex;
}

.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 40;
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h);
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--navy);
}

.brand__mark {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
}

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand__text strong {
    font-size: 0.95rem;
    letter-spacing: 0.04em;
}

.brand__text small {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    padding: 0;
}

.nav__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 10px 11px;
    color: var(--navy);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-bottom: 3px solid transparent;
}

.nav__link:hover,
.nav__link.is-active {
    color: var(--green);
    border-bottom-color: var(--green);
}

.nav__caret {
    width: 14px;
    height: 14px;
}

.has-dropdown {
    position: relative;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: 10px;
    padding: 8px 0;
    list-style: none;
    z-index: 20;
}

.dropdown a {
    display: block;
    padding: 10px 16px;
    color: var(--navy);
    font-size: 0.9rem;
}

.dropdown a:hover {
    background: var(--green-soft);
    color: var(--green-dark);
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
    display: block;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 8px;
    padding: 10px 9px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--navy);
    margin: 5px 0;
}

.hero {
    position: relative;
    min-height: 560px;
    display: grid;
    align-items: center;
    overflow: hidden;
}

.hero__media,
.hero__overlay {
    position: absolute;
    inset: 0;
}

.hero__media {
    background-size: cover;
    background-position: center right;
}

.hero__overlay {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 38%, rgba(255, 255, 255, 0.35) 62%, rgba(255, 255, 255, 0.05) 100%);
}

.hero__content {
    position: relative;
    z-index: 1;
    padding: 72px 0;
    max-width: 720px;
    margin-left: max(16px, calc((100% - var(--container)) / 2));
}

.hero h1 {
    color: var(--navy);
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.15;
    font-weight: 800;
    max-width: 14ch;
}

.hero__lead,
.section-header__lead {
    color: var(--muted);
    margin-top: 1rem;
    max-width: 52ch;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 1.6rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid transparent;
    border-radius: 6px;
    padding: 12px 18px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.78rem;
    cursor: pointer;
}

.btn--primary {
    background: var(--navy);
    color: var(--white);
}

.btn--primary:hover {
    background: var(--navy-soft);
    color: var(--white);
}

.btn--outline {
    background: transparent;
    border-color: var(--green);
    color: var(--green);
}

.btn--outline:hover {
    background: var(--green);
    color: var(--white);
}

.btn--outline-light {
    background: transparent;
    border: 2px solid #9fb4d8;
    color: var(--white);
}

.btn--outline-light:hover {
    background: var(--white);
    color: var(--navy);
}

.block {
    padding: 80px 0;
}

.block--muted,
.block--services {
    background: var(--bg-muted);
}

.section-header {
    margin-bottom: 36px;
}

.section-header--center {
    text-align: center;
}

.section-header--center .section-header__lead {
    margin-inline: auto;
}

.section-header h2,
.page-hero h1,
.prose h2 {
    color: var(--navy);
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    line-height: 1.2;
}

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

.card-grid--5 {
    grid-template-columns: repeat(5, 1fr);
}

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

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

.service-card,
.plain-card,
.form-card,
.mission-box {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
}

.service-card h3,
.feature-item h3,
.mission-box h3,
.plain-card h3 {
    color: var(--navy);
    font-size: 1.05rem;
    margin: 0.7rem 0 0.45rem;
}

.service-card p,
.feature-item p,
.mission-box p,
.plain-card p,
.prose p {
    color: var(--muted);
}

.service-card__icon,
.feature-item__icon,
.mission-box__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--green-soft);
    color: var(--green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: var(--green);
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.split--why {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
}

.feature-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: start;
}

.media-frame {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    min-height: 320px;
}

.media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 320px;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.mission-box {
    background: var(--bg-muted);
    box-shadow: none;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
}

.page-hero {
    background: linear-gradient(90deg, var(--navy), var(--navy-soft));
    color: var(--white);
    padding: 56px 0;
}

.page-hero h1,
.page-hero p {
    color: var(--white);
}

.page-hero .eyebrow {
    color: #8ee0a4;
}

.check-list,
.step-list,
.site-footer__links {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 12px;
}

.check-list li,
.step-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: start;
}

.check-list .icon {
    color: var(--green);
    margin-top: 2px;
}

.step-list__num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

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

.form-card label {
    margin-top: 12px;
    font-weight: 600;
    color: var(--navy);
}

.form-card label span {
    font-weight: 400;
    color: var(--muted);
}

.form-card input,
.form-card select,
.form-card textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 11px 12px;
    font: inherit;
}

.form-card .btn {
    margin-top: 18px;
    justify-content: center;
}

.form-note {
    margin-top: 12px;
    color: var(--muted);
    font-size: 0.85rem;
}

.field-error {
    color: #b42318;
}

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

.alert--success {
    background: var(--green-soft);
    color: var(--green-dark);
}

.alert--error {
    background: #feecec;
    color: #b42318;
}

.accred-bar {
    background: var(--navy);
    color: #d7e2f5;
    padding: 28px 0;
}

.accred-bar__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 28px;
    align-items: center;
}

.accred-bar__brands {
    display: flex;
    align-items: center;
    gap: 14px;
}

.accred-bar__label {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    font-weight: 700;
    color: #9fb4d8;
}

.accred-bar__message {
    text-align: center;
}

.badge-logo {
    background: var(--white);
    color: var(--navy);
    border-radius: 8px;
    padding: 6px 10px;
    min-width: 92px;
    text-align: center;
    line-height: 1.15;
}

.badge-logo strong {
    display: block;
    color: var(--green);
}

.badge-logo small {
    font-size: 0.62rem;
}

.badge-logo--lg {
    width: 120px;
    padding: 14px 10px;
    margin-bottom: 10px;
}

.site-footer {
    background: var(--navy-dark);
    color: #c5d2e8;
    padding-top: 48px;
}

.site-footer a {
    color: #c5d2e8;
}

.site-footer a:hover {
    color: var(--white);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 1fr 1fr;
    gap: 28px;
    padding-bottom: 36px;
}

.site-footer__title {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 10px;
}

.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 0;
    font-size: 0.9rem;
}

.icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

.prose p + p {
    margin-top: 1rem;
}

@media (max-width: 1100px) {
    .card-grid--5 {
        grid-template-columns: repeat(3, 1fr);
    }

    .accred-bar__inner,
    .site-footer__grid,
    .split,
    .split--why {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .topbar__items li:nth-child(1),
    .topbar__items li:nth-child(3) {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: calc(42px + var(--header-h));
        background: var(--white);
        border-bottom: 1px solid var(--line);
        padding: 12px 16px 20px;
    }

    .nav.is-open {
        display: block;
    }

    .nav__list,
    .dropdown {
        display: block;
        position: static;
        box-shadow: none;
        min-width: 0;
    }

    .card-grid--5,
    .card-grid--3,
    .card-grid--2,
    .feature-grid,
    .mission-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 460px;
    }

    .hero__overlay {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.82) 58%, rgba(255, 255, 255, 0.2) 100%);
    }

    .hero h1 {
        max-width: none;
    }
}

.search-bar {
    max-width: 720px;
}

.search-bar__label {
    display: block;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.search-bar__row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.cta-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 32px;
}

.cta-banner h2 {
    color: var(--navy);
}

.result-list {
    display: grid;
    gap: 12px;
}

.result-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    background: var(--white);
    border-radius: 12px;
    padding: 16px 18px;
    box-shadow: var(--shadow);
}

.wizard-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
}

.wizard-steps li {
    background: var(--bg-muted);
    border-radius: 10px;
    padding: 10px;
    font-size: 0.82rem;
    color: var(--muted);
}

.wizard-steps li span {
    display: inline-flex;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    color: var(--white);
    margin-right: 6px;
    font-weight: 700;
}

.wizard-steps li.is-active {
    background: var(--green-soft);
    color: var(--navy);
}

.wizard-has-js .wizard-pane {
    display: none;
    border: 0;
    padding: 0;
    min-inline-size: 0;
}

.wizard-has-js .wizard-pane.is-active {
    display: grid;
    gap: 8px;
}

.review-list {
    display: grid;
    gap: 8px;
    margin: 0 0 16px;
}

.review-list div {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 8px;
}

.checkbox {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.map-frame {
    margin-top: 20px;
    border-radius: 16px;
    overflow: hidden;
    min-height: 280px;
    box-shadow: var(--shadow);
}

.map-frame iframe {
    width: 100%;
    height: 280px;
    border: 0;
}

.certificate-frame {
    background: linear-gradient(180deg, #f4f7fb, #e7eef8);
    border: 1px dashed #b7c4d8;
    border-radius: 10px;
    min-height: 120px;
    display: grid;
    place-items: center;
    text-align: center;
    color: var(--navy);
    margin-bottom: 12px;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--navy);
}

.topbar__aside {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.design-card.is-selected {
    border-color: var(--green);
    box-shadow: 0 0 0 3px var(--green-soft);
}

.design-card__preview {
    display: flex;
    overflow: hidden;
    border-radius: 10px;
    height: 84px;
    margin-bottom: 12px;
}

.design-card__preview span {
    flex: 1;
    display: block;
}

.design-card .btn {
    margin-top: 14px;
}

@media (max-width: 860px) {
    .search-bar__row,
    .cta-banner,
    .result-row,
    .wizard-steps,
    .review-list div {
        grid-template-columns: 1fr;
        display: grid;
    }
}
