/* Tidy Paws Dog Grooming: bright neighbourhood care */
@font-face { font-family: 'Bricolage Grotesque'; src: url('/assets/fonts/bricolage-var.woff2') format('woff2'); font-weight: 600 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Assistant'; src: url('/assets/fonts/assistant-var.woff2') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --bg: #F5FBFA;
  --surface: #FFFFFF;
  --text: #153632;
  --muted: #45645F;
  --primary: #087C67;
  --primary-hover: #066653;
  --accent: #06B8D5;
  --border: #B8D6D0;
  --mint: #E2F3EF;
  --head: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Assistant', system-ui, sans-serif;
  --gutter: 20px;
  --gap: 64px;
  --max: 1160px;
}
@media (min-width: 900px) { :root { --gutter: 48px; --gap: 104px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 18px/29px var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--head); font-weight: 700; letter-spacing: -0.025em; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; }
.section--dark :focus-visible, .btn:focus-visible { outline-color: var(--text); box-shadow: 0 0 0 6px #fff; }
.section--dark :focus-visible { outline-color: #fff; box-shadow: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(720px + var(--gutter) * 2); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--text); color: #fff; padding: 10px 14px; z-index: 50; }
.skip:focus { top: 12px; }

.h2 { font-size: 32px; line-height: 37px; margin-bottom: 28px; }
@media (min-width: 900px) { .h2 { font-size: 44px; line-height: 50px; margin-bottom: 40px; } }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 12px 28px; border-radius: 999px; background: var(--primary); color: #fff; border: 2px solid var(--primary); font: 700 16px/1.2 var(--body); text-decoration: none; cursor: pointer; transition: background-color .18s ease, border-color .18s ease; }
.btn:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.btn--outline { background: transparent; color: var(--text); border-color: var(--text); }
.btn--outline:hover { background: var(--mint); border-color: var(--text); }
.btn--small { min-height: 48px; padding: 8px 20px; font-size: 16px; }
.btn--block { width: 100%; }
.text-link { color: var(--primary); font-weight: 700; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--primary-hover); text-decoration-thickness: 2px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--border); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
@media (min-width: 900px) { .nav__inner { min-height: 76px; } }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__logo { width: 44px; height: 44px; border-radius: 6px; }
.brand__name { font: 700 20px/1 var(--head); letter-spacing: -.02em; }
@media (min-width: 900px) { .brand__logo { width: 52px; height: 52px; } }
.nav__toggle { min-height: 48px; padding: 0 18px; background: #fff; color: var(--text); border: 2px solid var(--text); border-radius: 999px; font: 700 16px/1 var(--body); cursor: pointer; }
.nav__toggle-close { display: none; }
.nav__toggle[aria-expanded="true"] .nav__toggle-open { display: none; }
.nav__toggle[aria-expanded="true"] .nav__toggle-close { display: inline; }
.nav__menu { display: none; }
.nav__menu.is-open { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%; background: #fff; padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--border); animation: menu-in .18s ease; }
@keyframes menu-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .nav__menu.is-open { animation: none; } }
.nav__menu a:not(.btn) { display: flex; align-items: center; min-height: 48px; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--border); }
.nav__menu a:not(.btn):hover { color: var(--primary); }
.nav__menu .btn { margin-top: 16px; }
@media (min-width: 900px) {
  .nav__toggle { display: none; }
  .nav__menu, .nav__menu.is-open { display: flex; flex-direction: row; align-items: center; gap: 32px; position: static; padding: 0; border: 0; animation: none; }
  .nav__menu a:not(.btn) { border: 0; }
  .nav__menu .btn { margin-top: 0; }
}

/* Hero: reverse editorial split, photo left, text right */
.hero { background: #fff; padding: 32px 0 56px; }
.hero__grid { display: flex; flex-direction: column; gap: 24px; }
.hero__text { order: 1; }
.hero__photo { order: 2; border-radius: 24px 24px 8px 8px; overflow: hidden; }
.hero__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 60%; }
.hero__title { font-size: 44px; line-height: 1.06; max-width: 560px; margin-bottom: 16px; }
.hero__sub { font-size: 19px; color: var(--muted); max-width: 34ch; margin-bottom: 28px; }
.hero__actions { display: grid; gap: 12px; margin-bottom: 20px; }
@media (min-width: 520px) { .hero__actions { grid-template-columns: auto auto; justify-content: start; } }
.hero__proof { font-size: 15px; color: var(--muted); }
.hero__proof a { text-underline-offset: 3px; }
.hero__scroll { display: inline-flex; align-items: center; min-height: 48px; margin-top: 12px; }
@media (min-width: 900px) {
  .hero { padding: 56px 0 88px; }
  .hero__grid { display: grid; grid-template-columns: 48fr 52fr; gap: 40px; align-items: center; }
  .hero__photo { order: 0; width: 100%; max-width: 500px; }
  .hero__text { order: 0; }
  .hero__title { font-size: 68px; line-height: 1.04; margin-bottom: 20px; }
  .hero__sub { font-size: 21px; max-width: 30ch; }
  .hero__scroll { margin-top: 28px; }
}

/* Sections */
.section { padding: var(--gap) 0; }
.section--white { background: var(--surface); }
.section--cyan { background: var(--accent); color: var(--text); padding: 64px 0; }
@media (min-width: 900px) { .section--cyan { padding: 96px 0; } }
.section--mint { background: var(--mint); }
.section--dark { background: var(--text); color: #fff; }

.team__title { font-size: 52px; line-height: 1; margin-bottom: 28px; }
@media (min-width: 900px) { .team__title { font-size: 76px; margin-bottom: 40px; } }
.team__body { display: grid; gap: 20px; max-width: 58ch; }
@media (min-width: 900px) { .team__body { grid-template-columns: 1fr 1fr; gap: 48px; max-width: none; } }

.rows { border-top: 1px solid var(--border); }
.row { display: grid; gap: 8px; padding: 28px 0; border-bottom: 1px solid var(--border); }
.row__title { font-size: 24px; line-height: 1.2; }
.row p { color: var(--muted); max-width: 58ch; }
@media (min-width: 900px) { .row { grid-template-columns: 1fr 1.4fr; gap: 48px; padding: 40px 0; } .row__title { font-size: 28px; } }
.rows__note { margin-top: 28px; font-weight: 600; }

.quote blockquote { margin: 0 0 20px; }
.quote blockquote p { font: 700 36px/1.1 var(--head); letter-spacing: -.025em; max-width: 20ch; }
@media (min-width: 900px) { .quote blockquote p { font-size: 60px; } }
.quote figcaption { font-size: 16px; color: var(--muted); }
.quote figcaption a { color: var(--text); text-underline-offset: 3px; }

.faq { border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 19px; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: '+'; font-size: 26px; line-height: 1; color: var(--primary); flex: none; }
.faq__item[open] .faq__q::after { content: '\2212'; }
.faq__a { padding: 0 0 20px; color: var(--muted); }
.faq__a p { max-width: 58ch; }
.faq__a a { color: var(--primary); font-weight: 700; }

/* Contact (dark) */
.contact { display: grid; gap: 48px; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; } }
.details { margin: 0; display: grid; gap: 20px; }
.details dt { font-size: 14px; line-height: 21px; color: #B9D4CF; font-weight: 600; }
.details dd { margin: 0; }
.details a { color: #fff; font-weight: 700; text-underline-offset: 4px; }
.form { background: var(--surface); color: var(--text); padding: 28px 20px; border-radius: 16px; }
@media (min-width: 900px) { .form { padding: 40px; } }
.form__title { font-size: 26px; line-height: 1.2; margin-bottom: 24px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--muted); border-radius: 10px; background: #fff; color: var(--text); font: 400 18px/1.4 var(--body); }
.field textarea { resize: vertical; min-height: 120px; }
.field [aria-invalid="true"] { border: 2px solid #A3261B; }
.field__error { color: #A3261B; font-size: 15px; font-weight: 700; margin-top: 4px; }
.field__error:empty { display: none; }
.form__status { margin-top: 16px; font-weight: 600; }
.form__status:empty { display: none; }
.form__status[data-state="ok"] { padding: 14px 16px; background: var(--mint); border-left: 3px solid var(--primary); }
.form__status[data-state="error"] { color: #A3261B; }

.footer { background: #fff; padding: 36px 0 104px; font-size: 16px; color: var(--muted); }
@media (min-width: 900px) { .footer { padding: 40px 0; } }
.footer__inner { display: grid; gap: 6px; }
.footer strong { color: var(--text); }
.footer a { color: var(--text); text-underline-offset: 3px; }
.footer__credit { font-size: 14px; margin-top: 8px; }

.mobile-cta { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 30; display: flex; align-items: center; justify-content: center; min-height: 54px; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 6px 20px rgba(21,54,50,.25); transition: opacity .18s ease, visibility .18s; }
.mobile-cta:hover { background: var(--primary-hover); }
.mobile-cta.is-hidden { opacity: 0; visibility: hidden; }
@media (min-width: 900px) { .mobile-cta { display: none; } }
@media (prefers-reduced-motion: reduce) { .mobile-cta { transition: none; } }

.js-motion [data-fade-in] { opacity: 0; }
