/* ==========================================================================
   CASTLE CORSOS — Premium Stylesheet
   Palette: Deep Teal + Warm Terracotta + Cream
   ========================================================================== */

:root {
  --teal-deep: #0e3a3d;
  --teal-mid: #1a5358;
  --teal-soft: #2a6b71;
  --terracotta: #d97757;
  --terracotta-dark: #b85d3f;
  --terracotta-light: #e89878;
  --cream: #f7f1e6;
  --cream-soft: #fbf7ee;
  --sand: #ede4d3;
  --ink: #1a2828;
  --ink-soft: #3d4d4d;
  --muted: #7a8585;
  --line: #e0d5c1;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(14, 58, 61, 0.06);
  --shadow-md: 0 8px 24px rgba(14, 58, 61, 0.10);
  --shadow-lg: 0 20px 60px rgba(14, 58, 61, 0.18);
  --radius: 14px;
  --radius-lg: 22px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }

.container { max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; }

h1, h2, h3, h4, h5 { font-family: var(--font-serif); font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; color: var(--teal-deep); }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.85rem); }
h4 { font-size: 1.25rem; }

p { color: var(--ink-soft); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(247, 241, 230, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}
.navbar.scrolled {
  background: rgba(247, 241, 230, 0.97);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.navbar-inner {
  max-width: 1340px; margin: 0 auto; padding: 1rem 1.75rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-serif);
  font-size: 1.4rem; font-weight: 700;
  color: var(--teal-deep); letter-spacing: 0.02em;
  text-decoration: none;
}
.nav-logo-img { height: 56px; width: auto; display: block; }
.nav-logo .accent { color: var(--terracotta); font-weight: 500; font-style: italic; }
.logo-mark {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--teal-deep), var(--teal-soft));
  color: var(--cream); border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.15rem; font-weight: 700;
  font-family: var(--font-serif);
  border: 2px solid var(--terracotta);
  box-shadow: var(--shadow-sm);
}
.nav-links { list-style: none; display: flex; gap: 2.2rem; align-items: center; }
.nav-links a {
  font-size: 0.93rem; font-weight: 500; color: var(--ink);
  position: relative; padding: 0.4rem 0;
}
.nav-links a:not(.nav-cta)::after {
  content: ""; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--terracotta);
  transition: width var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--teal-deep); }

.nav-cta {
  background: var(--terracotta); color: var(--cream) !important;
  padding: 0.7rem 1.4rem; border-radius: 50px; font-weight: 600;
  box-shadow: 0 4px 14px rgba(217, 119, 87, 0.3);
}
.nav-cta:hover { background: var(--terracotta-dark); transform: translateY(-1px); }

.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 6px;
}
.hamburger span {
  width: 26px; height: 2.5px; background: var(--teal-deep);
  border-radius: 2px; transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed; top: 70px; left: 0; right: 0;
  background: var(--cream); padding: 1.5rem;
  flex-direction: column; gap: 1.1rem;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  z-index: 99;
}
.mobile-menu a { font-size: 1.05rem; padding: 0.55rem 0; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-menu a.nav-cta { background: var(--terracotta); color: var(--cream); border: none; text-align: center; border-radius: 50px; padding: 0.85rem; }
.mobile-menu.active { display: flex; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary, .btn-outline, .btn-green {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.95rem 1.9rem; border-radius: 50px;
  font-weight: 600; font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer; transition: all var(--transition);
  text-align: center; justify-content: center;
}
.btn-primary {
  background: var(--terracotta); color: var(--cream);
  box-shadow: 0 6px 20px rgba(217, 119, 87, 0.35);
}
.btn-primary:hover { background: var(--terracotta-dark); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(217, 119, 87, 0.45); }

.btn-outline {
  background: transparent; color: var(--teal-deep); border-color: var(--teal-deep);
}
.btn-outline:hover { background: var(--teal-deep); color: var(--cream); }

.btn-green {
  background: var(--teal-deep); color: var(--cream);
  box-shadow: 0 6px 20px rgba(14, 58, 61, 0.25);
}
.btn-green:hover { background: var(--teal-mid); transform: translateY(-2px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(135deg, rgba(14,68,65,0.88) 0%, rgba(31,98,94,0.82) 60%, rgba(56,120,116,0.75) 100%),
    url('../images/puppies/king.jpg') center 30%/cover no-repeat;
  color: var(--cream);
  padding: 9rem 1.5rem 6rem;
  overflow: hidden;
}
.hero-bg-pattern {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(217, 119, 87, 0.22), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(247, 241, 230, 0.08), transparent 50%);
  pointer-events: none;
}
.hero-grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(247, 241, 230, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 241, 230, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-inner {
  max-width: 1340px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 4rem; align-items: center;
  position: relative; z-index: 2;
}
.hero-content { animation: fadeUp 0.9s ease-out; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(217, 119, 87, 0.18);
  border: 1px solid rgba(217, 119, 87, 0.5);
  color: var(--terracotta-light);
  padding: 0.5rem 1.1rem; border-radius: 50px;
  font-size: 0.83rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}
.hero-title { color: var(--cream); margin-bottom: 1.5rem; font-size: clamp(2.6rem, 5.5vw, 4.6rem); line-height: 1.05; }
.hero-title em { color: var(--terracotta-light); font-style: italic; font-weight: 400; display: block; font-size: 0.6em; letter-spacing: 0.04em; margin-bottom: 0.4rem; }
.hero-title strong { display: block; font-weight: 700; }
.hero-desc { color: rgba(247, 241, 230, 0.82); font-size: 1.1rem; max-width: 540px; margin-bottom: 2.2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-actions .btn-outline { color: var(--cream); border-color: rgba(247, 241, 230, 0.4); }
.hero-actions .btn-outline:hover { background: var(--cream); color: var(--teal-deep); border-color: var(--cream); }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(247, 241, 230, 0.15);
}
.hero-stat .num { font-family: var(--font-serif); font-size: 2.2rem; font-weight: 700; color: var(--terracotta-light); }
.hero-stat .label { font-size: 0.82rem; color: rgba(247, 241, 230, 0.7); text-transform: uppercase; letter-spacing: 0.08em; }

.hero-visual { position: relative; height: 560px; }
.hero-img-stack { position: relative; width: 100%; height: 100%; }
.hero-img-main {
  position: absolute; top: 0; right: 0;
  width: 78%; height: 76%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--cream);
  animation: float 6s ease-in-out infinite;
}
.hero-img-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-float {
  position: absolute; bottom: 0; left: 0;
  width: 50%; height: 45%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--cream);
  animation: float 6s ease-in-out infinite reverse;
}
.hero-img-float img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-badge {
  position: absolute; top: 30%; left: -10px;
  background: var(--cream); color: var(--teal-deep);
  padding: 1rem 1.25rem; border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  text-align: center; z-index: 5;
  border: 2px solid var(--terracotta);
}
.badge-num { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700; color: var(--terracotta); }
.badge-txt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-soft); }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--cream-soft);
  padding: 1.75rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.trust-bar-inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 1.5rem 2rem;
}
.trust-item {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.9rem; font-weight: 500; color: var(--ink-soft);
}
.trust-item svg { width: 20px; height: 20px; fill: var(--terracotta); }
.trust-divider { width: 1px; height: 22px; background: var(--line); }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.section-label {
  display: inline-block;
  color: var(--terracotta);
  font-size: 0.82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em;
  margin-bottom: 0.9rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p { font-size: 1.08rem; color: var(--ink-soft); }

/* ============================================================
   PUPPIES SECTION + CARDS
   ============================================================ */
.puppies-section { padding: 6rem 0; background: var(--cream); }
.puppies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.puppy-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.puppy-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--terracotta); }

.puppy-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #f5f0e8;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.puppy-card-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center bottom;
  transition: transform 0.5s ease;
}
.puppy-card:hover .puppy-card-img img { transform: scale(1.04); }

.puppy-badge {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--terracotta); color: var(--cream);
  padding: 0.35rem 0.85rem; border-radius: 50px;
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  box-shadow: var(--shadow-sm);
}
.puppy-badge.female { background: var(--teal-deep); }

.puppy-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.puppy-card-body h3 { font-size: 1.45rem; margin-bottom: 0.4rem; }
.puppy-meta { color: var(--muted); font-size: 0.88rem; margin-bottom: 0.8rem; display: flex; gap: 1rem; align-items: center; }
.puppy-meta span { display: inline-flex; align-items: center; gap: 0.35rem; }
.puppy-card-body p { font-size: 0.93rem; margin-bottom: 1.2rem; flex: 1; }
.puppy-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1.1rem; border-top: 1px solid var(--line);
}
.puppy-price { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; color: var(--terracotta); }
.puppy-link {
  font-size: 0.88rem; font-weight: 600; color: var(--teal-deep);
  display: inline-flex; align-items: center; gap: 0.3rem;
}
.puppy-link:hover { color: var(--terracotta); gap: 0.55rem; }

.view-all-wrap { text-align: center; margin-top: 3.5rem; }

/* skeleton loader */
.skeleton { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.skeleton-img { aspect-ratio: 4 / 3; background: linear-gradient(90deg, var(--sand), var(--line), var(--sand)); background-size: 200% 100%; animation: shimmer 1.5s infinite; }
.skeleton-body { padding: 1.5rem; }
.skeleton-line { height: 14px; background: var(--sand); border-radius: 6px; margin-bottom: 0.7rem; animation: shimmer 1.5s infinite; }
.skeleton-line.w70 { width: 70%; }
.skeleton-line.w45 { width: 45%; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section { padding: 6rem 0; background: var(--cream-soft); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-images { position: relative; height: 580px; }
.about-img-primary {
  position: absolute; top: 0; left: 0;
  width: 70%; height: 75%;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 4px solid var(--cream);
}
.about-img-primary img { width: 100%; height: 100%; object-fit: cover; }
.about-img-secondary {
  position: absolute; bottom: 0; right: 0;
  width: 55%; height: 50%;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 4px solid var(--cream);
}
.about-img-secondary img { width: 100%; height: 100%; object-fit: cover; }
.about-experience-badge {
  position: absolute; top: 50%; left: 60%;
  background: var(--terracotta); color: var(--cream);
  padding: 1.5rem 1.8rem; border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-lg);
  z-index: 5;
}
.about-experience-badge .years { font-family: var(--font-serif); font-size: 2.4rem; font-weight: 700; line-height: 1; }
.about-experience-badge .yrs-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.3rem; }

.about-content h2 { margin: 0.5rem 0 1.5rem; }
.about-content p { margin-bottom: 1.1rem; font-size: 1.02rem; }
.about-features { margin-top: 1.8rem; display: grid; gap: 0.9rem; }
.about-feature {
  display: flex; align-items: center; gap: 0.8rem;
  font-size: 0.96rem; color: var(--ink); font-weight: 500;
}
.about-feature svg { width: 22px; height: 22px; fill: var(--terracotta); flex-shrink: 0; }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-section { padding: 6rem 0; background: var(--teal-deep); color: var(--cream); }
.why-section h2 { color: var(--cream); }
.why-section .section-header p { color: rgba(247, 241, 230, 0.75); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.why-card {
  background: rgba(247, 241, 230, 0.05);
  border: 1px solid rgba(247, 241, 230, 0.12);
  padding: 2rem; border-radius: var(--radius);
  transition: all var(--transition);
}
.why-card:hover { background: rgba(217, 119, 87, 0.12); border-color: var(--terracotta); transform: translateY(-4px); }
.why-icon {
  width: 56px; height: 56px;
  background: var(--terracotta); border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 1.2rem;
}
.why-icon svg { width: 28px; height: 28px; fill: var(--cream); }
.why-card h4 { color: var(--cream); margin-bottom: 0.6rem; font-family: var(--font-serif); font-size: 1.25rem; }
.why-card p { color: rgba(247, 241, 230, 0.7); font-size: 0.94rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { padding: 6rem 0; background: var(--cream-soft); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.8rem; }
.testi-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: all var(--transition);
  position: relative;
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testi-card::before {
  content: """; position: absolute; top: 1rem; right: 1.5rem;
  font-family: var(--font-serif); font-size: 4rem; color: var(--terracotta);
  opacity: 0.2; line-height: 1;
}
.testi-stars { color: var(--terracotta); margin-bottom: 1rem; font-size: 1.05rem; letter-spacing: 0.15em; }
.testi-text { color: var(--ink-soft); font-style: italic; line-height: 1.7; margin-bottom: 1.5rem; font-size: 0.97rem; }
.testi-author { display: flex; align-items: center; gap: 0.85rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.testi-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-deep), var(--terracotta));
  color: var(--cream); display: grid; place-items: center;
  font-family: var(--font-serif); font-weight: 700; font-size: 1.1rem;
}
.testi-name { font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.testi-loc { font-size: 0.82rem; color: var(--muted); }

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, rgba(14, 68, 65, 0.82), rgba(31, 98, 94, 0.78)),
    url('../images/puppies/titan.jpg') center/cover no-repeat;
  color: var(--cream);
  padding: 9rem 1.5rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(217, 119, 87, 0.25), transparent 50%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--cream); margin-bottom: 1rem; }
.page-hero p { color: rgba(247, 241, 230, 0.85); font-size: 1.12rem; max-width: 640px; margin: 0 auto; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section { padding: 6rem 0; background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }
.contact-info h2 { margin: 0.5rem 0 1.5rem; }
.contact-info p { font-size: 1.02rem; margin-bottom: 2rem; }
.contact-info-items { display: grid; gap: 1.5rem; }
.contact-info-item { display: flex; gap: 1.1rem; align-items: flex-start; }
.contact-info-icon {
  width: 50px; height: 50px; flex-shrink: 0;
  background: var(--cream-soft);
  border: 2px solid var(--terracotta);
  border-radius: 14px;
  display: grid; place-items: center;
}
.contact-info-icon svg { width: 24px; height: 24px; fill: var(--terracotta); }
.contact-info-item h4 { font-size: 1rem; margin-bottom: 0.3rem; color: var(--teal-deep); font-family: var(--font-sans); font-weight: 700; }
.contact-info-item p { font-size: 0.95rem; margin-bottom: 0; color: var(--ink-soft); }
.contact-info-item a { color: var(--terracotta); font-weight: 600; }
.contact-info-item a:hover { color: var(--terracotta-dark); text-decoration: underline; }

.contact-form-wrap {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.contact-form-wrap h3 { margin-bottom: 1.8rem; font-size: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--teal-deep); margin-bottom: 0.45rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--cream-soft);
  font-family: inherit; font-size: 0.95rem;
  color: var(--ink);
  transition: all var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--terracotta);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(217, 119, 87, 0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit {
  width: 100%;
  background: var(--terracotta); color: var(--cream);
  padding: 1.05rem; border: none;
  border-radius: 50px;
  font-size: 1rem; font-weight: 600;
  cursor: pointer; transition: all var(--transition);
  box-shadow: 0 6px 18px rgba(217, 119, 87, 0.35);
}
.form-submit:hover { background: var(--terracotta-dark); transform: translateY(-2px); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.form-success {
  display: none;
  background: rgba(46, 139, 87, 0.1);
  border: 1.5px solid #2e8b57;
  border-radius: var(--radius);
  padding: 2rem; text-align: center;
  margin-bottom: 1.5rem;
}
.form-success.show { display: block; animation: fadeIn 0.4s ease; }
.form-success .check { font-size: 2.2rem; margin-bottom: 0.6rem; }
.form-success h4 { color: #2e8b57; margin-bottom: 0.5rem; }
.form-success p { color: var(--ink-soft); margin: 0; }

.btn-sms-full {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 1.5rem; border-radius: 50px;
  color: var(--white); font-weight: 600; text-decoration: none;
  width: 100%; max-width: 280px;
  transition: all var(--transition);
}
.btn-sms-full:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ============================================================
   PUPPY DETAIL
   ============================================================ */
.puppy-detail-section { padding: 7rem 0 5rem; background: var(--cream); }
.puppy-detail-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; }
.puppy-gallery { display: flex; flex-direction: column; gap: 1rem; }
.puppy-main-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #f5f0e8;
  display: flex; align-items: center; justify-content: center;
}
.puppy-main-image img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; background: #f5f0e8; }
.puppy-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.puppy-thumb {
  aspect-ratio: 1; border-radius: 12px; overflow: hidden;
  cursor: pointer; opacity: 0.7;
  border: 2.5px solid transparent;
  transition: all var(--transition);
}
.puppy-thumb img { width: 100%; height: 100%; object-fit: cover; }
.puppy-thumb:hover, .puppy-thumb.active { opacity: 1; border-color: var(--terracotta); }

.puppy-info .badge-row { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.puppy-info .badge-pill {
  padding: 0.3rem 0.85rem; border-radius: 50px;
  font-size: 0.76rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  background: var(--cream-soft); color: var(--teal-deep);
  border: 1px solid var(--line);
}
.puppy-info .badge-pill.terra { background: var(--terracotta); color: var(--cream); border: none; }
.puppy-info h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: 0.5rem; }
.puppy-info-price { font-family: var(--font-serif); font-size: 2.2rem; color: var(--terracotta); font-weight: 700; margin: 1rem 0 1.5rem; }
.puppy-info-desc { font-size: 1.02rem; line-height: 1.75; margin-bottom: 2rem; }

.puppy-attrs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 2rem; }
.puppy-attr {
  background: var(--cream-soft);
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  border-left: 3px solid var(--terracotta);
}
.puppy-attr-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 0.25rem; }
.puppy-attr-value { font-weight: 600; color: var(--teal-deep); font-size: 1.02rem; }

.puppy-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { padding: 5rem 0; background: var(--cream); }
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 1rem; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item.open { border-color: var(--terracotta); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%; padding: 1.4rem 1.6rem;
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-serif); font-size: 1.15rem; font-weight: 600;
  color: var(--teal-deep); text-align: left;
}
.faq-q .icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--cream-soft); color: var(--terracotta);
  display: grid; place-items: center;
  transition: all var(--transition);
  flex-shrink: 0; margin-left: 1rem;
  font-size: 1.3rem; line-height: 1;
}
.faq-item.open .icon { background: var(--terracotta); color: var(--cream); transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 1.6rem;
}
.faq-item.open .faq-a { max-height: 400px; padding: 0 1.6rem 1.4rem; }
.faq-a p { color: var(--ink-soft); line-height: 1.7; }

/* ============================================================
   GENERIC CONTENT (about, health, vacc, delivery, terms)
   ============================================================ */
.content-section { padding: 5rem 0; background: var(--cream); }
.content-wrap { max-width: 880px; margin: 0 auto; }
.content-wrap h2 { margin: 2.5rem 0 1rem; }
.content-wrap h3 { margin: 2rem 0 0.7rem; color: var(--teal-deep); font-size: 1.4rem; }
.content-wrap p { margin-bottom: 1.1rem; font-size: 1.02rem; line-height: 1.8; }
.content-wrap ul { margin: 1rem 0 1.5rem 1.5rem; }
.content-wrap ul li { margin-bottom: 0.6rem; line-height: 1.7; color: var(--ink-soft); }
.content-wrap ul li::marker { color: var(--terracotta); }
.content-wrap blockquote {
  border-left: 4px solid var(--terracotta);
  background: var(--cream-soft);
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--ink-soft);
}
.content-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 2.2rem;
  margin-bottom: 1.2rem;
  box-shadow: var(--shadow-sm);
}
.content-card h3 { margin-top: 0; }
.icon-list { list-style: none; padding: 0; }
.icon-list li {
  padding: 0.7rem 0 0.7rem 2rem;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.icon-list li:last-child { border-bottom: none; }
.icon-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0.7rem;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--terracotta); color: var(--cream);
  display: grid; place-items: center;
  font-size: 0.8rem; font-weight: 700;
}

/* Vaccination table */
.vacc-table {
  width: 100%; border-collapse: collapse;
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; margin: 1.5rem 0;
  box-shadow: var(--shadow-sm);
}
.vacc-table th, .vacc-table td { padding: 0.95rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); }
.vacc-table th { background: var(--teal-deep); color: var(--cream); font-weight: 600; font-size: 0.92rem; }
.vacc-table tr:last-child td { border-bottom: none; }
.vacc-table tr:hover { background: var(--cream-soft); }

/* ============================================================
   FILTERS (puppies page)
   ============================================================ */
.filters-bar {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  margin-bottom: 2.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between;
  box-shadow: var(--shadow-sm);
}
.filter-group { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; }
.filter-btn {
  padding: 0.55rem 1.2rem; border-radius: 50px;
  background: var(--cream-soft); color: var(--ink-soft);
  border: 1.5px solid var(--line);
  font-size: 0.88rem; font-weight: 600;
  cursor: pointer; transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--terracotta); color: var(--terracotta); }
.filter-btn.active { background: var(--terracotta); color: var(--cream); border-color: var(--terracotta); }

.filter-search {
  flex: 1; min-width: 200px;
  padding: 0.6rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 50px;
  background: var(--cream-soft);
  font-size: 0.92rem;
  font-family: inherit;
}
.filter-search:focus { outline: none; border-color: var(--terracotta); background: var(--white); }

.empty-state {
  text-align: center; padding: 4rem 1rem;
  color: var(--muted);
  grid-column: 1 / -1;
}
.empty-state h3 { margin-bottom: 0.6rem; color: var(--teal-deep); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--teal-deep); color: var(--cream); padding: 4rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; }
.footer-brand .footer-logo-wrap { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.2rem; }
.footer-logo-mark {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--terracotta), var(--terracotta-dark));
  color: var(--cream); border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-serif); font-weight: 700; font-size: 1.2rem;
  border: 2px solid var(--cream);
}
.footer-logo-text { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 700; color: var(--cream); }
.footer-logo-text span { color: var(--terracotta-light); font-style: italic; font-weight: 500; }
.footer-desc { color: rgba(247, 241, 230, 0.7); font-size: 0.93rem; line-height: 1.7; margin-bottom: 1.5rem; }
.footer-contact-row { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-contact-link {
  color: rgba(247, 241, 230, 0.8); font-size: 0.9rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.footer-contact-link:hover { color: var(--terracotta-light); }
.footer-contact-link svg { width: 16px; height: 16px; fill: var(--terracotta); }

.footer-col h5 {
  color: var(--cream); font-size: 0.92rem;
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 1.2rem; font-family: var(--font-sans); font-weight: 700;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-links a { color: rgba(247, 241, 230, 0.7); font-size: 0.92rem; }
.footer-links a:hover { color: var(--terracotta-light); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(247, 241, 230, 0.12);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-copy { color: rgba(247, 241, 230, 0.55); font-size: 0.85rem; margin: 0; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: rgba(247, 241, 230, 0.55); font-size: 0.85rem; }
.footer-legal a:hover { color: var(--terracotta-light); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 968px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { height: 440px; }
  .about-grid, .contact-grid, .puppy-detail-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-images { height: 460px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 7rem 1rem 4rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .puppy-attrs { grid-template-columns: 1fr; }
  .filters-bar { flex-direction: column; align-items: stretch; }
}
@media (max-width: 480px) {
  .hero-img-badge { display: none; }
  .hero-stats { grid-template-columns: 1fr; }
  .puppies-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form-wrap { padding: 1.5rem; }
}

/* ============================================================
   PUPPY DETAIL — NEW LAYOUT (screenshot-matched)
   ============================================================ */

.puppy-detail-section { padding: 3rem 0 5rem; }

.puppy-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 40px rgba(0,0,0,0.08);
  padding: 0;
}

.puppy-gallery { position: relative; }

.puppy-main-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
}

.puppy-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  background: #f5f0e8;
  display: block;
}

.puppy-detail-avail-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--terracotta);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.35rem 0.9rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.puppy-info {
  padding: 2.5rem 2.5rem 2.5rem 0.5rem;
}

.puppy-detail-top-row h1 {
  font-size: 2.4rem;
  margin: 0 0 0.25rem;
  color: var(--teal-deep);
}

.puppy-id-row {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.puppy-price-banner {
  background: var(--terracotta-dark, #7a1c2e);
  color: #fff;
  border-radius: 8px;
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.puppy-price-big {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.puppy-price-label {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

.puppy-specs-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  text-align: center;
}

.puppy-spec {
  padding: 0.75rem 0.5rem;
  border: 1.5px solid var(--line);
  border-radius: 8px;
}

.puppy-spec-icon { font-size: 1.4rem; margin-bottom: 0.25rem; }

.puppy-spec-val {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--teal-deep);
  margin-bottom: 0.2rem;
}

.puppy-spec-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.puppy-reg-row {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.puppy-info-desc {
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

.puppy-comes-with {
  background: #faf7f0;
  border: 1.5px solid #e8dfc8;
  border-radius: 10px;
  padding: 1.2rem 1.4rem;
  margin-bottom: 1.75rem;
}

.puppy-comes-with h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--teal-deep);
  margin-bottom: 0.75rem;
}

.puppy-comes-with ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.puppy-comes-with ul li {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.puppy-comes-with ul li::before { display: none; }

.puppy-actions {
  display: flex;
  gap: 1rem;
}

.puppy-actions .btn-primary,
.puppy-actions .btn-outline {
  flex: 1;
  text-align: center;
  padding: 0.9rem 1rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.22s ease;
}

.puppy-actions .btn-primary {
  background: var(--terracotta);
  color: #fff;
  border: 2px solid var(--terracotta);
}

.puppy-actions .btn-primary:hover {
  background: var(--terracotta-dark, #7a1c2e);
  border-color: var(--terracotta-dark, #7a1c2e);
}

.puppy-actions .btn-outline {
  background: transparent;
  color: var(--terracotta);
  border: 2px solid var(--terracotta);
}

.puppy-actions .btn-outline:hover {
  background: var(--terracotta);
  color: #fff;
}

/* ============================================================
   LOGO IMAGE IN NAVBAR
   ============================================================ */
.nav-logo-img {
  height: 48px;
  width: auto;
  display: block;
}

/* ============================================================
   TESTIMONIALS — with real image style
   ============================================================ */
.testi-avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--terracotta);
}

.testi-google-badge {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--terracotta);
}

.testi-google-badge svg { width: 18px; height: 18px; }

.testi-date-loc {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.6rem;
}

.testi-rating-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.testi-rating-num {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
}

@media (max-width: 900px) {
  .puppy-detail-grid { grid-template-columns: 1fr; }
  .puppy-info { padding: 1.5rem; }
  .puppy-specs-row { grid-template-columns: repeat(2, 1fr); }
  .puppy-main-image { aspect-ratio: 4/5; }
}

@media (max-width: 480px) {
  .puppy-actions { flex-direction: column; }
  .puppy-specs-row { grid-template-columns: repeat(2, 1fr); }
  .puppy-price-banner { flex-direction: column; gap: 0.4rem; }
}

/* ============================================================
   FOOTER LOGO FIX — display actual image properly
   ============================================================ */
.footer-logo-img {
  height: 60px;
  width: auto;
  display: block;
  object-fit: contain;
  /* Use mix-blend-mode to handle non-transparent backgrounds */
  mix-blend-mode: lighten;
  border-radius: 6px;
}

/* Fallback: if image fails, show styled text */
.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

/* ============================================================
   MOBILE ENHANCEMENTS — comprehensive responsive fixes
   ============================================================ */

/* Ensure proper box-sizing and no overflow */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; }

/* Navbar mobile: make logo smaller */
@media (max-width: 480px) {
  .nav-logo-img { height: 38px; }
  .navbar-inner { padding: 0 1rem; }
  .section-title { font-size: clamp(1.6rem, 5vw, 2.2rem); }
}

/* Hero section mobile fix */
@media (max-width: 600px) {
  .hero { padding: 6rem 1rem 3rem; }
  .hero-title { font-size: clamp(2rem, 7vw, 3rem); }
  .hero-subtitle { font-size: 1rem; }
  .hero-actions { flex-direction: column; gap: 0.85rem; }
  .hero-actions a, .hero-actions button { width: 100%; justify-content: center; }
  .hero-visual { height: 280px; }
}

/* Puppies grid mobile */
@media (max-width: 580px) {
  .puppies-grid { grid-template-columns: 1fr; gap: 1rem; }
  .puppy-card-img { aspect-ratio: 4 / 5; }
}

/* Form mobile improvements */
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; gap: 1rem; }
  .contact-form-wrap { padding: 1.2rem; }
  .form-group input, .form-group textarea, .form-group select {
    font-size: 16px; /* Prevent iOS zoom */
  }
}

/* Footer mobile */
@media (max-width: 600px) {
  .footer { padding: 3rem 1rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.75rem; }
  .footer-legal { justify-content: center; }
}

/* Tables and wide content */
@media (max-width: 768px) {
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .container { padding: 0 1rem; }
}

/* Touch targets: min 44px */
@media (max-width: 768px) {
  .btn-primary, .btn-outline, .btn-green {
    min-height: 44px;
    padding: 0.85rem 1.5rem;
  }
  .nav-cta { min-height: 40px; }
  .mobile-menu a { min-height: 44px; display: flex; align-items: center; }
}

/* Prevent horizontal scroll from wide elements */
@media (max-width: 768px) {
  img { max-width: 100%; height: auto; }
  .section { padding: 3rem 0; }
}

/* Filter bar stacking on mobile */
@media (max-width: 640px) {
  .filters-bar { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .filter-select, .filter-btn { width: 100%; }
}

/* Puppy detail page mobile */
@media (max-width: 768px) {
  .puppy-detail-grid { grid-template-columns: 1fr; gap: 2rem; }
  .puppy-specs-row { grid-template-columns: 1fr 1fr; }
  .puppy-price-banner { flex-wrap: wrap; }
}

/* FAQ / accordion mobile */
@media (max-width: 600px) {
  .faq-question { font-size: 0.95rem; padding: 1rem; }
  .faq-answer { padding: 0 1rem 1rem; font-size: 0.93rem; }
}

/* Viewport meta reminder handled in HTML — adding safe-area insets */
@supports (padding: max(0px)) {
  .navbar-inner {
    padding-left: max(1.5rem, env(safe-area-inset-left));
    padding-right: max(1.5rem, env(safe-area-inset-right));
  }
  .footer {
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
  }
}