/* BEEV Haritası — etkileşimli önizleme. Panel bileşenleri beev.org.tr/bagis (beev.css) sınıflarını kullanır. */

.hm-page button, .hm-page input, .hm-page select { font: inherit; }
.hm-page button { cursor: pointer; }

.hm-main {
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding: clamp(18px, 3vh, 34px) clamp(18px, 3vw, 48px) 80px calc(var(--stripe-w) + clamp(18px, 3.4vw, 56px));
}
.hm-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; }
.hm-intro .pl-kicker { margin-bottom: 10px; }
.hm-intro .pl-title { font-size: clamp(32px, 3.6vw, 48px); }
.hm-tagline { margin: 6px 0 0; color: #48576a; font-size: clamp(15px, 1.3vw, 19px); font-weight: 300; }
.hm-preview-note { margin: 0; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; border: 1px solid #f3d49c; background: #fff8e8; color: #8a5a00; font-size: 13px; font-weight: 500; max-width: 520px; }

.hm-layout { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 24px; align-items: start; margin-top: 24px; }

/* ---------- Harita kartı ---------- */
.hm-map-card {
  position: sticky;
  top: 20px;
  border-radius: 18px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(90% 70% at 70% 35%, #18345f 0%, #0f2242 45%, #0d1729 80%),
    #0d1729;
  box-shadow: 0 14px 40px #0d172940;
}
.hm-map-tools { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; padding: 16px 18px 0; }
.hm-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: #c9d6ea; }
.hm-legend span { display: inline-flex; align-items: center; gap: 8px; }
.hm-tools-right { display: flex; flex-wrap: wrap; gap: 10px; }
.hm-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }
.hm-dot.is-red { background: #ff3b30; box-shadow: 0 0 0 3px #ff3b3033, 0 0 10px #ff3b30; }
.hm-dot.is-white { background: #fff; box-shadow: 0 0 0 3px #ffffff2e, 0 0 10px #bfe9ff; }

.hm-seg, .hm-years { display: inline-flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; background: #ffffff14; border: 1px solid #ffffff1a; }
.hm-seg button, .hm-years button { border: 0; background: transparent; color: #c9d6ea; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; transition: background .2s ease, color .2s ease; }
.hm-seg button:hover, .hm-years button:hover { color: #fff; background: #ffffff1a; }
.hm-seg button.is-active, .hm-years button.is-active { background: #fff; color: #0d1729; }
.hm-years .hm-play { width: 32px; height: 32px; padding: 0; display: grid; place-items: center; background: var(--beev-orange); color: #fff; font-size: 18px; margin-right: 4px; }
.hm-years .hm-play:hover { background: var(--beev-orange-dark); color: #fff; }
.hm-years .hm-play i { margin-left: 2px; }
.hm-years .hm-play.is-playing i { margin-left: 0; }

.hm-select { display: inline-flex; align-items: center; gap: 6px; padding: 0 6px 0 14px; border-radius: 999px; background: #ffffff14; border: 1px solid #ffffff1a; color: #c9d6ea; font-size: 13px; }
.hm-select select { appearance: none; -webkit-appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23c9d6ea' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 10px center; border: 0; color: #fff; padding: 8px 30px 8px 0; font-size: 13px; font-weight: 600; outline: none; max-width: 160px; }
.hm-select select option { color: #000; }
.hm-select:focus-within { border-color: var(--beev-sky); }

.hm-stage { position: relative; padding: 6px 12px 4px; touch-action: manipulation; }
#hm-svg { display: block; width: 100%; height: auto; overflow: hidden; user-select: none; -webkit-user-select: none; }

.hm-prov { fill: #132a4e; stroke: #2e4d7d; stroke-width: .8; vector-effect: non-scaling-stroke; stroke-linejoin: round; transition: fill .8s ease, stroke .3s ease; cursor: pointer; }
.hm-prov:hover { stroke: #6fa3d8; }
.hm-prov.is-focus { stroke: var(--beev-sky); stroke-width: 1.6; }

.hm-light { cursor: pointer; outline: none; transition: opacity .5s ease; }
.hm-light .hm-li { transition: transform .5s cubic-bezier(.2, .8, .2, 1.4); }
.hm-light .hm-li > circle { transform-box: fill-box; transform-origin: center; }
.hm-halo-r, .hm-halo-w { transition: opacity .9s ease var(--td, 0s); }
.hm-core { transition: fill .9s ease var(--td, 0s); }
.hm-light.is-red .hm-halo-w { opacity: 0; }
.hm-light.is-red .hm-core { fill: #ff4237; }
.hm-light.is-red .hm-halo-r { animation: hm-pulse 2.6s ease-in-out infinite; animation-delay: var(--d, 0s); }
.hm-light.is-white .hm-halo-r { opacity: 0; }
.hm-light.is-white .hm-core { fill: #fff; }
.hm-light.is-white .hm-halo-w { animation: hm-twinkle 4.2s ease-in-out infinite; animation-delay: var(--d, 0s); }
.hm-hit { fill: transparent; }
.hm-ring { fill: none; stroke: var(--beev-orange); stroke-width: 1.3; stroke-dasharray: 2.6 2; opacity: 0; transition: opacity .3s ease; }
.hm-light:hover .hm-li, .hm-light:focus-visible .hm-li { transform: scale(1.35); }
.hm-light:focus-visible .hm-ring { opacity: .7; stroke: #fff; }
.hm-light.is-selected .hm-ring { opacity: 1; animation: hm-spin 7s linear infinite; }
.hm-light.is-selected .hm-li { transform: scale(1.3); }
.hm-light.is-dim { opacity: .08; pointer-events: none; }
.hm-light.is-hidden-in { opacity: 0; }
.hm-light.is-charging .hm-core { animation: hm-charge .65s ease-in-out; }
.hm-light.is-charging .hm-halo-r { animation: hm-charge-halo .65s ease-in-out; }

@keyframes hm-pulse { 0%, 100% { transform: scale(.75); } 50% { transform: scale(1.25); } }
@keyframes hm-twinkle { 0%, 100% { transform: scale(.9); } 50% { transform: scale(1.08); } }
@keyframes hm-spin { to { transform: rotate(360deg); } }
@keyframes hm-charge { 0%, 100% { transform: scale(1); } 20% { transform: scale(1.7); } 40% { transform: scale(.9); } 60% { transform: scale(2); } 80% { transform: scale(1.1); } }
@keyframes hm-charge-halo { 0% { transform: scale(1); } 60% { transform: scale(1.9); } 100% { transform: scale(.4); } }

.hm-tooltip { position: absolute; left: 0; top: 0; pointer-events: none; z-index: 5; background: #fff; color: #0d1729; border-radius: 10px; padding: 7px 11px; font-size: 12px; font-weight: 600; line-height: 1.35; white-space: nowrap; box-shadow: 0 10px 24px #0006; opacity: 0; transform: translate(-50%, calc(-100% - 14px)); transition: opacity .15s ease; }
.hm-tooltip.is-on { opacity: 1; }
.hm-tooltip small { display: block; color: #65758d; font-weight: 500; font-size: 11px; }
.hm-zoom-reset { position: absolute; top: 8px; right: 16px; z-index: 4; border: 0; border-radius: 999px; background: #fff; color: #0d1729; padding: 7px 14px; font-size: 13px; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; box-shadow: 0 8px 20px #0005; }
.hm-zoom-reset[hidden] { display: none; }
.hm-zoom-reset:hover { background: #fff5e8; color: #c66c00; }
.hm-toast { position: absolute; left: 50%; bottom: 14px; z-index: 6; transform: translate(-50%, 12px); background: var(--beev-orange); color: #fff; padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; box-shadow: 0 10px 26px #0006; opacity: 0; pointer-events: none; transition: opacity .3s ease, transform .3s ease; white-space: nowrap; max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; }
.hm-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

.hm-map-foot { display: flex; align-items: center; gap: 14px 22px; flex-wrap: wrap; padding: 6px 18px 18px; }
.hm-meter { flex: 1 1 240px; min-width: 220px; }
.hm-meter-label { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: #c9d6ea; margin-bottom: 7px; }
.hm-meter-label strong { color: #fff; font-weight: 700; }
.hm-meter-counts { display: inline-flex; align-items: center; gap: 8px; }
.hm-meter-counts .hm-dot { width: 8px; height: 8px; margin-left: 6px; }
.hm-meter-bar { height: 8px; border-radius: 999px; background: linear-gradient(90deg, #ff3b3055, #ff3b3033); overflow: hidden; }
.hm-meter-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #fff, #d9f3ff); box-shadow: 0 0 12px #bfe9ff; transition: width .9s cubic-bezier(.2, .8, .2, 1); }

/* ---------- Panel ---------- */
.hm-panel.register-card {
  max-width: none;
  margin: 0;
  position: sticky;
  top: 20px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.hm-panel .donation-panel-head { margin-bottom: 14px; align-items: flex-start; }
.hm-panel .donation-panel-head h2 { font-size: 21px; margin-bottom: 0; }
.hm-panel .donation-story-eyebrow { margin-bottom: 10px; }
.hm-panel .donation-story-eyebrow.is-red { background: #fff0ef; color: #d8322a; }
.hm-panel .donation-story-eyebrow.is-white { background: #eef7ff; color: #1b6fa8; }
.hm-panel .donation-story-eyebrow .hm-dot { width: 8px; height: 8px; }
.hm-close { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--beev-line); background: #fff; color: #48576a; display: grid; place-items: center; transition: all .2s ease; }
.hm-close:hover { border-color: var(--beev-orange); color: var(--beev-orange); }

.hm-enter > * { animation: hm-rise .45s cubic-bezier(.2, .8, .2, 1) both; }
.hm-enter > *:nth-child(2) { animation-delay: .04s; }
.hm-enter > *:nth-child(3) { animation-delay: .08s; }
.hm-enter > *:nth-child(4) { animation-delay: .12s; }
.hm-enter > *:nth-child(5) { animation-delay: .16s; }
.hm-enter > *:nth-child(n+6) { animation-delay: .2s; }
@keyframes hm-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.hm-lead, .hm-story { color: #48576a; font-size: 15px; line-height: 1.65; margin: 0 0 16px; }
.hm-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.hm-facts span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: #f6f8fc; color: #1f2f4d; font-size: 13px; font-weight: 600; }
.hm-facts i { color: var(--beev-orange); }
.hm-question { margin: 0 0 14px; padding: 14px 16px; border-radius: 14px; background: #fff5e8; border-left: 4px solid var(--beev-orange); color: #000; font-weight: 700; font-size: 16px; line-height: 1.45; }

.hm-panel .donation-method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.hm-panel .donation-method-card { padding: 14px; gap: 6px; cursor: pointer; }
.hm-panel .donation-method-card strong { font-size: 15px; line-height: 1.3; }
.hm-panel .donation-method-card span:last-child { font-size: 12.5px; line-height: 1.45; }
.hm-panel .donation-method-icon { width: 40px; height: 40px; border-radius: 12px; font-size: 19px; }
.hm-panel .donation-method-card.is-active .donation-method-icon { background: var(--beev-orange); color: #fff; }
.hm-panel .donation-method-card:hover:not(.is-active) { border-color: #f3c67f; }

.hm-panel .donation-form-section { padding: 18px; margin-bottom: 16px; }
.hm-panel .donation-section-head { margin-bottom: 12px; }
.hm-panel .donation-section-head h3 { font-size: 16px; margin: 0; }
.hm-panel .donation-amount-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.hm-panel .donation-amount-option.advanced { min-height: 0; padding: 12px 14px; gap: 2px; cursor: pointer; }
.hm-panel .donation-amount-option.advanced strong { font-size: 17px; }
.hm-panel .donation-amount-option.advanced span { font-size: 12.5px; color: #74839b; font-weight: 500; }
.hm-panel .donation-amount-option.advanced.is-active span { color: #c66c00; }
.hm-label { display: block; font-size: 13px; font-weight: 600; color: #1f2f4d; margin: 4px 0 6px; }
.hm-label span { color: #8a97ab; font-weight: 400; }
.hm-input-group { display: flex; align-items: stretch; border: 1px solid var(--beev-line); border-radius: 10px; overflow: hidden; background: #f6f8fc; margin-bottom: 12px; }
.hm-input-group:focus-within, .hm-input:focus { border-color: var(--beev-orange); box-shadow: 0 0 0 3px #fa950026; }
.hm-input-group input { flex: 1; border: 0; background: transparent; padding: 11px 14px; outline: none; min-width: 0; }
.hm-input-group span { display: grid; place-items: center; padding: 0 14px; background: #eef2f8; color: #48576a; font-weight: 600; font-size: 13px; }
.hm-input { width: 100%; border: 1px solid var(--beev-line); border-radius: 10px; background: #f6f8fc; padding: 11px 14px; outline: none; }

.hm-cta.donation-submit { width: 100%; min-height: 56px; border: 0; border-radius: 12px; font-size: 16px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 10px 24px #fa950040; transition: background .2s ease, transform .2s ease, box-shadow .2s ease, opacity .2s ease; }
.hm-cta.donation-submit:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 14px 28px #fa950055; }
.hm-cta.donation-submit:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }
.hm-cta .hm-spin { width: 18px; height: 18px; border: 2.5px solid #ffffff66; border-top-color: #fff; border-radius: 50%; animation: hm-spin .8s linear infinite; }
.hm-note { margin: 12px 0 0; color: #74839b; font-size: 12.5px; line-height: 1.5; display: flex; gap: 8px; }
.hm-note i { color: #2f6d4f; }
.hm-info { margin: 0 0 16px; padding: 12px 14px; border-radius: 14px; border: 1px solid #cfe1ff; background: #f4f8ff; color: #365b8b; font-size: 14px; }

.hm-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 18px; }
.hm-stats div { border: 1px solid var(--beev-line); border-radius: 14px; padding: 14px 12px; display: flex; flex-direction: column; gap: 2px; }
.hm-stats strong { font-size: 26px; font-weight: 800; color: #1f2f4d; line-height: 1.1; display: inline-flex; align-items: center; gap: 8px; }
.hm-stats strong .hm-dot { width: 9px; height: 9px; }
.hm-stats strong b { font: inherit; }
.hm-stats > div > span { font-size: 12.5px; color: #74839b; font-weight: 500; }
.hm-panel .donation-trust-list { margin-top: 16px; gap: 8px; }
.hm-panel .donation-trust-item { font-size: 14px; padding: 10px 14px; }
.hm-hint { margin: 14px 0 0; color: #74839b; font-size: 13px; display: flex; gap: 8px; }

.hm-btn-outline { min-height: 48px; border: 1px solid var(--beev-line); background: #fff; color: #000; border-radius: 12px; padding: 0 18px; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: all .2s ease; }
.hm-btn-outline:hover { border-color: var(--beev-orange); background: #fff5e8; color: #c66c00; }
.hm-link { border: 0; background: none; color: var(--beev-orange); font-weight: 600; font-size: 14px; padding: 8px 0; display: inline-flex; gap: 8px; align-items: center; }
.hm-link:hover { color: var(--beev-orange-dark); }

/* Başarı */
.hm-success { text-align: center; }
.hm-success-icon { width: 84px; height: 84px; margin: 6px auto 14px; border-radius: 50%; display: grid; place-items: center; font-size: 34px; color: #0d1729; background: radial-gradient(circle, #fff 0 40%, #dff4ff 60%, #bfe9ff00 72%), #0d1729; box-shadow: 0 0 0 6px #0d172910, 0 0 40px #9fdcff; animation: hm-glow 2.4s ease-in-out infinite; }
@keyframes hm-glow { 50% { box-shadow: 0 0 0 10px #0d172908, 0 0 60px #c7ecff; } }
.hm-success h2 { color: #000; font-size: 24px; font-weight: 700; margin: 0 0 8px; }
.hm-success p { color: #48576a; margin: 0 0 16px; }
.hm-share-img { width: 100%; border-radius: 14px; box-shadow: 0 12px 30px #17274d33; display: block; margin: 0 0 14px; background: #0d1729; aspect-ratio: 4 / 5; object-fit: cover; }
.hm-share-actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.hm-share-actions .hm-cta.donation-submit { min-height: 48px; font-size: 15px; }

/* Beyaz ışık: gelişim */
.hm-you { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 12px; border-radius: 999px; background: #fff5e8; color: #c66c00; font-size: 13px; font-weight: 700; }
.hm-sub { font-size: 16px; font-weight: 700; color: #000; margin: 4px 0 12px; }
.hm-timeline { list-style: none; margin: 0 0 16px; padding: 0; position: relative; }
.hm-timeline::before { content: ""; position: absolute; left: 31px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(#183153, #4cc9f0); opacity: .25; }
.hm-timeline li { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: start; padding: 6px 0; }
.hm-timeline .hm-y { z-index: 1; justify-self: start; display: inline-flex; justify-content: center; min-width: 64px; padding: 4px 0; border-radius: 999px; background: #183153; color: #fff; font-size: 12px; font-weight: 700; }
.hm-timeline li.is-now .hm-y { background: var(--beev-orange); }
.hm-timeline p { margin: 2px 0 0; color: #1f2f4d; font-size: 14px; line-height: 1.5; }

/* İl listesi */
.hm-list { display: flex; flex-direction: column; gap: 8px; margin: 0 0 8px; }
.hm-list button { display: flex; align-items: flex-start; gap: 12px; text-align: left; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--beev-line); background: #fff; transition: all .2s ease; }
.hm-list button:hover { border-color: var(--beev-orange); background: #fff5e8; }
.hm-list .hm-dot { margin-top: 6px; }
.hm-list strong { display: block; font-size: 14px; color: #000; }
.hm-list small { display: block; color: #74839b; font-size: 12.5px; line-height: 1.45; }
.hm-list .hm-dot.is-white { background: #cfd8e6; box-shadow: none; border: 2px solid #fff; outline: 1px solid #9fb0c8; }

.hm-reset-demo { position: fixed; left: calc(var(--stripe-w) + 14px); bottom: 14px; z-index: 40; border: 1px solid var(--beev-line); background: #ffffffe6; backdrop-filter: blur(6px); color: #65758d; border-radius: 999px; padding: 7px 14px; font-size: 12px; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; transition: all .2s ease; }
.hm-reset-demo:hover { color: #000; border-color: var(--beev-orange); }

/* ---------- Duyarlı ---------- */
@media (max-width: 1280px) {
  .hm-layout { grid-template-columns: minmax(0, 1fr) 400px; }
}
@media (max-width: 1080px) {
  .hm-layout { grid-template-columns: 1fr; }
  .hm-map-card, .hm-panel.register-card { position: static; max-height: none; }
  .hm-reset-demo { position: static; margin: 0 0 30px calc(var(--stripe-w) + 18px); }
}
@media (max-width: 575.98px) {
  .hm-main { padding-left: calc(var(--stripe-w) + 14px); padding-right: 14px; }
  .hm-map-tools { padding: 12px 12px 0; }
  .hm-stage { padding: 4px 4px 2px; }
  .hm-map-foot { padding: 6px 12px 14px; }
  .hm-panel.register-card { padding: 18px; }
  .hm-panel .donation-method-grid { grid-template-columns: 1fr 1fr; }
  .hm-stats strong { font-size: 22px; }
  .hm-tools-right { width: 100%; justify-content: space-between; }
}
