/* ============================================================================
 *  components.css — buttons, links, pills, stars, service menu, review
 *  quotes, form fields. All consume tokens.css.
 * ========================================================================== */

/* ---- Buttons ----------------------------------------------------------- */
.btn {
  --_bg: var(--plum);
  --_fg: var(--accent-text);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  font-family: var(--font); font-size: var(--step-0); font-weight: 600; line-height: 1;
  padding: 0.95em 1.5em; border-radius: var(--r-pill); border: 1.5px solid transparent;
  background: var(--_bg); color: var(--_fg); cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-plum); color: var(--_fg); }
.btn:active { transform: translateY(0); }
.btn--lg { font-size: var(--step-1); padding: 1.05em 1.85em; }
.btn svg { width: 1.05em; height: 1.05em; }

.btn--ghost {
  --_bg: transparent; --_fg: var(--plum-700);
  border-color: var(--plum-200);
}
.btn--ghost:hover { --_fg: var(--plum); background: var(--plum-100); box-shadow: none; }

/* On dark plum panels */
.btn--cream { --_bg: var(--canvas); --_fg: var(--plum-deep); }
.btn--cream:hover { --_bg: #fff; box-shadow: 0 14px 34px oklch(0% 0 0 / 0.28); }
.btn--ghost-dark {
  --_bg: transparent; --_fg: var(--on-dark);
  border-color: oklch(80% 0.05 75 / 0.55);
}
.btn--ghost-dark:hover { --_fg: #fff; background: oklch(100% 0 0 / 0.08); box-shadow: none; }

/* ---- Arrow link -------------------------------------------------------- */
.arrow-link {
  display: inline-flex; align-items: center; gap: 0.45em;
  font-weight: 600; color: var(--plum-700); text-decoration: none;
}
.arrow-link::after { content: "\2192"; transition: transform var(--dur) var(--ease); }
.arrow-link:hover { color: var(--plum); }
.arrow-link:hover::after { transform: translateX(4px); }

/* ---- Pills / labels ---------------------------------------------------- */
.pill {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-size: var(--step--1); font-weight: 600; letter-spacing: 0.01em;
  padding: 0.4em 0.85em; border-radius: var(--r-pill);
  background: var(--plum-100); color: var(--plum-700); border: 1px solid var(--plum-200);
}

/* ---- Stars ------------------------------------------------------------- */
.stars { display: inline-flex; gap: 0.12em; color: var(--star); }
.stars svg { width: 1.05em; height: 1.05em; fill: currentColor; }
.stars--lg svg { width: 1.3em; height: 1.3em; }

/* ---- Service menu (editorial, not cards) ------------------------------- */
.menu__cols {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2xl) var(--space-2xl);
}
@media (max-width: 760px) { .menu__cols { grid-template-columns: 1fr; gap: var(--space-xl); } }

.menu-group__title {
  display: flex; align-items: baseline; gap: 0.75em;
  font-family: var(--font-display); font-weight: 600; font-size: var(--step-2);
  color: var(--ink-1); margin-bottom: var(--space-s);
}
.menu-group__title::after {
  content: ""; flex: 1; height: 1px; background: var(--line-strong);
  transform: translateY(-0.18em);
}
.menu-item { padding-block: var(--space-xs); border-bottom: 1px solid var(--line); }
.menu-item:last-child { border-bottom: 0; }
.menu-item__name { font-weight: 600; color: var(--ink-1); font-size: var(--step-1); }
.menu-item__desc { color: var(--muted); font-size: var(--step-0); margin-top: 0.15em; }

.menu__note {
  margin-top: var(--space-xl); padding: var(--space-m) var(--space-l);
  background: var(--blush); border: 1px solid var(--blush-deep); border-radius: var(--r-lg);
  color: color-mix(in oklab, var(--ink-1) 78%, var(--canvas)); font-size: var(--step-0);
}
.menu__note strong { color: var(--ink-1); }

/* ---- Review quotes ----------------------------------------------------- */
.reviews__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-l);
}
@media (max-width: 900px) { .reviews__grid { grid-template-columns: 1fr; max-width: 38rem; margin-inline: auto; } }

.quote {
  display: flex; flex-direction: column; gap: var(--space-s);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: var(--space-l); box-shadow: var(--shadow-1);
}
.quote__stars { color: var(--star); }
.quote__text { font-size: var(--step-1); line-height: 1.5; color: var(--ink-1); font-style: italic; }
.quote__text::before { content: "\201C"; }
.quote__text::after { content: "\201D"; }
.quote__cite {
  display: flex; align-items: center; gap: 0.75em; margin-top: auto; font-style: normal;
}
.quote__avatar {
  flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700;
  font-size: var(--step-0); color: var(--accent-text);
  background: linear-gradient(140deg, var(--plum) 0%, var(--plum-deep) 100%);
}
.quote__name { font-weight: 600; color: var(--ink-1); }
.quote__src  { font-size: var(--step--1); color: var(--muted); }

/* ---- Form fields ------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 0.4em; }
.field__label { font-weight: 600; font-size: var(--step--1); letter-spacing: 0.01em; color: var(--ink-1); }
.field__req { color: var(--plum-700); }
.input, .select, .textarea {
  font: inherit; color: var(--ink-1); background: var(--surface);
  border: 1.5px solid var(--line-strong); border-radius: var(--r);
  padding: 0.8em 0.95em; width: 100%; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--plum);
  box-shadow: 0 0 0 3px oklch(38% 0.105 350 / 0.16);
}
.textarea { resize: vertical; min-height: 6.5em; }
.select { appearance: none; background-image:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%235a3a52' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1em center; background-size: 0.8em; padding-right: 2.5em; }
.check { display: flex; align-items: flex-start; gap: 0.6em; font-size: var(--step--1); color: var(--muted); }
.check input { margin-top: 0.2em; accent-color: var(--plum); }
