:root {
    --mcs-blue: #0f4f8f;
    --mcs-blue-dark: #0b3158;
    --mcs-blue-soft: #eaf3fb;
    --mcs-orange: #f39c12;
    --mcs-text: #202b36;
    --mcs-muted: #657282;
    --mcs-border: #dde6ef;
    --mcs-bg: #f6f8fb;
    --white: #ffffff;
    --danger: #b42318;
    --shadow: 0 18px 45px rgba(18, 38, 63, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--mcs-text);
    background: var(--mcs-bg);
    line-height: 1.55;
}

a { color: var(--mcs-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

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

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

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand img { width: 165px; display: block; }
.header-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 14px;
}
.phone-link {
    background: var(--mcs-blue-soft);
    color: var(--mcs-blue-dark);
    padding: 9px 13px;
    border-radius: 999px;
    font-weight: 700;
}

.hero {
    background:
        radial-gradient(circle at 85% 0%, rgba(243,156,18,0.16), transparent 32%),
        linear-gradient(135deg, #ffffff 0%, #f2f7fc 55%, #e8f1fa 100%);
    padding: 78px 0 62px;
}

.hero-grid,
.form-grid,
.split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 44px;
    align-items: center;
}

.eyebrow {
    color: var(--mcs-orange);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
    font-weight: 700;
    margin: 0 0 12px;
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 16px; color: var(--mcs-blue-dark); }
h1 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.04em; }
h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.03em; }
h3 { font-size: 21px; }
p { margin: 0 0 16px; }
.lead { font-size: 20px; color: #415062; max-width: 700px; }

.ref-box {
    background: var(--white);
    border: 1px solid var(--mcs-border);
    border-left: 5px solid var(--mcs-orange);
    border-radius: 18px;
    padding: 18px 20px;
    margin: 26px 0;
    box-shadow: 0 10px 25px rgba(18, 38, 63, .08);
}
.ref-box strong { display: block; color: var(--mcs-blue-dark); margin-bottom: 4px; }

.ref-box small {
    display: block;
    color: var(--mcs-muted);
    font-size: 0.88rem;
    margin-bottom: 8px;
}
.ref-box span { color: var(--mcs-muted); }

.hero-actions,
.thanks-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 999px;
    padding: 13px 20px;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
    text-decoration: none;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary {
    background: var(--mcs-blue);
    color: white;
    box-shadow: 0 10px 20px rgba(15, 79, 143, 0.24);
}
.btn-primary:hover { background: var(--mcs-blue-dark); }
.btn-secondary {
    background: white;
    color: var(--mcs-blue-dark);
    border-color: var(--mcs-border);
}
.btn-block { width: 100%; font-size: 16px; }

.hero-card,
.contact-form,
.legal-card,
.thanks-card {
    background: var(--white);
    border: 1px solid var(--mcs-border);
    border-radius: 28px;
    padding: 34px;
    box-shadow: var(--shadow);
}

.hero-card h2 { font-size: 26px; }
.hero-card ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: grid;
    gap: 13px;
}
.hero-card li {
    position: relative;
    padding-left: 30px;
    color: #344255;
}
.hero-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: -1px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--mcs-blue-soft);
    color: var(--mcs-blue);
    text-align: center;
    font-weight: 700;
    line-height: 22px;
}

.trust-section { padding: 42px 0; background: var(--white); border-top: 1px solid var(--mcs-border); border-bottom: 1px solid var(--mcs-border); }
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.trust-grid article {
    background: #fbfdff;
    border: 1px solid var(--mcs-border);
    border-radius: 22px;
    padding: 24px;
}
.number {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    background: var(--mcs-blue);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    margin-bottom: 12px;
}

.problems-section { padding: 70px 0; }
.problem-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.problem-list div {
    background: var(--white);
    border: 1px solid var(--mcs-border);
    border-radius: 18px;
    padding: 17px;
    font-weight: 700;
    color: var(--mcs-blue-dark);
}

.form-section {
    padding: 76px 0;
    background: linear-gradient(180deg, #ffffff 0%, #edf4fb 100%);
    border-top: 1px solid var(--mcs-border);
}
.form-grid { align-items: start; }
.form-copy { padding-top: 24px; }
.small-note { font-size: 13px; color: var(--mcs-muted); }

.contact-form { display: grid; gap: 18px; }
.field-row { display: grid; gap: 7px; }
.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
label { font-weight: 700; color: var(--mcs-blue-dark); }
input, select, textarea {
    width: 100%;
    border: 1px solid var(--mcs-border);
    border-radius: 14px;
    padding: 13px 14px;
    font: inherit;
    background: #fff;
    color: var(--mcs-text);
    outline: none;
}
textarea { resize: vertical; min-height: 150px; }
input:focus, select:focus, textarea:focus {
    border-color: var(--mcs-blue);
    box-shadow: 0 0 0 4px rgba(15, 79, 143, .12);
}

.check-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: start;
    font-weight: 400;
    color: var(--mcs-text);
}
.check-row input { width: 18px; height: 18px; margin-top: 3px; }
.check-row.optional { color: var(--mcs-muted); }
.form-disclaimer { font-size: 12px; color: var(--mcs-muted); margin: 0; }
.hp-field { display: none !important; }
.form-errors {
    background: #fff2f0;
    border: 1px solid #ffccc7;
    color: var(--danger);
    border-radius: 16px;
    padding: 16px;
}
.form-errors ul { margin: 8px 0 0 18px; padding: 0; }

.site-footer {
    background: var(--mcs-blue-dark);
    color: rgba(255,255,255,.86);
    padding: 28px 0;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.site-footer p { margin: 0; font-size: 13px; }
.site-footer a { color: white; }

.center-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px;
    background:
        radial-gradient(circle at 10% 10%, rgba(243,156,18,0.16), transparent 28%),
        linear-gradient(135deg, #f8fbff, #eaf3fb);
}
.thanks-card {
    width: min(620px, 100%);
    text-align: center;
}
.thanks-card img { width: 170px; margin-bottom: 24px; }
.thanks-actions { justify-content: center; margin: 24px 0; }

.legal-page { padding: 54px 0; }
.legal-card { max-width: 920px; }
.legal-card h1 { font-size: clamp(32px, 4vw, 46px); }
.legal-card h2 { font-size: 24px; margin-top: 28px; }

@media (max-width: 880px) {
    .header-inner { flex-direction: column; align-items: flex-start; padding: 15px 0; }
    .header-nav { flex-wrap: wrap; }
    .hero-grid, .form-grid, .split { grid-template-columns: 1fr; }
    .hero { padding: 54px 0 42px; }
    .trust-grid { grid-template-columns: 1fr; }
    .problem-list { grid-template-columns: 1fr; }
    .two-cols { grid-template-columns: 1fr; }
    .footer-inner { display: block; }
    .footer-inner p + p { margin-top: 8px; }
}

@media (max-width: 560px) {
    .container { width: min(100% - 22px, 1120px); }
    .hero-card, .contact-form, .legal-card, .thanks-card { padding: 24px; border-radius: 22px; }
    .btn { width: 100%; }
    .header-nav { font-size: 13px; gap: 10px; }
}
.is-invalid {
    border-color: var(--danger) !important;
    box-shadow: 0 0 0 4px rgba(180, 35, 24, .10) !important;
}

.captcha-row small {
    display: block;
    margin-top: 8px;
    color: var(--mcs-muted);
    font-size: 12px;
}
.captcha-inline {
    display: flex;
    align-items: center;
    gap: 10px;
}
.captcha-question {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 12px;
    background: #eef5fb;
    color: var(--mcs-blue-dark);
    font-weight: 800;
    white-space: nowrap;
}
.captcha-inline input {
    max-width: 160px;
}
@media (max-width: 560px) {
    .captcha-inline { align-items: stretch; flex-direction: column; }
    .captcha-inline input { max-width: 100%; }
    .captcha-question { justify-content: center; }
}
