/* De Luxe Real Estate – stili kryesor (e zezë dhe ari) */
:root{
  --black:#0A0908; --panel:#121110; --panel-2:#1A1815; --line:#2B2722; --line-soft:#201D19;
  --gold:#CFAE88; --gold-light:#EBD3B3; --gold-dark:#8F6E4F;
  --text:#EEE9E0; --muted:#A49D91; --dim:#6F695F;
  --ok:#7FB58A; --err:#E07A6A;
  --serif:"Bodoni Moda","Didot","Bodoni 72",Georgia,serif;
  --sans:"Work Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  --radius:4px; --wrap:1240px;
  color-scheme:dark;
}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth;scroll-padding-top:96px;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}
html,body{overflow-x:clip}
body{margin:0;background:var(--black);color:var(--text);font-family:var(--sans);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit}
button,input,select,textarea{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
::selection{background:var(--gold);color:var(--black)}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 clamp(1rem,4vw,2.5rem)}
.serif{font-family:var(--serif);font-weight:400;letter-spacing:-.01em}
h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:1.08;margin:0;letter-spacing:-.01em}
h2{font-size:clamp(2rem,4.4vw,3.3rem)}
.muted{color:var(--muted)}
.gold{color:var(--gold)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
section{padding:clamp(3.5rem,8vw,6.5rem) 0}
.sec-head{display:flex;justify-content:space-between;align-items:end;gap:1.5rem;flex-wrap:wrap;margin-bottom:2.5rem;padding-bottom:1.4rem;border-bottom:1px solid var(--line)}
.sec-head p{margin:.6rem 0 0;color:var(--muted);max-width:52ch}
.text-link{color:var(--gold);text-decoration:none;font-weight:500;border-bottom:1px solid var(--gold-dark);padding-bottom:2px;transition:color .2s,border-color .2s;background:none;border-top:0;border-left:0;border-right:0;cursor:pointer}
.text-link:hover{color:var(--gold-light);border-color:var(--gold-light)}

/* butonat */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;min-height:48px;padding:0 1.5rem;border-radius:var(--radius);border:1px solid var(--gold);background:var(--gold);color:var(--black);font-weight:600;font-size:.95rem;text-decoration:none;cursor:pointer;transition:background .2s,color .2s,border-color .2s,transform .1s;white-space:nowrap}
.btn:hover{background:var(--gold-light);border-color:var(--gold-light)}
.btn:active{transform:translateY(1px)}
.btn.outline{background:transparent;color:var(--gold)}
.btn.outline:hover{background:var(--gold);color:var(--black)}
.btn.ghost{background:transparent;border-color:var(--line);color:var(--text)}
.btn.ghost:hover{border-color:var(--gold);color:var(--gold)}
.btn.sm{min-height:38px;padding:0 1rem;font-size:.88rem}
.btn.block{width:100%}
.btn[disabled],.btn.loading{opacity:.6;pointer-events:none}
.btn svg{width:18px;height:18px;flex:none}
.icon-btn{width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:transparent;display:inline-grid;place-items:center;cursor:pointer;color:var(--text);transition:border-color .2s,color .2s;position:relative;text-decoration:none}
.icon-btn:hover{border-color:var(--gold);color:var(--gold)}
.icon-btn svg{width:19px;height:19px}
.badge-count{position:absolute;top:-4px;right:-4px;min-width:19px;height:19px;padding:0 5px;border-radius:10px;background:var(--gold);color:var(--black);font-size:.7rem;font-weight:700;display:grid;place-items:center}
.badge-count:empty,.badge-count[data-n="0"]{display:none}

/* fushat */
.field{display:grid;gap:.4rem}
.field label,.label{font-size:.82rem;color:var(--muted)}
.input,.select,.textarea{width:100%;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:.8rem .95rem;color:var(--text);transition:border-color .2s;min-height:48px}
.input::placeholder,.textarea::placeholder{color:var(--dim)}
.input:focus,.select:focus,.textarea:focus{outline:none;border-color:var(--gold)}
.select{-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23CFAE88' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .95rem center;padding-right:2.4rem;cursor:pointer}
.select option{background:var(--panel);color:var(--text)}
.textarea{min-height:120px;resize:vertical}
.check{display:flex;align-items:center;gap:.6rem;cursor:pointer;font-size:.94rem}
.check input{appearance:none;-webkit-appearance:none;width:20px;height:20px;border:1px solid var(--line);border-radius:3px;background:var(--panel);display:grid;place-items:center;cursor:pointer;margin:0;flex:none}
.check input:checked{background:var(--gold);border-color:var(--gold)}
.check input:checked::after{content:"";width:10px;height:5px;border:2px solid var(--black);border-top:0;border-right:0;transform:rotate(-45deg) translate(1px,-1px)}
.form-msg{font-size:.9rem;min-height:1.4em;margin:0}
.form-msg.ok{color:var(--ok)} .form-msg.err{color:var(--err)}
.hp{position:absolute;left:-9999px}

/* koka e faqes */
.topbar{border-bottom:1px solid var(--line-soft);font-size:.82rem;color:var(--muted)}
.topbar .wrap{display:flex;justify-content:space-between;align-items:center;min-height:38px;gap:1rem}
.topbar a{text-decoration:none;transition:color .2s}
.topbar a:hover{color:var(--gold)}
.topbar .tb-r{display:flex;gap:1.4rem}
.site-header{position:sticky;top:0;z-index:50;background:rgba(10,9,8,.94);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.nav{display:flex;align-items:center;justify-content:space-between;height:80px;gap:1.5rem}
.logo{display:flex;align-items:center;gap:.8rem;text-decoration:none;flex:none}
.logo-img{height:46px;width:auto;display:block}
.logo-word{height:34px;width:auto;display:block}
.logo-full{width:min(240px,70%);height:auto;display:block}
.logo-mark{width:44px;height:44px;border:1px solid var(--gold);display:grid;place-items:center;font-family:var(--serif);font-size:1.25rem;color:var(--gold);letter-spacing:-.04em}
.logo-text b{display:block;font-family:var(--serif);font-weight:400;font-size:1.45rem;line-height:1;letter-spacing:.01em}
.logo-text small{display:block;font-size:.72rem;color:var(--gold);letter-spacing:.06em;margin-top:3px}
.menu{display:flex;gap:2rem;list-style:none;margin:0;padding:0}
.menu a{text-decoration:none;font-size:.95rem;color:var(--text);padding:.4rem 0;border-bottom:1px solid transparent;transition:color .2s,border-color .2s}
.menu a:hover,.menu a[aria-current="page"]{color:var(--gold);border-color:var(--gold)}
.nav-r{display:flex;align-items:center;gap:.7rem}
.burger{display:none}
@media (max-width:1020px){
  .menu{position:fixed;inset:80px 0 auto 0;flex-direction:column;gap:0;background:var(--black);border-bottom:1px solid var(--line);padding:.5rem clamp(1rem,4vw,2.5rem) 1.5rem;transform:translateY(-8px);opacity:0;visibility:hidden;transition:opacity .2s,transform .2s,visibility .2s}
  .menu.open{opacity:1;transform:none;visibility:visible}
  .menu a{display:block;padding:1rem 0;border-bottom:1px solid var(--line-soft)}
  .burger{display:inline-grid}
  .nav-r .btn{display:none}
}
@media (max-width:640px){.topbar .tb-hide{display:none}.logo-text small{display:none}.logo-img{height:40px}.logo-word{height:26px}}
@media (max-width:380px){.logo-word{display:none}}

/* karta e pronës */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:2.4rem 1.8rem}
.pcard{position:relative;display:flex;flex-direction:column;text-decoration:none;color:inherit}
.pcard .ph{position:relative;aspect-ratio:4/3;overflow:hidden;background:var(--panel-2)}
.pcard .ph img{width:100%;height:100%;object-fit:cover;transition:transform .9s cubic-bezier(.2,.7,.2,1),opacity .4s}
.pcard:hover .ph img{transform:scale(1.04)}
.pcard .tag{position:absolute;left:0;top:1rem;background:var(--black);color:var(--gold);font-size:.78rem;padding:.35rem .8rem;border:1px solid var(--gold-dark);border-left:0}
.pcard .tag.qira{background:var(--gold);color:var(--black);border-color:var(--gold)}
.pcard .fav{position:absolute;right:.8rem;top:.8rem;z-index:2;width:40px;height:40px;border-radius:50%;background:rgba(10,9,8,.7);border:1px solid rgba(255,255,255,.12);display:grid;place-items:center;cursor:pointer;color:#fff;transition:background .2s,color .2s}
.pcard .fav:hover{color:var(--gold)}
.pcard .fav svg{width:18px;height:18px}
.fav[aria-pressed="true"] svg{fill:var(--gold);stroke:var(--gold)}
.pcard .cnt{position:absolute;right:.8rem;bottom:.8rem;background:rgba(10,9,8,.7);font-size:.75rem;padding:.2rem .55rem;border-radius:2px}
.pcard .info{padding:1.1rem 0 0;display:grid;gap:.3rem}
.pcard .price{font-family:var(--serif);font-size:1.6rem;color:var(--gold);line-height:1.1}
.pcard .price small{font-family:var(--sans);font-size:.82rem;color:var(--muted)}
.pcard h3{font-family:var(--sans);font-weight:500;font-size:1.04rem;line-height:1.4}
.pcard:hover h3{color:var(--gold-light)}
.pcard .loc{font-size:.88rem;color:var(--muted)}
.pcard .specs{display:flex;gap:1.1rem;flex-wrap:wrap;font-size:.86rem;color:var(--muted);margin-top:.5rem;padding-top:.8rem;border-top:1px solid var(--line)}
.pcard .specs span{display:flex;align-items:center;gap:.35rem}
.pcard .specs svg{width:15px;height:15px;stroke:var(--gold);fill:none;stroke-width:1.5}
.pcard .code{font-size:.75rem;color:var(--dim);margin-left:auto}
.list-view .grid{grid-template-columns:1fr}
.list-view .pcard{flex-direction:row;gap:1.6rem;border-bottom:1px solid var(--line);padding-bottom:1.6rem}
.list-view .pcard .ph{width:min(380px,42%);flex:none}
.list-view .pcard .info{padding:0;align-content:start}
@media (max-width:640px){.list-view .pcard{flex-direction:column}.list-view .pcard .ph{width:100%}}

.skeleton{background:linear-gradient(90deg,var(--panel) 0%,var(--panel-2) 50%,var(--panel) 100%);background-size:200% 100%;animation:sk 1.4s infinite}
@keyframes sk{to{background-position:-200% 0}}
.sk-card .ph{aspect-ratio:4/3}
.sk-line{height:14px;margin-top:.8rem;border-radius:2px}
.empty{grid-column:1/-1;border:1px dashed var(--line);padding:3rem 1.5rem;text-align:center;color:var(--muted)}
.empty h3{color:var(--text);font-size:1.6rem;margin-bottom:.6rem}

/* footer */
.site-footer{border-top:1px solid var(--line);padding:4rem 0 2rem;margin-top:2rem;font-size:.93rem;color:var(--muted)}
.f-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.4fr;gap:2.5rem}
.site-footer h4{font-family:var(--sans);font-weight:500;color:var(--text);margin:0 0 1rem;font-size:.95rem}
.site-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:.6rem}
.site-footer a{text-decoration:none;transition:color .2s}
.site-footer a:hover{color:var(--gold)}
.news{display:flex;gap:.5rem;margin-top:.8rem}
.news .input{min-height:46px}
.f-bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:1rem;margin-top:3rem;padding-top:1.5rem;border-top:1px solid var(--line-soft);font-size:.83rem;color:var(--dim)}
@media (max-width:900px){.f-grid{grid-template-columns:1fr 1fr}.f-grid>div:first-child,.f-grid>div:last-child{grid-column:1/-1}}

/* toast */
.toasts{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:300;display:grid;gap:.5rem;width:min(420px,calc(100% - 2rem))}
.toast{background:var(--panel-2);border:1px solid var(--line);border-left:3px solid var(--gold);padding:.85rem 1.1rem;font-size:.93rem;animation:tin .25s ease-out}
.toast.err{border-left-color:var(--err)}
@keyframes tin{from{opacity:0;transform:translateY(8px)}}

/* modal */
.modal{border:1px solid var(--line);background:var(--panel);color:var(--text);padding:0;border-radius:var(--radius);width:min(560px,calc(100% - 2rem));max-height:calc(100vh - 2rem)}
.modal::backdrop{background:rgba(0,0,0,.75)}
.modal-h{display:flex;justify-content:space-between;align-items:center;padding:1.2rem 1.4rem;border-bottom:1px solid var(--line)}
.modal-h h3{font-size:1.6rem}
.modal-b{padding:1.4rem;display:grid;gap:1rem}

/* WhatsApp anësor */
.wa-side{position:fixed;left:0;top:50%;transform:translateY(-50%);z-index:60;display:flex;align-items:center;gap:.6rem;background:#1FA855;color:#fff;text-decoration:none;padding:.9rem .7rem;border-radius:0 6px 6px 0;writing-mode:vertical-rl;transform-origin:left center;font-size:.88rem;font-weight:600;box-shadow:0 6px 24px rgba(0,0,0,.4);transition:padding .2s,background .2s}
.wa-side svg{width:22px;height:22px;transform:rotate(90deg)}
.wa-side:hover{background:#25C063;padding-left:1rem}
.wa-side span{transform:rotate(180deg)}
@media (max-width:760px){
  .wa-side{writing-mode:horizontal-tb;top:auto;bottom:20px;left:16px;transform:none;width:56px;height:56px;border-radius:50%;padding:0;justify-content:center}
  .wa-side span{display:none}
  .wa-side svg{transform:none;width:28px;height:28px}
}

/* chatbot */
.chat-fab{position:fixed;right:20px;bottom:20px;z-index:61;height:56px;padding:0 1.2rem 0 1rem;border-radius:28px;background:var(--gold);color:var(--black);border:0;display:flex;align-items:center;gap:.55rem;font-weight:600;cursor:pointer;box-shadow:0 8px 28px rgba(0,0,0,.5);transition:background .2s}
.chat-fab:hover{background:var(--gold-light)}
.chat-fab svg{width:22px;height:22px}
.chat-fab .x{display:none}
.chat-open .chat-fab .x{display:block}
.chat-open .chat-fab .o,.chat-open .chat-fab .lbl{display:none}
.chat-open .chat-fab{padding:0;width:56px;justify-content:center}
@media (max-width:760px){.chat-fab .lbl{display:none}.chat-fab{width:56px;padding:0;justify-content:center}}
.chat{position:fixed;right:20px;bottom:88px;z-index:61;width:min(380px,calc(100vw - 2rem));height:min(560px,calc(100vh - 120px));background:var(--panel);border:1px solid var(--line);border-radius:6px;display:flex;flex-direction:column;box-shadow:0 20px 60px rgba(0,0,0,.6);opacity:0;visibility:hidden;transform:translateY(10px);transition:opacity .2s,transform .2s,visibility .2s}
.chat-open .chat{opacity:1;visibility:visible;transform:none}
.chat-h{display:flex;align-items:center;gap:.8rem;padding:1rem 1.1rem;border-bottom:1px solid var(--line)}
.chat-h .av{width:44px;height:40px;display:grid;place-items:center}
.chat-h .av img{height:34px;width:auto}
.chat-h b{display:block;font-weight:500}
.chat-h small{color:var(--ok);font-size:.78rem}
.chat-h .icon-btn{margin-left:auto;width:36px;height:36px}
.chat-body{flex:1;overflow-y:auto;padding:1rem;display:flex;flex-direction:column;gap:.7rem;scroll-behavior:smooth}
.msg{max-width:86%;padding:.7rem .9rem;font-size:.92rem;line-height:1.5;border-radius:4px}
.msg.bot{background:var(--panel-2);border:1px solid var(--line);align-self:flex-start}
.msg.me{background:var(--gold);color:var(--black);align-self:flex-end}
.msg a{color:var(--gold)}
.msg .mini{display:flex;gap:.7rem;align-items:center;margin-top:.6rem;text-decoration:none;padding-top:.6rem;border-top:1px solid var(--line)}
.msg .mini img{width:64px;height:48px;object-fit:cover;flex:none}
.msg .mini b{display:block;font-weight:500;font-size:.86rem;line-height:1.3;color:var(--text)}
.msg .mini span{color:var(--gold);font-size:.84rem}
.typing{display:flex;gap:4px;padding:.9rem}
.typing i{width:6px;height:6px;border-radius:50%;background:var(--gold);animation:dot 1s infinite}
.typing i:nth-child(2){animation-delay:.15s}.typing i:nth-child(3){animation-delay:.3s}
@keyframes dot{50%{opacity:.25;transform:translateY(-3px)}}
.chips{display:flex;flex-wrap:wrap;gap:.4rem;padding:0 1rem .6rem}
.chips button{background:transparent;border:1px solid var(--gold-dark);color:var(--gold-light);padding:.4rem .75rem;border-radius:16px;font-size:.82rem;cursor:pointer;transition:background .2s,color .2s}
.chips button:hover{background:var(--gold);color:var(--black)}
.chat-f{display:flex;gap:.5rem;padding:.8rem;border-top:1px solid var(--line)}
.chat-f .input{min-height:44px}
.chat-f .btn{min-height:44px;width:44px;padding:0}
