:root {
    --u-ink: #302a34;
    --u-muted: #8c8490;
    --u-line: #e7e2e8;
    --u-pink: #d83276;
    --u-pink-soft: #fff1f6;
    --u-navy: #25394f;
    --u-green: #14936d;
}

* { box-sizing: border-box; }

.utility-page {
    color: var(--u-ink);
    background: radial-gradient(circle at 90% 8%, rgba(225,61,126,.08), transparent 24%), #f6f7fa;
}

.utility-page .site-header { position: relative; }
.utility-page .site-header__inner { margin-top: 8px; }
.page-header-note { margin-left: auto; color: #8a828e; font-size: 9px; }

.page-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    color: #a098a4;
    font-size: 9px;
}

.page-breadcrumbs a { color: #77707b; text-decoration: none; }
.page-breadcrumbs strong { color: #4c4550; }

.page-kicker {
    color: #c52d6b;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.contact-hero,
.contact-workspace,
.contact-geography,
.map-workspace,
.map-info {
    border: 1px solid var(--u-line);
    border-radius: 19px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 12px 34px rgba(45,38,52,.06);
}

.contact-hero {
    display: grid;
    grid-template-columns: minmax(0,1fr) 300px;
    overflow: hidden;
}

.contact-hero > div {
    padding: 35px;
    background: radial-gradient(circle at 95% 0%, rgba(225,61,126,.1), transparent 34%);
}

.contact-hero h1,
.map-title h1 {
    margin: 8px 0 10px;
    font-family: Georgia,"Times New Roman",serif;
    font-size: clamp(38px,4vw,56px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -.045em;
}

.contact-hero > div > p,
.map-title p {
    max-width: 720px;
    margin: 0;
    color: #746c78;
    font-size: 11px;
    line-height: 1.65;
}

.contact-hero__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 19px; }
.contact-hero__chips span { padding: 7px 9px; color: #716874; border: 1px solid #e5dfe6; border-radius: 999px; background: rgba(255,255,255,.8); font-size: 8px; }
.contact-hero__chips i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: var(--u-green); }

.contact-hero aside {
    display: grid;
    align-content: center;
    gap: 7px;
    padding: 28px;
    color: #fff;
    background: var(--u-navy);
}

.contact-hero aside span { color: rgba(255,255,255,.6); font-size: 8px; text-transform: uppercase; }
.contact-hero aside strong { font-family: Georgia,"Times New Roman",serif; font-size: 29px; font-weight: 500; }
.contact-hero aside p { margin: 5px 0 0; color: rgba(255,255,255,.67); font-size: 9px; line-height: 1.55; }

.contact-topics {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 8px;
    margin-top: 11px;
}

.contact-topics article {
    display: flex;
    gap: 11px;
    padding: 16px;
    border: 1px solid var(--u-line);
    border-radius: 13px;
    background: #fff;
}

.contact-topics article > span { display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; color: #c72e6c; border-radius: 10px; background: var(--u-pink-soft); }
.contact-topics small { color: #a098a3; font-size: 7px; text-transform: uppercase; }
.contact-topics h2 { margin: 4px 0 5px; font-size: 11px; }
.contact-topics p { margin: 0; color: #7d7581; font-size: 8px; line-height: 1.5; }

.contact-workspace {
    display: grid;
    grid-template-columns: minmax(0,1fr) 330px;
    gap: 0;
    margin-top: 11px;
    overflow: hidden;
}

.contact-form { padding: 27px; }
.contact-form header h2, .contact-faq h2, .contact-geography h2, .location-dialog h2 { margin: 5px 0 6px; font-family: Georgia,"Times New Roman",serif; font-size: 29px; font-weight: 500; letter-spacing: -.03em; }
.contact-form header p { margin: 0; color: #918995; font-size: 8px; }

.contact-form__type { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.contact-form__type button { padding: 8px 10px; color: #706873; border: 1px solid #e4dfe6; border-radius: 8px; background: #fff; font-size: 8px; cursor: pointer; }
.contact-form__type button.is-active { color: #fff; border-color: var(--u-pink); background: var(--u-pink); }

.contact-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-top: 16px; }
.contact-form label { display: grid; gap: 6px; }
.contact-form label > span, .contact-captcha > div > span { color: #5f5763; font-size: 8px; font-weight: 750; }
.contact-form__wide { grid-column: 1 / -1; }
.contact-form input, .contact-form textarea, .contact-captcha input, .location-dialog input { width: 100%; padding: 12px 13px; color: #3c3540; border: 1px solid #e3dde5; border-radius: 10px; outline: 0; background: #faf9fb; font: 10px Manrope,Arial,sans-serif; }
.contact-form input:focus, .contact-form textarea:focus, .contact-captcha input:focus, .location-dialog input:focus { border-color: #e5a4bf; background: #fff; box-shadow: 0 0 0 3px rgba(216,50,118,.07); }
.contact-form textarea { resize: vertical; }

.contact-captcha { display: grid; grid-template-columns: 1.25fr 1fr auto; gap: 9px; align-items: end; margin-top: 12px; }
.contact-captcha > div { display: grid; gap: 6px; }
.contact-captcha__image { display: grid; place-items: center; min-height: 43px; color: #fff; border-radius: 9px; background: repeating-linear-gradient(-35deg,#25394f 0 12px,#314b65 12px 24px); font-size: 17px; font-weight: 800; letter-spacing: .18em; }
.contact-captcha > button { width: 43px; height: 43px; color: #6d6571; border: 1px solid #e4dfe6; border-radius: 9px; background: #fff; font-size: 18px; cursor: pointer; }

.contact-form footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 17px; padding-top: 15px; border-top: 1px solid #ece8ed; }
.contact-form footer p { max-width: 430px; margin: 0; color: #9a929d; font-size: 7px; line-height: 1.5; }
.contact-form footer button { display: flex; align-items: center; gap: 18px; min-height: 43px; padding: 0 14px; color: #fff; border: 0; border-radius: 9px; background: #c65380; font-size: 9px; font-weight: 800; cursor: pointer; }

.contact-faq { padding: 27px 22px; border-left: 1px solid var(--u-line); background: linear-gradient(145deg,#fff,#fff7fa); }
.contact-faq details { border-bottom: 1px solid #e9e4ea; }
.contact-faq summary { padding: 13px 0; font-size: 9px; font-weight: 750; cursor: pointer; }
.contact-faq details p { margin: -3px 0 13px; color: #756d79; font-size: 8px; line-height: 1.55; }
.contact-faq__notice { display: flex; gap: 9px; margin-top: 17px; padding: 11px; border: 1px solid #efd4a5; border-radius: 11px; background: #fff8ea; }
.contact-faq__notice > b { display: grid; place-items: center; flex: 0 0 auto; width: 27px; height: 27px; color: #fff; border-radius: 50%; background: #e5a025; }
.contact-faq__notice p { display: grid; gap: 3px; margin: 0; }
.contact-faq__notice strong { font-size: 8px; }
.contact-faq__notice span { color: #887456; font-size: 7px; line-height: 1.45; }

.contact-geography { display: grid; grid-template-columns: 310px 1fr; gap: 30px; margin-block: 11px 35px; padding: 24px; }
.contact-geography p { margin: 8px 0 0; color: #7b737f; font-size: 8px; line-height: 1.55; }
.contact-geography > div:last-child { display: flex; flex-wrap: wrap; align-content: center; gap: 7px; }
.contact-geography a { padding: 8px 10px; color: #665e69; border: 1px solid #e6e1e7; border-radius: 8px; background: #faf9fb; font-size: 8px; text-decoration: none; }

/* Map */
.map-title { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.map-title h1 { font-size: clamp(36px,3.6vw,50px); }
.map-title > div:last-child { display: grid; justify-items: end; padding-bottom: 5px; }
.map-title > div:last-child strong { color: #c52d6b; font-family: Georgia,"Times New Roman",serif; font-size: 34px; font-weight: 500; }
.map-title > div:last-child span { color: #948c97; font-size: 7px; }

.map-filters {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 2.3fr;
    gap: 7px;
    margin-top: 16px;
    padding: 7px;
    border: 1px solid var(--u-line);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(44,37,50,.06);
}

.map-filters > button { position: relative; display: grid; gap: 3px; min-height: 51px; padding: 9px 37px 9px 12px; color: #3e3742; border: 1px solid #ebe6ec; border-radius: 10px; background: #faf9fb; text-align: left; cursor: pointer; }
.map-filters > button small { color: #9a929e; font-size: 6px; text-transform: uppercase; }
.map-filters > button strong { font-size: 9px; }
.map-filters > button span { position: absolute; top: 50%; right: 11px; color: #c72e6c; transform: translateY(-50%); }

.map-filter-chips { display: flex; align-items: center; justify-content: flex-end; gap: 4px; overflow-x: auto; }
.map-filter-chips button { flex: 0 0 auto; padding: 8px 9px; color: #756d79; border: 0; border-radius: 8px; background: transparent; font-size: 7px; font-weight: 750; cursor: pointer; }
.map-filter-chips button.is-active { color: #fff; background: #c65380; }

.map-workspace {
    display: grid;
    grid-template-columns: 310px minmax(0,1fr);
    height: 690px;
    margin-block: 10px;
    overflow: hidden;
}

.map-results { display: grid; grid-template-rows: auto minmax(0,1fr); border-right: 1px solid var(--u-line); background: #fff; }
.map-results > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px; border-bottom: 1px solid var(--u-line); }
.map-results > header div { display: grid; gap: 3px; }
.map-results > header span { color: #9b939e; font-size: 6px; text-transform: uppercase; }
.map-results > header strong { font-size: 10px; }
.map-results > header button { color: #8b838f; border: 0; background: transparent; font-size: 7px; cursor: pointer; }
.map-results__list { overflow-y: auto; }
.map-results__list article { display: grid; grid-template-columns: 78px 1fr; gap: 10px; padding: 10px; border-bottom: 1px solid #ece8ed; cursor: pointer; transition: background .18s ease; }
.map-results__list article:hover, .map-results__list article.is-active { background: #fff4f8; }
.map-results__list img { width: 78px; height: 98px; object-fit: cover; object-position: center top; border-radius: 9px; }
.map-results__list article > div { min-width: 0; padding-top: 3px; }
.map-results__list article > div > span { display: flex; justify-content: space-between; gap: 6px; }
.map-results__list strong { font-family: Georgia,"Times New Roman",serif; font-size: 14px; font-weight: 500; }
.map-results__list i { color: var(--u-green); font-size: 6px; font-style: normal; white-space: nowrap; }
.map-results__list p { margin: 7px 0; overflow: hidden; color: #8a828e; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.map-results__list small { color: #938b96; font-size: 7px; }
.map-results__list b { color: #bd2864; font-size: 9px; }

.intim-map {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(rgba(55,93,105,.07) 1px, transparent 1px),
        linear-gradient(90deg,rgba(55,93,105,.07) 1px, transparent 1px),
        #e1eee7;
    background-size: 38px 38px;
}

.intim-map__water { position: absolute; top: -100px; left: 42%; width: 120px; height: 900px; background: #c8e3ed; transform: rotate(14deg); }
.intim-map__road { position: absolute; height: 12px; border: 3px solid rgba(255,255,255,.84); border-radius: 999px; background: #b7c6cb; }
.road-one { top: 150px; left: -70px; width: 700px; transform: rotate(-16deg); }
.road-two { top: 350px; right: -80px; width: 760px; transform: rotate(20deg); }
.road-three { bottom: 100px; left: 30px; width: 850px; transform: rotate(-4deg); }
.road-four { top: 20px; right: 180px; width: 600px; transform: rotate(72deg); }
.map-district { position: absolute; color: rgba(59,79,75,.55); font-size: 9px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.district-one { top: 90px; left: 90px; }.district-two { top: 190px; right: 110px; }.district-three { bottom: 110px; left: 140px; }.district-four { bottom: 230px; right: 80px; }

.map-marker { position: absolute; z-index: 4; width: 50px; height: 50px; padding: 3px; border: 3px solid #fff; border-radius: 50% 50% 50% 10px; background: var(--u-pink); box-shadow: 0 8px 20px rgba(55,38,61,.24); cursor: pointer; transform: rotate(-45deg); }
.map-marker img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; transform: rotate(45deg); }
.marker-one { top: 120px; left: 23%; }.marker-two { top: 255px; left: 52%; }.marker-three { bottom: 130px; right: 18%; }.marker-four { top: 370px; left: 18%; }
.map-cluster { position: absolute; z-index: 3; display: grid; place-items: center; width: 40px; height: 40px; color: #fff; border: 4px solid rgba(255,255,255,.82); border-radius: 50%; background: #6f5d78; box-shadow: 0 7px 17px rgba(39,30,43,.2); font-size: 9px; font-weight: 800; cursor: pointer; }
.cluster-one { top: 80px; right: 16%; }.cluster-two { bottom: 80px; left: 44%; }.cluster-three { top: 310px; right: 8%; }
.map-controls { position: absolute; z-index: 5; top: 14px; right: 14px; display: grid; overflow: hidden; border: 1px solid #ddd7df; border-radius: 10px; background: #fff; box-shadow: 0 7px 20px rgba(43,35,48,.12); }
.map-controls button { width: 38px; height: 36px; color: #5c5560; border: 0; border-bottom: 1px solid #e9e4ea; background: #fff; cursor: pointer; }
.map-controls button:last-child { border-bottom: 0; }

.map-popup { position: absolute; z-index: 10; top: 95px; left: 50%; display: grid; grid-template-columns: 150px 1fr; width: 390px; overflow: hidden; border: 1px solid rgba(255,255,255,.8); border-radius: 16px; background: #fff; box-shadow: 0 20px 50px rgba(35,29,39,.25); transform: translateX(-50%); }
.map-popup[hidden] { display: none !important; }
.map-popup > button { position: absolute; z-index: 3; top: 8px; right: 8px; width: 30px; height: 30px; color: #5f5763; border: 0; border-radius: 9px; background: rgba(255,255,255,.87); cursor: pointer; }
.map-popup > img { width: 150px; height: 230px; object-fit: cover; object-position: center top; }
.map-popup > div { padding: 17px; }
.map-popup > div > span { color: var(--u-green); font-size: 7px; font-weight: 800; }
.map-popup h2 { margin: 6px 0 4px; font-family: Georgia,"Times New Roman",serif; font-size: 22px; font-weight: 500; }
.map-popup p { margin: 0; color: #8d8590; font-size: 7px; }
.map-popup dl { margin: 13px 0; }
.map-popup dl div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid #ece8ed; }
.map-popup dt { color: #948c97; font-size: 7px; }.map-popup dd { margin: 0; font-size: 8px; font-weight: 800; }
.map-popup a { color: #bd2864; font-size: 8px; font-weight: 800; text-decoration: none; }
.map-caption { position: absolute; z-index: 5; right: 14px; bottom: 14px; display: flex; gap: 9px; align-items: center; padding: 10px 12px; border-radius: 11px; background: rgba(255,255,255,.89); box-shadow: 0 8px 22px rgba(40,32,45,.11); backdrop-filter: blur(9px); }
.map-caption > span { color: var(--u-pink); font-size: 18px; }.map-caption p { display: grid; gap: 2px; margin: 0; }.map-caption strong { font-size: 8px; }.map-caption small { color: #968e99; font-size: 6px; }

.map-info { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; margin-bottom: 35px; overflow: hidden; }
.map-info article { display: flex; gap: 11px; padding: 18px; border-right: 1px solid var(--u-line); }
.map-info article:last-child { border-right: 0; }
.map-info article > span { display: grid; place-items: center; flex: 0 0 auto; width: 30px; height: 30px; color: #fff; border-radius: 9px; background: #c65380; font-size: 9px; font-weight: 800; }
.map-info h2 { margin: 0 0 4px; font-size: 10px; }.map-info p { margin: 0; color: #817985; font-size: 8px; line-height: 1.5; }

.location-dialog-overlay { position: fixed; z-index: 110; inset: 0; background: rgba(35,30,38,.57); backdrop-filter: blur(8px); }
.location-dialog-overlay[hidden] { display: none !important; }
.location-dialog { position: fixed; z-index: 111; top: 50%; left: 50%; width: min(520px,calc(100% - 24px)); padding: 24px; visibility: hidden; border-radius: 18px; opacity: 0; background: #fff; box-shadow: 0 30px 80px rgba(30,25,33,.3); transform: translate(-50%,-47%) scale(.98); pointer-events: none; transition: .2s ease; }
.location-dialog.is-open { visibility: visible; opacity: 1; transform: translate(-50%,-50%) scale(1); pointer-events: auto; }
.location-dialog > button { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; color: #746c78; border: 1px solid var(--u-line); border-radius: 10px; background: #faf9fb; font-size: 20px; cursor: pointer; }
.location-dialog input { margin-top: 14px; }
.location-dialog > div { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 9px; }
.location-dialog > div button { padding: 10px; color: #665e69; border: 1px solid var(--u-line); border-radius: 8px; background: #faf9fb; font-size: 8px; text-align: left; cursor: pointer; }

@media (max-width: 1050px) {
    .contact-topics { grid-template-columns: 1fr 1fr; }
    .map-filters { grid-template-columns: repeat(3,1fr); }
    .map-filter-chips { grid-column: 1 / -1; justify-content: flex-start; }
    .map-workspace { grid-template-columns: 270px minmax(0,1fr); }
}

@media (max-width: 820px) {
    .page-header-note { display: none; }
    .contact-hero { grid-template-columns: 1fr; }
    .contact-workspace { grid-template-columns: 1fr; }
    .contact-faq { border-top: 1px solid var(--u-line); border-left: 0; }
    .contact-geography { grid-template-columns: 1fr; }
    .map-workspace { grid-template-columns: 1fr; height: auto; }
    .map-results { max-height: 350px; border-right: 0; border-bottom: 1px solid var(--u-line); }
    .intim-map { height: 600px; }
    .map-info { grid-template-columns: 1fr; }
    .map-info article { border-right: 0; border-bottom: 1px solid var(--u-line); }
}

@media (max-width: 560px) {
    .page-breadcrumbs { overflow-x: auto; white-space: nowrap; }
    .contact-hero > div, .contact-hero aside { padding: 23px 18px; }
    .contact-topics { grid-template-columns: 1fr; }
    .contact-form, .contact-faq { padding: 20px 16px; }
    .contact-form__grid { grid-template-columns: 1fr; }
    .contact-form__wide { grid-column: auto; }
    .contact-captcha { grid-template-columns: 1fr auto; }
    .contact-captcha > div { grid-column: 1 / -1; }
    .contact-form footer { align-items: stretch; flex-direction: column; }
    .contact-form footer button { justify-content: center; }
    .map-title { align-items: flex-start; flex-direction: column; }
    .map-title > div:last-child { display: none; }
    .map-filters { grid-template-columns: 1fr; }
    .map-filter-chips { grid-column: auto; }
    .intim-map { height: 520px; }
    .map-popup { grid-template-columns: 110px 1fr; width: calc(100% - 24px); }
    .map-popup > img { width: 110px; height: 220px; }
    .location-dialog > div { grid-template-columns: 1fr; }
}
