/* ============================================================
   Jeanette's Pet Grooming — Design System
   "Sunny Coast" theme: warm cream, coral, deep teal.
   Edit the tokens below to re-theme the whole site.
   ============================================================ */

:root {
  /* Brand colors */
  --cream:       #FDF8F2;   /* page background */
  --cream-2:     #F8EDE0;   /* alternate section background */
  --white:       #FFFFFF;
  --ink:         #33241F;   /* warm espresso — main text */
  --ink-soft:    #6E5A50;   /* secondary text */
  --coral:       #E8604C;   /* primary brand (decorative) */
  --coral-btn:   #C94A38;   /* button fill — 4.6:1 with white text */
  --coral-deep:  #C2452F;   /* hover + accessible coral text */
  --coral-tint:  #FBE5DF;
  --teal:        #1F7A70;   /* secondary brand */
  --teal-deep:   #14564F;
  --teal-tint:   #DCEFEA;
  --sun:         #F4A93C;   /* star ratings */

  /* Typography */
  --font-display: 'Fredoka', 'Trebuchet MS', sans-serif;
  --font-body:    'Nunito', 'Segoe UI', sans-serif;
  --font-hand:    'Caveat', cursive;

  /* Shape + depth */
  --radius-sm: 12px;
  --radius:    22px;
  --radius-lg: 32px;
  --shadow-sm: 0 2px 10px rgba(51, 36, 31, .07);
  --shadow:    0 10px 30px rgba(51, 36, 31, .10);
  --shadow-lg: 0 24px 60px rgba(51, 36, 31, .14);

  /* Layout */
  --container: 1180px;
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
h1, h2, h3 { text-wrap: balance; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--ink);
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p  { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--alt { background: var(--cream-2); }
.section--teal { background: var(--teal-deep); color: #F2FAF8; }
.section--teal h2, .section--teal h3 { color: #fff; }

/* Section intro block */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 500;
  font-size: .95rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--coral-deep); margin-bottom: 14px;
}
.kicker .paw { width: 20px; height: 20px; flex: none; }
.section--teal .kicker { color: #FFC9BC; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .kicker { justify-content: center; }
.lede { font-size: 1.15rem; color: var(--ink-soft); }
.section--teal .lede { color: #CBE6E0; }
.hand { font-family: var(--font-hand); font-size: 1.6em; color: var(--coral-deep); line-height: 1.2; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 500; font-size: 1.05rem;
  padding: 16px 32px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; min-height: 52px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--coral { background: var(--coral-btn); color: #fff; box-shadow: 0 8px 22px rgba(201, 74, 56, .35); }
.btn--coral:hover { background: var(--coral-deep); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(194, 69, 47, .4); }
.btn--ghost { background: transparent; color: var(--teal-deep); border-color: var(--teal); }
.btn--ghost:hover { background: var(--teal-tint); transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--teal-deep); box-shadow: var(--shadow-sm); }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--lg { padding: 19px 40px; font-size: 1.15rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { background: rgba(253, 248, 242, .92); backdrop-filter: blur(12px); box-shadow: var(--shadow-sm); }
.header-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: var(--header-h); max-width: var(--container); margin: 0 auto; padding: 0 24px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 46px; height: 46px; flex: none; border-radius: 50%;
  background: var(--coral); display: grid; place-items: center;
  box-shadow: 0 4px 12px rgba(232, 96, 76, .35);
}
.brand-mark svg { width: 26px; height: 26px; fill: #fff; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; line-height: 1.1; }
.brand-name small { display: block; font-family: var(--font-hand); font-size: .95rem; font-weight: 400; color: var(--teal-deep); }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  font-family: var(--font-display); font-weight: 500; font-size: .98rem;
  color: var(--ink); text-decoration: none; padding: 10px 14px; border-radius: 999px;
  transition: background .18s ease, color .18s ease;
}
.main-nav a:hover { background: var(--coral-tint); color: var(--coral-deep); }
.main-nav a[aria-current="page"] { background: var(--teal-tint); color: var(--teal-deep); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn { padding: 12px 24px; min-height: 46px; font-size: .98rem; }
.call-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 500; color: var(--teal-deep);
  text-decoration: none; padding: 10px 6px;
}
.call-link svg { width: 18px; height: 18px; }
.call-link:hover { color: var(--coral-deep); }

/* Mobile nav */
.nav-toggle {
  display: none; width: 48px; height: 48px; border: 0; border-radius: 14px;
  background: var(--coral-tint); cursor: pointer; place-items: center;
}
.nav-toggle svg { width: 24px; height: 24px; stroke: var(--coral-deep); }
.mobile-drawer {
  position: fixed; inset: 0; z-index: 200; display: none;
}
.mobile-drawer.is-open { display: block; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(51, 36, 31, .5); }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 88vw);
  background: var(--cream); padding: 28px; overflow-y: auto; overscroll-behavior: contain;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  display: flex; flex-direction: column; gap: 8px;
  animation: drawerIn .28s ease both;
}
@keyframes drawerIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer-close { align-self: flex-end; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--coral-tint); cursor: pointer; display: grid; place-items: center; }
.drawer-close svg { width: 22px; height: 22px; stroke: var(--coral-deep); }
.drawer-panel nav { display: flex; flex-direction: column; gap: 4px; margin: 12px 0 20px; }
.drawer-panel nav a {
  font-family: var(--font-display); font-weight: 500; font-size: 1.2rem;
  color: var(--ink); text-decoration: none; padding: 14px 16px; border-radius: 16px;
}
.drawer-panel nav a:hover, .drawer-panel nav a[aria-current="page"] { background: var(--teal-tint); color: var(--teal-deep); }
.drawer-panel .btn { width: 100%; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: calc(var(--header-h) + clamp(48px, 8vw, 90px)) 0 clamp(48px, 7vw, 80px);
  background:
    radial-gradient(900px 420px at 85% -10%, var(--coral-tint) 0%, transparent 60%),
    radial-gradient(700px 380px at -5% 110%, var(--teal-tint) 0%, transparent 55%),
    var(--cream);
  position: relative; overflow: hidden;
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumbs { font-size: .9rem; color: var(--ink-soft); margin-bottom: 18px; }
.breadcrumbs a { color: var(--teal-deep); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.page-hero h1 { max-width: 16ch; }
.page-hero .lede { max-width: 60ch; }

/* ---------- Cards ---------- */
.card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  overflow: hidden; transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.card-body { padding: 26px 26px 30px; }
.card-body h3 { margin-bottom: .35em; }
.card-body p { color: var(--ink-soft); margin-bottom: .9em; }
.card-link {
  font-family: var(--font-display); font-weight: 500; text-decoration: none;
  color: var(--coral-deep); display: inline-flex; align-items: center; gap: 6px;
}
.card-link:hover { gap: 10px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

/* ---------- Quick answer (AEO) ---------- */
.quick-answer {
  background: var(--teal-tint); border-left: 6px solid var(--teal);
  border-radius: var(--radius-sm); padding: 22px 26px; margin: 0 0 32px;
}
.quick-answer strong { font-family: var(--font-display); color: var(--teal-deep); }
.key-facts { width: 100%; border-collapse: collapse; margin: 0 0 32px; background: var(--white); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); }
.key-facts th, .key-facts td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--cream-2); }
.key-facts th { font-family: var(--font-display); font-weight: 500; color: var(--teal-deep); width: 38%; }
.key-facts tr:last-child th, .key-facts tr:last-child td { border-bottom: 0; }

/* ---------- Pricing ---------- */
.price-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.price-table th, .price-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--cream-2); }
.price-table thead th { background: var(--teal-deep); color: #fff; font-family: var(--font-display); font-weight: 500; }
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table .price { font-family: var(--font-display); font-weight: 600; color: var(--coral-deep); white-space: nowrap; }
.price-note { font-size: .92rem; color: var(--ink-soft); margin-top: 14px; }

/* ---------- Reviews ---------- */
.stars { display: inline-flex; gap: 3px; color: var(--sun); }
.stars svg { width: 19px; height: 19px; fill: currentColor; }
.review-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.review-card blockquote { margin: 0; font-size: 1.02rem; color: var(--ink); }
.review-meta { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: var(--teal-tint); color: var(--teal-deep);
  font-family: var(--font-display); font-weight: 600; display: grid; place-items: center;
}
.review-meta strong { font-family: var(--font-display); font-weight: 500; }
.review-meta span { display: block; font-size: .85rem; color: var(--ink-soft); }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--font-display); font-weight: 500; font-size: 1.08rem; color: var(--ink);
  padding: 20px 56px 20px 24px; position: relative; min-height: 52px;
}
.faq-q::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px;
  border-right: 3px solid var(--coral-deep); border-bottom: 3px solid var(--coral-deep);
  transform: translateY(-70%) rotate(45deg); transition: transform .25s ease;
}
.faq-item.is-open .faq-q::after { transform: translateY(-30%) rotate(-135deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 24px 22px; color: var(--ink-soft); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); cursor: pointer; border: 0; padding: 0; background: none; display: block; width: 100%; }
.gallery-item img { aspect-ratio: 1/1; object-fit: cover; width: 100%; transition: transform .4s ease; }
.gallery-item--wide { grid-column: span 2; }
.gallery-item--wide img { aspect-ratio: 2/1; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-tag {
  position: absolute; left: 14px; bottom: 14px; background: rgba(253, 248, 242, .94);
  font-family: var(--font-display); font-weight: 500; font-size: .88rem; color: var(--ink);
  padding: 7px 14px; border-radius: 999px;
}
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none;
  align-items: center; justify-content: center; padding: 32px;
  background: rgba(51, 36, 31, .85); overscroll-behavior: contain;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(960px, 100%); max-height: 85vh; width: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox-close { position: absolute; top: 22px; right: 22px; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--cream); cursor: pointer; display: grid; place-items: center; }
.lightbox-close svg { width: 22px; height: 22px; stroke: var(--ink); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-family: var(--font-display); font-weight: 500; font-size: .95rem; }
.form-field label .req { color: var(--coral-deep); }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--white); border: 2px solid #E9DCCC; border-radius: var(--radius-sm);
  padding: 13px 16px; min-height: 50px; transition: border-color .18s ease;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--teal); outline: none; }
.form-hint { font-size: .85rem; color: var(--ink-soft); }
.form-success {
  display: none; background: var(--teal-tint); border-left: 6px solid var(--teal);
  border-radius: var(--radius-sm); padding: 20px 24px; margin-top: 18px;
}
.form-success.is-visible { display: block; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--teal-deep); }
.cta-band .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding-top: clamp(56px, 8vw, 90px); padding-bottom: clamp(56px, 8vw, 90px); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #CBE6E0; }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-band img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.paw-bg { position: absolute; opacity: .07; fill: #fff; width: 340px; height: 340px; right: -60px; top: -70px; transform: rotate(-18deg); pointer-events: none; }

/* ---------- Footer ---------- */
.site-footer { background: #2A1D18; color: #D8C8BE; padding: clamp(56px, 8vw, 80px) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 1em; }
.site-footer a { color: #D8C8BE; text-decoration: none; }
.site-footer a:hover { color: #F7A893; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name small { color: #F7A893; }
.footer-brand p { margin-top: 14px; font-size: .95rem; }
.footer-hours { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: .95rem; }
.footer-hours span { color: #fff; font-family: var(--font-display); font-weight: 500; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 22px 0; font-size: .88rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Mobile call bar ---------- */
.mobile-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
  display: none; gap: 10px;
}
.mobile-bar .btn { flex: 1; box-shadow: var(--shadow-lg); }

/* ---------- Scroll reveals ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .1s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .2s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .3s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .4s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .5s; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--teal-deep); color: #fff; padding: 12px 20px; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }
.paw-divider { display: flex; justify-content: center; gap: 16px; padding: 8px 0; }
.paw-divider svg { width: 22px; height: 22px; fill: var(--coral); opacity: .45; }
.paw-divider svg:nth-child(2) { transform: rotate(14deg) translateY(-5px); opacity: .7; }
.paw-divider svg:nth-child(3) { transform: rotate(-12deg); opacity: .45; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .main-nav { display: none; }
  .nav-toggle { display: grid; }
  .header-cta .call-link span { display: none; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band .container { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .header-cta .btn { display: none; }
  .grid-3, .grid-2, .form-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item--wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-bar { display: flex; }
  .site-footer { padding-bottom: 86px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}
