/* ============================================================
   SUDS DOG GROOMING — layout wireframe
   Grey wireframe palette only; accent is re-themed by widget.
   ============================================================ */

:root {
  --bg: #ededed;
  --surface: #e2e2e2;
  --surface-2: #dcdcdc;
  --line: #c6c6c6;
  --dash: #a8a8a8;
  --ink: #333333;
  --muted: #777777;
  --faint: #9a9a9a;

  --accent: var(--pop);
  --accent-ink: var(--pop-ink);

  --font-display: 'Sora', 'Inter', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --container: 1120px;
  --radius: 16px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: 350ms;
}

/* ============ RESET / BASE ============ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.02em;
  margin: 0;
}

p { margin: 0; }

a { color: inherit; }

button { font-family: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section[id], footer[id] { scroll-margin-top: 84px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ============ PLACEHOLDER BOXES ============ */
.ph {
  display: grid;
  place-items: center;
  background: var(--surface-2);
  border: 1px dashed var(--dash);
  color: var(--muted);
  font: 500 11px/1.5 ui-monospace, monospace;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-align: center;
  padding: 12px;
}

.ph--hero { aspect-ratio: 4 / 3.2; border-radius: 22px; }
.ph--gallery { aspect-ratio: 4 / 4.4; border-radius: 14px; }
.ph--map { aspect-ratio: 4 / 2.9; border-radius: 10px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), filter var(--dur) var(--ease);
}

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn--primary:hover { filter: brightness(.88); }

.btn--ghost {
  background: transparent;
  border-color: var(--faint);
  color: var(--ink);
}
.btn--ghost:hover { background: var(--surface-2); border-color: var(--muted); }

.btn--small { padding: 10px 20px; font-size: 14px; }

/* ============ HEADER ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo__mark {
  width: 52px;
  height: 38px;
  border-radius: 8px;
  font-size: 10px;
  letter-spacing: .14em;
  flex: none;
}

.logo__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -.01em;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
}

.logo__text span {
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--faint);
  margin-top: 2px;
}

.nav { display: flex; gap: 6px; }

.nav__link {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 8px 13px;
  border-radius: 999px;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav__link:hover { color: var(--ink); background: var(--surface); }

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

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ MOBILE MENU ============ */
.mobile-menu {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 14px 24px 24px;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.mobile-menu.is-open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.mobile-menu__link {
  display: block;
  padding: 13px 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.mobile-menu__cta { width: 100%; margin-top: 18px; }

.mobile-menu__meta {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}

/* ============ EYEBROW / SECTION HEADS ============ */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .24em;
  color: var(--muted);
  margin: 0 0 20px;
}
.eyebrow__tick {
  width: 26px;
  height: 2px;
  background: var(--faint);
  border-radius: 2px;
  flex: none;
}

.section { padding: clamp(72px, 9vw, 116px) 0; }
.section--tint { background: var(--surface); }

.section-head { max-width: 620px; margin-bottom: clamp(40px, 5vw, 60px); }

.section-head--split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.section-head__copy { max-width: 520px; }

.section-title { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }

.section-sub {
  margin-top: 16px;
  font-size: 16.5px;
  color: var(--muted);
}

/* ============ HERO ============ */
.hero {
  padding: clamp(56px, 7vw, 96px) 0 clamp(72px, 9vw, 116px);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(44px, 6vw, 84px);
  align-items: center;
}

.hero__title { font-size: clamp(2.3rem, 4.6vw, 3.5rem); }

.hero__lede {
  margin-top: 22px;
  font-size: 17.5px;
  color: var(--muted);
  max-width: 46ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero__facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 34px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
}
.hero__facts li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.hero__facts svg { width: 15px; height: 15px; fill: var(--faint); flex: none; }

.hero__art { position: relative; }

.hero__price-badge {
  position: absolute;
  left: -14px;
  bottom: 30px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 12px 20px;
  border-radius: 999px;
}

.hero__chip {
  position: absolute;
  top: 22px;
  right: -10px;
  background: var(--bg);
  border: 1px dashed var(--dash);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  padding: 9px 16px;
  border-radius: 999px;
}

.hero__bubble {
  position: absolute;
  border-radius: 50%;
  background: var(--surface-2);
}
.hero__bubble--1 { width: 74px; height: 74px; top: -28px; left: -24px; }
.hero__bubble--2 { width: 34px; height: 34px; top: -8px; left: 62px; background: var(--surface); border: 1px dashed var(--dash); }
.hero__bubble--3 { width: 46px; height: 46px; bottom: -20px; right: 34px; }

/* ============ SIZE TABS ============ */
.size-tabs {
  display: inline-flex;
  gap: 6px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 6px;
}

.size-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 148px;
  padding: 12px 20px 13px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  color: var(--muted);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.size-tab:hover:not(.is-active) { background: var(--surface); color: var(--ink); }

.size-tab.is-active {
  background: var(--accent);
  color: var(--accent-ink);
}

.size-tab__paw { fill: currentColor; }
.size-tab__paw--s { width: 15px; height: 15px; }
.size-tab__paw--m { width: 19px; height: 19px; }
.size-tab__paw--l { width: 23px; height: 23px; }

.size-tab__label {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.size-tab__hint {
  font-size: 11.5px;
  font-weight: 500;
  opacity: .72;
}

/* ============ PACKAGE CARDS ============ */
.pkg-panel[hidden] { display: none; }

.pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pkg-panel.is-active .pkg-card { animation: card-in 480ms var(--ease) both; }
.pkg-panel.is-active .pkg-card:nth-child(2) { animation-delay: 70ms; }
.pkg-panel.is-active .pkg-card:nth-child(3) { animation-delay: 140ms; }

@keyframes card-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.pkg-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px 28px;
}

.pkg-card--popular { border: 2px solid var(--faint); }

.pkg-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.pkg-card__name { font-size: 20px; }

.pkg-card__desc {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--muted);
}

.pkg-card__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pkg-card__amount {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.pkg-card__per { font-size: 12.5px; color: var(--faint); }

.pkg-card__list {
  list-style: none;
  margin: 20px 0 26px;
  padding: 0;
  display: grid;
  gap: 11px;
}
.pkg-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
}
.pkg-card__list svg {
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 4px;
  stroke: var(--accent);
}

.pkg-card__btn { width: 100%; margin-top: auto; }

.pkg-note {
  margin-top: 30px;
  font-size: 13.5px;
  color: var(--muted);
  text-align: center;
}

/* ============ ADD-ON CHIPS ============ */
.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 22px 12px 14px;
}

.chip__plus {
  width: 26px;
  height: 26px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  border-radius: 50%;
  color: var(--muted);
}
.chip__plus svg { width: 11px; height: 11px; }

.chip__name { font-weight: 600; font-size: 15px; }

.chip__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
}

.addons__note {
  margin-top: 24px;
  font-size: 13.5px;
  color: var(--muted);
}

/* ============ GALLERY ============ */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ============ BOOKING ============ */
.booking__inner {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: clamp(40px, 6vw, 76px);
  align-items: start;
}

.steps {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  gap: 20px;
}
.steps__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--muted);
}
.steps__item strong { color: var(--ink); font-weight: 600; }
.steps__num {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px dashed var(--dash);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.booking__alt {
  margin-top: 36px;
  padding: 24px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.booking__alt-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--muted);
}
.booking__alt-phone {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.01em;
  text-decoration: none;
}
.booking__alt-phone:hover { text-decoration: underline; }
.booking__alt-note { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.booking__alt-note a { color: var(--ink); }

.booking__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(26px, 3.4vw, 40px);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 7px;
}

.field input,
.field select {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  appearance: none;
  transition: border-color var(--dur) var(--ease);
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.5 6 8.5 10 4.5' fill='none' stroke='%23777777' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  padding-right: 38px;
}
.field input::placeholder { color: var(--faint); }
.field input:focus,
.field select:focus { border-color: var(--muted); outline: 2px solid var(--accent); outline-offset: 1px; }

.field.is-error input,
.field.is-error select { border-color: var(--ink); }

.field-error {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 7px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
}
.field-error::before {
  content: "!";
  flex: none;
  width: 15px;
  height: 15px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
}
.field-error[hidden] { display: none; }

.booking-form__submit { width: 100%; margin-top: 6px; }

.booking-form__fine {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}

.booking-success { text-align: center; padding: 28px 10px; }
.booking-success[hidden] { display: none; }

.booking-success__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 50%;
}
.booking-success__icon svg { width: 30px; height: 30px; }

.booking-success h3 { font-size: 22px; }

.booking-success p {
  margin: 12px auto 26px;
  max-width: 40ch;
  font-size: 15px;
  color: var(--muted);
}

/* ============ REVIEWS ============ */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review {
  margin: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.stars { display: flex; gap: 4px; margin-bottom: 16px; }
.star { width: 17px; height: 17px; }
.star--on { fill: var(--accent); }
.star--off { fill: var(--line); }

.review p { font-size: 15px; color: var(--ink); }

.review footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.review footer strong { font-size: 14.5px; }
.review footer span { font-size: 12.5px; color: var(--muted); }

/* ============ FOOTER ============ */
.footer { background: var(--surface-2); }

.footer__grid {
  display: grid;
  grid-template-columns: 1.35fr .95fr 1fr 1.25fr;
  gap: 40px;
  padding-top: clamp(56px, 7vw, 80px);
  padding-bottom: clamp(48px, 6vw, 72px);
}

.footer__col h3 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--muted);
  margin: 0 0 16px;
}

.footer__col--brand p {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
  max-width: 30ch;
}

.footer address {
  font-style: normal;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--ink);
}
.footer address a { text-decoration: none; }
.footer address a:hover { text-decoration: underline; }

.hours { border-collapse: collapse; width: 100%; font-size: 14.5px; }
.hours td { padding: 6px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; color: var(--muted); }

.footer__bar { border-top: 1px solid var(--line); }
.footer__bar-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 13px;
  color: var(--muted);
}

/* ============ REVEAL ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 550ms var(--ease), transform 550ms var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1020px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { max-width: 560px; }
  .hero__price-badge { left: 14px; }
  .hero__chip { right: 14px; }
  .pkg-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .reviews__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .booking__inner { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 760px) {
  .nav, .header__cta { display: none; }
  .menu-toggle { display: flex; }

  .section-head--split { flex-direction: column; align-items: stretch; }
  .section-head__copy { max-width: none; }

  .size-tabs { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .size-tab { min-width: 0; padding: 10px 8px 11px; }
  .size-tab__label { font-size: 13px; }
  .size-tab__hint { font-size: 10.5px; }

  .field-row { grid-template-columns: 1fr; gap: 0; }

  .hero__facts { gap: 10px 20px; }

  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 760px) {
  .hero__bubble--1 { left: 4px; top: -22px; width: 58px; height: 58px; }
  .hero__bubble--2 { display: none; }
  .hero__bubble--3 { right: 12px; bottom: -16px; }
}

@media (max-width: 420px) {
  .hero__cta .btn { width: 100%; }
  .chips { gap: 10px; }
  .chip { width: 100%; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* COLOUR OPTION — accent is re-themed by the corner widget; default is wireframe grey */
:root { --pop: #9a9a9a; --pop-ink: #ffffff; }
