/* =========================================================================
   Pawsintails.com — Stylesheet
   Palette pulled from logo: warm brown, rust orange, cream, off-white.
   ========================================================================= */

:root {
  --brown-900: #2A1810;
  --brown-800: #3D2418;
  --brown-700: #5C3825;
  --brown-500: #8B5A3C;
  --rust-500:  #E87B3A;
  --rust-400:  #F09660;
  --rust-100:  #FCE5D2;
  --cream-100: #FAF6F0;
  --cream-200: #F4EBDD;
  --cream-300: #EADCC4;
  --white:     #FFFFFF;
  --ink:       #1F1410;
  --ink-soft:  #5C4A3F;
  --line:      #E8DCC9;
  --pink-200:  #FFD7D0;
  --green-500: #4A8B5C;

  --shadow-sm: 0 2px 6px rgba(61, 36, 24, 0.06);
  --shadow-md: 0 8px 24px rgba(61, 36, 24, 0.10);
  --shadow-lg: 0 20px 50px rgba(61, 36, 24, 0.15);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream-100);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--rust-500); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brown-800); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--brown-900); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1.05; font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); line-height: 1.15; }
h3 { font-size: 1.25rem; line-height: 1.3; }

em { font-style: italic; color: var(--rust-500); }

/* ---------- Disclosure bar ---------- */
.disclosure-bar {
  background: var(--brown-900);
  color: var(--cream-200);
  font-size: 0.82rem;
  padding: 10px var(--gutter);
  text-align: center;
}
.disclosure-bar a { color: var(--rust-400); text-decoration: underline; }
.disclosure-bar a:hover { color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
}
.brand img { height: 168px; width: auto; }
.primary-nav { display: flex; gap: 32px; }
.primary-nav a {
  color: var(--brown-800);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}
.primary-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--rust-500);
  transition: width .25s ease;
}
.primary-nav a:hover::after { width: 100%; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--brown-800); margin: 5px 0; transition: transform .3s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  text-align: center;
  white-space: nowrap;
}
.btn-primary {
  background: var(--rust-500);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(232, 123, 58, 0.35);
}
.btn-primary:hover {
  background: var(--brown-800);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(61, 36, 24, 0.25);
}
.btn-ghost {
  background: transparent;
  color: var(--brown-800);
  border-color: var(--brown-800);
}
.btn-ghost:hover { background: var(--brown-800); color: var(--cream-100); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--gutter);
  align-items: center;
  padding: clamp(60px, 9vw, 120px) var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
  overflow: hidden;
}
.hero-bg-shape {
  position: absolute; inset: -20% -10% auto auto;
  width: 70%; height: 120%;
  background: radial-gradient(circle at center, var(--rust-100) 0%, transparent 65%);
  z-index: 0;
  pointer-events: none;
  animation: float 12s ease-in-out infinite;
}
.hero-content { position: relative; z-index: 1; }
.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--rust-500);
  font-weight: 600;
  background: var(--rust-100);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.18rem;
  color: var(--ink-soft);
  max-width: 540px;
  margin: 24px 0 36px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust { display: flex; align-items: center; gap: 12px; color: var(--brown-700); font-size: 0.9rem; }
.hero-trust span:first-child { color: var(--rust-500); letter-spacing: 2px; }
.trust-text { font-weight: 500; }

.hero-visual {
  position: relative;
  min-height: 380px;
}
.float-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.5px);
}
.float-circle.c1 {
  width: 340px; height: 340px;
  background: radial-gradient(circle, var(--rust-400) 0%, var(--rust-500) 100%);
  top: 8%; right: 5%;
  opacity: 0.85;
  animation: float 8s ease-in-out infinite;
}
.float-circle.c2 {
  width: 180px; height: 180px;
  background: var(--brown-500);
  bottom: 15%; right: 30%;
  opacity: 0.7;
  animation: float 10s ease-in-out infinite reverse;
}
.float-circle.c3 {
  width: 120px; height: 120px;
  background: var(--cream-300);
  top: 35%; right: 50%;
  animation: float 14s ease-in-out infinite;
}
.paw-print {
  position: absolute;
  font-size: 2rem;
  opacity: 0.7;
  animation: paw-walk 6s ease-in-out infinite;
}
.paw-print.p1 { top: 20%; left: 10%; animation-delay: 0s; transform: rotate(-15deg); }
.paw-print.p2 { top: 55%; left: 25%; animation-delay: 1.5s; transform: rotate(20deg); }
.paw-print.p3 { bottom: 15%; left: 40%; animation-delay: 3s; transform: rotate(-5deg); }

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-20px) translateX(10px); }
}
@keyframes paw-walk {
  0%, 100% { opacity: 0.4; transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { opacity: 0.9; transform: translateY(-8px) rotate(var(--r, 0deg)); }
}

/* ---------- Section title ---------- */
.section-title {
  text-align: center;
  margin-bottom: 12px;
}
.section-head { max-width: 700px; margin: 0 auto 48px; text-align: center; }
.section-sub { color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- Species toggle ---------- */
.species-toggle-section {
  padding: clamp(50px, 7vw, 80px) var(--gutter) 20px;
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
}
.species-toggle {
  display: inline-flex;
  gap: 8px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  margin-top: 32px;
  box-shadow: var(--shadow-sm);
}
.species-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--brown-700);
  border: none;
  cursor: pointer;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  transition: background .25s ease, color .25s ease, transform .15s ease;
}
.species-tab:hover { color: var(--rust-500); }
.species-tab.active {
  background: var(--brown-800);
  color: var(--cream-100);
  box-shadow: 0 4px 14px rgba(61, 36, 24, 0.18);
}
.species-icon { font-size: 1.4rem; line-height: 1; }
.species-label { font-family: var(--serif); font-weight: 600; }

@media (max-width: 480px) {
  .species-toggle { width: 100%; justify-content: stretch; }
  .species-tab { flex: 1; padding: 12px 14px; font-size: 0.95rem; }
}

/* ---------- Categories ---------- */
.categories {
  padding: clamp(60px, 8vw, 100px) var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.category-tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: all .25s ease;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--brown-800);
  font-weight: 600;
  font-size: 0.92rem;
}
.category-tile:hover {
  transform: translateY(-4px);
  border-color: var(--rust-400);
  box-shadow: var(--shadow-md);
  background: var(--rust-100);
}
.category-tile .icon { font-size: 2rem; line-height: 1; }

/* ---------- Products ---------- */
.products {
  padding: clamp(60px, 8vw, 100px) var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}
.filter-bar {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px; margin-bottom: 40px;
}
.filter-pill {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--brown-700);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
}
.filter-pill:hover { border-color: var(--rust-400); color: var(--rust-500); }
.filter-pill.active {
  background: var(--brown-800);
  color: var(--cream-100);
  border-color: var(--brown-800);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--rust-400);
}
.product-image {
  aspect-ratio: 4 / 3;
  background: var(--cream-200);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-image img { width: 100%; height: 100%; object-fit: contain; padding: 20px; transition: transform .4s ease; }
.product-card:hover .product-image img { transform: scale(1.06); }
.product-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--rust-500); color: var(--white);
  font-size: 0.7rem; font-weight: 700;
  padding: 4px 10px; border-radius: var(--radius-pill);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.product-badge.sample { background: var(--brown-500); }
.product-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product-brand {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--rust-500); font-weight: 600; margin-bottom: 6px;
}
.product-name { font-family: var(--serif); font-size: 1.18rem; line-height: 1.25; margin-bottom: 10px; color: var(--brown-900); }
.product-blurb { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 16px; flex: 1; }
.product-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.product-rating { color: var(--rust-500); font-size: 0.9rem; }
.product-rating .no-rating { color: var(--ink-soft); font-style: italic; font-size: 0.82rem; }
.product-price { font-weight: 700; color: var(--brown-800); font-size: 1.05rem; }
.product-cta {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--brown-800); color: var(--cream-100);
  padding: 12px 16px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.9rem;
  transition: background .2s, color .2s;
}
.product-cta:hover { background: var(--rust-500); color: var(--white); }
.product-network {
  font-size: 0.72rem; color: var(--ink-soft);
  text-align: center; margin-top: 8px;
  text-transform: uppercase; letter-spacing: 0.08em;
}

.products-footnote {
  text-align: center; margin-top: 32px;
  font-size: 0.85rem; color: var(--ink-soft);
}

/* ---------- Guides ---------- */
.guides {
  padding: clamp(60px, 8vw, 100px) var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
  background: var(--cream-200);
  border-radius: var(--radius-lg);
  margin-bottom: 80px;
}
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.guide-card {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.guide-card h3 { margin-bottom: 10px; }
.guide-card p { color: var(--ink-soft); font-size: 0.95rem; }
.guide-badge {
  display: inline-block;
  background: var(--rust-100); color: var(--rust-500);
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em;
  padding: 4px 10px; border-radius: var(--radius-pill);
  margin-bottom: 14px; font-weight: 700;
}

/* ---------- Videos ---------- */
.videos {
  padding: clamp(60px, 8vw, 100px) var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}
.video-placeholder {
  background: linear-gradient(135deg, var(--brown-800) 0%, var(--brown-900) 100%);
  color: var(--cream-200);
  border-radius: var(--radius-lg);
  padding: 80px 32px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  position: relative;
  overflow: hidden;
}
.video-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(232, 123, 58, 0.25), transparent 50%);
  pointer-events: none;
}
.play-icon {
  width: 80px; height: 80px;
  background: var(--rust-500);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  box-shadow: 0 10px 30px rgba(232, 123, 58, 0.45);
  position: relative; z-index: 1;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(232, 123, 58, 0.45), 0 0 0 0 rgba(232, 123, 58, 0.5); }
  70% { box-shadow: 0 10px 30px rgba(232, 123, 58, 0.45), 0 0 0 20px rgba(232, 123, 58, 0); }
}
.video-placeholder p { position: relative; z-index: 1; font-size: 1.05rem; }
.video-placeholder .btn { position: relative; z-index: 1; background: var(--white); color: var(--brown-800); border-color: var(--white); }
.video-placeholder .btn:hover { background: var(--rust-500); color: var(--white); border-color: var(--rust-500); }

/* ---------- About ---------- */
.about {
  padding: clamp(60px, 8vw, 100px) var(--gutter);
}
.about-inner {
  max-width: 760px; margin: 0 auto; text-align: center;
}
.about-inner p { font-size: 1.08rem; color: var(--ink-soft); margin-top: 20px; }

/* ---------- Newsletter ---------- */
.newsletter {
  padding: 40px var(--gutter) 100px;
  max-width: var(--container);
  margin: 0 auto;
}
.newsletter-card {
  background: linear-gradient(135deg, var(--rust-500) 0%, var(--rust-400) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.newsletter-card h2 { color: var(--white); margin-bottom: 12px; }
.newsletter-card p { opacity: 0.95; margin-bottom: 28px; font-size: 1.05rem; }
.newsletter-form {
  display: flex; gap: 10px; max-width: 460px; margin: 0 auto; flex-wrap: wrap; justify-content: center;
}
.newsletter-form input {
  flex: 1; min-width: 220px;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  border: none;
  font-family: var(--sans); font-size: 1rem;
}
.newsletter-form input:focus { outline: 3px solid var(--brown-800); outline-offset: 2px; }
.newsletter-form .btn-primary { background: var(--brown-900); box-shadow: none; }
.newsletter-form .btn-primary:hover { background: var(--brown-800); transform: none; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brown-900);
  color: var(--cream-200);
  padding: 60px var(--gutter) 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--container);
  margin: 0 auto 40px;
}
.footer-col h4 { color: var(--cream-100); margin-bottom: 16px; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.1em; }
.footer-col a { display: block; color: var(--cream-200); padding: 4px 0; font-size: 0.92rem; opacity: 0.85; transition: opacity .2s, color .2s; }
.footer-col a:hover { opacity: 1; color: var(--rust-400); }
.footer-logo { height: 64px; width: auto; background: var(--cream-100); padding: 6px; border-radius: var(--radius-sm); margin-bottom: 12px; }
.footer-tag { font-style: italic; opacity: 0.8; font-size: 0.92rem; }
.footer-bottom {
  max-width: var(--container); margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid rgba(250, 246, 240, 0.1);
  text-align: center;
  font-size: 0.82rem;
  opacity: 0.75;
}
.footer-disclosure { margin-top: 10px; font-size: 0.78rem; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-content { order: 1; }
  .hero-visual { order: 0; min-height: 280px; }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; }
  .primary-nav { display: none; }
  .primary-nav.is-open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream-100); padding: 20px var(--gutter);
    gap: 16px; border-bottom: 1px solid var(--line);
  }
  .nav-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-logo { margin-left: auto; margin-right: auto; }
  .footer-col a { padding: 6px 0; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
