/* Dealer application ----------------------------------------------------- */

.client-dealer-page { padding: clamp(38px, 6vw, 84px) 0 96px; overflow: hidden; background: #f7f6f4; }
.client-dealer-page__stage { display: grid; grid-template-columns: minmax(0, 2fr) minmax(460px, 3fr); align-items: center; min-height: 650px; }

/* The image owns the scene; its dark left edge is intentional copy space. */
.client-dealer-page__visual { position: relative; z-index: 1; min-height: 650px; overflow: hidden; border-radius: 26px 0 0 26px; background: #24211f; color: #fff; }
.client-dealer-page__visual > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; }
.client-dealer-page__visual-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(19, 17, 16, .78) 0%, rgba(19, 17, 16, .4) 48%, rgba(19, 17, 16, .07) 100%), linear-gradient(0deg, rgba(19, 17, 16, .52), transparent 48%); }
.client-dealer-page__visual-content { position: absolute; right: auto; bottom: 0; left: 0; width: min(88%, 480px); padding: clamp(35px, 5vw, 66px); }
.client-dealer-page__eyebrow,
.client-dealer-form-card__head > p { margin: 0 0 15px; color: #f1c4cf; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.client-dealer-page__visual h2 { margin: 0; color: #fff; font-family: 'Phudu', 'Segoe UI', sans-serif; font-size: clamp(37px, 4vw, 59px); font-weight: 600; letter-spacing: -.05em; line-height: 1.06; }
.client-dealer-page__visual-content > p:not(.client-dealer-page__eyebrow) { max-width: 350px; margin: 21px 0 0; color: rgba(255, 255, 255, .78); font-size: 13px; line-height: 1.75; }

/* The glass panel crosses the media seam instead of reading as another card. */
.client-dealer-form-card { position: relative; z-index: 2; margin: 38px 0 38px -72px; padding: clamp(32px, 4.3vw, 58px); border: 1px solid rgba(255, 255, 255, .76); border-radius: 22px; background: rgba(255, 255, 255, .87); box-shadow: 0 24px 60px rgba(27, 27, 31, .15); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); }
.client-dealer-form-card__head { padding-bottom: 23px; margin-bottom: 27px; border-bottom: 1px solid rgba(38, 32, 34, .1); }
.client-dealer-form-card__head > p { color: #a61d55; }
.client-dealer-form-card__head h2 { margin: 0; color: #201e20; font-family: 'Phudu', 'Segoe UI', sans-serif; font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -.04em; line-height: 1.12; }
.client-dealer-form-card__head > span { display: block; max-width: 360px; margin-top: 10px; color: #737078; font-size: 12px; line-height: 1.55; }
.client-dealer-form-card form { width: 100%; }
.client-dealer-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 13px; }
.client-dealer-form-card .client-field { margin-bottom: 17px; }
.client-dealer-form-card label,
.client-dealer-form-card__label { display: block; margin-bottom: 7px; color: #3a363b; font-size: 11px; font-weight: 800; letter-spacing: .015em; }
.client-dealer-form-card label span,
.client-dealer-form-card__label b,
.client-dealer-form-card__footnote b { color: #a61d55; }
.client-dealer-form-card .client-input { min-height: 48px; border: 1px solid transparent; border-radius: 8px; background: #f6f5f4; box-shadow: none; }
.client-dealer-form-card .client-input:hover { background: #f1f0ef; }
.client-dealer-form-card .client-input:focus { border-color: rgba(166, 29, 85, .48); background: #fff; box-shadow: 0 0 0 3px rgba(166, 29, 85, .08); }
.client-dealer-form-card .client-select { width: 100%; min-height: 48px; padding: 0 40px 0 13px; border: 1px solid transparent; border-radius: 8px; background-color: #f6f5f4; color: #3a363b; box-shadow: none; }
.client-dealer-form-card .client-select:hover:not(:disabled) { background-color: #f1f0ef; }
.client-dealer-form-card .client-select:focus { border-color: rgba(166, 29, 85, .48); background-color: #fff; box-shadow: 0 0 0 3px rgba(166, 29, 85, .08); }
.client-dealer-form-card .client-select:disabled { color: #9b969b; cursor: wait; }
.client-dealer-form-card .client-field__hint { margin: 6px 0 0; color: #8b878c; font-size: 10px; line-height: 1.35; }
.client-dealer-form-card .client-field__hint.is-error { color: #b42355; }
.client-dealer-region-retry { display: inline-flex; margin: 5px 0 0; padding: 0; border: 0; background: transparent; color: #a61d55; font: inherit; font-size: 10px; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

.client-dealer-form-card__business { margin-top: 2px; }
.client-dealer-form-card__choices { display: flex; flex-wrap: wrap; gap: 8px; }
.client-dealer-form-card__choices label { position: relative; display: inline-flex; margin: 0; cursor: pointer; }
.client-dealer-form-card__choices input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.client-dealer-form-card__choices span { display: inline-flex; min-height: 34px; align-items: center; padding: 6px 11px; border: 1px solid #e6e1df; border-radius: 999px; background: #fff; color: #5b565c; font-size: 11px; font-weight: 700; transition: border-color .16s ease, background .16s ease, color .16s ease; }
.client-dealer-form-card__choices label:hover span { border-color: #dca2b5; }
.client-dealer-form-card__choices input:checked + span { border-color: #1b1b1f; background: #1b1b1f; color: #fff; }
.client-dealer-form-card__choices input:focus-visible + span { outline: 2px solid #a61d55; outline-offset: 2px; }
.client-dealer-form-card__captcha { min-height: 78px; margin: 2px 0 18px; }
.client-dealer-form-card .client-btn { min-height: 50px; border-radius: 9px; background: #1b1b1f; color: #fff; font-size: 13px; font-weight: 800; }
.client-dealer-form-card .client-btn:hover { background: #a61d55; color: #fff; }
.client-dealer-form-card__footnote { margin: 10px 0 0; color: #8b878c; font-size: 10px; line-height: 1.45; text-align: center; }

@media (max-width: 940px) {
    .client-dealer-page__stage { grid-template-columns: minmax(0, 2fr) minmax(390px, 3fr); }
    .client-dealer-page__visual { min-height: 620px; }
    .client-dealer-form-card { margin-left: -46px; padding: 34px 28px; }
    .client-dealer-page__visual-content { padding: 38px; }
}

@media (max-width: 720px) {
    .client-dealer-page { padding: 25px 0 68px; }
    .client-dealer-page__stage { display: block; min-height: 0; border: 1px solid #e6e1df; border-radius: 20px; background: #fff; overflow: hidden; }
    .client-dealer-page__visual { min-height: 425px; border-radius: 0; }
    .client-dealer-page__visual-content { width: min(88%, 460px); padding: 32px 25px; }
    .client-dealer-page__visual h2 { font-size: 39px; }
    .client-dealer-form-card { margin: 0; padding: 31px 24px 34px; border: 0; border-radius: 0; background: #fff; box-shadow: none; backdrop-filter: none; }
}

@media (max-width: 420px) {
    .client-dealer-form-grid { grid-template-columns: 1fr; }
    .client-dealer-page__visual { min-height: 390px; }
    .client-dealer-page__visual h2 { font-size: 35px; }
    .client-dealer-form-card__captcha { transform: scale(.91); transform-origin: left center; margin-right: -25px; }
}
