/* =========================================================
   Business landing — premium dynamic org page
   Hero cover · stats counters · services grid · sticky
   booking dock · visit & pay · similar · animations
   ========================================================= */

.biz-wrap {
  padding: clamp(1rem, 0.8rem + 1.5vw, 1.8rem) 0 clamp(2.5rem, 2rem + 3vw, 4rem);
  background:
    radial-gradient(900px 380px at 8% 0%, rgba(59,110,246,0.08), transparent 60%),
    radial-gradient(760px 360px at 96% 6%, rgba(18,163,123,0.07), transparent 55%),
    linear-gradient(180deg, #f6f8fc 0%, #fff 34%);
}
.biz-crumb { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.biz-live-flag {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  background: #e7f8f0; border: 1px solid #bfe9d8; color: #0b7d51;
  padding: 0.35em 0.8em; border-radius: 999px; white-space: nowrap;
}

/* skeleton */
.biz-landing-skel { display: grid; gap: 1rem; }
.biz-skel-hero { height: 300px; border-radius: 26px !important; }
.biz-skel-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; }
.biz-skel-stats .skel { height: 86px; }
.biz-skel-grid { display: grid; grid-template-columns: minmax(0,1fr) 380px; gap: 1.2rem; }
@media (max-width: 980px) { .biz-skel-grid { grid-template-columns: 1fr; } .biz-skel-stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- hero cover ---------- */
.landing { display: grid; gap: 1.1rem; }
.lp-cover {
  position: relative; overflow: hidden; border-radius: 26px;
  background: linear-gradient(120deg, #0b1220 0%, #16244a 48%, #2a5ae0 115%);
  color: #dbe4f5; box-shadow: var(--shadow-lg);
}
.lp-cover-bg { position: absolute; inset: 0; pointer-events: none; }
.lp-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; animation: lp-drift 16s ease-in-out infinite alternate; }
.lp-o1 { width: 44vmax; height: 44vmax; max-width: 560px; max-height: 560px; left: -140px; top: -180px; background: radial-gradient(circle, rgba(59,110,246,.55), transparent 65%); }
.lp-o2 { width: 36vmax; height: 36vmax; max-width: 460px; max-height: 460px; right: -110px; top: -90px; background: radial-gradient(circle, rgba(109,59,224,.5), transparent 65%); animation-delay: -5s; }
.lp-o3 { width: 30vmax; height: 30vmax; max-width: 380px; max-height: 380px; right: 22%; bottom: -190px; background: radial-gradient(circle, rgba(18,163,123,.45), transparent 65%); animation-delay: -9s; }
@keyframes lp-drift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(4%,6%,0) scale(1.1); } }
.lp-grid-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.22) 1px, transparent 1px);
  background-size: 22px 22px; opacity: 0.28;
  mask-image: linear-gradient(to bottom, black 20%, transparent 85%);
}
.lp-cover-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 1.3rem; align-items: center;
  padding: clamp(1.4rem, 1.1rem + 2.4vw, 2.4rem);
}
@media (max-width: 900px) { .lp-cover-inner { grid-template-columns: auto minmax(0,1fr); } .lp-cta-col { grid-column: 1 / -1; } }
@media (max-width: 560px) { .lp-cover-inner { grid-template-columns: 1fr; text-align: left; } }

.lp-logo {
  width: 96px; height: 96px; border-radius: 26px; overflow: hidden; flex: none;
  display: grid; place-items: center; font-size: 2rem; font-weight: 800; color: #fff;
  border: 3px solid rgba(255,255,255,.92); box-shadow: 0 18px 40px rgba(0,0,0,.35);
  background: linear-gradient(135deg, #2a5ae0, #6d3be0);
}
.lp-logo img { width: 100%; height: 100%; object-fit: cover; }
.lp-kicker { display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; margin-bottom: 0.55rem; }
.lp-kicker .status-pill { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #e8eefb; }
.lp-kicker .status-pill.is-active { background: rgba(18,163,123,.22); border-color: rgba(123,224,188,.4); color: #a9f0d4; }
.lp-kicker .status-pill.is-pending { background: rgba(255,180,61,.18); border-color: rgba(255,212,143,.4); color: #ffdf9e; }
.lp-plan {
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase;
  background: linear-gradient(135deg, #ffb43d, #ff8a3d); color: #231303;
  padding: 0.35em 0.75em; border-radius: 999px;
}
.lp-cover h1 {
  color: #fff; margin: 0 0 0.35rem; letter-spacing: -0.025em;
  font-size: clamp(1.7rem, 1.3rem + 2.2vw, 2.6rem); line-height: 1.08;
}
.lp-tag { margin: 0; color: #b9c7e2; font-size: clamp(0.92rem, 0.88rem + 0.4vw, 1.05rem); max-width: 60ch; }
.lp-tag strong { color: #fff; }
.lp-meta { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.8rem; }
.lp-meta span {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.78rem; font-weight: 650; color: #e8eefb;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16);
  padding: 0.36em 0.8em; border-radius: 999px;
}
.lp-meta svg { width: 13px; height: 13px; opacity: 0.9; }
.lp-url {
  margin-top: 0.7rem; display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.76rem; color: #9bb8ff;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  padding: 0.45em 0.75em; border-radius: 10px;
}
.lp-url button {
  border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.1); color: #fff;
  font: inherit; font-size: 0.72rem; font-weight: 700; border-radius: 7px; padding: 0.25em 0.6em; cursor: pointer;
}
.lp-url button:hover { background: rgba(255,255,255,.18); }

.lp-cta-col { display: grid; gap: 0.6rem; justify-items: end; min-width: 230px; }
@media (max-width: 900px) { .lp-cta-col { justify-items: start; grid-template-columns: repeat(2, minmax(0,1fr)); display: grid; width: 100%; } }
@media (max-width: 560px) { .lp-cta-col { grid-template-columns: 1fr; } }
.lp-cta-main {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: #fff; color: #0b1220; font-weight: 800; font-size: 0.95rem;
  border-radius: 14px; padding: 0.85rem 1.3rem; text-decoration: none; width: 100%;
  box-shadow: 0 16px 34px rgba(0,0,0,.3); transition: transform 0.2s ease, box-shadow 0.2s;
}
.lp-cta-main:hover { transform: translateY(-2px); text-decoration: none; box-shadow: 0 20px 40px rgba(0,0,0,.36); }
.lp-cta-row { display: flex; gap: 0.5rem; width: 100%; }
.lp-cta-row .btn { flex: 1; }
.lp-login-note { font-size: 0.76rem; color: #9fb0d0; text-align: right; margin: 0; }
.lp-login-note a { color: #fff; font-weight: 700; }
@media (max-width: 900px) { .lp-login-note { text-align: left; } }

/* floating chips */
.lp-float { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(255,255,255,.94); border-radius: 999px; padding: 0.45em 0.9em; font-size: 0.76rem; font-weight: 750; color: var(--text); box-shadow: 0 16px 34px rgba(0,0,0,.28); animation: lp-float 7s ease-in-out infinite; }
.lp-f1 { top: 18px; right: 22px; }
.lp-f2 { bottom: 18px; right: 64px; animation-delay: -3.4s; }
.lp-float i { width: 8px; height: 8px; border-radius: 50%; background: #12a37b; box-shadow: 0 0 0 4px rgba(18,163,123,.18); }
@keyframes lp-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (max-width: 900px) { .lp-float { display: none; } }

/* ---------- stats band ---------- */
.lp-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0.8rem;
}
@media (max-width: 860px) { .lp-stats { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.lp-stat {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 1rem 1.1rem; box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s;
}
.lp-stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.lp-stat::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--brand-500), #6d3be0); opacity: 0.9; }
.lp-stat:nth-child(2)::before { background: linear-gradient(180deg, #12a37b, #0b7c63); }
.lp-stat:nth-child(3)::before { background: linear-gradient(180deg, #ffb43d, #ff8a3d); }
.lp-stat:nth-child(4)::before { background: linear-gradient(180deg, #c22f58, #6d3be0); }
.lp-stat strong { display: block; font-size: clamp(1.4rem, 1.2rem + 1vw, 1.8rem); letter-spacing: -0.02em; color: var(--text); font-variant-numeric: tabular-nums; }
.lp-stat span { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-muted); }
.lp-stat small { display: block; font-size: 0.76rem; color: var(--text-muted); margin-top: 0.15rem; }

/* ---------- sub nav ---------- */
.lp-nav {
  position: sticky; top: var(--header-h); z-index: 20;
  display: flex; gap: 0.5rem; align-items: center;
  background: rgba(255,255,255,.86); backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: 16px; padding: 0.5rem;
  box-shadow: var(--shadow-sm); overflow-x: auto;
}
.lp-nav a {
  flex: none; font-size: 0.82rem; font-weight: 700; color: var(--text-body);
  padding: 0.55em 1em; border-radius: 11px; text-decoration: none; white-space: nowrap;
}
.lp-nav a:hover { background: var(--paper-2); color: var(--text); text-decoration: none; }
.lp-nav .lp-nav-book { margin-left: auto; background: var(--ink-900); color: #fff; }
.lp-nav .lp-nav-book:hover { background: var(--brand-600); color: #fff; }

/* ---------- main columns ---------- */
.lp-layout { display: grid; grid-template-columns: minmax(0,1fr) 390px; gap: 1.2rem; align-items: start; }
@media (max-width: 1020px) { .lp-layout { grid-template-columns: 1fr; } }
.lp-col { display: grid; gap: 1.2rem; align-content: start; min-width: 0; }

.biz-card {
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(1.15rem, 1rem + 1.2vw, 1.7rem); box-shadow: var(--shadow-sm);
}
.biz-card-head { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 0.9rem; }
.biz-card-head h2 { font-size: 1.18rem; margin: 0; display: flex; align-items: center; gap: 0.5rem; }
.biz-card-head h2 svg { width: 19px; height: 19px; color: var(--brand-600); }
.biz-card-head p { flex-basis: 100%; margin: 0; font-size: 0.86rem; color: var(--text-muted); }

/* services */
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0.8rem; }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }
.svc {
  position: relative; overflow: hidden;
  display: grid; gap: 0.6rem; align-content: start;
  border: 1.5px solid var(--line); border-radius: 18px; padding: 1rem;
  background: linear-gradient(180deg, #fff, #f8faff);
  cursor: pointer; text-align: left; width: 100%; font: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s, border-color 0.22s;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfddff; }
.svc.is-on { border-color: var(--brand-600); box-shadow: 0 0 0 4px rgba(59,110,246,.14); }
.svc-top { display: flex; align-items: center; gap: 0.7rem; }
.svc-ico {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff; flex: none;
  box-shadow: 0 10px 22px rgba(11,18,32,.18);
}
.svc-ico svg { width: 22px; height: 22px; }
.svc-name { font-weight: 750; color: var(--text); font-size: 0.96rem; line-height: 1.3; }
.svc-desc { font-size: 0.82rem; color: var(--text-muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.svc-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.7rem; margin-top: auto; padding-top: 0.6rem; border-top: 1px dashed var(--line); }
.svc-price { font-weight: 800; color: var(--text); }
.svc-price small { display: block; font-weight: 600; color: var(--text-muted); font-size: 0.72rem; }
.svc-book { font-size: 0.76rem; font-weight: 800; color: var(--brand-700); background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: 999px; padding: 0.45em 0.9em; }
.svc.is-on .svc-book { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }

/* booking */
.book-widget { position: sticky; top: calc(var(--header-h) + 76px); border: 1.5px solid #d8e2f8; background: linear-gradient(180deg, #fff, #f5f8ff); }
@media (max-width: 1020px) { .book-widget { position: static; } }
.book-widget.is-glow { box-shadow: 0 0 0 5px rgba(59,110,246,.14), var(--shadow); }
.book-steps { display: flex; gap: 0.4rem; margin-bottom: 1rem; }
.book-steps span { flex: 1; height: 6px; border-radius: 999px; background: var(--paper-3); transition: background 0.3s; }
.book-steps span.is-on { background: linear-gradient(90deg, var(--brand-500), #6d3be0, #12a37b); }
.book-login-nudge {
  display: flex; gap: 0.6rem; align-items: center;
  background: var(--ink-900); color: #dbe4f5; border-radius: 14px; padding: 0.7rem 0.85rem;
  font-size: 0.8rem; margin-bottom: 0.9rem;
}
.book-login-nudge a { color: #fff; font-weight: 800; white-space: nowrap; }
.book-date { width: 100%; font: inherit; font-size: 0.9rem; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 0.7rem 0.85rem; color: var(--text); margin: 0.4rem 0 0.8rem; }
.book-date:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 4px rgba(59,110,246,.14); }
.slot-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.slot {
  border: 1.5px solid var(--line); background: #fff; border-radius: 999px;
  font: inherit; font-size: 0.82rem; font-weight: 700; padding: 0.52em 0.95em; cursor: pointer; color: var(--text-body);
  transition: transform 0.18s ease, border-color 0.18s, background 0.18s;
}
.slot:hover { border-color: var(--brand-500); color: var(--brand-700); transform: translateY(-1px); }
.slot.is-on { background: var(--ink-900); border-color: var(--ink-900); color: #fff; box-shadow: 0 8px 18px rgba(11,18,32,.25); animation: slot-pop 0.3s ease; }
@keyframes slot-pop { from { transform: scale(0.94); } to { transform: scale(1); } }
.book-field { display: grid; gap: 0.35rem; margin-bottom: 0.7rem; }
.book-field label { font-size: 0.76rem; font-weight: 700; color: var(--text); }
.book-field input {
  font: inherit; font-size: 0.9rem; border: 1.5px solid var(--line); background: #fff;
  border-radius: 12px; padding: 0.72rem 0.85rem; color: var(--text); width: 100%;
}
.book-field input:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 4px rgba(59,110,246,.14); }
.book-err { display: none; font-size: 0.8rem; font-weight: 650; color: var(--danger); background: #fdecee; border: 1px solid #f5c2c7; border-radius: 10px; padding: 0.6rem 0.8rem; margin-bottom: 0.7rem; }
.book-err.is-in { display: block; }
.book-ok { display: none; text-align: center; padding: 0.6rem 0.2rem; }
.book-ok.is-in { display: block; animation: biz-in 0.45s var(--ease) both; }
@keyframes biz-in { from { opacity: 0; transform: translateY(10px) scale(0.99); } to { opacity: 1; transform: none; } }
.book-ok-ico {
  width: 68px; height: 68px; margin: 0 auto 0.8rem; border-radius: 50%;
  background: linear-gradient(135deg, #12a37b, #0b7c63); color: #fff; display: grid; place-items: center;
  box-shadow: 0 16px 34px rgba(18,163,123,.4); animation: ok-pop 0.5s ease both;
}
@keyframes ok-pop { from { transform: scale(0.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.book-ok-ico svg { width: 32px; height: 32px; }
.book-qr { margin: 1rem auto 0; max-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0.85rem; box-shadow: var(--shadow-sm); }
.book-qr img { width: 100%; border-radius: 10px; background: #fff; }
.book-qr p { font-size: 0.75rem; color: var(--text-muted); margin: 0.55rem 0 0; }

/* visit & pay */
.visit-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0.9rem; }
@media (max-width: 700px) { .visit-grid { grid-template-columns: 1fr; } }
.visit-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.05rem; }
.visit-card h3 { font-size: 0.95rem; margin: 0 0 0.4rem; }
.visit-card p { font-size: 0.85rem; color: var(--text-body); margin: 0 0 0.6rem; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.mini-map {
  height: 150px; border-radius: 12px; overflow: hidden; position: relative;
  background:
    linear-gradient(rgba(42,90,224,.08), rgba(18,163,123,.08)),
    repeating-linear-gradient(0deg, #e6ecf7 0 18px, #f4f7fc 18px 36px),
    repeating-linear-gradient(90deg, #e6ecf7 0 18px, #f4f7fc 18px 36px);
  border: 1px solid var(--line); display: grid; place-items: center;
}
.mini-map-pin {
  width: 44px; height: 44px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg);
  background: linear-gradient(135deg, var(--brand-500), #6d3be0);
  display: grid; place-items: center; box-shadow: 0 12px 26px rgba(42,90,224,.4);
  animation: pin-bounce 2.4s ease-in-out infinite;
}
.mini-map-pin span { transform: rotate(45deg); color: #fff; font-weight: 800; font-size: 1rem; }
@keyframes pin-bounce { 0%,100% { transform: rotate(-45deg) translate(0,0); } 50% { transform: rotate(-45deg) translate(-4px,4px); } }

/* how it works strip */
.how-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
@media (max-width: 700px) { .how-strip { grid-template-columns: 1fr; } }
.how-step { background: linear-gradient(180deg, #fff, var(--paper-2)); border: 1px solid var(--line); border-radius: 16px; padding: 0.95rem 1rem; position: relative; overflow: hidden; }
.how-step b { display: flex; align-items: center; gap: 0.5rem; color: var(--text); font-size: 0.9rem; margin-bottom: 0.3rem; }
.how-step b i { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--ink-900); color: #fff; font-style: normal; font-size: 0.8rem; font-weight: 800; flex: none; }
.how-step:nth-child(2) b i { background: linear-gradient(135deg, var(--brand-500), #6d3be0); }
.how-step:nth-child(3) b i { background: linear-gradient(135deg, #0b7c63, #12a37b); }
.how-step p { font-size: 0.8rem; color: var(--text-muted); margin: 0; }
.how-step code { font-family: var(--font-mono); font-size: 0.74em; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 0 0.35em; }

/* marquee */
.lp-marquee { overflow: hidden; border: 1px solid var(--line); background: var(--ink-900); color: #c9d4e8; border-radius: 16px; padding: 0.65rem 0; }
.lp-marquee-track { display: flex; gap: 2.2rem; white-space: nowrap; width: max-content; animation: marquee 22s linear infinite; font-size: 0.8rem; font-weight: 650; }
.lp-marquee-track span { display: inline-flex; align-items: center; gap: 0.5rem; }
.lp-marquee-track i { width: 7px; height: 7px; border-radius: 50%; background: #12a37b; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* similar */
.sim-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0.9rem; }
@media (max-width: 860px) { .sim-grid { grid-template-columns: 1fr; } }

/* bottom CTA */
.lp-cta {
  position: relative; overflow: hidden; border-radius: 24px; color: #fff;
  background: linear-gradient(115deg, #1f45b8, #4b3bd6 45%, #0e7c64);
  background-size: 200% 200%; animation: cta-pan 12s ease-in-out infinite;
  padding: clamp(1.5rem, 1.2rem + 2vw, 2.4rem);
  display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; justify-content: space-between;
  box-shadow: var(--shadow);
}
@keyframes cta-pan { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.lp-cta h2 { color: #fff; margin: 0 0 0.35rem; }
.lp-cta p { margin: 0; color: rgba(255,255,255,.88); max-width: 56ch; font-size: 0.92rem; }

/* reveal */
.js .rv { opacity: 0; transform: translateY(20px); transition: opacity 0.65s ease, transform 0.65s ease; }
.js .rv.is-in { opacity: 1; transform: none; }

/* picker */
.biz-pick-card { padding: 2.4rem 1.6rem; }
.biz-pick-search { display: flex; gap: 0.5rem; max-width: 480px; margin: 1rem auto 0; }
.biz-pick-search input { flex: 1; border: 1.5px solid var(--line); border-radius: 12px; padding: 0.7rem 0.9rem; font: inherit; font-size: 0.9rem; }
.biz-pick-search input:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 4px rgba(59,110,246,.14); }

.biz-note { font-size: 0.78rem; color: var(--text-muted); background: var(--paper-2); border: 1px dashed var(--line-strong); border-radius: 12px; padding: 0.7rem 0.9rem; margin-top: 1rem; }
.biz-note code { font-family: var(--font-mono); font-size: 0.85em; }

@media (prefers-reduced-motion: reduce) {
  .lp-orb, .lp-float, .lp-marquee-track, .lp-cta, .mini-map-pin, .slot.is-on { animation: none !important; }
  .js .rv { opacity: 1; transform: none; }
}
