/* =========================================================
   Nature's Pawtners brand stylesheet
   Palette: forest green + warm cream + earthy brown
   ========================================================= */

:root {
  --green-900: #1f3d28;
  --green-700: #2f5d3a;
  --green-600: #3a6e47;
  --green-500: #4a8a5a;
  --green-100: #e6efe7;

  --cream:     #f5efe6;
  --cream-200: #ece3d6;
  --brown-700: #623f35;
  --brown-500: #8a6a5d;

  --ink:       #20231f;
  --ink-soft:  #4a4f48;
  --white:     #ffffff;

  --accent:    #12b76a;

  --radius:    16px;
  --radius-sm: 10px;
  --shadow:    0 1px 2px rgba(31,61,40,.06), 0 12px 32px -12px rgba(31,61,40,.18);
  --shadow-lg: 0 24px 60px -24px rgba(31,61,40,.35);
  --maxw:      1120px;

  --font-display: "Domine", Georgia, serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.01em; color: var(--green-900); }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }
.container.narrow { max-width: 760px; }
.center { text-align: center; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--green-700); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  padding: .7em 1.25em; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-lg { font-size: 1rem; padding: .85em 1.6em; }
.btn-block { width: 100%; }

.btn-primary { background: var(--green-700); color: #fff; box-shadow: 0 8px 20px -8px rgba(47,93,58,.7); }
.btn-primary:hover { background: var(--green-600); box-shadow: 0 12px 26px -8px rgba(47,93,58,.7); transform: translateY(-1px); }

.btn-ghost { background: transparent; color: var(--green-900); border-color: rgba(47,93,58,.3); }
.btn-ghost:hover { border-color: var(--green-700); background: rgba(47,93,58,.06); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245,239,230,.85);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.site-header.scrolled { border-color: var(--cream-200); box-shadow: 0 6px 20px -16px rgba(31,61,40,.6); }

.header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-logo { border-radius: 10px; width: 44px; height: 44px; object-fit: contain; background: var(--cream); }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--green-900); }

.main-nav ul { display: flex; gap: 28px; list-style: none; padding: 0; }
.main-nav a { font-weight: 500; font-size: .95rem; color: var(--ink-soft); position: relative; padding: 4px 0; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--green-700); transition: right .25s ease;
}
.main-nav a:hover { color: var(--green-900); }
.main-nav a:hover::after { right: 0; }

.nav-cta { padding-block: .6em; }

/* hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--green-900); border-radius: 2px; transition: transform .25s ease, opacity .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); }

.mobile-nav { display: none; border-top: 1px solid var(--cream-200); background: var(--cream); }
.mobile-nav ul { list-style: none; padding: 16px clamp(20px,5vw,40px) 24px; display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a { display: block; padding: 12px 4px; font-weight: 500; color: var(--ink-soft); border-bottom: 1px solid var(--cream-200); }
.mobile-nav a.btn { margin-top: 12px; border-bottom: 0; color: #fff; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(56px, 9vw, 110px) 0 clamp(48px, 7vw, 90px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 60% at 85% 10%, rgba(74,138,90,.16), transparent 70%),
    radial-gradient(50% 50% at 0% 100%, rgba(98,63,53,.10), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }

.eyebrow {
  display: inline-block; font-family: var(--font-body); font-weight: 600; font-size: .8rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--green-600);
  background: var(--green-100); padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.eyebrow-light { background: rgba(255,255,255,.14); color: #cfe6d4; }

.hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); font-weight: 700; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-soft); margin-top: 22px; max-width: 36ch; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero-trust { list-style: none; padding: 0; margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero-trust li { display: inline-flex; align-items: center; gap: 9px; font-size: .92rem; color: var(--ink-soft); font-weight: 500; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; box-shadow: 0 0 0 4px rgba(18,183,106,.15); }

.hero-art { display: flex; justify-content: center; }
.hero-art-card {
  position: relative; background: var(--white); border-radius: 28px; padding: clamp(20px, 4vw, 44px);
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.6);
  max-width: 460px; width: 100%;
}
.hero-art-card::after {
  content: ""; position: absolute; inset: 0; border-radius: 28px; pointer-events: none;
  background: linear-gradient(160deg, rgba(74,138,90,.06), transparent 60%);
}
.hero-art-card img { border-radius: 18px; margin-inline: auto; }

/* ---------- generic section ---------- */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section-tint { background: var(--cream-200); }
.section-head { max-width: 680px; margin-inline: auto; margin-bottom: clamp(36px, 5vw, 56px); }
.section h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
.section-lead { color: var(--ink-soft); font-size: 1.08rem; margin-top: 16px; }
#mission h2 { margin-top: 8px; }

/* ---------- cards (3-up) ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--cream-200); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: .98rem; }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.5rem; background: var(--green-100); margin-bottom: 18px;
}

/* ---------- process / steps ---------- */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step {
  position: relative; background: var(--white); border: 1px solid var(--cream-200);
  border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow);
}
.step-num {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  color: #fff; background: var(--green-700); margin-bottom: 18px;
}
.step-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step-body p { color: var(--ink-soft); font-size: .98rem; }

/* ---------- benefits (dark) ---------- */
.section-dark { background: var(--green-900); position: relative; overflow: hidden; }
.section-dark::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(50% 60% at 80% 0%, rgba(74,138,90,.35), transparent 70%);
}
.section-dark .container { position: relative; z-index: 1; }
.section-dark h2 { color: var(--cream); }
.section-dark .section-lead { color: rgba(245,239,230,.78); }
.card-dark { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); box-shadow: none; }
.card-dark:hover { background: rgba(255,255,255,.1); box-shadow: var(--shadow-lg); }
.card-dark h3 { color: var(--cream); }
.card-dark p { color: rgba(245,239,230,.78); }
.card-dark .card-icon { background: rgba(255,255,255,.1); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--white); border: 1px solid var(--cream-200); border-radius: var(--radius-sm);
  padding: 0 22px; box-shadow: var(--shadow); overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; color: var(--green-900);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 1.04rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--font-body); font-weight: 400; font-size: 1.5rem; color: var(--green-600);
  transition: transform .25s ease; line-height: 1; flex: none;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding-bottom: 22px; }
.faq-answer p { color: var(--ink-soft); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-facts { list-style: none; padding: 0; margin-top: 28px; display: flex; flex-direction: column; gap: 20px; }
.contact-facts li { display: flex; flex-direction: column; gap: 4px; }
.contact-fact-label { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green-600); }
.contact-facts a { color: var(--green-700); font-weight: 600; }
.contact-facts a:hover { text-decoration: underline; }

.contact-form-wrap {
  background: var(--white); border: 1px solid var(--cream-200); border-radius: var(--radius);
  padding: clamp(24px, 4vw, 36px); box-shadow: var(--shadow-lg);
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: .9rem; font-weight: 600; color: var(--green-900); }
.field .optional { font-weight: 400; color: var(--brown-500); }
.field input, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--cream-200); border-radius: var(--radius-sm);
  background: var(--cream); transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--green-500); background: #fff;
  box-shadow: 0 0 0 4px rgba(74,138,90,.15);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #d9534f; }
.form-status { font-size: .92rem; font-weight: 500; min-height: 1.2em; margin-top: 4px; }
.form-status.success { color: var(--accent); }
.form-status.error { color: #d9534f; }

/* ---------- footer ---------- */
.site-footer { background: var(--green-900); color: var(--cream); padding-top: 56px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: center; justify-content: space-between; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand .brand-logo { background: var(--cream); }
.footer-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--cream); }
.footer-tag { color: rgba(245,239,230,.7); font-size: .92rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-nav a { color: rgba(245,239,230,.82); font-size: .95rem; font-weight: 500; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; padding: 22px 0 30px; }
.footer-bottom p { color: rgba(245,239,230,.6); font-size: .88rem; }
.back-to-top { color: rgba(245,239,230,.82); font-size: .88rem; font-weight: 600; }
.back-to-top:hover { color: #fff; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .main-nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav.open { display: block; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy .eyebrow, .hero .lead { margin-inline: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-art { order: -1; }
  .cards-3, .steps { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .brand-name { font-size: 1rem; }
  .hero-trust { flex-direction: column; align-items: center; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   Multi-page additions
   ========================================================= */

/* active nav link */
.main-nav a.active { color: var(--green-900); }
.main-nav a.active::after { right: 0; }
.mobile-nav a.active { color: var(--green-900); font-weight: 600; }

/* ---------- compact sub-page hero ---------- */
.page-hero { position: relative; padding: clamp(48px, 7vw, 84px) 0 clamp(36px, 5vw, 56px); overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(55% 70% at 90% 0%, rgba(74,138,90,.14), transparent 70%),
    radial-gradient(45% 60% at 0% 100%, rgba(98,63,53,.08), transparent 70%);
}
.page-hero .container { max-width: 820px; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 700; }
.page-hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.18rem); color: var(--ink-soft); margin-top: 18px; max-width: 60ch; }
.page-hero .hero-actions { margin-top: 28px; }

/* breadcrumb-ish back link */
.page-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---------- prose / readable text blocks ---------- */
.prose p { color: var(--ink-soft); font-size: 1.06rem; margin-top: 16px; max-width: 68ch; }
.prose p:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-top: 8px; }
.prose h3 { font-size: 1.25rem; margin-top: 28px; color: var(--green-900); }
.prose a { color: var(--green-700); font-weight: 600; }
.prose a:hover { text-decoration: underline; }

/* generic two-column body grid (text + aside) */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: start; }

/* ---------- checkmark feature list ---------- */
.feature-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.feature-list li { position: relative; padding-left: 36px; color: var(--ink-soft); font-size: 1.02rem; }
.feature-list li strong { color: var(--green-900); font-weight: 600; }
.feature-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  font-size: .8rem; font-weight: 700; color: #fff; background: var(--green-600);
}

/* ---------- do / don't columns ---------- */
.do-dont { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.do-dont .panel { background: var(--white); border: 1px solid var(--cream-200); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); }
.do-dont .panel h3 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin-bottom: 18px; }
.do-dont ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.do-dont li { position: relative; padding-left: 30px; color: var(--ink-soft); }
.panel.will li::before { content: "✓"; color: var(--green-600); }
.panel.wont li::before { content: "✕"; color: #c0564f; }
.do-dont li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.panel.wont { background: #fbf6f4; border-color: #efdfdb; }

/* ---------- category grid ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.cat-card {
  background: var(--white); border: 1px solid var(--cream-200); border-radius: var(--radius-sm);
  padding: 22px 20px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 14px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.cat-card .cat-emoji { font-size: 1.5rem; width: 44px; height: 44px; border-radius: 12px; background: var(--green-100); display: grid; place-items: center; flex: none; }
.cat-card h3 { font-size: 1.02rem; font-family: var(--font-body); font-weight: 600; color: var(--green-900); }

/* tag pills (not-a-fit list) */
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.tag { background: #fbf6f4; border: 1px solid #efdfdb; color: var(--brown-700); padding: 8px 16px; border-radius: 999px; font-size: .92rem; font-weight: 500; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--green-900); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 100% at 50% 0%, rgba(74,138,90,.4), transparent 70%); }
.cta-band .container { position: relative; z-index: 1; text-align: center; padding-block: clamp(48px, 7vw, 80px); max-width: 720px; }
.cta-band h2 { color: var(--cream); font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.cta-band p { color: rgba(245,239,230,.8); font-size: 1.08rem; margin-top: 14px; }
.cta-band .hero-actions { justify-content: center; margin-top: 28px; }
.cta-band .btn-ghost { color: var(--cream); border-color: rgba(255,255,255,.35); }
.cta-band .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ---------- select styled like inputs ---------- */
.field select {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--cream-200); border-radius: var(--radius-sm);
  background: var(--cream); transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232f5d3a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
.field select:focus { outline: none; border-color: var(--green-500); background-color: #fff; box-shadow: 0 0 0 4px rgba(74,138,90,.15); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field .hint { font-size: .82rem; color: var(--brown-500); font-weight: 400; }

/* "what to send" info list */
.send-list { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-top: 8px; }
.send-list li { position: relative; padding-left: 26px; color: var(--ink-soft); }
.send-list li::before { content: "→"; position: absolute; left: 0; color: var(--green-600); font-weight: 700; }

@media (max-width: 760px) {
  .split, .do-dont, .form-row, .send-list { grid-template-columns: 1fr; }
}
