.appointment-page {
    min-height: 100vh;
    padding: 150px 6% 110px;
    background:
        radial-gradient(
            circle at top left,
            rgba(214, 40, 40, 0.11),
            transparent 35%
        ),
        linear-gradient(
            180deg,
            #151515,
            #0d0d0d
        );
}

.appointment-intro {
    max-width: 820px;
    margin: 0 auto 65px;
    text-align: center;
}

.page-label,
.info-label {
    margin-bottom: 12px;
    color: #d62828;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.appointment-intro h2 {
    margin-bottom: 22px;
    font-size: clamp(42px, 6vw, 68px);
    line-height: 1.05;
}

.page-description {
    color: #bdbdbd;
    font-size: 19px;
    line-height: 1.8;
}

.appointment-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(500px, 1.4fr);
    gap: 34px;
    max-width: 1250px;
    margin: 0 auto;
}

/* Information panel */

.appointment-info {
    padding: 38px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.05),
            rgba(255, 255, 255, 0.015)
        );
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
}

.appointment-info h3 {
    margin-bottom: 34px;
    font-size: 30px;
}

.info-step {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 18px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.info-step > span {
    color: rgba(255, 255, 255, 0.18);
    font-size: 26px;
    font-weight: 700;
}

.info-step h4 {
    margin-bottom: 9px;
    font-size: 18px;
}

.info-step p {
    color: #aaa;
    line-height: 1.65;
}

.contact-note {
    margin-top: 32px;
    padding: 22px;
    background: rgba(214, 40, 40, 0.08);
    border-left: 3px solid #d62828;
}

.contact-note p {
    margin-bottom: 8px;
    color: #bbb;
}

.contact-note a {
    color: white;
    font-weight: 700;
    text-decoration: none;
}

.contact-note a:hover {
    color: #ef4444;
}

/* Form card */

.appointment-card {
    padding: 42px;
    background: rgba(24, 24, 24, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.appointment-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.form-group label {
    color: #e6e6e6;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 16px;
    color: white;
    background: #242424;
    border: 1px solid #3a3a3a;
    border-radius: 7px;
    font: inherit;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #7f7f7f;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background: #292929;
    border-color: #d62828;
    box-shadow: 0 0 0 3px rgba(214, 40, 40, 0.14);
}

.form-group select {
    cursor: pointer;
}

.form-group textarea {
    min-height: 180px;
    resize: vertical;
}

.consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #a9a9a9;
    font-size: 14px;
    line-height: 1.55;
    cursor: pointer;
}

.consent input {
    width: 17px;
    height: 17px;
    margin-top: 3px;
    accent-color: #d62828;
    flex-shrink: 0;
}

.submit-button {
    align-self: flex-start;
    padding: 16px 28px;
    color: white;
    background: #d62828;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.submit-button:hover {
    background: #ef233c;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(214, 40, 40, 0.25);
}

/* Active navigation item */

.nav-links a.active {
    color: #ef4444;
}

/* Responsive layout */

@media (max-width: 1050px) {
    .appointment-layout {
        grid-template-columns: 1fr;
    }

    .appointment-info {
        order: 2;
    }

    .appointment-card {
        order: 1;
    }
}

@media (max-width: 700px) {
    .appointment-page {
        padding: 130px 20px 80px;
    }

    .appointment-card,
    .appointment-info {
        padding: 28px 22px;
    }

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

    .submit-button {
        width: 100%;
    }
}

/* Appointment form result message */

.form-status {
    display: none;
    margin-top: 4px;
    padding: 16px 18px;
    color: #d9f7df;
    background: rgba(46, 160, 67, 0.14);
    border: 1px solid rgba(71, 190, 100, 0.45);
    border-radius: 7px;
    line-height: 1.6;
}

.form-status.visible {
    display: block;
}

/* Live appointment form states */

.form-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.submit-button:disabled {
    cursor: wait;
    opacity: 0.72;
    transform: none;
    box-shadow: none;
}

.form-status.success {
    color: #d9f7df;
    background: rgba(46, 160, 67, 0.14);
    border-color: rgba(71, 190, 100, 0.45);
}

.form-status.error {
    color: #ffd9dd;
    background: rgba(214, 40, 40, 0.14);
    border-color: rgba(239, 68, 68, 0.48);
}
