
.city-hero {
    --ch-fill: #111c32;
    --ch-card-radius: 10px;
    --ch-pill-bg: rgba(255, 255, 255, 0.07);
    --ch-pill-border: rgba(255, 255, 255, 0.16);
    --ch-input-border: #e6dac6;
    position: relative;
    z-index: 1;
    overflow: hidden;

    min-height: 602px;
    display: flex;
    align-items: center;
    padding-top: 150px;
    padding-bottom: 70px;
    background-color: var(--ch-fill);
}

.city-hero > .container {
    width: 100%;
}

.city-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    /*background: linear-gradient(*/
    /*        90deg,*/
    /*        rgba(17, 28, 50, 0.9) 0%,*/
    /*        rgba(17, 28, 50, 0.8) 38%,*/
    /*        rgba(17, 28, 50, 0.58) 70%,*/
    /*        rgba(17, 28, 50, 0.45) 100%*/
    /*);*/
}

.city-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 630px) minmax(0, 492px);
    gap: 52px;
    justify-content: space-between;
    align-items: center;
}

/* ---------- Текстова колонка ---------- */

.city-hero__content {
    position: relative;
    color: var(--white);
}

.city-hero__content .breadcrumbs {
    margin-bottom: 24px;
}

.city-hero__content .breadcrumbs a,
.city-hero__content .breadcrumbs .breadcrumb_last {
    color: rgba(255, 255, 255, 0.6);
}

.city-hero__content .breadcrumbs a:hover {
    color: var(--white);
}

.city-hero__top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
}

.city-hero__kicker {
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
    color: #D8C4A3;
    margin: 0;
}

.city-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 16px;
    border: 2px solid #C4C1B51A;
    border-radius: 999px;
    background-color: #1E3C7866;
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    color: var(--white);
    white-space: nowrap;
}

.city-hero__badge:before {
    content: "";
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--light);
}

.city-hero__title,
.city-hero__editor h1,
.city-hero__editor h2 {
    overflow-wrap: break-word;
}

.city-hero__title {
    font-family: "Kharkiv", sans-serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--white);
    margin: 0 0 12px;
}

/* Варіант для дуже довгих заголовків (чекбокс "заголовок меншого стилю") */
.city-hero__title_min {
    font-size: 40px;
}

.city-hero__subtitle {
    max-width: 630px;
    font-size: 18px;
    font-weight: 300;
    line-height: 26px;
    color: rgba(255, 255, 255, 0.78);
    margin: 0 0 24px;
}

.city-hero__subtitle b,
.city-hero__subtitle strong {
    font-weight: 600;
    color: var(--white);
}

/* Редактор (коли місто виводить WYSIWYG замість окремих полів) */
.city-hero__editor {
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 30px;
}

/* Заголовки з редактора повторюють стилі окремих полів вище */
.city-hero__editor h1,
.city-hero__editor h2 {
    font-family: "Kharkiv", sans-serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--white);
    margin: 0 0 12px;
}

.city-hero__editor h3 {
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
    color: #d8c4a3;
    margin: 0 0 10px;
}

.city-hero__editor p {
    font-size: 18px;
    font-weight: 300;
    line-height: 26px;
    margin: 0 0 14px;
}

.city-hero__editor b,
.city-hero__editor strong {
    font-weight: 600;
    color: var(--white);
}

/* ---------- Репітер переваг ---------- */

.city-hero__benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.city-hero__benefit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 8px 16px;
    border: 1px solid #D8C4A380;
    border-radius: 999px;
    background-color: #FFFFFF1A;
    font-size: 11px;
    font-weight: 500;
    color: #fff;
}

.city-hero__benefit:before {
    content: "";
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--light);
}

/* ---------- Картка форми ---------- */

.city-hero__form {
    position: relative;
    padding: 32px;
    border-radius: var(--ch-card-radius);
    background-color: var(--white);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.city-hero__form-title {
    font-family: "Manrope", sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 28px;
    color: #1B1B1B;
    text-align: center;
    margin: 0 0 16px;
    letter-spacing: 0.07px;
}

.city-hero__form-text {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #4A5565;
    text-align: center;
    margin: 0 0 16px;
    letter-spacing: -0.15px;
}

.city-hero__form .form__wrap .input__group {
    margin-bottom: 16px;
}

/* У новому дизайні лейбли замінені плейсхолдерами */
.city-hero__form .form__wrap .input__group .label {
    display: none;
}

.city-hero__form .form__wrap .input__group select,
.city-hero__form .form__wrap .input__group .order__input {
    height: 52px;
    padding-left: 20px;
    border: 1px solid var(--ch-input-border);
    border-radius: 8px;
    font-size: 16px;
    color: var(--dark);
}

.city-hero__form .form__wrap .input__group .order__input::placeholder {
    font-size: 16px;
    color: #9aa1ad;
}

.city-hero__form .form__wrap .input__group .order__input:hover {
    border-color: var(--light_hover);
}

.city-hero__form .form__wrap .input__group .order__input:focus {
    border-color: var(--ch-fill);
}

.city-hero__form .form__wrap button.btn,
.city-hero__form .form__wrap a.btn {
    width: 100%;
    height: 50px;
    margin-top: 2px;
    margin-bottom: 16px;
    padding: 0 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    background-color: var(--ch-fill);
}

.city-hero__form .form__wrap button.btn:hover,
.city-hero__form .form__wrap a.btn:hover {
    background-color: var(--dark);
}

.city-hero__form .form__wrap .form__privacy {
    font-size: 12px;
    line-height: 1.45;
    color: var(--dark);
}

.city-hero__form .form__wrap .form__privacy:last-child {
    margin-bottom: 0;
}

.city-hero__form .form__wrap .form__privacy a{
    color: var(--dark);
    text-decoration: underline;
}

.city-hero__form .wpcf7 form .wpcf7-response-output {
    margin: 10px 0 0;
    font-size: 13px;
}

/* ---------- Адаптив ---------- */

@media screen and (max-width: 1199px) {
    .city-hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
        gap: 52px;
    }

    .city-hero__title,
    .city-hero__title_min,
    .city-hero__editor h1,
    .city-hero__editor h2 {
        font-size: 36px;
    }

    .city-hero__kicker,
    .city-hero__editor h3 {
        font-size: 20px;
    }

    .city-hero__form {
        padding: 28px 24px;
    }

    .city-hero__form-title {
        font-size: 22px;
    }
}

@media screen and (max-width: 991px) {
    .city-hero {
        /* на мобільному висоту задає контент */
        min-height: 0;
        padding-top: 120px;
        padding-bottom: 40px;
    }

    /*.city-hero:before {*/
    /*    background: linear-gradient(*/
    /*            180deg,*/
    /*            rgba(17, 28, 50, 0.94) 0%,*/
    /*            rgba(17, 28, 50, 0.86) 55%,*/
    /*            rgba(17, 28, 50, 0.94) 100%*/
    /*    );*/
    /*}*/

    .city-hero__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .city-hero__content .breadcrumbs {
        margin-bottom: 16px;
    }

    .city-hero__top {
        gap: 8px;
        margin-bottom: 20px;
    }

    .city-hero__kicker,
    .city-hero__editor h3 {
        font-size: 16px;
    }

    .city-hero__badge {
        padding: 4px 12px;
        font-size: 12px;
        line-height: 18px;
    }

    .city-hero__title,
    .city-hero__title_min,
    .city-hero__editor h1,
    .city-hero__editor h2 {
        font-size: 28px;
        margin-bottom: 14px;
    }

    .city-hero__subtitle,
    .city-hero__editor p {
        font-size: 15px;
        line-height: 23px;
        margin-bottom: 20px;
    }

    .city-hero__benefits {
        gap: 8px;
    }

    .city-hero__benefit {
        min-height: 30px;
        padding: 6px 14px;
        font-size: 12px;
    }

    .city-hero__form {
        max-width: 520px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 575px) {
    .city-hero {
        padding-top: 100px;
    }

    .city-hero__kicker,
    .city-hero__editor h3 {
        font-size: 14px;
        letter-spacing: -0.15px;
    }

    .city-hero__title,
    .city-hero__title_min,
    .city-hero__editor h1,
    .city-hero__editor h2 {
        font-size: 20px;
        line-height: 32px;
    }

    .city-hero__subtitle,
    .city-hero__editor p {
        font-size: 14px;
        line-height: 22px;
    }

    .city-hero__benefit {
        padding: 6px 13px;
        font-size: 10px;
    }

    .city-hero__form {
        max-width: none;
        padding: 24px;
    }

    .city-hero__form-title {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .city-hero__form-text {
        font-size: 14px;
    }

    .city-hero__form .form__wrap .input__group {
        margin-bottom: 12px;
    }

    .city-hero__form .form__wrap .input__group select,
    .city-hero__form .form__wrap .input__group .order__input,
    .city-hero__form .form__wrap button.btn {
        height: 48px;
        font-size: 15px;
    }

    .city-hero__form .form__wrap .input__group .order__input::placeholder {
        font-size: 15px;
    }
}