html, body { margin: 0; padding: 0; overflow-x: hidden; }
* { box-sizing: border-box; }
::selection { background: #E98A5C; color: #FBEBD9; }

:root {
  --cream: #FBEBD9;
  --cream-2: #F6D2AC;
  --orange: #E98A5C;
  --orange-text: #B5502A; /* darker, WCAG AA-passing variant of --orange for use as text color */
  --brown: #3B2412;
  --brown-2: #5A3D2A;
  --label: #F0C9A3;
}

body {
  background: var(--cream);
  font-family: 'Nunito', sans-serif;
  color: var(--brown);
}

.page {
  position: relative;
  width: 100%;
  overflow-x: hidden;
}

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--brown);
  outline-offset: 2px;
}

.blob-1 {
  position: absolute; top: -120px; right: -160px;
  width: 480px; height: 480px; border-radius: 50%;
  background: var(--cream-2); opacity: 0.6; z-index: 0;
}
.blob-2 {
  position: absolute; bottom: 200px; left: -180px;
  width: 400px; height: 400px; border-radius: 50%;
  background: var(--cream-2); opacity: 0.5; z-index: 0;
}

/* Nav (shared) */
nav {
  position: relative; z-index: 2; display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  padding: 24px 48px; flex-wrap: wrap;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.logo-badge {
  width: 34px; height: 34px; border-radius: 50%; background: var(--orange);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.logo-text { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 18px; color: var(--brown); }

.nav-links { display: flex; align-items: center; gap: 28px; font-weight: 700; font-size: 15px; flex-wrap: wrap; }
.nav-links a { color: var(--brown); text-decoration: none; transition: color 0.15s; }
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--orange-text); }
.nav-links a.nav-cta {
  background: var(--orange); color: var(--brown); padding: 10px 22px; border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}
.nav-links a.nav-cta:hover { background: var(--brown); color: var(--cream); }

/* Eyebrow badge (shared) */
.eyebrow {
  display: inline-block; background: var(--orange); color: var(--brown); font-weight: 700;
  font-size: 14px; letter-spacing: 0.03em; padding: 8px 20px; border-radius: 999px;
  margin-bottom: 18px; text-decoration: none; transition: background 0.15s, color 0.15s;
}
a.eyebrow:hover { background: var(--brown); color: var(--cream); }

/* Headline base (shared); size varies per page */
h1.headline {
  font-family: 'Baloo 2', sans-serif; font-weight: 800; margin: 0 0 24px; color: var(--brown);
}
body.page-home h1.headline { font-size: 76px; line-height: 0.95; }
body.page-about h1.headline { font-size: 60px; line-height: 1; }

/* Hero image (shared base; size varies per page) */
.hero-img-wrap { position: relative; display: flex; justify-content: center; align-items: flex-end; }
.hero-img-wrap svg.paws { position: absolute; top: -10px; left: 10px; opacity: 0.8; }
.hero-img-wrap img { width: 100%; height: auto; display: block; position: relative; z-index: 1; }
body.page-home .hero-img-wrap img { max-width: 420px; }
body.page-about .hero-img-wrap img { max-width: 360px; }

/* Home: hero section */
.hero {
  position: relative; z-index: 2; display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center; gap: 24px;
  padding: 24px 48px 40px;
  max-width: 1200px; margin: 0 auto;
}
.hero-email { font-size: 22px; font-weight: 800; margin-bottom: 22px; }
.hero-email a { color: var(--brown); text-decoration: none; border-bottom: 3px solid var(--orange); transition: color 0.15s; }
.hero-email a:hover { color: var(--orange-text); }
.hero p {
  font-size: 19px; line-height: 1.5; font-weight: 600; color: var(--brown-2);
  max-width: 460px; margin: 0 0 16px;
}
.hero p.last { margin-bottom: 28px; }
.btn-primary {
  display: inline-block; background: var(--brown); color: var(--cream); font-family: 'Baloo 2', sans-serif;
  font-weight: 700; font-size: 17px; padding: 16px 34px; border-radius: 999px;
  text-decoration: none; transition: background 0.15s, color 0.15s;
}
.btn-primary:hover { background: var(--orange); color: var(--brown); }

/* Home: why-us section */
.about {
  position: relative; z-index: 2; padding: 40px 48px 60px; max-width: 900px;
  margin: 0 auto; text-align: center;
}
.about h2 { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 32px; margin: 0 0 18px; color: var(--brown); }
.about p { font-size: 18px; line-height: 1.6; font-weight: 600; color: var(--brown-2); margin: 0 0 20px; }
.about-list {
  list-style: none; margin: 0 auto; padding: 0; display: flex; flex-direction: column;
  gap: 14px; text-align: left; max-width: 600px;
}
.about-list li {
  display: flex; align-items: flex-start; gap: 12px; font-size: 17px; line-height: 1.5;
  font-weight: 600; color: var(--brown-2);
}
.about-list li svg { flex-shrink: 0; margin-top: 2px; }

/* Home: services section */
.services {
  position: relative; z-index: 2; padding: 20px 48px 80px; max-width: 820px; margin: 0 auto;
}
.services h2 { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 34px; margin: 0 0 28px; text-align: center; color: var(--brown); }
.service-panel {
  background: #FFFFFF; border-radius: 20px; box-shadow: 0 4px 14px rgba(59,36,18,0.06);
  overflow: hidden;
}
.service-row {
  display: flex; align-items: center; gap: 14px; padding: 18px 24px; min-height: 32px;
  border-bottom: 1px solid #F3E4D2;
}
.service-row:last-child { border-bottom: none; }
.service-row svg { flex-shrink: 0; }
.service-row .label { font-size: 16px; font-weight: 700; flex: 1; }
.service-row .price {
  flex-shrink: 0; background: var(--cream); color: var(--orange-text); font-weight: 800; font-size: 15px;
  padding: 8px 18px; border-radius: 999px;
}
.service-row .quote-btn {
  flex-shrink: 0; background: var(--brown); color: var(--cream); font-weight: 700; font-size: 14px;
  padding: 8px 18px; border-radius: 999px; text-decoration: none; white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.service-row .quote-btn:hover { background: var(--orange); color: var(--brown); }

/* About page: intro section */
.intro {
  position: relative; z-index: 2; display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center; gap: 24px;
  padding: 24px 48px 40px;
  max-width: 1200px; margin: 0 auto;
}
.intro p {
  font-size: 19px; line-height: 1.5; font-weight: 600; color: var(--brown-2);
  max-width: 480px; margin: 0 0 16px;
}
.intro p.last { margin-bottom: 0; }

/* About page: team section */
.team {
  position: relative; z-index: 2; padding: 20px 48px 90px; max-width: 1100px; margin: 0 auto;
}
.team h2 { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 34px; margin: 0 0 32px; text-align: center; color: var(--brown); }
.team-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px;
}
.team-card {
  background: #FFFFFF; border-radius: 24px; padding: 28px 24px;
  box-shadow: 0 4px 14px rgba(59,36,18,0.06); text-align: center;
}
.team-avatar {
  width: 76px; height: 76px; border-radius: 50%; background: var(--orange); color: var(--brown);
  font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 30px;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.team-card .name { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 20px; margin-bottom: 8px; }
.team-card .bio { font-size: 15px; line-height: 1.5; color: var(--brown-2); margin: 0; font-weight: 600; }

/* Footer (shared) */
footer {
  position: relative; z-index: 2; background: var(--brown); border-radius: 48px 48px 0 0;
  padding: 64px 48px; text-align: center; color: var(--cream);
}
footer .paw { margin-bottom: 8px; }
footer h2 { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 36px; margin: 0 0 8px; line-height: 1.15; }
footer > p.sub { margin: 0 0 8px; font-size: 16px; font-weight: 600; opacity: 0.85; }
footer .email-link {
  display: inline-block; background: var(--orange); color: var(--brown); font-weight: 700; font-size: 17px;
  padding: 16px 34px; border-radius: 999px; text-decoration: none; margin-top: 8px;
  transition: background 0.15s;
}
footer .email-link:hover { background: var(--cream); }
footer .copyright { margin: 32px 0 0; font-size: 14px; opacity: 0.7; font-weight: 600; }

/* Contact confirmation message */
.confirm {
  max-width: 420px; margin: 24px auto 0; font-size: 17px; font-weight: 700; color: var(--orange-text);
  display: none;
}
.confirm.show { display: block; }

/* Contact form (home) */
form#contact-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; text-align: left;
  max-width: 620px; margin: 32px auto 0;
}
form#contact-form .field-full { grid-column: 1 / -1; }
form#contact-form label {
  display: block; font-size: 13px; font-weight: 700; color: var(--label);
  margin-bottom: 6px; letter-spacing: 0.02em;
}
form#contact-form input,
form#contact-form textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 2px solid transparent;
  font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 15px;
  color: var(--brown); background: var(--cream); box-sizing: border-box;
  transition: border-color 0.15s, box-shadow 0.15s;
}
form#contact-form input:focus,
form#contact-form textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(233, 138, 92, 0.45);
}
form#contact-form textarea { resize: vertical; }
form#contact-form button {
  grid-column: 1 / -1; margin-top: 8px; background: var(--orange); color: var(--brown);
  font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 17px;
  padding: 16px 34px; border-radius: 999px; border: none; cursor: pointer;
  transition: background 0.15s;
}
form#contact-form button:hover { background: var(--cream); }

@media (max-width: 720px) {
  nav { padding: 18px 20px; gap: 10px; }
  .nav-links { gap: 14px; font-size: 13px; }
  .hero { grid-template-columns: 1fr; padding: 8px 24px 24px; }
  .intro { grid-template-columns: 1fr; padding: 8px 24px 24px; }
  .hero-img-wrap { order: -1; }
  body.page-home .hero-img-wrap img { max-width: 260px; }
  body.page-about .hero-img-wrap img { max-width: 240px; }
  body.page-home h1.headline { font-size: 48px; }
  body.page-about h1.headline { font-size: 38px; }
  form#contact-form { grid-template-columns: 1fr; }
}
