/* Pet Sitting Knoxville — single shared stylesheet
   Palette comes from the logo (green grass, yellow sun, brown animals).
   Edit the variables below to rebrand. */
:root {
  --green: #2E7D14;        /* links, accents — AA on white */
  --green-bright: #4BAD20; /* logo green, decorative only */
  --green-dark: #235F0F;
  --sun: #FFDE59;          /* logo yellow — primary CTA background */
  --sun-soft: #FFF3C4;
  --brown: #4A2E1F;        /* headings, button text */
  --brown-logo: #623D2B;
  --body: #5c5248;
  --cream: #FAF7EE;        /* alternate section background */
  --white: #fff;
  --radius: 40px;
  --img-radius: 14px;
  --max: 1140px;
}

@font-face {
  font-family: 'Poppins';
  src: url('/fonts/poppins-300.woff2?v=42d3308e3a') format('woff2');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('/fonts/poppins-400.woff2?v=43751174b6') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('/fonts/poppins-700.woff2?v=0bd523f604') format('woff2');
  font-weight: 700;
  font-display: swap;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 300;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--body);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
h1, h2, h3, h4 { color: var(--brown); font-weight: 700; line-height: 1.25; }
h1 { font-size: 42px; }
h2 { font-size: 32px; }
h3 { font-size: 23px; }
h4 { font-size: 18px; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 36px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-sun { background: var(--sun); color: var(--brown); }
.btn-sun:hover { background: #f5cf35; }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-dark); }
.btn-outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn-outline:hover { background: var(--green); color: var(--white); }
.btn-white { background: var(--white); color: var(--brown); }
.btn-white:hover { background: var(--sun-soft); }

/* Header */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.site-header .bar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo img { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav > div { position: relative; }
.nav a {
  color: var(--brown);
  font-size: 15.5px;
  font-weight: 400;
  padding: 8px 0;
  display: inline-block;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--green); }
.nav a[aria-current="page"] { border-bottom: 2px solid var(--green); }
.nav .caret { width: 12px; height: 12px; margin-left: 4px; vertical-align: -1px; }
.dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -12px;
  background: var(--white);
  min-width: 250px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  border-radius: 10px;
  padding: 8px 0;
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 8px 20px; font-size: 15px; border-bottom: none; }
.header-cta { white-space: nowrap; padding: 11px 26px; }

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle svg { width: 28px; height: 28px; stroke: var(--brown); }

/* Sticky mobile call bar */
.call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--green);
  text-align: center;
  padding: 14px;
}
.call-bar a { color: var(--white); font-weight: 700; font-size: 17px; }

/* Home hero — sun arc behind the pets photo echoes the logo */
.hero { background: linear-gradient(180deg, var(--sun-soft) 0%, var(--white) 100%); padding: 64px 0 56px; }
.hero .wrap { display: flex; align-items: center; gap: 56px; }
.hero-text { flex: 1.1; }
.hero-text h1 { font-size: 44px; margin-bottom: 18px; }
.hero-text .lead { font-size: 18px; margin-bottom: 26px; }
.hero-img { flex: 1; position: relative; }
.hero-img::before {
  content: "";
  position: absolute;
  inset: -9%;
  background: radial-gradient(circle at 50% 55%, var(--sun) 0%, rgba(255,222,89,.55) 45%, transparent 72%);
  z-index: 0;
}
.hero-img img { position: relative; z-index: 1; border-radius: 18px; box-shadow: 0 10px 30px rgba(74,46,31,.12); }

/* Interior page hero — green band */
.page-hero { background: linear-gradient(120deg, var(--green-dark), var(--green)); padding: 64px 0; }
.page-hero h1 { color: var(--white); margin: 0; }
.page-hero .crumbs { color: #d7ecc9; font-size: 14px; margin-bottom: 10px; }
.page-hero .crumbs a { color: var(--sun); }
.page-hero p.sub { color: #eaf6e2; max-width: 720px; margin: 12px 0 0; }

/* Sections */
section { padding: 66px 0; }
.section-alt { background: var(--cream); }
.section-green { background: linear-gradient(120deg, var(--green-dark), var(--green)); }
.section-green h1, .section-green h2, .section-green h3, .section-green p { color: var(--white); }
.section-sun { background: var(--sun-soft); }
.center { text-align: center; }
.split { display: flex; gap: 56px; align-items: center; }
.split > * { flex: 1; min-width: 0; }
.split img { border-radius: var(--img-radius); }
.eyebrow {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}
.mt { margin-top: 28px; }

/* Feature checklist */
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 30px; margin: 24px 0; list-style: none; }
.features li { display: flex; align-items: flex-start; gap: 10px; color: var(--brown); font-weight: 400; }
.features svg { width: 18px; height: 18px; fill: var(--green); flex: 0 0 auto; margin-top: 5px; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { background: var(--white); border-radius: var(--img-radius); overflow: hidden; box-shadow: 0 4px 18px rgba(74,46,31,.09); }
.card img { width: 100%; height: 190px; object-fit: cover; }
.card .card-body { padding: 22px; }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card h3 a { color: inherit; }
.card p { margin: 0 0 12px; font-size: 14.5px; }
.card .more { font-weight: 700; font-size: 14.5px; }

/* Steps / grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--sun); color: var(--brown);
  font-size: 24px; font-weight: 700;
}
.step h3, .step h4 { margin: 12px 0 6px; font-size: 19px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: var(--white);
  border: 1px solid #ece5d8;
  border-radius: 12px;
  padding: 16px 22px;
  margin-bottom: 12px;
}
.faq details[open] { border-color: var(--green); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--brown); font-size: 16.5px; }
.faq summary::marker { color: var(--green); }
.faq p { margin: 10px 0 0; }

/* Forms (Coraline embed, lazy-loaded) */
.form-card { background: var(--white); padding: 38px; border-radius: var(--img-radius); box-shadow: 0 6px 24px rgba(74,46,31,.10); }
.coraline-form { margin-top: 18px; }
.coraline-form__placeholder {
  border: 2px dashed var(--green);
  border-radius: 12px;
  padding: 34px 24px;
  text-align: center;
}
.coraline-form__placeholder strong { color: var(--brown); font-size: 17px; }
.coraline-form__load-btn { margin-top: 10px; }

/* Reviews */
.quote { font-size: 21px; font-weight: 400; color: var(--brown); line-height: 1.6; }
.quote-name { margin-top: 16px; font-weight: 700; color: var(--green); }

/* Blog */
.post-list { display: grid; gap: 34px; }
.post-item { display: flex; gap: 30px; align-items: flex-start; background: var(--white); border-radius: var(--img-radius); overflow: hidden; box-shadow: 0 4px 18px rgba(74,46,31,.09); }
.post-item img { width: 300px; height: 210px; object-fit: cover; flex: 0 0 auto; }
.post-item .post-body { padding: 26px 26px 26px 0; }
.post-item h2 { font-size: 23px; margin-bottom: 6px; }
.post-item h2 a { color: inherit; }
.post-meta { font-size: 13px; color: #99907f; margin-bottom: 10px; }
.article { max-width: 780px; margin: 0 auto; }
.article h2 { font-size: 26px; margin: 34px 0 12px; }
.article h3 { font-size: 20px; margin: 26px 0 10px; }
.article ul, .article ol { margin: 0 0 1em 22px; }
.article img { border-radius: var(--img-radius); margin: 20px 0; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 44px; font-weight: 400; }

/* Map */
.map-embed { border: 0; width: 100%; height: 380px; border-radius: var(--img-radius); }
.map-placeholder {
  position: relative;
  background: linear-gradient(160deg, var(--sun-soft), #e3efd8);
  height: 380px;
  border-radius: var(--img-radius);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}
.map-placeholder strong { color: var(--brown); font-size: 17px; }
.map-placeholder button { box-shadow: 0 4px 14px rgba(74,46,31,.2); }

/* Footer */
.site-footer {
  background: var(--white);
  color: var(--body);
  padding: 66px 0 0;
  font-size: 14px;
  border-top: 4px solid var(--sun);
}
.site-footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.1fr; gap: 48px; padding-bottom: 52px; }
.site-footer h3 {
  color: var(--brown);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  padding-bottom: 10px;
  position: relative;
}
.site-footer h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
}
.site-footer ul { list-style: none; margin-top: 14px; }
.site-footer a { color: var(--body); display: inline-block; padding: 4px 0; }
.site-footer a:hover { color: var(--green); }
.site-footer ul a { transition: color .15s, padding-left .15s; }
.site-footer ul a:hover { color: var(--green); padding-left: 6px; }
.site-footer address { font-style: normal; margin-top: 16px; color: #857a6c; }
.site-footer .hours {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #f0ead9;
  margin-top: 2px;
}
.site-footer .hours span:first-child { color: var(--brown); font-weight: 400; }
.footer-brand img { width: 170px; height: auto; margin-bottom: 16px; }
.footer-tagline { color: #857a6c; max-width: 320px; }
.site-footer .footer-call { padding: 13px 34px; margin: 6px 0 4px; font-size: 15px; }
.footer-bottom { border-top: 1px solid #f0ead9; padding: 20px 0; font-size: 13px; color: #99907f; }
.footer-bottom .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.social { display: flex; gap: 12px; margin-top: 22px; }
.social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid #ddd3c2;
  border-radius: 50%;
  transition: background .2s, border-color .2s;
  padding: 0;
}
.social svg { width: 17px; height: 17px; fill: #857a6c; }
.social a:hover { background: var(--green); border-color: var(--green); }
.social a:hover svg { fill: var(--white); }

/* Utility */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: -9999px;
  background: var(--white);
  color: var(--green);
  padding: 10px 16px;
  z-index: 200;
}
.skip-link:focus { left: 10px; top: 10px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Responsive */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .hero-text h1 { font-size: 36px; }
  h1 { font-size: 34px; }
}
@media (max-width: 820px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 24px 20px;
    box-shadow: 0 12px 20px rgba(0,0,0,.1);
  }
  .nav.open { display: flex; }
  .nav > div { width: 100%; }
  .nav a { padding: 10px 0; width: 100%; }
  .dropdown-menu { position: static; display: block; box-shadow: none; padding: 0 0 0 18px; min-width: 0; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .call-bar { display: block; }
  body { padding-bottom: 54px; }
  .hero .wrap { flex-direction: column-reverse; gap: 34px; }
  .hero-text h1 { font-size: 30px; }
  .split { flex-direction: column; gap: 30px; }
  .cards, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .post-item { flex-direction: column; }
  .post-item img { width: 100%; }
  .post-item .post-body { padding: 0 24px 24px; }
  h1 { font-size: 29px; }
  h2 { font-size: 24px; }
  section { padding: 46px 0; }
}
