/* ==========================================================================
   Главная — форма заявки (site/layouts/180-form.php). Только var(--es-*).
   ========================================================================== */
body.main-page .home-form {position: relative; overflow: hidden}
body.main-page .home-form::before {content: ""; position: absolute; right: -180px; top: -220px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, var(--es-primary) 0%, rgba(0, 0, 0, 0) 70%); opacity: .45; pointer-events: none}
body.main-page .home-form__container {position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(32px, 6vw, 96px); align-items: center}
body.main-page .home-form__features {display: grid; gap: 14px; margin: 32px 0 0; padding: 0; list-style: none}
body.main-page .home-form__features li {display: flex; align-items: center; gap: 14px; color: rgba(255, 255, 255, .86); font-size: 16px}
body.main-page .home-form__features i {display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #8cc4ea; font-size: 18px}
body.main-page .home-form__contacts {display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .12)}
body.main-page .home-form__contact {color: #fff; font-size: 16px; font-weight: 600}
body.main-page .home-form__contact:hover {color: #8cc4ea}
body.main-page .home-form__contact--phone {font-size: 20px; font-weight: 800}
body.main-page .home-form__contact--muted {width: 100%; color: rgba(255, 255, 255, .6); font-size: 14px; font-weight: 400}

body.main-page .home-form__form {display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 3vw, 40px); border-radius: calc(var(--es-radius) + 4px); background: #fff; color: var(--es-text); box-shadow: 0 30px 60px rgba(0, 0, 0, .3)}
body.main-page .home-form__form-title {margin: 0 0 4px; color: var(--es-heading); font-size: 24px; font-weight: 700}
body.main-page .home-form__field {display: flex; flex-direction: column; gap: 6px; margin: 0}
body.main-page .home-form__field > span {color: var(--es-heading); font-size: 13px; font-weight: 700}
body.main-page .home-form__field em {color: #d64545; font-style: normal}
body.main-page .home-form__field input,
body.main-page .home-form__field textarea {width: 100%; padding: 14px 16px; border: 1px solid var(--es-border); border-radius: var(--es-radius-sm); background: var(--es-surface-alt); color: var(--es-heading); font-size: 15px; line-height: 1.4; transition: border-color .2s, background .2s, box-shadow .2s}
body.main-page .home-form__field textarea {min-height: 92px; resize: vertical}
body.main-page .home-form__field input:focus,
body.main-page .home-form__field textarea:focus {outline: none; border-color: var(--es-primary); background: #fff; box-shadow: 0 0 0 3px var(--es-primary-soft)}
body.main-page .home-form__field .is-invalid {border-color: #d64545; background: #fff5f5}
body.main-page .home-form__confirm {display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: 13px; line-height: 1.45; cursor: pointer}
body.main-page .home-form__confirm input {width: 18px; height: 18px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--es-primary); appearance: auto; -webkit-appearance: auto}
body.main-page .home-form__confirm a {color: var(--es-primary); text-decoration: underline}
body.main-page .home-form__submit {width: 100%; margin-top: 4px}
body.main-page .home-form__submit:disabled {opacity: .6; cursor: wait; transform: none}
body.main-page .home-form__status {min-height: 20px; margin: 0; font-size: 14px}
body.main-page .home-form__status.is-error {color: #c62828}
body.main-page .home-form__status.is-success {color: #2e7d32; font-weight: 600}

@media (max-width: 992px) {
    body.main-page .home-form__container {grid-template-columns: 1fr}
}
