/* ================================================================
   SocialIgniter — Design System
   Dark mode. Blue primary. Full width. Inter font.
   ================================================================ */

/* ----------------------------------------------------------------
   TOKENS
   ---------------------------------------------------------------- */
:root {
  /* Brand — Blue */
  --blue:     #3B82F6;
  --blue-dk:  #1D4ED8;
  --blue-mid: #60A5FA;
  --blue-lt:  rgba(59,130,246,.12);
  --blue-glow: rgba(59,130,246,.25);

  /* Accent */
  --amber:    #F59E0B;
  --amber-dk: #D97706;
  --amber-lt: rgba(245,158,11,.1);

  /* Semantic */
  --success:  #10B981;
  --danger:   #EF4444;
  --warning:  #F59E0B;
  --info:     #3B82F6;

  /* Dark palette */
  --bg:       #07111E;   /* body */
  --bg-2:     #0C1829;   /* sections alt */
  --bg-card:  #0F1E33;   /* cards, inputs */
  --bg-raised:#172540;   /* elevated / hover */

  /* Text */
  --ink:       #E9F0FA;  /* primary text */
  --ink-2:     #C8D8F0;
  --ink-3:     #A8BCDB;
  --muted:     #7C94B8;
  --subtle:    #506285;

  /* Borders */
  --border:    rgba(255,255,255,.07);
  --border-dk: rgba(255,255,255,.13);

  /* True white (for text on colored bg) */
  --white:     #FFFFFF;

  /* Legacy aliases — kept for admin.css compatibility */
  --c-primary:     var(--blue);
  --c-primary-dk:  var(--blue-dk);
  --c-primary-lt:  var(--blue-lt);
  --c-accent:      var(--amber);
  --c-accent-dk:   var(--amber-dk);
  --c-success:     var(--success);
  --c-danger:      var(--danger);
  --c-warning:     var(--warning);
  --c-info:        var(--info);
  --c-text:        var(--ink);
  --c-text-muted:  var(--muted);
  --c-text-light:  var(--subtle);
  --c-border:      var(--border);
  --c-border-dk:   var(--border-dk);
  --c-bg:          var(--bg-card);
  --c-bg-white:    var(--bg-card);
  --c-bg-dark:     var(--bg);
  --c-bg-darker:   var(--bg);

  /* Radius */
  --r-xs:   4px;
  --r-sm:   6px;
  --r:      10px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-pill: 100px;

  /* Shadows — blue-tinted on dark */
  --sh-xs: 0 1px 3px rgba(0,0,0,.4);
  --sh-sm: 0 1px 4px rgba(0,0,0,.5), 0 1px 2px rgba(0,0,0,.3);
  --sh:    0 4px 12px rgba(0,0,0,.5);
  --sh-md: 0 8px 32px rgba(0,0,0,.5), 0 2px 8px rgba(0,0,0,.4);
  --sh-lg: 0 16px 48px rgba(0,0,0,.6);
  --sh-xl: 0 24px 64px rgba(0,0,0,.7);

  /* Legacy shadow aliases */
  --shadow-sm: var(--sh-sm);
  --shadow:    var(--sh-md);
  --shadow-lg: var(--sh-lg);
  --shadow-xl: var(--sh-xl);

  /* Layout */
  --nav-h:     64px;
  --sidebar-w: 248px;

  /* Font */
  --font:      'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* radius aliases for admin.css */
  --radius-sm: var(--r-sm);
  --radius:    var(--r);
  --radius-lg: var(--r-lg);
  --radius-xl: var(--r-pill);
}

/* ----------------------------------------------------------------
   RESET
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--blue-mid); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }

/* ----------------------------------------------------------------
   TYPOGRAPHY
   ---------------------------------------------------------------- */
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; line-height: 1.15; letter-spacing: -.03em; }
h2 { font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
h3 { font-size: 1.1rem; font-weight: 600; line-height: 1.3; }
p  { margin-bottom: .75rem; }
p:last-child { margin-bottom: 0; }

/* ----------------------------------------------------------------
   LAYOUT — APP
   ---------------------------------------------------------------- */
.layout-app { display: flex; flex-direction: column; min-height: 100vh; background: var(--bg); }
.layout-app .main-content {
  flex: 1; width: 100%;
  max-width: 1600px; margin: 0 auto; padding: 2.5rem 3rem;
}

/* ----------------------------------------------------------------
   NAVIGATION
   ---------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 200;
  height: var(--nav-h);
  background: rgba(7,17,30,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  max-width: 1600px; margin: 0 auto; padding: 0 3rem;
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.nav__brand {
  font-size: 1.15rem; font-weight: 900; color: var(--white);
  text-decoration: none; display: flex; align-items: center; gap: .3rem; flex-shrink: 0;
  letter-spacing: -.02em;
}
.nav__brand:hover { text-decoration: none; }
.nav__brand-name { color: var(--blue-mid); }
.nav__brand-region {
  font-size: .6rem; font-weight: 800; color: var(--amber);
  letter-spacing: .1em; text-transform: uppercase;
  background: var(--amber-lt); border: 1px solid rgba(245,158,11,.2);
  padding: .1rem .35rem; border-radius: var(--r-sm);
}
.nav__links { display: flex; align-items: center; gap: .15rem; }
.nav__link {
  padding: .45rem .8rem; border-radius: var(--r-sm);
  font-size: .875rem; font-weight: 500; color: var(--muted);
  text-decoration: none; transition: background .12s, color .12s; white-space: nowrap;
}
.nav__link:hover { background: rgba(255,255,255,.06); color: var(--ink); text-decoration: none; }
.nav__link--cta {
  background: var(--blue); color: var(--white);
  padding: .5rem 1.1rem; border-radius: var(--r-pill); font-weight: 600;
  transition: background .15s, box-shadow .15s;
  box-shadow: 0 2px 8px var(--blue-glow);
}
.nav__link--cta:hover {
  background: var(--blue-dk); color: var(--white); text-decoration: none;
  box-shadow: 0 4px 16px var(--blue-glow);
}
.nav__link--admin { color: var(--danger); font-weight: 600; }
.nav__logout { display: inline; }
.nav__link--btn {
  background: none; border: none; padding: .45rem .8rem; border-radius: var(--r-sm);
  font-size: .875rem; font-weight: 500; color: var(--muted);
  cursor: pointer; transition: background .12s, color .12s; font-family: inherit;
}
.nav__link--btn:hover { background: rgba(255,255,255,.06); color: var(--ink); }

/* Mobile hamburger */
.nav__hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none;
  cursor: pointer; padding: 8px; border-radius: var(--r-sm);
}
.nav__hamburger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav--open .nav__hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav--open .nav__hamburger span:nth-child(2) { opacity: 0; }
.nav--open .nav__hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav--open .nav__links {
  display: flex; flex-direction: column; align-items: stretch;
  position: absolute; top: var(--nav-h); left: 0; right: 0;
  background: var(--bg-2); border-bottom: 1px solid var(--border);
  padding: .75rem 1.5rem 1.25rem; gap: .15rem; box-shadow: var(--sh-lg);
}
.nav--open .nav__link { padding: .7rem 1rem; }
.nav--open .nav__link--cta { text-align: center; margin-top: .5rem; }

/* ----------------------------------------------------------------
   FOOTER
   ---------------------------------------------------------------- */
.footer {
  background: var(--bg-2); color: var(--muted);
  padding: 4rem 3rem 0; margin-top: auto;
  border-top: 1px solid var(--border);
}
.footer__inner {
  max-width: 1600px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
}
.footer__brand { display: flex; flex-direction: column; gap: .75rem; }
.footer__logo {
  font-size: 1.2rem; font-weight: 900; color: var(--white);
  letter-spacing: -.02em; display: inline-flex; align-items: center; gap: .3rem;
}
.footer__logo-region {
  font-size: .6rem; font-weight: 800; color: var(--amber);
  letter-spacing: .1em; text-transform: uppercase;
  background: var(--amber-lt); border: 1px solid rgba(245,158,11,.2);
  padding: .1rem .35rem; border-radius: var(--r-sm);
}
.footer__tagline { font-size: .875rem; line-height: 1.7; max-width: 240px; }
.footer__col h4 {
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--ink-3); margin-bottom: 1rem;
}
.footer__col-links { display: flex; flex-direction: column; gap: .55rem; }
.footer__col-links a { color: var(--muted); font-size: .875rem; text-decoration: none; transition: color .12s; }
.footer__col-links a:hover { color: var(--white); }
.footer__bottom {
  max-width: 1600px; margin: 3rem auto 0; padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; font-size: .8rem;
}
.footer__copy { color: var(--subtle); }
.footer__links { display: flex; gap: 1.25rem; }
.footer__links a { color: var(--subtle); font-size: .8rem; text-decoration: none; transition: color .12s; }
.footer__links a:hover { color: var(--white); }

/* ----------------------------------------------------------------
   BUTTONS
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .625rem 1.375rem;
  border-radius: var(--r-pill);
  font-size: .9rem; font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s, opacity .15s;
  white-space: nowrap; line-height: 1.4; font-family: inherit; letter-spacing: -.01em;
}
.btn:hover { text-decoration: none; }
.btn:active { opacity: .9; }

.btn--primary { background: var(--blue); color: var(--white); box-shadow: 0 2px 8px var(--blue-glow); }
.btn--primary:hover { background: var(--blue-dk); box-shadow: 0 4px 20px rgba(59,130,246,.4); }

.btn--amber   { background: var(--amber); color: var(--white); box-shadow: 0 2px 8px rgba(245,158,11,.25); }
.btn--amber:hover { background: var(--amber-dk); }

.btn--danger  { background: var(--danger); color: var(--white); }
.btn--danger:hover { background: #DC2626; }

.btn--ghost   { background: transparent; color: var(--ink); border-color: var(--border-dk); }
.btn--ghost:hover { background: rgba(255,255,255,.05); }

.btn--outline { background: transparent; color: var(--blue-mid); border-color: var(--blue); }
.btn--outline:hover { background: var(--blue-lt); }

.btn--white   { background: rgba(255,255,255,.1); color: var(--white); border: 1px solid rgba(255,255,255,.15); }
.btn--white:hover { background: rgba(255,255,255,.16); }

.btn--full    { width: 100%; }
.btn--lg      { padding: .8rem 2rem; font-size: 1rem; }
.btn--sm      { padding: .4rem 1rem; font-size: .825rem; }
.btn--xs      { padding: .25rem .65rem; font-size: .775rem; border-radius: var(--r-sm); }
.btn--disabled, .btn[disabled] { opacity: .4; cursor: not-allowed; pointer-events: none; }

/* ----------------------------------------------------------------
   FORMS
   ---------------------------------------------------------------- */
.form { display: flex; flex-direction: column; gap: 1.1rem; }
.form__group { display: flex; flex-direction: column; gap: .45rem; }
.form__group--inline { flex-direction: row; align-items: center; gap: .75rem; }
.form__row   { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__row--3 { grid-template-columns: 1fr 1fr 1fr; }
.form__col   { display: flex; flex-direction: column; gap: .45rem; }

.form__label {
  font-size: .85rem; font-weight: 600; color: var(--ink-3);
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
}
.form__label-link { font-weight: 400; font-size: .8rem; color: var(--blue-mid); }
.form__label--social { min-width: 90px; text-transform: capitalize; }
.form__hint  { font-size: .775rem; color: var(--muted); }
.form__required { color: var(--danger); }

.form__input {
  padding: .7rem 1rem;
  border: 1.5px solid var(--border-dk); border-radius: var(--r);
  font-size: .9rem; font-family: inherit;
  background: var(--bg-card); color: var(--ink);
  transition: border-color .15s, box-shadow .15s; width: 100%;
}
.form__input:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-lt);
}
.form__input::placeholder { color: var(--subtle); }
.form__textarea { resize: vertical; min-height: 100px; }
.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%237C94B8' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem;
}
.form__radio-group { display: flex; flex-direction: column; gap: .5rem; }
.form__radio   { display: flex; align-items: center; gap: .5rem; font-size: .9rem; cursor: pointer; }
.form__checkbox { display: flex; align-items: center; gap: .5rem; font-size: .9rem; cursor: pointer; margin-bottom: .5rem; }
.form__fieldset { border: 1.5px solid var(--border); border-radius: var(--r); padding: 1.25rem; }
.form__legend { font-weight: 600; font-size: .9rem; padding: 0 .5rem; color: var(--muted); }
.form__terms  { font-size: .8rem; color: var(--muted); }
.form__actions { display: flex; gap: .75rem; margin-top: .5rem; flex-wrap: wrap; }

.role-toggle {
  display: flex; border: 1.5px solid var(--border-dk);
  border-radius: var(--r); overflow: hidden;
}
.role-toggle__option { flex: 1; }
.role-toggle__option input { position: absolute; opacity: 0; }
.role-toggle__option span {
  display: block; text-align: center; padding: .65rem;
  font-weight: 600; font-size: .9rem; cursor: pointer;
  color: var(--muted); transition: background .15s, color .15s;
}
.role-toggle__option input:checked + span { background: var(--blue); color: var(--white); }

/* ----------------------------------------------------------------
   FLASH MESSAGES
   ---------------------------------------------------------------- */
.flash-bag { display: flex; flex-direction: column; gap: .5rem; padding: .75rem 3rem; }
.flash {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .875rem 1.1rem; border-radius: var(--r);
  font-size: .875rem; font-weight: 500; border: 1px solid;
}
.flash--success { background: rgba(16,185,129,.12); color: #6EE7B7; border-color: rgba(16,185,129,.25); }
.flash--error   { background: rgba(239,68,68,.12); color: #FCA5A5; border-color: rgba(239,68,68,.25); }
.flash--info    { background: var(--blue-lt); color: var(--blue-mid); border-color: rgba(59,130,246,.25); }
.flash--warning { background: rgba(245,158,11,.12); color: #FCD34D; border-color: rgba(245,158,11,.25); }
.flash__close {
  background: none; border: none; font-size: 1rem; line-height: 1;
  cursor: pointer; color: inherit; opacity: .5; flex-shrink: 0;
}
.flash__close:hover { opacity: 1; }

/* ----------------------------------------------------------------
   BADGES
   ---------------------------------------------------------------- */
.badge {
  display: inline-flex; align-items: center;
  padding: .2rem .65rem; border-radius: var(--r-pill);
  font-size: .7rem; font-weight: 700; white-space: nowrap;
  letter-spacing: .03em; text-transform: uppercase;
}
.badge--lg { font-size: .78rem; padding: .3rem .9rem; }
.badge--green, .badge--completed, .badge--active    { background: rgba(16,185,129,.15); color: #6EE7B7; }
.badge--danger, .badge--rejected, .badge--suspended,
.badge--cancelled                                   { background: rgba(239,68,68,.15); color: #FCA5A5; }
.badge--grey, .badge--inactive, .badge--pending     { background: rgba(255,255,255,.07); color: var(--muted); }
.badge--blue, .badge--accepted                      { background: var(--blue-lt); color: var(--blue-mid); }
.badge--in_progress                                 { background: rgba(59,130,246,.15); color: var(--blue-mid); }
.badge--disputed                                    { background: rgba(245,158,11,.15); color: #FCD34D; }
.badge--role-admin                                  { background: rgba(245,158,11,.15); color: #FCD34D; }
.badge--role-business                               { background: var(--blue-lt); color: var(--blue-mid); }
.badge--role-client                                 { background: rgba(255,255,255,.07); color: var(--muted); }

/* ----------------------------------------------------------------
   STAR RATING
   ---------------------------------------------------------------- */
.stars, .biz-card__stars {
  display: inline-block;
  --pct: calc(var(--rating, 0) / 5 * 100%);
  background: linear-gradient(90deg, var(--amber) var(--pct), var(--subtle) var(--pct));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  letter-spacing: .05em;
}
.stars::before, .biz-card__stars::before { content: '★★★★★'; }

.star-picker { display: flex; flex-direction: row-reverse; gap: .25rem; }
.star-picker input { display: none; }
.star-picker label { font-size: 1.75rem; cursor: pointer; color: var(--subtle); transition: color .1s; }
.star-picker input:checked ~ label,
.star-picker label:hover,
.star-picker label:hover ~ label { color: var(--amber); }

/* ----------------------------------------------------------------
   PAGINATION
   ---------------------------------------------------------------- */
.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: .35rem; padding: 2rem 0; flex-wrap: wrap;
}
.pagination__btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 .6rem;
  border: 1.5px solid var(--border-dk); border-radius: var(--r-sm);
  font-size: .875rem; font-weight: 500; color: var(--muted);
  text-decoration: none; transition: border-color .15s, color .15s;
  background: var(--bg-card);
}
.pagination__btn:hover { border-color: var(--blue); color: var(--blue-mid); text-decoration: none; }
.pagination__btn--active { background: var(--blue); border-color: var(--blue); color: var(--white); }
.pagination__ellipsis { color: var(--subtle); padding: 0 .25rem; }

/* ----------------------------------------------------------------
   HERO — Landing
   ---------------------------------------------------------------- */
.hero {
  background: var(--bg);
  padding: 8rem 3rem 7rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -250px; left: 50%; transform: translateX(-50%);
  width: 1100px; height: 800px;
  background: radial-gradient(ellipse at 50% 50%, rgba(59,130,246,.35) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,.3), transparent);
}
.hero__inner {
  position: relative; z-index: 1;
  max-width: 860px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 2rem; align-items: center;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(59,130,246,.1); border: 1px solid rgba(59,130,246,.25);
  border-radius: var(--r-pill); padding: .4rem 1rem;
  font-size: .75rem; font-weight: 600; color: var(--blue-mid);
  letter-spacing: .06em; text-transform: uppercase;
}
.hero__eyebrow-dot { width: 6px; height: 6px; background: var(--blue-mid); border-radius: 50%; flex-shrink: 0; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.hero__headline {
  font-size: clamp(2.75rem, 6.5vw, 5rem);
  font-weight: 900; line-height: 1.03; letter-spacing: -.04em; color: var(--white);
}
.hero__headline em { font-style: normal; color: var(--blue-mid); }
.hero__sub {
  font-size: 1.2rem; color: var(--muted); max-width: 560px; line-height: 1.75;
}
.hero__search {
  display: flex; width: 100%; max-width: 600px;
  background: var(--bg-card); border: 1px solid var(--border-dk);
  border-radius: var(--r-pill);
  box-shadow: 0 0 0 1px rgba(59,130,246,.15), var(--sh-xl);
  overflow: hidden;
}
.hero__search-input {
  flex: 1; padding: 1rem 1.5rem;
  border: none; font-size: .95rem; font-family: inherit;
  background: transparent; color: var(--ink); min-width: 0;
}
.hero__search-input:focus { outline: none; }
.hero__search-input::placeholder { color: var(--subtle); }
.hero__search .btn {
  border-radius: 0 var(--r-pill) var(--r-pill) 0;
  padding: 1rem 1.5rem; flex-shrink: 0;
}
.hero__cta-group { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; }
.hero .btn--white { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: var(--white); }
.hero .btn--white:hover { background: rgba(255,255,255,.13); }
.hero__stats {
  display: flex; gap: 0; align-items: center;
  border-top: 1px solid var(--border); padding-top: 2rem;
  width: 100%; justify-content: center;
}
.hero__stat {
  flex: 1; text-align: center; padding: 0 2rem;
  border-right: 1px solid var(--border);
}
.hero__stat:last-child { border-right: none; }
.hero__stat-value { display: block; font-size: 2rem; font-weight: 900; color: var(--white); letter-spacing: -.04em; }
.hero__stat-label { font-size: .72rem; color: var(--subtle); text-transform: uppercase; letter-spacing: .06em; margin-top: .2rem; display: block; }

/* ----------------------------------------------------------------
   LANDING SECTIONS — shared utilities
   ---------------------------------------------------------------- */
.lp-section { padding: 7rem 3rem; }
.lp-section--gray  { background: var(--bg-2); }
.lp-section--dark  { background: var(--bg-2); }
.lp-section__inner { max-width: 1600px; margin: 0 auto; }

.lp-eyebrow {
  display: inline-block;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  color: var(--blue-mid); margin-bottom: .85rem;
}
.lp-eyebrow--light { color: var(--blue-mid); }
.lp-headline {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 900; letter-spacing: -.04em; line-height: 1.08; margin-bottom: 1.1rem;
  color: var(--white);
}
.lp-headline--light { color: var(--white); }
.lp-subtext { font-size: 1.05rem; color: var(--muted); line-height: 1.8; max-width: 560px; }
.lp-subtext--light { color: var(--muted); }

/* ----------------------------------------------------------------
   TRUST STRIP
   ---------------------------------------------------------------- */
.trust-strip {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg-2); padding: 1.5rem 3rem;
}
.trust-strip__inner {
  max-width: 1600px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 3rem; flex-wrap: wrap;
}
.trust-strip__item {
  display: flex; align-items: center; gap: .65rem;
  font-size: .82rem; font-weight: 600; color: var(--muted);
}
.trust-strip__check {
  width: 22px; height: 22px; background: var(--blue-lt);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .7rem; color: var(--blue-mid); flex-shrink: 0;
  border: 1px solid rgba(59,130,246,.2);
}

/* ----------------------------------------------------------------
   HOW IT WORKS
   ---------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 3rem; margin-top: 4rem; }
.step { position: relative; }
.step__num {
  width: 52px; height: 52px; border-radius: var(--r);
  background: var(--blue-lt); color: var(--blue-mid);
  font-size: 1.3rem; font-weight: 900; letter-spacing: -.02em;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem; border: 1px solid rgba(59,130,246,.25);
}
.step__title { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; color: var(--ink); }
.step__desc  { font-size: .9rem; color: var(--muted); line-height: 1.7; }
.step__connector {
  position: absolute; top: 26px; left: calc(52px + 1.5rem);
  right: -1.5rem; height: 1px;
  background: linear-gradient(90deg, rgba(59,130,246,.2), transparent);
}

/* ----------------------------------------------------------------
   FEATURES GRID
   ---------------------------------------------------------------- */
.features-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3.5rem;
}
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 2rem;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.feature-card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); border-color: rgba(59,130,246,.2); }
.feature-card__icon {
  width: 48px; height: 48px; border-radius: var(--r);
  background: var(--blue-lt); display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 1.25rem;
  border: 1px solid rgba(59,130,246,.2);
}
.feature-card--amber .feature-card__icon { background: var(--amber-lt); border-color: rgba(245,158,11,.2); }
.feature-card__title { font-size: .95rem; font-weight: 700; margin-bottom: .5rem; color: var(--ink); }
.feature-card__desc  { font-size: .875rem; color: var(--muted); line-height: 1.65; }

/* ----------------------------------------------------------------
   PRICING CARDS — Landing teaser + /packages page
   ---------------------------------------------------------------- */
.pricing-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; margin-top: 3.5rem;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 2rem 1.5rem;
  display: flex; flex-direction: column; gap: 1.25rem;
  transition: background .2s, border-color .2s, transform .2s;
}
.pricing-card:hover { border-color: var(--border-dk); transform: translateY(-4px); }
.pricing-card--highlight {
  background: rgba(59,130,246,.1); border-color: rgba(59,130,246,.4);
  box-shadow: 0 0 0 1px rgba(59,130,246,.25) inset;
}
.pricing-card--highlight:hover { background: rgba(59,130,246,.15); }
.pricing-card__name { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--subtle); }
.pricing-card--highlight .pricing-card__name { color: var(--blue-mid); }
.pricing-card__price { font-size: 2.5rem; font-weight: 900; color: var(--white); letter-spacing: -.04em; line-height: 1; }
.pricing-card__per   { font-size: .8rem; font-weight: 400; color: var(--subtle); }
.pricing-card__commission { font-size: .8rem; color: var(--subtle); padding-top: .75rem; border-top: 1px solid var(--border); }
.pricing-card__features { display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.pricing-card__features li {
  font-size: .82rem; color: var(--muted);
  padding-left: 1.25rem; position: relative;
}
.pricing-card__features li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 700; }

/* ----------------------------------------------------------------
   SECTION + LISTING GRID
   ---------------------------------------------------------------- */
.section { padding: 3.5rem 0; }
.section + .section { padding-top: 0; }
.section__inner { max-width: 1600px; margin: 0 auto; padding: 0 3rem; }
.section__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; gap: 1rem; }
.section__title  { font-size: 1.3rem; font-weight: 700; color: var(--ink); }
.section__count  { font-size: .9rem; color: var(--muted); }
.section__badge  { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; background: var(--amber); color: var(--white); padding: .25rem .65rem; border-radius: var(--r-pill); }
.section__link   { font-size: .875rem; font-weight: 600; color: var(--blue-mid); white-space: nowrap; }
.section__link:hover { color: var(--blue); text-decoration: none; }

.biz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

/* ----------------------------------------------------------------
   BUSINESS CARDS
   ---------------------------------------------------------------- */
.biz-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  transition: box-shadow .2s, transform .2s, border-color .2s;
  box-shadow: var(--sh-xs);
  position: relative;
}
.biz-card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); border-color: rgba(59,130,246,.25); }
.biz-card--promoted { border-color: rgba(245,158,11,.3); box-shadow: 0 0 0 3px rgba(245,158,11,.07), var(--sh-xs); }
.biz-card--promoted:hover { border-color: var(--amber); }

.biz-card__badge {
  position: absolute; top: .75rem; right: .75rem; z-index: 2;
  background: var(--amber); color: var(--white);
  font-size: .62rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: .2rem .55rem; border-radius: var(--r-pill);
}
.biz-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; padding: 1.25rem; gap: .85rem; }
.biz-card__top  { display: flex; align-items: flex-start; gap: .85rem; }
.biz-card__logo {
  width: 52px; height: 52px; border-radius: var(--r); overflow: hidden; flex-shrink: 0;
  border: 1px solid var(--border);
}
.biz-card__logo img { width: 100%; height: 100%; object-fit: cover; }
.biz-card__logo-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: var(--blue); color: var(--white); font-size: 1.3rem; font-weight: 800;
}
.biz-card__name    { font-size: .95rem; font-weight: 700; line-height: 1.3; margin-bottom: .25rem; color: var(--ink); }
.biz-card__tagline { font-size: .8rem; color: var(--muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.biz-card__meta {
  display: flex; flex-direction: column; gap: .3rem;
  padding-top: .75rem; border-top: 1px solid var(--border);
  margin-top: auto;
}
.biz-card__rating, .biz-card__location, .biz-card__services, .biz-card__no-rating {
  font-size: .78rem; color: var(--muted); display: flex; align-items: center; gap: .35rem;
}
.biz-card__review-count { color: var(--subtle); }

/* Category chips */
.category-grid { display: flex; flex-wrap: wrap; gap: .5rem; }
.category-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .45rem .9rem; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--r-pill);
  font-size: .82rem; font-weight: 500; color: var(--muted);
  text-decoration: none; transition: border-color .12s, color .12s, box-shadow .12s;
}
.category-chip:hover { border-color: var(--blue); color: var(--blue-mid); box-shadow: var(--sh-sm); text-decoration: none; }
.category-chip--active { background: var(--blue); border-color: var(--blue); color: var(--white); box-shadow: 0 2px 8px var(--blue-glow); }
.category-chip__count { font-size: .7rem; background: rgba(255,255,255,.1); padding: .1rem .4rem; border-radius: var(--r-pill); }
.category-chip--active .category-chip__count { background: rgba(255,255,255,.2); }

/* Empty state */
.empty-state {
  text-align: center; padding: 4rem 1rem;
  display: flex; flex-direction: column; align-items: center; gap: 1rem; color: var(--muted);
}
.empty-state--inline { padding: 2rem 1rem; }

/* ----------------------------------------------------------------
   BROWSE PAGE
   ---------------------------------------------------------------- */
.browse-page { display: grid; grid-template-columns: 232px 1fr; gap: 2rem; align-items: start; }
.browse-page__sidebar {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.25rem;
  position: sticky; top: calc(var(--nav-h) + 1rem); box-shadow: var(--sh-xs);
}
.browse-page__results {}
.browse-page__header { display: flex; align-items: baseline; gap: .75rem; margin-bottom: 1.25rem; }
.browse-page__title  { font-size: 1.3rem; font-weight: 700; }
.browse-page__count  { font-size: .875rem; color: var(--muted); }

.filter-form { display: flex; flex-direction: column; gap: .9rem; }
.filter-form__label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.filter-form__categories { display: flex; flex-direction: column; gap: .15rem; max-height: 320px; overflow-y: auto; }
.filter-form__cat {
  display: flex; align-items: center; justify-content: space-between;
  padding: .4rem .6rem; border-radius: var(--r-sm); font-size: .875rem; cursor: pointer;
  transition: background .12s; color: var(--ink);
}
.filter-form__cat:hover { background: rgba(255,255,255,.05); }
.filter-form__cat--active { background: var(--blue-lt); color: var(--blue-mid); font-weight: 600; }
.filter-form__cat input { display: none; }
.filter-form__cat-count { font-size: .75rem; color: var(--subtle); }

/* ----------------------------------------------------------------
   BUSINESS PROFILE
   ---------------------------------------------------------------- */
.biz-profile__header {
  background: var(--bg-2);
  background-image: var(--banner, none);
  background-size: cover; background-position: center;
  padding: 3.5rem 3rem 4rem;
  position: relative;
}
.biz-profile__header::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.3) 0%, rgba(0,0,0,.75) 100%);
}
.biz-profile__header-inner {
  position: relative; z-index: 1;
  max-width: 1600px; margin: 0 auto;
  display: flex; align-items: flex-end; gap: 1.5rem; color: var(--white);
}
.biz-profile__logo {
  width: 96px; height: 96px; border-radius: var(--r-lg);
  border: 3px solid rgba(255,255,255,.85); overflow: hidden; flex-shrink: 0;
  background: var(--bg-card); box-shadow: var(--sh-lg);
}
.biz-profile__logo img { width: 100%; height: 100%; object-fit: cover; }
.biz-profile__logo-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: var(--blue); color: var(--white); font-size: 2.5rem; font-weight: 800;
}
.biz-profile__name    { font-size: 1.9rem; font-weight: 800; color: var(--white); }
.biz-profile__tagline { color: rgba(255,255,255,.8); margin-top: .2rem; }
.biz-profile__stats   { display: flex; align-items: center; gap: 1rem; margin-top: .5rem; flex-wrap: wrap; }
.biz-profile__rating  { display: flex; align-items: center; gap: .4rem; }
.biz-profile__review-count { color: rgba(255,255,255,.6); font-size: .875rem; }
.biz-profile__location { font-size: .875rem; color: rgba(255,255,255,.7); }

.biz-profile__body {
  max-width: 1600px; margin: 2rem auto 0; padding: 0 3rem;
  display: grid; grid-template-columns: 1fr 300px; gap: 2rem; align-items: start;
}
.biz-profile__section { margin-bottom: 2.5rem; }
.biz-profile__section-title {
  font-size: 1.05rem; font-weight: 700; padding-bottom: .75rem; margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: .75rem;
  color: var(--ink);
}
.biz-profile__section-count {
  font-size: .75rem; color: var(--muted); background: rgba(255,255,255,.07);
  padding: .15rem .5rem; border-radius: var(--r-pill); font-weight: 500;
}
.biz-profile__description { line-height: 1.8; color: var(--ink-3); }
.biz-profile__sidebar { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: calc(var(--nav-h) + 1rem); }
.biz-profile__cta-card,
.biz-profile__contact-card,
.biz-profile__social-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 1.25rem; display: flex; flex-direction: column; gap: .75rem; box-shadow: var(--sh-xs);
}
.biz-profile__card-title { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.biz-profile__cta-label   { font-size: .9rem; font-weight: 500; color: var(--ink); }
.biz-profile__contact-item { font-size: .875rem; color: var(--ink-3); display: block; }
.biz-profile__social-link  { font-size: .875rem; font-weight: 500; text-decoration: none; display: block; color: var(--blue-mid); }

.service-list { display: flex; flex-direction: column; gap: 1rem; }
.service-card {
  display: flex; gap: 1.25rem; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; padding: 1.25rem;
  transition: box-shadow .2s; box-shadow: var(--sh-xs);
}
.service-card:hover { box-shadow: var(--sh-md); }
.service-card__img { width: 88px; height: 88px; border-radius: var(--r); overflow: hidden; flex-shrink: 0; }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; }
.service-card__body  { flex: 1; display: flex; flex-direction: column; gap: .4rem; }
.service-card__header { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.service-card__title  { font-weight: 700; font-size: 1rem; color: var(--ink); }
.service-card__price  { font-size: 1rem; font-weight: 700; color: var(--blue-mid); white-space: nowrap; }
.service-card__desc   { font-size: .875rem; color: var(--muted); }

.review-list { display: flex; flex-direction: column; gap: 1rem; }
.review { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.25rem; box-shadow: var(--sh-xs); }
.review__header { display: flex; align-items: center; gap: 1rem; margin-bottom: .75rem; flex-wrap: wrap; }
.review__author { display: flex; align-items: center; gap: .6rem; }
.review__avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.review__avatar-placeholder {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-lt); color: var(--blue-mid); font-weight: 700; font-size: .9rem; flex-shrink: 0;
}
.review__name { font-weight: 600; font-size: .9rem; color: var(--ink); }
.review__date { font-size: .8rem; color: var(--muted); margin-left: auto; }
.review__body { font-size: .875rem; color: var(--ink-3); line-height: 1.65; }

/* ----------------------------------------------------------------
   DASHBOARD
   ---------------------------------------------------------------- */
.dashboard { max-width: 1400px; }
.dashboard__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.dashboard__title { font-size: 1.75rem; font-weight: 800; letter-spacing: -.03em; color: var(--white); }
.dashboard__sub   { color: var(--muted); font-size: .9rem; margin-top: .25rem; }
.dashboard__header-actions { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stat-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 1.25rem; display: flex; flex-direction: column; gap: .3rem; box-shadow: var(--sh-xs);
}
.stat-card--accent { background: var(--blue); border-color: transparent; }
.stat-card--accent .stat-card__value,
.stat-card--accent .stat-card__label { color: rgba(255,255,255,.9); }
.stat-card--warn   { border-color: var(--amber); }
.stat-card--danger { border-color: var(--danger); }
.stat-card__value  { font-size: 1.75rem; font-weight: 800; color: var(--white); line-height: 1; letter-spacing: -.03em; }
.stat-card__label  { font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.stat-card__sub    { font-size: .75rem; color: var(--subtle); }

.sub-banner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; border-radius: var(--r-lg); border: 1px solid var(--border);
  margin-bottom: 2rem; background: var(--bg-card); gap: 1rem; flex-wrap: wrap; box-shadow: var(--sh-xs);
}
.sub-banner__info   { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.sub-banner__label  { font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.sub-banner__plan   { font-weight: 700; font-size: 1rem; color: var(--ink); }
.sub-banner__commission { font-size: .875rem; color: var(--muted); }
.sub-banner--pro, .sub-banner--elite { border-color: var(--blue); background: var(--blue-lt); }

.dashboard__alert {
  background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.25);
  border-radius: var(--r); padding: .875rem 1.1rem;
  font-size: .9rem; margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: .5rem; color: #FCD34D;
}
.dashboard__section { margin-top: 2.5rem; }
.dashboard__section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.dashboard__section-title  { font-size: 1.1rem; font-weight: 700; color: var(--ink); }

.service-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--sh-xs); }
.service-table { width: 100%; border-collapse: collapse; background: var(--bg-card); }
.service-table th, .service-table td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--border); font-size: .875rem; color: var(--ink); }
.service-table th { font-weight: 600; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; background: rgba(255,255,255,.03); }
.service-table tbody tr:last-child td { border-bottom: none; }
.service-table__row--inactive td { opacity: .5; }
.service-table__title { font-weight: 600; }
.service-table__actions { display: flex; gap: .4rem; white-space: nowrap; }

/* ----------------------------------------------------------------
   BOOKINGS
   ---------------------------------------------------------------- */
.status-tabs { display: flex; gap: .35rem; margin-bottom: 1.5rem; flex-wrap: wrap; border-bottom: 1px solid var(--border); padding-bottom: .75rem; }
.status-tabs__tab {
  padding: .4rem .9rem; border-radius: var(--r-pill);
  font-size: .85rem; font-weight: 500; color: var(--muted);
  text-decoration: none; transition: background .12s, color .12s;
}
.status-tabs__tab:hover { background: rgba(255,255,255,.06); color: var(--ink); text-decoration: none; }
.status-tabs__tab--active { background: var(--blue); color: var(--white); }

.booking-list { display: flex; flex-direction: column; gap: .75rem; }
.booking-card {
  display: flex; align-items: center; gap: 1rem;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 1rem 1.25rem; text-decoration: none; color: inherit;
  transition: box-shadow .15s, transform .15s; box-shadow: var(--sh-xs);
}
.booking-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); text-decoration: none; }
.booking-card__logo { width: 44px; height: 44px; border-radius: var(--r); overflow: hidden; flex-shrink: 0; border: 1px solid var(--border); }
.booking-card__logo img { width: 100%; height: 100%; object-fit: cover; }
.booking-card__logo-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--blue-lt); color: var(--blue-mid); font-weight: 700; }
.booking-card__body  { flex: 1; display: flex; flex-direction: column; gap: .2rem; }
.booking-card__biz   { font-weight: 700; font-size: .95rem; color: var(--ink); }
.booking-card__service { font-size: .85rem; color: var(--muted); }
.booking-card__date  { font-size: .8rem; color: var(--muted); }
.booking-card__meta  { display: flex; flex-direction: column; align-items: flex-end; gap: .3rem; }
.booking-card__price { font-weight: 700; font-size: .95rem; color: var(--ink); }
.booking-card__created { font-size: .775rem; color: var(--subtle); }

.booking-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--sh-xs); }
.booking-table { width: 100%; border-collapse: collapse; background: var(--bg-card); }
.booking-table th, .booking-table td { padding: .75rem .9rem; text-align: left; border-bottom: 1px solid var(--border); font-size: .875rem; color: var(--ink); }
.booking-table th { font-weight: 600; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: rgba(255,255,255,.03); }
.booking-table tbody tr:last-child td { border-bottom: none; }
.booking-table__commission { color: var(--muted); }
.booking-table__rate { font-size: .75rem; }
.booking-table__row--disputed td { background: rgba(245,158,11,.07); }

.booking-detail__header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 2rem; gap: 1rem; flex-wrap: wrap; }
.booking-detail__title { font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: .4rem; color: var(--white); }
.booking-detail__info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 1.75rem; }
.booking-detail__info-block { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r); padding: 1rem; }
.booking-detail__info-block h3 { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: .4rem; }
.booking-detail__service  { font-weight: 700; color: var(--ink); }
.booking-detail__biz      { font-size: .875rem; color: var(--ink-3); }
.booking-detail__price    { font-size: 1.25rem; font-weight: 800; color: var(--blue-mid); }
.booking-detail__commission { font-size: .8rem; color: var(--danger); }
.booking-detail__net      { font-size: .875rem; font-weight: 600; color: var(--success); }
.booking-detail__created  { font-size: .8rem; color: var(--muted); }
.booking-detail__actions  { display: flex; gap: .75rem; margin-bottom: 2rem; flex-wrap: wrap; }
.booking-detail__review-form { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.5rem; margin-bottom: 2rem; }
.booking-detail__review-form h3 { margin-bottom: 1rem; color: var(--ink); }
.booking-detail__review-done { font-size: .875rem; color: var(--success); margin-bottom: 1.5rem; }
.booking-detail__messages-title { font-size: 1rem; font-weight: 700; margin-bottom: 1.25rem; color: var(--ink); }

.message-thread { display: flex; flex-direction: column; gap: .85rem; margin-bottom: 1.5rem; max-height: 480px; overflow-y: auto; padding: .5rem 0; }
.message-thread__empty, .message-thread__closed { font-size: .875rem; color: var(--muted); font-style: italic; }
.message { max-width: 80%; display: flex; flex-direction: column; gap: .3rem; }
.message--mine   { align-self: flex-end; align-items: flex-end; }
.message--theirs { align-self: flex-start; align-items: flex-start; }
.message__meta   { display: flex; gap: .6rem; align-items: baseline; }
.message__author { font-size: .775rem; font-weight: 600; color: var(--muted); }
.message__time   { font-size: .7rem; color: var(--subtle); }
.message__body {
  padding: .65rem 1rem; border-radius: var(--r-lg); font-size: .9rem;
  line-height: 1.55; white-space: pre-wrap; word-break: break-word;
}
.message--mine   .message__body { background: var(--blue); color: var(--white); border-bottom-right-radius: var(--r-sm); }
.message--theirs .message__body { background: var(--bg-raised); border: 1px solid var(--border); border-bottom-left-radius: var(--r-sm); color: var(--ink); }
.message-compose { display: flex; gap: .75rem; align-items: flex-end; }
.message-compose__input { resize: none; min-height: 72px; }

.booking-request__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; gap: 1rem; }
.booking-request__title  { font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em; color: var(--white); }
.booking-request__body   { max-width: 680px; }
.booking-request__service-card {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 1.25rem; margin-bottom: 1.75rem;
  flex-wrap: wrap; box-shadow: var(--sh-xs);
}
.booking-request__service-name { font-weight: 700; font-size: 1.1rem; margin-bottom: .2rem; color: var(--ink); }
.booking-request__biz-name     { font-size: .875rem; color: var(--muted); }
.booking-request__service-desc { font-size: .875rem; color: var(--muted); margin-top: .5rem; }
.booking-request__price        { font-size: 1.3rem; font-weight: 800; color: var(--blue-mid); white-space: nowrap; }
.booking-request__price span   { font-size: .85rem; font-weight: 500; color: var(--muted); }
.booking-request__price-label  { font-size: .85rem; color: var(--muted); font-style: italic; }
.booking-request__submit-row   { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.booking-request__terms        { font-size: .8rem; color: var(--muted); }

/* ----------------------------------------------------------------
   PACKAGES PAGE
   ---------------------------------------------------------------- */
.packages-page { max-width: 1400px; margin: 0 auto; }
.packages-page__header { text-align: center; margin-bottom: 3rem; }
.packages-page__title  { font-size: 2.5rem; font-weight: 900; margin-bottom: .75rem; letter-spacing: -.04em; color: var(--white); }
.packages-page__sub    { color: var(--muted); font-size: 1.05rem; }

.cycle-toggle {
  display: inline-flex; border: 1px solid var(--border-dk); border-radius: var(--r-pill);
  overflow: hidden; margin-top: 1.5rem; background: var(--bg-card); box-shadow: var(--sh-xs);
}
.cycle-toggle__btn {
  padding: .5rem 1.35rem; background: none; border: none;
  font-size: .875rem; font-weight: 600; cursor: pointer;
  color: var(--muted); transition: background .15s, color .15s; font-family: inherit;
  display: flex; align-items: center; gap: .4rem;
}
.cycle-toggle__btn--active { background: var(--blue); color: var(--white); border-radius: var(--r-pill); }
.cycle-toggle__save { font-size: .68rem; background: var(--success); color: var(--white); padding: .1rem .45rem; border-radius: var(--r-pill); }

.package-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.25rem; margin-bottom: 3rem; }
.package-card {
  position: relative; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 1.75rem;
  display: flex; flex-direction: column; gap: 1.25rem;
  transition: box-shadow .2s, transform .2s; box-shadow: var(--sh-xs);
}
.package-card:hover { box-shadow: var(--sh-md); transform: translateY(-4px); }
.package-card--popular { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(59,130,246,.1), var(--sh-sm); }
.package-card__popular-badge {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: var(--white);
  font-size: .65rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: .25rem .85rem; border-radius: 0 0 var(--r) var(--r);
}
.package-card__header {}
.package-card__name   { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: .75rem; }
.package-card__price  { line-height: 1; margin-bottom: .25rem; }
.package-card__amount { font-size: 2.25rem; font-weight: 900; letter-spacing: -.04em; color: var(--white); }
.package-card__period { font-size: .875rem; color: var(--muted); }
.package-card__annual-note { font-size: .8rem; color: var(--muted); margin-top: .25rem; }
.package-card__commission  { font-size: .875rem; color: var(--muted); }
.package-card__features { list-style: none; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.package-card__features li { font-size: .875rem; padding-left: 1.5rem; position: relative; color: var(--ink-3); }
.package-card__features li::before { position: absolute; left: 0; }
.feature--yes::before { content: '✓'; color: var(--success); font-weight: 700; }
.feature--no  { color: var(--subtle); }
.feature--no::before { content: '—'; color: var(--subtle); }
.package-card__action { display: flex; flex-direction: column; gap: .5rem; margin-top: auto; }

.commission-explainer { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.commission-explainer h2 { margin-bottom: .75rem; color: var(--white); }
.commission-explainer p  { color: var(--muted); margin-bottom: 1.5rem; }
.commission-table { width: 100%; border-collapse: collapse; }
.commission-table th, .commission-table td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--border); font-size: .875rem; color: var(--ink); }
.commission-table th { background: rgba(255,255,255,.03); font-weight: 600; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; }

.success-page { text-align: center; max-width: 480px; margin: 4rem auto; }
.success-page__icon  { font-size: 4rem; color: var(--success); margin-bottom: 1rem; }
.success-page__title { font-size: 1.75rem; font-weight: 800; margin-bottom: .75rem; color: var(--white); }
.success-page__sub   { color: var(--muted); margin-bottom: 2rem; }
.success-page__actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

/* ----------------------------------------------------------------
   PROFILE / SERVICE FORMS
   ---------------------------------------------------------------- */
.profile-form__preview { width: 80px; height: 80px; object-fit: cover; border-radius: var(--r); border: 1px solid var(--border); margin-bottom: .5rem; }
.profile-form__preview--banner { width: 200px; height: 60px; }
.service-form__images { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: .5rem; }
.service-form__image-item { position: relative; }
.service-form__image-item img { width: 80px; height: 80px; object-fit: cover; border-radius: var(--r); border: 1px solid var(--border); }
.service-form__image-delete { display: flex; align-items: center; gap: .3rem; font-size: .75rem; color: var(--danger); cursor: pointer; margin-top: .25rem; }

/* ----------------------------------------------------------------
   JOIN STRIP
   ---------------------------------------------------------------- */
.join-strip { background: var(--bg-2); color: var(--muted); padding: 4rem 3rem; border-top: 1px solid var(--border); }
.join-strip__inner { max-width: 1600px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.join-strip__copy h2 { color: var(--white); font-size: 1.6rem; }
.join-strip__copy p  { margin-top: .4rem; }
.join-strip .btn--primary { background: var(--amber); box-shadow: 0 4px 16px rgba(245,158,11,.3); }
.join-strip .btn--primary:hover { background: var(--amber-dk); }

/* ----------------------------------------------------------------
   ERROR PAGES
   ---------------------------------------------------------------- */
.error-page { text-align: center; padding: 6rem 1rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.error-page__code { font-size: 6rem; font-weight: 900; letter-spacing: -.06em; color: var(--subtle); line-height: 1; }
.error-page__msg  { color: var(--muted); font-size: 1.1rem; }

/* ----------------------------------------------------------------
   AUTH — SPLIT SCREEN
   ---------------------------------------------------------------- */
.layout-auth { min-height: 100vh; display: flex; background: var(--bg); }

.auth-split {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; width: 100%;
}

.auth-split__panel {
  background: var(--bg-2);
  background-image: linear-gradient(160deg, #0F2444 0%, #07111E 100%);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 3rem; position: relative; overflow: hidden;
  border-right: 1px solid var(--border);
}
.auth-split__panel::before {
  content: '';
  position: absolute; top: -150px; right: -150px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(59,130,246,.18) 0%, transparent 70%);
  pointer-events: none;
}
.auth-split__panel::after {
  content: '';
  position: absolute; bottom: -100px; left: -80px;
  width: 350px; height: 350px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(59,130,246,.1) 0%, transparent 70%);
  pointer-events: none;
}
.auth-split__brand {
  position: relative; z-index: 1;
  font-size: 1.2rem; font-weight: 900; color: var(--white);
  text-decoration: none; display: flex; align-items: center; gap: .4rem;
  letter-spacing: -.02em;
}
.auth-split__brand:hover { text-decoration: none; }
.auth-split__brand-region {
  font-size: .6rem; font-weight: 800; color: var(--amber);
  letter-spacing: .1em; text-transform: uppercase;
  background: var(--amber-lt); border: 1px solid rgba(245,158,11,.25);
  padding: .1rem .35rem; border-radius: var(--r-sm);
}
.auth-split__copy { position: relative; z-index: 1; }
.auth-split__headline {
  font-size: 2rem; font-weight: 900; color: var(--white);
  letter-spacing: -.03em; line-height: 1.2; margin-bottom: 1.5rem;
}
.auth-split__bullets { display: flex; flex-direction: column; gap: 1rem; }
.auth-split__bullet { display: flex; align-items: flex-start; gap: .85rem; }
.auth-split__bullet-icon {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: var(--blue-lt); border: 1px solid rgba(59,130,246,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; color: var(--blue-mid); margin-top: 1px;
}
.auth-split__bullet-text { font-size: .9rem; color: var(--muted); line-height: 1.55; }
.auth-split__bullet-text strong { color: var(--white); font-weight: 700; }

.auth-split__quote {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border); padding-top: 1.25rem;
}
.auth-split__quote p { font-size: .875rem; color: var(--muted); font-style: italic; line-height: 1.6; }
.auth-split__quote cite { font-size: .8rem; color: var(--subtle); font-style: normal; margin-top: .4rem; display: block; }

.auth-split__form {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 3rem 2.5rem; background: var(--bg);
}
.auth-split__form-inner { width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 2rem; }
.auth-split__form-header { display: flex; flex-direction: column; gap: .4rem; }
.auth-split__form-title { font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; color: var(--white); }
.auth-split__form-sub { font-size: .9rem; color: var(--muted); }

.auth-split .auth-card { background: none; border: none; box-shadow: none; padding: 0; border-radius: 0; }
.auth-card__title { display: none; }

/* Auth alt link */
.auth-split__form-inner > p { color: var(--muted); }
.auth-split__form-inner > p a { color: var(--blue-mid); }

/* ----------------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------------- */
@media (max-width: 1200px) {
  .layout-app .main-content { padding: 2rem 2rem; }
  .section__inner { padding: 0 2rem; }
  .lp-section { padding: 6rem 2rem; }
  .trust-strip { padding: 1.5rem 2rem; }
  .nav__inner { padding: 0 2rem; }
  .footer { padding: 4rem 2rem 0; }
  .biz-profile__header { padding: 3rem 2rem 3.5rem; }
  .biz-profile__body { padding: 0 2rem; }
  .join-strip { padding: 4rem 2rem; }
  .flash-bag { padding: .75rem 2rem; }
}
@media (max-width: 1024px) {
  .biz-profile__body { grid-template-columns: 1fr; }
  .biz-profile__sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .browse-page { grid-template-columns: 200px 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .pricing-grid { grid-template-columns: repeat(2,1fr); }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .step__connector { display: none; }
}
@media (max-width: 768px) {
  .auth-split { grid-template-columns: 1fr; }
  .auth-split__panel { display: none; }
  .auth-split__form { padding: 2.5rem 1.5rem; min-height: 100vh; justify-content: flex-start; padding-top: 3rem; }
  .hero { padding: 5rem 1.5rem 4.5rem; }
  .hero__headline { font-size: clamp(2.2rem, 9vw, 3.5rem); }
  .hero__stats { flex-direction: column; gap: 0; border-top: none; padding-top: 0; }
  .hero__stat { border-right: none; border-bottom: 1px solid var(--border); padding: 1rem; }
  .hero__stat:last-child { border-bottom: none; }
  .browse-page { grid-template-columns: 1fr; }
  .browse-page__sidebar { position: static; }
  .form__row, .form__row--3 { grid-template-columns: 1fr; }
  .biz-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .booking-detail__info-grid { grid-template-columns: 1fr 1fr; }
  .join-strip__inner { flex-direction: column; text-align: center; }
  .package-grid { grid-template-columns: 1fr 1fr; }
  .message { max-width: 92%; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .lp-section { padding: 4rem 1.5rem; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .section__inner { padding: 0 1.5rem; }
  .trust-strip { padding: 1.25rem 1.5rem; }
  .nav__inner { padding: 0 1.5rem; }
  .footer { padding: 3rem 1.5rem 0; }
  .biz-profile__header { padding: 2.5rem 1.5rem 3rem; }
  .biz-profile__body { padding: 0 1.5rem; }
  .join-strip { padding: 3rem 1.5rem; }
  .layout-app .main-content { padding: 1.5rem 1.5rem; }
  .flash-bag { padding: .75rem 1.5rem; }
}
@media (max-width: 600px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
}
@media (max-width: 480px) {
  .hero__search { border-radius: var(--r-lg); }
  .hero__search .btn { border-radius: 0 var(--r-lg) var(--r-lg) 0; }
  .package-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .booking-detail__info-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .booking-request__submit-row { flex-direction: column; align-items: stretch; }
}
