* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #e9e9e9;
    color: #1f1f1f;
}

.page {
    max-width: 1240px;
    margin: 0 auto;
    background: #fff;
    min-height: 100vh;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.topbar {
    height: 56px;
    background: #ffffff;
    border-bottom: 1px solid #d8d8d8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
}

.topbar-logo {
    display: block;
    max-height: 100px;
    width: auto;
    max-width: 220px;
}

.hero {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    min-height: calc(100vh - 56px);
}

.left {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
}

.left-visual {
    background: #f4f4f4;
    overflow: hidden;
    border-bottom: 1px solid #e5e5e5;
}

.left-visual img {
    display: block;
    width: 100%;
    height: auto;
}

.left-bottom {
    padding: 40px 48px 46px;
    background: #ffffff;
    border-top: 1px solid #eef1f5;
}

.left-bottom .legal-note {
    font-size: 12px;
    line-height: 1.45;
    color: #6b7280;
}

.left-bottom h1 {
    margin: 0 0 18px;
    font-size: 26px;
    line-height: 1.22;
    font-weight: 700;
    color: #1e2b4a;
    letter-spacing: -0.4px;
    position: relative;
    padding-bottom: 12px;
}

.left-bottom h1::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    background: linear-gradient(90deg, #6b7bd6 0%, #8a6fd1 100%);
    border-radius: 999px;
    margin-top: 12px;
}

.left-bottom p {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.75;
    color: #4b5563;
    max-width: 760px;
}

.left-bottom ul {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    max-width: 760px;
}

.left-bottom li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 22px;
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
}

.left-bottom li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6b7bd6;
}

.right {
    background: linear-gradient(135deg, #007dc6 0%, #da2128 100%);
    padding: 34px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.form-card {
    width: 100%;
    max-width: 500px;
    background: #fff;
    border: 1px solid #d8d8d8;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.10);
    padding: 28px 26px 24px;
}

.form-heading {
    text-align: center;
    margin: 0 0 8px;
    font-size: 34px;
    line-height: 1.15;
    font-weight: 400;
    color: #2b2b2b;
}

.form-subtitle {
    text-align: center;
    margin: 0 0 22px;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.alert-box {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 8px;
    background: #fff4f4;
    color: #b42318;
    border: 1px solid #f3c7c7;
    font-size: 14px;
    line-height: 1.5;
}

.alert-box div + div {
    margin-top: 6px;
}

.appointment-form h3 {
    display: none;
}

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

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

.field-label {
    display: block;
    margin: 0 0 7px;
    font-weight: 600;
    color: #444;
    font-size: 14px;
}

.appointment-form input,
.appointment-form select {
    width: 100%;
    margin-bottom: 0;
    height: 46px;
    padding: 11px 12px;
    border: 1px solid #d5d8de;
    border-radius: 8px;
    font-size: 14px;
    color: #222;
    background: #fff;
    outline: none;
    box-shadow: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.appointment-form input:focus,
.appointment-form select:focus {
    border-color: #5d6fd1;
    box-shadow: 0 0 0 3px rgba(93, 111, 209, 0.12);
}

.select-list {
    margin: 0;
}

.checkbox-area {
    margin-top: 18px;
    padding-top: 4px;
}

.form-check {

    margin: 0 0 14px;
    padding: 12px 12px 10px;
    border: 1px solid #e2e5eb;
    border-radius: 10px;
    background: #fafbfc;
}

.form-check label {
    margin: 0;
    font-weight: 400;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    line-height: 1.5;
    color: #4a4a4a;
}

.form-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 2px 0 0;
    flex: 0 0 16px;
    padding: 0;
    border-radius: 4px;
    box-shadow: none;
}

.form-submit {
    margin-top: 18px;
}

.form-submit p {
    margin: 0;
}

.appointment-form .submit {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 8px;
    background: #1a73e8;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.2px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(26, 115, 232, 0.22);
    transition: transform 0.12s ease, opacity 0.12s ease;
}

.appointment-form .submit:hover {
    background: #155dc1;
    opacity: 1;
}

.appointment-form .submit:active {
    transform: translateY(1px);
}

@media (max-width: 1100px) {
    .left-bottom {
        padding: 32px 34px 38px;
    }

    .right {
        padding: 26px;
    }

    .form-card {
        max-width: 540px;
    }
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .right {
        padding: 22px 16px 28px;
    }

    .left-bottom {
        padding: 30px 24px 34px;
    }

    .left-bottom h1 {
        font-size: 23px;
    }

    .left-bottom p,
    .left-bottom li {
        font-size: 14px;
    }
}

@media (max-width: 640px) {
    .topbar {
        height: 56px;
    }

    .topbar-logo {
        max-height: 56px;
        max-width: 210px;
    }

    .form-card {
        padding: 20px 16px 18px;
    }

    .form-heading {
        font-size: 28px;
    }

    .left-bottom {
        padding: 24px 16px 28px;
    }

    .left-bottom h1 {
        font-size: 21px;
        line-height: 1.25;
    }

    .left-bottom h1::after {
        width: 52px;
        margin-top: 10px;
    }

    .left-bottom p + p {
        margin-top: 14px;
    }

    .left-bottom p,
    .left-bottom li {
        font-size: 14px;
        line-height: 1.65;
    }

    .left-bottom .legal-note {
        font-size: 10.5px;
        line-height: 1.4;
    }

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

    .appointment-form input,
    .appointment-form select {
        height: 44px;
    }

    .appointment-form .submit {
        height: 46px;
    }
}