/* ============================================================
   ADOPT-A-CUB — styles.css
   Light, warm, friendly pet adoption landing page
   ============================================================ */

/* ── CSS Custom Properties ── */
:root {
  --cream:        #fffbf5;
  --white:        #ffffff;
  --orange:       #f97316;
  --orange-dark:  #ea6a0a;
  --orange-light: #fff7ed;
  --teal:         #0d9488;
  --teal-dark:    #0b7a71;
  --teal-light:   #f0fdfa;
  --text-dark:    #1c1917;
  --text-muted:   #78716c;
  --text-light:   #a8a29e;
  --border:       #e7e5e4;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:    0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:    0 8px 32px rgba(0,0,0,.10);
  --shadow-xl:    0 16px 48px rgba(0,0,0,.12);
  --radius-sm:    12px;
  --radius-md:    20px;
  --radius-lg:    24px;
  --radius-xl:    28px;
  --radius-full:  9999px;
  --transition:   0.25s cubic-bezier(.4,0,.2,1);
  --max-width:    1160px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-dark);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  box-shadow: 0 4px 14px rgba(249,115,22,.35);
}
.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  box-shadow: 0 6px 20px rgba(249,115,22,.45);
}

.btn-secondary {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
  box-shadow: 0 4px 14px rgba(13,148,136,.3);
}
.btn-secondary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  box-shadow: 0 6px 20px rgba(13,148,136,.4);
}

.btn-white {
  background: #fff;
  color: var(--orange);
  border-color: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--orange-light);
  box-shadow: 0 6px 20px rgba(0,0,0,.20);
}

.btn-submit { width: 100%; font-size: 1.05rem; padding: 14px 28px; }
.btn-lg { font-size: 1.05rem; padding: 14px 32px; }

/* ── Section Backgrounds ── */
.bg-cream { background: var(--cream); }
.bg-white  { background: var(--white); }

/* ── Section Header ── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 14px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
}
.section-cta { text-align: center; margin-top: 48px; }

/* ── Reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 14px;
  padding-bottom: 14px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-text {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1;
}
.logo-adopt { color: var(--text-dark); }
.logo-cub   { color: var(--orange); }

/* Nav */
.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover {
  color: var(--orange);
  background: var(--orange-light);
}

.header-cta { margin-left: 8px; font-size: 0.9rem; padding: 9px 20px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  border-radius: var(--radius-sm);
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all .25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }
.mobile-nav-link {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.mobile-nav-link:hover { background: var(--orange-light); color: var(--orange); }
.mobile-cta { margin-top: 8px; text-align: center; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--cream);
  padding: 80px 0 96px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content { max-width: 520px; }

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--orange-light);
  color: var(--orange-dark);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  border: 1px solid rgba(249,115,22,.2);
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 20px;
  line-height: 1.15;
}
.text-orange { color: var(--orange); }

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.65;
}

/* Pet Toggle */
.pet-toggle {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.toggle-btn {
  flex: 1;
  min-width: 150px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  transition: all var(--transition);
  white-space: nowrap;
}
.toggle-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-light);
}
.toggle-btn.active {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  box-shadow: 0 4px 14px rgba(249,115,22,.35);
}

.pet-toggle--white .toggle-btn--white {
  background: rgba(255,255,255,.15);
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.pet-toggle--white .toggle-btn--white:hover {
  background: rgba(255,255,255,.25);
  border-color: rgba(255,255,255,.7);
}
.pet-toggle--white .toggle-btn--white.active {
  background: #fff;
  color: var(--orange);
  border-color: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
}

/* Signup Form */
.signup-form { display: flex; flex-direction: column; gap: 12px; }

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

.form-group { position: relative; display: flex; flex-direction: column; }

.form-group input {
  font-family: 'Inter', sans-serif;
  font-size: 0.97rem;
  color: var(--text-dark);
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  width: 100%;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input::placeholder { color: var(--text-light); }
.form-group input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(249,115,22,.12);
}
.form-group input.invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 4px rgba(220,38,38,.10);
}

.signup-form--white .form-group input {
  background: rgba(255,255,255,.95);
  border-color: rgba(255,255,255,.5);
}
.signup-form--white .form-group input:focus {
  border-color: #fff;
  box-shadow: 0 0 0 4px rgba(255,255,255,.25);
}

.field-error {
  font-size: 0.8rem;
  color: #dc2626;
  margin-top: 4px;
  display: none;
}
.field-error.visible { display: block; }

/* Success Message */
.success-msg {
  display: none;
  background: var(--teal-light);
  color: var(--teal-dark);
  border: 1.5px solid rgba(13,148,136,.25);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
}
.success-msg.visible { display: block; }
.success-msg--white {
  background: rgba(255,255,255,.15);
  color: #fff;
  border-color: rgba(255,255,255,.3);
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 4px;
}
.form-note--white { color: rgba(255,255,255,.7); }

/* ── Hero Collage ── */
.hero-collage {
  position: relative;
  height: 500px;
  flex-shrink: 0;
}

.collage-card {
  position: absolute;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transition: transform .4s ease;
}
.collage-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.collage-card--1 {
  width: 220px; height: 280px;
  top: 0; left: 0;
  transform: rotate(-3deg);
  z-index: 2;
}
.collage-card--2 {
  width: 240px; height: 300px;
  top: 40px; right: 0;
  transform: rotate(2.5deg);
  z-index: 3;
}
.collage-card--3 {
  width: 180px; height: 200px;
  bottom: 20px; left: 20px;
  transform: rotate(2deg);
  z-index: 4;
}
.collage-card--4 {
  width: 190px; height: 210px;
  bottom: 0; right: 30px;
  transform: rotate(-2.5deg);
  z-index: 2;
}
.collage-card:hover { transform: rotate(0deg) scale(1.04); z-index: 10; }

.collage-badge {
  position: absolute;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  z-index: 20;
  white-space: nowrap;
}
.badge--cats {
  background: var(--orange);
  color: #fff;
  top: 10px;
  right: 50%;
  transform: translateX(50%);
}
.badge--dogs {
  background: var(--teal);
  color: #fff;
  bottom: 45px;
  right: 50%;
  transform: translateX(50%);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
  background: var(--white);
  padding: 88px 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}

/* Connecting line */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 52px;
  left: calc(16.66% + 28px);
  right: calc(16.66% + 28px);
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--teal));
  opacity: .3;
  z-index: 0;
}

.step-card {
  background: var(--cream);
  border-radius: var(--radius-xl);
  padding: 36px 28px 32px;
  text-align: center;
  position: relative;
  z-index: 1;
  border: 1.5px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  margin-bottom: 18px;
}
.step-icon--orange { background: var(--orange-light); }
.step-icon--teal   { background: var(--teal-light); }

.step-number {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: .1em;
  color: var(--text-light);
  margin-bottom: 10px;
}

.step-title {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   PET CARDS
   ============================================================ */
.pets-section { padding: 88px 0; }

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

.pet-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.pet-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

/* For cream-bg sections, make card white pop */
.bg-cream .pet-card { background: var(--white); }
.bg-white  .pet-card { background: var(--cream); }

.pet-card-photo {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--border);
}
.pet-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.pet-card:hover .pet-card-photo img { transform: scale(1.06); }

.pet-card-body { padding: 20px; }

.pet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.pet-name {
  font-size: 1.15rem;
  font-weight: 800;
}
.pet-age {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: var(--border);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}
.pet-breed {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.pet-tag {
  display: inline-block;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}
.tag-orange { background: var(--orange-light); color: var(--orange-dark); }
.tag-teal   { background: var(--teal-light);   color: var(--teal-dark); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { padding: 88px 0; }

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

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px 28px 28px;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-quote {
  font-family: 'Nunito', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--orange);
  opacity: .25;
  margin-bottom: -16px;
}

.testimonial-text {
  font-size: 0.97rem;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--orange-light);
  flex-shrink: 0;
}
.testimonial-name {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
}
.testimonial-pet {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { padding: 88px 0; }

.faq-container { max-width: 740px; }

.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item:focus-within,
.faq-item.open { box-shadow: var(--shadow-md); border-color: var(--orange); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  text-align: left;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--orange); }
.faq-item.open .faq-question { color: var(--orange); }

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.faq-item.open .faq-icon {
  background: var(--orange);
  color: #fff;
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.4,0,.2,1), padding .3s;
  padding: 0 24px;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding-bottom: 22px;
}
.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  background: linear-gradient(135deg, var(--orange) 0%, #f97316 40%, #fb923c 70%, #fdba74 100%);
  padding: 96px 0;
  overflow: hidden;
  position: relative;
}

.final-cta-inner {
  position: relative;
  z-index: 1;
}

.final-cta-content { max-width: 640px; margin: 0 auto; text-align: center; }

.final-cta-title {
  font-size: clamp(2rem, 5vw, 3rem);
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}
.final-cta-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.9);
  margin-bottom: 36px;
  line-height: 1.65;
}

.final-cta .pet-toggle { justify-content: center; margin-bottom: 24px; }
.final-cta .signup-form { max-width: 520px; margin: 0 auto; }

.final-cta-paw {
  position: absolute;
  bottom: -20px;
  right: 40px;
  font-size: 10rem;
  opacity: .08;
  pointer-events: none;
  line-height: 1;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--white);
  border-top: 1.5px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 360px;
  line-height: 1.55;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.legal-link {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 5px 10px;
  border-radius: var(--radius-full);
  transition: color var(--transition), background var(--transition);
  cursor: pointer;
}
.legal-link:hover { color: var(--orange); background: var(--orange-light); }

.footer-copy {
  width: 100%;
  font-size: 0.82rem;
  color: var(--text-light);
  text-align: center;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}

/* ============================================================
   LEGAL MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28,25,23,.45);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 640px;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  transform: scale(.96) translateY(12px);
  transition: transform .3s;
}
.modal-overlay.open .modal-box {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 1.5rem;
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
  z-index: 10;
}
.modal-close:hover { background: var(--cream); color: var(--text-dark); }

.modal-title {
  font-family: 'Nunito', sans-serif;
  font-size: 1.3rem;
  padding: 24px 52px 20px 28px;
  border-bottom: 1.5px solid var(--border);
  position: relative;
}

.modal-body {
  padding: 24px 28px;
  overflow-y: auto;
  flex: 1;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.modal-body h3 {
  font-size: 1rem;
  color: var(--text-dark);
  margin: 18px 0 8px;
}
.modal-body h3:first-child { margin-top: 0; }
.modal-body p { margin-bottom: 10px; }
.modal-body ul { padding-left: 16px; list-style: disc; margin-bottom: 10px; }
.modal-body ul li { margin-bottom: 4px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-content { max-width: 100%; }
  .hero-collage { height: 360px; margin: 0 auto; width: 100%; max-width: 480px; }

  .collage-card--1 { width: 170px; height: 220px; }
  .collage-card--2 { width: 190px; height: 240px; }
  .collage-card--3 { width: 140px; height: 160px; }
  .collage-card--4 { width: 150px; height: 170px; }

  .pets-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header-nav { display: none; }
  .header-cta  { display: none; }
  .hamburger   { display: flex; }

  .hero { padding: 56px 0 72px; }
  .hero-title { font-size: 2rem; }

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

  .steps-grid         { grid-template-columns: 1fr; }
  .pets-grid          { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid  { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-legal { margin-left: 0; }

  .section-header { margin-bottom: 40px; }
  .how-it-works, .pets-section, .testimonials, .faq-section { padding: 64px 0; }
  .final-cta { padding: 72px 0; }
}

@media (max-width: 520px) {
  .pets-grid { grid-template-columns: 1fr; }
  .toggle-btn { min-width: 130px; font-size: 0.92rem; padding: 10px 14px; }
  .hero-collage { height: 280px; }
  .collage-card--1 { width: 130px; height: 170px; }
  .collage-card--2 { width: 140px; height: 185px; }
  .collage-card--3 { width: 105px; height: 120px; }
  .collage-card--4 { width: 110px; height: 130px; }
  .final-cta-paw { font-size: 6rem; }
}
