:root {
    --font-sans: 'Montserrat', 'Roboto', sans-serif;
    --primary: #0055a4;
    --primary-strong: #003d7a;
    --accent: #d97706;
    --accent-strong: #b85e04;
    --success: #10b981;
    --bg: #ffffff;
    --bg-soft: #f9fafb;
    --bg-muted: #f3f4f6;
    --text: #111827;
    --muted: #374151;
    --line: #e5e7eb;
    --radius: 12px;
    --container: 1180px;
    --container-wide: 1340px;
    --space-x: 32px;
    --section-y: 64px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

a {
    color: inherit;
}

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

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

h1 {
    font-size: clamp(2rem, 4.6vw, 3rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.28rem;
    line-height: 1.3;
}

p {
    color: var(--muted);
}

sup {
    font-size: x-small;
}

.site-header,
.section,
.cta-section,
.site-footer {
    padding-left: var(--space-x);
    padding-right: var(--space-x);
}

.nav-shell,
.hero__content,
.section>*:not(.problem-grid):not(.guide-inner):not(.plan-shell),
.problem-grid,
.guide-inner,
.plan-shell,
.contact-shell,
.footer-shell {
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(8px);
}

.nav-shell {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

header a>img {
    width: 220px;
    height: auto;
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 8px;
    color: var(--primary);
    cursor: pointer;
}

.icon {
    width: 22px;
    height: 22px;
}

.icon-close {
    display: none;
}

.menu-toggle.active .icon-menu {
    display: none;
}

.menu-toggle.active .icon-close {
    display: block;
}

.menu-bar {
    margin-left: auto;
}

.menu-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 22px;
}

.menu-list a {
    text-decoration: none;
    color: var(--muted);
    font-weight: 500;
    font-size: 0.95rem;
}

.menu-list a:hover {
    color: var(--primary);
}

.menu-dropdown {
    position: relative;
}

.menu-dropdown__list {
    list-style: none;
    position: absolute;
    left: 0;
    top: calc(100% + 8px);
    min-width: 220px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    display: none;
    box-shadow: 0 10px 30px rgba(0, 85, 164, 0.12);
}

.menu-dropdown__list li+li {
    margin-top: 4px;
}

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

.btn,
.contact-form .btn.primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid transparent;
    padding: 0.72rem 1.1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn--primary,
.contact-form .btn.primary {
    background: var(--primary);
    color: #fff;
}

.btn--primary:hover,
.contact-form .btn.primary:hover {
    background: var(--primary-strong);
}

.btn--ghost {
    background: transparent;
    border-color: #cbd5e1;
    color: var(--text);
}

.btn--ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
}

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

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

.menu-list a.btn--primary {
    color: #fff;
}

.menu-list a.btn--ghost {
    color: var(--text);
}

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: min(78vh, 760px);
    display: flex;
    align-items: center;
    padding: 110px var(--space-x) 96px;
    color: #fff;
    background: var(--primary);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/hero.jpg') center/cover no-repeat;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 61, 122, 0.92) 0%, rgba(0, 85, 164, 0.58) 52%, rgba(0, 85, 164, 0) 100%);
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin-left: 0;
    margin-right: auto;
}

.hero__lede {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.05rem;
    margin-top: 18px;
    max-width: 600px;
}

.section {
    padding-top: var(--section-y);
    padding-bottom: var(--section-y);
}

.section h2 {
    color: var(--primary);
}

.section>p {
    margin-top: 12px;
    max-width: 760px;
}

.problem {
    background: var(--bg-muted);
}

.problem-grid,
.plan-steps {
    margin-top: 30px;
    display: grid;
    gap: 18px;
}

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

.problem-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
}

.problem-card h3 {
    color: var(--primary);
}

.problem-card p {
    margin-top: 10px;
}

.guide {
    background: #fff;
}

.guide-inner {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 26px;
    align-items: stretch;
}

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

.cred-list {
    margin-top: 18px;
    list-style: none;
    display: grid;
    gap: 10px;
}

.cred-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    line-height: 2.5;
}

.cred-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    margin-top: 0;
    flex: 0 0 auto;
}

.guide-visual {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-soft);
    padding: 20px;
    display: grid;
    gap: 14px;
}

.guide-stat {
    text-align: center;
}

.guide-stat-num {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.guide-stat-label {
    font-size: 0.92rem;
    color: #6b7280;
}

.guide-divider {
    border-top: 1px solid var(--line);
}

.plan {
    background: var(--primary);
}

.plan-shell {
    max-width: var(--container-wide);
}

.plan h2,
.plan p,
.plan .step-title,
.plan .step-desc,
.plan .step-num {
    color: #fff;
}

.plan-intro {
    margin-top: 10px;
    opacity: 0.9;
}

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

.plan-step {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius);
    padding: 20px;
}

.step-num {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    opacity: 0.85;
}

.step-title {
    margin-top: 8px;
    font-weight: 700;
}

.step-desc {
    margin-top: 8px;
    opacity: 0.92;
}

.transform {
    background: var(--bg-muted);
}

.transform .btn+.btn {
    margin-left: 10px;
}

.cta-section {
    text-align: left;
    background: var(--primary);
    padding-top: 76px;
    padding-bottom: 76px;
}

.contact-shell {
    display: grid;
    gap: 20px;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
}

.contact-intro {
    padding: 8px 6px 0 0;
}

.contact-intro h2 {
    color: #fff;
}

.contact-intro .section-lede {
    margin-top: 8px;
    max-width: 36ch;
    color: rgba(255, 255, 255, 0.9);
}

.contact-trust {
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.78);
    font-style: normal;
    font-size: 0.92rem;
    line-height: 1.55;
}

.contact-trust a {
    color: inherit;
    text-decoration: none;
}

.contact-trust a:hover {
    color: #fff;
}

.contact-form {
    background: #fff;
    border-radius: var(--radius);
    padding: 22px;
    display: grid;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
}

.form-row--hidden {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-form label {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.35;
    text-align: left;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.72rem 0.78rem;
    font: inherit;
    color: var(--text);
    background: #fff;
}

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

.character-count {
    justify-self: end;
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.25;
}

.contact-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 12px;
}

altcha-widget {
    --altcha-border-radius: 8px;
    --altcha-color-border: #cbd5e1;
    --altcha-color-border-focus: var(--primary);
    --altcha-color-text: var(--text);
    max-width: 100%;
}

.contact-form .btn.primary {
    justify-self: end;
    min-height: 46px;
    white-space: nowrap;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: 2px solid rgba(0, 85, 164, 0.18);
    border-color: var(--primary);
}

.contact-note {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
}

.contact-note--success {
    color: #047857;
}

.contact-note--error {
    color: #b91c1c;
}

.contact-success {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: #fff;
    text-align: center;
    z-index: 2;
}

.contact-form.is-success .contact-success {
    display: flex;
}

.contact-success__message {
    color: var(--primary);
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    font-weight: 600;
    line-height: 1.25;
    max-width: 13em;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding-top: 20px;
    padding-bottom: 20px;
}

.footer-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.footer-shell p,
.footer-shell a {
    color: #6b7280;
    font-size: 0.9rem;
}

.footer-shell a {
    text-decoration: none;
}

.footer-shell a:hover {
    color: var(--primary);
}

.footer-links {
    display: inline-flex;
    gap: 18px;
}

main .security {
    background: linear-gradient(135deg, var(--bg-soft) 0%, var(--bg-muted) 100%);
    padding: 96px var(--space-x);
    min-height: calc(100vh - 74px);
}

main .security .section-header {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

main .security .hero__title {
    color: var(--text);
    font-size: clamp(2rem, 4.6vw, 3rem);
    line-height: 1.1;
    font-weight: 700;
}

main .security .section-lede {
    margin-top: 18px;
    color: var(--muted);
    font-size: 1.12rem;
}

main .security .contact {
    margin-top: 34px !important;
}

main .security .contact-form {
    border: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

@media (max-width: 1000px) {
    .menu-toggle {
        display: inline-flex;
    }

    .menu-bar {
        display: none;
        width: 100%;
        position: absolute;
        left: 0;
        top: 100%;
        background: #fff;
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
        padding: 10px var(--space-x) 16px;
    }

    .menu-bar.active {
        display: block;
    }

    .menu-list {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .menu-list>li>a,
    .menu-dropdown__toggle,
    .menu-dropdown__list a {
        display: block;
        padding: 10px;
        border-radius: 8px;
    }

    .menu-dropdown__list {
        position: static;
        display: block;
        box-shadow: none;
        border: 1px solid var(--line);
        margin-top: 6px;
    }

    .menu-cta {
        margin-top: 4px;
    }


    .problem-grid,
    .plan-steps {
        grid-template-columns: 1fr;
    }

    .guide-inner,
    .contact-shell {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 820px) {
    :root {
        --space-x: 20px;
        --section-y: 54px;
    }

    .hero {
        min-height: auto;
        padding-top: 88px;
        padding-bottom: 72px;
    }

    .footer-shell {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn,
    .contact-form .btn.primary {
        width: 100%;
    }

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

    .contact-form .btn.primary {
        justify-self: stretch;
    }

    .contact-form {
        padding: 18px;
    }

    .transform .btn {
        width: auto;
    }

    .transform .btn+.btn {
        margin-left: 0;
        margin-top: 10px;
    }

    main .security {
        padding: 54px var(--space-x);
    }

}
