/* =========================================================
   Moot Business Finder — styles
   ========================================================= */
:root {
  /* Brand — taken from the Moot Business Finder badge logo */
  --brand: #0d284c;        /* logo navy */
  --brand-2: #1f4677;      /* lighter navy */
  --brand-deep: #071a33;   /* deep navy */
  --brand-ink: #0d284c;
  --black: #111111;        /* logo lettering black */
  --silver: #c9ced8;
  --navy: #0d284c;
  --pill: linear-gradient(120deg, #1f4677, #0d284c 55%, #071a33);
  --font-head: "Poppins", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-script: "Mr Dafoe", "Brush Script MT", cursive;

  --bg: #f6f7fa;
  --surface: #ffffff;
  --surface-2: #eef1f7;
  --ink: #141414;
  --ink-2: #2b2f38;
  --muted: #5f6672;
  --line: #e4e7ee;
  --ok: #12a150;
  --warn: #e0861a;
  --bad: #d43b3b;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(10, 20, 60, .06), 0 2px 8px rgba(10, 20, 60, .05);
  --shadow: 0 10px 30px -10px rgba(10, 30, 90, .18), 0 2px 6px rgba(10, 20, 60, .05);
  --shadow-lg: 0 30px 80px -20px rgba(8, 20, 70, .35);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --max: 1220px;
  --header-h: 92px;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #0b0c10;
  --surface: #14161c;
  --surface-2: #1c1f27;
  --ink: #f2f4f8;
  --ink-2: #d0d4dd;
  --muted: #9aa1b0;
  --line: #272b36;
  --brand: #8fb0dd;
  --brand-2: #b4cbea;
  --brand-ink: #b4cbea;
  --pill: linear-gradient(120deg, #3c6aa8, #27508a 55%, #1b3d6c);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow: 0 10px 30px -10px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  transition: background .3s, color .3s;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand-2) 70%, transparent); outline-offset: 2px; border-radius: 8px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
h1, h2, h3, .h2 { font-family: var(--font-head); }
.script { font-family: var(--font-script); font-weight: 400; letter-spacing: 0; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.container { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before, .eyebrow::after { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; opacity: .7; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2, .h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.1; letter-spacing: -.025em; margin: 10px 0 0; font-weight: 800; color: var(--ink);
}
.section-head p { margin: 10px 0 0; color: var(--muted); max-width: 52ch; }
.grad-text { color: var(--brand); }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--pill); color: #fff; box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--brand) 70%, transparent); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px color-mix(in srgb, var(--brand) 80%, transparent); }
.btn-ghost { border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { transform: translateY(-2px); }
.btn-outline-light { border: 1.5px solid rgba(255,255,255,.3); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }
.btn-sm { height: 40px; padding: 0 16px; font-size: .88rem; }
.btn-icon { width: 44px; height: 44px; padding: 0; border-radius: 50%; display: inline-grid; place-items: center; border: 1.5px solid var(--line); background: var(--surface); }
.btn-icon:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s, box-shadow .3s, height .3s;
}
.site-header.scrolled, .site-header.solid {
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 var(--line);
  --header-h: 74px;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; }
.brand img { height: 80px; width: auto; max-width: none; transition: height .3s; }
.scrolled .brand img, .solid .brand img { height: 60px; }
.brand .logo-dark { display: none; }
/* On the dark hero (top of home page) and in dark mode, use the white logo */
.on-dark:not(.scrolled) .brand .logo-light,
[data-theme="dark"] .brand .logo-light { display: none; }
.on-dark:not(.scrolled) .brand .logo-dark,
[data-theme="dark"] .brand .logo-dark { display: block; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a { padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .94rem; color: var(--ink-2); transition: background .2s, color .2s; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--surface-2); color: var(--brand); }
.on-dark:not(.scrolled) .nav a { color: rgba(255,255,255,.82); }
.on-dark:not(.scrolled) .nav a:hover, .on-dark:not(.scrolled) .nav a[aria-current="page"] { background: rgba(255,255,255,.12); color: #fff; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); border: 1.5px solid var(--line); background: var(--surface); }
.on-dark:not(.scrolled) .theme-toggle, .on-dark:not(.scrolled) .menu-btn { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; }
.theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: block; }
[data-theme="dark"] .theme-toggle .moon { display: none; }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 50%; place-items: center; border: 1.5px solid var(--line); background: var(--surface); }

/* Mobile nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 60; background: linear-gradient(160deg, #0d284c, #071a33 60%, #050f22); color: #fff;
  display: flex; flex-direction: column; padding: 24px; gap: 8px;
  transform: translateY(-100%); transition: transform .45s var(--ease); visibility: hidden;
}
.mobile-nav.open { transform: none; visibility: visible; }
.mobile-nav .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.mobile-nav .top img { height: 56px; }
.mobile-nav a.link { font-size: 1.7rem; font-weight: 800; padding: 10px 0; letter-spacing: -.02em; border-bottom: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; align-items: center; }
.mobile-nav .btn { margin-top: auto; }
.mobile-nav .close { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%); color: var(--ink);
  padding: calc(var(--header-h) + clamp(40px, 7vw, 90px)) 0 clamp(70px, 9vw, 120px);
}
[data-theme="dark"] .hero, [data-theme="dark"] .page-hero { background: linear-gradient(180deg, #0f1117, var(--bg)); }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg .blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .16; animation: float 16s ease-in-out infinite; }
.hero-bg .b1 { width: 520px; height: 520px; background: #1f4677; top: -160px; right: -80px; }
.hero-bg .b2 { width: 420px; height: 420px; background: #c4c7ce; opacity: .5; bottom: -180px; left: -120px; animation-delay: -5s; }
.hero-bg .b3 { width: 280px; height: 280px; background: #0d284c; top: 40%; left: 45%; opacity: .08; animation-delay: -9s; }
.hero-bg .grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(13,40,76,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(13,40,76,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}
.hero-bg .rings { position: absolute; width: 760px; height: 760px; right: -220px; top: -160px; border-radius: 50%; border: 2px solid rgba(13,40,76,.07); }
.hero-bg .rings::after { content: ""; position: absolute; inset: 120px; border-radius: 50%; border: 2px solid rgba(13,40,76,.07); }
[data-theme="dark"] .hero-bg .rings, [data-theme="dark"] .hero-bg .rings::after { border-color: rgba(255,255,255,.05); }
[data-theme="dark"] .hero-bg .grid { background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); }
@keyframes float { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(30px,-20px) scale(1.06); } 66% { transform: translate(-20px,25px) scale(.96); } }

.hero-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.pill-badge {
  display: inline-flex; align-items: center; gap: 12px; padding: 8px 20px 8px 10px; border-radius: 999px;
  border: 2px solid var(--brand); color: var(--black); background: var(--surface);
  font-family: var(--font-head); font-size: .76rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase;
}
.pill-badge .ring { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--brand); display: grid; place-items: center; }
.pill-badge .ring::after { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--brand); }
.pill-badge i { width: 5px; height: 5px; border-radius: 50%; background: var(--brand); display: inline-block; }
[data-theme="dark"] .pill-badge { color: var(--ink); }
.tagline-lines { display: flex; align-items: center; gap: 14px; margin-top: 14px; font-size: .74rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-2); }
.tagline-lines::before, .tagline-lines::after { content: ""; width: 34px; height: 2px; background: var(--ink-2); }
.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.3rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 900; margin: 24px 0 18px; color: var(--ink);
}
.hero h1 .script { display: inline-block; color: var(--brand); font-size: 1.3em; font-weight: 400; line-height: 1; padding: .02em .15em .12em 0; letter-spacing: 0; transform: rotate(-4deg); transform-origin: left center; }
.hero .lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--muted); max-width: 54ch; margin: 0 0 32px; }

/* Search bar */
.search-bar {
  display: grid; grid-template-columns: 1.3fr 1fr auto; align-items: center;
  background: #fff; color: #0b1226; border-radius: 22px; padding: 8px; border: 1.5px solid #dfe4ee;
  box-shadow: 0 24px 50px -22px rgba(13,40,76,.45);
  max-width: 680px;
}
.search-field { display: flex; align-items: center; gap: 10px; padding: 0 14px; min-width: 0; height: 52px; }
.search-field + .search-field { border-left: 1px solid #e6eaf3; }
.search-field .icon { color: #0d284c; }
.search-field input, .search-field select { border: 0; outline: 0; background: transparent; width: 100%; min-width: 0; font-size: .98rem; font-weight: 500; color: #0b1226; }
.search-field select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.search-field input::placeholder { color: #7c86a3; }
.search-bar .btn { height: 52px; border-radius: 16px; padding: 0 26px; }
.quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-size: .88rem; color: var(--muted); }
.quick button {
  padding: 6px 14px; border-radius: 999px; font-size: .84rem; font-weight: 700; color: var(--ink-2);
  background: var(--surface); border: 1.5px solid var(--line); transition: all .2s;
}
.quick button:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }

.hero-stats { display: flex; gap: clamp(20px, 4vw, 44px); margin-top: 40px; }
.hero-stats > div { padding-left: 16px; border-left: 3px solid var(--brand); }
.hero-stats strong { display: block; font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; letter-spacing: -.03em; line-height: 1; color: var(--ink); }
.hero-stats span { font-size: .85rem; color: var(--muted); font-weight: 600; }

/* Hero visual */
.hero-visual { position: relative; height: 470px; }
.hero-visual .logo-card {
  position: absolute; inset: 50% auto auto 50%; translate: -50% -50%; width: min(480px, 100%);
  padding: 40px 34px; border-radius: 30px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 40px 80px -30px rgba(13,40,76,.35), 0 2px 6px rgba(20,20,20,.04);
}
.hero-visual .logo-card img { width: 100%; height: auto; animation: bob 7s ease-in-out infinite; }
.hero-visual .ring { position: absolute; inset: 50% auto auto 50%; translate: -50% -50%; border-radius: 50%; border: 1.5px dashed rgba(13,40,76,.18); animation: spin 60s linear infinite; }
[data-theme="dark"] .hero-visual .logo-card { background: #fff; border-color: transparent; }
.hero-visual .ring.r1 { width: 400px; height: 400px; }
.hero-visual .ring.r2 { width: 500px; height: 500px; animation-direction: reverse; animation-duration: 90s; }
@keyframes spin { to { rotate: 360deg; } }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 11px 16px 11px 11px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink);
  box-shadow: 0 20px 40px -16px rgba(10,30,90,.35); font-size: .86rem; animation: bob 7s ease-in-out infinite; cursor: pointer;
  transition: border-color .2s;
}
.float-card:hover { border-color: var(--brand); }
.float-card .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--pill); }
.float-card b { display: block; font-size: .92rem; }
.float-card small { color: var(--muted); }
.float-card small .on { color: var(--ok); font-weight: 700; }
.float-card.f1 { top: 6px; right: -10px; }
.float-card.f2 { top: 24px; left: -40px; animation-delay: -2s; }
.float-card.f3 { bottom: 0; right: 10px; animation-delay: -4s; }

/* ---------- Live "open now" panel ---------- */
.live-panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 22px;
  box-shadow: 0 40px 80px -36px rgba(13,40,76,.45), 0 2px 6px rgba(17,17,17,.04);
  position: relative;
}
.live-panel::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(160deg, rgba(13,40,76,.35), transparent 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.lp-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.lp-head > div { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 1.05rem; }
.lp-time { font-size: .8rem; font-weight: 700; color: var(--muted); background: var(--surface-2); padding: 4px 10px; border-radius: 999px; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 22%, transparent); animation: pulse 2s infinite; color: var(--ok); }
.lp-tabs { display: flex; gap: 6px; padding: 4px; background: var(--surface-2); border-radius: 14px; margin-bottom: 10px; }
.lp-tabs button { flex: 1; height: 36px; border-radius: 10px; font-weight: 700; font-size: .85rem; color: var(--muted); transition: all .2s; }
.lp-tabs button.active { background: var(--surface); color: var(--brand); box-shadow: var(--shadow-sm); }
[data-theme="dark"] .lp-tabs button.active { color: var(--ink); }
.lp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; min-height: 340px; align-content: start; }
.lp-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; cursor: pointer; transition: background .2s; animation: lpIn .4s var(--ease) both; }
.lp-item:hover, .lp-item:focus-visible { background: var(--surface-2); }
@keyframes lpIn { from { opacity: 0; transform: translateY(8px); } }
.lp-ic { width: 44px; height: 44px; border-radius: 13px; flex: none; display: grid; place-items: center; color: #fff; background: var(--pill); font-size: 1.1rem; }
.lp-txt { flex: 1; min-width: 0; }
.lp-txt b { display: block; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-txt small { color: var(--muted); font-size: .8rem; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-item .status { font-size: .76rem; white-space: nowrap; }
.lp-item .go { color: var(--muted); }
.lp-empty { padding: 30px 10px; text-align: center; color: var(--muted); font-size: .92rem; }
.lp-foot { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; height: 48px; border-radius: 14px; background: var(--pill); color: #fff; font-weight: 700; transition: transform .2s var(--ease); }
.lp-foot:hover { transform: translateY(-2px); }

/* ---------- Search suggestions ---------- */
.search-bar { position: relative; }
.ac {
  position: absolute; left: 0; right: 0; top: calc(100% + 10px); z-index: 30; background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 8px; max-height: 430px; overflow-y: auto; text-align: left;
}
.ac-group { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 10px 12px 6px; }
.ac-item { width: 100%; display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 12px; text-align: left; }
.ac-item:hover, .ac-item.active { background: var(--surface-2); }
.ac-item .lp-ic { width: 36px; height: 36px; border-radius: 10px; font-size: .95rem; }
.ac-item .cat-ic { background: color-mix(in srgb, var(--brand) 10%, transparent); color: var(--brand); }
.ac-item mark { background: none; color: var(--brand); font-weight: 800; }
.ac-all { justify-content: center; font-weight: 700; color: var(--brand); border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; margin-top: 6px; padding-top: 12px; }
.chip.on-ok.active { background: var(--ok); }

/* ---------- Marquee ---------- */
.marquee { background: var(--pill); overflow: hidden; padding: 16px 0; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; color: #fff; font-size: .9rem; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.marquee span .icon { color: rgba(255,255,255,.75); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Categories bento ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card {
  --h: 215;
  position: relative; overflow: hidden; isolation: isolate;
  padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px; min-height: 160px; text-align: left;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.cat-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(31,70,119,.12), transparent 70%);
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 55%, transparent); }
.cat-card:hover::before { opacity: 1; }
.cat-card .ic {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 1.35rem;
  color: var(--brand); background: color-mix(in srgb, var(--brand) 9%, transparent); transition: all .35s var(--ease);
}
.cat-card:hover .ic { background: var(--pill); color: #fff; }
.cat-card h3 { margin: 0; font-size: 1.06rem; letter-spacing: -.01em; }
.cat-card .count { font-size: .85rem; color: var(--muted); font-weight: 600; }
.cat-card .go { position: absolute; top: 20px; right: 20px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); transition: all .3s var(--ease); }
.cat-card:hover .go { background: var(--brand); color: #fff; transform: rotate(-45deg); }
.cat-card.wide { grid-column: span 2; }
.cat-card.cta { background: var(--pill); color: #fff; border: 0; justify-content: space-between; }
.cat-card.cta p { margin: 0; color: rgba(255,255,255,.8); font-size: .92rem; }
.cat-card.cta .ic { background: rgba(255,255,255,.15); color: #fff; }

/* ---------- Business cards ---------- */
.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.biz-card {
  --h: 215;
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  cursor: pointer;
}
.biz-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.biz-cover {
  position: relative; height: 150px; overflow: hidden;
  background:
    radial-gradient(120% 90% at 90% 0%, rgba(140,170,215,.55), transparent 55%),
    linear-gradient(135deg, #1f4677, #0d284c 45%, #071a33);
}
.biz-cover.v1 { background: radial-gradient(110% 90% at 90% 0%, rgba(31,70,119,.6), transparent 60%), linear-gradient(135deg, #0d284c, #071a33 55%, #040f20); }
.biz-cover.v2 { background: radial-gradient(110% 90% at 85% 10%, rgba(201,206,216,.35), transparent 55%), linear-gradient(135deg, #071a33, #0d284c 60%, #1f4677); }
/* double ring, echoing the badge logo */
.biz-cover::before {
  content: ""; position: absolute; width: 230px; height: 230px; left: -70px; top: -120px; border-radius: 50%; pointer-events: none;
  border: 2px solid rgba(255,255,255,.14); box-shadow: inset 0 0 0 26px transparent, inset 0 0 0 28px rgba(255,255,255,.1);
}
.biz-cover::after {
  content: ""; position: absolute; inset: 0; opacity: .35;
  background-image: radial-gradient(rgba(255,255,255,.35) 1px, transparent 1.4px); background-size: 16px 16px;
  mask-image: linear-gradient(120deg, transparent 20%, #000); -webkit-mask-image: linear-gradient(120deg, transparent 20%, #000);
}
.biz-cover .big-ic { position: absolute; right: -14px; bottom: -26px; font-size: 140px; color: rgba(255,255,255,.16); transform: rotate(-12deg); transition: transform .6s var(--ease); }
.biz-card:hover .big-ic { transform: rotate(0) scale(1.06); }
.biz-cover .big-ic .icon { stroke-width: 1.4; }
.biz-badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; z-index: 1; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 999px;
  font-size: .74rem; font-weight: 700; letter-spacing: .02em;
  background: rgba(255,255,255,.92); color: #0b1226; backdrop-filter: blur(8px);
}
.badge .icon { width: 14px; height: 14px; }
.badge.featured { background: #141414; color: #fff; }
.badge.featured .icon { color: #fff; fill: currentColor; }
.badge.verified .icon { color: #0d284c; }
.fav-btn {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.92); color: #0b1226; transition: transform .2s var(--ease), color .2s;
}
.fav-btn:hover { transform: scale(1.1); }
.fav-btn.on { color: #e5364f; }
.fav-btn.on .icon { fill: currentColor; }
.fav-btn.pop { animation: pop .4s var(--ease); }
@keyframes pop { 50% { transform: scale(1.35); } }

.biz-logo {
  position: absolute; left: 20px; top: 122px; z-index: 1; width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; letter-spacing: -.02em;
  background: var(--surface); color: var(--brand); border: 3px solid var(--surface); box-shadow: var(--shadow-sm); overflow: hidden; font-family: var(--font-head); font-weight: 900;
}
.biz-logo img { width: 100%; height: 100%; object-fit: cover; }
.biz-body { padding: 36px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.biz-cat { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--brand); }
.biz-body h3 { margin: 0; font-size: 1.16rem; letter-spacing: -.02em; line-height: 1.25; }
.biz-body p { margin: 0; color: var(--muted); font-size: .92rem; }
.biz-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: auto; padding-top: 12px; font-size: .84rem; color: var(--muted); font-weight: 600; }
.biz-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.status { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 22%, transparent); }
.status.open { color: var(--ok); }
.status.open::before { animation: pulse 2s infinite; }
.status.closed { color: var(--bad); }
.status.soon { color: var(--warn); }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 22%, transparent); } 50% { box-shadow: 0 0 0 6px color-mix(in srgb, currentColor 0%, transparent); } }
.biz-actions { display: flex; gap: 8px; padding: 0 20px 20px; }
.biz-actions a, .biz-actions button {
  flex: 1; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font-size: .85rem; font-weight: 700; background: var(--surface-2); color: var(--ink-2); transition: background .2s, color .2s;
}
.biz-actions a:hover, .biz-actions button:hover { background: var(--brand); color: #fff; }

/* List view */
.biz-grid.list { grid-template-columns: 1fr; }
.biz-grid.list .biz-card { flex-direction: row; align-items: stretch; }
.biz-grid.list .biz-cover { width: 220px; height: auto; flex: none; }
.biz-grid.list .biz-logo { left: 192px; top: 50%; translate: 0 -50%; }
.biz-grid.list .fav-btn { top: auto; bottom: 12px; right: auto; left: 12px; }
.biz-grid.list .biz-body { padding: 20px 20px 20px 46px; }
.biz-grid.list .biz-actions { flex-direction: column; padding: 20px; justify-content: center; width: 180px; flex: none; }
.biz-grid.list .biz-actions a, .biz-grid.list .biz-actions button { flex: none; }

/* ---------- How it works ---------- */
.how { background: var(--surface); border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step {
  position: relative; padding: 30px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step .num { position: absolute; top: 20px; right: 24px; font-family: var(--font-head); font-size: 3.6rem; font-weight: 900; line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--silver); }
.step .ic { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 1.5rem; color: #fff; background: var(--pill); box-shadow: 0 12px 24px -10px var(--brand); margin-bottom: 20px; }
.step h3 { margin: 0 0 8px; font-size: 1.3rem; letter-spacing: -.02em; }
.step p { margin: 0; color: var(--muted); }

/* ---------- Areas ---------- */
.areas-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.area-cloud { display: flex; flex-wrap: wrap; gap: 12px; }
.area-chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); font-weight: 700; transition: all .25s var(--ease);
}
.area-chip .icon { color: var(--brand); }
.area-chip small { font-weight: 700; font-size: .78rem; color: var(--muted); background: var(--surface-2); padding: 2px 8px; border-radius: 999px; }
.area-chip:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-sm); color: var(--brand); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; padding: clamp(36px, 6vw, 70px);
  background: linear-gradient(120deg, #1f4677, #0d284c 45%, #071a33); color: #fff; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center;
}
.cta-band::before { content: ""; position: absolute; width: 700px; height: 700px; right: -260px; top: -420px; border-radius: 50%; border: 60px solid rgba(255,255,255,.06); z-index: -1; }
.cta-band::after { content: ""; position: absolute; width: 420px; height: 420px; left: -180px; bottom: -280px; border-radius: 50%; border: 40px solid rgba(201,206,216,.12); z-index: -1; }
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.05; letter-spacing: -.03em; margin: 12px 0 14px; }
.cta-band p { color: rgba(255,255,255,.82); margin: 0 0 26px; max-width: 50ch; }
.cta-band .eyebrow { color: #fff; }
.cta-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.cta-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); }
.cta-list .ic { width: 38px; height: 38px; border-radius: 11px; flex: none; display: grid; place-items: center; background: #fff; color: var(--brand); }
.cta-list b { display: block; }
.cta-list span { color: rgba(255,255,255,.75); font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Form ---------- */
.form-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: start; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 7px; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; height: 50px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { height: 120px; padding: 14px 16px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 15%, transparent); background: var(--surface); }
.field .err { display: none; color: var(--bad); font-size: .8rem; margin-top: 5px; font-weight: 600; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--bad); }
.field.invalid .err { display: block; }
.form-note { font-size: .82rem; color: var(--muted); margin: 14px 0 0; }
.perks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.perks li { display: flex; gap: 12px; align-items: flex-start; }
.perks .icon { color: var(--ok); margin-top: 4px; }

/* ---------- Pricing ---------- */
.price-chip { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; margin-left: 2px; border-radius: 999px; background: #fff; color: var(--brand); font-size: .74rem; font-weight: 800; }
[data-theme="dark"] .price-chip { color: #0d284c; }
.price-tag { display: inline-flex; align-items: center; gap: 14px; margin: 0 0 26px; padding: 10px 20px 10px 12px; border-radius: 18px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); }
.price-tag .amt { font-family: var(--font-head); font-size: 2rem; font-weight: 800; line-height: 1; background: #fff; color: var(--brand-deep); padding: 8px 14px; border-radius: 12px; }
.price-tag .per { font-weight: 700; line-height: 1.2; }
.price-tag .per small { display: block; font-weight: 500; opacity: .75; font-size: .82rem; }
.price-card { margin-top: 26px; background: var(--surface); border: 2px solid var(--brand); border-radius: 24px; padding: 26px; box-shadow: 0 30px 60px -34px rgba(13,40,76,.45); position: relative; overflow: hidden; }
.price-card::after { content: ""; position: absolute; width: 220px; height: 220px; right: -90px; top: -90px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--brand) 12%, transparent); box-shadow: inset 0 0 0 26px transparent, inset 0 0 0 28px color-mix(in srgb, var(--brand) 8%, transparent); pointer-events: none; }
.pc-label { font-size: .74rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--brand); }
.pc-price { display: flex; align-items: baseline; gap: 8px; margin: 8px 0 6px; }
.pc-price .amt { font-family: var(--font-head); font-size: 3.4rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.pc-price .per { font-weight: 700; color: var(--muted); font-size: 1.05rem; }
.pc-top p { margin: 0; color: var(--muted); font-size: .95rem; }
.pc-top { padding-bottom: 18px; border-bottom: 1px dashed var(--line); }
.price-card .perks { margin-top: 18px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: border-color .2s; }
.faq details[open] { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .3s var(--ease); color: var(--brand); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-deep); color: rgba(255,255,255,.72); padding: 70px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer img.f-logo { width: 240px; height: auto; margin-bottom: 18px; }
.site-footer h4 { color: #fff; margin: 0 0 14px; font-size: .95rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .93rem; }
.site-footer a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: background .2s; }
.socials a:hover { background: var(--brand); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.08); margin-top: 50px; padding-top: 24px; font-size: .85rem; }

/* ---------- Directory page ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, #fff, var(--bg)); color: var(--ink);
  padding: calc(var(--header-h) + 50px) 0 90px;
}
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 900; letter-spacing: -.035em; line-height: 1.05; margin: 12px 0 10px; }
.page-hero p { color: var(--muted); margin: 0; }
.dir-search { margin-top: -36px; position: relative; z-index: 5; }
.dir-search .search-bar { max-width: none; }
[data-theme="dark"] .dir-search .search-bar { box-shadow: 0 30px 60px -20px rgba(0,0,0,.8), 0 0 0 1px var(--line); }

.cat-scroller { display: flex; gap: 10px; overflow-x: auto; padding: 26px 0 6px; scrollbar-width: none; scroll-snap-type: x proximity; }
.cat-scroller::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px; white-space: nowrap; scroll-snap-align: start;
  background: var(--surface); border: 1.5px solid var(--line); font-weight: 700; font-size: .88rem; color: var(--ink-2); transition: all .2s;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.active { background: var(--pill); border-color: transparent; color: #fff; }
.chip small { opacity: .6; font-weight: 700; }

.dir-layout { display: grid; grid-template-columns: 270px 1fr; gap: 30px; padding: 26px 0 100px; align-items: start; }
.filters { position: sticky; top: calc(66px + 20px); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: grid; gap: 24px; }
.filters h3 { margin: 0; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; }
.filters h3 button { font-size: .82rem; color: var(--brand); font-weight: 700; }
.filter-group h4 { margin: 0 0 12px; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.check { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; cursor: pointer; font-weight: 600; font-size: .93rem; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check .box { width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--line); display: grid; place-items: center; transition: all .2s; flex: none; }
.check .box .icon { width: 13px; height: 13px; color: #fff; opacity: 0; stroke-width: 3.5; }
.check input:checked + .box { background: var(--brand); border-color: var(--brand); }
.check input:checked + .box .icon { opacity: 1; }
.check input:focus-visible + .box { outline: 3px solid color-mix(in srgb, var(--brand-2) 60%, transparent); outline-offset: 2px; }
.check .lbl { display: flex; align-items: center; gap: 10px; flex: 1; }
.check small { color: var(--muted); font-weight: 600; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; font-weight: 600; font-size: .93rem; padding: 4px 0; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle .sw { width: 44px; height: 26px; border-radius: 999px; background: var(--line); position: relative; transition: background .25s; flex: none; }
.toggle .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .25s var(--ease); }
.toggle input:checked + .sw { background: var(--brand); }
.toggle input:checked + .sw::after { transform: translateX(18px); }
.toggle input:focus-visible + .sw { outline: 3px solid color-mix(in srgb, var(--brand-2) 60%, transparent); outline-offset: 2px; }

.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.results-bar .count { font-weight: 700; }
.results-bar .count span { color: var(--muted); font-weight: 600; }
.results-tools { display: flex; gap: 10px; align-items: center; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; height: 44px; padding: 0 40px 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 600; font-size: .9rem; cursor: pointer; outline: none; }
.select-wrap .icon { position: absolute; right: 14px; top: 50%; translate: 0 -50%; pointer-events: none; color: var(--muted); }
.view-toggle { display: flex; padding: 4px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--line); }
.view-toggle button { width: 36px; height: 34px; border-radius: 999px; display: grid; place-items: center; color: var(--muted); }
.view-toggle button.active { background: var(--brand); color: #fff; }
.filter-open { display: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.active-filters:empty { display: none; }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 8px 0 12px; border-radius: 999px; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand-ink); font-weight: 700; font-size: .82rem; }
[data-theme="dark"] .tag { color: #b9cfff; }
.tag button { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; }
.tag button:hover { background: color-mix(in srgb, var(--brand) 20%, transparent); }
.tag .icon { width: 13px; height: 13px; }

.empty { text-align: center; padding: 70px 20px; border: 2px dashed var(--line); border-radius: 24px; }
.empty .ic { width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 22px; display: grid; place-items: center; font-size: 2rem; background: var(--surface-2); color: var(--brand); }
.empty h3 { margin: 0 0 6px; font-size: 1.3rem; }
.empty p { margin: 0 0 20px; color: var(--muted); }
.drawer-head, .drawer-foot { display: none; }
.backdrop { position: fixed; inset: 0; background: rgba(4, 8, 24, .55); backdrop-filter: blur(4px); z-index: 70; opacity: 0; visibility: hidden; transition: all .3s; }
.backdrop.show { opacity: 1; visibility: visible; }

/* ---------- Modal ---------- */
dialog.modal {
  width: min(880px, 100% - 32px); max-height: min(92vh, 900px); padding: 0; border: 0; border-radius: 26px; overflow: hidden;
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg);
}
dialog.modal[open] { animation: modalIn .45s var(--ease); display: flex; flex-direction: column; }
dialog.modal::backdrop { background: rgba(4, 8, 24, .6); backdrop-filter: blur(6px); animation: fade .3s; }
@keyframes modalIn { from { opacity: 0; transform: translateY(30px) scale(.97); } }
@keyframes fade { from { opacity: 0; } }
.modal-scroll { overflow-y: auto; overscroll-behavior: contain; }
.modal .biz-cover { height: 200px; }
.modal .biz-cover .big-ic { font-size: 210px; }
.modal .biz-cover::before { width: 340px; height: 340px; left: -90px; top: -190px; }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); color: #0b1226; }
.modal .fav-btn { right: 64px; top: 16px; }
.modal .biz-logo { width: 84px; height: 84px; top: 158px; left: 28px; border-radius: 22px; font-size: 1.6rem; }
.modal-body { padding: 56px 28px 28px; display: grid; grid-template-columns: 1.35fr 1fr; gap: 30px; }
.modal-body h2 { margin: 4px 0 6px; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.03em; line-height: 1.15; }
.modal-body .tagline { color: var(--muted); margin: 0 0 16px; font-weight: 500; }
.modal-body h4 { margin: 24px 0 10px; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.modal-body .about { margin: 0; color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { padding: 5px 12px; border-radius: 999px; background: var(--surface-2); font-size: .84rem; font-weight: 600; color: var(--ink-2); }
.contact-btns { display: grid; gap: 10px; }
.contact-btns a, .contact-btns button {
  display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--line); font-weight: 700; font-size: .93rem; text-align: left;
  transition: all .2s;
}
.contact-btns a:hover, .contact-btns button:hover { border-color: var(--brand); color: var(--brand); transform: translateX(3px); }
.contact-btns .primary { background: var(--pill); color: #fff; border: 0; }
.contact-btns .primary:hover { color: #fff; }
.contact-btns .wa { background: #1fae54; color: #fff; border: 0; }
.contact-btns .wa:hover { color: #fff; }
.contact-btns small { display: block; font-weight: 500; opacity: .75; font-size: .8rem; }
.hours { width: 100%; border-collapse: collapse; font-size: .92rem; }
.hours td { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; }
.hours tr.today td { color: var(--brand); font-weight: 800; }
.map-frame { margin-top: 12px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/10; background: var(--surface-2); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.side-panel { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 20px; align-self: start; }
.side-panel h4:first-child { margin-top: 0; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 100; translate: -50% 20px; opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--bg); padding: 13px 20px; border-radius: 999px; font-weight: 700; font-size: .9rem;
  box-shadow: var(--shadow-lg); transition: all .35s var(--ease); display: flex; align-items: center; gap: 10px;
}
.toast.show { opacity: 1; translate: -50% 0; }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--pill); color: #fff; box-shadow: var(--shadow); opacity: 0; translate: 0 20px; pointer-events: none; transition: all .3s var(--ease); }
.to-top.show { opacity: 1; translate: 0 0; pointer-events: auto; }
.to-top .icon { rotate: -90deg; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { display: none; }
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-card.wide { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dir-layout { grid-template-columns: 1fr; }
  .filter-open { display: inline-flex; }
  .filters {
    position: fixed; z-index: 80; inset: auto 0 0 0; top: auto; max-height: 86vh; overflow-y: auto; border-radius: 26px 26px 0 0;
    transform: translateY(105%); transition: transform .45s var(--ease), visibility .45s; visibility: hidden; padding-top: 0; gap: 20px; border-bottom: 0;
  }
  .filters.open { transform: none; visibility: visible; }
  .filters > h3 { display: none; }
  .drawer-head { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background: var(--surface); padding: 16px 0 12px; z-index: 1; }
  .drawer-head::before { content: ""; position: absolute; top: 8px; left: 50%; translate: -50% 0; width: 44px; height: 5px; border-radius: 9px; background: var(--line); }
  .drawer-head h3 { margin: 10px 0 0; }
  .drawer-foot { display: flex; gap: 10px; position: sticky; bottom: 0; background: var(--surface); padding: 12px 0 18px; }
  .drawer-foot .btn { flex: 1; }
  .biz-grid.list .biz-actions { width: 150px; }
}
@media (max-width: 860px) {
  .hero-bg .rings { width: 420px; height: 420px; right: -180px; top: -80px; }
  .hero-bg .rings::after { inset: 70px; }
  .nav, .header-actions .btn { display: none; }
  .menu-btn { display: grid; }
  .steps { grid-template-columns: 1fr; }
  .areas-wrap, .cta-band, .form-wrap, .modal-body { grid-template-columns: 1fr; }
  .modal-body { gap: 10px; }
  .biz-grid.list .biz-card { flex-direction: column; }
  .biz-grid.list .biz-cover { width: auto; height: 130px; }
  .biz-grid.list .biz-logo { left: 20px; top: 102px; translate: none; }
  .biz-grid.list .fav-btn { top: 12px; bottom: auto; left: auto; right: 12px; }
  .biz-grid.list .biz-body { padding: 36px 20px 20px; }
  .biz-grid.list .biz-actions { flex-direction: row; width: auto; padding: 0 20px 20px; }
}
@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .container { width: calc(100% - 32px); }
  .brand img { height: 50px; }
  .search-bar { grid-template-columns: 1fr; border-radius: 22px; gap: 4px; }
  .search-field + .search-field { border-left: 0; border-top: 1px solid #e6eaf3; }
  .search-bar .btn { width: 100%; }
  .hero-stats { gap: 22px; }
  .biz-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cat-card { padding: 16px; min-height: 140px; }
  .cat-card .go { display: none; }
  .cat-card.cta { grid-column: span 2; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .results-tools { width: 100%; }
  .results-tools .select-wrap { flex: 1; }
  .results-tools .select-wrap select { width: 100%; }
  .view-toggle { display: none; }
  dialog.modal { width: 100%; max-width: 100%; max-height: 94vh; margin: auto 0 0; border-radius: 26px 26px 0 0; }
  dialog.modal[open] { animation: sheetIn .45s var(--ease); }
  .modal-body { padding: 52px 20px 24px; }
  .dir-search { margin-top: -34px; }
}
@keyframes sheetIn { from { transform: translateY(100%); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   PORTAL (join · account · admin)
   ========================================================= */
.login-link { font-weight: 700; font-size: .92rem; color: var(--ink-2); padding: 8px 12px; border-radius: 999px; }
.login-link:hover { color: var(--brand); background: var(--surface-2); }
@media (max-width: 860px) { .login-link { display: none; } }

.demo-bar { position: relative; z-index: 60; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 9px 16px; font-size: .84rem; text-align: center; background: #fff5d6; color: #4a3800; border-bottom: 1px solid #f0dc9a; }
.demo-bar code { background: rgba(0,0,0,.06); padding: 1px 6px; border-radius: 6px; font-size: .82rem; }
body.portal .demo-bar + * { }
body:has(.demo-bar) .site-header { top: var(--demo-h, 38px); }
body:has(.demo-bar) .site-header.scrolled { top: 0; }

.portal-hero { padding-bottom: 60px; }
.portal-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.portal-wrap { padding: 34px 0 100px; }
.muted { color: var(--muted); }
.hint { font-size: .82rem; color: var(--muted); display: block; }
.hint .icon { vertical-align: -2px; margin-right: 4px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow-sm); margin-bottom: 18px; }
.panel h3 { margin: 0 0 6px; font-size: 1.15rem; }
.panel > p.muted { margin: 0 0 16px; }
.pane-title { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin: 0 0 6px; letter-spacing: -.02em; }
.pane-head { margin-bottom: 18px; }
.pane-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.sticky-foot { position: sticky; bottom: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); padding: 14px 0; border-top: 1px solid var(--line); }
.btn-lg { height: 56px; padding: 0 28px; font-size: 1rem; }
.link-btn { color: var(--brand); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; padding: 0; background: none; }
.switch-line { margin: 18px 0 0; font-size: .92rem; color: var(--muted); text-align: center; }
.btn.danger, .btn-icon.danger { color: var(--bad); }
.btn.danger:hover { border-color: var(--bad); color: var(--bad); }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; display: inline-block; animation: spin .7s linear infinite; }
.spinner.lg { width: 34px; height: 34px; border-width: 3.5px; color: var(--brand); margin-bottom: 10px; }

.note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; font-size: .9rem; margin: 12px 0 0; }
.note .icon { margin-top: 2px; }
.note.bad { background: color-mix(in srgb, var(--bad) 10%, transparent); color: var(--bad); font-weight: 600; }
.note.ok { background: color-mix(in srgb, var(--ok) 10%, transparent); color: var(--ok); font-weight: 600; }
.note.warn { background: color-mix(in srgb, var(--warn) 12%, transparent); color: #9a5a00; }
.note.info { background: color-mix(in srgb, var(--brand) 8%, transparent); color: var(--ink-2); }
[data-theme="dark"] .note.warn { color: #ffc46b; }

/* Steps bar */
.steps-bar { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 26px; counter-reset: s; }
.steps-bar li { flex: 1; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: .9rem; color: var(--muted); }
.steps-bar li span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-size: .82rem; flex: none; }
.steps-bar li.current { border-color: var(--brand); color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 12%, transparent); }
.steps-bar li.current span, .steps-bar li.done span { background: var(--pill); color: #fff; }
.steps-bar li.done { color: var(--ink-2); }
@media (max-width: 640px) { .steps-bar li { font-size: 0; padding: 10px; justify-content: center; } .steps-bar li span { font-size: .82rem; } .steps-bar li.current { font-size: .82rem; flex: 2.4; } }

.auth-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; align-items: start; max-width: 980px; margin-inline: auto; }
.auth-grid.single { grid-template-columns: minmax(0, 480px); justify-content: center; }
.auth-form { display: grid; gap: 14px; margin-top: 18px; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 48px; }
.pw-eye { position: absolute; right: 8px; top: 50%; translate: 0 -50%; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--muted); }
.check-line { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); cursor: pointer; }
.check-line input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.join-aside { margin-top: 0; }
.field .hint { margin-top: 6px; }
.field label small { font-weight: 500; color: var(--muted); }
.field label .count { float: right; }

/* Listing form */
.lf-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.fs { border: 1px solid var(--line); border-radius: 20px; padding: 22px; margin: 0 0 18px; background: var(--surface); }
.fs legend { font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; padding: 0 8px; margin-left: -8px; }
.fs legend small { font-weight: 500; color: var(--muted); font-family: var(--font-body, inherit); font-size: .85rem; }
.lf-preview { position: sticky; top: 90px; }
.pv-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.pv-card .biz-card { cursor: default; }
.pv-card .biz-card:hover { transform: none; }
.hours-ed { display: grid; gap: 6px; }
.hrow { display: grid; grid-template-columns: 48px 110px 1fr; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 12px; }
.hrow:hover { background: var(--surface-2); }
.hrow .dname { font-weight: 700; font-size: .92rem; }
.htimes { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .85rem; }
.htimes input { height: 40px; padding: 0 10px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--bg); font-weight: 600; color: var(--ink); }
.hclosed { display: none; color: var(--muted); font-weight: 600; font-size: .88rem; }
.hrow.closed .htimes { display: none; }
.hrow.closed .hclosed { display: block; }
.hrow.closed .dname { color: var(--muted); }
.toggle.sm .sw { width: 40px; height: 24px; }
.toggle.sm .sw::after { width: 18px; height: 18px; }
.toggle.sm input:checked + .sw::after { transform: translateX(16px); }
.hours-tools { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.logo-up { display: flex; gap: 18px; align-items: center; }
.logo-prev { width: 84px; height: 84px; border-radius: 20px; border: 2px dashed var(--line); display: grid; place-items: center; color: var(--muted); font-size: 1.6rem; overflow: hidden; flex: none; background: var(--bg); }
.logo-prev img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1000px) { .lf-grid { grid-template-columns: 1fr; } .lf-preview { position: static; order: -1; } .pv-card { max-width: 380px; } }
@media (max-width: 640px) { .hrow { grid-template-columns: 44px 1fr; } .hrow .htimes, .hrow .hclosed { grid-column: 2; } .fs { padding: 16px; } .auth-grid { grid-template-columns: 1fr; } }

/* Payment */
.pay-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 22px; align-items: start; }
@media (max-width: 860px) { .pay-grid { grid-template-columns: 1fr; } }
.pay-box { margin-top: 18px; }
.pay-price { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 18px; background: var(--pill); color: #fff; }
.pay-price .amt { font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; line-height: 1; }
.pay-price .per { font-weight: 700; line-height: 1.3; }
.pay-price .per small { display: block; font-weight: 500; opacity: .8; font-size: .82rem; }
.pf-btn { width: 100%; }
.pf-html { display: flex; justify-content: center; }
.done-panel { text-align: center; max-width: 640px; margin: 0 auto; padding: 44px 30px; }
.done-ic { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); font-size: 2rem; }
.done-ic.bad { background: color-mix(in srgb, var(--bad) 12%, transparent); color: var(--bad); }

/* Dashboard */
.dash-top { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.status-banner { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 20px; margin-bottom: 18px; border: 1px solid var(--line); background: var(--surface); }
.status-banner:empty { display: none; }
.status-banner p { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }
.status-banner .sb-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.2rem; flex: none; }
.status-banner .sb-act { margin-left: auto; }
.status-banner.ok { border-color: color-mix(in srgb, var(--ok) 40%, transparent); } .status-banner.ok .sb-ic { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.status-banner.warn { border-color: color-mix(in srgb, var(--warn) 45%, transparent); } .status-banner.warn .sb-ic { background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn); }
.status-banner.bad { border-color: color-mix(in srgb, var(--bad) 40%, transparent); } .status-banner.bad .sb-ic { background: color-mix(in srgb, var(--bad) 12%, transparent); color: var(--bad); }
.status-banner.info .sb-ic, .status-banner.muted .sb-ic { background: var(--surface-2); color: var(--brand); }
@media (max-width: 640px) { .status-banner { flex-wrap: wrap; } .status-banner .sb-act { margin-left: 0; width: 100%; } }
.tabbar { display: flex; gap: 6px; padding: 5px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 18px; overflow-x: auto; }
.tabbar button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 12px; font-weight: 700; font-size: .92rem; color: var(--muted); white-space: nowrap; }
.tabbar button.active { background: var(--pill); color: #fff; }
.kv { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.kv:last-child { border-bottom: 0; }
.kv > span { color: var(--muted); font-weight: 600; font-size: .92rem; }
.spill { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; font-size: .76rem; font-weight: 800; white-space: nowrap; vertical-align: middle; }
.spill.ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.spill.warn { background: color-mix(in srgb, var(--warn) 16%, transparent); color: #9a5a00; }
.spill.bad { background: color-mix(in srgb, var(--bad) 12%, transparent); color: var(--bad); }
.spill.muted { background: var(--surface-2); color: var(--muted); }
.spill.dark { background: var(--black); color: #fff; }
.spill.info { background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); }
[data-theme="dark"] .spill.warn { color: #ffc46b; }

/* Admin */
.a-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.a-stats .stat { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.a-stats .ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--pill); color: #fff; flex: none; }
.a-stats strong { display: block; font-family: var(--font-head); font-size: 1.5rem; line-height: 1.1; }
.a-stats span { color: var(--muted); font-size: .84rem; font-weight: 600; }
@media (max-width: 900px) { .a-stats { grid-template-columns: 1fr 1fr; } }
.how-to { font-size: .92rem; }
.how-to ol { margin: 8px 0 0; padding-left: 20px; color: var(--ink-2); display: grid; gap: 4px; }
.a-toolbar { display: flex; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 14px; flex-wrap: wrap; }
.a-toolbar .cat-scroller { flex: 1; min-width: 0; }
.a-search { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); min-width: 260px; }
.a-search input { border: 0; outline: 0; background: transparent; width: 100%; }
.a-list { display: grid; gap: 12px; }
.arow { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.a-logo { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--pill); color: #fff; font-family: var(--font-head); font-weight: 800; overflow: hidden; }
.a-logo img { width: 100%; height: 100%; object-fit: cover; background: #fff; }
.a-title { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
.a-title b { font-size: 1.05rem; margin-right: 4px; }
.a-meta { color: var(--muted); font-size: .85rem; margin-top: 4px; }
.a-meta a { color: var(--brand); font-weight: 600; }
.a-note { margin-top: 6px; font-size: .84rem; color: var(--ink-2); display: flex; gap: 6px; align-items: center; }
.a-actions { display: flex; flex-direction: column; gap: 8px; align-items: stretch; min-width: 220px; }
.a-actions select { height: 40px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); padding: 0 10px; font-weight: 600; }
.a-more { display: flex; gap: 6px; justify-content: flex-end; }
.btn-icon.sm { width: 36px; height: 36px; }
.btn-icon.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-icon.danger:hover { border-color: var(--bad); color: var(--bad); }
@media (max-width: 860px) { .arow { grid-template-columns: 48px minmax(0, 1fr); } .a-actions { grid-column: 1 / -1; min-width: 0; } .a-more { justify-content: flex-start; flex-wrap: wrap; } .a-search { min-width: 0; width: 100%; } }
.edit-dialog { width: min(1100px, 100% - 24px); }
.ed-head, .ed-foot { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.ed-foot { border-top: 1px solid var(--line); border-bottom: 0; justify-content: flex-end; }
.edit-dialog .modal-scroll { flex: 1; }

/* Home: join steps */
.join-steps { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 18px; }
.join-steps li { display: flex; gap: 14px; }
.join-steps .n { width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--pill); color: #fff; font-weight: 800; }
.join-steps p { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }

.login-link.is-in { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); background: var(--surface); }
.login-link.is-in::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }

/* ---------- Branded dialogs ---------- */
dialog.ui-dialog { border: 0; padding: 0; width: min(460px, calc(100% - 32px)); border-radius: 26px; background: var(--surface); color: var(--ink); box-shadow: 0 40px 90px -20px rgba(7,26,51,.55); overflow: hidden; }
dialog.ui-dialog[open] { animation: udIn .32s var(--ease); }
dialog.ui-dialog.closing { animation: udOut .16s ease forwards; }
dialog.ui-dialog::backdrop { background: rgba(7,26,51,.55); backdrop-filter: blur(6px); animation: fade .25s; }
@keyframes udIn { from { opacity: 0; transform: translateY(16px) scale(.96); } }
@keyframes udOut { to { opacity: 0; transform: scale(.97); } }
.ud-inner { position: relative; padding: 30px 28px 24px; text-align: center; }
.ud-inner::before { content: ""; position: absolute; width: 260px; height: 260px; left: 50%; top: -170px; translate: -50% 0; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--brand) 6%, transparent); box-shadow: inset 0 0 0 26px transparent, inset 0 0 0 28px color-mix(in srgb, var(--brand) 4%, transparent); pointer-events: none; }
.ud-ic { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; color: #fff; background: var(--pill); box-shadow: 0 12px 26px -10px rgba(13,40,76,.6); position: relative; }
.tone-danger .ud-ic { background: linear-gradient(135deg, #e5484d, #b4232a); box-shadow: 0 12px 26px -10px rgba(212,59,59,.6); }
.tone-warn .ud-ic { background: linear-gradient(135deg, #f0a43a, #d07a0a); box-shadow: 0 12px 26px -10px rgba(224,134,26,.55); }
.tone-ok .ud-ic { background: linear-gradient(135deg, #22b462, #11864a); box-shadow: 0 12px 26px -10px rgba(18,161,80,.55); }
.ud-title { margin: 0 0 8px; font-size: 1.3rem; letter-spacing: -.02em; }
.ud-text { margin: 0 auto; color: var(--muted); font-size: .94rem; max-width: 36ch; }
.ud-field { text-align: left; margin-top: 20px; }
.ud-field textarea { height: auto; min-height: 92px; }
.ud-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ud-chips .chip { height: 32px; font-size: .78rem; padding: 0 12px; }
.ud-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.ud-actions .btn { width: 100%; }
.btn-danger { background: linear-gradient(135deg, #e5484d, #b4232a); color: #fff; box-shadow: 0 10px 22px -10px rgba(212,59,59,.7); }
.btn-danger:hover { transform: translateY(-2px); }
@media (max-width: 480px) { .ud-actions { grid-template-columns: 1fr; } .ud-actions [data-ok] { order: -1; } }

.pf-form { display: grid; gap: 10px; }
.pf-trust { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .82rem; color: var(--muted); }
.pf-trust .icon { color: var(--ok); }

.pay-single { max-width: 760px; margin: 0 auto; }
.pay-links { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 22px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: .9rem; }
.ed-foot { gap: 14px; }
.ed-pay { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .9rem; margin-right: auto; }
.ed-pay select { height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); padding: 0 12px; font-weight: 600; }

/* Social links */
.so-lbl { display: inline-flex; align-items: center; gap: 7px; }
.so-lbl .icon { color: var(--brand); }
.social-row { display: flex; flex-wrap: wrap; gap: 8px; }
.soc { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 11px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 700; font-size: .85rem; color: var(--ink-2); transition: all .2s var(--ease); }
.soc:hover { transform: translateY(-2px); color: #fff; border-color: transparent; }
.soc-facebook:hover { background: #1877f2; }
.soc-instagram:hover { background: linear-gradient(45deg, #f58529, #dd2a7b 55%, #8134af); }
.soc-x:hover { background: #111; }
.soc-tiktok:hover { background: #111; }
.soc-youtube:hover { background: #ff0000; }

.lp-ic.has-logo { background: #fff; border: 1px solid var(--line); padding: 0; overflow: hidden; box-shadow: var(--shadow-sm); }
.lp-ic.has-logo img { width: 100%; height: 100%; object-fit: contain; }
.soc-linkedin:hover { background: #0a66c2; }

/* Banner */
.biz-cover.has-banner { background-size: cover; background-position: center; background-repeat: no-repeat; }
.biz-cover.has-banner::before { display: none; }
.biz-cover.has-banner::after { opacity: 1; background: linear-gradient(180deg, rgba(7,26,51,.18) 0%, rgba(7,26,51,0) 30%); mask-image: none; -webkit-mask-image: none; }
/* Banners always show at exactly 3:1 so nothing gets cropped */
.biz-card, .m-cover { container-type: inline-size; }
.biz-cover.has-banner { height: calc(100cqw / 3); }
.biz-card:has(.biz-cover.has-banner) .biz-logo { top: calc(100cqw / 3 - 28px); }
.modal .biz-cover.has-banner { height: calc(100cqw / 3); }
.m-cover:has(.biz-cover.has-banner) .biz-logo { top: calc(100cqw / 3 - 42px); }
.biz-grid.list .biz-cover.has-banner { height: auto; }
.biz-grid.list .biz-card:has(.biz-cover.has-banner) .biz-logo { top: 50%; }
@media (max-width: 860px) {
  .biz-grid.list .biz-cover.has-banner { height: calc(100cqw / 3); }
  .biz-grid.list .biz-card:has(.biz-cover.has-banner) .biz-logo { top: calc(100cqw / 3 - 28px); }
}
.banner-up { display: grid; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line); }
.banner-prev { aspect-ratio: 3 / 1; border-radius: 16px; border: 2px dashed var(--line); background: var(--bg); display: grid; place-items: center; overflow: hidden; color: var(--muted); font-size: .88rem; text-align: center; padding: 10px; }
.banner-prev span { display: inline-flex; align-items: center; gap: 8px; }
.banner-prev.has { border: 0; padding: 0; }
.banner-prev img { width: 100%; height: 100%; object-fit: cover; }
.banner-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }

/* ---------- Mobile polish ---------- */
.areas-wrap > *, .form-wrap > *, .cta-band > *, .lf-grid > *, .auth-grid > *, .pay-grid > *, .dir-layout > *, .modal-body > * { min-width: 0; }
.pf-btn, .btn-lg { white-space: normal; text-align: center; line-height: 1.25; height: auto; min-height: 56px; padding-top: 10px; padding-bottom: 10px; }
.pf-trust { flex-wrap: wrap; text-align: center; }
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .hero { padding-bottom: 56px; }
  .hero h1 { font-size: clamp(2.2rem, 10.5vw, 2.9rem); }
  .hero .lead { font-size: 1rem; }
  .hero-stats { gap: 16px; justify-content: space-between; }
  .hero-stats > div { padding-left: 10px; }
  .hero-stats strong { font-size: 1.5rem; }
  .hero-stats span { font-size: .78rem; }
  .pill-badge { font-size: .66rem; letter-spacing: .18em; padding: 7px 14px 7px 8px; gap: 8px; }
  .quick { gap: 6px; }
  .quick button { padding: 5px 11px; font-size: .8rem; }
  .live-panel { padding: 16px; border-radius: 22px; }
  .lp-list { min-height: 0; }
  .lp-ic { width: 40px; height: 40px; }
  .lp-item { padding: 8px 6px; gap: 10px; }
  .section-head h2, .h2 { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .cat-card h3 { font-size: .95rem; }
  .area-chip { padding: 9px 13px; font-size: .9rem; }
  .cta-band { padding: 28px 20px; border-radius: 22px; }
  .price-tag .amt { font-size: 1.6rem; }
  .price-card { padding: 20px; }
  .pc-price .amt { font-size: 2.8rem; }
  .tabbar button { padding: 0 8px; font-size: .85rem; gap: 6px; }
  .tabbar button .icon { display: none; }
  .panel { padding: 18px; border-radius: 18px; }
  .pay-price { padding: 14px; gap: 10px; }
  .pay-price .amt { font-size: 2.1rem; }
  .pay-links { flex-direction: column; align-items: flex-start; }
  .a-toolbar { gap: 10px; }
  .dash-top .btn-row { width: 100%; }
  .a-stats .stat { padding: 14px; gap: 10px; }
  .a-stats strong { font-size: 1.25rem; }
  .status-banner { padding: 14px; gap: 12px; }
  .footer-bottom { flex-direction: column; }
  .site-footer img.f-logo { width: 200px; }
  .modal-body h2 { font-size: 1.45rem; }
  .ud-inner { padding: 24px 18px 18px; }
}
@media (max-width: 380px) {
  .container { width: calc(100% - 24px); }
  .hero-stats strong { font-size: 1.3rem; }
  .cat-grid { gap: 10px; }
  .cat-card { padding: 14px; min-height: 128px; }
  .cat-card .ic { width: 44px; height: 44px; }
  .header-actions { gap: 6px; }
}

/* Legal pages */
.legal { max-width: 860px; margin: 0 auto; padding: clamp(22px, 4vw, 48px); line-height: 1.7; }
.legal .lead-in { font-size: 1.05rem; color: var(--ink-2); margin-top: 0; }
.legal h2 { font-size: 1.25rem; margin: 34px 0 10px; padding-top: 22px; border-top: 1px solid var(--line); letter-spacing: -.01em; }
.legal h3 { font-size: 1rem; margin: 18px 0 6px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
.legal a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
[data-theme="dark"] .legal a { color: var(--brand-ink); }
.legal-links a:hover { color: #fff; text-decoration: underline; }
/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.contact-grid > form { grid-column: 1; grid-row: 1; }
#contactDone { grid-column: 1; grid-row: 1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .contact-grid > aside#contactInfo { grid-row: auto; } }
/* Admin messages */
.badge-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--bad); color: #fff; font-size: .72rem; font-weight: 800; }
.mrow { padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.mrow.unread { border-color: color-mix(in srgb, var(--warn) 55%, var(--line)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--warn) 10%, transparent); }
.m-head { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
.m-head b { font-size: 1.05rem; margin-right: 4px; }
.m-date { margin-left: auto; color: var(--muted); font-size: .82rem; font-weight: 600; }
.m-body { margin: 12px 0 14px; padding: 14px; border-radius: 14px; background: var(--bg); color: var(--ink-2); white-space: normal; overflow-wrap: anywhere; }
.m-actions { display: flex; flex-wrap: wrap; gap: 8px; }
/* Never let decorative shapes create sideways scrolling on phones */
body { overflow-x: clip; }
.pv-card { overflow: hidden; border-radius: var(--radius); }
.pf-trust { display: block; }
.pf-trust .icon { vertical-align: -2px; margin-right: 4px; }
@media (max-width: 640px) {
  .sticky-foot { padding: 10px 0; }
  .sticky-foot > .muted { display: none; }
  .sticky-foot .btn { width: 100%; }
  .lf-preview .pv-head { margin-bottom: 8px; }
}
@media (max-width: 420px) {
  .header-inner { gap: 8px; }
  .brand img, .scrolled .brand img { height: 44px; }
  .login-link.is-in { padding: 6px 10px; font-size: .84rem; gap: 6px; }
  .theme-toggle, .menu-btn { width: 38px; height: 38px; }
  .header-actions { gap: 6px; }
}

/* Get listed: two equal cards */
.list-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; max-width: 1040px; margin: 0 auto; }
.list-card { display: flex; flex-direction: column; margin: 0; padding: clamp(24px, 3vw, 36px); border-radius: 24px; }
.list-card .perks { margin-top: 20px; }
.list-card .join-steps { margin-bottom: 0; }
.list-card-foot { margin-top: auto; padding-top: 26px; }
.list-card-foot .form-note { margin-top: 12px; }
@media (max-width: 860px) { .list-grid { grid-template-columns: 1fr; } }

.footer-bottom { align-items: center; }
.powered { color: rgba(255,255,255,.55); }
.powered a { color: #fff; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 1px; transition: border-color .2s; }
.powered a:hover { border-color: #fff; }
@media (max-width: 640px) { .footer-bottom { align-items: flex-start; gap: 10px; } }

/* Open-now panel: rows always fit their box */
.lp-list { grid-template-columns: minmax(0, 1fr); }
.lp-item { min-width: 0; }
.lp-item .status { flex: none; }
@media (max-width: 480px) {
  .lp-head > div { font-size: .98rem; }
  .lp-time { font-size: .74rem; padding: 3px 8px; }
  .lp-tabs button { font-size: .8rem; height: 34px; }
  .lp-item { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 12px; row-gap: 2px; align-items: center; padding: 10px 8px; }
  .lp-item .lp-ic { grid-row: 1 / span 2; width: 44px; height: 44px; }
  .lp-txt b { font-size: .95rem; }
  .lp-txt small { white-space: normal; overflow: visible; line-height: 1.35; }
  .lp-item .status { grid-column: 2; font-size: .76rem; margin-top: 3px; }
  .lp-foot { height: 50px; font-size: .95rem; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .hero-stats > div { padding-left: 10px; min-width: 0; }
  .hero-stats span { display: block; line-height: 1.25; }
}
.lp-time { white-space: nowrap; flex: none; }
@media (max-width: 360px) { .lp-head > div { font-size: .92rem; } }

/* Share window */
dialog.share-dialog { border: 0; padding: 22px; width: min(440px, calc(100% - 24px)); border-radius: 26px; background: var(--surface); color: var(--ink); box-shadow: 0 40px 90px -20px rgba(7,26,51,.55); }
dialog.share-dialog[open] { animation: udIn .3s var(--ease); }
dialog.share-dialog::backdrop { background: rgba(7,26,51,.55); backdrop-filter: blur(6px); }
.sh-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.sh-head h3 { margin: 6px 0 0; font-size: 1.2rem; letter-spacing: -.01em; }
.sh-close { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--ink-2); flex: none; }
.sh-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sh-opt { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--bg); font-weight: 700; font-size: .82rem; color: var(--ink-2); transition: all .2s var(--ease); }
.sh-opt:hover { transform: translateY(-2px); border-color: transparent; box-shadow: var(--shadow-sm); }
.sh-ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.15rem; }
.sh-whatsapp .sh-ic { background: #1fae54; } .sh-facebook .sh-ic { background: #1877f2; } .sh-x .sh-ic { background: #111; }
.sh-linkedin .sh-ic { background: #0a66c2; } .sh-email .sh-ic { background: var(--pill); } .sh-copy .sh-ic { background: var(--surface-2); color: var(--brand); }
.sh-link { display: flex; gap: 8px; margin-top: 16px; padding: 6px 6px 6px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); align-items: center; }
.sh-link input { flex: 1; min-width: 0; border: 0; background: transparent; outline: 0; font-size: .85rem; color: var(--muted); }
.sh-more { width: 100%; margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 999px; font-weight: 700; font-size: .9rem; color: var(--brand); border: 1.5px dashed var(--line); }
[data-theme="dark"] .sh-more { color: var(--brand-ink); }
@media (max-width: 480px) { dialog.share-dialog { margin: auto 0 0; width: 100%; max-width: 100%; border-radius: 26px 26px 0 0; padding: 20px 16px 24px; } dialog.share-dialog[open] { animation: sheetIn .4s var(--ease); } }
