.appointment-conversion {
    padding: 88px 0 96px;
    background: var(--body-background);
}

.appointment-conversion__intro {
    max-width: 860px;
    margin: 0 0 34px;
}

.appointment-conversion__kicker,
.appointment-form-card__kicker,
.appointment-sidebar__kicker,
.appointment-team-choice__kicker {
    margin: 0 0 10px;
    color: var(--accent-color);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.18em;
}

.appointment-conversion__title {
    max-width: 760px;
    margin: 0 0 16px;
    color: var(--primary-color);
    font-size: clamp(36px, 4.1vw, 54px);
    line-height: 1.02;
    letter-spacing: -0.035em;
}

.appointment-conversion__lead {
    max-width: 800px;
    color: #556071;
    font-size: 18px;
    line-height: 1.65;
}

.appointment-process {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.appointment-process__step {
    min-width: 0;
    padding: 20px;
    border: 1px solid rgba(35, 47, 100, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
}

.appointment-process__number {
    display: inline-flex;
    width: 30px;
    height: 30px;
    margin-bottom: 14px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--accent-color);
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 800;
}

.appointment-process__step strong,
.appointment-process__step > span:last-child {
    display: block;
}

.appointment-process__step strong {
    margin-bottom: 6px;
    color: var(--primary-color);
    font-size: 17px;
    line-height: 1.25;
}

.appointment-process__step > span:last-child {
    color: #667080;
    font-size: 14px;
    line-height: 1.5;
}

.appointment-conversion__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(310px, 0.8fr);
    gap: 22px;
    align-items: stretch;
}

.appointment-form-card,
.appointment-emergency,
.appointment-contact-card,
.appointment-team-choice {
    border-radius: 22px;
}

.appointment-form-card {
    padding: 42px;
    background: #ffffff;
    border: 1px solid rgba(35, 47, 100, 0.1);
    box-shadow: 0 18px 50px rgba(35, 47, 100, 0.07);
}

.appointment-form-card__heading {
    margin-bottom: 26px;
}

.appointment-form-card__heading h2 {
    margin: 0 0 8px;
    color: var(--primary-color);
    font-size: 30px;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.appointment-form-card__heading > p:last-child {
    color: #6e7785;
    font-size: 14px;
}

.appointment-alert {
    margin-bottom: 24px;
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.5;
}

.appointment-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.appointment-form__field {
    min-width: 0;
}

.appointment-form__field--wide {
    grid-column: 1 / -1;
}

.appointment-form__label {
    display: block;
    margin: 0 0 8px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.appointment-form__label > span[aria-hidden="true"] {
    color: #b42318;
}

.appointment-form__optional {
    color: #7d8490;
    font-weight: 500;
}

.appointment-form .form-control {
    width: 100%;
    min-height: 54px;
    padding: 13px 15px;
    border: 1px solid rgba(35, 47, 100, 0.18);
    border-radius: 12px;
    background: #fffaf8;
    color: #253264;
    font-size: 16px;
    line-height: 1.4;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.appointment-form textarea.form-control {
    min-height: 132px;
    resize: vertical;
}

.appointment-form .form-control::placeholder {
    color: #8a909a;
    opacity: 1;
}

.appointment-form .form-control:focus {
    border-color: var(--accent-color);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(15, 183, 158, 0.12);
}

.appointment-form .form-control.is-invalid {
    border-color: #b42318;
}

.appointment-form .invalid-feedback {
    margin-top: 7px;
    font-size: 13px;
    line-height: 1.4;
}

.appointment-form__actions {
    display: flex;
    margin-top: 24px;
    align-items: center;
    gap: 18px;
}

.appointment-submit {
    min-height: 52px;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 13px 22px;
    border: 0;
    border-radius: 999px;
    background: var(--accent-color);
    color: var(--primary-color);
    font-family: var(--default-font);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.appointment-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 9px 24px rgba(15, 183, 158, 0.22);
}

.appointment-submit:focus-visible,
.appointment-emergency__call:focus-visible,
.appointment-whatsapp:focus-visible,
.appointment-team-choice__link:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

.appointment-form__note {
    max-width: 430px;
    color: #6b7480;
    font-size: 13px;
    line-height: 1.5;
}

.appointment-sidebar {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 18px;
}

.appointment-emergency {
    padding: 30px;
    background: var(--primary-color);
    color: #ffffff;
}

.appointment-emergency .appointment-sidebar__kicker {
    color: var(--accent-color);
}

.appointment-emergency h2,
.appointment-contact-card h2 {
    margin: 0 0 12px;
    font-size: 27px;
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.appointment-emergency h2 {
    color: #ffffff;
}

.appointment-emergency > p:not(.appointment-sidebar__kicker) {
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.6;
}

.appointment-emergency__call {
    display: flex;
    width: 100%;
    min-height: 68px;
    align-items: center;
    gap: 13px;
    padding: 13px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    background: var(--accent-color);
    color: var(--primary-color) !important;
    text-decoration: none !important;
}

.appointment-emergency__call > i {
    font-size: 21px;
}

.appointment-emergency__call span,
.appointment-emergency__call small,
.appointment-emergency__call strong {
    display: block;
}

.appointment-emergency__call small {
    margin-bottom: 2px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.appointment-emergency__call strong {
    font-size: 17px;
    line-height: 1.2;
}

.appointment-contact-card {
    flex: 1 1 auto;
    padding: 30px;
    border: 1px solid rgba(35, 47, 100, 0.1);
    background: #ffffff;
}

.appointment-contact-card h2 {
    color: var(--primary-color);
}

.appointment-contact-card__lead {
    margin-bottom: 18px;
    color: #667080;
    font-size: 15px;
    line-height: 1.55;
}

.appointment-whatsapp {
    display: inline-flex;
    width: 100%;
    min-height: 50px;
    margin-bottom: 22px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 16px;
    border-radius: 999px;
    background: #075e54;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 750;
    text-decoration: none !important;
}

.appointment-contact-list {
    margin: 0;
}

.appointment-contact-list > div {
    padding: 13px 0;
    border-top: 1px solid rgba(35, 47, 100, 0.09);
}

.appointment-contact-list dt {
    display: flex;
    margin-bottom: 4px;
    align-items: center;
    gap: 7px;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.appointment-contact-list dt i {
    color: var(--accent-color);
}

.appointment-contact-list dd {
    margin: 0;
    color: #5f6877;
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.appointment-contact-list a {
    color: var(--primary-color);
    text-decoration: underline;
    text-decoration-color: rgba(35, 47, 100, 0.25);
    text-underline-offset: 3px;
}

.appointment-team-choice {
    display: flex;
    margin-top: 24px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 28px 32px;
    border: 1px solid rgba(35, 47, 100, 0.1);
    background: #feefe9;
}

.appointment-team-choice__content {
    max-width: 780px;
}

.appointment-team-choice__title {
    margin: 0 0 8px;
    color: var(--primary-color);
    font-size: 26px;
    line-height: 1.1;
}

.appointment-team-choice__content > p:last-child {
    color: #626c7a;
    font-size: 15px;
    line-height: 1.55;
}

.appointment-team-choice__link {
    display: inline-flex;
    min-height: 48px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 19px;
    border: 1px solid var(--primary-color);
    border-radius: 999px;
    color: var(--primary-color) !important;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
}

@media (max-width: 991.98px) {
    .appointment-conversion {
        padding: 64px 0 80px;
    }

    .appointment-conversion__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .appointment-sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .appointment-contact-card,
    .appointment-emergency {
        height: 100%;
    }
}

@media (max-width: 767.98px) {
    .appointment-conversion {
        padding: 42px 0 62px;
    }

    .appointment-conversion__intro {
        margin-bottom: 24px;
    }

    .appointment-conversion__kicker,
    .appointment-form-card__kicker,
    .appointment-sidebar__kicker,
    .appointment-team-choice__kicker {
        font-size: 11px;
        letter-spacing: 0.15em;
    }

    .appointment-conversion__title {
        margin-bottom: 12px;
        font-size: 31px;
        line-height: 1.04;
    }

    .appointment-conversion__lead {
        font-size: 15px;
        line-height: 1.55;
    }

    .appointment-process {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
        margin-bottom: 16px;
    }

    .appointment-process__step {
        display: grid;
        grid-template-columns: 26px minmax(0, 1fr);
        column-gap: 10px;
        padding: 10px 13px;
        align-items: start;
    }

    .appointment-process__number {
        width: 26px;
        height: 26px;
        grid-row: 1 / span 2;
        margin: 0;
        font-size: 10px;
    }

    .appointment-process__step strong {
        margin: 0 0 2px;
        font-size: 14px;
    }

    .appointment-process__step > span:last-child {
        font-size: 12px;
        line-height: 1.35;
    }

    .appointment-conversion__grid {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .appointment-form-card {
        order: 2;
        padding: 24px 18px;
        border-radius: 18px;
    }

    .appointment-form-card__heading {
        margin-bottom: 20px;
    }

    .appointment-form-card__heading h2 {
        font-size: 25px;
    }

    .appointment-form__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .appointment-form__field--wide {
        grid-column: auto;
    }

    .appointment-form__actions {
        margin-top: 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .appointment-submit {
        width: 100%;
    }

    .appointment-form__note {
        max-width: none;
    }

    .appointment-sidebar {
        display: contents;
    }

    .appointment-emergency {
        order: 1;
    }

    .appointment-contact-card {
        order: 3;
    }

    .appointment-emergency,
    .appointment-contact-card {
        height: auto;
        padding: 24px 20px;
        border-radius: 18px;
    }

    .appointment-emergency h2,
    .appointment-contact-card h2 {
        font-size: 24px;
    }

    .appointment-team-choice {
        margin-top: 18px;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        padding: 23px 20px;
        border-radius: 18px;
    }

    .appointment-team-choice__title {
        font-size: 24px;
    }

    .appointment-team-choice__link {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .appointment-submit {
        transition: none;
    }
}
