/* Scruff & Suds (demo mobile dog groomer) · Kiwi Site Lab
   Bright and friendly: teal, sunshine yellow, coral, rounded type. The one loud thing is the size picker. */

:root {
  --teal: #0F6E6E;
  --teal-dark: #0A5555;
  --sun: #FFC94D;
  --coral: #F26B5B;
  --foam: #EFF8F6;
  --ink: #17323A;
  --muted: #4E666C;
  --rule: #D3E4E1;
  --head: "Baloo 2", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 20px;
}
@media (min-width: 768px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #fff; color: var(--ink); font: 400 1.0625rem/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--head); line-height: 1.05; }
h2 { font-size: clamp(2.1rem, 6vw, 3.1rem); font-weight: 800; margin-bottom: 10px; }
h3 { font-size: 1.375rem; font-weight: 600; }
.wrap { max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: 72px; }
@media (min-width: 1024px) { .section { padding-block: 96px; } }
.lede { color: var(--muted); margin-bottom: 32px; max-width: 54ch; }
.small { font-size: .9375rem; color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 8px 16px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 16px; color: #fff; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; background: var(--teal); color: #fff; border: 0; border-radius: 999px; font: 700 1.0625rem/1 var(--body); text-decoration: none; cursor: pointer; transition: background-color .15s; }
.button:hover { background: var(--teal-dark); color: #fff; }
.text-link { font-weight: 700; color: var(--ink); }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--rule); }
.top-inner { display: flex; align-items: center; gap: 16px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; color: var(--ink); text-decoration: none; font: 800 1.5rem/1 var(--head); }
.brand svg { width: 38px; height: 38px; }
.top-links { display: flex; align-items: center; gap: 22px; }
.top-links a { color: var(--ink); text-decoration: none; font-weight: 600; }
.top-links a:not(.book-link) { display: none; }
.top-links a:hover { text-decoration: underline; }
.book-link { white-space: nowrap; padding: 10px 18px; background: var(--sun); border-radius: 999px; }
.book-link:hover { text-decoration: none !important; background: #F5BB2E; }
@media (min-width: 760px) { .top-links a:not(.book-link) { display: inline; } }

/* Hero */
.hero { background: var(--foam); }
.hero-grid { display: grid; gap: 32px; padding-block: 40px 56px; }
.hero h1 { font-size: clamp(2.75rem, 10vw, 4.75rem); font-weight: 800; max-width: 12ch; margin-bottom: 18px; }
.hero-text > p:not(.demo-line) { max-width: 42ch; color: var(--muted); font-size: 1.125rem; margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.demo-line { margin-top: 28px; font-size: .875rem; color: var(--muted); }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 28px; border: 8px solid #fff; box-shadow: 0 20px 40px -24px rgba(23,50,58,.45); }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; padding-block: 72px; } }

/* Size picker + prices */
.sizes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 32px; }
.size { position: relative; display: grid; justify-items: center; align-content: end; gap: 2px; min-height: 160px; padding: 16px 10px; border: 2px solid var(--rule); border-radius: 20px; background: #fff; text-align: center; cursor: pointer; transition: border-color .15s, background-color .15s; }
.size input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.size svg { width: calc(110px * var(--s)); height: auto; color: var(--teal); margin-bottom: 8px; }
.size strong { font: 700 1.25rem/1.1 var(--head); }
.size span { font-size: .875rem; color: var(--muted); line-height: 1.3; }
.size:hover { border-color: var(--teal); }
.size:has(input:checked) { border-color: var(--teal); background: var(--sun); }
.size:has(input:checked) span { color: var(--ink); }
.size:has(input:focus-visible) { outline: 3px solid var(--coral); outline-offset: 3px; }
@media (min-width: 760px) { .sizes { grid-template-columns: repeat(4, 1fr); gap: 14px; } .size { min-height: 190px; } }

.services { display: grid; gap: 12px; }
.services li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 16px; background: var(--foam); }
.services p { color: var(--muted); font-size: .9375rem; }
.price { font: 800 2rem/1 var(--head); color: var(--teal); white-space: nowrap; }
.price.bump { animation: bump .35s ease-out; }
@keyframes bump { 40% { transform: scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .price.bump { animation: none; } }
@media (min-width: 760px) { .services { grid-template-columns: 1fr 1fr; } }

/* How it works */
.how { background: var(--teal); color: #fff; }
.steps { display: grid; gap: 28px; counter-reset: step; margin-top: 24px; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 12px; border-radius: 50%; background: var(--sun); color: var(--ink); font: 800 1.5rem/1 var(--head); }
.steps p { color: #D7ECEA; max-width: 34ch; margin-top: 6px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

/* Gallery */
.dogs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.dogs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; }
@media (min-width: 760px) { .dogs { grid-template-columns: repeat(3, 1fr); gap: 14px; } }

/* Reviews */
.reviews { background: var(--foam); }
.quotes { display: grid; gap: 16px; }
.quotes blockquote { padding: 22px 24px; border-radius: 20px; background: #fff; }
.quotes p { font-size: 1.125rem; margin-bottom: 8px; }
.quotes footer { color: var(--muted); font-size: .9375rem; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* Areas */
.areas-grid { display: grid; gap: 24px; }
.areas-grid p { color: var(--muted); }
.suburbs { display: flex; flex-wrap: wrap; gap: 8px; }
.suburbs li { padding: 8px 16px; border-radius: 999px; background: var(--foam); border: 1px solid var(--rule); font-weight: 600; }
@media (min-width: 900px) { .areas-grid { grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: center; } }

/* Booking */
.book { background: var(--sun); }
.book-grid { display: grid; gap: 28px; }
.book-grid > div p { max-width: 40ch; margin-bottom: 12px; }
.book .small { color: #4A3F1E; }
.book-form { display: grid; gap: 16px; padding: 24px 20px; background: #fff; border-radius: 24px; }
.field-row { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; font-weight: 600; }
.field input, .field select { width: 100%; min-height: 50px; padding: 0 14px; border: 2px solid #B9CCC9; border-radius: 12px; background: #fff; color: var(--ink); font: 400 1.0625rem var(--body); }
.field input:focus, .field select:focus { outline: 3px solid var(--coral); outline-offset: 1px; border-color: var(--teal); }
.book-form .button { justify-self: start; }
.form-error { min-height: 1.4em; margin-bottom: -8px; color: #B23324; font-weight: 700; }
.form-done { padding: 14px 16px; border-radius: 14px; background: var(--foam); font-weight: 600; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } .book-form { padding: 32px; } }
@media (min-width: 900px) { .book-grid { grid-template-columns: 1fr 1.4fr; gap: 56px; } }

/* Footer */
.foot { padding: 36px 0; background: var(--ink); color: #C7D7DA; font-size: .9375rem; }
.foot a { color: var(--sun); }
.foot strong { color: #fff; }
.foot-inner { display: grid; gap: 8px; }
.credits { font-size: .875rem; }
