@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --cream: #faf6f0;
  --warm-white: #fffdf9;
  --sand: #e8ddd0;
  --terracotta: #c4693a;
  --terracotta-dark: #a5542b;
  --brown: #3d2b1f;
  --brown-mid: #6b4c37;
  --brown-light: #9c7860;
  --sage: #7a8c6e;
  --text: #2a1f17;
  --text-muted: #5c4538;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  font-size: 17.5px;
  line-height: 1.7;
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--warm-white);
  border-bottom: 1px solid var(--sand);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo img {
  height: 48px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--brown-mid);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--terracotta);
}

.nav-cta {
  background: var(--terracotta);
  color: white !important;
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: var(--terracotta-dark) !important;
  color: white !important;
}

/* HERO */
.hero {
  min-height: 52vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 4rem 2.5rem 6rem;
  background: var(--warm-white);
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 4vw, 4.2rem);
  line-height: 1.1;
  color: var(--brown);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero h1 em {
  font-style: italic;
  color: var(--terracotta);
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 44ch;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: var(--terracotta);
  color: white;
  text-decoration: none;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--terracotta-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-block;
  color: var(--brown-mid);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.85rem 1rem;
  border-bottom: 2px solid var(--sand);
  transition: border-color 0.2s, color 0.2s;
}

.btn-secondary:hover {
  color: var(--terracotta);
  border-color: var(--terracotta);
}

.hero-visual {
  position: relative;
  background: var(--sand);
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-visual-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8ddd0 0%, #d4c4b0 50%, #c9b89e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-placeholder svg {
  width: 120px;
  height: 120px;
  opacity: 0.25;
}

/* NOTICE BANNER */
.notice-banner {
  background: var(--brown);
  color: white;
  text-align: center;
  padding: 1rem 2rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.notice-banner strong {
  color: #f5c896;
}

/* SECTION STYLES */
section {
  padding: 6rem 2rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--brown);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 60ch;
  line-height: 1.8;
}

/* DOGS GRID */
.dogs-section {
  background: var(--warm-white);
}

.dogs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3.5rem;
}

.dog-card {
  background: var(--cream);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--sand);
  transition: transform 0.25s, box-shadow 0.25s;
  display: block;
}

.dog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(61, 43, 31, 0.12);
}

.dog-card-image {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #e8ddd0, #d0bfad);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.dog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dog-card-image svg {
  opacity: 0.2;
  width: 80px;
  height: 80px;
}

.dog-card-body {
  padding: 1.75rem;
}

.dog-card-breed {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brown-light);
  margin-bottom: 0.4rem;
}

.dog-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--brown);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.dog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.tag {
  background: var(--sand);
  color: var(--brown-mid);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
}

.dog-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.dog-card-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--terracotta);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.dog-card-link svg {
  transition: transform 0.2s;
}

.dog-card:hover .dog-card-link svg {
  transform: translateX(4px);
}

/* HOW IT WORKS */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.step {
  padding: 2rem;
  background: var(--warm-white);
  border-radius: 12px;
  border: 1px solid var(--sand);
}

.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--sand);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--brown);
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* CONTACT STRIP */
.contact-strip {
  background: var(--brown);
  color: white;
  text-align: center;
  padding: 4rem 2rem;
}

.contact-strip .section-label {
  color: #f5c896;
}

.contact-strip .section-title {
  color: white;
}

.contact-strip .section-lead {
  color: rgba(255,255,255,0.7);
  margin: 0 auto 2rem;
}

.contact-strip a.btn-primary {
  background: var(--terracotta);
}

.contact-strip a.btn-primary:hover {
  background: var(--terracotta-dark);
}

/* FOOTER */
footer {
  background: var(--brown);
  color: rgba(255,255,255,0.5);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 2rem;
  text-align: center;
  font-size: 0.82rem;
}

footer a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}

footer a:hover {
  color: white;
}

/* CAROUSEL */
.carousel {
  position: sticky;
  top: 80px;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--sand);
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
  z-index: 2;
  color: var(--brown);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.carousel-btn:hover {
  background: white;
}

.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }

.carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.carousel-dot.active {
  background: white;
  transform: scale(1.2);
}

/* DOG PROFILE PAGE */
.dog-hero {
  background: var(--warm-white);
  padding: 5rem 2rem 4rem;
}

.dog-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.dog-hero-image {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #e8ddd0, #d0bfad);
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 80px;
}

.dog-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dog-hero-image svg {
  opacity: 0.2;
  width: 100px;
  height: 100px;
}

.dog-profile-back {
  font-size: 0.85rem;
  color: var(--brown-light);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}

.dog-profile-back:hover {
  color: var(--terracotta);
}

.dog-profile-breed {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.5rem;
}

.dog-profile-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--brown);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

.dog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.dog-meta .tag {
  background: var(--sand);
  font-size: 0.82rem;
}

.dog-bio {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 2rem;
}

.dog-bio p + p {
  margin-top: 1rem;
}

.compat-section {
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--cream);
  border-radius: 12px;
  border: 1px solid var(--sand);
}

.compat-section h3 {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown-light);
  margin-bottom: 1rem;
}

.compat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.compat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
}

.compat-item span:first-child {
  color: var(--text-muted);
}

.hearts {
  color: var(--terracotta);
  letter-spacing: 1px;
}

.hearts .empty {
  color: var(--sand);
}

.fee-box {
  background: var(--terracotta);
  color: white;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fee-box .fee-label {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 0.2rem;
}

.fee-box .fee-amount {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
}

.fee-box .fee-note {
  font-size: 0.8rem;
  opacity: 0.75;
}

.dog-cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ADOPT PAGE */
.page-hero {
  background: var(--warm-white);
  padding: 5rem 2rem 4rem;
  border-bottom: 1px solid var(--sand);
}

.page-hero-inner {
  max-width: 700px;
}

.content-section {
  padding: 4rem 2rem;
}

.content-inner {
  max-width: 800px;
  margin: 0 auto;
}

.process-steps {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--sand);
}

.process-step:last-child {
  border-bottom: none;
}

.process-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--brown);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.process-step h3 {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--brown);
  margin-bottom: 0.4rem;
  padding-top: 0.6rem;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.fees-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  font-size: 0.9rem;
}

.fees-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  background: var(--brown);
  color: white;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.fees-table th:first-child { border-radius: 8px 0 0 0; }
.fees-table th:last-child { border-radius: 0 8px 0 0; }

.fees-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--sand);
  color: var(--text-muted);
}

.fees-table tr:last-child td {
  border-bottom: none;
}

.fees-table tr:nth-child(even) td {
  background: var(--warm-white);
}

.requirements-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.requirements-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.6;
}

.requirements-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--terracotta);
  font-size: 0.85rem;
}

/* FAQ PAGE */
.faq-list {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--sand);
  padding: 2rem 0;
}

.faq-item:first-child {
  border-top: 1px solid var(--sand);
}

.faq-q {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--brown);
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.faq-a {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-content {
    padding: 3rem 1.5rem;
  }

  .hero-visual {
    aspect-ratio: 16/9;
    min-height: 280px;
  }

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

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

  .dog-hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .dog-hero-image {
    position: static;
    aspect-ratio: 4/3;
  }

  .nav-links {
    gap: 1rem;
  }

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