/* ==========================================================================
   Kliek SA: business directory
   Kliek SA brand: navy + gold, white/paper surfaces
   ========================================================================== */
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/InterDisplay-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/InterDisplay-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }

:root {
  --navy: #0f1d38; --navy-2: #182a4d; --navy-3: #24375f;
  --gold: #e2b24a; --gold-2: #f0c565; --gold-ink: #8a6312; --gold-soft: #fbf1da;
  --ink: #111827; --text: #3f4452; --muted: #6b7180; --line: #e6e4de; --line-2: #d5d2ca;
  --paper: #f7f6f2; --paper-2: #efede7; --white: #fff;
  --green: #16794a; --green-soft: #e5f4ec; --red: #b42318; --red-soft: #fdecea; --amber: #a35a07; --amber-soft: #fdf1df; --blue: #1d4ed8; --blue-soft: #e8eefc;
  --wa: #25d366;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-d: "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sm: 8px; --r: 12px; --r-lg: 18px;
  --sh-sm: 0 1px 2px rgba(17,24,39,.06);
  --sh: 0 1px 2px rgba(17,24,39,.04), 0 10px 30px rgba(17,24,39,.07);
  --sh-lg: 0 2px 6px rgba(17,24,39,.06), 0 28px 60px rgba(17,24,39,.16);
  --nav-h: 72px; --container: 1240px; --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-d); color: var(--ink); font-weight: 600; line-height: 1.12; letter-spacing: -.025em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); letter-spacing: -.035em; line-height: 1.04; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.12rem; letter-spacing: -.012em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
strong, b { color: var(--ink); font-weight: 600; }
code { font-size: .88em; background: rgba(0,0,0,.06); padding: .1em .35em; border-radius: 4px; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold-soft); }
[hidden] { display: none !important; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: #c3cadb; }
.section--navy h2, .section--navy h3 { color: #fff; }
.head { max-width: 640px; margin-bottom: 2.75rem; }
.head--c { margin-inline: auto; text-align: center; }
.head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section--navy .head p { color: #a9b2c6; }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.head-row h2 { margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 1rem; }
.section--navy .eyebrow, .hero .eyebrow { color: var(--gold-2); }
.muted { color: var(--muted); font-size: .92rem; }
.row-end { display: flex; justify-content: flex-end; gap: .6rem; margin-top: 1.5rem; flex-wrap: wrap; }
.grid { display: grid; gap: 1.25rem; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; height: 48px; padding: 0 1.3rem; border-radius: 10px; border: 1px solid var(--navy); background: var(--navy); color: #fff; font-weight: 600; font-size: .95rem; line-height: 1; white-space: nowrap; transition: background .2s, border-color .2s, color .2s, box-shadow .2s, transform .15s; }
.btn:hover { background: var(--navy-2); box-shadow: 0 8px 20px rgba(15,29,56,.2); }
.btn:active { transform: translateY(1px); }
.btn .ic { width: 18px; height: 18px; }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-2); border-color: var(--gold-2); box-shadow: 0 8px 20px rgba(226,178,74,.35); }
.btn--ghost { background: var(--white); color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--white); border-color: var(--ink); box-shadow: none; }
.btn--light { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.btn--light:hover { background: rgba(255,255,255,.08); border-color: #fff; box-shadow: none; }
.btn--wa { background: var(--wa); border-color: var(--wa); color: #fff; } .btn--wa:hover { background: #1fb457; border-color: #1fb457; box-shadow: none; }
.btn--danger { background: var(--red); border-color: var(--red); } .btn--danger:hover { background: #8f1c13; }
.btn--sm { height: 38px; padding: 0 .9rem; font-size: .88rem; border-radius: 8px; }
.btn--xs { height: 32px; padding: 0 .7rem; font-size: .82rem; border-radius: 7px; gap: .35rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.icon-btn { width: 38px; height: 38px; border-radius: 9px; display: inline-grid; place-items: center; border: 1px solid var(--line); color: var(--muted); background: var(--white); transition: border-color .2s, color .2s; }
.icon-btn:hover { border-color: var(--ink); color: var(--ink); }
.icon-btn .ic { width: 18px; height: 18px; }
.link { font-weight: 600; color: var(--navy); display: inline-flex; align-items: center; gap: .35rem; }
.link .ic { width: 16px; height: 16px; transition: transform .2s; }
.link:hover .ic { transform: translateX(3px); }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: currentColor; animation: spin .8s linear infinite; }
.btn--ghost .spinner { border-color: rgba(0,0,0,.15); border-top-color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Demo bar ---------- */
.demo-bar { display: flex; align-items: center; justify-content: center; gap: 1rem; padding: .55rem 1rem; background: var(--gold-soft); color: #5e430a; font-size: .84rem; border-bottom: 1px solid #f1dfb5; text-align: center; }
.demo-bar button { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 6px; flex: none; }
.demo-bar button:hover { background: rgba(0,0,0,.06); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 80; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled, .site-header--solid { border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: .65rem; font-family: var(--font-d); font-weight: 600; font-size: 1.2rem; color: var(--navy); letter-spacing: -.02em; flex: none; }
.brand__mark { width: 36px; height: 36px; flex: none; }
.brand__logo { height: 40px; width: auto; display: block; }
.admin-top .brand__logo { height: 32px; }
@media (max-width: 420px) { .brand__logo { height: 31px; } }
.brand small { color: var(--gold-ink); }
.nav__menu { display: flex; align-items: center; gap: .2rem; }
.nav__link { padding: .5rem .85rem; border-radius: 8px; font-weight: 500; font-size: .95rem; color: var(--text); transition: background .2s, color .2s; }
.nav__link:hover { background: var(--paper); color: var(--ink); }
.nav__link[aria-current="page"] { color: var(--navy); font-weight: 600; background: var(--paper); }
.nav__actions { display: flex; align-items: center; gap: .6rem; }
.nav__toggle { display: none; }
@media (min-width: 961px) { .nav__menu .m-only { display: none; } }
@media (max-width: 960px) {
  .nav__toggle { display: inline-grid; }
  .nav__menu { position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.25rem; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(17,24,39,.1); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .25s var(--ease); }
  .nav-open .nav__menu { transform: none; opacity: 1; visibility: visible; }
  .nav__link { padding: .95rem .25rem; font-size: 1.05rem; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav__link[aria-current="page"] { background: transparent; }
  .nav__menu .btn { margin-top: 1rem; }
  .nav__actions .hide-m { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #c3cadb; padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 6.5rem); isolation: isolate; }
.hero__beam { position: absolute; z-index: -1; top: -30%; left: 50%; width: 1400px; height: 1000px; transform: translateX(-50%); background: radial-gradient(ellipse 35% 55% at 50% 0%, rgba(240,197,101,.28), transparent 70%); pointer-events: none; }
.hero__dots { position: absolute; inset: 0; z-index: -1; opacity: .35; background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.hero__in { max-width: 880px; margin: 0 auto; text-align: center; }
.hero h1 { color: #fff; margin-bottom: 1.1rem; }
.hero h1 em { font-style: normal; color: var(--gold-2); }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: #b6bfd3; max-width: 620px; margin: 0 auto 2.2rem; }
.search { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: .4rem; padding: .45rem; background: #fff; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,.35); max-width: 820px; margin: 0 auto; text-align: left; }
.search__field { position: relative; display: flex; align-items: center; gap: .6rem; padding: 0 .9rem; border-radius: 11px; transition: background .2s; min-width: 0; }
.search__field:hover, .search__field:focus-within { background: var(--paper); }
.search__field + .search__field { border-left: 1px solid var(--line); }
.search__field:focus-within + .search__field, .search__field:hover + .search__field { border-color: transparent; }
.search__field .ic { color: var(--muted); width: 20px; height: 20px; }
.search__field label { position: absolute; left: 2.85rem; top: .55rem; font-size: .7rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); pointer-events: none; }
.search__field input, .search__field select { width: 100%; min-width: 0; height: 58px; padding-top: 1rem; border: 0; background: transparent; color: var(--ink); font-weight: 500; font-size: 1rem; outline: none; appearance: none; -webkit-appearance: none; }
.search__field select { cursor: pointer; }
.search .btn { height: 58px; border-radius: 11px; padding: 0 1.6rem; }
.hero__near { margin-top: 1.25rem; display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; color: #fff; padding: .55rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); transition: background .2s, border-color .2s; }
.hero__near:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }
.hero__near .ic { color: var(--gold-2); }
.hero__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 2rem; }
.hero__chips a { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .85rem; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #dbe1ee; font-size: .88rem; transition: background .2s, border-color .2s, color .2s; }
.hero__chips a:hover { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.3); }
.hero__chips .ic { width: 15px; height: 15px; color: var(--gold-2); }
@media (max-width: 760px) {
  .search { grid-template-columns: 1fr; padding: .5rem; }
  .search__field + .search__field { border-left: 0; border-top: 1px solid var(--line); }
  .search .btn { width: 100%; }
}

/* ---------- Trust strip ---------- */
.trust { background: var(--navy-2); color: #c3cadb; border-top: 1px solid rgba(255,255,255,.06); }
.trust__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { display: flex; align-items: center; gap: .8rem; padding: 1.25rem 1rem; font-size: .92rem; }
.trust__item + .trust__item { border-left: 1px solid rgba(255,255,255,.08); }
.trust__item .ic { width: 22px; height: 22px; color: var(--gold-2); }
.trust__item b { color: #fff; display: block; font-weight: 600; }
@media (max-width: 900px) { .trust__in { grid-template-columns: repeat(2, 1fr); } .trust__item:nth-child(3) { border-left: 0; } .trust__item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.08); } }
@media (max-width: 480px) { .trust__item { padding: 1rem .6rem; font-size: .84rem; gap: .55rem; } }

/* ---------- Category tiles ---------- */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: .75rem; }
@media (max-width: 1080px) { .cats { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .cats { grid-template-columns: repeat(2, 1fr); } }
.cat { display: flex; flex-direction: column; gap: .8rem; padding: 1.1rem; border-radius: var(--r); border: 1px solid var(--line); background: var(--white); transition: border-color .2s, transform .25s var(--ease), box-shadow .25s; }
.cat:hover { border-color: var(--navy); transform: translateY(-3px); box-shadow: var(--sh); }
.cat__ic { width: 40px; height: 40px; border-radius: 10px; background: var(--paper); display: grid; place-items: center; color: var(--navy); transition: background .2s, color .2s; }
.cat:hover .cat__ic { background: var(--navy); color: var(--gold-2); }
.cat__ic .ic { width: 20px; height: 20px; }
.cat b { font-size: .93rem; line-height: 1.3; font-weight: 600; }

/* ---------- Business card ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1rem; }
.bcard { position: relative; display: flex; flex-direction: column; padding: 1.25rem; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--white); transition: border-color .2s, box-shadow .25s, transform .25s var(--ease); min-height: 236px; }
.bcard:hover { border-color: var(--line-2); box-shadow: var(--sh); transform: translateY(-3px); }
.bcard__link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.bcard__top { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; margin-bottom: 1rem; }
.bcard__flags { display: flex; flex-direction: column; align-items: flex-end; gap: .3rem; }
.flag { display: inline-flex; align-items: center; gap: .3rem; padding: .18rem .5rem; border-radius: 6px; font-size: .72rem; font-weight: 600; background: var(--navy); color: #fff; white-space: nowrap; }
.flag .ic { width: 12px; height: 12px; }
.flag--gold { background: var(--gold-soft); color: var(--gold-ink); }
.bcard__name { font-size: 1.12rem; margin: 0 0 .3rem; }
.bcard__cat { display: flex; align-items: center; gap: .4rem; font-size: .86rem; color: var(--muted); margin: 0 0 .6rem; }
.bcard__cat .ic { width: 15px; height: 15px; }
.bcard__tag { font-size: .9rem; color: var(--text); margin: 0 0 1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bcard__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.bcard__place { display: flex; align-items: center; gap: .35rem; font-size: .86rem; color: var(--muted); min-width: 0; }
.bcard__place .ic { width: 15px; height: 15px; }
.bcard__place b { color: var(--navy); font-weight: 600; white-space: nowrap; }
.bcard__wa { position: relative; z-index: 2; width: 38px; height: 38px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; flex: none; transition: transform .2s; }
.bcard__wa:hover { transform: scale(1.08); }
.bcard__wa .ic { width: 20px; height: 20px; }
.bcard--skel span { display: block; border-radius: 6px; background: linear-gradient(90deg, var(--paper) 0%, var(--paper-2) 50%, var(--paper) 100%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
.bcard--skel span:nth-child(1) { width: 56px; height: 56px; border-radius: 12px; margin-bottom: 1rem; }
.bcard--skel span:nth-child(2) { width: 70%; height: 18px; margin-bottom: .6rem; }
.bcard--skel span:nth-child(3) { width: 45%; height: 14px; margin-bottom: 1.5rem; }
.bcard--skel span:nth-child(4) { width: 100%; height: 14px; margin-top: auto; }
@keyframes shimmer { to { background-position: -200% 0; } }
.logo { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; flex: none; }
.logo img { width: 100%; height: 100%; object-fit: contain; }
.logo--txt { --h: 212; background: hsl(var(--h) 45% 94%); color: hsl(var(--h) 45% 30%); font-family: var(--font-d); font-weight: 600; font-size: 1.15rem; border-color: hsl(var(--h) 40% 88%); }

/* ---------- Province tiles ---------- */
.provs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
@media (max-width: 760px) { .provs { grid-template-columns: repeat(2, 1fr); } }
.prov { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 1.25rem; border-radius: var(--r); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); color: #fff; font-weight: 600; transition: background .2s, border-color .2s; }
.prov:hover { background: rgba(255,255,255,.09); border-color: var(--gold); }
.prov span { font-size: .78rem; font-weight: 500; color: #a9b2c6; display: block; }
.prov .ic { color: var(--gold-2); transition: transform .2s; }
.prov:hover .ic { transform: translateX(3px); }

/* ---------- Spotlight promo ---------- */
.promo { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 900px) { .promo { grid-template-columns: 1fr; } }
.promo__cover { position: relative; max-width: 380px; margin-inline: auto; width: 100%; }
.promo__cover img, .cover-ph { width: 100%; aspect-ratio: 842 / 1190; object-fit: cover; border-radius: 6px; box-shadow: var(--sh-lg); transform: rotate(-2deg); transition: transform .5s var(--ease); background: var(--navy); }
.promo__cover:hover img { transform: rotate(0); }
.cover-ph { display: grid; place-items: center; color: var(--gold-2); font-family: var(--font-d); font-size: 1.6rem; text-align: center; padding: 2rem; }
.promo__badge { position: absolute; right: -10px; top: 24px; background: var(--gold); color: var(--navy); font-weight: 700; font-size: .82rem; padding: .45rem .8rem; border-radius: 8px; box-shadow: var(--sh); }
.ticks { display: grid; gap: .65rem; margin: 1.5rem 0 2rem; }
.ticks li { display: flex; gap: .7rem; align-items: flex-start; }
.ticks .ic { width: 20px; height: 20px; color: var(--green); margin-top: 2px; }
.section--navy .ticks .ic { color: var(--gold-2); }

/* ---------- Steps / pricing ---------- */
.steps { counter-reset: s; }
.stepc { padding: 1.6rem; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.stepc__n { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--gold-2); display: grid; place-items: center; font-weight: 600; margin-bottom: 1.1rem; font-size: .92rem; }
.stepc p { margin: 0; color: var(--muted); font-size: .95rem; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 1.25rem; }
@media (max-width: 820px) { .plans { grid-template-columns: 1fr; } }
.plan { display: flex; flex-direction: column; padding: 2rem; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); position: relative; }
.plan--hi { border: 2px solid var(--navy); box-shadow: var(--sh-lg); }
.plan__badge { position: absolute; top: -13px; left: 1.6rem; background: var(--gold); color: var(--navy); font-size: .76rem; font-weight: 700; padding: .3rem .7rem; border-radius: 6px; }
.plan h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.plan > p { color: var(--muted); margin: 0; }
.plan__price { display: flex; align-items: baseline; gap: .35rem; margin: 1.5rem 0 1.25rem; }
.plan__price b { font-family: var(--font-d); font-size: 2.8rem; line-height: 1; letter-spacing: -.04em; color: var(--ink); }
.plan__price span { color: var(--muted); font-size: .95rem; }
.plan .ticks { margin: 0 0 1.75rem; flex: 1; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.25rem 0; cursor: pointer; font-weight: 600; color: var(--ink); font-size: 1.04rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .3s; color: var(--muted); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { margin: 0 0 1.3rem; color: var(--text); }

/* ---------- CTA band ---------- */
.cta { display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center; padding: clamp(2rem, 5vw, 3.25rem); border-radius: var(--r-lg); background: var(--navy); color: #b6bfd3; position: relative; overflow: hidden; isolation: isolate; }
.cta::before { content: ""; position: absolute; z-index: -1; right: -10%; top: -60%; width: 520px; height: 520px; background: radial-gradient(circle, rgba(240,197,101,.22), transparent 65%); }
.cta h2 { color: #fff; margin-bottom: .35rem; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta p { margin: 0; }
.cta__act { display: flex; gap: .6rem; flex-wrap: wrap; }
@media (max-width: 820px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Page head ---------- */
.phead { background: var(--paper); border-bottom: 1px solid var(--line); padding: clamp(2.25rem, 5vw, 3.5rem) 0; }
.phead h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .6rem; }
.phead p { color: var(--muted); max-width: 640px; margin: 0; font-size: 1.06rem; }
.crumbs { display: flex; gap: .45rem; font-size: .85rem; color: var(--muted); margin-bottom: 1rem; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Directory ---------- */
.dir-bar { position: relative; z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
@media (min-width: 961px) and (hover: hover) { .dir-bar { position: sticky; top: var(--nav-h); } }
.dir-bar__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr auto; gap: .6rem; padding: 1rem 0; }
.fld { position: relative; }
.fld .ic { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.fld input, .fld select { width: 100%; height: 46px; padding: 0 .9rem 0 2.5rem; border-radius: 10px; border: 1px solid var(--line-2); background: var(--white); color: var(--ink); font-size: .95rem; appearance: none; -webkit-appearance: none; transition: border-color .2s, box-shadow .2s; }
.fld select { padding-right: 2.2rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7180' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; cursor: pointer; }
.fld input:focus, .fld select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(15,29,56,.1); }
.near-btn { height: 46px; }
.near-btn.is-on { background: var(--gold); border-color: var(--gold); color: var(--navy); }
@media (max-width: 1080px) { .dir-bar__in { grid-template-columns: 1fr 1fr; } .dir-bar__in .fld--q { grid-column: 1 / -1; } }
@media (max-width: 560px) { .dir-bar__in { grid-template-columns: 1fr 1fr; gap: .5rem; } .dir-bar__in .fld--cat { grid-column: 1 / -1; } .near-btn { grid-column: 1 / -1; } }
.dir-meta { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.5rem 0 1rem; flex-wrap: wrap; }
.dir-meta p { margin: 0; color: var(--muted); }
.dir-meta p b { color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { display: inline-flex; align-items: center; gap: .35rem; height: 32px; padding: 0 .4rem 0 .75rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: .84rem; font-weight: 500; color: var(--ink); }
.chip button { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.chip button:hover { background: var(--line); color: var(--ink); }
.chip .ic { width: 13px; height: 13px; }
.seg { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); }
.seg button { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .85rem; border-radius: 8px; font-size: .88rem; font-weight: 500; color: var(--muted); }
.seg button.is-on { background: var(--white); color: var(--ink); box-shadow: var(--sh-sm); }
.seg .ic { width: 16px; height: 16px; }
.dir-map { height: 560px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--paper); margin-bottom: 1.5rem; }
@media (max-width: 640px) { .dir-map { height: 420px; } }
.empty { text-align: center; padding: 3.5rem 1.5rem; border-radius: var(--r-lg); border: 1px dashed var(--line-2); background: var(--paper); }
.empty .ic { width: 40px; height: 40px; margin: 0 auto 1rem; color: var(--muted); }
.empty h3 { margin-bottom: .4rem; }
.empty p { color: var(--muted); max-width: 440px; margin: 0 auto 1.25rem; }
.more { display: flex; justify-content: center; padding: 2rem 0 0; }
.leaflet-popup-content { font-family: var(--font); font-size: .9rem; }
.map-pop b { display: block; color: var(--ink); font-size: .98rem; }
.map-pop a { color: var(--navy); font-weight: 600; }

/* ---------- Business profile ---------- */
/* Banner keeps the exact 3:1 shape it was uploaded in, so nothing is cropped on wide screens */
.prof-top { background: var(--white); padding-top: 1.25rem; }
.prof-cover { position: relative; aspect-ratio: 3 / 1; border-radius: var(--r-lg); background: var(--navy); overflow: hidden; }
.prof-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prof-cover--ph { aspect-ratio: auto; height: clamp(140px, 18vw, 220px); }
.prof-top.has-banner + .prof-head .prof-id { padding-top: 1.25rem; align-items: center; }
.prof-top.has-banner + .prof-head .prof-id .logo { margin-top: 0; margin-left: 0; }
@media (max-width: 760px) { .prof-top { padding-top: 0; } .prof-top .container { padding: 0; } .prof-cover { border-radius: 0; } }
.prof-cover--ph { background: linear-gradient(120deg, hsl(var(--h, 212) 45% 22%), hsl(var(--h, 212) 40% 34%)); }
.prof-cover--ph::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px); background-size: 20px 20px; }
.prof-head { background: var(--white); border-bottom: 1px solid var(--line); }
.prof-id { display: grid; grid-template-columns: auto 1fr auto; gap: 1.4rem; align-items: end; padding-bottom: 1.5rem; }
.prof-id .logo { width: 128px; height: 128px; border-radius: 22px; margin-top: -52px; margin-left: 1.5rem; border: 4px solid var(--white); box-shadow: var(--sh); background: var(--white); position: relative; z-index: 1; }
.prof-id .logo--txt { font-size: 2.3rem; }
.prof-id h1 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); margin: 0 0 .35rem; }
.prof-sub { display: flex; flex-wrap: wrap; gap: .35rem 1rem; color: var(--muted); font-size: .94rem; }
.prof-sub span { display: inline-flex; align-items: center; gap: .35rem; }
.prof-sub .ic { width: 16px; height: 16px; }
.prof-flags { display: flex; gap: .4rem; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 760px) {
  .prof-id { grid-template-columns: 1fr; gap: .75rem; }
  .prof-id .logo { width: 96px; height: 96px; border-radius: 18px; margin-top: -44px; margin-left: .25rem; }
  .prof-flags { justify-content: flex-start; }
}
.acts { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; padding-bottom: 1rem; }
.act { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; min-height: 74px; padding: .7rem .3rem; border-radius: var(--r); border: 1px solid var(--line); background: var(--white); font-size: .86rem; font-weight: 600; color: var(--ink); text-align: center; transition: border-color .2s, background .2s; }
.act .ic { width: 22px; height: 22px; }
.act:hover { border-color: var(--ink); }
.act--wa { background: var(--wa); border-color: var(--wa); color: #fff; } .act--wa:hover { background: #1fb457; border-color: #1fb457; }
.acts-2 { display: flex; gap: .5rem; flex-wrap: wrap; padding-bottom: 1.5rem; }
.pill-btn { display: inline-flex; align-items: center; gap: .45rem; height: 40px; padding: 0 .95rem; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: .88rem; font-weight: 500; color: var(--ink); transition: border-color .2s; }
.pill-btn .ic { width: 16px; height: 16px; }
.pill-btn:hover { border-color: var(--ink); }
.prof-body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 1.5rem; align-items: start; padding: 1.5rem 0 4rem; }
@media (max-width: 960px) { .prof-body { grid-template-columns: 1fr; } }
.prof-main, .prof-side { display: grid; gap: 1.25rem; min-width: 0; }
@media (min-width: 961px) and (hover: hover) { .prof-side { position: sticky; top: calc(var(--nav-h) + 1.25rem); } }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; }
@media (max-width: 560px) { .panel { padding: 1.25rem; } }
.panel h2 { font-size: 1.25rem; margin-bottom: 1rem; }
.panel__h { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
.panel__h h2 { margin: 0; }
.prof-desc { font-size: 1.02rem; white-space: pre-line; }
.tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.tag { font-size: .85rem; font-weight: 500; padding: .35rem .75rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); }
.crow { display: flex; align-items: center; gap: .85rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.crow:last-child { border-bottom: 0; }
.crow__ic { width: 38px; height: 38px; border-radius: 10px; background: var(--paper); display: grid; place-items: center; color: var(--ink); flex: none; }
.crow__ic .ic { width: 18px; height: 18px; }
.crow small { display: block; font-size: .76rem; color: var(--muted); }
.crow b { font-size: .94rem; overflow-wrap: anywhere; }
a.crow:hover b { text-decoration: underline; text-underline-offset: 3px; }
.socials { display: flex; flex-wrap: wrap; gap: .5rem; }
.soc { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink); transition: background .2s, color .2s, border-color .2s; }
.soc:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.soc .ic { width: 19px; height: 19px; }
.hours { white-space: pre-line; font-size: .95rem; }
.map-frame { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/9; background: var(--paper); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.badge-card { background: var(--navy); color: #b6bfd3; border-radius: var(--r-lg); padding: 1.5rem; }
.badge-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: .35rem; }
.badge-card p { font-size: .9rem; margin-bottom: 1rem; }
.badge-card .seal { display: flex; align-items: center; gap: .6rem; margin-bottom: .9rem; color: var(--gold-2); font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.badge-card .seal i { width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; }
.badge-card .seal .ic { width: 16px; height: 16px; }
.badge-card a { color: #fff; font-weight: 600; font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.35); }
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); backdrop-filter: blur(10px); transform: translateY(110%); transition: transform .3s var(--ease); }
  .mbar.is-on { transform: none; }
  body.has-mbar { padding-bottom: 76px; }
}
.notice { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.15rem; border-radius: var(--r); background: var(--amber-soft); color: #6b3d05; font-size: .93rem; }
.notice .ic { width: 20px; height: 20px; margin-top: 1px; }
.notice--blue { background: var(--blue-soft); color: #1e3a8a; }
.notice--green { background: var(--green-soft); color: #0f5132; }
.notice--red { background: var(--red-soft); color: #7a1a12; }

/* ---------- Editions ---------- */
.editions { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.5rem; }
.edition { display: flex; flex-direction: column; gap: .7rem; }
.edition__cover { aspect-ratio: 842/1190; border-radius: 6px; overflow: hidden; background: var(--navy); box-shadow: var(--sh); transition: transform .3s var(--ease), box-shadow .3s; }
.edition:hover .edition__cover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.edition__cover img { width: 100%; height: 100%; object-fit: cover; }
.edition b { font-size: .98rem; }
.edition span { font-size: .86rem; color: var(--muted); }

/* ---------- Auth / forms ---------- */
.auth-wrap { min-height: calc(100vh - var(--nav-h)); display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .auth-wrap { grid-template-columns: 1fr; min-height: 0; } .auth-side { display: none; } }
.auth-side { background: var(--navy); color: #b6bfd3; padding: clamp(2.5rem, 6vw, 5rem); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; isolation: isolate; }
.auth-side::before { content: ""; position: absolute; z-index: -1; left: -20%; top: -30%; width: 700px; height: 700px; background: radial-gradient(circle, rgba(240,197,101,.2), transparent 65%); }
.auth-side h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.auth-main { display: flex; align-items: center; justify-content: center; padding: clamp(2rem, 5vw, 4rem) 1.25rem; background: var(--white); }
.auth-card { width: min(440px, 100%); }
.auth-card h1 { font-size: 2rem; margin-bottom: .35rem; }
.auth-card > p { color: var(--muted); margin-bottom: 1.75rem; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 11px; background: var(--paper); border: 1px solid var(--line); margin-bottom: 1.5rem; }
.tabs button { padding: .6rem; border-radius: 8px; font-weight: 600; font-size: .92rem; color: var(--muted); }
.tabs button.is-on { background: var(--white); color: var(--ink); box-shadow: var(--sh-sm); }
.form { display: grid; gap: 1rem; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.f3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 640px) { .f2, .f3 { grid-template-columns: 1fr; } }
.field label, .lbl { display: block; font-weight: 500; font-size: .9rem; color: var(--ink); margin-bottom: .4rem; }
.field label .opt, .lbl .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; height: 46px; padding: 0 .9rem; border-radius: 10px; border: 1px solid var(--line-2); background: var(--white); color: var(--ink); font-size: .96rem; transition: border-color .2s, box-shadow .2s; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.2rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7180' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; }
.field textarea { height: auto; min-height: 120px; padding: .75rem .9rem; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(15,29,56,.1); }
.field .hint { font-size: .8rem; color: var(--muted); margin-top: .35rem; }
.field.has-err input, .field.has-err select, .field.has-err textarea { border-color: var(--red); }
.field .err { display: none; color: var(--red); font-size: .82rem; margin-top: .35rem; }
.field.has-err .err { display: block; }
.prefix { display: flex; }
.prefix span { display: grid; place-items: center; padding: 0 .75rem; border: 1px solid var(--line-2); border-right: 0; border-radius: 10px 0 0 10px; background: var(--paper); color: var(--muted); font-size: .88rem; white-space: nowrap; }
.prefix input { border-radius: 0 10px 10px 0 !important; }
.check { display: flex; gap: .65rem; align-items: flex-start; font-size: .92rem; cursor: pointer; }
.check input { width: 19px; height: 19px; margin-top: 2px; accent-color: var(--navy); flex: none; }
.form-err { display: none; padding: .8rem 1rem; border-radius: 10px; background: var(--red-soft); color: var(--red); font-size: .9rem; }
.form-err.is-on { display: block; }
.divider { display: flex; align-items: center; gap: 1rem; color: var(--muted); font-size: .85rem; margin: .5rem 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Uploads */
.uploads { display: grid; grid-template-columns: 200px 1fr; gap: 1rem; }
@media (max-width: 640px) { .uploads { grid-template-columns: 1fr; } }
.up { position: relative; display: grid; place-items: center; text-align: center; border: 1.5px dashed var(--line-2); border-radius: var(--r); background: var(--paper); cursor: pointer; overflow: hidden; transition: border-color .2s, background .2s; color: var(--muted); font-size: .86rem; }
.up:hover, .up.is-drag { border-color: var(--navy); background: #fff; }
.up input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.up--logo { aspect-ratio: 1; }
.up--banner { aspect-ratio: 3/1; }
.up img { position: absolute; inset: 0; width: 100%; height: 100%; }
.up--logo img { object-fit: contain; padding: 8px; background: #fff; }
.up--banner img { object-fit: cover; }
.up__ph { display: grid; gap: .4rem; justify-items: center; padding: 1rem; }
.up__ph .ic { width: 26px; height: 26px; color: var(--navy); }
.up__ph b { color: var(--ink); font-size: .9rem; }
.up__rm { position: absolute; z-index: 2; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 8px; background: rgba(17,24,39,.72); color: #fff; display: none; place-items: center; }
.up.has-img .up__rm { display: grid; }
.up.has-img .up__ph { display: none; }
.up__rm .ic { width: 15px; height: 15px; }

/* Editor (business profile form) */
.editor { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 2rem; align-items: start; }
@media (max-width: 900px) { .editor { grid-template-columns: 1fr; gap: 1rem; } }
.editor__nav { display: grid; gap: .25rem; }
@media (min-width: 901px) and (hover: hover) { .editor__nav { position: sticky; top: calc(var(--nav-h) + 1.5rem); } }
@media (max-width: 900px) { .editor__nav { display: flex; overflow-x: auto; gap: .35rem; padding-bottom: .4rem; scrollbar-width: none; } .editor__nav::-webkit-scrollbar { display: none; } }
.editor__nav a { display: flex; align-items: center; gap: .6rem; padding: .6rem .8rem; border-radius: 9px; font-size: .92rem; font-weight: 500; color: var(--muted); white-space: nowrap; transition: background .2s, color .2s; }
.editor__nav a:hover { background: var(--paper); color: var(--ink); }
.editor__nav a.is-on { background: var(--navy); color: #fff; }
.editor__nav a .n { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .74rem; font-weight: 600; background: var(--paper-2); color: var(--ink); flex: none; }
.editor__nav a.is-on .n { background: var(--gold); color: var(--navy); }
.editor__nav a.is-done .n { background: var(--green); color: #fff; }
.esec { scroll-margin-top: calc(var(--nav-h) + 1.5rem); }
.esec h2 { font-size: 1.25rem; margin-bottom: .25rem; }
.esec > p { color: var(--muted); margin-bottom: 1.25rem; font-size: .94rem; }
.editor__body { display: grid; gap: 1.25rem; }
.save-bar { position: sticky; bottom: 0; z-index: 30; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem; margin-top: .5rem; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh); flex-wrap: wrap; }
.save-bar p { margin: 0; font-size: .88rem; color: var(--muted); }
.svc-input { display: flex; gap: .5rem; }
.svc-input input { flex: 1; }
.svc-list { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.svc-list .chip { background: var(--white); }

/* ---------- Account / dashboard ---------- */
.dash { padding: 2rem 0 4rem; }
.biz-row { display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem; align-items: center; }
@media (max-width: 700px) { .biz-row { grid-template-columns: auto 1fr; } .biz-row__act { grid-column: 1 / -1; } }
.biz-row h2 { margin: 0 0 .3rem; font-size: 1.35rem; }
.biz-row__act { display: flex; gap: .5rem; flex-wrap: wrap; }
.status { display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .6rem; border-radius: 999px; font-size: .78rem; font-weight: 600; white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--active { background: var(--green-soft); color: var(--green); }
.status--pending { background: var(--amber-soft); color: var(--amber); }
.status--suspended, .status--expired { background: var(--red-soft); color: var(--red); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
@media (max-width: 760px) { .kpis { grid-template-columns: repeat(2, 1fr); } }
.kpi { padding: 1.1rem 1.2rem; border-radius: var(--r); background: var(--paper); }
.kpi b { display: block; font-family: var(--font-d); font-size: 1.85rem; line-height: 1.1; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.kpi span { font-size: .84rem; color: var(--muted); }
.kpi--link { cursor: pointer; border: 1px solid transparent; transition: border-color .2s; text-align: left; width: 100%; }
.kpi--link:hover, .kpi--link.is-on { border-color: var(--navy); }
.paybox { white-space: pre-line; font-family: var(--font); background: var(--paper); border-radius: var(--r); padding: 1rem 1.1rem; font-size: .93rem; color: var(--ink); }

/* ---------- Admin ---------- */
.admin-top { background: var(--navy); color: #b6bfd3; }
.admin-top .nav { height: 64px; }
.admin-top .brand { color: #fff; }
.admin-top .brand small { color: var(--gold-2); font-size: .78rem; font-family: var(--font); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: rgba(255,255,255,.08); padding: .15rem .5rem; border-radius: 5px; }
.admin-top a.nav__link, .admin-top button.nav__link { color: #c3cadb; }
.admin-top .nav__link:hover { background: rgba(255,255,255,.08); color: #fff; }
.admin-tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--line); margin-bottom: 1.5rem; overflow-x: auto; scrollbar-width: none; }
.admin-tabs button { display: inline-flex; align-items: center; gap: .45rem; padding: .85rem 1rem; font-weight: 600; font-size: .93rem; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.admin-tabs button.is-on { color: var(--navy); border-color: var(--navy); }
.admin-tabs .count { font-size: .72rem; background: var(--gold); color: var(--navy); padding: .05rem .45rem; border-radius: 999px; }
.toolbar { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; }
.toolbar .fld { min-width: 200px; flex: 1; max-width: 340px; }
.toolbar select { height: 42px; padding: 0 2.2rem 0 .8rem; border-radius: 9px; border: 1px solid var(--line-2); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7180' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .7rem center; appearance: none; -webkit-appearance: none; font-size: .9rem; }
.toolbar .fld input { height: 42px; }
.toolbar__sp { flex: 1; }
.bulk { display: none; align-items: center; gap: .5rem; flex-wrap: wrap; padding: .7rem 1rem; border-radius: 10px; background: var(--navy); color: #fff; margin-bottom: 1rem; font-size: .9rem; }
.bulk.is-on { display: flex; }
.bulk .btn--xs { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); color: #fff; }
.bulk .btn--xs:hover { background: rgba(255,255,255,.2); box-shadow: none; }
.table-wrap { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: auto; background: var(--white); }
table.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 980px; }
.tbl th { position: sticky; top: 0; background: var(--paper); text-align: left; font-weight: 600; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding: .75rem .8rem; border-bottom: 1px solid var(--line); white-space: nowrap; z-index: 1; }
.tbl td { padding: .7rem .8rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tr:hover td { background: #fbfbf9; }
.tbl .biz { display: flex; align-items: center; gap: .7rem; min-width: 220px; }
.tbl .biz .logo { width: 38px; height: 38px; border-radius: 9px; font-size: .85rem; }
.tbl .biz b { display: block; font-size: .93rem; }
.tbl .biz small { color: var(--muted); font-size: .8rem; }
.tbl .chk { width: 18px; height: 18px; accent-color: var(--navy); }
.tbl .late { color: var(--red); font-weight: 600; }
.tbl .soon { color: var(--amber); font-weight: 600; }
.tgl { width: 34px; height: 20px; border-radius: 999px; background: var(--line-2); position: relative; transition: background .2s; flex: none; }
.tgl::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .2s; }
.tgl[aria-pressed="true"] { background: var(--navy); }
.tgl[aria-pressed="true"]::after { transform: translateX(14px); }
.tgl--gold[aria-pressed="true"] { background: var(--gold); }
.row-acts { display: flex; gap: .3rem; justify-content: flex-end; }
.row-acts .icon-btn { width: 32px; height: 32px; border-radius: 7px; }
.row-acts .icon-btn .ic { width: 15px; height: 15px; }
.menu { position: relative; }
.menu__list { position: absolute; right: 0; top: calc(100% + 4px); z-index: 40; min-width: 200px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--sh-lg); padding: .35rem; display: none; }
.menu.is-open .menu__list { display: grid; }
.menu__list button, .menu__list a { display: flex; align-items: center; gap: .55rem; padding: .55rem .7rem; border-radius: 7px; font-size: .9rem; text-align: left; color: var(--ink); }
.menu__list button:hover, .menu__list a:hover { background: var(--paper); }
.menu__list .danger { color: var(--red); }
.menu__list .ic { width: 16px; height: 16px; color: var(--muted); }
.menu__list .danger .ic { color: var(--red); }
.menu__list { min-width: 230px; animation: menuIn .14s ease; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-4px); } }
.menu__h { padding: .5rem .7rem .4rem; font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }
.menu__sep { height: 1px; background: var(--line); margin: .3rem .2rem; }
.menu__list button:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1rem; }
.modal__overlay { position: absolute; inset: 0; background: rgba(15,29,56,.55); animation: fade .2s; }
.modal__dialog { position: relative; width: min(520px, 100%); max-height: calc(100vh - 2rem); overflow-y: auto; background: var(--white); border-radius: var(--r-lg); box-shadow: var(--sh-lg); animation: pop .25s var(--ease); }
.modal__dialog--wide { width: min(1100px, 100%); }
.modal__head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.4rem; background: var(--white); border-bottom: 1px solid var(--line); }
.modal__head h2 { margin: 0; font-size: 1.2rem; }
.modal__body { padding: 1.4rem; }
body.modal-open { overflow: hidden; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 300; transform: translate(-50%, 16px); background: var(--ink); color: #fff; padding: .75rem 1.1rem; border-radius: 10px; font-size: .92rem; box-shadow: var(--sh-lg); opacity: 0; pointer-events: none; transition: all .3s var(--ease); max-width: calc(100% - 2rem); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast.ok { background: var(--green); } .toast.err { background: var(--red); }

/* ---------- Footer ---------- */
.foot { background: var(--navy); color: #a9b2c6; padding: 4rem 0 0; font-size: .93rem; }
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 3rem; }
@media (max-width: 860px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot__grid { grid-template-columns: 1fr; } }
.foot .brand { color: #fff; }
.foot h4 { font-family: var(--font); color: #fff; font-size: .9rem; font-weight: 600; letter-spacing: 0; margin-bottom: .9rem; }
.foot ul { display: grid; gap: .2rem; }
.foot ul a { display: inline-block; padding: .3rem 0; transition: color .2s; }
.foot ul a:hover { color: #fff; }
.foot__about { margin: 1rem 0 0; max-width: 300px; }
.foot__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.3rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .84rem; color: #7f89a1; }
.foot__bottom a:hover { color: #fff; }

/* Floating WhatsApp */
.wa-fab { position: fixed; right: 18px; bottom: 18px; z-index: 70; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.2); transition: transform .2s; }
.wa-fab:hover { transform: scale(1.06); }
.wa-fab .ic { width: 28px; height: 28px; }
@media (max-width: 560px) { .wa-fab { width: 50px; height: 50px; right: 12px; bottom: 12px; } .wa-fab .ic { width: 25px; height: 25px; } .demo-bar { font-size: .76rem; padding: .45rem .75rem; text-align: left; } }

/* Reveal */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0s); }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } .js-reveal [data-reveal] { opacity: 1; transform: none; } }
@media (max-width: 560px) { .save-bar p { display: none; } .save-bar { padding: .75rem; } .save-bar > div { width: 100%; } .save-bar .btn { flex: 1; } }

/* ---------- Profile extras: offer, photos, videos, photo viewer ---------- */
.flag--offer { background: var(--green-soft); color: var(--green); }
.offer { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem 1.1rem; align-items: center; padding: 1.25rem 1.4rem; border-radius: var(--r-lg); background: var(--gold-soft); border: 1px solid #efd8a3; }
.offer__ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--gold); color: var(--navy); }
.offer__ic .ic { width: 22px; height: 22px; }
.offer small { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: .2rem; }
.offer h2 { font-size: 1.2rem; margin: 0; }
.offer p { margin: .35rem 0 0; color: var(--text); }
@media (max-width: 600px) { .offer { grid-template-columns: auto 1fr; } .offer .btn { grid-column: 1 / -1; } }

.gal { display: grid; gap: .6rem; grid-template-columns: repeat(3, 1fr); }
.gal--1 { grid-template-columns: 1fr; } .gal--2 { grid-template-columns: repeat(2, 1fr); }
.gal__it { padding: 0; border: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); cursor: zoom-in; display: block; }
.gal--1 .gal__it { aspect-ratio: 16 / 9; }
.gal__it img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.gal__it:hover img { transform: scale(1.04); }
.gal__it:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (max-width: 520px) { .gal { grid-template-columns: repeat(2, 1fr); } .gal--1 { grid-template-columns: 1fr; } }

.vids { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.vid { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--navy); border: 0; padding: 0; display: block; cursor: pointer; color: #fff; }
.vid img, .vid iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.vid__play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(15,29,56,.28); transition: background .2s; }
.vid__play .ic { width: 58px; height: 58px; stroke-width: 1.4; fill: rgba(15,29,56,.55); }
.vid:hover .vid__play { background: rgba(15,29,56,.12); }
.vid--link { display: grid; place-items: center; text-decoration: none; background: linear-gradient(135deg, var(--navy), var(--navy-3)); }
.vid--link .vid__play { position: static; background: none; }
.vid--link b { position: absolute; bottom: .9rem; left: 0; right: 0; text-align: center; font-weight: 600; font-size: .92rem; }

.lb { position: fixed; inset: 0; z-index: 200; background: rgba(8,14,28,.94); display: grid; place-items: center; padding: 3.5rem 1rem; animation: lbIn .2s ease; }
@keyframes lbIn { from { opacity: 0; } }
.lb img { max-width: min(1200px, 100%); max-height: calc(100vh - 7rem); max-height: calc(100dvh - 7rem); width: auto; height: auto; object-fit: contain; border-radius: 8px; }
.lb button { position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb button:hover { background: rgba(255,255,255,.22); }
.lb__x { top: 1rem; right: 1rem; }
.lb__p { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb__nx { right: 1rem; top: 50%; transform: translateY(-50%) scaleX(-1); }
.lb__n { position: absolute; bottom: 1.1rem; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.75); font-size: .9rem; }
@media (max-width: 600px) { .lb__p, .lb__nx { top: auto; bottom: .6rem; transform: none; } .lb__nx { transform: scaleX(-1); } }

/* ---------- Editor: photo gallery ---------- */
.gal-ed { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); padding: .25rem; border-radius: var(--r); transition: background .2s; }
.gal-ed.is-drag { background: var(--gold-soft); }
.gal-ed__item { margin: 0; position: relative; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--paper-2); border: 1px solid var(--line); }
.gal-ed__item img { width: 100%; height: 100%; object-fit: cover; }
.gal-ed__bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; padding: .35rem; background: linear-gradient(transparent, rgba(0,0,0,.55)); }
.gal-ed__bar button { width: 32px; height: 32px; border-radius: 8px; border: 0; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.gal-ed__bar button:hover { background: #fff; }
.gal-ed__bar .ic { width: 16px; height: 16px; }
.gal-ed__add { position: relative; aspect-ratio: 1; border: 2px dashed var(--line-2); border-radius: var(--r); display: grid; place-content: center; justify-items: center; gap: .2rem; text-align: center; cursor: pointer; color: var(--muted); font-size: .85rem; background: var(--white); transition: border-color .2s, color .2s; }
.gal-ed__add:hover { border-color: var(--gold); color: var(--ink); }
.gal-ed__add b { color: var(--ink); font-weight: 600; }
.gal-ed__add .ic { width: 26px; height: 26px; }
.gal-ed__add input { position: absolute; width: 1px; height: 1px; opacity: 0; }

/* ---------- Trading hours ---------- */
.wk { display: grid; gap: .35rem; }
.wk__row { display: grid; grid-template-columns: 210px 1fr; align-items: center; gap: .75rem; padding: .45rem .7rem; border-radius: 10px; background: var(--paper); min-height: 52px; }
.wk__row.is-open { background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.wk__sep { height: .4rem; }
.wk__day { display: flex; align-items: center; gap: .7rem; cursor: pointer; }
.wk__day b { font-weight: 600; }
.wk__day input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sw { width: 40px; height: 24px; border-radius: 99px; background: var(--line-2); position: relative; flex: none; transition: background .2s; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.wk__day input:checked + .sw { background: var(--green); }
.wk__day input:checked + .sw::after { transform: translateX(16px); }
.wk__day input:focus-visible + .sw { outline: 3px solid var(--gold); outline-offset: 2px; }
.wk__closed { color: var(--muted); font-size: .95rem; }
.wk__times { display: none; align-items: center; gap: .5rem; }
.wk__times span { color: var(--muted); font-size: .9rem; }
.wk__times input { width: 150px; padding: .5rem .6rem; border: 1px solid var(--line-2); border-radius: 8px; font: inherit; background: #fff; color: var(--ink); }
.wk__row.is-open .wk__times { display: flex; }
.wk__row.is-open .wk__closed { display: none; }
@media (max-width: 560px) {
  .wk__row { grid-template-columns: 1fr; gap: .5rem; padding: .6rem .7rem; }
  .wk__times input { width: auto; flex: 1; min-width: 0; }
}
.hrs { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hrs th, .hrs td { padding: .42rem 0; text-align: left; font-weight: 400; border-bottom: 1px solid var(--line); }
.hrs td { text-align: right; color: var(--ink); }
.hrs th { color: var(--muted); }
.hrs tr:last-child th, .hrs tr:last-child td { border-bottom: 0; }
.hrs tr.is-today th, .hrs tr.is-today td { color: var(--ink); font-weight: 600; }
.hrs__ph th, .hrs__ph td { padding-top: .7rem; }
.hrs__h { display: flex; align-items: center; justify-content: space-between; gap: .6rem; flex-wrap: wrap; }
.openst { font-size: .8rem; font-weight: 600; padding: .25rem .6rem; border-radius: 99px; background: var(--paper-2); color: var(--muted); }
.openst.is-open { background: var(--green-soft); color: var(--green); }
.flag--open { background: var(--green-soft); color: var(--green); }

/* ---------- Account: next step + payment ---------- */
.next { margin-top: 1.4rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-bottom: 1.5rem; counter-reset: s; }
.steps__i { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: .7rem; align-items: center; padding: .85rem 1rem; border-radius: var(--r); background: var(--paper); border: 1px solid transparent; }
.steps__i span { grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .9rem; background: var(--white); color: var(--muted); border: 1px solid var(--line-2); }
.steps__i span .ic { width: 16px; height: 16px; }
.steps__i b { font-size: .95rem; color: var(--ink); }
.steps__i small { font-size: .8rem; color: var(--muted); }
.steps__i.is-done span { background: var(--green); border-color: var(--green); color: #fff; }
.steps__i.is-now { background: var(--gold-soft); border-color: #efd8a3; }
.steps__i.is-now span { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.steps__i.is-now small { color: var(--gold-ink); font-weight: 600; }
@media (max-width: 700px) { .steps { grid-template-columns: 1fr; } }

.pay__h { font-size: 1.1rem; margin: 0 0 .8rem; }
.pay { display: grid; gap: 1rem; padding: 1.3rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); }
.pay__amt { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.pay__amt span { font-size: .85rem; color: var(--muted); width: 100%; }
.pay__amt b { font-family: "Inter Display", Inter, sans-serif; font-size: 2rem; line-height: 1; color: var(--ink); }
.pay__amt small { color: var(--muted); }
.pay__ref { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .15rem .75rem; padding: .9rem 1rem; border-radius: var(--r); background: var(--navy); color: #fff; }
.pay__ref span { font-size: .8rem; color: rgba(255,255,255,.7); grid-column: 1; }
.pay__ref b { font-size: 1.4rem; letter-spacing: .06em; grid-column: 1; color: #fff; }
.pay__ref .copy { grid-column: 2; grid-row: 1 / span 2; background: rgba(255,255,255,.12); color: #fff; border-color: transparent; }
.pay__ref small { grid-column: 1 / -1; font-size: .8rem; color: rgba(255,255,255,.7); margin-top: .3rem; }
.pay__bank { margin: 0; display: grid; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.pay__bank div { display: grid; grid-template-columns: 140px 1fr; align-items: center; gap: .75rem; padding: .6rem .9rem; border-bottom: 1px solid var(--line); }
.pay__bank div:last-child { border-bottom: 0; background: var(--paper); }
.pay__bank dt { font-size: .85rem; color: var(--muted); }
.pay__bank dd { margin: 0; display: flex; align-items: center; justify-content: space-between; gap: .6rem; font-weight: 500; color: var(--ink); word-break: break-word; }
@media (max-width: 520px) { .pay__bank div { grid-template-columns: 1fr; gap: .1rem; } }
.copy { flex: none; display: inline-flex; align-items: center; gap: .3rem; height: 30px; padding: 0 .6rem; border-radius: 7px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: .8rem; font-weight: 600; cursor: pointer; }
.copy .ic { width: 14px; height: 14px; }
.copy.is-done { background: var(--green-soft); border-color: var(--green-soft); color: var(--green); }
.pay__done { margin-top: 1rem; padding: 1rem 1.1rem; border-radius: var(--r); background: var(--paper); font-size: .93rem; }
.pay__btns { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .8rem; }
.paywrap { margin-top: 1.25rem; }

/* ---------- Admin: PDF upload ---------- */
.seg { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--paper-2); margin-bottom: .7rem; }
.seg button { border: 0; background: none; padding: .45rem .9rem; border-radius: 8px; font: inherit; font-size: .88rem; font-weight: 600; color: var(--muted); cursor: pointer; }
.seg button.is-on { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.pdfup, .field label.pdfup { position: relative; display: grid; margin: 0; font-weight: 400; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 1rem; padding: 1rem 1.1rem; border: 2px dashed var(--line-2); border-radius: var(--r); background: var(--white); cursor: pointer; transition: border-color .2s, background .2s; }
.pdfup:hover, .pdfup.is-drag, .field label.pdfup:hover, .field label.pdfup.is-drag { border-color: var(--gold); background: var(--gold-soft); }
.pdfup input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pdfup__ic { width: 44px; height: 44px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--paper-2); color: var(--ink); }
.pdfup__ic .ic { width: 22px; height: 22px; }
.pdfup__t { display: grid; gap: .15rem; font-size: .93rem; color: var(--text); min-width: 0; word-break: break-word; }
.pdfup__t b { color: var(--ink); }
.pdfup__t small { color: var(--muted); font-size: .82rem; display: flex; align-items: center; gap: .3rem; flex-wrap: wrap; }
.pdfup__t small .ic { width: 14px; height: 14px; color: var(--green); }
.pdfup__t a { color: var(--ink); text-decoration: underline; }
.pdfup.is-done, .field label.pdfup.is-done { border-style: solid; border-color: #b7dfc6; background: var(--green-soft); }
.pdfup.is-done .pdfup__ic { background: var(--green); color: #fff; }
.pdfup.is-busy { pointer-events: none; opacity: .7; }
.pdfup__bar { height: 6px; border-radius: 99px; background: var(--paper-2); overflow: hidden; margin-top: .6rem; }
.pdfup__bar span { display: block; height: 100%; width: 0; background: var(--gold); transition: width .2s; }
.is-loading { color: transparent !important; background: var(--paper-2); border-radius: 8px; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .55; } }

/* ---------- Legal pages ---------- */
.legal { max-width: 780px; }
.legal__date { color: var(--muted); font-size: .9rem; margin: 0 0 1.5rem; }
.legal h2 { font-size: 1.25rem; margin: 2.2rem 0 .7rem; }
.legal p { margin: 0 0 .8rem; line-height: 1.7; }
.legal ol { list-style: none; padding: 0; margin: 0 0 .8rem; display: grid; gap: .55rem; }
.legal ol li { display: grid; grid-template-columns: 2.6rem 1fr; line-height: 1.65; }
.legal ol b { color: var(--ink); font-weight: 600; }
.legal ul { list-style: disc; margin: 0 0 .8rem; padding-left: 1.3rem; display: grid; gap: .35rem; line-height: 1.6; }
.legal a { color: var(--ink); text-decoration: underline; }
.legal__end { margin-top: 2.5rem; padding: 1.1rem 1.3rem; border-radius: var(--r); background: var(--gold-soft); border: 1px solid #efd8a3; color: var(--ink); font-weight: 500; }
.legal ul li::marker { color: var(--gold); }
