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

:root {
    --ink: #172536;
    --navy: #0d2438;
    --navy-soft: #17384f;
    --blue: #286b91;
    --blue-light: #e8f1f5;
    --cream: #f7f5f0;
    --warm: #fbfaf7;
    --white: #ffffff;
    --text: #53616d;
    --muted: #7c8790;
    --border: #e1e4e3;
    --green: #27745c;
    --red: #b64d4d;
    --shadow: 0 18px 50px rgba(21, 38, 53, 0.08);
    --shadow-soft: 0 8px 28px rgba(21, 38, 53, 0.06);
    --container: 1180px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body {
    font-family: 'DM Sans', Arial, sans-serif;
    color: var(--ink);
    background: var(--warm);
    font-size: 15px;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body,
button,
input {
    font-family: inherit;
}

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

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

button,
input {
    font: inherit;
}

button {
    border: 0;
}

ul {
    list-style: none;
}

::selection {
    color: var(--white);
    background: var(--navy);
}

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

h1,
h2,
h3 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--ink);
    font-weight: 700;
    line-height: 1.16;
}

h1 {
    font-size: clamp(42px, 6vw, 76px);
}

h2 {
    font-size: clamp(34px, 4vw, 52px);
}

h3 {
    font-size: 22px;
}

.section {
    padding: 105px 0;
}

.section-header {
    max-width: 720px;
    margin: 0 auto 58px;
    text-align: center;
}

.section-kicker {
    display: block;
    margin-bottom: 12px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-header h2 {
    margin-bottom: 17px;
}

.underline {
    width: 48px;
    height: 2px;
    margin: 0 auto 18px;
    background: var(--blue);
}

.underline.light {
    background: rgba(255, 255, 255, 0.7);
}

.section-intro {
    max-width: 620px;
    margin: 0 auto;
    color: var(--text);
    font-size: 16px;
}

.btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: all 0.25s ease;
}

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

.btn-primary:hover {
    background: var(--navy-soft);
    transform: translateY(-1px);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: wait;
    transform: none;
}

.btn-ghost {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover {
    color: var(--navy);
    background: var(--white);
    border-color: var(--white);
}

.btn-lg {
    min-height: 54px;
    padding: 14px 29px;
    font-size: 15px;
}

.btn:focus-visible,
.nav-menu a:focus-visible,
.nav-toggle:focus-visible,
input:focus-visible {
    outline: 3px solid rgba(40, 107, 145, 0.25);
    outline-offset: 3px;
}

.navbar {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(13, 36, 56, 0.18);
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.navbar.scrolled {
    border-bottom-color: var(--border);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 4px 22px rgba(21, 38, 53, 0.07);
    backdrop-filter: blur(14px);
}

.nav-container {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    max-width: 300px;
    color: var(--white);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.15;
}

.navbar.scrolled .logo {
    color: var(--navy);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-menu a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    padding: 8px 13px;
    color: rgba(255, 255, 255, 0.9);
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.nav-menu a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .nav-menu a {
    color: var(--ink);
}

.navbar.scrolled .nav-menu a:hover {
    color: var(--blue);
    background: var(--blue-light);
}

.nav-menu .btn-nav {
    margin-left: 8px;
    padding: 10px 19px;
    color: var(--white) !important;
    background: var(--blue);
    border-radius: 3px;
}

.nav-menu .btn-nav:hover {
    color: var(--white) !important;
    background: var(--navy);
}

.nav-menu .admin-link {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.navbar.scrolled .admin-link {
    color: var(--muted);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.navbar.scrolled .nav-toggle {
    border-color: var(--border);
    background: var(--white);
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--white);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.navbar.scrolled .nav-toggle span {
    background: var(--navy);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hero {
    position: relative;
    min-height: 720px;
    height: 100svh;
    max-height: 900px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--navy);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 25, 39, 0.88) 0%, rgba(7, 25, 39, 0.69) 42%, rgba(7, 25, 39, 0.2) 100%),
        linear-gradient(180deg, rgba(7, 25, 39, 0.15), rgba(7, 25, 39, 0.38));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    padding-top: 65px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.17em;
}

.hero-eyebrow::before {
    content: '';
    width: 38px;
    height: 1px;
    background: rgba(255, 255, 255, 0.7);
}

.hero-title {
    max-width: 820px;
    margin-bottom: 24px;
    color: var(--white);
    letter-spacing: -0.025em;
}

.hero-subtitle {
    max-width: 630px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.8;
}

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

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 42px;
    color: rgba(255, 255, 255, 0.63);
    font-size: 13px;
}

.hero-trust span {
    display: flex;
    align-items: center;
    gap: 7px;
}

.hero-trust strong {
    color: var(--white);
    font-size: 15px;
}

.hero-scroll {
    position: absolute;
    z-index: 3;
    right: 34px;
    bottom: 30px;
    display: flex;
    align-items: center;
    gap: 11px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    writing-mode: vertical-rl;
}

.hero-scroll-line {
    width: 1px;
    height: 45px;
    background: rgba(255, 255, 255, 0.45);
}

.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    max-width: 540px;
}

.about-text p {
    margin-bottom: 38px;
    color: var(--text);
    font-size: 17px;
    line-height: 1.9;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding-top: 27px;
    border-top: 1px solid var(--border);
}

.stat {
    padding-right: 20px;
    border-right: 1px solid var(--border);
}

.stat:last-child {
    padding-right: 0;
    padding-left: 20px;
    border-right: 0;
}

.stat:nth-child(2) {
    padding-left: 20px;
}

.stat-num {
    display: block;
    margin-bottom: 3px;
    color: var(--navy);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 31px;
    font-weight: 700;
}

.stat-label {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
}

.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: start;
}

.about-image-wrap {
    overflow: hidden;
    background: var(--cream);
}

.about-image-wrap:first-child {
    margin-top: 38px;
}

.about-image-wrap:last-child {
    margin-bottom: 38px;
}

.about-img {
    width: 100%;
    height: 330px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image-wrap:hover .about-img {
    transform: scale(1.035);
}

.services {
    background: var(--cream);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    border: 1px solid var(--border);
    background: var(--border);
}

.service-card {
    position: relative;
    min-height: 265px;
    padding: 31px;
    background: var(--white);
    transition: background 0.25s ease;
}

.service-card:hover {
    background: #fdfefe;
}

.service-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 57px;
}

.service-number {
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.service-icon {
    color: var(--blue);
    font-size: 24px;
}

.service-card h3 {
    margin-bottom: 11px;
}

.service-card p {
    max-width: 360px;
    color: var(--text);
    font-size: 14px;
    line-height: 1.75;
}

.why-us {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: var(--navy);
}

.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    right: 8%;
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.07);
}

.why-us::after {
    content: '';
    position: absolute;
    top: 0;
    right: 23%;
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.04);
}

.why-container {
    position: relative;
    z-index: 1;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.why-card {
    min-height: 275px;
    padding: 31px 32px;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.why-card:last-child {
    border-right: 0;
}

.why-num {
    margin-bottom: 46px;
    color: rgba(255, 255, 255, 0.27);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 38px;
}

.why-card h3 {
    margin-bottom: 12px;
    color: var(--white);
}

.why-card p {
    color: rgba(255, 255, 255, 0.67);
    font-size: 14px;
    line-height: 1.8;
}

.gallery {
    background: var(--white);
}

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

.gallery-item {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e9e9e5;
}

.gallery-item:first-child {
    grid-column: span 2;
    aspect-ratio: 8 / 5;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(13, 36, 56, 0.28));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.contact {
    background: var(--cream);
}

.form-wrapper {
    max-width: 850px;
    margin: 0 auto;
    padding: 40px;
    border: 1px solid var(--border);
    background: var(--white);
    box-shadow: var(--shadow);
}

.form-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 31px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.form-heading-icon {
    display: flex;
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    align-items: center;
    justify-content: center;
    color: var(--green);
    background: #edf5f1;
    font-size: 19px;
    font-weight: 700;
}

.form-heading h3 {
    margin-bottom: 2px;
}

.form-heading p {
    color: var(--muted);
    font-size: 13px;
}

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

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

.form-group {
    min-width: 0;
    margin-bottom: 20px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
}

.form-group label span {
    color: var(--red);
}

.form-group label small {
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
}

.form-group input[type="text"] {
    width: 100%;
    min-height: 51px;
    padding: 13px 14px;
    border: 1px solid #d8dddf;
    border-radius: 3px;
    outline: none;
    color: var(--ink);
    background: #fdfdfc;
    font-size: 15px;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.form-group input[type="text"]::placeholder {
    color: #9aa3a9;
}

.form-group input[type="text"]:focus {
    border-color: var(--blue);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(40, 107, 145, 0.1);
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 8px;
}

.checkbox-item {
    display: flex;
    min-height: 49px;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #dfe3e4;
    border-radius: 3px;
    color: var(--text);
    background: #fdfdfc;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.checkbox-item:hover {
    border-color: #b9ccd6;
    background: var(--blue-light);
}

.checkbox-item input {
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: var(--blue);
}

.field-help {
    display: block;
    margin-top: 9px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.form-actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 8px;
}

.form-actions .btn {
    min-width: 220px;
}

.form-message {
    display: none;
    margin-top: 19px;
    padding: 13px 15px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
}

.form-message.success {
    display: block;
    color: var(--green);
    border: 1px solid #c8dfd4;
    background: #f0f8f4;
}

.form-message.error {
    display: block;
    color: var(--red);
    border: 1px solid #e7caca;
    background: #fff4f4;
}

.results-area {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

.results-heading {
    margin-bottom: 17px;
}

.results-label {
    display: block;
    margin-bottom: 5px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.results-heading h3 {
    color: var(--navy);
    font-size: 23px;
    line-height: 1.35;
}

.docs-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.doc-card {
    display: grid;
    grid-template-columns: 45px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 13px;
    border: 1px solid var(--border);
    background: #fdfdfc;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.doc-card:hover {
    border-color: #c9d8df;
    box-shadow: var(--shadow-soft);
}

.doc-icon {
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    background: var(--blue-light);
    font-size: 21px;
}

.doc-info {
    min-width: 0;
}

.doc-info strong {
    display: block;
    overflow: hidden;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.doc-type {
    display: inline-block;
    margin-top: 4px;
    padding: 2px 7px;
    color: var(--blue);
    background: var(--blue-light);
    font-size: 13px;
    font-weight: 700;
}

.doc-date {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 13px;
}

.doc-actions {
    display: flex;
    gap: 6px;
}

.btn-doc {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 8px 13px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.btn-doc.view {
    color: #185679;
    background: #e5f0f5;
}

.btn-doc.download {
    color: #21644e;
    background: #e5f2ed;
}

.btn-doc:hover {
    opacity: 0.8;
}

.footer {
    padding: 42px 0;
    color: rgba(255, 255, 255, 0.58);
    background: #081b2c;
}

.footer-inner {
    text-align: center;
}

.footer-brand {
    margin-bottom: 8px;
    color: var(--white);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 19px;
    font-weight: 700;
}

.footer p {
    margin-bottom: 12px;
    font-size: 13px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px 22px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.56);
    font-size: 13px;
}

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

@media (max-width: 1000px) {
    .nav-menu {
        gap: 0;
    }

    .nav-menu a {
        padding-left: 9px;
        padding-right: 9px;
        font-size: 13px;
    }

    .about-grid {
        gap: 50px;
    }
}

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

    .section {
        padding: 82px 0;
    }

    .nav-container {
        min-height: 68px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 68px;
        left: 16px;
        right: 16px;
        display: flex;
        align-items: stretch;
        flex-direction: column;
        gap: 2px;
        max-height: calc(100svh - 84px);
        padding: 9px;
        overflow-y: auto;
        border: 1px solid var(--border);
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 18px 45px rgba(13, 36, 56, 0.16);
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
    }

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

    .nav-menu a,
    .navbar.scrolled .nav-menu a {
        width: 100%;
        min-height: 47px;
        padding: 10px 13px;
        color: var(--ink);
        font-size: 14px;
    }

    .nav-menu a:hover,
    .navbar.scrolled .nav-menu a:hover {
        color: var(--blue);
        background: var(--blue-light);
    }

    .nav-menu .btn-nav {
        justify-content: center;
        margin: 5px 0 2px;
        color: var(--white) !important;
        background: var(--blue);
    }

    .nav-menu .admin-link,
    .navbar.scrolled .nav-menu .admin-link {
        color: var(--muted);
    }

    .hero {
        min-height: 690px;
    }

    .hero-overlay {
        background:
            linear-gradient(90deg, rgba(7, 25, 39, 0.9), rgba(7, 25, 39, 0.58)),
            linear-gradient(180deg, rgba(7, 25, 39, 0.15), rgba(7, 25, 39, 0.42));
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-text {
        max-width: none;
    }

    .about-images {
        order: -1;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-card {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .why-card:last-child {
        border-bottom: 0;
    }

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

    .gallery-item:first-child {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .container {
        width: calc(100% - 24px);
    }

    .section {
        padding: 67px 0;
    }

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

    .hero {
        min-height: 660px;
    }

    .hero-content {
        padding-top: 45px;
    }

    .hero-eyebrow {
        margin-bottom: 16px;
        font-size: 13px;
        letter-spacing: 0.1em;
    }

    .hero-title {
        margin-bottom: 18px;
        font-size: clamp(40px, 12vw, 55px);
    }

    .hero-subtitle {
        margin-bottom: 25px;
        font-size: 15px;
        line-height: 1.7;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-trust {
        gap: 9px 18px;
        margin-top: 27px;
    }

    .hero-scroll {
        display: none;
    }

    .about-images {
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    .about-image-wrap:first-child {
        margin-top: 20px;
    }

    .about-image-wrap:last-child {
        margin-bottom: 20px;
    }

    .about-img {
        height: 185px;
    }

    .about-text p {
        font-size: 15px;
    }

    .stats-row {
        gap: 10px;
    }

    .stat {
        padding-right: 10px;
    }

    .stat:nth-child(2) {
        padding-left: 10px;
    }

    .stat:last-child {
        padding-left: 10px;
    }

    .stat-num {
        font-size: 25px;
    }

    .stat-label {
        font-size: 13px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

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

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

    .gallery-item,
    .gallery-item:first-child {
        grid-column: auto;
        aspect-ratio: 16 / 10;
    }

    .form-wrapper {
        padding: 25px 17px;
    }

    .form-heading {
        align-items: flex-start;
        margin-bottom: 25px;
        padding-bottom: 20px;
    }

    .form-heading-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .form-heading h3 {
        font-size: 19px;
    }

    .form-row,
    .checkbox-grid {
        grid-template-columns: 1fr;
    }

    .form-group {
        margin-bottom: 16px;
    }

    .form-actions {
        justify-content: stretch;
    }

    .form-actions .btn {
        width: 100%;
    }

    .doc-card {
        grid-template-columns: 42px minmax(0, 1fr);
        align-items: start;
    }

    .doc-icon {
        width: 42px;
        height: 42px;
    }

    .doc-actions {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .btn-doc {
        min-height: 42px;
    }
}

@media (max-width: 390px) {
    .hero-title {
        font-size: 39px;
    }

    .hero-trust {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .hero-trust span:last-child {
        grid-column: 1 / -1;
    }

    .about-images {
        grid-template-columns: 1fr;
    }

    .about-image-wrap:first-child,
    .about-image-wrap:last-child {
        margin: 0;
    }

    .about-img {
        height: 210px;
    }

    .stats-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .stat,
    .stat:nth-child(2),
    .stat:last-child {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        padding: 0 0 11px;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .stat:last-child {
        border-bottom: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}