/* ============================================================================
 *  components.css — buttons, nav, service menu, quotes, fields, ratings.
 * ========================================================================== */

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  --_bg: var(--clay); --_fg: var(--accent-text);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 0.85em 1.5em; font-family: var(--font); font-size: var(--step-0); font-weight: 600;
  line-height: 1; color: var(--_fg); background: var(--_bg); border: 1.5px solid transparent;
  border-radius: var(--r-pill); 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);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-clay); color: var(--_fg); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: 0.55; cursor: default; transform: none; box-shadow: none; }
.btn--lg { padding: 1.02em 1.8em; font-size: var(--step-1); }
.btn--ghost { --_bg: transparent; --_fg: var(--espresso); border-color: var(--line-strong); }
.btn--ghost:hover { --_bg: var(--surface); box-shadow: var(--shadow-1); border-color: var(--clay-300); color: var(--espresso); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

.arrow-link { display: inline-flex; align-items: center; gap: 0.45em; font-weight: 600; text-decoration: none; color: var(--clay-700); }
.arrow-link svg { width: 1em; height: 1em; transition: transform var(--dur) var(--ease); }
.arrow-link:hover svg { transform: translateX(4px); }

/* ---- Pills / stars ------------------------------------------------------ */
.pill {
  display: inline-flex; align-items: center; gap: 0.5em; padding: 0.4em 0.85em;
  font-size: var(--step--1); font-weight: 500; background: var(--surface); color: var(--espresso);
  border: 1px solid var(--line); border-radius: var(--r-pill);
}
.pill svg { width: 1em; height: 1em; color: var(--clay-700); }
.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars svg { width: 1.05em; height: 1.05em; }

/* ---- Service menu ------------------------------------------------------- */
.menu-group { break-inside: avoid; }
.menu-group + .menu-group { margin-top: var(--space-l); }
.menu-group__title {
  font-family: var(--font); font-size: var(--step--1); font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--clay-700); margin-bottom: var(--space-2xs);
  display: flex; align-items: center; gap: 0.6em;
}
.menu-group__title::before { content: ""; width: 1.4rem; height: 2px; background: var(--brass); border-radius: 2px; }
.menu-item { padding-block: var(--space-s); border-top: 1px solid var(--line); }
.menu-item__name { font-family: var(--font-display); font-size: var(--step-2); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
.menu-item__desc { color: var(--muted); font-size: var(--step-0); margin-top: 0.15em; max-width: 46ch; }

/* ---- Quote / review ----------------------------------------------------- */
.quote {
  display: flex; flex-direction: column; gap: var(--space-s);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--space-l); box-shadow: var(--shadow-1);
}
.quote__text {
  font-family: var(--font-display); font-weight: 500; font-size: var(--step-1); line-height: 1.4;
  letter-spacing: -0.01em; color: color-mix(in oklab, var(--espresso) 92%, var(--oat));
}
.quote__foot { margin-top: auto; display: flex; align-items: center; gap: 0.8em; }
.quote__avatar {
  width: 2.5rem; height: 2.5rem; flex: none; display: grid; place-items: center; border-radius: 50%;
  background: var(--clay-100); color: var(--clay-700); font-weight: 700; font-size: var(--step-0);
}
.quote__who { font-weight: 600; font-size: var(--step-0); line-height: 1.2; }
.quote__src { font-size: var(--step--1); color: var(--muted); }

/* ---- Form fields -------------------------------------------------------- */
.field { display: grid; gap: 0.45em; }
.field > label { font-size: var(--step--1); font-weight: 600; }
.field .req { color: var(--clay-700); }
.input, .textarea, .select {
  width: 100%; padding: 0.8em 0.95em; font: inherit; color: var(--espresso);
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.input::placeholder, .textarea::placeholder { color: color-mix(in oklab, var(--muted) 80%, transparent); }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--clay); box-shadow: 0 0 0 3px var(--clay-100); }
.textarea { min-height: 120px; resize: vertical; }
.check { display: flex; align-items: flex-start; gap: 0.6em; font-size: var(--step--1); color: var(--muted); }
.check input { margin-top: 0.18em; accent-color: var(--clay); width: 1.05em; height: 1.05em; flex: none; }

.rule { height: 1px; background: var(--line); border: 0; }
