/* ==========================================================================
   HiQ Nails & Spa — theme stylesheet
   Palette and type scale come straight from the design canvas (Antique gold).
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------- */

:root {
  /* Brand */
  --hq-cta: #9A6A1E;
  --hq-cta-hover: #7E551A;
  --hq-cta-press: #63410F;
  --hq-gold: #C9992F;
  --hq-gold-light: #E8C77A;
  --hq-gold-wash: #F3E7CE;
  --hq-gold-subdued: #F0E3C6;
  --hq-ruby: #B0503F;

  /* Ink */
  --hq-ink: #2A2117;
  --hq-ink-2: #5A4C3C;
  --hq-ink-3: #8A7A67;

  /* Surfaces */
  --hq-canvas: #FFFDFA;
  --hq-canvas-soft: #FAF5EC;
  --hq-canvas-cream: #F4E9D4;
  --hq-dark: #2A2117;

  /* Lines */
  --hq-hairline: #EADFCB;
  --hq-hairline-input: #CDBFA7;

  /* Effects */
  --hq-focus-ring: 0 0 0 3px rgba(154, 106, 30, .24);
  --hq-shadow-card: rgba(60, 40, 10, .08) 0 1px 3px;
  --hq-shadow-float: rgba(60, 40, 10, .10) 0 8px 24px;

  /* Metrics */
  --hq-wrap: 1240px;
  --hq-gutter: 32px;
  --hq-radius: 12px;
  --hq-section-y: clamp(56px, 7vw, 88px);

  --hq-font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
             "Helvetica Neue", Arial, sans-serif;
}

/* --- Base --------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Anchor jumps on the service page must clear the sticky header. */
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  background: var(--hq-canvas);
  color: var(--hq-ink);
  font-family: var(--hq-font);
  font-weight: 300;
  font-feature-settings: "ss01";
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--hq-cta); text-decoration: none; }
a:hover { color: var(--hq-cta-hover); }

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

h1, h2, h3, h4 { font-weight: 300; color: var(--hq-ink); margin: 0; text-wrap: pretty; }
p { margin: 0; }

::selection { background: var(--hq-gold-subdued); color: var(--hq-ink); }

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: none;
  box-shadow: var(--hq-focus-ring);
  border-radius: 4px;
}

.hq-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--hq-ink);
  color: var(--hq-canvas);
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
  font-size: 14px;
}
.hq-skip-link:focus {
  left: 0;
  color: var(--hq-canvas);
}

.hq-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@keyframes hqUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes hqIn { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* --- Layout primitives -------------------------------------------------- */

.hq-wrap {
  max-width: var(--hq-wrap);
  margin: 0 auto;
  padding-inline: var(--hq-gutter);
  width: 100%;
}

.hq-section { padding-block: var(--hq-section-y); }
.hq-section--top { padding-block: var(--hq-section-y) 0; }

.hq-band { background: var(--hq-canvas-cream); border-block: 1px solid var(--hq-hairline); }
.hq-band--soft { background: var(--hq-canvas-soft); border-block: 1px solid var(--hq-hairline); }
.hq-band--dark { background: var(--hq-dark); color: var(--hq-canvas); }

.hq-grid { display: grid; gap: 20px; }
.hq-grid--auto210 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.hq-grid--auto280 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.hq-grid--auto300 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.hq-grid--auto330 { grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: clamp(32px, 4vw, 56px); }

/* --- Typography --------------------------------------------------------- */

.hq-eyebrow {
  font-size: 12px;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: var(--hq-cta);
}

.hq-eyebrow--sm {
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--hq-cta);
}

.hq-h1 {
  font-size: clamp(38px, 4.6vw, 66px);
  letter-spacing: -2.1px;
  line-height: 1.03;
}

.hq-h2 {
  font-size: clamp(30px, 3.3vw, 46px);
  letter-spacing: -1.4px;
  line-height: 1.1;
}

.hq-h3 {
  font-size: clamp(23px, 2.2vw, 30px);
  letter-spacing: -0.9px;
  line-height: 1.2;
}

.hq-lede {
  font-size: 18px;
  line-height: 1.65;
  color: var(--hq-ink-2);
  max-width: 600px;
}

.hq-body { font-size: 14px; line-height: 1.65; color: var(--hq-ink-2); }
.hq-body--lg { font-size: 15px; line-height: 1.75; color: var(--hq-ink-2); }

.hq-num { font-variant-numeric: tabular-nums; }

/* --- Buttons ------------------------------------------------------------ */

.hq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 9999px;
  background: var(--hq-cta);
  color: var(--hq-canvas);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 400;
  letter-spacing: -0.1px;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}
.hq-btn:hover { background: var(--hq-cta-hover); color: var(--hq-canvas); }
.hq-btn:active { background: var(--hq-cta-press); }

.hq-btn--secondary {
  background: var(--hq-canvas);
  color: var(--hq-ink);
  border-color: var(--hq-hairline);
}
.hq-btn--secondary:hover {
  background: var(--hq-canvas);
  color: var(--hq-cta);
  border-color: var(--hq-gold);
}

.hq-btn--on-dark {
  background: var(--hq-canvas);
  color: var(--hq-ink);
}
.hq-btn--on-dark:hover { background: var(--hq-gold-wash); color: var(--hq-ink); }

.hq-btn--ghost-on-dark {
  background: transparent;
  color: var(--hq-canvas);
  border-color: rgba(255, 253, 250, .38);
}
.hq-btn--ghost-on-dark:hover {
  background: transparent;
  color: var(--hq-gold-light);
  border-color: var(--hq-gold-light);
}

.hq-btn--sm { min-height: 38px; padding: 8px 18px; font-size: 13.5px; }

.hq-link-arrow {
  font-size: 14px;
  letter-spacing: .2px;
  border-bottom: 1px solid var(--hq-gold);
  padding-bottom: 3px;
  white-space: nowrap;
}

/* --- Cards and chips ---------------------------------------------------- */

.hq-card {
  background: var(--hq-canvas);
  border: 1px solid var(--hq-hairline);
  border-radius: var(--hq-radius);
  padding: 30px 26px;
}
.hq-card--lg { padding: clamp(30px, 3.4vw, 44px); }
.hq-card--dark { background: var(--hq-dark); color: var(--hq-canvas); border-color: transparent; }

a.hq-card { display: block; transition: border-color 120ms ease, box-shadow 120ms ease; }
a.hq-card:hover { border-color: var(--hq-gold); box-shadow: var(--hq-shadow-card); }

.hq-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--hq-cta-hover);
  background: var(--hq-gold-subdued);
  border-radius: 9999px;
  padding: 5px 11px;
}

.hq-tag-row { display: flex; flex-wrap: wrap; gap: 7px; }

.hq-icon-circle {
  width: 38px; height: 38px;
  border-radius: 9999px;
  background: var(--hq-gold-wash);
  color: var(--hq-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.hq-stat-value {
  font-size: 26px;
  letter-spacing: -0.8px;
  color: var(--hq-ink);
}
.hq-stat-label {
  font-size: 12px;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--hq-ink-3);
  margin-top: 4px;
}

.hq-stars { display: inline-flex; gap: 2px; color: var(--hq-gold); }

/* --- Header ------------------------------------------------------------- */

.hq-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 253, 250, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hq-hairline);
}

.hq-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--hq-wrap);
  margin: 0 auto;
  padding: 14px var(--hq-gutter);
}

.hq-brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.hq-brand img {
  width: 56px; height: 56px;
  object-fit: cover;
  border-radius: 8px;
  mix-blend-mode: multiply;
}
.hq-brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.hq-brand__name {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.4px;
  color: var(--hq-ink);
}
.hq-brand__tag {
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--hq-cta);
}

.hq-header__right { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }

.hq-nav { display: flex; align-items: center; gap: clamp(16px, 1.9vw, 30px); }
.hq-nav a {
  font-size: 14.5px;
  letter-spacing: -0.1px;
  padding-bottom: 3px;
  white-space: nowrap;
  color: var(--hq-ink-2);
  border-bottom: 1px solid transparent;
  transition: color 120ms ease, border-color 120ms ease;
}
.hq-nav a:hover { color: var(--hq-cta); }
.hq-nav .current-menu-item > a,
.hq-nav .current_page_item > a,
.hq-nav a[aria-current="page"] {
  color: var(--hq-cta);
  border-bottom-color: var(--hq-gold);
}

.hq-nav ul { list-style: none; margin: 0; padding: 0; display: contents; }
.hq-nav li { display: block; }

.hq-header__cta { display: flex; align-items: center; gap: 14px; }

.hq-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--hq-ink-2);
  letter-spacing: -0.1px;
  white-space: nowrap;
}
.hq-phone:hover { color: var(--hq-cta); }

/* Hamburger — hidden on desktop, the only nav control below 900px. */
.hq-burger {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--hq-hairline);
  border-radius: 9999px;
  background: var(--hq-canvas);
  color: var(--hq-ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.hq-burger span {
  display: block;
  position: relative;
  width: 18px; height: 1.5px;
  background: currentColor;
  transition: background-color 120ms ease;
}
.hq-burger span::before,
.hq-burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px; height: 1.5px;
  background: currentColor;
  transition: transform 160ms ease, top 160ms ease;
}
.hq-burger span::before { top: -6px; }
.hq-burger span::after { top: 6px; }

.hq-burger[aria-expanded="true"] span { background: transparent; }
.hq-burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.hq-burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* --- Hero (home) -------------------------------------------------------- */

.hq-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: stretch;
  background: var(--hq-canvas-soft);
  border-bottom: 1px solid var(--hq-hairline);
}

.hq-hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 70% at 8% 0%, rgba(232, 199, 122, .42), transparent 70%),
    radial-gradient(50% 60% at 42% 4%, rgba(201, 153, 47, .2), transparent 72%),
    radial-gradient(46% 52% at 76% 96%, rgba(244, 233, 212, .9), transparent 70%);
}

.hq-hero__copy {
  position: relative;
  padding: clamp(64px, 7vw, 104px) clamp(28px, 4.4vw, 64px) clamp(64px, 7vw, 104px) 0;
  max-width: 660px;
  margin-left: auto;
  width: 100%;
  animation: hqUp .6s ease both;
}
.hq-hero__copy > div { padding-left: var(--hq-gutter); }

.hq-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border-radius: 9999px;
  background: var(--hq-canvas);
  border: 1px solid var(--hq-hairline);
  margin-bottom: 28px;
}
.hq-rating-pill span:last-child {
  font-size: 12px;
  letter-spacing: .4px;
  color: var(--hq-ink-2);
  font-variant-numeric: tabular-nums;
}

.hq-hero__media { position: relative; min-height: clamp(520px, 52vw, 720px); animation: hqIn .8s ease both; }
.hq-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 46%;
}
.hq-hero__fade {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 120px;
  background: linear-gradient(90deg, var(--hq-canvas-soft), rgba(250, 245, 236, 0));
}
.hq-hero__hours {
  position: absolute;
  left: -40px;
  bottom: 56px;
  background: var(--hq-canvas);
  border: 1px solid var(--hq-hairline);
  border-radius: var(--hq-radius);
  padding: 22px 26px;
  box-shadow: var(--hq-shadow-float);
  max-width: 280px;
}

.hq-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--hq-hairline);
}

/* --- Page hero (inner pages) -------------------------------------------- */

.hq-pagehero {
  position: relative;
  background: var(--hq-canvas-soft);
  border-bottom: 1px solid var(--hq-hairline);
  padding-block: clamp(56px, 6vw, 88px);
  overflow: hidden;
}
.hq-pagehero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(46% 90% at 88% 0%, rgba(232, 199, 122, .38), transparent 70%),
    radial-gradient(40% 70% at 60% 100%, rgba(244, 233, 212, .8), transparent 72%);
}
.hq-pagehero .hq-wrap { position: relative; }
.hq-pagehero .hq-eyebrow { margin-bottom: 20px; }
.hq-pagehero h1 { margin-bottom: 20px; max-width: 15ch; }

/* --- Section headers ---------------------------------------------------- */

.hq-sechead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
}
.hq-sechead .hq-eyebrow { margin-bottom: 16px; }
.hq-sechead--center { display: block; text-align: center; }
.hq-sechead--center h2 { margin-bottom: 12px; }

/* --- Service menu ------------------------------------------------------- */

.hq-catnav {
  position: sticky;
  top: 84px;
  z-index: 40;
  background: rgba(255, 253, 250, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hq-hairline);
}
.hq-catnav__scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 14px var(--hq-gutter);
  max-width: var(--hq-wrap);
  margin: 0 auto;
  scrollbar-width: thin;
}
.hq-catnav a {
  font-size: 13px;
  border-radius: 9999px;
  /* Eleven pills have to fit one row at 1240px before the strip starts scrolling. */
  padding: 8px 14px;
  white-space: nowrap;
  border: 1px solid var(--hq-hairline);
  background: var(--hq-canvas);
  color: var(--hq-ink-2);
  transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease;
}
.hq-catnav a:hover { border-color: var(--hq-gold); color: var(--hq-cta); }

.hq-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(430px, 1fr));
  gap: clamp(32px, 4vw, 56px) clamp(32px, 4vw, 64px);
}

.hq-cat { scroll-margin-top: 150px; }
.hq-cat__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hq-hairline);
}
.hq-cat__title { font-size: 23px; letter-spacing: -0.6px; }
.hq-cat__count {
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--hq-ink-3);
  white-space: nowrap;
}
.hq-cat__note {
  font-size: 14px;
  line-height: 1.65;
  color: var(--hq-ink-3);
  margin: 14px 0 8px;
}

.hq-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--hq-hairline);
}
.hq-price-row:last-child { border-bottom: 0; }
.hq-price-row__name { font-size: 15px; color: var(--hq-ink); }
.hq-price-row__price {
  font-size: 15px;
  color: var(--hq-cta);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.42px;
  white-space: nowrap;
}

/* --- Notes / aftercare lists -------------------------------------------- */

.hq-ticklist { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.hq-ticklist li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--hq-ink-2);
}
.hq-ticklist svg { flex: 0 0 auto; margin-top: 4px; color: var(--hq-cta); }

.hq-numlist { display: flex; flex-direction: column; gap: 22px; margin: 0; padding: 0; list-style: none; }
.hq-numlist__title { font-size: 16px; color: var(--hq-ink); margin-bottom: 6px; }

/* --- Team --------------------------------------------------------------- */

.hq-team-card { overflow: hidden; padding: 0; }
.hq-team-card__photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--hq-canvas-soft);
  overflow: hidden;
}
.hq-team-card__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
  /* Source photos are phone selfies with mismatched colour; a light warm wash
     and a touch of desaturation pulls the six of them into one set. */
  filter: saturate(.88) contrast(1.02);
}
.hq-team-card__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(244, 233, 212, .18), rgba(154, 106, 30, .10));
  mix-blend-mode: multiply;
  pointer-events: none;
}
.hq-team-card__body { padding: 22px 24px 26px; }
.hq-team-card__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.hq-team-card__name { font-size: 19px; letter-spacing: -0.3px; }
.hq-team-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--hq-cta);
  font-variant-numeric: tabular-nums;
}
.hq-team-card__role {
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--hq-ink-3);
  margin: 6px 0 12px;
}

/* --- Gallery ------------------------------------------------------------ */

.hq-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.hq-filter {
  font-size: 13.5px;
  border-radius: 9999px;
  padding: 9px 20px;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  background: var(--hq-canvas);
  color: var(--hq-ink-2);
  border: 1px solid var(--hq-hairline);
  transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease;
}
.hq-filter:hover { border-color: var(--hq-gold); color: var(--hq-cta); }
.hq-filter[aria-pressed="true"] {
  background: var(--hq-ink);
  color: var(--hq-canvas);
  border-color: var(--hq-ink);
}

/* figure carries a browser default margin of 1em 40px, which eats ~80px out of
   every grid track and leaves the photos far smaller than the track allows. */
.hq-shot { margin: 0; }

.hq-shot figcaption {
  font-size: 12.5px;
  color: var(--hq-ink-3);
  margin-top: 10px;
  line-height: 1.5;
}
.hq-shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  background: var(--hq-canvas-soft);
}
.hq-shot--tall img { aspect-ratio: 3 / 4; }
.hq-shot--square img { aspect-ratio: 1; }

/* Empty slot — a labelled placeholder the salon can fill from the admin. */
.hq-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  aspect-ratio: 1;
  border: 1px dashed var(--hq-hairline-input);
  border-radius: 10px;
  background: var(--hq-canvas-soft);
  color: var(--hq-ink-3);
  font-size: 12.5px;
  text-align: center;
  padding: 16px;
}
.hq-slot svg { opacity: .55; }
.hq-slot--wide { aspect-ratio: 4 / 3; }

/* --- Forms -------------------------------------------------------------- */

.hq-field { display: flex; flex-direction: column; gap: 6px; }
.hq-field > label,
.hq-field .hq-label {
  font-size: 12px;
  letter-spacing: .2px;
  color: var(--hq-ink-2);
}

.hq-form input[type="text"],
.hq-form input[type="email"],
.hq-form input[type="tel"],
.hq-form input[type="date"],
.hq-form select,
.hq-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--hq-hairline-input);
  border-radius: 6px;
  background: var(--hq-canvas);
  color: var(--hq-ink);
  font-family: inherit;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
}
.hq-form textarea { resize: vertical; min-height: 120px; }
.hq-form input::placeholder,
.hq-form textarea::placeholder { color: var(--hq-ink-3); opacity: 1; }

.hq-form input:focus,
.hq-form select:focus,
.hq-form textarea:focus {
  outline: none;
  border-color: var(--hq-cta);
  box-shadow: var(--hq-focus-ring);
}

.hq-form__stack { display: flex; flex-direction: column; gap: 20px; }
.hq-form__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hq-form__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hq-form__note { font-size: 13px; color: var(--hq-ink-3); }

/* Contact Form 7 emits its own wrappers — neutralise their spacing. */
.wpcf7-form p { margin: 0; }
.wpcf7 .wpcf7-spinner { margin: 0 0 0 8px; }
.wpcf7-not-valid-tip {
  font-size: 12.5px;
  color: var(--hq-ruby);
  margin-top: 5px;
}
.wpcf7 form .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 16px 18px;
  border: 1px solid var(--hq-hairline);
  border-radius: 10px;
  background: var(--hq-gold-wash);
  color: var(--hq-ink);
  font-size: 14px;
  line-height: 1.6;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
  background: #F7E6E2;
  border-color: #E5C4BC;
}
.wpcf7-form input[aria-invalid="true"],
.wpcf7-form textarea[aria-invalid="true"],
.wpcf7-form select[aria-invalid="true"] { border-color: var(--hq-ruby); }

/* --- Accordion (FAQ) ---------------------------------------------------- */

.hq-faq { display: flex; flex-direction: column; }
.hq-faq details {
  border: 1px solid var(--hq-hairline);
  border-radius: var(--hq-radius);
  background: var(--hq-canvas);
  margin-bottom: 12px;
}
.hq-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
  cursor: pointer;
  font-size: 16px;
  color: var(--hq-ink);
  list-style: none;
}
.hq-faq summary::-webkit-details-marker { display: none; }
.hq-faq__icon {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  border-radius: 9999px;
  border: 1px solid var(--hq-hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--hq-cta);
  transition: transform 120ms ease, border-color 120ms ease;
}
.hq-faq details[open] .hq-faq__icon { transform: rotate(45deg); border-color: var(--hq-gold); }
.hq-faq__answer {
  padding: 0 28px 24px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--hq-ink-2);
  max-width: 640px;
}

/* --- Reviews ------------------------------------------------------------ */

.hq-quote { font-size: 16px; line-height: 1.7; color: var(--hq-ink); margin: 14px 0 18px; }
.hq-quote__meta { font-size: 12.5px; color: var(--hq-ink-3); }

/* --- CTA band ----------------------------------------------------------- */

.hq-cta-band {
  position: relative;
  background: var(--hq-dark);
  color: var(--hq-canvas);
  overflow: hidden;
}
.hq-cta-band__bg {
  position: absolute;
  inset: 0;
  opacity: .26;
}
.hq-cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.hq-cta-band__inner { position: relative; text-align: center; }
.hq-cta-band h2 { color: var(--hq-canvas); margin-bottom: 14px; }
.hq-cta-band p { color: rgba(255, 253, 250, .74); font-size: 16px; line-height: 1.7; }
.hq-cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}

/* --- Footer ------------------------------------------------------------- */

.hq-footer { background: var(--hq-dark); color: var(--hq-canvas); }
.hq-footer__cols {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(150px, 1fr));
  gap: clamp(32px, 4vw, 56px);
  max-width: var(--hq-wrap);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 72px) var(--hq-gutter) clamp(32px, 4vw, 48px);
}
.hq-footer__head {
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--hq-gold-light);
  margin-bottom: 20px;
}
.hq-footer__links { display: flex; flex-direction: column; gap: 12px; }
.hq-footer a { font-size: 14px; color: rgba(255, 253, 250, .7); }
.hq-footer a:hover { color: var(--hq-canvas); }
.hq-footer__blurb {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 253, 250, .7);
  margin: 20px 0 22px;
  max-width: 34ch;
}
.hq-footer__brand { display: flex; align-items: center; gap: 12px; }
.hq-footer__brand img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.hq-footer__brand .hq-brand__name { color: var(--hq-canvas); font-size: 17px; }
.hq-footer__brand .hq-brand__tag { color: var(--hq-gold-light); }
.hq-social { display: flex; gap: 10px; }
.hq-social a {
  width: 36px; height: 36px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 253, 250, .22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hq-canvas);
  transition: color 120ms ease, border-color 120ms ease;
}
.hq-social a:hover { border-color: var(--hq-gold-light); color: var(--hq-gold-light); }

.hq-footer__hours {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  padding: 5px 0;
  color: rgba(255, 253, 250, .7);
}

.hq-footer__legal {
  max-width: var(--hq-wrap);
  margin: 0 auto;
  padding: 24px var(--hq-gutter) 40px;
  border-top: 1px solid rgba(255, 253, 250, .12);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 253, 250, .5);
}
.hq-footer__legal a { color: rgba(255, 253, 250, .5); font-size: 13px; }
.hq-footer__legal span:last-child { display: flex; gap: 24px; flex-wrap: wrap; }

/* --- Editor content (page.php / single.php) ----------------------------- */

.hq-prose { max-width: 72ch; font-size: 16px; line-height: 1.75; color: var(--hq-ink-2); }
.hq-prose > * + * { margin-top: 1.1em; }
.hq-prose h2 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.8px; margin-top: 1.8em; }
.hq-prose h3 { font-size: 20px; letter-spacing: -0.4px; margin-top: 1.6em; }
.hq-prose ul, .hq-prose ol { padding-left: 1.3em; }
.hq-prose li + li { margin-top: .5em; }
.hq-prose img { border-radius: 10px; }
.hq-prose blockquote {
  border-left: 2px solid var(--hq-gold);
  padding-left: 20px;
  color: var(--hq-ink);
  font-style: normal;
}

/* --- Map ---------------------------------------------------------------- */

.hq-map {
  border: 1px solid var(--hq-hairline);
  border-radius: var(--hq-radius);
  overflow: hidden;
  background: var(--hq-canvas-soft);
  aspect-ratio: 16 / 7;
}
.hq-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ==========================================================================
   Responsive
   The design canvas had no mobile treatment — everything below is authored
   for the theme.
   ========================================================================== */

@media (max-width: 1080px) {
  .hq-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --hq-gutter: 22px; }

  .hq-burger { display: flex; }

  /* Nav collapses into a panel under the bar. */
  .hq-nav {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--hq-gutter) 20px;
    background: var(--hq-canvas);
    border-bottom: 1px solid var(--hq-hairline);
    box-shadow: var(--hq-shadow-float);
  }
  .hq-nav.is-open { display: flex; }
  .hq-nav ul { display: flex; flex-direction: column; }
  .hq-nav a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--hq-hairline);
  }
  .hq-nav li:last-child a { border-bottom: 0; }
  .hq-nav .current-menu-item > a,
  .hq-nav .current_page_item > a,
  .hq-nav a[aria-current="page"] { border-bottom-color: var(--hq-hairline); }

  .hq-header__inner { position: relative; }
  .hq-header__right { gap: 12px; }
  .hq-phone span { display: none; }

  /* Hero stacks; the image becomes a banner rather than a squeezed column. */
  .hq-hero { grid-template-columns: 1fr; }
  .hq-hero__copy {
    order: 2;
    max-width: none;
    margin: 0;
    padding: clamp(40px, 8vw, 64px) 0 clamp(48px, 8vw, 72px);
  }
  .hq-hero__copy > div { padding-inline: var(--hq-gutter); }
  /* The hours card is absolutely placed against the desktop split. Stacked, it
     rides the bottom of the photo instead — the media box becomes the flex
     container and the card returns to normal flow inside it. */
  .hq-hero__media {
    order: 1;
    min-height: clamp(340px, 64vw, 460px);
    display: flex;
    align-items: flex-end;
    padding: 0 var(--hq-gutter) 18px;
  }
  .hq-hero__fade { display: none; }
  .hq-hero__hours {
    position: relative;
    left: auto;
    bottom: auto;
    margin: 0;
    width: 100%;
    max-width: none;
  }
  .hq-hero h1 { font-size: clamp(34px, 8vw, 46px); letter-spacing: -1.4px; }

  .hq-sechead { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 32px; }

  .hq-catnav { top: 72px; }

  .hq-grid--auto330 { gap: 28px; }
  .hq-menu-grid { grid-template-columns: 1fr; }

  .hq-footer__cols { padding-bottom: 32px; }
}

@media (max-width: 620px) {
  /* The bar carries a logo, a wordmark, a phone link, a CTA and the burger.
     At 375px that only fits once the tagline goes and the wordmark is allowed
     to shrink — otherwise the CTA is pushed off the right edge. */
  .hq-brand { min-width: 0; gap: 10px; }
  .hq-brand img { width: 40px; height: 40px; }
  .hq-brand__text { min-width: 0; }
  .hq-brand__name {
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .hq-brand__tag { display: none; }

  .hq-header__inner { gap: 12px; padding-inline: var(--hq-gutter); }
  .hq-header__right { gap: 10px; }
  .hq-header__cta { gap: 10px; }
  .hq-header__cta .hq-btn { padding: 9px 14px; font-size: 13px; min-height: 40px; }
  .hq-burger { width: 40px; height: 40px; }

  /* Four stats will not sit on one 375px row; 2×2 beats a 3+1 orphan. */
  .hq-hero__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 20px;
  }

  .hq-form__pair { grid-template-columns: 1fr; }

  .hq-footer__cols { grid-template-columns: 1fr; gap: 36px; }

  .hq-footer__legal { flex-direction: column; gap: 12px; }
  .hq-footer__legal span:last-child { gap: 18px; }

  .hq-faq summary { padding: 18px 20px; font-size: 15px; }
  .hq-faq__answer { padding: 0 20px 20px; }

  .hq-card { padding: 24px 20px; }
  .hq-card--lg { padding: 26px 22px; }
}
