/* ── VARIABLES ── */
:root {
  --green-dark:    #1A2E0E;
  --green-primary: #2D5016;
  --green-medium:  #3D6B20;
  --green-light:   #5A8C36;
  --brown-dark:    #4A2E1A;
  --brown-primary: #6B4A2A;
  --gold:          #C8A84B;
  --gold-light:    #E0C170;
  --cream:         #F6F0E4;
  --cream-dark:    #EDE3CE;
  --white:         #FFFFFF;
  --text-dark:     #1C1A0F;
  --text-medium:   #4A3A28;
  --text-light:    #7A6A52;
  --border:        #D4C8A8;

  --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.18);

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;

  --transition: 0.3s ease;
  --font-heading: 'Merriweather', Georgia, serif;
  --font-body:    'Raleway', sans-serif;
  --font-display: 'Cinzel', serif;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

/* ── CONTAINER ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green-primary);
  color: var(--white);
  border-color: var(--green-primary);
}
.btn-primary:hover {
  background: var(--green-medium);
  border-color: var(--green-medium);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}
/* Dark variant for use on cream / light backgrounds where the white-on-
   transparent .btn-outline disappears. Same shape, dark border + text. */
.btn-outline-dark {
  background: transparent;
  color: var(--text-dark, #1a1a1a);
  border-color: var(--text-dark, #1a1a1a);
}
.btn-outline-dark:hover {
  background: var(--text-dark, #1a1a1a);
  color: var(--white, #fff);
}
.btn-gold {
  background: var(--gold);
  color: var(--text-dark);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}
.btn-full { width: 100%; }
.btn-sm { padding: 9px 20px; font-size: 0.85rem; }

/* ── SECTION COMMON ── */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green-medium);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-right {
  transform: translateX(40px);
}
.reveal-right.visible {
  transform: none;
}

/* ── LOADING STATE ── */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 60px 20px;
  color: var(--text-light);
  width: 100%;
  grid-column: 1 / -1;
}
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--cream-dark);
  border-top-color: var(--green-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── PLACEHOLDER IMAGES ── */
.img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--cream-dark) 0%, var(--cream) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 0.85rem;
}
.img-placeholder .placeholder-icon { font-size: 3rem; }

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(26, 46, 14, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(200, 168, 75, 0.2);
  transition: all var(--transition);
}
#navbar.scrolled {
  background: rgba(26, 46, 14, 0.98);
  box-shadow: var(--shadow-md);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
}
.nav-logo-img {
  height: 58px;
  width: auto;
  display: block;
  border-radius: 50%;
  transition: transform var(--transition);
}
.nav-brand:hover .nav-logo-img {
  transform: scale(1.05);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  letter-spacing: 0.3px;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
.nav-links .nav-cta {
  background: var(--gold);
  color: var(--text-dark);
  font-weight: 700;
  padding: 8px 18px;
}
.nav-links .nav-cta:hover {
  background: var(--gold-light);
}

/* ── Resources dropdown ─────────────────────────────────────────────────
   Desktop: click the toggle to open a small panel below the nav bar.
   Closing handled by main.js (outside-click + Escape + child-link-click).
   Mobile: panel renders inline inside the slide-down hamburger menu,
   indented under the toggle. Same .open class controls visibility.
   ──────────────────────────────────────────────────────────────────── */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  background: none;
  border: none;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.3px;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle[aria-expanded="true"] {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
.nav-dropdown-caret {
  font-size: 0.7em;
  transition: transform var(--transition);
}
.nav-dropdown-toggle[aria-expanded="true"] .nav-dropdown-caret {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--green-dark, #1A2E0E);
  border: 1px solid rgba(200, 168, 75, 0.3);
  border-radius: var(--radius-sm);
  min-width: 180px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  display: none;
  z-index: 100;
}
.nav-dropdown-menu.open { display: block; }
.nav-dropdown-menu li { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 8px 12px;
  white-space: nowrap;
  border-radius: var(--radius-sm);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    linear-gradient(160deg,
      #1A2E0E 0%,
      #2D5016 25%,
      #3D6B20 45%,
      #4A7C2F 55%,
      #6B8C47 70%,
      #8B6914 85%,
      #6B4A2A 100%
    );
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(200,168,75,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(45,80,22,0.4) 0%, transparent 50%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 46, 14, 0.55);
}
/* When a real photo is set as bg, the CSS gradient is still visible underneath — this ensures text stays readable */
.hero[style*="background-image"] {
  background-blend-mode: multiply;
}
/* Watermark mode (set by main.js when admin → Page Content → Hero photo
   "Display as watermark" is on). Heavily darkens the overlay so the
   uploaded image becomes a faint brand mark behind crisp foreground
   text. JS also forces backgroundSize to 40% in this mode. */
.hero.hero-bg-watermark .hero-overlay {
  background: rgba(26, 46, 14, 0.82);
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  padding: 120px 24px 80px;
  max-width: 860px;
}
.hero-eyebrow {
  font-family: var(--font-display);
  font-size: clamp(0.75rem, 1.5vw, 0.9rem);
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s ease forwards;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  opacity: 0;
  animation: fadeUp 0.8s 0.4s ease forwards;
}
.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  margin-bottom: 48px;
  letter-spacing: 0.5px;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s ease forwards;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s ease forwards;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeUp 1s 1.2s ease forwards;
  opacity: 0;
}
.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255,255,255,0.4);
  border-bottom: 2px solid rgba(255,255,255,0.4);
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(4px); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════ */
.section-about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text .section-title { text-align: left; }
.about-text .section-eyebrow { display: block; margin-bottom: 8px; }
.about-body {
  color: var(--text-medium);
  margin: 24px 0 36px;
  font-size: 1rem;
  line-height: 1.85;
}
.about-body p + p { margin-top: 16px; }

.about-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
  background: var(--cream-dark);
}
.about-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cream-dark), var(--cream));
  color: var(--text-light);
  font-size: 0.9rem;
  gap: 12px;
}
.about-img-placeholder .placeholder-icon { font-size: 4rem; }
.about-image { position: relative; }
.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--green-primary);
  color: var(--white);
  border-radius: 50%;
  width: 120px;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  text-align: center;
  padding: 12px;
}
.badge-years {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
  color: var(--gold);
}
.badge-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.3;
  margin-top: 4px;
}

/* ═══════════════════════════════════════════
   OUR DOGS
═══════════════════════════════════════════ */
.section-dogs {
  background: var(--cream);
}
.dogs-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
}
.tab-btn {
  padding: 10px 28px;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--text-medium);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.tab-btn:hover { border-color: var(--green-primary); color: var(--green-primary); }
.tab-btn.active {
  background: var(--green-primary);
  border-color: var(--green-primary);
  color: var(--white);
}

.dogs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
}
.dog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.dog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.dog-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--cream-dark);
  position: relative;
}
.dog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.dog-card:hover .dog-card-img img { transform: scale(1.05); }
.dog-card-img .img-placeholder { position: absolute; inset: 0; }
.dog-type-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--green-primary);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 50px;
}
.dog-card-body { padding: 24px; }
.dog-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.dog-registered {
  font-size: 0.82rem;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 12px;
}
.dog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.dog-meta-tag {
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 50px;
  background: var(--cream);
  color: var(--text-medium);
  font-weight: 500;
}
.dog-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dog-titles {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 600;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
  grid-column: 1 / -1;
}
.empty-state p { font-size: 1rem; margin-top: 8px; }

/* ═══════════════════════════════════════════
   PUPPIES
═══════════════════════════════════════════ */
.section-puppies { background: var(--white); }

.litters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}
.litter-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.litter-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.litter-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  background: var(--cream-dark);
}
.litter-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.litter-card-img .img-placeholder { position: absolute; inset: 0; }
.litter-status {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 50px;
}
.status-available { background: #2ecc71; color: #fff; }
.status-upcoming  { background: var(--gold); color: var(--text-dark); }
.status-reserved  { background: #e67e22; color: #fff; }
.status-sold_out  { background: #95a5a6; color: #fff; }

.litter-card-body { padding: 24px; }

/* Make the main card photo a button that opens the lightbox. The button
   resets are to kill default <button> styling so only the image shows. */
.litter-card-img-btn {
  all: unset;
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.litter-card-img-btn:focus-visible {
  outline: 3px solid var(--green-primary);
  outline-offset: -3px;
}

/* Photo-count badge in the corner of the hero image when there are 2+. */
.litter-photo-count {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.2px;
  pointer-events: none;
}

/* Thumbnail strip under the hero image in the card body. */
.litter-thumb-strip {
  display: flex;
  gap: 6px;
  margin: -4px 0 14px;
  overflow: hidden;
}
.litter-thumb {
  all: unset;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  transition: transform 0.12s, box-shadow 0.12s;
}
.litter-thumb:hover,
.litter-thumb:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  outline: none;
}
.litter-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.litter-thumb-more {
  background: var(--cream, #f6f0e4);
  color: var(--green-primary);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Past litters: visually distinct from current ones — slightly muted so
   they don't compete for attention with available/upcoming litters. */
.past-litters-wrap {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.past-litters-header {
  text-align: center;
  margin-bottom: 28px;
}
.past-litters-header h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--text-medium);
  margin: 0 0 6px;
}
.past-litters-sub {
  color: var(--text-light);
  font-size: 0.95rem;
  margin: 0;
}
.past-litters-grid .litter-card-past {
  opacity: 0.82;
}
.past-litters-grid .litter-card-past:hover {
  opacity: 1;
}
.past-litters-grid .litter-card-past .litter-card-img img {
  filter: saturate(0.85);
}
.past-litters-grid .litter-card-past .litter-status.status-sold_out {
  background: var(--text-light, #888);
  color: #fff;
}
.litter-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.litter-parents {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 16px;
}
.litter-parents strong { color: var(--text-medium); }
.litter-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 16px;
}
.litter-stat { text-align: center; }
.litter-stat-val {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--green-primary);
}
.litter-stat-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
  margin-top: 2px;
}
.litter-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}
.litter-price {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1rem;
  margin-bottom: 16px;
}
.litter-price span { color: var(--green-medium); }

.puppies-note { margin-top: 24px; }
.note-card {
  background: var(--cream);
  border-left: 4px solid var(--green-primary);
  border-radius: var(--radius-md);
  padding: 40px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.note-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.note-card p {
  color: var(--text-medium);
  margin-bottom: 24px;
  line-height: 1.8;
}

/* ═══════════════════════════════════════════
   GALLERY
═══════════════════════════════════════════ */
.section-gallery { background: var(--cream); }

.gallery-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 20px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-medium);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--green-primary); color: var(--green-primary); }
.filter-btn.active { background: var(--green-primary); border-color: var(--green-primary); color: var(--white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: var(--cream-dark);
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,46,14,0.65);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--white);
  padding: 16px;
  text-align: center;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-caption {
  font-size: 0.9rem;
  font-weight: 500;
}
.gallery-zoom { font-size: 1.8rem; }
.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 0.85rem;
  background: linear-gradient(135deg, var(--cream-dark), var(--cream));
}

/* ═══════════════════════════════════════════
   HEALTH & CERTIFICATIONS
═══════════════════════════════════════════ */
.section-health { background: var(--green-dark); }
.section-health .section-eyebrow { color: var(--gold); }
.section-health .section-title { color: var(--white); }
.section-health .section-desc { color: rgba(255,255,255,0.7); }

.health-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.health-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all var(--transition);
}
.health-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(200,168,75,0.3);
  transform: translateY(-4px);
}
.health-icon {
  width: 48px;
  height: 48px;
  background: var(--gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.health-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.health-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

/* Verification badges strip (Good Dog, AKC, etc.) — sits below the
   certs grid on the dark Health section. No heavy background; badges
   sit directly on the section color so a single logo looks natural
   and multiple wrap cleanly. Small "Verified By" label gives context. */
.health-badges-wrap {
  margin-top: 56px;
  text-align: center;
}
.health-badges-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 18px;
}
.health-badges {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px 36px;
  max-width: 100%;
}
.health-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 76px;
  max-width: 160px;
  transition: transform 0.18s, filter 0.18s, opacity 0.18s;
  opacity: 0.92;
}
.health-badge img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
}
a.health-badge:hover,
a.health-badge:focus-visible {
  transform: translateY(-2px) scale(1.04);
  opacity: 1;
  outline: none;
}
a.health-badge:focus-visible {
  outline: 2px solid var(--gold, #c8a84b);
  outline-offset: 6px;
  border-radius: 6px;
}

/* ═══════════════════════════════════════════
   PUPPY MAP
═══════════════════════════════════════════ */
.section-puppy-map { background: var(--white, #fff); }

/* ── FLIGHT TRANSPORT ── */
.section-flight { background: var(--cream, #f6f0e4); }
.flight-content {
  max-width: 720px;
  margin: 0 auto;
}
.flight-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-dark, #1a1a1a);
}
.flight-body p { margin: 0 0 1em; }
.flight-body p:last-child { margin-bottom: 0; }
.flight-body a {
  color: var(--primary, #2D5016);
  text-decoration: underline;
  word-break: break-word;
}
.flight-body a:hover { color: var(--gold, #c8a84b); }
.flight-doc-link {
  margin-top: 24px;
  text-align: center;
}

/* Buyer document buttons under the Puppies note card. */
.puppies-doc-buttons {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.puppies-doc-buttons .btn { font-size: 0.92rem; }

/* ── FAQ ── */
/*
  Minimal list-style accordion: no card borders, no rounded boxes — just a
  thin horizontal divider between each Q&A. Question on the left, +/− on the
  far right. Modeled after the reference design the breeder approved.
*/
.section-faq { background: var(--white, #fff); }
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  /* Top edge line so the first item has a divider above it. */
  border-top: 1px solid var(--border, #e0dfd9);
}
.faq-item {
  border-bottom: 1px solid var(--border, #e0dfd9);
  background: transparent;
}
.faq-item > summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 40px 20px 4px;   /* room for +/− on the right */
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-dark, #1a1a1a);
  position: relative;
  transition: color 0.15s;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text-dark, #1a1a1a);
  line-height: 1;
}
.faq-item[open] > summary::after { content: '−'; }
.faq-item > summary:hover { color: var(--gold, #c8a84b); }
.faq-answer {
  padding: 0 40px 22px 4px;
  color: var(--text-medium, #555);
  line-height: 1.7;
  font-size: 0.95rem;
}
.faq-answer p { margin: 0 0 0.8em; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer a {
  color: var(--primary, #2D5016);
  text-decoration: underline;
  word-break: break-word;
}
.faq-answer a:hover { color: var(--gold, #c8a84b); }

.puppy-map {
  width: 100%;
  height: 480px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
@media (max-width: 700px) {
  .puppy-map { height: 380px; }
}
.puppy-map-footnote {
  text-align: center;
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--text-light, #888);
  font-style: italic;
}
/* Leaflet popup customization to match site typography. */
.puppy-map-popup {
  font-family: var(--font-body, inherit);
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-dark, #1c1a0f);
  min-width: 160px;
}
.puppy-map-popup strong {
  font-family: var(--font-heading, inherit);
  font-size: 1.05rem;
  color: var(--green-primary, #2D5016);
}
.puppy-map-popup .popup-year {
  font-size: 0.78rem;
  color: var(--text-light, #888);
  letter-spacing: 0.05em;
}
.puppy-map-popup .popup-note {
  margin: 6px 0 0;
  font-size: 0.88rem;
  color: var(--text-medium, #4a4a4a);
}

/* ═══════════════════════════════════════════
   EDUCATION CORNER
═══════════════════════════════════════════ */
.section-education { background: var(--cream, #f6f0e4); }

.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.edu-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.edu-card:hover:not(.edu-card-inactive),
.edu-card:focus-visible:not(.edu-card-inactive) {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  outline: none;
}
.edu-card-btn {
  border: 1px solid rgba(0,0,0,0.06);
  font: inherit;
  text-align: left;
  padding: 0;
  /* Match the <a> variant; button defaults would otherwise break layout. */
}
.edu-card-inactive {
  opacity: 0.6;
  cursor: default;
}
.edu-card-img {
  aspect-ratio: 16 / 9;
  background: #eaeaea;
  overflow: hidden;
  display: block;
}
.edu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.edu-card-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  background: linear-gradient(135deg, rgba(111,163,92,0.12), rgba(200,168,75,0.12));
  color: rgba(0,0,0,0.3);
}
.edu-card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.edu-card-cat {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-primary, #6fa35c);
  background: rgba(111,163,92,0.12);
  padding: 3px 10px;
  border-radius: 999px;
}
.edu-card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  line-height: 1.3;
  margin: 0;
  color: var(--text-dark, #1c1a0f);
}
.edu-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-medium, #4a4a4a);
  margin: 0;
  line-height: 1.55;
  /* Cap excerpt to ~3 lines so cards stay roughly the same height. */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.edu-card-cta {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-primary, #6fa35c);
}

/* ── READER MODAL (for on-site posts) ──────────────────────────────── */
/* Reuses .review-modal layout/animation; just specializes the inner
   width and typography for long-form reading. */
.education-reader-inner {
  width: min(720px, calc(100vw - 24px));
  padding: 32px 36px 36px;
}
.education-reader-inner h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin: 8px 0 16px;
  color: var(--text-dark, #1c1a0f);
  line-height: 1.25;
}
.education-reader-inner .edu-card-cat {
  margin-bottom: 4px;
}
.edu-reader-hero {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}
.edu-reader-prose {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-dark, #1c1a0f);
}
.edu-reader-prose p {
  margin: 0 0 1.1em;
}
.edu-reader-prose p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════ */
.section-testimonials { background: var(--white); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

/* Invite visitors to leave a review — placed below the testimonial grid. */
.review-cta {
  text-align: center;
  margin: 44px auto 0;
  padding: 32px 24px;
  background: var(--cream, #f6f0e4);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  max-width: 680px;
}
.review-cta h3 {
  font-family: var(--font-heading);
  margin: 0 0 6px;
  font-size: 1.4rem;
  color: var(--text-dark, #1c1a0f);
}
.review-cta p {
  margin: 0 0 18px;
  color: var(--text-medium, #4a4a4a);
  font-size: 0.95rem;
}

/* ── REVIEW MODAL ─────────────────────────────────────────────────────────── */
.review-modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}
.review-modal[hidden] { display: none; }
.review-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
}
.review-modal-inner {
  position: relative;
  width: min(540px, calc(100vw - 24px));
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: #fff;
  border-radius: 14px;
  padding: 28px 28px 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  animation: review-modal-in 0.18s ease-out;
}
@keyframes review-modal-in {
  from { transform: translateY(14px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.review-modal h2 {
  font-family: var(--font-heading);
  margin: 0 0 6px;
  font-size: 1.5rem;
  color: var(--text-dark, #1c1a0f);
}
.review-modal-sub {
  margin: 0 0 18px;
  color: var(--text-light, #777);
  font-size: 0.9rem;
}
.review-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: transparent;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: var(--text-light, #777);
  cursor: pointer;
  padding: 4px 10px;
}
.review-modal-close:hover { color: var(--text-dark, #222); }

.review-form-row {
  margin-bottom: 16px;
}
.review-form-row label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-medium, #4a4a4a);
  margin-bottom: 6px;
}
.review-form-row .req { color: var(--red, #c0392b); }
.review-form-row input[type="text"],
.review-form-row input[type="email"],
.review-form-row textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  font: inherit;
  font-size: 0.95rem;
}
.review-form-row input:focus,
.review-form-row textarea:focus {
  outline: none;
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(111, 163, 92, 0.18);
}
.review-char-hint {
  font-size: 0.78rem;
  color: var(--text-light, #888);
  text-align: right;
  margin-top: 4px;
}

/* Honeypot: off-screen, not tab-reachable. Humans never see this. */
.review-honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Star picker */
.star-picker {
  display: inline-flex;
  gap: 4px;
}
.star-btn {
  background: transparent;
  border: none;
  padding: 2px 4px;
  font-size: 1.9rem;
  line-height: 1;
  color: #dcdcdc;
  cursor: pointer;
  transition: color 0.12s, transform 0.12s;
}
.star-btn.active,
.star-btn:hover {
  color: var(--gold, #c8a84b);
}
.star-btn:hover { transform: scale(1.08); }
.star-btn:focus-visible {
  outline: 2px solid var(--green-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

.review-form-message {
  min-height: 20px;
  font-size: 0.9rem;
  margin: 4px 0 12px;
}
.review-form-message.success {
  color: #2c6e2c;
  padding: 10px 12px;
  background: rgba(111, 163, 92, 0.12);
  border-radius: 6px;
}
.review-form-message.error {
  color: #b02a1a;
  padding: 10px 12px;
  background: rgba(212, 90, 74, 0.1);
  border-radius: 6px;
}
.review-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}
.testimonial-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
  transition: all var(--transition);
  border: 1px solid var(--border);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.testimonial-quote {
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  font-family: Georgia, serif;
  margin-bottom: 12px;
}
.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}
.star { color: var(--gold); font-size: 1rem; }
.testimonial-body {
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 24px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 46px;
  height: 46px;
  background: var(--green-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
}
.testimonial-location {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ═══════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════ */
.section-contact { background: var(--cream); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-info .section-title { text-align: left; }
.contact-info .section-eyebrow { display: block; margin-bottom: 8px; }
.contact-desc {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 16px 0 32px;
}
.contact-details { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-icon {
  font-size: 1.3rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.contact-item strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  margin-bottom: 2px;
}
.contact-item span {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
}
/* Circular brand-icon buttons. The contact section is light, so use a
   subtle dark outline; on hover, fill with the gold accent. SVG icons
   inherit color via currentColor. */
.contact-social { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 50%;
  color: var(--text-medium);
  background: transparent;
  transition: color 0.18s, border-color 0.18s, background 0.18s, transform 0.12s;
  text-decoration: none;
}
.social-link svg {
  width: 20px;
  height: 20px;
  display: block;
}
.social-link:hover,
.social-link:focus-visible {
  color: var(--gold, #c8a84b);
  border-color: var(--gold, #c8a84b);
  transform: translateY(-1px);
  outline: none;
}

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-medium);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(45,80,22,0.08);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
}
.form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  display: block;
}
.form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  display: block;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.75);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
  margin-bottom: 16px;
}
.footer-logo-img {
  height: 90px;
  width: auto;
  border-radius: 50%;
  opacity: 0.92;
  transition: opacity var(--transition);
}
.footer-logo-img:hover { opacity: 1; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-links ul li + li { margin-top: 10px; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-contact p {
  font-size: 0.88rem;
  margin-bottom: 8px;
}
/* Circular brand-icon buttons against the dark footer. Cream tone for
   icons + thin matching border, gold on hover. Matches the breeder's
   reference design. */
.footer-social { display: flex; gap: 14px; margin-top: 16px; flex-wrap: wrap; align-items: center; }
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: rgba(255, 248, 230, 0.85);
  background: transparent;
  transition: color 0.18s, border-color 0.18s, background 0.18s, transform 0.12s;
  text-decoration: none;
}
.footer-social-link svg {
  width: 18px;
  height: 18px;
  display: block;
}
.footer-social-link:hover,
.footer-social-link:focus-visible {
  color: var(--gold, #c8a84b);
  border-color: var(--gold, #c8a84b);
  transform: translateY(-1px);
  outline: none;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}
.footer-admin-link {
  color: rgba(255,255,255,0.25);
  font-size: 0.78rem;
  transition: color var(--transition);
}
.footer-admin-link:hover { color: var(--gold); }

/* ── CREDIT BAR ── */
.credit-bar {
  background: #1a1a1a;
  /* Bumped from 0.45 → 0.65 so body text is readable; the link below is
     the focal point but the surrounding text shouldn't disappear either. */
  color: rgba(255,255,255,0.65);
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 10px 20px;
  font-family: var(--font-body);
}
/* Make the developer credit link visible without screaming. Warm gold to
   match brand accent (--gold-light), thin underline so it's clearly
   clickable without looking like a CTA. */
.credit-bar a {
  color: var(--gold-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(224, 193, 112, 0.3);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.credit-bar a:hover,
.credit-bar a:focus-visible {
  color: var(--gold);
  border-bottom-color: var(--gold);
  outline: none;
}

/* Footer contact links — phone (tel:), email (mailto:), and location
   (Google Maps) are now actionable, especially on mobile (tap-to-call).
   Subtle hover only — these are info, not CTAs. */
.footer-contact a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: var(--gold-light);
  outline: none;
}

/* Small caps label above the social icons in the footer. Mirrors the
   pattern from competitor footers ("Follow Us on...") but kept short
   and understated to fit PMBD's brand voice. */
.footer-social-label {
  margin: 18px 0 8px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

/* Back-to-top floating button. Hidden until scrollY > 600 (toggled by
   main.js adding/removing .visible). Brand gold on dark, matches the
   footer-admin-link visual register. Sized to be comfortable on touch
   targets (44x44 minimum per WCAG). */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--dark-green, #1A2E0E);
  color: var(--gold-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  /* Off-screen + invisible until scrolled. opacity + transform so the
     transition lands smoothly. pointer-events:none prevents accidental
     clicks while it's hidden. */
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease, color 0.2s ease;
  z-index: 1000;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--gold);
  color: #1A2E0E;
  outline: none;
}
.back-to-top svg {
  width: 20px;
  height: 20px;
}
/* Stay clear of the credit bar on small screens so the two don't visually
   collide on shorter phones. */
@media (max-width: 600px) {
  .back-to-top {
    right: 16px;
    bottom: 16px;
  }
}

/* ═══════════════════════════════════════════
   MERCH
═══════════════════════════════════════════ */
.section-merch { background: var(--cream-dark, #EDE3CE); }

.merch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}
.merch-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.merch-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.merch-card-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--cream);
  position: relative;
}
.merch-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.merch-card:hover .merch-card-img img { transform: scale(1.05); }
.merch-card-img .img-placeholder { position: absolute; inset: 0; }
.merch-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.merch-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.merch-desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 14px;
}
.merch-price {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--green-primary);
  margin-bottom: 14px;
}
.merch-card .btn { margin-top: auto; }

/* ═══════════════════════════════════════════
   LIGHTBOX
═══════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.lightbox-content img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}
#lightboxCaption {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  text-align: center;
}
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition);
  z-index: 10000;
}
.lightbox-close:hover { color: var(--white); }
.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 1.4rem;
  padding: 14px 18px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  z-index: 10000;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.2); }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .about-grid { gap: 48px; }
  .contact-grid { gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--green-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
    border-bottom: 2px solid rgba(200,168,75,0.3);
  }
  .nav-links.open {
    transform: none;
    opacity: 1;
    pointer-events: all;
  }
  .nav-links a { padding: 12px 16px; }
  .nav-links .nav-cta { text-align: center; }

  /* Mobile: Resources dropdown renders inline inside the hamburger panel.
     Toggle is a full-width tappable row; menu drops in below it (indented)
     when .open is added by main.js. No fly-out — the menu just expands. */
  .nav-dropdown { width: 100%; }
  .nav-dropdown-toggle {
    width: 100%;
    text-align: left;
    justify-content: space-between;
    padding: 12px 16px;
  }
  .nav-dropdown-menu {
    position: static;
    background: rgba(255,255,255,0.05);
    border: none;
    box-shadow: none;
    margin: 4px 0 8px;
    padding: 0 0 0 16px;
    min-width: 0;
    width: 100%;
  }
  .nav-dropdown-menu a {
    padding: 10px 16px;
  }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-badge { right: 0; bottom: -16px; width: 100px; height: 100px; }
  .badge-years { font-size: 1.5rem; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .hero-buttons { flex-direction: column; align-items: center; }

  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

@media (max-width: 480px) {
  .section-title { font-size: 1.7rem; }
  .dogs-grid, .litters-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .health-grid { grid-template-columns: 1fr; }
}
