/* ============================================================
   Maple Woods Australian Labradoodles — Shared Stylesheet
   Fonts: Cormorant Garamond (headings) + Lato (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400;1,600&family=Lato:wght@300;400;700&display=swap');

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  --green:        #6B8F5E;
  --green-dark:   #4a6b3d;
  --green-deeper: #3a5530;
  --green-light:  #f2f7f0;
  --green-pale:   #e8f0e4;
  --text-dark:    #2a2a2a;
  --text-med:     #555;
  --white:        #ffffff;
  --off-white:    #fafaf8;
  --amber:        #c9813d;
  --amber-light:  #fef4e8;
  --gray:         #7a7a7a;
  --gray-light:   #f4f4f4;
  --border:       #dde8d8;

  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Lato', Arial, sans-serif;

  --radius-sm:    6px;
  --radius:       12px;
  --radius-lg:    20px;
  --shadow-sm:    0 2px 10px rgba(0,0,0,0.07);
  --shadow:       0 6px 24px rgba(0,0,0,0.10);
  --shadow-lg:    0 12px 40px rgba(0,0,0,0.14);
  --transition:   all 0.25s ease;
  --max-w:        1160px;
  --nav-h:        90px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 1.75;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.25;
}

.heading-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--green);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
}

.heading-strong {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--green-dark);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  margin-bottom: 0.75rem;
}

p { margin-bottom: 1.1em; color: var(--text-med); }
p:last-child { margin-bottom: 0; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.75em 2em;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74,107,61,0.35);
}

.btn-outline {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--white);
}
.btn-outline:hover {
  background: #e8e8e8;
  color: var(--green-dark);
  border-color: #e8e8e8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-green-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-green-outline:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--green-pale);
  transform: translateY(-2px);
}

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--green);
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
}
.nav-links-left  { justify-content: flex-end; }
.nav-links-right { justify-content: flex-start; }

.nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-align: center;
}
.nav-link:hover { background: rgba(255,255,255,0.15); }
.nav-link.active { background: rgba(255,255,255,0.2); }

.nav-link-main {
  display: block;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}

.nav-link-sub {
  display: block;
  color: rgba(255,255,255,0.95);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.2;
  margin-top: 2px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-logo:hover { opacity: 0.85; background: none; }

.nav-logo-img {
  display: block;
  height: 64px;
  width: auto;
  object-fit: contain;
}

/* Mobile nav toggle */
.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
}
.nav-mobile-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-mobile-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-mobile-toggle.open span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-mobile-menu {
  display: none;
  background: var(--green-dark);
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.nav-mobile-menu.open { display: block; }

.nav-mobile-link {
  display: block;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.nav-mobile-link:last-child { border-bottom: none; }
.nav-mobile-link:hover { color: rgba(255,255,255,0.75); }
.nav-mobile-link small {
  display: block;
  font-weight: 400;
  font-style: italic;
  font-size: 0.8rem;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255,255,255,0.65);
  font-family: var(--font-serif);
}

/* ── Hero Section ───────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-sm {
  min-height: 55vh;
}

.hero-overlay {
  display: block;
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.45) 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3rem 1.5rem;
  max-width: 860px;
  width: 100%;
}

.hero-eyebrow {
  font-family: var(--font-serif);
  font-style: italic;
  color: rgba(255,255,255,0.95);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  margin-bottom: 0.5rem;
  font-weight: 400;
  display: block;
  text-shadow: 0 2px 6px rgba(0,0,0,0.75), 0 4px 16px rgba(0,0,0,0.6);
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--white);
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8), 0 4px 24px rgba(0,0,0,0.6);
}

.hero-subtitle {
  color: rgba(255,255,255,0.95);
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 2rem;
  font-family: var(--font-serif);
  font-style: italic;
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8), 0 4px 20px rgba(0,0,0,0.6);
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Sections ───────────────────────────────────────────────── */
.section {
  padding: 5rem 1.5rem;
}

.section-alt {
  background: var(--green-light);
}

.section-off {
  background: var(--off-white);
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.section-centered {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

/* Green Banner */
.banner-green {
  background: var(--green-dark);
  padding: 4rem 1.5rem;
  text-align: center;
}

.banner-green .heading-serif {
  color: rgba(255,255,255,0.92);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  margin-bottom: 1.5rem;
}

.banner-green p { color: rgba(255,255,255,0.8); }

/* Text link arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  color: var(--green);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--green-pale);
  padding-bottom: 2px;
  transition: var(--transition);
}
.link-arrow:hover {
  color: var(--green-dark);
  border-color: var(--green);
  gap: 0.65em;
}

/* Decorative divider */
.divider {
  width: 60px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  margin: 1.25rem 0 1.75rem;
}
.divider-center { margin: 1.25rem auto 1.75rem; }

/* ── Litter / Puppy Cards (puppies.html) ────────────────────── */
#available-grid, #upcoming-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2.5rem;
}

.litter-card {
  flex: 1 1 320px;
  max-width: 520px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border);
}
.litter-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.litter-card-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
}

.litter-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.litter-card-photo-placeholder {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, var(--green-pale), var(--green-light));
  display: flex;
  align-items: center;
  justify-content: center;
}

.litter-card-body {
  padding: 1.5rem;
}

.litter-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.litter-card-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--green-dark);
  line-height: 1.25;
}

.badge {
  display: inline-block;
  padding: 0.3em 0.85em;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.badge-green  { background: #d4ead0; color: #2d6b28; }
.badge-amber  { background: #fde9cc; color: #8f4d0f; }
.badge-gray   { background: #e5e5e5; color: #555; }

.litter-card-meta {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 0.75rem;
  font-family: var(--font-sans);
}

.litter-card-desc {
  font-size: 0.95rem;
  color: var(--text-med);
  line-height: 1.65;
  margin: 0;
}

.no-litters {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--green-light);
  border-radius: var(--radius);
  border: 1px dashed var(--green);
}
.no-litters p { font-size: 1.1rem; color: var(--text-med); }

/* ── Adoption Steps ─────────────────────────────────────────── */
.steps-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2.5rem;
}

.step-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.75rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 2rem 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  align-items: flex-start;
  transition: var(--transition);
}
.step-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--green);
}

.step-number {
  width: 70px;
  height: 70px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(107,143,94,0.35);
}

.step-body h3 {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--green-dark);
  margin-bottom: 0.6rem;
}
.step-body p { font-size: 0.97rem; color: var(--text-med); margin-bottom: 1rem; }
.step-body p:last-child { margin-bottom: 0; }

/* Inclusion checklist */
.includes-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2rem;
}
.include-item {
  flex: 1 1 260px;
  max-width: 360px;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--border);
  font-size: 0.97rem;
  color: var(--text-dark);
  font-weight: 400;
}

.include-icon {
  width: 28px;
  height: 28px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
  font-size: 0.8rem;
}

/* ── Dog Cards (doodles.html) ───────────────────────────────── */
.dogs-section-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--green);
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}
.dogs-section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  margin: 0.75rem auto 0;
}

.dogs-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.75rem;
}

.dog-card {
  flex: 1 1 270px;
  max-width: 380px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.dog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.dog-card-photo {
  width: 100%;
  height: 200px;
  background: linear-gradient(145deg, var(--green-pale), #d4e8ce);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.dog-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dog-card-photo svg {
  opacity: 0.45;
  width: 80px;
  height: 80px;
}

.dog-card-body {
  padding: 1.25rem 1.4rem;
}

.dog-card-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--green-dark);
  line-height: 1.3;
  margin-bottom: 0.4rem;
}

.dog-card-badge {
  display: inline-block;
  padding: 0.25em 0.75em;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.dog-male   { background: #dde8f8; color: #2a5a9e; }
.dog-female { background: #f8dde8; color: #9e2a5a; }

.dog-card-desc {
  font-size: 0.9rem;
  color: var(--text-med);
  line-height: 1.6;
  margin: 0;
}

/* ── About / Contact ────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 1.25rem;
  transition: var(--transition);
}
.contact-item:hover { box-shadow: var(--shadow-sm); }

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--green-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 22px; height: 22px; color: var(--green); }

.contact-item-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gray);
  margin-bottom: 0.2rem;
}
.contact-item-value {
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 400;
  margin: 0;
}
.contact-item-value a {
  color: var(--green-dark);
  transition: var(--transition);
}
.contact-item-value a:hover { color: var(--green); }
.contact-item-note {
  font-size: 0.83rem;
  color: var(--gray);
  margin: 0.2rem 0 0;
}

/* ── Breed / Intro callout ──────────────────────────────────── */
.callout {
  background: var(--green-light);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}
.callout p { color: var(--text-dark); margin: 0; font-style: italic; }

/* ── Guardian note ──────────────────────────────────────────── */
.guardian-note {
  background: linear-gradient(135deg, var(--green-light), var(--green-pale));
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  margin: 3rem 0;
  text-align: center;
  border: 1px solid var(--border);
}
.guardian-note p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--green-dark);
  margin: 0;
}

/* ── CTA Block ──────────────────────────────────────────────── */
.cta-block {
  background: var(--green-light);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  text-align: center;
  border: 1px solid var(--border);
}
.cta-block .heading-serif { margin-bottom: 0.5rem; }
.cta-block p { max-width: 640px; margin: 0 auto 2rem; }

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--green-deeper);
  color: rgba(255,255,255,0.75);
  text-align: center;
  padding: 2.5rem 1.5rem;
  font-size: 0.88rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.footer-links a {
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.footer-links a:hover { color: var(--white); }
.footer-links svg { width: 20px; height: 20px; }
.footer-copy { color: rgba(255,255,255,0.5); }
.footer-alca-badge {
  height: 80px;
  width: auto;
  opacity: 0.9;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(255,255,255,0.2);
}

/* ── Utility ────────────────────────────────────────────────── */
.text-green { color: var(--green); }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* ── Loading spinner ────────────────────────────────────────── */
.spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem;
}
.spinner::after {
  content: '';
  width: 40px;
  height: 40px;
  border: 4px solid var(--green-pale);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  :root { --nav-h: 70px; }

  .nav-inner {
    grid-template-columns: 1fr auto;
    padding: 0 1rem;
  }

  .nav-links { display: none; }

  .nav-logo {
    order: -1;
    padding: 0.5rem 0.75rem;
  }

  .nav-mobile-toggle { display: flex; }

  .section-2col,
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }

  .step-card {
    grid-template-columns: 60px 1fr;
    gap: 1.25rem;
    padding: 1.5rem;
  }
  .step-number { width: 56px; height: 56px; font-size: 1.5rem; }

  .hero { min-height: 75vh; }
  .hero-sm { min-height: 45vh; }
}

@media (max-width: 600px) {
  body { font-size: 17px; }

  .section { padding: 3.5rem 1.25rem; }

  .dogs-grid { gap: 1rem; }
  .dog-card { flex: 1 1 220px; }

  #available-grid, #upcoming-grid { gap: 1rem; }
  .litter-card { flex: 1 1 100%; max-width: 100%; }

  .includes-grid { grid-template-columns: 1fr; }

  .cta-block { padding: 2.5rem 1.5rem; }

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

  .step-card { grid-template-columns: 1fr; }
  .step-number { width: 50px; height: 50px; font-size: 1.3rem; }

  .form-row { grid-template-columns: 1fr; }
}

/* ── Adoption Application Form ─────────────────────────────── */
.app-form {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow);
}

.form-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}
.form-section:last-of-type { border-bottom: none; margin-bottom: 0; }

.form-section-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--green-dark);
  margin-bottom: 1.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--green-pale);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.form-group:last-child { margin-bottom: 0; }

.form-group label {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dark);
}

.req { color: var(--green-dark); font-weight: 700; }

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236B8F5E' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group textarea { resize: vertical; line-height: 1.6; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(107,143,94,0.15);
  background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #aaa; }

/* Agreement checkbox */
.form-agree {
  background: var(--green-light);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin-top: 2rem;
}
.form-agree-label {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.55;
}
.form-agree-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 2px;
  accent-color: var(--green);
  cursor: pointer;
}

.form-submit-btn {
  min-width: 260px;
  font-size: 1rem;
  padding: 0.9em 2.5em;
}

/* Success message */
.form-success {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--green-light);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
}
.form-success-icon {
  width: 60px;
  height: 60px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.form-success h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .app-form { padding: 2rem 1.5rem; }
}

/* ══════════════════════════════════════════════════════════════
   Litter Card — clickable version (puppies.html)
   ══════════════════════════════════════════════════════════════ */
.litter-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.litter-card-link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.litter-card-cta {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.04em;
  transition: gap 0.2s;
}
.litter-card-link:hover .litter-card-cta {
  text-decoration: underline;
}

/* ══════════════════════════════════════════════════════════════
   Litter Detail Page — litter.html
   ══════════════════════════════════════════════════════════════ */

/* Hero */
.litter-hero {
  position: relative;
  min-height: 52vh;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-deeper) 100%);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding-bottom: 3.5rem;
}
.litter-hero-photo {
  background-size: cover;
  background-position: center top;
}
.litter-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}
.litter-back-link {
  display: inline-block;
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  margin-bottom: 1.25rem;
  transition: color 0.2s;
}
.litter-back-link:hover { color: white; }

.litter-hero-badge { margin-bottom: 0.75rem; }
.litter-hero-badge .badge { font-size: 0.85rem; padding: 0.35em 1em; }

.litter-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8), 0 4px 24px rgba(0,0,0,0.6);
}
.litter-hero-parents {
  color: rgba(255,255,255,0.75);
  text-shadow: 0 1px 6px rgba(0,0,0,0.7);
  font-size: 1rem;
  font-style: italic;
  font-family: var(--font-serif);
}

/* Info bar */
.litter-info-bar {
  background: var(--green);
  padding: 1.25rem 0;
}
.litter-info-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2.5rem;
  align-items: center;
}
.litter-info-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: white;
}
.litter-info-icon { font-size: 1.1rem; }
.litter-info-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
  line-height: 1;
  margin-bottom: 1px;
}
.litter-info-value {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
}

/* Top grid: description + parents */
.litter-top-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.litter-description-col .divider { margin-bottom: 1.5rem; }
.litter-description-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-med);
}

/* Parents */
.litter-parents-heading {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--green-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
}
.litter-parents-cards {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
}
.litter-parent-card {
  flex: 1 1 260px;
  max-width: 360px;
  display: block;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition: var(--transition);
}
.litter-parent-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.litter-parent-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.litter-parent-photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--green-light);
}
.litter-parent-card-body {
  padding: 0.85rem 1rem;
}
.litter-parent-role {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 3px;
}
.litter-parent-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.litter-parent-link {
  font-size: 0.82rem;
  color: var(--green);
  font-weight: 600;
}

/* ── Puppy Grid ─────────────────────────────────────────────── */
.litter-puppies-section { background: var(--off-white); }

.puppy-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.puppy-grid .puppy-week-heading {
  width: 100%;
  max-width: 960px;
}
.puppy-grid .puppy-week-grid {
  width: 100%;
  max-width: 960px;
  justify-content: center;
}

.puppy-week-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 3rem 0 1.5rem;
}
.puppy-week-heading:first-child { margin-top: 0; }
.puppy-week-heading::before,
.puppy-week-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.puppy-week-heading span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-med);
  white-space: nowrap;
}

.puppy-week-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.puppy-card {
  flex: 1 1 220px;
  max-width: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  transition: var(--transition);
}
.puppy-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--green);
}

.puppy-card-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--green-light);
}
.puppy-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.puppy-card:hover .puppy-card-photo img { transform: scale(1.04); }

.puppy-available-badge {
  position: absolute;
  bottom: 0.6rem;
  left: 0.6rem;
  background: var(--green);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3em 0.7em;
  border-radius: 2rem;
}

.puppy-status-badge {
  position: absolute;
  bottom: 0.6rem;
  left: 0.6rem;
  background: var(--amber);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3em 0.7em;
  border-radius: 2rem;
}

.puppy-photo-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--green-pale), var(--green-light));
  display: flex;
  align-items: center;
  justify-content: center;
}

.puppy-card-body {
  padding: 1.1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.puppy-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}
.puppy-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.2;
}
.puppy-status-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25em 0.7em;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}
.puppy-status-available { background: #e8f5e2; color: #2e6b22; }
.puppy-status-reserved  { background: #fff3e0; color: #8a5500; }
.puppy-status-sold      { background: var(--gray-light); color: var(--gray); }

.puppy-card-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.puppy-sex-pill {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2em 0.65em;
  border-radius: 20px;
  letter-spacing: 0.03em;
}
.puppy-sex-male   { background: #e3f0fb; color: #1a5f9e; }
.puppy-sex-female { background: #fce8f3; color: #9e1a6e; }

.puppy-color {
  font-size: 0.78rem;
  color: var(--gray);
  font-style: italic;
}
.puppy-notes {
  font-size: 0.88rem;
  color: var(--text-med);
  line-height: 1.55;
  margin-top: 0.25rem;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 860px) {
  .litter-top-grid { gap: 2rem; }
  .litter-parent-card { flex: 1 1 200px; }

  /* Info bar: stack pills above button on tablet */
  .litter-info-bar .container > div {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}
@media (max-width: 600px) {
  .litter-hero { min-height: 40vh; padding-bottom: 2rem; }
  .litter-hero-title { font-size: 2rem; }

  /* Info bar: compact pills, full-width Apply Now */
  .litter-info-pills { gap: 0.6rem 1.25rem; }
  .litter-info-bar .btn { width: 100%; text-align: center; }

  /* Parent cards: stack full-width on phone */
  .litter-parent-card { flex: 1 1 100%; max-width: 100%; }

  /* Puppy grid: 2 per row on phone */
  .puppy-week-grid { gap: 0.75rem; }
  .puppy-card { flex: 1 1 140px; max-width: 50%; }

  /* Puppy grid centering wrapper */
  .puppy-grid .puppy-week-grid { justify-content: center; }
}

/* ── Lightbox ───────────────────────────────────────────────── */
.lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.93);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.75rem;
  animation: lb-fade 0.2s ease;
}
.lb-overlay.lb-open { display: flex; }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }

.lb-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 92vw;
  max-height: 84vh;
}
.lb-img {
  max-width: 92vw;
  max-height: 84vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}
.lb-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.lb-close:hover { opacity: 1; }
.lb-prev, .lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 0.6rem 1rem;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.2s;
}
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.25); }
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }
.lb-counter {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}
