/* ==========================================================================
   Pure Fit Inc — Private Personal Training, Aventura & Miami
   Premium dark theme. Huge type, emerald palette, real photography.
   Mobile-first. No frameworks, no build step.
   ========================================================================== */

@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Anton-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Archivo-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Archivo-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Archivo-700.woff2') format('woff2');
}

:root {
  --bg: #13201a;
  --bg-2: #172720;
  --panel: #1c2e25;
  --line: #2b4436;
  --line-soft: #22382d;
  --text: #f2f4ee;
  --muted: #a4b2a8;
  --dim: #6f8076;
  --accent: #4de38a;
  --accent-dim: rgba(77, 227, 138, 0.12);
  --accent-ink: #07301a;
  --display: 'Anton', 'Arial Narrow', Impact, sans-serif;
  --body: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius: 14px;
  --radius-sm: 10px;
  --pad: clamp(20px, 5vw, 36px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: #79e9a8; }

::selection { background: var(--accent); color: var(--accent-ink); }

.wrap { max-width: 1160px; margin-inline: auto; padding-inline: var(--pad); }

/* ---------- type ---------- */

h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--text);
  line-height: 0.95;
  letter-spacing: 0.015em;
  text-wrap: balance;
}

h1 { font-size: clamp(3rem, 12vw, 7rem); }
h2 { font-size: clamp(2rem, 6.5vw, 3.6rem); margin-bottom: 0.45em; }
h3 { font-size: clamp(1.15rem, 3.5vw, 1.45rem); letter-spacing: 0.03em; }

.accent { color: var(--accent); }

p { color: var(--muted); }
p strong, li strong { color: var(--text); font-weight: 600; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--accent); }

.lead { font-size: clamp(1.02rem, 2.4vw, 1.2rem); max-width: 56ch; font-weight: 400; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(19, 32, 26, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 78px;
}

.brand { display: inline-flex; align-items: center; color: var(--text); }
.brand svg.logo-mark { width: 104px; height: auto; flex: none; display: block; }
.brand:hover { color: var(--text); }
@media (min-width: 940px) { .brand svg.logo-mark { width: 122px; } }
.brand-lg svg.logo-mark { width: 148px; }

.nav-links { display: none; list-style: none; gap: 2px; align-items: center; }
.nav-links a {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 9px 10px;
  border-radius: 99px;
  white-space: nowrap;
}
@media (min-width: 1180px) {
  .nav-links a { font-size: 0.82rem; letter-spacing: 0.1em; padding: 9px 13px; }
}
.nav-links a:hover { color: var(--text); }
.nav-links a[aria-current="page"] { color: var(--text); background: var(--panel); }

.nav-phone { display: none; }

.nav-toggle {
  appearance: none;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 46px; height: 42px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 19px; height: 2px;
  background: var(--text);
  margin: 2.5px 0;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: none; border-top: 1px solid var(--line-soft); padding: 10px 0 18px; }
.nav-open .mobile-menu { display: block; }
.mobile-menu ul { list-style: none; }
.mobile-menu a {
  display: block;
  padding: 13px 4px;
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu a[aria-current="page"] { color: var(--accent); }
.mobile-menu .menu-call {
  margin-top: 14px;
  text-align: center;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 12px;
  border-bottom: none;
}

@media (min-width: 940px) {
  .nav-links { display: flex; }
  .nav-toggle, .mobile-menu { display: none !important; }
  .nav-phone {
    display: inline-block;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    color: var(--accent-ink);
    background: var(--accent);
    padding: 11px 22px;
    border-radius: 99px;
    white-space: nowrap;
  }
  .nav-phone:hover { background: #6ee8a2; color: var(--accent-ink); }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--body);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: 99px;
  background: var(--accent);
  color: var(--accent-ink);
  border: 1.5px solid var(--accent);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, border-color 0.2s;
}
.btn:hover { background: #6ee8a2; border-color: #6ee8a2; color: var(--accent-ink); transform: translateY(-1px); }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--panel); border-color: var(--dim); color: var(--text); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  padding-block: clamp(64px, 12vh, 130px) clamp(48px, 8vh, 90px);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.16;
  filter: saturate(0.7) contrast(1.05);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 70% at 15% 20%, rgba(77, 227, 138, 0.07) 0%, transparent 60%),
    linear-gradient(180deg, rgba(23, 25, 33, 0.55) 0%, rgba(23, 25, 33, 0.2) 45%, var(--bg) 100%);
}

.hero h1 { margin: 10px 0 22px; max-width: 10.5em; }
.hero .lead { margin-bottom: 30px; }

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 15px; height: 15px; fill: var(--accent); flex: none; }

/* ticker */
.ticker {
  border-block: 1px solid var(--line-soft);
  background: var(--bg-2);
  overflow: hidden;
  padding: 13px 0;
  white-space: nowrap;
}
.ticker-track {
  display: inline-block;
  animation: ticker 36s linear infinite;
}
.ticker span {
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 0 18px;
}
.ticker span b { color: var(--accent); font-weight: 400; padding-right: 18px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- sections ---------- */

section { padding-block: clamp(56px, 9vw, 104px); }
section.tight { padding-block: clamp(32px, 5vw, 56px); }

.band { background: var(--bg-2); border-block: 1px solid var(--line-soft); }

.section-head { max-width: 720px; margin-bottom: clamp(30px, 5vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* numbered service cards */
.svc-grid { display: grid; gap: 16px; }
@media (min-width: 880px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
.svc-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.2s;
}
.svc-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.svc-card .num {
  font-family: var(--display);
  font-size: 3rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--dim);
}
.svc-card:hover .num { -webkit-text-stroke: 1px var(--accent); }
.svc-card h3 { font-size: 1.5rem; }
.svc-card p { font-size: 0.95rem; }
.svc-card .more {
  margin-top: auto;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

/* stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-soft); border-block: 1px solid var(--line-soft); }
.stat { background: var(--bg); padding: clamp(26px, 4vw, 44px) 18px; text-align: center; }
.stat b {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  line-height: 1;
  color: var(--text);
}
.stat b em { font-style: normal; color: var(--accent); }
.stat small { display: block; margin-top: 8px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* split */
.split { display: grid; gap: 34px; align-items: center; }
.split .media { position: relative; }
.split .media img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
  max-height: 480px;
}
.split .media.tall img { aspect-ratio: 4 / 5; max-height: 560px; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split.flip .media { order: 2; }
}

/* checklist */
.checks { list-style: none; display: grid; gap: 13px; }
.checks li { display: flex; gap: 13px; align-items: flex-start; color: var(--muted); font-size: 0.97rem; }
.checks svg { width: 19px; height: 19px; fill: var(--accent); flex: none; margin-top: 3px; }

/* chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 10px 20px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  background: var(--panel);
}
a.chip:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- gallery ---------- */

.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 74%;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.gallery figure { scroll-snap-align: center; }
.gallery img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}
.gallery figcaption { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.04em; color: var(--dim); padding-top: 9px; }
@media (min-width: 880px) {
  .gallery { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; grid-auto-columns: unset; }
}

/* ---------- reviews ---------- */

.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 15px; height: 15px; fill: var(--accent); }

.pull-quote {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}
.pull-quote blockquote {
  font-family: var(--display);
  font-size: clamp(1.5rem, 4.6vw, 2.7rem);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text);
}
.pull-quote blockquote .accent { color: var(--accent); }
.pull-quote figcaption { margin-top: 18px; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }

.review-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  break-inside: avoid;
}
.review-card blockquote { color: #d5d7d3; font-size: 0.95rem; line-height: 1.62; }
.review-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.review-meta b { color: var(--text); font-size: 0.9rem; font-weight: 700; }
.review-meta time { display: block; font-size: 0.75rem; font-weight: 500; color: var(--dim); }
.source-pill {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 99px;
  background: var(--accent-dim);
  color: var(--accent);
  white-space: nowrap;
}
.review-wall { columns: 1; column-gap: 16px; }
.review-wall .review-card { margin-bottom: 16px; }
@media (min-width: 680px) { .review-wall { columns: 2; } }
@media (min-width: 1000px) { .review-wall { columns: 3; } }

.rating-banner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 30px;
}
@media (min-width: 760px) { .rating-banner { grid-template-columns: repeat(4, 1fr); } }
.rating-banner .cell { background: var(--panel); padding: 22px 18px; text-align: center; }
.rating-banner .big { font-family: var(--display); font-size: 2.4rem; line-height: 1; color: var(--text); }
.rating-banner .big .accent { color: var(--accent); }
.rating-banner small { display: block; margin-top: 7px; color: var(--dim); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }

/* ---------- tabs ---------- */

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tabs button {
  appearance: none;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--muted);
  font: 700 0.8rem/1 var(--body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: 99px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.tabs button:hover { color: var(--text); }
.tabs button[aria-pressed="true"], .tabs button[aria-selected="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
[data-panel] { display: none; }
[data-panel].active { display: block; }

/* ---------- notes ---------- */

.note-cards { display: grid; gap: 16px; }
@media (min-width: 820px) { .note-cards { grid-template-columns: 1fr 1fr; } }
.note {
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 24px;
}
.note h3 { margin-bottom: 8px; }
.note p { font-size: 0.95rem; }

/* ---------- faq ---------- */

.faq-list { display: grid; gap: 12px; max-width: 820px; }
.faq-list details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 20px;
}
.faq-list details[open] { border-color: var(--dim); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 17px 0;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--accent);
  line-height: 1;
  transition: transform 0.2s;
  flex: none;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 18px; font-size: 0.94rem; }

/* ---------- rates ---------- */

.rate-card { position: relative; }
.rate-card .price { font-family: var(--display); font-size: 3.4rem; line-height: 1; color: var(--text); }
.rate-card .price sup { font-size: 1.5rem; color: var(--accent); }
.rate-card .per { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.rate-card.featured { border-color: var(--accent); }
.rate-card .flag {
  position: absolute;
  top: -12px; right: 18px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 99px;
}

/* ---------- CTA banner ---------- */

.cta-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
  border-block: 1px solid var(--line-soft);
  background:
    radial-gradient(110% 140% at 50% 0%, rgba(77, 227, 138, 0.1) 0%, transparent 55%),
    var(--bg-2);
}
.cta-banner h2 { font-size: clamp(2.6rem, 9.5vw, 5.4rem); }
.cta-banner p { max-width: 46ch; margin-inline: auto; }
.cta-banner .phone-big {
  font-family: var(--display);
  font-size: clamp(1.9rem, 7vw, 3.2rem);
  letter-spacing: 0.03em;
  color: var(--accent);
  display: inline-block;
  margin: 14px 0 24px;
}
.cta-banner .btn-row { justify-content: center; }

/* ---------- contact ---------- */

.contact-grid { display: grid; gap: 20px; }
@media (min-width: 880px) { .contact-grid { grid-template-columns: 1.1fr 0.9fr; } }

.contact-cards { display: grid; grid-template-columns: 1fr; gap: 14px; align-content: start; }
@media (min-width: 560px) { .contact-cards { grid-template-columns: 1fr 1fr; } .contact-cards .wide { grid-column: 1 / -1; } }
.ccard {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--muted);
  transition: border-color 0.2s, transform 0.15s;
}
a.ccard:hover { border-color: var(--accent); transform: translateY(-2px); color: var(--muted); }
.ccard .icon {
  width: 40px; height: 40px;
  background: var(--accent-dim);
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-bottom: 4px;
}
.ccard .icon svg { width: 19px; height: 19px; fill: currentColor; }
.ccard b { color: var(--text); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.ccard .val { font-size: 1.02rem; font-weight: 600; color: var(--text); line-height: 1.45; }
.ccard .hint { font-size: 0.8rem; font-weight: 700; color: var(--accent); margin-top: auto; }

.pay-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.pay-tile {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
}
.pay-tile svg { height: 18px; width: auto; display: inline-block; }
.pay-apple { background: #000; border: 1px solid #333; gap: 3px; }
.pay-paypal { background: #003087; font-style: italic; font-weight: 800; }
.pay-paypal i { color: #a8c6f0; font-style: italic; margin-right: -3px; }
.pay-venmo { background: #008CFF; text-transform: lowercase; font-weight: 800; letter-spacing: 0.02em; }
.pay-zelle { background: #6D1ED4; font-weight: 800; }
.pay-cashapp { background: #00C244; font-weight: 800; }
.pay-cashapp b { font-weight: 900; margin-right: 2px; }
.pay-plain { background: var(--bg); border: 1px solid var(--line); color: var(--text); }

.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  background: var(--panel);
}
.map-frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; filter: grayscale(0.4) invert(0.06); }

.hours-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; font-weight: 500; }
.hours-table td { padding: 8px 0; border-bottom: 1px solid var(--line-soft); color: var(--muted); }
.hours-table td:last-child { text-align: right; color: var(--text); }

/* ---------- social ---------- */

.social-row { display: flex; gap: 12px; }
.social-row a {
  width: 42px; height: 42px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: var(--muted);
}
.social-row a:hover { border-color: var(--accent); color: var(--accent); }
.social-row svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- breadcrumbs ---------- */

.crumbs { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; color: var(--dim); margin-bottom: 18px; text-transform: uppercase; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line-soft);
  background: var(--bg-2);
  padding: 56px 0 122px;
  font-size: 0.9rem;
}
.footer-grid { display: grid; gap: 34px; }
@media (min-width: 880px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } .site-footer { padding-bottom: 56px; } }
.site-footer h4 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 15px;
}
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer ul a, .site-footer ul li { color: var(--muted); font-size: 0.88rem; font-weight: 500; }
.site-footer ul a:hover { color: var(--accent); }
.site-footer .about-blurb { color: var(--muted); font-size: 0.88rem; max-width: 34ch; }
.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  color: var(--dim);
  font-size: 0.78rem;
  font-weight: 500;
}

/* ---------- mobile action bar ---------- */

.action-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 120;
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 10px;
  background: rgba(19, 32, 26, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
}
.action-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 6px;
  border-radius: 11px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.action-bar a svg { width: 15px; height: 15px; fill: var(--accent); }
.action-bar a.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.action-bar a.primary svg { fill: var(--accent-ink); }
@media (min-width: 940px) { .action-bar { display: none; } }

/* ---------- reveal ---------- */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- utility ---------- */

.center { text-align: center; }
.mt { margin-top: 26px; }
.fineprint { font-size: 0.82rem; font-weight: 500; color: var(--dim); }
.grid { display: grid; gap: 16px; }
@media (min-width: 680px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card p { font-size: 0.95rem; }
.skip-link {
  position: absolute;
  left: -9999px; top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 16px;
  z-index: 999;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }


/* ---------- GLP-1 spotlight (home) ---------- */

.spotlight {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(80% 120% at 85% 0%, rgba(77, 227, 138, 0.12) 0%, transparent 60%),
    var(--bg-2);
}
.spotlight::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--accent);
}
.spotlight-inner { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .spotlight-inner { grid-template-columns: 1.15fr 0.85fr; gap: 56px; } }
.spotlight h2 { font-size: clamp(2.1rem, 6.5vw, 3.4rem); }
.spotlight-list {
  list-style: none;
  display: grid;
  gap: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.spotlight-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 0.95rem; }
.spotlight-list svg { width: 19px; height: 19px; fill: var(--accent); flex: none; margin-top: 3px; }

/* ---------- blog ---------- */

.blog-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.post-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  color: var(--muted);
  transition: border-color 0.25s, transform 0.2s;
}
.post-card:hover { border-color: var(--accent); transform: translateY(-3px); color: var(--muted); }
.post-cat {
  align-self: flex-start;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 99px;
  background: var(--accent-dim);
  color: var(--accent);
}
.post-card h3 { font-size: 1.35rem; }
.post-card p { font-size: 0.94rem; }
.post-card time { margin-top: auto; font-size: 0.78rem; font-weight: 600; color: var(--dim); }

.empty-state {
  background: var(--panel);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 44px);
  max-width: 760px;
}
.empty-state h3 { margin-bottom: 10px; }
.planned { list-style: none; display: grid; gap: 10px; margin: 20px 0; }
.planned li {
  position: relative;
  padding-left: 26px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.97rem;
}
.planned li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 12px; height: 2px;
  background: var(--accent);
}

/* ---------- disclaimer ---------- */

.disclaimer {
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 24px;
  max-width: 820px;
}
.disclaimer h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--muted); }
.disclaimer p { font-size: 0.88rem; line-height: 1.6; }


/* ---------- article ---------- */

.article-head { max-width: 780px; }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  margin-top: 22px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dim);
}
.article-meta .by { color: var(--text); }
.article-meta .dot { color: var(--line); }

.article-body { max-width: 74ch; }
.article-body > * + * { margin-top: 1.15em; }
.article-body p { font-size: 1.03rem; line-height: 1.78; }
.article-body h2 {
  font-size: clamp(1.65rem, 4.5vw, 2.25rem);
  margin-top: 2.1em;
  margin-bottom: 0.55em;
}
.article-body h3 {
  font-size: 1.18rem;
  margin-top: 1.7em;
  margin-bottom: 0.4em;
  color: var(--text);
}
.article-body a { text-decoration: underline; text-underline-offset: 3px; }
.article-body ul { list-style: none; display: grid; gap: 11px; }
.article-body ul li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}
.article-body ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 12px; height: 2px;
  background: var(--accent);
}
.article-body ol { padding-left: 22px; display: grid; gap: 11px; }
.article-body ol li { color: var(--muted); line-height: 1.7; padding-left: 6px; }
.article-body ol li::marker { color: var(--accent); font-weight: 700; }

.key-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px;
}
.key-box h2 { font-size: 1.15rem !important; margin: 0 0 12px !important; }
.key-box ul { margin-top: 0; }

.stat-callout {
  display: grid;
  gap: 6px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  text-align: center;
}
.stat-callout b {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.8rem, 9vw, 4.2rem);
  line-height: 1;
  color: var(--accent);
}
.stat-callout span { font-size: 0.93rem; color: var(--muted); }

.sources { font-size: 0.86rem; }
.sources li { font-size: 0.86rem !important; color: var(--dim) !important; }

.article-cta {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  margin-top: 2.4em;
}
.article-cta h3 { margin-bottom: 8px; }

/* featured post card */
.post-card.featured {
  grid-column: 1 / -1;
  border-color: var(--accent);
  background:
    radial-gradient(70% 130% at 90% 0%, rgba(77, 227, 138, 0.09) 0%, transparent 60%),
    var(--panel);
  padding: clamp(26px, 4vw, 38px);
}
.post-card.featured h3 { font-size: clamp(1.6rem, 4.5vw, 2.3rem); }
.post-card.featured p { font-size: 1rem; max-width: 62ch; }


/* ---------- intake form ---------- */

.form-wrap { max-width: 760px; }
.form-step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 30px);
  margin-bottom: 16px;
}
.form-step > legend, .form-step .step-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  padding: 0;
}
.form-step .step-num {
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent-dim);
  font-size: 0.75rem;
  letter-spacing: 0;
}

.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field:last-child { margin-bottom: 0; }
.field > label, .field .q {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}
.field .hint { font-size: 0.83rem; color: var(--dim); }
.field .req { color: var(--accent); }

input[type="text"], input[type="tel"], input[type="email"], input[type="password"], select, textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 13px 14px;
  transition: border-color 0.18s;
  appearance: none;
}
textarea { min-height: 110px; resize: vertical; line-height: 1.6; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
input::placeholder, textarea::placeholder { color: var(--dim); }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236f8076'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 22px;
  padding-right: 40px;
  cursor: pointer;
}
select option { background: var(--bg-2); color: var(--text); }

/* choice chips (radio / checkbox) */
.choices { display: flex; flex-wrap: wrap; gap: 9px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice span {
  display: block;
  border: 1.5px solid var(--line);
  background: var(--bg);
  border-radius: 99px;
  padding: 11px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}
.choice input:hover + span { border-color: var(--dim); color: var(--text); }
.choice input:checked + span {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: var(--text);
}
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.form-row { display: grid; gap: 16px; }
@media (min-width: 620px) { .form-row.two { grid-template-columns: 1fr 1fr; } }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-submit { display: grid; gap: 14px; margin-top: 6px; }
.form-submit .btn { width: 100%; padding: 17px 30px; font-size: 1rem; }
.form-legal { font-size: 0.82rem; color: var(--dim); line-height: 1.6; }

.form-alert {
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 0.94rem;
  display: none;
  border: 1px solid;
}
.form-alert.show { display: block; }
.form-alert.error { border-color: #d4715f; background: rgba(212, 113, 95, 0.1); color: #f0b9ad; }
.form-alert.error a { color: #f6d3cb; }

.form-success {
  background: var(--panel);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 44px);
  text-align: center;
}
.form-success .tick {
  width: 58px; height: 58px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--accent-dim);
  display: grid;
  place-items: center;
}
.form-success .tick svg { width: 30px; height: 30px; fill: var(--accent); }

.form-aside { display: grid; gap: 14px; align-content: start; }
.form-aside .mini {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.form-aside .mini b { display: block; color: var(--text); font-size: 0.95rem; margin-bottom: 5px; }
.form-aside .mini p { font-size: 0.88rem; }
.book-grid { display: grid; gap: 22px; }
@media (min-width: 1000px) { .book-grid { grid-template-columns: 1.6fr 0.9fr; gap: 34px; } }


/* ==========================================================================
   CRM portal (private) — sign-in, sidebar shell, leads, clients, sessions
   ========================================================================== */

.portal { background: var(--bg); }
.portal.modal-open { overflow: hidden; }

/* ------------------------------------------------------------- sign in -- */

.portal-login {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.login-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 6vw, 44px);
  text-align: center;
}
.login-card .logo-mark { width: 132px; height: 70px; margin: 0 auto 22px; color: var(--text); }
.login-card h1 { font-size: clamp(2.1rem, 8vw, 2.8rem); }
.login-card .login-sub { margin-top: 8px; margin-bottom: 24px; font-size: 0.95rem; }
.login-card .field { text-align: left; }
.login-card .btn { width: 100%; padding: 16px 30px; }
.login-card .form-alert { margin-bottom: 18px; text-align: left; }

/* --------------------------------------------------------------- shell -- */

.crm { min-height: 100vh; min-height: 100dvh; }

.side {
  position: fixed;
  inset: 0 auto 0 0;
  width: 236px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 16px;
  background: var(--bg-2);
  border-right: 1px solid var(--line);
  z-index: 40;
}
.side-brand { display: block; margin: 0 8px 26px; color: var(--text); }
.side-brand .logo-mark { width: 118px; height: 62px; display: block; }

.side-nav { display: flex; flex-direction: column; gap: 4px; }
.side-nav button,
.side-foot a,
.side-foot button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 13px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--muted);
  font-family: var(--body);
  font-size: 0.92rem;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, border-color 0.16s;
}
.side-nav button:hover,
.side-foot a:hover,
.side-foot button:hover { background: var(--panel); color: var(--text); }
.side-nav button[aria-current="page"] {
  background: var(--accent-dim);
  border-color: rgba(77, 227, 138, 0.35);
  color: var(--accent);
}
.side-count {
  margin-left: auto;
  min-width: 22px;
  padding: 2px 7px;
  border-radius: 99px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
}
.side-nav button[aria-current="page"] .side-count { background: var(--accent); }
.side-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-soft); }

.ico {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.work { padding: 26px clamp(18px, 3vw, 38px) 110px; margin-left: 236px; }
/* The marketing site pads every <section>; CRM views set their own rhythm. */
.view { padding-block: 0; }
.work-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.work-head h1 { font-size: clamp(2rem, 5vw, 2.9rem); margin: 0; }
.work-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-left: auto; }
.work .form-alert { margin-bottom: 20px; }

.btn-sm { padding: 11px 20px; font-size: 0.78rem; }
.btn-sm .ico { width: 16px; height: 16px; stroke-width: 2.2; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.16s, border-color 0.16s, background 0.16s;
}
.icon-btn:hover { color: var(--text); border-color: var(--dim); background: var(--panel); }
.icon-btn.danger:hover { color: #f0b9ad; border-color: #d4715f; background: rgba(212, 113, 95, 0.12); }
.btn.danger { color: #f0b9ad; border-color: rgba(212, 113, 95, 0.5); }
.btn.danger:hover { background: rgba(212, 113, 95, 0.14); border-color: #d4715f; color: #f6d3cb; }
.btn.danger-solid { background: #d4715f; border-color: #d4715f; color: #fff; }
.btn.danger-solid:hover { background: #e08370; border-color: #e08370; color: #fff; }

/* Mobile: the sidebar becomes a bottom bar. */
@media (max-width: 880px) {
  .side {
    inset: auto 0 0 0;
    width: auto;
    flex-direction: row;
    align-items: center;
    gap: 0;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
    border-right: 0;
    border-top: 1px solid var(--line);
  }
  .side-brand { display: none; }
  .side-nav { flex-direction: row; flex: 1; gap: 2px; }
  .side-nav button {
    flex-direction: column;
    gap: 3px;
    padding: 8px 4px;
    font-size: 0.66rem;
    letter-spacing: 0.02em;
    text-align: center;
    justify-content: center;
  }
  .side-nav button[aria-current="page"] { background: transparent; border-color: transparent; }
  .side-count {
    position: absolute;
    transform: translate(14px, -8px);
    min-width: 18px;
    padding: 1px 5px;
    font-size: 0.62rem;
  }
  .side-foot {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    display: flex;
    border-left: 1px solid var(--line-soft);
  }
  .side-foot a { display: none; }
  .side-foot button { flex-direction: column; gap: 3px; padding: 8px 10px; font-size: 0.66rem; }
  .work { margin-left: 0; padding-bottom: 96px; }
}

/* ----------------------------------------------------------- dashboard -- */

.stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 26px;
}
@media (min-width: 760px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.stat b {
  display: block;
  font-family: var(--display);
  font-size: clamp(2rem, 6vw, 2.7rem);
  line-height: 1;
  color: var(--accent);
  letter-spacing: 0.01em;
}
.stat small {
  display: block;
  margin-top: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.dash-cols { display: grid; gap: 18px; }
@media (min-width: 1000px) { .dash-cols { grid-template-columns: 1fr 1fr; } }

.panel-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.panel-title {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 14px;
}

.mini-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  background: transparent;
  color: inherit;
  font-family: var(--body);
  text-align: left;
  cursor: pointer;
}
.mini-row:last-child { border-bottom: 0; }
.mini-row:hover b { color: var(--accent); }
.mini-row b { display: block; font-size: 0.97rem; color: var(--text); }
.mini-row small { display: block; margin-top: 3px; font-size: 0.8rem; color: var(--muted); }
.mini-when { margin-left: auto; font-size: 0.78rem; font-weight: 600; color: var(--dim); white-space: nowrap; }
.muted-line { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* --------------------------------------------------------------- chips -- */

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chips button {
  padding: 9px 17px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: transparent;
  color: var(--muted);
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.16s, border-color 0.16s, background 0.16s;
}
.chips button:hover { color: var(--text); border-color: var(--dim); }
.chips button[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.list-toolbar { margin-bottom: 20px; }
.list-toolbar input { max-width: 420px; }

/* --------------------------------------------------------------- leads -- */

.lead-list { display: grid; gap: 16px; }
.lead-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(18px, 3vw, 26px);
}
.lead-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}
.lead-name { font-size: 1.5rem; margin: 0; }
.lead-date { display: block; margin-top: 4px; font-size: 0.8rem; font-weight: 600; color: var(--dim); }

.lead-status-pill, .chip-status {
  flex: none;
  padding: 5px 13px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.lead-status-pill.s-new { background: var(--accent-dim); border-color: var(--accent); color: var(--accent); }
.lead-status-pill.s-contacted { border-color: #7c93c9; color: #a7bbe6; }
.lead-status-pill.s-booked { border-color: #d8b45f; color: #e6cd8c; }
.lead-status-pill.s-client { background: rgba(77,227,138,.18); border-color: var(--accent); color: var(--text); }
.lead-status-pill.s-closed { color: var(--dim); }

.chip-status.c-active { background: var(--accent-dim); border-color: var(--accent); color: var(--accent); }
.chip-status.c-prospect { border-color: #7c93c9; color: #a7bbe6; }
.chip-status.c-paused { border-color: #d8b45f; color: #e6cd8c; }
.chip-status.c-former { color: var(--dim); }
.chip-status.s-scheduled { border-color: #7c93c9; color: #a7bbe6; }
.chip-status.s-completed { background: var(--accent-dim); border-color: var(--accent); color: var(--accent); }
.chip-status.s-no_show { border-color: #d4715f; color: #f0b9ad; }
.chip-status.s-cancelled { color: var(--dim); }

.lead-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 18px; }
.lead-btn {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: transparent;
  color: var(--text);
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.16s, color 0.16s;
}
.lead-btn:hover { border-color: var(--accent); color: var(--accent); }

.lead-facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 7px 18px;
  margin: 0 0 16px;
  font-size: 0.9rem;
}
.lead-facts dt { color: var(--dim); white-space: nowrap; }
.lead-facts dd { margin: 0; color: var(--text); font-weight: 600; }

.lead-facts-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--dim);
}
.lead-message {
  padding: 15px 17px;
  margin-bottom: 18px;
  background: var(--panel);
  border-radius: var(--radius-sm);
}
.lead-message p { color: var(--text); font-size: 0.93rem; margin: 0; }

.lead-manage {
  display: grid;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.lead-manage .field { margin-bottom: 0; }
.lead-manage label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--dim);
}
.lead-manage textarea { min-height: 78px; font-size: 0.94rem; }
.lead-save-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.lead-save-row .lead-delete { margin-left: auto; }
.lead-saved { font-size: 0.83rem; font-weight: 700; color: var(--accent); }

@media (min-width: 760px) {
  .lead-manage { grid-template-columns: 200px 1fr; align-items: start; }
  .lead-save-row { grid-column: 1 / -1; }
}

/* ------------------------------------------------------------- clients -- */

.card-grid { display: grid; gap: 14px; }
@media (min-width: 700px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

.client-card {
  display: block;
  width: 100%;
  padding: 20px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--body);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.16s, transform 0.16s;
}
.client-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.client-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.client-name { font-size: 1.2rem; margin: 0; color: var(--text); }
.client-contact { font-size: 0.86rem; color: var(--muted); margin: 0 0 14px; }
.client-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.79rem; color: var(--dim); font-weight: 600; }
.client-meta .is-next { color: var(--accent); }

/* ------------------------------------------------------------ sessions -- */

.session-list { display: grid; gap: 10px; }
.session-row {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--body);
  text-align: left;
  color: inherit;
}
button.session-row { cursor: pointer; transition: border-color 0.16s; }
button.session-row:hover { border-color: var(--accent); }
.session-when { flex: none; width: 108px; }
.session-when b { display: block; font-size: 0.93rem; color: var(--text); }
.session-when small { display: block; margin-top: 2px; font-size: 0.78rem; color: var(--accent); font-weight: 700; }
.session-what { flex: 1; min-width: 0; }
.session-what b { display: block; font-size: 0.95rem; color: var(--text); }
.session-what small { display: block; margin-top: 2px; font-size: 0.79rem; color: var(--muted); }
.session-row .chip-status { margin-left: auto; }
.session-list.compact .session-row { padding: 12px 14px; }

@media (max-width: 620px) {
  .session-row { flex-wrap: wrap; gap: 8px 12px; }
  .session-when { width: auto; }
  .session-row .chip-status { margin-left: 0; }
  .session-edit { margin-left: auto; }
}

/* -------------------------------------------------------------- modals -- */

.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 18px; }
/* `display` would otherwise beat the hidden attribute, leaving an invisible
   overlay swallowing every click on the page. */
.modal[hidden] { display: none; }
.modal-back { position: absolute; inset: 0; background: rgba(6, 14, 10, 0.72); backdrop-filter: blur(3px); }
.modal-card {
  position: relative;
  width: 100%;
  max-width: 660px;
  max-height: 88vh;
  max-height: 88dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}
.modal-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line-soft);
}
.modal-head h2 { font-size: 1.5rem; margin: 0; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.modal-body { padding: 22px; overflow-y: auto; }
.modal-body .lead-facts { margin-bottom: 20px; }

.form-row { display: grid; gap: 0 16px; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }

.check-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}
.check-line input { width: 19px; height: 19px; accent-color: var(--accent); }

.modal-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}
.modal-foot .btn.danger, .modal-foot .btn-ghost { margin-left: auto; }
.modal-error { margin-bottom: 18px; }

.detail-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; }
.detail-contact { display: flex; flex-wrap: wrap; gap: 8px; }
.detail-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 26px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.detail-section-head h3 { font-size: 1rem; letter-spacing: 0.06em; margin: 0; flex: 1; }
.detail-section-head .btn { flex: none; }

.log-add { display: grid; gap: 10px; justify-items: start; margin-bottom: 18px; }
.log-add textarea { width: 100%; min-height: 62px; }
.log-list { display: grid; gap: 10px; }
.log-item { padding: 13px 15px; background: var(--panel); border-radius: var(--radius-sm); }
.log-top { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.log-top time { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--dim); }
.log-top .icon-btn { margin-left: auto; width: 30px; height: 30px; }
.log-top .icon-btn .ico { width: 15px; height: 15px; }
.log-item p { margin: 0; font-size: 0.92rem; color: var(--text); overflow-wrap: anywhere; }
