:root {
  --ink: #1a1a1a;
  --gray: #5a5a5a;
  --light: #f5efe6;
  --border: #d4c9b8;
  --accent: #8b5a2b;
  --accent-dark: #6b4520;
  --available: #2d5a3d;
  --reserved: #b8860b;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: white;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; height: auto; display: block; }

header { background: white; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 10; }
nav { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.5rem; max-width: 1200px; margin: 0 auto; }
.brand { font-family: Georgia, serif; font-size: 1.25rem; font-weight: 700; color: var(--ink); }
.brand em { color: var(--accent); font-style: italic; font-weight: 400; }
nav ul { display: flex; gap: 1.5rem; list-style: none; align-items: center; }
nav a { color: var(--ink); font-weight: 500; }
nav a:hover { color: var(--accent); }
nav a.contact-cta { background: var(--accent); color: white; padding: 0.5rem 1rem; border-radius: 4px; }
nav a.contact-cta:hover { background: var(--accent-dark); color: white; }
nav a.active { color: var(--accent); border-bottom: 2px solid var(--accent); }

.hero { padding: 5rem 1.5rem; text-align: center; background: linear-gradient(135deg, var(--light) 0%, #fff 100%); }
.hero h1 { font-family: Georgia, serif; font-size: 1.5rem; font-weight: 500; margin-bottom: 1rem; color: var(--ink); letter-spacing: 0.02em; }
.hero .subhead { font-size: 1.15rem; color: var(--gray); max-width: 640px; margin: 0 auto 2rem; }
.hero-img { max-width: 800px; margin: 2rem auto 2.5rem; border-radius: 8px; overflow: hidden; }
.hero-img img { width: 100%; height: auto; }

section { padding: 5rem 1.5rem; max-width: 1200px; margin: 0 auto; }
section h2 { font-family: Georgia, serif; font-size: 2.25rem; font-weight: 400; text-align: center; margin-bottom: 1rem; }
.section-intro { text-align: center; color: var(--gray); max-width: 600px; margin: 0 auto 3rem; font-size: 1.05rem; }
.section-alt { background: var(--light); max-width: none; }
.section-alt-inner { max-width: 1200px; margin: 0 auto; }

.btn { display: inline-block; padding: 0.75rem 1.5rem; background: var(--accent); color: white; border: none; border-radius: 4px; font-size: 1rem; font-weight: 600; cursor: pointer; text-align: center; transition: background 0.2s; font-family: inherit; }
.btn:hover { background: var(--accent-dark); color: white; }
.btn-outline { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn-outline:hover { background: var(--accent); color: white; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-block { display: block; width: 100%; }
.btn-disabled { background: #bbb; color: white; cursor: not-allowed; }
.btn-disabled:hover { background: #bbb; color: white; }

.puppy-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2rem; margin-top: 2rem; }
.puppy-card { background: white; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; }
.puppy-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.08); }
.puppy-card a.puppy-link { color: inherit; display: block; }
.puppy-card img { width: 100%; height: 220px; object-fit: cover; }
.puppy-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.puppy-status { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 12px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.75rem; align-self: flex-start; }
.status-available { background: #e6f4ea; color: var(--available); }
.status-reserved { background: #fff4d6; color: var(--reserved); }
.puppy-card h3 { font-family: Georgia, serif; font-size: 1.4rem; margin-bottom: 0.4rem; }
.puppy-meta { color: var(--gray); font-size: 0.9rem; margin-bottom: 0.75rem; }
.puppy-price { font-size: 1.4rem; font-weight: 700; margin-bottom: 1rem; }
.puppy-card .btn { margin-top: auto; }

.about-inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; align-items: center; }
.about-inner img { border-radius: 8px; }
.about-inner h2 { text-align: left; margin-bottom: 1rem; }
.about-inner p { margin-bottom: 1rem; color: var(--gray); }

.parents-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 2rem; }
.parent-card { text-align: center; }
.parent-card a { color: inherit; display: block; }
.parent-card img { width: 100%; max-width: 280px; height: 280px; object-fit: cover; border-radius: 50%; margin: 0 auto 1.5rem; border: 4px solid var(--light); }
.parent-card h3 { font-family: Georgia, serif; font-size: 1.5rem; margin-bottom: 0.5rem; }
.parent-card .parent-title { color: var(--accent); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.parent-card p { color: var(--gray); }

.detail-hero { padding: 3rem 1.5rem; background: var(--light); }
.detail-hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.detail-hero img { border-radius: 8px; width: 100%; height: 500px; object-fit: cover; }
.detail-hero h1 { font-family: Georgia, serif; font-size: 3rem; margin-bottom: 0.75rem; }
.detail-hero .breadcrumbs { font-size: 0.9rem; color: var(--gray); margin-bottom: 1rem; }
.detail-hero .breadcrumbs a { color: var(--gray); }
.detail-hero .subhead { color: var(--gray); font-size: 1.1rem; margin-bottom: 1.5rem; }
.detail-hero .price { font-size: 1.75rem; font-weight: 700; margin-bottom: 1.5rem; }
.detail-meta { display: flex; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.detail-meta span { padding: 0.4rem 0.9rem; background: white; border: 1px solid var(--border); border-radius: 20px; font-size: 0.9rem; color: var(--gray); }
.detail-body { max-width: 800px; margin: 0 auto; padding: 4rem 1.5rem; }
.detail-body h2 { font-family: Georgia, serif; font-size: 2rem; margin: 2rem 0 1rem; text-align: left; }
.detail-body h2:first-child { margin-top: 0; }
.detail-body p { color: var(--gray); margin-bottom: 1rem; font-size: 1.05rem; }
.detail-body ul { margin: 0 0 1.5rem 1.5rem; color: var(--gray); }
.detail-body ul li { margin-bottom: 0.4rem; }

.contact-wrap { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; max-width: 1000px; margin: 0 auto; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form label { display: flex; flex-direction: column; gap: 0.35rem; }
.contact-form label span { font-size: 0.85rem; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: 0.05em; }
.contact-form input, .contact-form select, .contact-form textarea { padding: 0.75rem 0.85rem; border: 1px solid var(--border); border-radius: 4px; font-size: 1rem; font-family: inherit; background: white; color: var(--ink); transition: border-color 0.15s, box-shadow 0.15s; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(139, 90, 43, 0.15); }
.contact-form textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { padding: 0.75rem 1rem; border-radius: 4px; font-size: 0.95rem; margin: 0; min-height: 1.5em; }
.form-note.success { background: #e6f4ea; color: var(--available); border: 1px solid #b7dfc1; }
.form-note.error { background: #fdecea; color: #b3261e; border: 1px solid #f5c6c2; }
.form-note:empty { display: none; }

.contact-side { display: flex; flex-direction: column; gap: 1.75rem; padding: 1.75rem; background: var(--light); border-radius: 8px; }
.side-item { display: flex; flex-direction: column; gap: 0.5rem; }
.side-item strong { color: var(--gray); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; }
.side-item a:not(.btn), .side-item span { font-size: 1.1rem; color: var(--ink); font-weight: 600; line-height: 1.4; }
.side-item a:not(.btn):hover { color: var(--accent); }
.side-hint { font-size: 0.8rem !important; font-weight: 400 !important; color: var(--gray) !important; }

footer { padding: 2rem 1.5rem; text-align: center; color: var(--gray); font-size: 0.9rem; border-top: 1px solid var(--border); background: var(--light); }
footer .brand-line { font-family: Georgia, serif; font-size: 1.1rem; color: var(--ink); margin-bottom: 0.5rem; }
footer nav { padding: 1rem 0 0; justify-content: center; }
footer nav ul { gap: 1.5rem; }
footer nav a { font-size: 0.9rem; }

@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero .subhead { font-size: 1rem; }
  .hero { padding: 3rem 1rem; }
  .about-inner { grid-template-columns: 1fr; gap: 2rem; }
  nav ul { gap: 0.75rem; font-size: 0.85rem; }
  .brand { font-size: 1.1rem; }
  section { padding: 3rem 1rem; }
  h2 { font-size: 1.75rem; }
  .contact-wrap { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .detail-hero-inner { grid-template-columns: 1fr; }
  .detail-hero img { height: 300px; }
  .detail-hero h1 { font-size: 2.25rem; }
  .parents-grid { grid-template-columns: 1fr; }
}

/* HERO LOGO */
.hero-logo { max-width: 260px; margin: 0 auto 1.5rem; }
.hero-logo img { width: 100%; height: auto; }
.hero-logo-placeholder {
  max-width: 260px; height: 140px; margin: 0 auto 1.5rem;
  border: 2px dashed var(--border); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray); font-size: 0.85rem; text-align: center; padding: 1rem;
  background: rgba(255,255,255,0.5);
}

/* NAV LOGO */
.brand { display: flex; align-items: center; }
.brand img { height: 50px; width: auto; display: block; }
@media (max-width: 768px) {
  .brand img { height: 40px; }
}