/* =====================================================================
   Moor UI — sistèm desen komen pou tout sit yo (SidStay, MoorPicks,
   MOORPROD, Rovekai). Stil: apple.com — fon blan/gri klè, tèks nwa,
   gwo tit, bouton won, meni transparan.
   Chak sit chanje SÈLMAN blòk "Mak" ki anba a (koulè aksan).
   Kopi referans: design-system/moor-ui.css
   ===================================================================== */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --card: #ffffff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --muted-2: #86868b;
  --line: #d2d2d7;
  --stage: #000000;
  --stage-ink: #f5f5f7;
  --ok: #1d8348;
  --err: #d70015;
  --r: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --ease: cubic-bezier(.28, .11, .32, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* ---- Mak: SidStay ---- */
  --accent: #c2410c;        /* bouton, lyen */
  --accent-hover: #9a3412;
  --on-accent: #ffffff;
  --sun: #f2994a;           /* logo, dekorasyon */
  --ocean: #0a7c94;
  --grad-a: #f6c453;
  --grad-b: #f2994a;
  --grad-c: #e8590c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.47 var(--font); letter-spacing: -0.022em; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.015em; line-height: 1.1; }
p { margin: 0; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.hidden { display: none !important; }
.i { width: 1em; height: 1em; flex: none; vertical-align: -0.12em; }

/* ---------- meni (tankou apple.com) ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0, 0, 0, .06); }
.nav-in { display: flex; align-items: center; gap: 22px; height: 52px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 19px; letter-spacing: -0.02em; color: var(--ink); }
.logo { width: 28px; height: 28px; flex: none; }
.brand em { font-style: normal; color: var(--sun); }
.links { display: flex; gap: 26px; margin-left: auto; font-size: 13px; letter-spacing: -0.01em; }
.links a { color: var(--ink); opacity: .8; transition: opacity .2s; }
.links a:hover { opacity: 1; }

/* ---------- bouton ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: inherit; font-size: 17px; font-weight: 500; letter-spacing: -0.022em; padding: 12px 22px; border-radius: 980px; background: var(--accent); color: var(--on-accent); transition: background .25s var(--ease), transform .25s var(--ease); }
.pill:hover { background: var(--accent-hover); }
.pill:active { transform: scale(.98); }
.pill:disabled { opacity: .5; cursor: default; }
.pill .i { width: 18px; height: 18px; }
.pill-sm { padding: 7px 15px; font-size: 13px; }
.pill-wide { width: 100%; }
.pill-light { background: #fff; color: var(--ink); }
.pill-light:hover { background: #e8e8ed; }
.pill-ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.pill-ghost:hover { background: var(--accent); color: var(--on-accent); }
.more-link { color: var(--accent); font-weight: 400; display: inline-flex; align-items: center; gap: 2px; }
.more-link::after { content: "›"; font-size: 1.25em; line-height: 1; margin-left: 3px; transition: transform .2s; }
.more-link:hover { text-decoration: underline; }

/* ---------- tit ---------- */
.eyebrow { font-size: 17px; font-weight: 600; color: var(--accent); margin: 0 0 10px; display: flex; align-items: center; gap: 6px; letter-spacing: -0.02em; }
.eyebrow.dark { font-size: 15px; font-weight: 500; }
.grad { background: linear-gradient(90deg, var(--grad-a), var(--grad-b) 40%, var(--grad-c)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.38; color: var(--muted); max-width: 680px; margin-top: 14px; letter-spacing: -0.02em; }
.lead a { color: var(--accent); }

/* ---------- ewo + zile 3D ---------- */
.hero { position: relative; background: radial-gradient(120% 70% at 50% 0%, #fff 0%, var(--bg-alt) 70%); text-align: center; padding: 64px 0 0; overflow: hidden; }
.hero h1 { font-size: clamp(48px, 8vw, 96px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; }
.hero .lead { margin: 18px auto 0; }
.hero-cta { display: flex; justify-content: center; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 26px; }
.hero-3d { position: relative; height: clamp(360px, 62vh, 640px); margin-top: 6px; }
.hero-3d canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity 1.2s var(--ease); touch-action: pan-y; }
.hero-3d.ready canvas { opacity: 1; }
.hero-3d .poster { position: absolute; inset: 12% 22% 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(34, 184, 207, .35), rgba(34, 184, 207, 0)); transition: opacity 1s; }
.hero-3d.ready .poster { opacity: 0; }
.search { position: relative; z-index: 2; margin: -48px auto 0; display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 10px 40px rgba(0, 0, 0, .1); padding: 8px; border-radius: 999px; max-width: 760px; text-align: left; }
.search label { display: flex; flex-direction: column; gap: 1px; padding: 8px 20px; border-radius: 999px; transition: background .2s; }
.search label:hover { background: var(--bg-alt); }
.search label span { font-size: 12px; font-weight: 600; color: var(--ink); }
.search select { background: transparent; color: var(--muted); border: 0; font: inherit; font-size: 15px; padding: 2px 0; outline: none; appearance: none; cursor: pointer; }
.hero + .section { padding-top: 80px; }
.hero-in { animation: heroIn 1s var(--ease) both; }
.hero h1.hero-in { animation-delay: .08s; } .hero .lead.hero-in { animation-delay: .16s; } .hero-cta.hero-in { animation-delay: .24s; } .search.hero-in { animation-delay: .4s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-in { animation: none; } }

/* ---------- seksyon ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 24px; }
.sec-head h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.025em; }
.sec-head a { color: var(--accent); font-size: 17px; display: inline-flex; align-items: center; gap: 4px; }
.sec-head a .i { width: 14px; height: 14px; }
.section .sec-head:not(:first-child) { margin-top: 56px; }

/* gwo kazye (tankou blòk pwodui apple.com) */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { position: relative; border-radius: var(--r); padding: 40px 34px 34px; min-height: 320px; display: flex; flex-direction: column; background: var(--bg-alt); color: var(--ink); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.tile:hover { transform: scale(1.012); box-shadow: 0 18px 50px rgba(0, 0, 0, .1); }
.tile h2 { font-size: 32px; margin-top: auto; letter-spacing: -0.025em; }
.tile p { margin: 8px 0 16px; color: var(--muted); line-height: 1.4; }
.tile .more { color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.tile-i { width: 52px; height: 52px; }
.tile-lojman .tile-i { color: var(--grad-c); }
.tile-machin .tile-i { color: var(--ink); }
.tile-sit .tile-i { color: var(--ocean); }
.tile-machin { background: var(--stage); color: var(--stage-ink); }
.tile-machin p { color: #a1a1a6; }
.tile-machin .more { color: #2997ff; }
.tile-plain { background: var(--bg-alt); min-height: 240px; }
.tile-plain .tile-i { color: var(--accent); }

/* ---------- kat (anons, sit, gid) ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(262px, 1fr)); gap: 30px 22px; }
.grid-sm { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-bottom: 8px; }
.card { display: flex; flex-direction: column; }
.card-media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; background: var(--bg-alt); }
.card-media > * { transition: transform .8s var(--ease); }
.card:hover .card-media > .ph, .card:hover .card-media > img { transform: scale(1.04); }
.ph-img { width: 100%; height: 100%; object-fit: cover; }
.ph { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: rgba(255, 255, 255, .92); font-size: 12px; }
.ph span { opacity: .8; }
.ph-i { width: 46px; height: 46px; opacity: .9; }
.ph-big { min-height: 100%; }
.ph-big .ph-i { width: 72px; height: 72px; }
.ph-plaj { background: linear-gradient(160deg, #7dd3e3, #0a7c94 60%, #f6c453 130%); }
.ph-zile { background: linear-gradient(160deg, #ffd27a, #f2994a 40%, #0a7c94); }
.ph-kaskad { background: linear-gradient(160deg, #5fd0b5, #0b6f65); }
.ph-pak { background: linear-gradient(160deg, #6e9f68, #1f4029); }
.ph-gwot { background: linear-gradient(160deg, #8a8178, #2a2420); }
.ph-istwa { background: linear-gradient(160deg, #d29a76, #6a3826); }
.ph-kilti { background: linear-gradient(160deg, #e67fa6, #7a2a6b); }
.ph-lojman { background: linear-gradient(160deg, #f6b35b, #c84d22); }
.ph-machin { background: linear-gradient(160deg, #56708a, #121e2b); }
.ph-sevis { background: linear-gradient(160deg, #9d7bd8, #4c2c86); }
.kredi { position: absolute; right: 10px; bottom: 10px; font-size: 11px; color: #fff; background: rgba(0, 0, 0, .45); padding: 3px 8px; border-radius: 6px; max-width: 70%; }
.badge { position: absolute; top: 12px; left: 12px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); color: var(--ink); font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; }
.card-body { padding: 14px 2px 0; }
.card-meta { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.card h3 { font-size: 19px; margin: 5px 0 3px; letter-spacing: -0.02em; }
.card-sub { font-size: 14px; color: var(--muted); }
.card-desc { font-size: 15px; color: var(--muted); margin: 4px 0 0; line-height: 1.42; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price { display: block; margin-top: 6px; font-size: 15px; }
.price b { font-weight: 600; }
.price.muted { color: var(--muted); }

/* komin */
.komin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.komin-tile { background: var(--bg-alt); border-radius: var(--r-md); padding: 20px 22px; display: flex; flex-direction: column; gap: 2px; transition: transform .4s var(--ease), background .3s; }
.komin-tile:hover { transform: scale(1.02); background: #ececf0; }
.komin-tile b { font-size: 17px; font-weight: 600; }
.komin-tile span { color: var(--accent); font-size: 14px; }
.komin-tile small { color: var(--muted); margin-top: 6px; font-size: 13px; line-height: 1.4; }

/* bann nwa (tankou seksyon nwa apple.com) */
.band { background: var(--stage); color: var(--stage-ink); padding: 110px 0; text-align: center; }
.band-in { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.band h2 { font-size: clamp(32px, 4.6vw, 56px); max-width: 820px; letter-spacing: -0.03em; }
.band p { color: #a1a1a6; margin: 0 0 12px; font-size: 21px; }
.band-i { width: 44px; height: 44px; color: var(--sun); }

/* ---------- paj lis ---------- */
.page-head { background: var(--bg); padding: 64px 0 28px; }
.page-head h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 700; letter-spacing: -0.035em; }
.page-head .eyebrow { color: var(--accent); }
.muted-l { color: var(--muted); font-weight: 500; }
.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin-top: 30px; }
.filters label, .book label, .card-form label { display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: -0.01em; }
.filters select, .book input, .book textarea, .card-form input, .card-form select, .card-form textarea {
  font: inherit; font-size: 15px; color: var(--ink); background: var(--bg-alt); border: 1px solid transparent; border-radius: var(--r-sm); padding: 11px 14px; outline: none; transition: border-color .2s, background .2s, box-shadow .2s; }
.filters select:focus, .book input:focus, .book textarea:focus, .card-form :is(input, select, textarea):focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(194, 65, 12, .12); }
.count { margin-left: auto; color: var(--muted); font-size: 14px; padding-bottom: 12px; }
.empty { background: var(--bg-alt); border-radius: var(--r-md); padding: 30px; color: var(--muted); line-height: 1.5; }
.empty a { color: var(--accent); }

/* ---------- paj detay ---------- */
.detail { padding: 28px 0 80px; }
.back { display: inline-block; color: var(--accent); margin-bottom: 18px; font-size: 15px; }
.gallery { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 21 / 9; background: var(--bg-alt); }
.gallery .ph-img { position: absolute; inset: 0; }
.detail-grid { display: grid; grid-template-columns: 1fr 390px; gap: 56px; margin-top: 36px; align-items: start; }
.detail h1 { font-size: clamp(34px, 4.6vw, 52px); font-weight: 700; letter-spacing: -0.035em; }
.facts { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); }
.facts li { display: inline-flex; align-items: center; gap: 6px; }
.prose { font-size: 19px; line-height: 1.55; margin: 24px 0; max-width: 690px; letter-spacing: -0.02em; }
.h3 { font-size: 24px; margin: 36px 0 14px; letter-spacing: -0.02em; }
.chips { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.chips li { display: flex; align-items: center; gap: 8px; background: var(--bg-alt); padding: 13px 15px; border-radius: var(--r-sm); font-size: 15px; }
.chips .i { color: var(--accent); }
.book { position: sticky; top: 80px; background: var(--card); border-radius: var(--r); padding: 26px; box-shadow: 0 4px 30px rgba(0, 0, 0, .1); display: flex; flex-direction: column; gap: 12px; }
.book form { display: flex; flex-direction: column; gap: 12px; }
.book h3 { font-size: 24px; }
.book-price .price { font-size: 22px; margin: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.book-total { font-size: 15px; }
.book-total:empty { display: none; }
.fine { font-size: 12px; color: var(--muted); line-height: 1.45; margin: 0; text-align: center; }
.form-msg { margin: 0; font-size: 14px; line-height: 1.45; }
.form-msg:empty { display: none; }
.form-msg.err { color: var(--err); }
.form-msg.ok { color: var(--ok); }
.narrow { max-width: 640px; }
.card-form { background: var(--bg-alt); border-radius: var(--r); padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.card-form :is(input, select, textarea) { background: #fff; }
.when { display: flex; align-items: center; gap: 8px; color: var(--ocean); margin: -6px 0 22px; }

/* ---------- pye paj (tankou apple.com) ---------- */
.foot { background: var(--bg-alt); padding: 44px 0 52px; font-size: 12px; color: var(--muted); line-height: 1.5; }
.foot-in { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 26px; }
.foot .brand { font-size: 17px; }
.foot .logo { width: 24px; height: 24px; }
.foot .muted { margin-top: 6px; }
.foot-links { display: grid; grid-template-columns: repeat(2, auto); gap: 8px 40px; align-content: start; }
.foot-links a, .foot-contact a { color: #424245; }
.foot-links a:hover, .foot-contact a:hover { text-decoration: underline; color: var(--ink); }
.foot-contact { display: flex; flex-direction: column; gap: 6px; }
.foot-contact b { color: var(--ink); font-weight: 600; }
.lang-foot { display: flex; gap: 14px; margin-top: 14px; }
.lang-foot a { color: var(--muted); } .lang-foot a.on { color: var(--ink); font-weight: 600; }

/* chwa lang (anlè) */
.lang-sw { display: flex; gap: 2px; background: rgba(0, 0, 0, .05); border-radius: 999px; padding: 3px; font-size: 11px; font-weight: 600; }
.lang-sw a { padding: 4px 9px; border-radius: 999px; color: var(--muted); }
.lang-sw a.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.lang-sw a:hover { color: var(--ink); }

/* ---------- animasyon lè w ap woule ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- gid (atik) ---------- */
.art-body { max-width: 760px; margin: 36px auto 0; }
.art-body h1 { font-size: clamp(34px, 5vw, 56px); }
.art-lead { margin: 14px 0 30px; }
.art-body > p, .art-body li { font-size: 19px; line-height: 1.6; letter-spacing: -0.02em; }
.art-body > p { margin: 0 0 18px; }
.art-body h2 { font-size: 32px; margin: 48px 0 16px; letter-spacing: -0.025em; }
.art-body ul { padding-left: 22px; margin: 0 0 18px; }
.art-body li { margin: 8px 0; }
.art-body a:not(.pill):not(.card) { color: var(--accent); }
.art-grid { margin: 22px 0 10px; }
.art-cta { margin-top: 60px; background: var(--stage); color: var(--stage-ink); border-radius: var(--r); padding: 36px; }
.art-cta h3 { font-size: 28px; }
.art-cta p { color: #a1a1a6; margin: 10px 0 20px; }

/* ---------- bouton kontak flotan ---------- */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.wa-float { display: inline-flex; align-items: center; gap: 8px; background: #1d1d1f; color: #fff; font-weight: 500; font-size: 15px; padding: 12px 18px; border-radius: 999px; box-shadow: 0 10px 30px rgba(0, 0, 0, .22); transition: transform .3s var(--ease); }
.wa-float .i { width: 20px; height: 20px; color: #30d158; }
.wa-float:hover { transform: scale(1.04); }
.fab-menu { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-radius: 20px; box-shadow: 0 20px 50px rgba(0, 0, 0, .2); padding: 12px; display: flex; flex-direction: column; gap: 2px; min-width: 250px; }
.fab-menu[hidden] { display: none; }
.fab-menu b { font-size: 12px; color: var(--muted); padding: 4px 10px 6px; }
.fab-menu a { display: grid; grid-template-columns: 22px 1fr; column-gap: 10px; align-items: center; padding: 10px; border-radius: 12px; font-weight: 500; font-size: 15px; }
.fab-menu a:hover { background: rgba(0, 0, 0, .05); }
.fab-menu a .i { width: 20px; height: 20px; color: #30d158; grid-row: span 2; }
.fab-menu a[href^="tel"] .i { color: var(--accent); }
.fab-menu small { grid-column: 2; color: var(--muted); font-weight: 400; font-size: 13px; }
.wa-choice { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }

/* ---------- mesaj, galri, espas met ---------- */
.flash { padding-top: 16px; }
.flash p { margin: 0 0 8px; padding: 12px 16px; border-radius: var(--r-sm); background: #e9f7ef; color: var(--ok); font-weight: 500; font-size: 15px; }
.flash .flash-error { background: #fdeceb; color: var(--err); }
.badge-ok { color: var(--ok); display: inline-flex; align-items: center; gap: 4px; }
.patne-tag { display: inline-flex; align-items: center; gap: 4px; vertical-align: middle; font-size: 14px; font-weight: 600; color: var(--ok); background: #e9f7ef; padding: 5px 11px; border-radius: 999px; letter-spacing: -0.01em; }
.preview-bar { background: #fff4e5; color: #8a4b00; padding: 12px 16px; border-radius: var(--r-sm); margin-bottom: 14px; font-size: 15px; }
.preview-bar a, .claim a, .link { color: var(--accent); }
.claim { margin-top: 40px; color: var(--muted); }
.pgal { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; border-radius: var(--r); overflow: hidden; aspect-ratio: 21 / 9; }
.pgal-i { padding: 0; border: 0; cursor: zoom-in; background: var(--bg-alt); overflow: hidden; }
.pgal-i img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .3s; }
.pgal-i:hover img { transform: scale(1.03); filter: brightness(.94); }
.pgal-main { grid-row: span 2; }
.pgal-all { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 6px; border: 0; background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); border-radius: 999px; padding: 9px 16px; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.pgal-n3 { grid-template-columns: 2fr 1fr; }
.pgal-n4 .pgal-i:nth-child(4) { grid-column: span 2; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .94); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 14px; }
.lb-close, .lb-nav { position: absolute; background: rgba(255, 255, 255, .14); color: #fff; border: 0; font-size: 32px; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; } .lb-next { right: 18px; }
.lb-count { position: absolute; bottom: 18px; color: #fff; opacity: .8; font-size: 14px; }
.auth-h { font-size: 44px; margin-bottom: 8px; letter-spacing: -0.03em; }
.fld { display: flex; flex-direction: column; gap: 6px; }
.fld > label { font-size: 13px; font-weight: 600; color: var(--ink); }
.fld > label i { color: var(--err); font-style: normal; }
.fld input:not([type=checkbox]), .fld select, .fld textarea, .claim-search input { font: inherit; font-size: 16px; color: var(--ink); background: var(--bg-alt); border: 1px solid transparent; border-radius: var(--r-sm); padding: 12px 14px; outline: none; width: 100%; }
.card-form .fld input:not([type=checkbox]), .card-form .fld select, .card-form .fld textarea { background: #fff; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(194, 65, 12, .12); }
.fld .help { color: var(--muted); font-size: 13px; }
.fld .err, .fld-err > label { color: var(--err); }
.fld ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.fld ul li label { display: flex; align-items: center; gap: 8px; background: var(--bg-alt); padding: 11px 13px; border-radius: 10px; font-size: 15px; cursor: pointer; }
.fld ul li input { width: 18px; height: 18px; accent-color: var(--accent); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.stat { background: var(--bg-alt); border-radius: var(--r-md); padding: 22px; display: flex; flex-direction: column; gap: 4px; }
.stat .i { width: 24px; height: 24px; color: var(--accent); }
.stat b { font-size: 40px; letter-spacing: -0.04em; font-weight: 600; }
.stat span { color: var(--muted); font-size: 14px; }
.btns { display: flex; gap: 8px; flex-wrap: wrap; }
.mlist { display: flex; flex-direction: column; gap: 10px; }
.mrow { display: grid; grid-template-columns: 84px 1fr auto auto auto; gap: 18px; align-items: center; background: var(--bg-alt); border-radius: var(--r-md); padding: 12px; transition: background .3s; }
a.mrow:hover { background: #ececf0; }
.mrow:not(:has(.mthumb)) { grid-template-columns: 1fr auto; padding: 14px 18px; }
.mthumb { width: 84px; height: 64px; border-radius: 10px; overflow: hidden; display: block; }
.mthumb .ph span { display: none; } .mthumb .ph-i { width: 26px; height: 26px; }
.minfo { display: flex; flex-direction: column; } .minfo small { color: var(--muted); }
.mstat { display: flex; flex-direction: column; align-items: center; min-width: 54px; } .mstat b { font-size: 21px; font-weight: 600; } .mstat small { color: var(--muted); font-size: 12px; }
.est { font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: #e8e8ed; color: #424245; white-space: nowrap; }
.est-piblye { background: #e9f7ef; color: var(--ok); } .est-annatant { background: #fff4e5; color: #b25000; } .est-refize { background: #fdeceb; color: var(--err); }
.status-bar { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; background: var(--bg-alt); border-radius: 14px; padding: 14px 16px; font-size: 15px; }
.status-bar form { margin-left: auto; }
.medit { display: flex; flex-direction: column; gap: 22px; max-width: 920px; }
.mcard { background: var(--bg-alt); border-radius: var(--r); padding: 30px; }
.mcard .fld input:not([type=checkbox]), .mcard .fld select, .mcard .fld textarea, .mcard .fld ul li label { background: #fff; }
.mcard h2 { font-size: 26px; margin-bottom: 8px; }
.mform, .card-form { display: flex; flex-direction: column; gap: 16px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fgrid .fld:has(textarea), .fgrid .fld-wide, .fgrid .fld:first-child { grid-column: 1 / -1; }
.mform > .pill { align-self: flex-start; }
.mfotos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 16px 0; }
.mfoto { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; }
.mfoto img { width: 100%; height: 100%; object-fit: cover; }
.mfoto form { position: absolute; top: 8px; right: 8px; }
.mfoto form + form { right: 48px; }
.mfoto form:only-of-type, .mfoto-first form { right: 8px; }
.mfoto button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); cursor: pointer; display: grid; place-items: center; }
.mfoto .i { width: 16px; height: 16px; }
.mfoto-first { outline: 3px solid var(--accent); }
.upload { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; margin-top: 12px; }
.drop { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 28px; border: 2px dashed var(--line); border-radius: var(--r-md); cursor: pointer; color: var(--muted); text-align: center; background: #fff; }
.drop:hover { border-color: var(--accent); }
.drop .i { width: 30px; height: 30px; color: var(--accent); }
.drop b { color: var(--ink); font-weight: 600; }
.drop input { margin-top: 10px; max-width: 100%; }
.chips li form { display: inline; margin-left: auto; }
.chips li form button { border: 0; background: none; font-size: 18px; cursor: pointer; color: var(--muted); }
.bloke-form { display: grid; grid-template-columns: 1fr 1fr 1.4fr auto; gap: 12px; align-items: end; margin-top: 14px; }
.claim-search { display: flex; gap: 10px; max-width: 520px; margin: 10px 0 16px; }

/* ---------- sèvis: ranje kategori ---------- */
.sv-row { display: grid; grid-template-columns: repeat(9, minmax(108px, 1fr)); gap: 14px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x proximity; }
.page-head .sv-row { margin-top: 28px; }
.sv-tile { display: flex; flex-direction: column; gap: 9px; scroll-snap-align: start; }
.sv-ic { aspect-ratio: 1; border-radius: 22px; background: var(--bg-alt); display: grid; place-items: center; transition: transform .45s var(--ease), background .3s; }
.sv-tile:hover .sv-ic { transform: scale(1.04); background: #ececf0; }
.sv-tile.on .sv-ic { box-shadow: inset 0 0 0 2px var(--ink); }
.sv-i { width: 46%; height: 46%; }
.sv-tile b { font-size: 15px; font-weight: 500; }
.sv-tile small { color: var(--muted); margin-top: -6px; font-size: 12px; }
.sv-fotografi .sv-i { color: #3b4a5a; } .sv-chef .sv-i { color: #c2410c; } .sv-masaj .sv-i { color: #6b4f3a; }
.sv-manje .sv-i { color: #d97706; } .sv-antrenman .sv-i { color: #1d1d1f; } .sv-makiyaj .sv-i { color: #be185d; }
.sv-spa .sv-i { color: #db2777; } .sv-traiteur .sv-i { color: #64748b; } .sv-gid .sv-i { color: var(--ocean); }

/* ---------- telefòn ---------- */
@media (max-width: 900px) {
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 230px; }
  .detail-grid { grid-template-columns: 1fr; gap: 30px; }
  .book { position: static; }
  .gallery { aspect-ratio: 4 / 3; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .nav-in { flex-wrap: wrap; height: auto; padding: 10px 0 0; gap: 8px 14px; }
  .links { order: 3; width: 100%; margin: 0; overflow-x: auto; gap: 20px; padding: 2px 0 10px; white-space: nowrap; }
  .lang-sw { margin-left: auto; }
  .hero { padding-top: 40px; }
  .hero-3d { height: 340px; }
  .search { grid-template-columns: 1fr; border-radius: var(--r-md); margin-top: -30px; }
  .search label { border-radius: var(--r-sm); }
  .search .pill { width: 100%; }
  .section { padding: 44px 0; }
  .count { width: 100%; margin: 0; padding: 0; }
  .filters label { flex: 1 1 140px; }
  .pgal { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; aspect-ratio: auto; border-radius: var(--r-md); }
  .pgal-i { flex: 0 0 88%; aspect-ratio: 4 / 3; scroll-snap-align: start; border-radius: var(--r-md); }
  .pgal-all { right: 10px; bottom: 10px; }
  .stats { grid-template-columns: 1fr; }
  .mrow { grid-template-columns: 64px 1fr auto; } .mrow .mstat { display: none; } .mthumb { width: 64px; height: 50px; }
  .fgrid, .bloke-form { grid-template-columns: 1fr; }
  .mcard { padding: 20px; }
  .status-bar form { margin-left: 0; }
  .wa-float span { display: none; } .wa-float { padding: 14px; }
  .sv-row { grid-template-columns: repeat(9, 100px); }
  .foot-links { grid-template-columns: 1fr 1fr; gap: 8px 20px; }
}
@media (max-width: 430px) { .nav .pill-sm { display: none; } }
