/* ============================================
   EARTHWISE PET SOUTH LAMAR — BRAND STYLESHEET
   Colors from Canva Brand Kit
   ============================================ */

:root {
  /* Brand Colors */
  --green:        #86a383;   /* sage green — primary accent */
  --green-dark:   #42504a;   /* dark forest — backgrounds, headers */
  --green-deep:   #4d6d36;   /* deep olive — CTAs, buttons */
  --green-light:  #c7d1c0;   /* pale sage — tints, backgrounds */
  --white:        #ffffff;
  --cream:        #f7f5f0;   /* warm off-white background */
  --brown:        #5c3d2e;   /* warm brown for accents */

  /* GROOMBAR Palette — grooming page only */
  --groom-purple:       #8e71b4;
  --groom-purple-hover: #7558a0;
  --groom-purple-light: #d8cce7;
  --groom-gold:         #f3d76c;
  --groom-black:        #272727;

  /* Semantic roles */
  --color-bg:          var(--cream);
  --color-surface:     var(--white);
  --color-surface-2:   #f0ede8;
  --color-border:      #d8d4cc;
  --color-text:        #2a2a28;
  --color-text-muted:  #5a5a58;
  --color-text-faint:  #9a9a98;
  --color-text-inverse: var(--white);
  --color-primary:     var(--green-deep);
  --color-primary-hover: #3a5228;
  --color-accent:      var(--green);
  --color-header-bg:   var(--green-dark);

  /* Type scale */
  --text-xs:   clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-hero: clamp(2.5rem, 1rem + 5vw, 5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;

  /* Radii */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1.25rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(42,42,40,0.08);
  --shadow-md: 0 4px 16px rgba(42,42,40,0.10);
  --shadow-lg: 0 12px 40px rgba(42,42,40,0.13);

  /* Transitions */
  --transition: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Fonts */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;
}

/* ============ BASE RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  min-height: 100dvh;
}
img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
h1,h2,h3,h4,h5,h6 { text-wrap: balance; line-height: 1.15; font-family: var(--font-display); }
p, li, figcaption { text-wrap: pretty; max-width: 72ch; }
ul[role='list'], ol[role='list'] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; }
::selection { background: rgba(134,163,131,0.25); }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; border-radius: var(--radius-sm); }

/* ============ LAYOUT UTILITIES ============ */
.container { width: 100%; max-width: var(--content-wide); margin-inline: auto; padding-inline: var(--space-6); }
.container--narrow { max-width: var(--content-narrow); }
.container--default { max-width: var(--content-default); }

/* ============ NAVIGATION ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-header-bg);
  box-shadow: var(--shadow-md);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-4);
  gap: var(--space-6);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--white);
}
.nav__logo-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}
.nav__logo-sub {
  font-size: var(--text-xs);
  color: var(--green-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
}
.nav__links a {
  text-decoration: none;
  color: var(--green-light);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--white); }
.nav__cta {
  background: var(--green-deep);
  color: var(--white) !important;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  font-weight: 600 !important;
  transition: background var(--transition) !important;
}
.nav__cta:hover { background: #3a5228 !important; }
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-2);
  color: var(--white);
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: var(--transition);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--green-dark);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #42504a 0%, #2d3830 60%, #1e2820 100%);
}
.hero__bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  mix-blend-mode: luminosity;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(42,50,45,0.85) 50%, rgba(42,50,45,0.3) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding-block: var(--space-20);
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: var(--space-5);
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--green);
}
.hero__heading {
  font-size: var(--text-hero);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-6);
  line-height: 1.05;
}
.hero__heading em {
  font-style: italic;
  color: var(--green-light);
}
.hero__subtext {
  font-size: var(--text-lg);
  color: var(--green-light);
  margin-bottom: var(--space-8);
  line-height: 1.6;
  max-width: 56ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--green-deep);
  color: var(--white);
  border-color: var(--green-deep);
}
.btn--primary:hover { background: var(--color-primary-hover); border-color: var(--color-primary-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn--outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.btn--green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn--green:hover { background: #6d8a6a; border-color: #6d8a6a; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--dark {
  background: var(--green-dark);
  color: var(--white);
  border-color: var(--green-dark);
}
.btn--dark:hover { background: #323d37; }

/* ============ SECTION HEADERS ============ */
.section-header { text-align: center; margin-bottom: var(--space-12); }
.section-header__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: var(--space-3);
}
.section-header__title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}
.section-header__subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 60ch;
  margin-inline: auto;
}

/* ============ SERVICES GRID ============ */
.services { padding-block: clamp(var(--space-16), 8vw, var(--space-24)); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}
.service-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.service-card__image {
  height: 220px;
  object-fit: cover;
  width: 100%;
}
.service-card__image-placeholder {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.service-card__body {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.service-card__label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-deep);
}
.service-card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
}
.service-card__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
  flex: 1;
}
.service-card__footer {
  margin-top: var(--space-4);
}

/* ============ ABOUT / LOCAL STORY ============ */
.about {
  background: var(--green-dark);
  color: var(--white);
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
}
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.about__eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: var(--space-4);
}
.about__title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-6);
}
.about__title em { font-style: italic; color: var(--green-light); }
.about__text {
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-5);
  line-height: 1.7;
  max-width: 62ch;
}
.about__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(199,209,192,0.15);
  border: 1px solid rgba(199,209,192,0.3);
  color: var(--green-light);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
}
.about__image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.about__image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-xl);
}
.about__image-placeholder {
  width: 100%;
  height: 500px;
  background: rgba(134,163,131,0.2);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
}

/* ============ CTA BANNER ============ */
.cta-banner {
  background: linear-gradient(135deg, var(--green-deep) 0%, #2d4a1e 100%);
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
  text-align: center;
  color: var(--white);
}
.cta-banner__title {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--white);
}
.cta-banner__sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-8);
  max-width: 56ch;
  margin-inline: auto;
}
.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

/* ============ PAGE HERO (interior pages) ============ */
.page-hero {
  background: var(--green-dark);
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
  text-align: center;
}
.page-hero__eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: var(--space-3);
}
.page-hero__title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-4);
}
.page-hero__sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.75);
  max-width: 60ch;
  margin-inline: auto;
}

/* ============ FEATURES LIST ============ */
.features { padding-block: clamp(var(--space-16), 8vw, var(--space-24)); }
.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-8);
}
.feature-item { display: flex; flex-direction: column; gap: var(--space-3); }
.feature-item__icon {
  width: 48px;
  height: 48px;
  background: var(--green-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.feature-item__title { font-size: var(--text-lg); font-weight: 700; }
.feature-item__desc { color: var(--color-text-muted); font-size: var(--text-base); }

/* ============ IFRAME EMBED ============ */
.iframe-section {
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
  background: var(--color-surface-2, #f0ede8);
}
.iframe-section__header {
  text-align: center;
  margin-bottom: var(--space-8);
}
.iframe-section__title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.iframe-section__sub {
  color: var(--color-text-muted);
  font-size: var(--text-base);
}
.iframe-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}
.iframe-wrap iframe {
  width: 100%;
  min-height: 700px;
  border: none;
  display: block;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--green-dark);
  color: var(--green-light);
  padding-block: var(--space-12);
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-12);
}
.footer__brand-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-2);
}
.footer__tagline {
  color: var(--green-light);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
}
.footer__address {
  font-size: var(--text-sm);
  color: rgba(199,209,192,0.7);
  line-height: 1.7;
  font-style: normal;
}
.footer__social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(199,209,192,0.1);
  border-radius: var(--radius-full);
  text-decoration: none;
  color: var(--green-light);
  transition: background var(--transition), color var(--transition);
}
.footer__social-link:hover { background: var(--green-deep); color: var(--white); }
.footer__heading {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--space-4);
}
.footer__links { display: flex; flex-direction: column; gap: var(--space-2); }
.footer__links a {
  text-decoration: none;
  color: rgba(199,209,192,0.7);
  font-size: var(--text-sm);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid rgba(199,209,192,0.15);
  margin-top: var(--space-10);
  padding-top: var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  color: rgba(199,209,192,0.5);
}

/* ============ FLOATING CTA BAR ============ */
.sticky-cta {
  position: fixed;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  background: var(--green-dark);
  border-radius: var(--radius-full);
  padding: var(--space-3) var(--space-5);
  display: flex;
  gap: var(--space-3);
  align-items: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(199,209,192,0.2);
  white-space: nowrap;
}
.sticky-cta .btn {
  padding: 0.55rem 1.1rem;
  font-size: var(--text-xs);
  border-radius: var(--radius-full);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}
.sticky-cta .btn--groom {
  background: #8e71b4;
  color: #fff;
}
.sticky-cta .btn--groom:hover {
  background: #7558a0;
  transform: translateY(-1px);
}
.sticky-cta .btn--shop {
  background: var(--green);
  color: #fff;
}
.sticky-cta .btn--shop:hover {
  background: var(--green-deep);
  transform: translateY(-1px);
}

/* ============ TESTIMONIALS ============ */
.testimonials {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
  background: var(--green-light);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
}
.testimonial-card__stars { color: #f5a623; font-size: var(--text-base); margin-bottom: var(--space-3); letter-spacing: 2px; }
.testimonial-card__text {
  color: var(--color-text);
  font-size: var(--text-base);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: var(--space-5);
}
.testimonial-card__author {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--green-deep);
}
.testimonial-card__pet {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .about__inner { grid-template-columns: 1fr; }
  .about__image-placeholder, .about__image { height: 300px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav__links.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    top: 70px;
    background: var(--green-dark);
    padding: var(--space-8);
    z-index: 99;
    gap: var(--space-6);
    align-items: flex-start;
  }
  .nav__hamburger { display: flex; }
  .sticky-cta { display: none; }
  .footer__inner { grid-template-columns: 1fr; gap: var(--space-8); }
  .hero__content { max-width: 100%; }
  .footer__bottom { flex-direction: column; gap: var(--space-3); text-align: center; }
}
