/* Hizmet bölgeleri: index + province pages. Tokens from .hb (hurda-blog.css). */

/* Filter */
.hb-filter { margin: 0 0 32px; padding: 18px; border: 1px solid var(--hb-line); border-radius: 18px; background: #FFFFFF; box-shadow: var(--hb-shadow); }
.hb .hb-filter__title { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.hb-filter__fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 10px; align-items: end; }
.hb-filter__field { display: flex; flex-direction: column; gap: 5px; margin: 0; font-size: 12.5px; font-weight: 500; color: var(--hb-muted); }
.hb .hb-filter select { width: 100%; height: 46px; margin: 0; padding: 0 36px 0 14px; border: 1px solid var(--hb-line); border-radius: 12px; background-color: var(--hb-surface); color: var(--hb-ink); font: 400 15px/1 var(--hb-font); box-shadow: none; }
.hb .hb-filter select:focus { outline: none; border-color: var(--hb-accent); background-color: #FFFFFF; box-shadow: 0 0 0 3px var(--hb-accent-soft); }
.hb .hb-filter select:disabled { opacity: .6; cursor: not-allowed; }
.hb .hb-filter .hb-btn { height: 46px; }
.hb-regions .hb-filter { margin-top: -12px; }

/* Index */
.hb-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; padding: 0; }
.hb-stats li { margin: 0; padding: 8px 14px; border-radius: 999px; background: #FFFFFF; border: 1px solid var(--hb-line); font-size: 14px; color: var(--hb-muted); }
.hb-stats strong { color: var(--hb-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.hb-regions { padding-bottom: 88px; }
.hb-regions__search { position: relative; max-width: 360px; margin: 0 0 28px; }
.hb-regions__search .hb-ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--hb-muted); }
.hb .hb-regions__search input { width: 100%; height: 44px; margin: 0; padding: 0 16px 0 40px; border: 1px solid var(--hb-line); border-radius: 999px; background: #FFFFFF; color: var(--hb-ink); font: 400 15px/1 var(--hb-font); box-shadow: none; }
.hb .hb-regions__search input:focus { outline: none; border-color: var(--hb-accent); box-shadow: 0 0 0 3px var(--hb-accent-soft); }
.hb-geo { margin-bottom: 36px; }
.hb .hb-geo__title { display: flex; align-items: baseline; gap: 10px; font-size: 20px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--hb-line); }
.hb-geo__title span { font-size: 13px; font-weight: 400; color: var(--hb-muted); }
.hb-cities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.hb-cities li { margin: 0; }
.hb-cities li[hidden], .hb-geo[hidden] { display: none; }
.hb .hb-cities a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--hb-line); border-radius: 14px; background: #FFFFFF; transition: border-color .15s, box-shadow .15s; }
.hb .hb-cities a:hover { border-color: #BFD8CB; box-shadow: var(--hb-shadow); }
.hb-cities__plate { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--hb-accent-soft); color: var(--hb-accent-ink); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.hb-cities__name { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 15px; font-weight: 500; line-height: 1.25; color: var(--hb-ink); }
.hb-cities__name small { font-size: 12.5px; font-weight: 400; color: var(--hb-muted); }
.hb-cities .hb-ico { color: var(--hb-muted); width: 14px; height: 14px; }

/* Province page */
.hb-region { padding-bottom: 88px; }
.hb .hb-region__pick { display: inline-block; margin-top: 16px; padding: 10px 14px; border-radius: 10px; background: var(--hb-accent-soft); color: var(--hb-accent-ink); font-size: 14px; font-weight: 500; }
.hb-region__pick[hidden] { display: none; }
.hb-region__layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.hb-region__main { min-width: 0; }
.hb-region__block { margin-bottom: 44px; }
.hb .hb-region__block h2 { font-size: 24px; line-height: 1.2; margin: 0 0 16px; }
.hb-region__block-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.hb .hb-region__block-head h2 { margin: 0; }
.hb .hb-region__note { font-size: 13px; color: var(--hb-muted); margin-top: 10px; }
.hb-region .hf-section { border-radius: 16px; }
.hb-region .hf-table thead th { border-top: 0; }
.hb-region__block.hb-prose > * + * { margin-top: 1em; }

.hb-districts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hb-districts li { margin: 0; }
.hb .hb-districts button { width: 100%; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 10px 12px; border: 1px solid var(--hb-line); border-radius: 12px; background: #FFFFFF; color: var(--hb-ink); font: 500 14px/1.3 var(--hb-font); text-align: left; cursor: pointer; transition: border-color .15s, background .15s; box-shadow: none; text-transform: none; letter-spacing: 0; }
.hb .hb-districts button:hover { border-color: var(--hb-accent); background: var(--hb-accent-soft); color: var(--hb-accent-ink); }
.hb-districts small { flex: none; font-size: 12px; font-weight: 400; color: var(--hb-muted); }

.hb-types { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hb-types li { margin: 0; }
.hb .hb-types a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--hb-surface); font-size: 14px; font-weight: 500; color: var(--hb-ink); }
.hb .hb-types a:hover { background: var(--hb-accent-soft); color: var(--hb-accent-ink); }
.hb-types small { color: var(--hb-muted); font-weight: 400; }

.hb-faq__item { border: 1px solid var(--hb-line); border-radius: 14px; margin-bottom: 8px; background: #FFFFFF; }
.hb-faq__item summary { cursor: pointer; list-style: none; padding: 14px 44px 14px 16px; font-weight: 600; font-size: 15.5px; position: relative; }
.hb-faq__item summary::-webkit-details-marker { display: none; }
.hb-faq__item summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--hb-accent); border-bottom: 2px solid var(--hb-accent); transform: rotate(45deg); transition: transform .15s; }
.hb-faq__item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.hb .hb-faq__item p { padding: 0 16px 16px; color: var(--hb-muted); font-size: 15px; line-height: 1.65; }

/* Sidebar */
.hb-region__side { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 16px; }
.admin-bar .hb-region__side { top: 56px; }
.hb-side-card { padding: 20px; border: 1px solid var(--hb-line); border-radius: 18px; background: #FFFFFF; }
.hb .hb-side-card__title { display: flex; align-items: center; gap: 8px; font-size: 18px; margin-bottom: 6px; }
.hb .hb-side-card__text { font-size: 14px; color: var(--hb-muted); margin-bottom: 14px; }
.hb .hb-side-card__note { font-size: 12px; color: #8FA298; margin-top: 12px; }
.hb-side-card--dark { background: var(--hb-ink); border-color: var(--hb-ink); color: #E8EFEB; }
.hb .hb-side-card--dark .hb-side-card__title { color: #FFFFFF; }
.hb-live { width: 9px; height: 9px; border-radius: 50%; background: #3DDC97; box-shadow: 0 0 0 0 rgba(61, 220, 151, .6); animation: hb-pulse 1.8s ease-out infinite; }
@keyframes hb-pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 151, .55); } 80%, 100% { box-shadow: 0 0 0 8px rgba(61, 220, 151, 0); } }
.hb-borsa { list-style: none; margin: 10px 0 0; padding: 0; }
.hb-borsa li { display: grid; grid-template-columns: 1fr auto 64px; align-items: center; gap: 8px; margin: 0; padding: 9px 0; border-top: 1px solid rgba(232, 239, 235, .1); font-size: 13.5px; color: #C9D5CF; }
.hb-borsa strong { color: #FFFFFF; font-weight: 600; font-variant-numeric: tabular-nums; }
.hb-borsa .hf-chg { justify-self: end; font-size: 11.5px; padding: 2px 6px; }
.hb-borsa .hf-chg.is-up { background: rgba(127, 217, 174, .14); color: #7FD9AE; }
.hb-borsa .hf-chg.is-down { background: rgba(240, 150, 130, .14); color: #F0A08E; }
.hb-contact__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.hb-contact__actions .hb-btn { flex: 1; }

/* Quote form (Contact Form 7) */
.hb-quote { scroll-margin-top: 24px; }
.hb .hb-form p { margin: 0 0 10px; }
.hb .hb-form label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 500; color: var(--hb-ink); margin: 0; }
.hb .hb-form .wpcf7-form-control-wrap { display: block; }
.hb .hb-form :where(input[type="text"], input[type="tel"], input[type="email"], select, textarea) { width: 100%; margin: 0; padding: 10px 12px; border: 1px solid var(--hb-line); border-radius: 10px; background: var(--hb-surface); color: var(--hb-ink); font: 400 14.5px/1.4 var(--hb-font); box-shadow: none; }
.hb .hb-form select { height: 42px; }
.hb .hb-form textarea { min-height: 76px; resize: vertical; }
.hb .hb-form :where(input, select, textarea):focus { outline: none; border-color: var(--hb-accent); background: #FFFFFF; box-shadow: 0 0 0 3px var(--hb-accent-soft); }
.hb .hb-form__consent { font-size: 12.5px; color: var(--hb-muted); line-height: 1.45; }
.hb .hb-form__consent .wpcf7-list-item { margin: 0 6px 0 0; }
.hb .hb-form__consent input { accent-color: var(--hb-accent); }
.hb .hb-form input[type="submit"] { width: 100%; height: 46px; border: 0; border-radius: 999px; background: var(--hb-accent); color: #FFFFFF; font: 600 15px/1 var(--hb-font); cursor: pointer; }
.hb .hb-form input[type="submit"]:hover { background: var(--hb-accent-ink); }
.hb .hb-form input[type="submit"]:disabled { opacity: .55; cursor: not-allowed; }
.hb .wpcf7-not-valid-tip { font-size: 12px; color: #B4412F; margin-top: 4px; }
.hb .wpcf7-response-output { margin: 10px 0 0 !important; padding: 10px 12px !important; border-radius: 10px; font-size: 13.5px; }
.hb .wpcf7-spinner { margin: 8px auto 0; display: block; }

/* Responsive */
@media (max-width: 1080px) {
	.hb-cities { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.hb-region__layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; }
	.hb-districts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	.hb-filter__fields { grid-template-columns: 1fr 1fr; }
	.hb-filter__fields .hb-btn { grid-column: 1 / -1; }
	.hb-region__layout { grid-template-columns: minmax(0, 1fr); }
	.hb-region__side { position: static; }
	.hb-cities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
	.hb-filter { padding: 14px; }
	.hb-filter__fields { grid-template-columns: 1fr; }
	.hb-cities { grid-template-columns: minmax(0, 1fr); }
	.hb-districts { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
	.hb-live { animation: none; }
}

/* District links (province page) and neighbourhood chips (district page) */
.hb .hb-districts a, .hb .hb-districts__item { width: 100%; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 10px 12px; border: 1px solid var(--hb-line); border-radius: 12px; background: #FFFFFF; color: var(--hb-ink); font: 500 14px/1.3 var(--hb-font); text-decoration: none; transition: border-color .15s, background .15s; }
.hb .hb-districts a:hover { border-color: var(--hb-accent); background: var(--hb-accent-soft); color: var(--hb-accent-ink); }
.hb-hoods { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hb-hoods li { margin: 0; }
.hb .hb-hoods button { padding: 7px 12px; border: 1px solid var(--hb-line); border-radius: 999px; background: #FFFFFF; color: var(--hb-ink); font: 500 13.5px/1.3 var(--hb-font); cursor: pointer; box-shadow: none; text-transform: none; letter-spacing: 0; transition: border-color .15s, background .15s; }
.hb .hb-hoods button:hover { border-color: var(--hb-accent); background: var(--hb-accent-soft); color: var(--hb-accent-ink); }
