/* =========================================================
   Hau5 — stylesheet
   Palette derived from v1/img/logo.svg + brand notes:
   sage green, warm coral/orange, cream paper background
   ========================================================= */

:root {
  --sage:        #9FCDC2;
  --sage-600:    #7FB2A5;
  --sage-700:    #5F9788;
  --sage-100:    #E4F2EE;

  --orange:      #F1A188;
  --orange-600:  #DC967C;
  --orange-700:  #C97A5F;
  --orange-100:  #FCE7DE;

  --cream:       #FBF3E6;
  --cream-2:     #F4E9D6;
  --white:       #FFFEFB;

  --text:        #626258;
  --text-dark:   #45453d;
  --text-soft:   #83837a;

  --font-head:   "Baloo 2", "Nunito", sans-serif;
  --font-body:   "Nunito", sans-serif;
  --font-accent: "Caveat", cursive;

  --radius-sm:   12px;
  --radius-md:   20px;
  --radius-lg:   32px;

  --shadow-sm:   0 2px 10px rgba(98, 98, 88, 0.08);
  --shadow-md:   0 12px 30px rgba(98, 98, 88, 0.12);
  --shadow-lg:   0 20px 50px rgba(98, 98, 88, 0.16);

  --header-h:    84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, textarea { font: inherit; }

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

/* ---------- Base ---------- */
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* paper-grain texture overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 0.38  0 0 0 0 0.38  0 0 0 0 0.35  0 0 0 0.05 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

h1, h2, h3 { font-family: var(--font-head); color: var(--text-dark); font-weight: 700; line-height: 1.2; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.2rem; }
strong { color: var(--text-dark); }
.muted { color: var(--text-soft); }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--orange);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 0 0 10px 0;
  z-index: 999;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-family: var(--font-head);
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--orange-700); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost {
  background: transparent;
  border-color: var(--sage-700);
  color: var(--sage-700);
}
.btn-ghost:hover { background: var(--sage-100); transform: translateY(-2px); }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 243, 230, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(159, 205, 194, 0.35);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}
.brand { display: flex; align-items: center; }
.brand-logo { height: 58px; width: auto; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 30px; }
.main-nav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text-dark);
  position: relative;
  padding: 6px 2px;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--orange);
  transition: right 0.25s ease;
  border-radius: 2px;
}
.main-nav a:hover::after,
.main-nav a.active::after { right: 0; }

.header-cta { display: flex; }
.header-cta-mobile { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: var(--sage-100);
  border: none;
  border-radius: 10px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 20px;
  margin: 0 auto;
  background: var(--sage-700);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 100px;
}
.hero-blobs { position: absolute; inset: 0; z-index: 0; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
  opacity: 0.55;
}
.blob-green {
  width: 480px; height: 480px;
  background: radial-gradient(circle at 30% 30%, var(--sage-100), var(--sage) 80%);
  top: -180px; left: -160px;
}
.blob-orange {
  width: 380px; height: 380px;
  background: radial-gradient(circle at 65% 35%, var(--orange-100), var(--orange) 80%);
  bottom: -160px; right: -120px;
}

.paw-field { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.floaty-paw {
  position: absolute;
  width: 34px;
  opacity: 0.35;
  animation: float 7s ease-in-out infinite;
}
.floaty-paw.p1 { color: var(--sage-700); top: 18%; left: 8%;  width: 30px; animation-delay: 0s; }
.floaty-paw.p2 { color: var(--orange-700); top: 62%; left: 5%; width: 22px; animation-delay: 1.2s; }
.floaty-paw.p3 { color: var(--orange-700); top: 12%; left: 46%; width: 20px; animation-delay: 2.1s; }
.floaty-paw.p4 { color: var(--sage-700); top: 75%; left: 40%; width: 26px; animation-delay: 0.6s; }
.floaty-paw.p5 { color: var(--sage-700); top: 30%; right: 6%; width: 24px; animation-delay: 1.8s; }
.floaty-paw.p6 { color: var(--orange-700); top: 80%; right: 14%; width: 30px; animation-delay: 2.6s; }
.floaty-paw {
  /* colorize svg <img> via CSS mask so the per-paw `color` applies */
  background-color: currentColor;
  -webkit-mask-image: url("../img/paw.svg");
  mask-image: url("../img/paw.svg");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  aspect-ratio: 1;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(12deg); }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.eyebrow {
  font-family: var(--font-head);
  color: var(--sage-700);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  margin-bottom: 20px;
}
.brand-word { color: var(--orange-700); }

.lead {
  font-size: 1.08rem;
  max-width: 52ch;
  margin-bottom: 30px;
  color: var(--text);
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }

.hero-carousel { position: relative; height: 30px; }
.hero-carousel li {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--text-dark);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.hero-carousel li img {
  width: 18px; height: 18px;
  background-color: var(--orange-600);
  -webkit-mask-image: url("../img/paw.svg");
  mask-image: url("../img/paw.svg");
  -webkit-mask-size: contain;
  mask-size: contain;
}
.hero-carousel li.active { opacity: 1; transform: translateY(0); }

.hero-badge {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-logo {
  width: min(340px, 80%);
  filter: drop-shadow(0 20px 34px rgba(220, 150, 124, 0.25));
  animation: bob 6s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.scroll-cue {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid var(--sage-700);
  border-radius: 20px;
  opacity: 0.6;
}
.scroll-cue span {
  position: absolute;
  top: 6px; left: 50%;
  width: 5px; height: 5px;
  margin-left: -2.5px;
  background: var(--sage-700);
  border-radius: 50%;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { top: 6px; opacity: 1; }
  70% { opacity: 1; }
  100% { top: 22px; opacity: 0; }
}

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section-alt { background: var(--cream-2); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head.left,
.location-text .kicker { text-align: left; margin-left: 0; }
.kicker {
  font-family: var(--font-head);
  color: var(--orange-700);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.section-sub { margin-top: 12px; color: var(--text-soft); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 60px;
}
.about-text p { margin-bottom: 18px; font-size: 1.03rem; }
.signature {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  color: var(--orange-700);
  line-height: 1.3;
}
.signature span { display: block; font-size: 1.2rem; color: var(--sage-700); }

.highlight-card {
  background: var(--white);
  border: 1px solid rgba(159, 205, 194, 0.4);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.highlight-card h3 { color: var(--sage-700); margin-bottom: 14px; }
.paw-divider { width: 34px; margin: 18px 0; opacity: 0.5; }
.paw-divider img { filter: sepia(1) saturate(2) hue-rotate(320deg) brightness(0.9); }

.care-title { text-align: center; margin-bottom: 26px; }
.care-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
  margin-bottom: 60px;
}
.care-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
  font-size: 0.98rem;
}
.care-list .ico { font-size: 1.15rem; line-height: 1; }

.two-col-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 30px;
}
.info-card {
  border-radius: var(--radius-md);
  padding: 28px;
}
.info-before {
  background: var(--sage-100);
  border: 1px solid rgba(95, 151, 136, 0.3);
}
.info-before h3 { color: var(--sage-700); }
.info-not {
  background: var(--orange-100);
  border: 1px solid rgba(201, 122, 95, 0.3);
}
.info-not h3 { color: var(--orange-700); }
.info-card ul { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.info-card li { position: relative; padding-left: 20px; font-size: 0.96rem; }
.info-card li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: currentColor;
}

.notice {
  background: var(--white);
  border: 1px dashed var(--orange-600);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  font-size: 0.95rem;
  color: var(--text);
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-ico {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--sage-100);
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.service-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.service-card p { font-size: 0.94rem; color: var(--text-soft); }

.services-note {
  text-align: center;
  margin-top: 40px;
  color: var(--text-soft);
  font-size: 0.95rem;
}
.services-note a { color: var(--orange-700); font-weight: 700; text-decoration: underline; }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 46px;
}
.price-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.price-card h3 {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
}
.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dotted rgba(98, 98, 88, 0.25);
}
.price-list li:last-child { border-bottom: none; }
.price-list span { color: var(--text); }
.price-list strong { color: var(--orange-700); font-family: var(--font-head); white-space: nowrap; }

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: linear-gradient(120deg, var(--sage-100), var(--orange-100));
  border-radius: var(--radius-lg);
  padding: 30px 36px;
}
.cta-banner p { font-family: var(--font-head); font-weight: 700; color: var(--text-dark); font-size: 1.1rem; }

/* ---------- Location ---------- */
.location-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.location-text h2 { margin-bottom: 16px; }
.location-facts { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.location-facts li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--text-dark); }

.location-map { display: flex; justify-content: center; }
.paw-divider.big {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: var(--white);
  border: 3px dashed var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  margin: 0;
  box-shadow: var(--shadow-sm);
}
.paw-divider.big img {
  width: 84px;
  filter: sepia(1) saturate(1.6) hue-rotate(320deg) brightness(0.95);
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 30px;
  border-left: 3px solid var(--sage-100);
}
.timeline-item { position: relative; padding: 0 0 34px 26px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -39px;
  top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px var(--sage);
}
.timeline-content h3 { font-size: 1.05rem; margin-bottom: 6px; }
.timeline-content p { color: var(--text-soft); font-size: 0.95rem; }

/* ---------- Blog ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.blog-ico { font-size: 2.2rem; margin-bottom: 12px; }
.blog-card p { color: var(--text-soft); margin: 10px 0 18px; }
.badge {
  display: inline-block;
  background: var(--sage-100);
  color: var(--sage-700);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 16px;
  border-radius: 999px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  margin-bottom: 46px;
}
.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-content: start;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
a.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-card .ico { font-size: 1.4rem; }
.contact-label { display: block; font-size: 0.8rem; color: var(--text-soft); }
.contact-card strong { font-family: var(--font-head); font-size: 0.98rem; }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form h3 { margin-bottom: 4px; }
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
}
.contact-form input,
.contact-form textarea {
  border: 1.5px solid var(--sage-100);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: var(--cream);
  color: var(--text-dark);
  resize: vertical;
  transition: border-color 0.2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--sage);
}
.contact-form .btn { align-self: flex-start; margin-top: 4px; }
.contact-petsy p { color: var(--text-soft); }

.cta-banner-final { justify-content: center; text-align: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--text-dark);
  color: var(--cream);
  padding: 44px 0 30px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo { height: 46px; filter: brightness(0) invert(1) opacity(0.9); }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a { font-size: 0.9rem; opacity: 0.85; }
.footer-nav a:hover { opacity: 1; text-decoration: underline; }
.footer-copy { width: 100%; text-align: center; font-size: 0.82rem; opacity: 0.65; margin-top: 10px; }

/* ---------- To top ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  border: none;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
  z-index: 90;
}
.to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top:hover { background: var(--orange-700); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .about-grid,
  .location-wrap,
  .contact-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .location-map { order: -1; }
  .paw-divider.big { width: 140px; height: 140px; }
  .paw-divider.big img { width: 60px; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .main-nav.open {
    display: block;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(159,205,194,0.4);
    box-shadow: var(--shadow-md);
    padding: 10px 24px 26px;
  }
  .main-nav.open ul { flex-direction: column; gap: 4px; }
  .main-nav.open a { display: block; padding: 12px 4px; }
  .main-nav.open .header-cta-mobile { display: block; margin-top: 14px; }
  .main-nav.open .header-cta-mobile .btn { width: 100%; }

  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-carousel { display: flex; justify-content: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-badge { order: -1; margin-bottom: 10px; }
  .hero-logo { width: 220px; }

  .care-list { grid-template-columns: 1fr; }
  .two-col-info { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .cta-banner { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 80px; }
  .brand-logo { height: 46px; }
}
