/* Spring Valley Herbs -- site stylesheet
   Palette and type sampled from the confirmed brand style guide:
   Signal Orange #F1512A, Barn Charcoal #3D3A3B, Field Green #71AC66,
   River Blue #4CB2E8, white background, pale gray section tint. */

:root {
  --charcoal: #3d3a3b;
  --charcoal-soft: #5a5657;
  --orange: #f1512a;
  --orange-dark: #d63f1b;
  --green: #71ac66;
  --green-tint: #eef5ed;
  --blue: #4cb2e8;
  --blue-tint: #eaf7fd;
  --white: #ffffff;
  --pale: #f2f2f2;
  --border: #d8d8d8;
  --radius: 8px;
  --max-width: 1120px;
  --font-heading: "Poppins", "Baloo 2", -apple-system, sans-serif;
  --font-body: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 16px;
  color: var(--charcoal);
}

h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h4 { font-size: 1.2rem; }

p { margin: 0 0 16px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--orange);
  margin: 0 0 12px;
}

.btn {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: var(--font-body);
  transition: background 0.2s ease;
}

.btn:hover { background: var(--orange-dark); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--charcoal);
  padding: 13px 30px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--charcoal);
  cursor: pointer;
  font-size: 1rem;
  font-family: var(--font-body);
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-outline:hover { background: var(--charcoal); color: var(--white); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-branding img {
  width: 48px;
  height: 48px;
}

.site-branding span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--charcoal);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  font-weight: 700;
  color: var(--charcoal);
  padding-bottom: 2px;
}

.main-nav a[aria-current="page"],
.main-nav a:hover {
  color: var(--orange);
  border-bottom: 2px solid var(--orange);
}

.header-phone {
  text-decoration: none;
  font-weight: 700;
  color: var(--white);
  background: var(--orange);
  padding: 10px 20px;
  border-radius: 999px;
  white-space: nowrap;
}

.header-phone:hover { background: var(--orange-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--charcoal);
}

.nav-toggle svg { width: 26px; height: 26px; }

/* Hero */

.hero {
  background: var(--pale);
  padding: 64px 0;
  text-align: center;
}

.hero-logo {
  width: 128px;
  height: 128px;
  margin: 0 auto 24px;
}

.hero h1 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.hero .lede {
  max-width: 620px;
  margin: 0 auto 28px;
  font-size: 1.1rem;
  color: var(--charcoal-soft);
}

/* Why us */

.why-us {
  padding: 64px 0;
}

.why-us h2 {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

@media (max-width: 800px) {
  .why-grid { grid-template-columns: 1fr; }
}

.why-card {
  background: var(--green-tint);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.why-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.why-card p { margin-bottom: 0; color: var(--charcoal-soft); }

/* Brand strip */

.brands {
  padding: 56px 0;
  text-align: center;
  background: var(--pale);
}

.brands h2 { margin-bottom: 40px; }

.brand-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px;
}

.brand-grid figure {
  margin: 0;
  width: 140px;
}

.brand-grid img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--white);
}

/* Testimonials */

.testimonials {
  padding: 64px 0;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 8px;
}

.testimonials .subhead {
  text-align: center;
  color: var(--charcoal-soft);
  max-width: 560px;
  margin: 0 auto 40px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 800px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

.testimonial-card {
  background: var(--blue-tint);
  border-radius: var(--radius);
  padding: 26px;
}

.testimonial-stars {
  color: var(--orange);
  letter-spacing: 2px;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.testimonial-quote {
  margin-bottom: 14px;
  font-style: italic;
}

.testimonial-author {
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-source {
  color: var(--charcoal-soft);
  font-size: 0.85rem;
}

/* Stats */

.stats {
  background: var(--charcoal);
  color: var(--white);
  padding: 48px 0;
  text-align: center;
}

.stats h2 { color: var(--white); margin-bottom: 4px; }
.stats .stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
}

/* Page hero (interior pages) */

.page-hero {
  padding: 56px 0 24px;
  text-align: center;
}

/* About content */

.mission { padding: 0 0 48px; }
.mission .container { max-width: 760px; }

.about-history {
  background: var(--green-tint);
  border-radius: var(--radius);
  padding: 32px;
  margin: 0 0 48px;
}

.about-history .container { max-width: 760px; }

/* Contact */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 24px 0 64px;
  align-items: start;
}

@media (max-width: 800px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.contact-details h2 { margin-bottom: 8px; }

.contact-list {
  list-style: none;
  margin: 24px 0;
  padding: 0;
}

.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-list .icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--orange);
  margin-top: 3px;
}

.contact-list .label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--charcoal-soft);
  margin-bottom: 2px;
}

.contact-list a {
  text-decoration: none;
  font-weight: 700;
}

.contact-list a:hover { text-decoration: underline; }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 24px;
}

.map-embed iframe {
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}

/* Form */

.contact-form-card {
  background: var(--pale);
  border-radius: var(--radius);
  padding: 32px;
}

#contact-form-status {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-weight: 700;
  display: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
}

.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
}

.field textarea { min-height: 130px; resize: vertical; }

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--orange);
  outline-offset: 1px;
}

.honeypot-field {
  position: absolute;
  overflow: hidden;
  height: 1px;
  width: 1px;
  z-index: -1;
  opacity: 0;
}

/* Hours list */

.hours-card {
  background: var(--pale);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 32px;
}

.hours-card p { margin: 0 0 6px; }
.hours-card p:last-child { margin-bottom: 0; }

/* Legal pages */

.legal-page { padding: 0 0 64px; }
.legal-page .container { max-width: 780px; }
.legal-page h2 { margin-top: 40px; }
.legal-page .updated { color: var(--charcoal-soft); font-size: 0.9rem; }

/* Footer */

.site-footer {
  background: var(--charcoal);
  color: var(--white);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

.footer-col h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  text-decoration: none;
}

.footer-brand img { width: 44px; height: 44px; }

.footer-brand span {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--white);
}

.footer-col p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.footer-col a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}

.footer-col a:hover { color: var(--orange); text-decoration: underline; }

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col ul li { margin-bottom: 10px; }

.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

.footer-social a:hover { background: var(--orange); }

.footer-social svg { width: 18px; height: 18px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
}

.footer-bottom a { color: rgba(255,255,255,0.65); text-decoration: underline; }
.footer-bottom a:hover { color: var(--orange); }

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-care {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Mobile nav */

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 16px;
    display: none;
  }

  .main-nav.open { display: flex; }

  .main-nav ul {
    flex-direction: column;
    gap: 16px;
  }

  .header-phone { text-align: center; }
}
