:root {
    --bg: #ffffff;
    --bg-soft: #f8fbff;
    --text: #0f172a;
    --muted: #5b6b84;
    --line: #dbe7f0;
    --blue: #1d63ed;
    --blue-dark: #174fc0;
    --teal: #16b8b0;
    --teal-dark: #0d9488;
    --card-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
    --radius: 22px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.55;
}

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

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

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

.section {
    padding: 88px 0;
}

.section-tight {
    padding: 70px 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(22, 184, 176, 0.09);
    color: var(--teal-dark);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    margin-bottom: 20px;
}

.eyebrow::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--teal));
    box-shadow: 0 0 0 4px rgba(22, 184, 176, 0.12);
}

h1,
h2,
h3,
h4,
p {
    margin: 0;
}

h1 {
    font-size: clamp(38px, 6vw, 66px);
    line-height: 1.02;
    letter-spacing: -0.03em;
    font-weight: 800;
}

h2 {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.08;
    letter-spacing: -0.025em;
    font-weight: 800;
    margin-bottom: 16px;
}

h3 {
    font-size: 21px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 12px;
}

.lead {
    font-size: 19px;
    color: var(--muted);
    max-width: 700px;
}

.section-head {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-head p {
    color: var(--muted);
    font-size: 17px;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 14px;
    font-weight: 700;
    transition: 0.2s ease;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 15px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue), var(--teal));
    color: #fff;
    box-shadow: 0 12px 24px rgba(29, 99, 237, 0.18);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(29, 99, 237, 0.22);
}

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

.btn-secondary:hover {
    transform: translateY(-2px);
    border-color: #bfd4e3;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(219, 231, 240, 0.85);
}

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

.brand img {
    width: 132px;
    height: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    color: var(--muted);
    font-weight: 600;
    font-size: 14px;
}

.nav-links a:hover {
    color: var(--text);
}

.hero {
    position: relative;
    overflow: hidden;
    background:
            radial-gradient(circle at top left, rgba(29, 99, 237, 0.10), transparent 32%),
            radial-gradient(circle at bottom right, rgba(22, 184, 176, 0.10), transparent 26%),
            linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 48px;
    min-height: calc(100vh - 78px);
    padding: 38px 0 70px;
}

.hero-copy .lead {
    margin-top: 18px;
}

.hero-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 30px;
}

.hero-point {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #e4edf4;
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--card-shadow);
}

.hero-point strong {
    display: block;
    font-size: 22px;
    margin-bottom: 4px;
}

.hero-point span {
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
}

.hero-card {
    position: relative;
    background: #fff;
    border: 1px solid #e7eff6;
    border-radius: 30px;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.11);
    padding: 28px;
}

.mock-window {
    border: 1px solid #e6eef5;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
}

.mock-topbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: #f8fbff;
    border-bottom: 1px solid #e7eff6;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #c6d4e0;
}

.mock-body {
    padding: 22px;
    display: grid;
    gap: 16px;
}

.mini-card {
    border: 1px solid #e6eef5;
    border-radius: 18px;
    padding: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.mini-card .tag {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(29, 99, 237, 0.10);
    color: var(--blue-dark);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
}

.mini-card p {
    color: var(--muted);
    font-size: 14px;
}

.appt-list {
    display: grid;
    gap: 12px;
    margin-top: 10px;
}

.appt-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid #e9f0f6;
    border-radius: 16px;
    background: #fff;
}

.appt-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(29, 99, 237, 0.12), rgba(22, 184, 176, 0.12));
    display: grid;
    place-items: center;
    font-weight: 800;
    color: var(--blue-dark);
}

.appt-item small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-top: 3px;
}

.stats-strip {
    border-top: 1px solid #edf3f8;
    border-bottom: 1px solid #edf3f8;
    background: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    padding: 26px 0;
}

.stat {
    text-align: center;
}

.stat strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 6px;
}

.stat span {
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
}

.steps-grid,
.benefits-grid,
.cred-grid {
    display: grid;
    gap: 24px;
}

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

.step-card,
.benefit-card,
.cred-card,
.form-card,
.cta-card {
    background: #fff;
    border: 1px solid #e5eef5;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
}

.step-card {
    padding: 28px;
}

.step-num {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: #fff;
    margin-bottom: 18px;
    background: linear-gradient(135deg, var(--blue), var(--teal));
    box-shadow: 0 10px 22px rgba(29, 99, 237, 0.2);
}

.step-card p,
.benefit-card p,
.cred-card p,
.cta-card p {
    color: var(--muted);
}

.benefits-wrap {
    background: linear-gradient(180deg, var(--bg-soft) 0%, #ffffff 100%);
    border-top: 1px solid #edf3f8;
    border-bottom: 1px solid #edf3f8;
}

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

.benefit-card {
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(29, 99, 237, 0.10), rgba(22, 184, 176, 0.12));
    color: var(--blue-dark);
    font-weight: 800;
    font-size: 20px;
}

.registration-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 28px;
    align-items: start;
}

.info-panel {
    padding: 30px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, #f7fbff 0%, #eef8fb 100%);
    border: 1px solid #dfeaf3;
    min-height: 100%;
}

.info-panel p {
    color: var(--muted);
}

.info-list {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid #dfeaf3;
    border-radius: 16px;
}

.info-badge {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--blue), var(--teal));
}

.form-card {
    padding: 30px;
}

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

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

.field.full {
    grid-column: 1 / -1;
}

label {
    font-size: 14px;
    font-weight: 700;
    color: #21304a;
}

input,
textarea {
    width: 100%;
    border: 1px solid #d6e3ee;
    background: #fff;
    color: var(--text);
    border-radius: 14px;
    padding: 14px 15px;
    font: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
    border-color: rgba(29, 99, 237, 0.55);
    box-shadow: 0 0 0 4px rgba(29, 99, 237, 0.10);
}

textarea {
    min-height: 130px;
    resize: vertical;
}

.form-note {
    margin-top: 14px;
    font-size: 13px;
    color: var(--muted);
}

.cred-grid {
    grid-template-columns: 1.2fr;
    align-items: stretch;
}

.cred-card {
    padding: 32px;
}

.trust-quote {
    font-size: 22px;
    line-height: 1.45;
    color: #1b2940;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.trust-mini {
    display: grid;
    gap: 16px;
    margin-top: 26px;
}

.trust-pill {
    padding: 14px 16px;
    border: 1px solid #e4edf4;
    border-radius: 16px;
    background: #fbfdff;
    color: var(--muted);
    font-weight: 600;
}

.testimonial {
    padding: 22px;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #e6eef5;
    display: none;
}

.testimonial p {
    color: var(--muted);
    margin-bottom: 16px;
}

.testimonial strong {
    font-size: 15px;
}

.cta-card {
    padding: 40px;
    text-align: center;
    background:
            radial-gradient(circle at top center, rgba(29, 99, 237, 0.08), transparent 28%),
            radial-gradient(circle at bottom center, rgba(22, 184, 176, 0.10), transparent 32%),
            linear-gradient(180deg, #ffffff 0%, #f8fcff 100%);
}

.cta-card p {
    max-width: 650px;
    margin: 0 auto;
    font-size: 17px;
}

.site-footer {
    border-top: 1px solid #e8eff5;
    background: #ffffff;
}

.footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 26px 0;
}

.footer-brand img {
    width: 116px;
}

.footer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--muted);
    font-size: 14px;
    justify-content: flex-end;
}

.footer-meta a:hover {
    color: var(--text);
}

@media (max-width: 1024px) {
    .hero-grid,
    .registration-grid,
    .cred-grid {
        grid-template-columns: 1fr;
    }

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

    .hero-grid {
        min-height: auto;
        padding: 46px 0 64px;
    }
}

@media (max-width: 760px) {
    .nav {
        min-height: 72px;
    }

    .nav-links {
        display: none;
    }

    .section,
    .section-tight {
        padding: 64px 0;
    }

    .hero-points,
    .steps-grid,
    .benefits-grid,
    .stats-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .hero-card,
    .step-card,
    .benefit-card,
    .cred-card,
    .form-card,
    .cta-card,
    .info-panel {
        border-radius: 20px;
    }

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

    .footer-meta {
        justify-content: flex-start;
    }

    h1 {
        font-size: 40px;
    }
}