/* ============ Whitfield & Marsh — Bankruptcy Law ============ */
:root {
  --ink: #14213d;
  --ink-2: #26365c;
  --paper: #faf7f2;
  --paper-2: #f2ede4;
  --card: #ffffff;
  --line: #e4ddd0;
  --text: #2b2f38;
  --muted: #6b6f78;
  --gold: #b8893b;
  --gold-2: #d4a85a;
  --sage: #4f6f62;
  --sage-soft: #e3ece7;
  --danger: #a8402f;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 33, 61, .06), 0 8px 28px rgba(20, 33, 61, .08);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: .8rem;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.section { padding: 96px 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.4rem; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 .98rem var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-2); box-shadow: 0 6px 18px rgba(20, 33, 61, .25); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #a37630; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-sm { padding: .5rem 1rem; font-size: .88rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--danger); cursor: pointer; text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, .88); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.topbar { background: var(--ink); color: #cfd6e6; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 1rem; padding: 7px 0; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 10px; background: var(--ink); color: var(--gold-2);
  display: grid; place-items: center; font: 600 1.1rem var(--serif);
}
.brand-name { font: 600 1.15rem var(--serif); color: var(--ink); line-height: 1.1; }
.brand-name small { display: block; font: 500 .72rem var(--sans); color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--text); font-weight: 500; font-size: .96rem; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--gold); }
.nav-links .btn { color: #fff; text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.user-chip { display: inline-flex; align-items: center; gap: .5rem; }
.avatar {
  width: 32px; height: 32px; border-radius: 50%; background: var(--sage); color: #fff;
  display: grid; place-items: center; font-size: .8rem; font-weight: 700;
}

@media (max-width: 900px) {
  .topbar .hide-sm { display: none; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 16px 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border: 0; padding-top: 12px; }
  .nav-links a { display: block; padding: 12px 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: auto -10% -40% auto; width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(184, 137, 59, .16), transparent 65%); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--sage); font-weight: 500; }
.hero .lead { margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.4rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: 2rem; }
.trust-row div { font-size: .9rem; color: var(--muted); }
.trust-row strong { display: block; font: 600 1.7rem var(--serif); color: var(--ink); }

.hero-card {
  background: var(--card); border-radius: 20px; box-shadow: var(--shadow); padding: 30px;
  border: 1px solid var(--line); position: relative;
}
.hero-card::after {
  content: ""; position: absolute; inset: 14px -14px -14px 14px; border-radius: 20px;
  border: 1.5px solid var(--gold); z-index: -1; opacity: .45;
}
.hero-card .badge { display: inline-flex; align-items: center; gap: .4rem; background: var(--sage-soft); color: var(--sage); font-size: .8rem; font-weight: 700; padding: .3rem .7rem; border-radius: 999px; margin-bottom: 1rem; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 0 rgba(79, 111, 98, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(79, 111, 98, 0); } 100% { box-shadow: 0 0 0 0 rgba(79, 111, 98, 0); } }
.next-slot { font: 600 1.5rem var(--serif); color: var(--ink); margin: .2rem 0 1.2rem; }
.mini-slots { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.mini-slots a { font-size: .85rem; padding: .4rem .75rem; border-radius: 8px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.mini-slots a:hover { border-color: var(--gold); background: #fffaf0; }
.check-list { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .5rem; font-size: .95rem; }
.check-list li { display: flex; gap: .6rem; }
.check-list li::before { content: "✓"; color: var(--sage); font-weight: 800; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-card::after { display: none; }
}

/* ---------- Relief strip ---------- */
.strip { background: var(--ink); color: #dfe4ef; padding: 26px 0; }
.strip .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; font-weight: 500; }
.strip span::before { content: "◆"; color: var(--gold-2); margin-right: .6rem; font-size: .7rem; vertical-align: 2px; }

/* ---------- Chapters comparison ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.chapter {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px;
  box-shadow: var(--shadow);
}
.chapter-num { font: 500 3.6rem/1 var(--serif); color: var(--gold); margin-bottom: .4rem; }
.chapter .tag { font-size: .8rem; font-weight: 700; color: var(--sage); text-transform: uppercase; letter-spacing: .1em; }
.chapter dl { display: grid; grid-template-columns: auto 1fr; gap: .55rem 1.2rem; margin: 1.4rem 0 0; font-size: .95rem; }
.chapter dt { color: var(--muted); }
.chapter dd { margin: 0; font-weight: 600; color: var(--ink); }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } .chapter { padding: 26px; } }

/* ---------- Practice areas ---------- */
.alt { background: var(--paper-2); }
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.area {
  background: var(--card); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.area:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.area .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--sage-soft); color: var(--sage); display: grid; place-items: center; margin-bottom: 1rem; }
.area p { color: var(--muted); font-size: .96rem; margin: 0; }
@media (max-width: 900px) { .areas { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .areas { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding-top: 64px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0; font: 500 2.6rem/1 var(--serif); color: var(--gold);
}
.step::after { content: ""; position: absolute; top: 22px; left: 72px; right: -14px; height: 1px; background: var(--line); }
.step:last-child::after { display: none; }
.step p { color: var(--muted); font-size: .96rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .step::after { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.person { background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.portrait {
  aspect-ratio: 4 / 3; display: grid; place-items: center; font: 500 3.4rem var(--serif); color: #fff;
  background: linear-gradient(135deg, var(--ink), var(--ink-2));
  position: relative;
}
.portrait.sage { background: linear-gradient(135deg, #3e5b4f, var(--sage)); }
.portrait.gold { background: linear-gradient(135deg, #8d672a, var(--gold)); }
.person-body { padding: 24px; }
.person-body .role { color: var(--gold); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .6rem; }
.person-body p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 900px) { .team { grid-template-columns: 1fr; max-width: 520px; } }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote { background: var(--ink); color: #e5e9f2; border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.quote blockquote { margin: 0 0 1.4rem; font: 400 1.12rem/1.55 var(--serif); flex: 1; }
.quote blockquote::before { content: "“"; display: block; font-size: 3.5rem; line-height: .6; color: var(--gold-2); margin-bottom: .6rem; }
.quote cite { font-style: normal; font-weight: 600; color: #fff; font-size: .92rem; }
.quote cite span { display: block; color: #9aa5bf; font-weight: 400; }
.stars { color: var(--gold-2); letter-spacing: 2px; margin-bottom: .6rem; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative;
  font: 600 1.12rem var(--serif); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font: 300 1.8rem var(--sans); color: var(--gold); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-right: 40px; }

/* ---------- CTA + Contact ---------- */
.cta {
  background: linear-gradient(120deg, var(--ink) 0%, #1d2f55 60%, #2c3f63 100%); color: #dfe4ef;
  border-radius: 24px; padding: 60px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center;
}
.cta h2 { color: #fff; }
.cta-actions { display: flex; flex-direction: column; gap: .8rem; }
@media (max-width: 800px) { .cta { grid-template-columns: 1fr; padding: 36px 24px; } }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; }
.contact-info { display: grid; gap: 1.4rem; align-content: start; }
.contact-info h4 { font: 700 .8rem var(--sans); text-transform: uppercase; letter-spacing: .12em; color: var(--gold); margin-bottom: .3rem; }
.contact-info p { margin: 0; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: #fff;
  border: 1.5px solid var(--line); border-radius: 10px; padding: .75rem .9rem; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(20, 33, 61, .08); }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: .3rem; }
.checkbox { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.checkbox input { margin-top: .3rem; accent-color: var(--ink); }
.form-msg { font-size: .92rem; padding: .7rem .9rem; border-radius: 10px; display: none; }
.form-msg.error { display: block; background: #fbecea; color: var(--danger); }
.form-msg.success { display: block; background: var(--sage-soft); color: var(--sage); }

.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label {
  border: 1.5px solid var(--line); border-radius: 10px; padding: .65rem .5rem; text-align: center;
  cursor: pointer; font-weight: 600; font-size: .9rem; margin: 0; transition: all .15s;
}
.segmented input:checked + label { border-color: var(--ink); background: var(--ink); color: #fff; }
.segmented input:focus-visible + label { box-shadow: 0 0 0 4px rgba(20, 33, 61, .15); }

/* ---------- Page header ---------- */
.page-hero { padding: 56px 0 40px; }
.page-hero .lead { margin-bottom: 0; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--muted); }

/* ---------- Booking ---------- */
.booking { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; padding-bottom: 96px; }
@media (max-width: 960px) { .booking { grid-template-columns: 1fr; } .sticky { position: static; } }

.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.cal-head h3 { margin: 0; font-size: 1.45rem; }
.cal-nav { display: flex; gap: .4rem; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff;
  display: grid; place-items: center; cursor: pointer; color: var(--ink); transition: border-color .15s;
}
.icon-btn:hover:not([disabled]) { border-color: var(--ink); }
.icon-btn[disabled] { opacity: .35; cursor: not-allowed; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-dow { text-align: center; font-size: .75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; padding: 6px 0; }
.cal-day {
  aspect-ratio: 1 / 1; border-radius: 12px; border: 1.5px solid transparent; background: var(--paper);
  font: 600 1rem var(--sans); color: var(--ink); cursor: pointer; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  transition: all .15s; padding: 0;
}
.cal-day .count { font-size: .68rem; font-weight: 600; color: var(--sage); }
.cal-day:hover:not([disabled]) { border-color: var(--gold); background: #fffaf0; }
.cal-day[disabled] { background: transparent; color: #c2c0bb; cursor: default; }
.cal-day[disabled] .count { display: none; }
.cal-day.few .count { color: var(--gold); }
.cal-day.today::after { content: ""; position: absolute; bottom: 6px; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.cal-day.selected { background: var(--ink); color: #fff; border-color: var(--ink); }
.cal-day.selected .count { color: var(--gold-2); }
.cal-day.empty { visibility: hidden; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.2rem; font-size: .82rem; color: var(--muted); }
.cal-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: .4rem; vertical-align: -1px; }
@media (max-width: 480px) {
  .card { padding: 20px; }
  .cal-grid { gap: 3px; }
  .cal-day { border-radius: 8px; font-size: .9rem; }
  .cal-day .count { font-size: .58rem; }
}

.slots-title { font-size: 1.1rem; margin-bottom: .2rem; }
.slots-sub { color: var(--muted); font-size: .9rem; margin-bottom: 1.2rem; }
.slot-group { margin-bottom: 1.2rem; }
.slot-group h4 { font: 700 .75rem var(--sans); color: var(--muted); text-transform: uppercase; letter-spacing: .12em; margin-bottom: .6rem; }
.slot-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .5rem; }
.slot {
  padding: .6rem .4rem; border-radius: 10px; border: 1.5px solid var(--line); background: #fff;
  font: 600 .92rem var(--sans); color: var(--ink); cursor: pointer; transition: all .15s;
}
.slot:hover:not([disabled]) { border-color: var(--ink); }
.slot.selected { background: var(--ink); color: #fff; border-color: var(--ink); }
.slot[disabled] { color: #bdbab3; text-decoration: line-through; background: var(--paper); cursor: not-allowed; }
.empty-state { text-align: center; color: var(--muted); padding: 34px 10px; }
.empty-state svg { margin: 0 auto 12px; color: var(--gold); }

.summary { background: var(--paper); border-radius: 12px; padding: 16px 18px; margin-bottom: 1.2rem; display: flex; gap: 14px; align-items: center; }
.summary .date-badge { background: var(--ink); color: #fff; border-radius: 10px; padding: 8px 12px; text-align: center; min-width: 62px; }
.summary .date-badge b { display: block; font: 600 1.5rem/1 var(--serif); }
.summary .date-badge span { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-2); }
.summary strong { color: var(--ink); display: block; }
.summary small { color: var(--muted); }
.sticky { position: sticky; top: 96px; }
.booking-side { display: grid; gap: 20px; }

.auth-gate { text-align: center; padding: 10px 0; }
.auth-gate p { color: var(--muted); }
.auth-gate .btns { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }

.success-box { text-align: center; padding: 20px 0; }
.success-icon { width: 68px; height: 68px; border-radius: 50%; background: var(--sage-soft); color: var(--sage); display: grid; place-items: center; margin: 0 auto 16px; }

/* ---------- Account ---------- */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; padding-bottom: 96px; }
@media (max-width: 860px) { .auth-wrap { grid-template-columns: 1fr; } }
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper-2); border-radius: 999px; padding: 4px; margin-bottom: 1.6rem; }
.tabs button { border: 0; background: transparent; padding: .7rem; border-radius: 999px; font: 600 .95rem var(--sans); color: var(--muted); cursor: pointer; }
.tabs button.active { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .08); }
.perks { display: grid; gap: 1.2rem; }
.perk { display: flex; gap: 1rem; }
.perk .icon { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); color: var(--gold); display: grid; place-items: center; }
.perk h4 { font-family: var(--sans); font-size: 1rem; margin-bottom: .15rem; }
.perk p { margin: 0; color: var(--muted); font-size: .94rem; }

.dash { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; padding-bottom: 96px; }
@media (max-width: 860px) { .dash { grid-template-columns: 1fr; } }
.profile { text-align: center; }
.profile .avatar { width: 72px; height: 72px; font-size: 1.5rem; margin: 0 auto 12px; }
.profile dl { text-align: left; margin: 1.2rem 0; display: grid; gap: .7rem; font-size: .92rem; }
.profile dt { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.profile dd { margin: 0; color: var(--ink); font-weight: 600; word-break: break-word; }
.appt-list { display: grid; gap: 12px; }
.appt {
  display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center;
  padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
}
.appt.past, .appt.cancelled { opacity: .62; }
.appt h4 { font-family: var(--sans); font-size: 1rem; margin: 0 0 .15rem; }
.appt p { margin: 0; color: var(--muted); font-size: .9rem; }
.pill { display: inline-block; font-size: .72rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }
.pill.booked { background: var(--sage-soft); color: var(--sage); }
.pill.cancelled { background: #fbecea; color: var(--danger); }
.pill.past { background: var(--paper-2); color: var(--muted); }
@media (max-width: 560px) { .appt { grid-template-columns: auto 1fr; } .appt .appt-actions { grid-column: 1 / -1; } }
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.dash-head h3 { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #0f1930; color: #a9b3c9; padding: 64px 0 28px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.site-footer h5 { color: #fff; font: 700 .78rem var(--sans); text-transform: uppercase; letter-spacing: .12em; margin: 0 0 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer a { color: #d5dbe8; text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name small { color: #8893ad; }
.legal { border-top: 1px solid #22304f; padding-top: 22px; font-size: .8rem; color: #7d88a3; display: grid; gap: .5rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); z-index: 100;
  background: var(--ink); color: #fff; padding: .85rem 1.3rem; border-radius: 12px; box-shadow: var(--shadow);
  font-weight: 500; transition: transform .3s ease; max-width: calc(100% - 32px);
}
.toast.show { transform: translate(-50%, 0); }

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