/* Veteriner Rehberi — harita, il/ilçe listeleri, klinik kartları */
.dir-hero h1{max-width:22ch}
.dir-mapwrap{position:relative;padding:clamp(14px,2.4vw,28px);overflow:hidden}
.dir-maphead{display:flex;justify-content:space-between;align-items:flex-end;gap:1rem;flex-wrap:wrap;margin-bottom:.6rem}
.dir-maphead .eyebrow{margin-bottom:.3rem}
.dir-maptitle{margin:0;font-size:clamp(1.2rem,2.4vw,1.6rem)}
.dir-map{display:block;width:100%;height:auto;max-height:72vh;overflow:hidden;touch-action:manipulation;user-select:none}
.dir-mapwrap--ilce .dir-map{max-height:62vh}
.dir-area{cursor:pointer;transform-box:fill-box;transform-origin:center;animation:dirIn .7s var(--ease) both;animation-delay:calc(var(--i,0) * 9ms)}
.dir-area path{fill:color-mix(in srgb,var(--brand) 8%,var(--surface-2));stroke:var(--bg);stroke-width:1.2;vector-effect:non-scaling-stroke;stroke-linejoin:round;transition:fill .25s,opacity .25s,filter .25s}
.dir-area.lvl1 path{fill:color-mix(in srgb,var(--brand) 22%,var(--surface-solid,#0f2731))}
.dir-area.lvl2 path{fill:color-mix(in srgb,var(--brand) 40%,var(--surface-solid,#0f2731))}
.dir-area.lvl3 path{fill:color-mix(in srgb,var(--brand) 62%,var(--surface-solid,#0f2731))}
.dir-area.lvl4 path{fill:color-mix(in srgb,var(--brand) 85%,var(--surface-solid,#0f2731))}
html[data-theme=light] .dir-area path{stroke:#fff}
html[data-theme=light] .dir-area.lvl1 path{fill:color-mix(in srgb,var(--brand) 18%,#fff)}
html[data-theme=light] .dir-area.lvl2 path{fill:color-mix(in srgb,var(--brand) 36%,#fff)}
html[data-theme=light] .dir-area.lvl3 path{fill:color-mix(in srgb,var(--brand) 58%,#fff)}
html[data-theme=light] .dir-area.lvl4 path{fill:color-mix(in srgb,var(--brand) 80%,#fff)}
.dir-area:hover path,.dir-area:focus-visible path,.dir-area.is-hover path{fill:var(--brand-2);filter:drop-shadow(0 6px 14px color-mix(in srgb,var(--brand-2) 45%,transparent))}
.dir-area:focus{outline:none}
.dir-area.is-current{cursor:default}
.dir-area.is-current path{fill:color-mix(in srgb,var(--brand) 55%,var(--surface-solid,#0f2731));stroke:var(--brand);stroke-width:2}
html[data-theme=light] .dir-area.is-current path{fill:color-mix(in srgb,var(--brand) 30%,#fff)}
.dir-area.is-dim path{opacity:.4}
.dir-area.is-dim:hover path{opacity:.8}
.dir-map.is-zooming .dir-area:not(.is-active){opacity:.35;transition:opacity .4s}
.dir-labels text{fill:var(--text);text-anchor:middle;dominant-baseline:middle;font-weight:700;paint-order:stroke;stroke:var(--bg);stroke-width:3px;stroke-linejoin:round;pointer-events:none;opacity:.85}
html[data-theme=light] .dir-labels text{stroke:#fff}
.dir-dot{fill:var(--brand-2);stroke:#fff;stroke-width:1;vector-effect:non-scaling-stroke;cursor:pointer;transform-box:fill-box;transform-origin:center;transition:transform .2s var(--ease-b),opacity .2s;animation:dirPop .5s var(--ease-b) both;animation-delay:.35s}
.dir-dot:hover,.dir-dot.is-hl{transform:scale(1.9)}
.dir-dot.is-dim{opacity:.45;fill:var(--muted)}
.dir-dot.is-featured{fill:var(--brand-3)}
.dir-dot.is-melodim{fill:var(--brand-4);stroke:var(--bg);stroke-width:2;animation:dirPop .5s var(--ease-b) both,dirPulse 2.4s 1s ease-in-out infinite}
.dir-dot.is-near{fill:var(--brand-3)}
.dir-user circle{fill:var(--info);stroke:#fff;stroke-width:2;vector-effect:non-scaling-stroke}
.dir-user circle.halo{fill:color-mix(in srgb,var(--info) 30%,transparent);stroke:none;transform-box:fill-box;transform-origin:center;animation:dirPulse 2s infinite}
.dir-tip{position:absolute;z-index:5;pointer-events:none;transform:translate(-50%,calc(-100% - 14px));padding:.45rem .75rem;border-radius:12px;background:var(--surface-solid,#0f2731);border:1px solid var(--line-2);box-shadow:var(--shadow-sm);font-size:.85rem;white-space:nowrap;display:flex;flex-direction:column;line-height:1.3}
.dir-tip[hidden]{display:none}
html[data-theme=light] .dir-tip{background:#fff}
.dir-tip span{color:var(--muted);font-size:.8rem}
.dir-hint{display:flex;gap:.4rem;align-items:center;font-size:.85rem;margin:.6rem 0 0}
.dir-legend{display:flex;align-items:center;gap:.35rem;font-size:.75rem;color:var(--muted)}
.dir-legend i{width:16px;height:10px;border-radius:3px;display:inline-block}
.dir-legend i.lvl1{background:color-mix(in srgb,var(--brand) 22%,var(--surface-2))}
.dir-legend i.lvl2{background:color-mix(in srgb,var(--brand) 40%,var(--surface-2))}
.dir-legend i.lvl3{background:color-mix(in srgb,var(--brand) 62%,var(--surface-2))}
.dir-legend i.lvl4{background:color-mix(in srgb,var(--brand) 85%,var(--surface-2))}
.dir-legend__m{width:10px;height:10px;border-radius:50%;background:var(--brand-4);margin-left:.6rem}
.dir-filter{min-width:min(100%,280px)}
.dir-provs{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:.5rem}
.dir-provs a{display:flex;align-items:center;gap:.6rem;padding:.65rem .85rem;border:1px solid var(--line);border-radius:14px;background:var(--surface);transition:border-color .2s,transform .2s var(--ease)}
.dir-provs a:hover,.dir-provs a.is-hover{border-color:var(--brand);transform:translateY(-2px)}
.dir-provs b{flex:1;font-weight:650}
.dir-provs__code{font:700 .72rem var(--font-body);color:var(--dim);min-width:1.6em}
.dir-provs__n{font-size:.8rem;font-weight:700;padding:.1rem .5rem;border-radius:999px;background:color-mix(in srgb,var(--brand) 18%,transparent);color:var(--brand)}
.dir-provs li[hidden]{display:none}
.dir-split{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(240px,1fr);gap:1rem;align-items:start}
.dir-dlist{padding:1.1rem}
.dir-dlist h2{font-size:1.05rem;margin:0 0 .6rem}
.dir-dlist ul{list-style:none;margin:0;padding:0;max-height:60vh;overflow:auto;display:grid;gap:2px}
.dir-dlist a{display:flex;justify-content:space-between;gap:.5rem;padding:.45rem .6rem;border-radius:10px;font-size:.93rem}
.dir-dlist a:hover,.dir-dlist a.is-hover{background:var(--surface-2)}
.dir-dlist a.is-empty{color:var(--dim)}
.dir-dlist b{font-size:.8rem;color:var(--brand)}
.dir-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,310px),1fr));gap:.9rem}
.dir-card{position:relative;display:flex;flex-direction:column;gap:.55rem;padding:1.05rem 1.1rem;border:1px solid var(--line);border-radius:20px;background:var(--surface);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);transition:border-color .25s,box-shadow .3s,transform .3s var(--ease);scroll-margin-top:110px}
.dir-card:hover{border-color:var(--line-2);transform:translateY(-2px)}
.dir-card.is-melodim{border-color:color-mix(in srgb,var(--brand-4) 55%,transparent);box-shadow:0 0 0 1px color-mix(in srgb,var(--brand-4) 25%,transparent),0 20px 40px -24px color-mix(in srgb,var(--brand-4) 60%,transparent)}
.dir-card.is-featured{border-color:color-mix(in srgb,var(--brand-3) 50%,transparent)}
.dir-card.is-flash{animation:dirFlash 1.4s var(--ease)}
.dir-card[hidden]{display:none}
.dir-card__head{display:flex;gap:.7rem;align-items:flex-start}
.dir-card__head>div{flex:1;min-width:0}
.dir-card h3{font-size:1.02rem;margin:0;line-height:1.3}
.dir-card__ico{flex:none;width:36px;height:36px;border-radius:12px;display:grid;place-items:center;background:color-mix(in srgb,var(--brand) 16%,transparent);color:var(--brand)}
.dir-card.is-melodim .dir-card__ico{background:color-mix(in srgb,var(--brand-4) 22%,transparent);color:var(--brand-4)}
.dir-card__loc{margin:.15rem 0 0;font-size:.82rem;color:var(--muted)}
.dir-card__badge{flex:none}
.dir-card__addr,.dir-card__km{display:flex;gap:.45rem;align-items:flex-start;margin:0;font-size:.88rem;color:var(--muted)}
.dir-card__addr .i,.dir-card__km .i{flex:none;margin-top:.15em;width:1em;height:1em}
.dir-card__km{color:var(--brand);font-weight:650}
.dir-card__act{display:flex;flex-wrap:wrap;gap:.45rem;align-items:center;margin-top:auto;padding-top:.3rem}
.dir-card__fix{font-size:.78rem;color:var(--dim);display:inline-flex;gap:.3rem;align-items:center;margin-left:auto}
.dir-card__fix:hover{color:var(--brand)}
.dir-card__fix .i{width:.95em;height:.95em}
.dir-near{margin-block:1rem 0;padding:clamp(16px,2.4vw,28px);border:1px solid color-mix(in srgb,var(--info) 40%,var(--line));border-radius:var(--radius-lg);background:color-mix(in srgb,var(--info) 6%,var(--surface))}
.dir-near .section__head{margin-bottom:1rem}
.dir-small{font-size:.8rem}
.dir-mah{margin-bottom:1rem}
.dir-mah .chip{cursor:pointer}
.dir-gap{margin-top:2.5rem}
.dir-kind{border:0;padding:0;margin:0}
.dir-kind .chip{cursor:pointer}
.dir-kind input{accent-color:var(--brand)}
.dir-form{max-width:820px}
.dir-attrib{margin-top:1.6rem;font-size:.78rem;color:var(--dim);line-height:1.6}
.dir-attrib a{color:var(--muted);text-decoration:underline;text-underline-offset:2px}
.is-loading{opacity:.6;pointer-events:none}
@keyframes dirIn{from{opacity:0;transform:scale(.92)}to{opacity:1;transform:none}}
@keyframes dirPop{from{opacity:0;transform:scale(0)}to{opacity:1;transform:none}}
@keyframes dirPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.35)}}
@keyframes dirFlash{0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--brand) 70%,transparent)}40%{box-shadow:0 0 0 8px color-mix(in srgb,var(--brand) 25%,transparent)}100%{box-shadow:0 0 0 0 transparent}}
@media (max-width:900px){.dir-split{grid-template-columns:1fr}.dir-dlist ul{max-height:none;grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}}
@media (max-width:560px){.dir-legend{display:none}.dir-map{max-height:none}.dir-provs{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (prefers-reduced-motion:reduce){.dir-area,.dir-dot,.dir-dot.is-melodim,.dir-user circle.halo,.dir-card.is-flash{animation:none!important}.dir-dot,.dir-card,.dir-provs a{transition:none}}
