:root {
  --bg: #fcfaf8;
  --text: #3b2b30;
  --accent: #d36989;
  --accent-dark: #b8506d;
  --cream: #f5ece7;
  --line: #e8dcd6;
  --font-serif: "Cormorant Garamond", serif;
  --font-sans: "Jost", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: linear-gradient(rgba(20,12,15,0.45), rgba(20,12,15,0.05));
  box-shadow: none;
  transition: background-color .3s ease, background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: 18px 0;
}
.site-header.is-scrolled {
  background: var(--bg);
  box-shadow: 0 2px 12px rgba(59,43,48,0.1);
  padding: 12px 0;
}
.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.35);
  transition: color .3s ease, text-shadow .3s ease;
}
.site-header.is-scrolled .logo { color: var(--text); text-shadow: none; }
.logo-mark { font-size: 26px; color: var(--accent); }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: var(--font-serif); font-size: 22px; }
.logo-sub { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.9; }

.main-nav { display: flex; gap: 30px; }
.main-nav a {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.35);
  transition: color .3s ease, opacity .2s ease, text-shadow .3s ease;
  opacity: 0.95;
}
.main-nav a:hover { opacity: 1; color: var(--accent); }
.site-header.is-scrolled .main-nav a { color: var(--text); text-shadow: none; opacity: 0.85; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.35);
  transition: background .3s ease;
}
.site-header.is-scrolled .nav-toggle span { background: var(--text); box-shadow: none; }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
}
.eyebrow-light { color: rgba(255,255,255,0.9); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  margin: 0 0 16px;
}
h2 { font-size: 44px; }
h3 { font-size: 30px; }
h4 { font-size: 22px; margin-bottom: 4px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,12,15,0.65) 0%, rgba(20,12,15,0.35) 55%, rgba(20,12,15,0.15) 100%);
}
.hero-content {
  position: relative;
  max-width: 720px;
  width: 100%;
  padding: 140px 24px 60px 0;
  margin-left: max(24px, calc((100vw - 1160px) / 2 + 24px));
  margin-right: 24px;
}
.hero h1 {
  font-size: clamp(42px, 6vw, 80px);
  line-height: 1.05;
  margin-bottom: 20px;
}
.hero-text { font-size: 17px; max-width: 560px; margin-bottom: 32px; opacity: 0.95; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 9999px;
  font-size: 15px;
  font-family: var(--font-sans);
  font-weight: 400;
  transition: transform .2s ease, background .2s ease, opacity .2s ease;
  border: none;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-white { background: rgba(255,255,255,0.95); color: var(--text); }
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 12px 22px;
  font-size: 14px;
  width: 100%;
  justify-content: center;
}
.btn-outline:hover { background: var(--accent); color: #fff; }
.icon-wa { width: 18px; height: 18px; color: #25D366; }

/* ---------- Breed cards ---------- */
.breed-cards { padding: 90px 0 20px; }
.breed-cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.breed-card {
  position: relative;
  min-height: 380px;
  border-radius: 20px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
.breed-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,12,15,0) 40%, rgba(20,12,15,0.75) 100%);
}
.breed-card-body { position: relative; padding: 32px; color: #fff; }
.breed-card-body h3 { color: #fff; margin-bottom: 8px; }
.link-discover {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.6);
  padding-bottom: 2px;
  transition: opacity .2s ease;
}
.link-discover:hover { opacity: 0.75; }

/* ---------- Features ---------- */
.features { padding: 70px 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.feature-icon { width: 34px; height: 34px; color: var(--accent); margin-bottom: 14px; }
.feature h4 { font-size: 18px; }
.feature p { font-size: 14px; opacity: 0.75; margin: 0; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--cream); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-sub { opacity: 0.8; margin-bottom: 22px; }

.breed-toggle {
  display: inline-flex;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9999px;
  padding: 4px;
  margin-top: 6px;
}
.toggle-btn {
  border: none;
  background: transparent;
  padding: 10px 22px;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.toggle-btn.is-active { background: var(--accent); color: #fff; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.about-image { position: relative; border-radius: 20px; overflow: hidden; height: 520px; }
.about-image img { width: 100%; height: 520px; object-fit: cover; border-radius: 20px; position: absolute; top: 0; left: 0; }
.about-caption {
  position: absolute; left: 20px; bottom: 20px;
  background: rgba(252,250,248,0.92);
  padding: 12px 18px;
  border-radius: 14px;
  display: flex; flex-direction: column;
  font-family: var(--font-serif);
  font-size: 18px;
  margin: 0;
}
.about-caption span { font-family: var(--font-sans); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.7; }
.about-text p { margin-bottom: 16px; }
.badges { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.badge {
  border: 1px solid var(--accent);
  color: var(--accent-dark);
  border-radius: 9999px;
  padding: 8px 18px;
  font-size: 13px;
}

/* ---------- Card grids ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.dog-card, .parent-card, .puppy-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(59,43,48,0.06);
}
.dog-card img { width: 100%; height: 260px; object-fit: cover; }
.dog-card-body { padding: 20px; }
.dog-coat { color: var(--accent-dark); font-size: 13px; letter-spacing: 0.03em; margin: 0 0 8px; text-transform: uppercase; }
.dog-card-body p:last-child { margin: 0; font-size: 14px; opacity: 0.85; }

/* Puppies */
.puppy-grid { grid-template-columns: repeat(3, 1fr); }
.puppy-img { position: relative; }
.puppy-img img { width: 100%; height: 240px; object-fit: cover; }
.status {
  position: absolute; top: 14px; left: 14px;
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 9999px; color: #fff;
}
.status-available { background: #6c9a5f; }
.status-reserved { background: #b18a4a; }
.puppy-body { padding: 22px; }
.puppy-body dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 12px 0 20px; font-size: 14px; }
.puppy-body dt { opacity: 0.6; }
.puppy-body dd { margin: 0; }

/* Parents */
.parent-grid { grid-template-columns: repeat(2, 1fr); }
.parent-card { display: grid; grid-template-columns: 220px 1fr; }
.parent-card img { width: 100%; height: 100%; object-fit: cover; }
.parent-body { padding: 26px; }
.parent-body h4 { margin-bottom: 2px; }
.parent-body > p:not(.eyebrow):not(.dog-coat) { font-size: 14px; opacity: 0.85; margin-bottom: 14px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list span {
  font-size: 12px; background: var(--cream); border-radius: 9999px;
  padding: 6px 12px; color: var(--text); opacity: 0.85;
}

/* ---------- Gallery ---------- */
.ig-link { color: var(--accent-dark); font-size: 15px; display: inline-block; margin-bottom: 6px; }
.ig-link:hover { text-decoration: underline; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.gallery-grid img { width: 100%; height: 180px; object-fit: cover; border-radius: 12px; }

/* ---------- Contact ---------- */
.contact-section .container { max-width: 1000px; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.contact-grid p { opacity: 0.85; margin-bottom: 26px; }
.contact-list { display: flex; flex-direction: column; gap: 20px; }
.contact-item { border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.contact-label { display: block; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 4px; }
.contact-item a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--text); color: #fff; padding: 50px 0; text-align: center; }
.footer-mark { color: var(--accent); font-size: 26px; margin: 0 0 6px; }
.footer-name { font-family: var(--font-serif); font-size: 22px; margin: 0 0 6px; }
.footer-sub { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; margin: 0 0 20px; }
.footer-copy { font-size: 13px; opacity: 0.55; margin: 0; }

/* ---------- Falling petals ---------- */
.petals {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 40;
}
.petal {
  position: absolute;
  top: -10vh;
  left: var(--x, 50vw);
  width: var(--size, 14px);
  height: calc(var(--size, 14px) * 0.75);
  background: linear-gradient(135deg, #fce4ec 0%, var(--accent) 100%);
  border-radius: 0% 70% 0% 70%;
  opacity: 0;
  will-change: transform, opacity;
  animation: petal-fall var(--dur, 14s) linear infinite;
  animation-delay: var(--delay, 0s);
}
@keyframes petal-fall {
  0% { transform: translate(0, 0) rotate(var(--rot-start, 0deg)); opacity: 0; }
  8% { opacity: 0.8; }
  92% { opacity: 0.8; }
  100% { transform: translate(var(--drift, 80px), 110vh) rotate(var(--rot-end, 300deg)); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .petals { display: none; }
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
  z-index: 90;
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: 260px;
    background: var(--bg);
    flex-direction: column;
    padding: 100px 32px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform .3s ease;
    box-shadow: -4px 0 24px rgba(0,0,0,0.1);
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { color: var(--text) !important; opacity: 1; }
  .nav-toggle { display: flex; }

  .breed-cards-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-image { height: 380px; }
  .card-grid, .puppy-grid { grid-template-columns: repeat(2, 1fr); }
  .parent-grid { grid-template-columns: 1fr; }
  .parent-card { grid-template-columns: 1fr; }
  .parent-card img { height: 220px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  h2 { font-size: 34px; }
  .card-grid, .puppy-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content { padding-top: 120px; }
}
