/* =================================================================
   MORTY DOM CATTERY â€” SHARED DESIGN SYSTEM
   One stylesheet, used by every page (index, kittens, about,
   health, contact). Change a color or font here once, and it
   updates everywhere.
   ================================================================= */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { color-scheme: light only; } /* prevents phone/browser dark-mode from inverting the page */

body {
  font-family: 'Jost', sans-serif;
  background: var(--cream);
  color: var(--dark2);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---------- DESIGN TOKENS (colors) ---------- */
:root {
  --dark:   #2b241b;  /* darkest brown â€” headings, nav, dark sections */
  --dark2:  #3a3226;  /* body text on light backgrounds */
  --gold:   #d4b483;  /* primary accent */
  --gold2:  #c9a86c;  /* accent hover / label text */
  --cream:  #f5f1e8;  /* page background */
  --cream2: #ede8da;  /* card borders / subtle fills */
  --muted:  #a89984;  /* least-used â€” soft secondary accents only, not body copy */
}

/* ---------- NAV ---------- */
.nav {
  background: var(--dark);
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav-brand {
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  letter-spacing: 1px;
  text-decoration: none;
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--gold);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }

/* ---------- BUTTONS ---------- */
.btn {
  padding: 14px 36px;
  border-radius: 2px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s;
  display: inline-block;
  cursor: pointer;
  border: none;
}
.btn-primary, .btn-gold { background: var(--gold); color: var(--dark); }
.btn-primary:hover, .btn-gold:hover {
  background: var(--gold2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,180,131,0.3);
}
.btn-outline {
  border: 1.5px solid rgba(212,180,131,0.45);
  color: var(--gold);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(212,180,131,0.07);
  transform: translateY(-2px);
}
/* Dark button, used on light backgrounds (e.g. kitten card "Inquire" buttons) */
.btn-dark { background: var(--dark); color: var(--gold); }
.btn-dark:hover { background: var(--dark2); transform: translateY(-2px); }
.btn.disabled, .btn-dark.disabled {
  background: var(--cream2);
  color: var(--muted);
  cursor: not-allowed;
  pointer-events: none;
  width: 100%;
  text-align: center;
}

/* ---------- HERO ---------- */
.hero {
  background: var(--dark2);
  min-height: 94vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px 110px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 40%, rgba(212,180,131,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: 36px; left: 36px; right: 36px; bottom: 36px;
  border: 1px solid rgba(212,180,131,0.12);
  pointer-events: none;
}
.hero-logo { width: min(52vw, 400px); height: auto; margin: 0 auto 36px; }
.hero-eyebrow {
  font-size: 12px; font-weight: 500;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 5.5vw, 58px);
  color: var(--cream);
  font-weight: 400; line-height: 1.22;
  max-width: 700px; margin: 0 auto 20px;
}
.hero h1 em { color: var(--gold); font-style: italic; }
.hero-sub {
  color: rgba(245,241,232,0.55);
  font-size: 15px; letter-spacing: 0.5px;
  margin-bottom: 44px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ---------- TRUST STRIP ---------- */
.trust-strip {
  background: var(--gold);
  padding: 16px 20px;
  display: flex; justify-content: center; gap: 36px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--dark);
}
.trust-item .ti { font-size: 17px; }

/* ---------- SECTION HEADERS (reused everywhere) ---------- */
.section-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--dark2); margin-bottom: 10px; text-align: center;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 400; color: var(--dark);
  margin-bottom: 12px; text-align: center;
}
.section-desc {
  max-width: 580px; margin: 0 auto 52px;
  color: var(--dark2); font-size: 15px; text-align: center;
}

/* ---------- GENERIC PAGE SECTION WRAPPER ---------- */
.page-section { padding: 90px 20px; max-width: 1000px; margin: 0 auto; }
.page-intro { max-width: 680px; margin: 0 auto 30px; text-align: center; font-size: 16px; color: var(--dark2); }

/* ---------- INFO / PILLAR CARDS ----------
   Used for: "Why Choose Us", "Breeding Philosophy",
   "Life at the Cattery" â€” any icon + heading + text card. */
.pillar-grid, .why-grid {
  display: flex; justify-content: center; gap: 24px; flex-wrap: wrap;
  max-width: 960px; margin: 0 auto;
}
.pillar-card, .why-card {
  background: #fff;
  border: 1px solid var(--cream2);
  border-radius: 4px;
  padding: 36px 28px;
  width: 220px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.pillar-card:hover, .why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(58,50,38,0.08);
}
.pillar-icon, .big-icon { font-size: 36px; margin-bottom: 14px; display: block; }
.pillar-card h3, .why-card h3 { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 600; color: var(--dark); margin-bottom: 10px; }
.pillar-card p, .why-card p { font-size: 13.5px; color: var(--dark2); line-height: 1.7; }

/* Grid variant â€” 2 columns, used when cards contain longer paragraphs */
.pillar-grid.two-col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.pillar-grid.two-col .pillar-card { width: auto; }

/* ---------- LAYOUT UTILITY ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- KITTEN GRID (container for all kitten-cards) ---------- */
.kitten-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 20px 80px;
}

/* ---------- KITTEN CARDS ---------- */
.kitten-card {
  background: #fff;
  border-radius: 4px; overflow: hidden;
  width: 280px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
  text-align: left;
}
.kitten-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(58,50,38,0.12); }
.gallery-main { width: 100%; height: 320px; object-fit: cover; display: block; }
.gallery-thumbs { display: flex; gap: 6px; padding: 10px; flex-wrap: wrap; background: var(--cream); }
.gallery-thumbs img { width: 60px; height: 60px; object-fit: cover; border-radius: 4px; cursor: pointer; opacity: 0.6; transition: opacity 0.2s; }
.gallery-thumbs img.active, .gallery-thumbs img:hover { opacity: 1; }
.kitten-info { padding: 26px 22px; }
.kitten-header { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.kitten-name { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 400; color: var(--dark2); }
.status { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 4px 12px; border-radius: 20px; }
.status.available { background: #e3ecd8; color: #4a6a3a; }
.status.reserved { background: #f3e3c8; color: #8a5a1a; }
.status.sold { background: #ecdada; color: #8a3a3a; }
.kitten-meta { display: flex; gap: 10px; font-size: 12px; color: var(--muted); margin: 8px 0; text-transform: uppercase; letter-spacing: 0.5px; }
.price { font-size: 20px; font-weight: 700; color: var(--dark2); margin: 8px 0 12px; }
.personality { font-size: 13.5px; color: var(--dark2); line-height: 1.65; margin-bottom: 18px; }

/* ---------- PHOTO GALLERY (dark section) ---------- */
.gallery-section, .gallery-wrap {
  background: var(--dark2);
  padding: 90px 20px;
  text-align: center;
  border-radius: 8px;
}
.gallery-section .section-label, .gallery-wrap .section-label { color: rgba(212,180,131,0.7); }
.gallery-section .section-title, .gallery-wrap .section-title { color: var(--cream); }
.gallery-section .section-desc, .gallery-wrap .gallery-note { color: rgba(245,241,232,0.5); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 960px; margin: 0 auto; }
.gallery-slot {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(212,180,131,0.10);
  border-radius: 4px; height: 200px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  color: rgba(212,180,131,0.25);
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  overflow: hidden;
}
.gallery-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-slot .cam { font-size: 30px; opacity: 0.25; }

/* ---------- TESTIMONIALS ---------- */
.testimonials { background: #fff; padding: 90px 20px; text-align: center; }
.testi-grid { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; max-width: 960px; margin: 0 auto; }
.testi-card {
  background: var(--cream);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  padding: 32px 26px; width: 280px;
  text-align: left;
  transition: transform 0.2s;
}
.testi-card:hover { transform: translateY(-3px); }
.stars { color: var(--gold); font-size: 15px; margin-bottom: 14px; letter-spacing: 2px; }
.testi-card blockquote { font-family: 'Playfair Display', serif; font-style: italic; font-size: 15px; color: var(--dark2); line-height: 1.7; margin-bottom: 18px; }
.testi-author { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }

/* ---------- CTA BANNER ---------- */
.cta-banner { background: var(--dark); padding: 80px 20px; text-align: center; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(212,180,131,0.07) 0%, transparent 70%); }
.cta-banner h2 { font-family: 'Playfair Display', serif; font-size: clamp(24px, 4vw, 42px); color: var(--cream); font-weight: 400; margin-bottom: 14px; position: relative; }
.cta-banner h2 em { color: var(--gold); font-style: italic; }
.cta-banner p { color: rgba(245,241,232,0.5); font-size: 15px; margin-bottom: 36px; position: relative; }
.cta-banner .btn { position: relative; }

/* ---------- FOOTER ---------- */
footer { background: var(--dark); border-top: 1px solid rgba(212,180,131,0.1); color: var(--muted); text-align: center; padding: 36px 20px; font-size: 13px; }
footer a { color: var(--gold); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ---------- CHECKLIST ---------- */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 0; font-size: 14.5px; color: var(--dark2);
  border-bottom: 1px solid var(--cream2);
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before { content: 'âœ“'; color: var(--gold2); font-weight: 700; flex-shrink: 0; }
.checklist-card {
  background: #fff; border: 1px solid var(--cream2); border-radius: 6px;
  padding: 36px; max-width: 680px; margin: 0 auto;
}

/* ---------- BREED TEST GRID ---------- */
.breed-test-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 1000px; margin: 0 auto;
}
.breed-test-card {
  background: #fff; border: 1px solid var(--cream2); border-radius: 6px; padding: 28px 24px;
}
.breed-test-card h3 { font-family: 'Playfair Display', serif; font-size: 19px; color: var(--dark); margin-bottom: 14px; }

/* ---------- GUARANTEE BOX (prominent dark panel) ---------- */
.guarantee-box {
  background: var(--dark); color: var(--cream);
  border-radius: 8px; padding: 48px 36px; margin: 20px auto 0;
  max-width: 900px;
}
.guarantee-box .section-label { color: rgba(212,180,131,0.7); text-align: left; }
.guarantee-box .section-title { color: var(--gold); text-align: left; margin-bottom: 16px; }
.guarantee-box p { color: rgba(245,241,232,0.85); font-size: 14.5px; margin-bottom: 14px; line-height: 1.75; }
.guarantee-box p:last-child { margin-bottom: 0; }
.guarantee-box strong { color: var(--gold); }

@media (max-width: 700px) {
  .breed-test-grid { grid-template-columns: 1fr; }
}
/* ---------- VIDEO GRID ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 960px;
  margin: 32px auto 0;
}
.video-slot {
  position: relative;
  padding-bottom: 177.78%; /* 9:16 aspect ratio for Shorts */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
}
.video-slot iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
  border-radius: 8px;
}
@media (max-width: 768px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 480px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
.contact-grid { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; max-width: 900px; margin: 0 auto; }
.contact-method-card {
  background: #fff; border: 1px solid var(--cream2); border-radius: 6px;
  padding: 28px 24px; width: 220px; text-align: center;
}
.contact-method-card .cm-icon { font-size: 26px; margin-bottom: 10px; display: block; }
.contact-method-card h3 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 8px; }
.contact-method-card a { color: var(--dark); font-weight: 600; text-decoration: none; font-size: 14px; word-break: break-word; }
.contact-method-card a:hover { color: var(--gold2); }

/* ---------- NOTE BOX ---------- */
.note-box {
  background: var(--cream2); border-left: 4px solid var(--gold);
  border-radius: 4px; padding: 24px 28px; max-width: 680px; margin: 32px auto 0;
}
.note-box p { font-size: 14px; color: var(--dark2); margin-bottom: 10px; }
.note-box p:last-child { margin-bottom: 0; }

/* ---------- NUMBERED STEPS ---------- */
.steps-list { max-width: 680px; margin: 0 auto; }
.step-item { display: flex; gap: 18px; margin-bottom: 22px; align-items: flex-start; }
.step-num {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  background: var(--dark); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 600;
}
.step-item p { font-size: 14.5px; color: var(--dark2); padding-top: 5px; }
.step-item strong { color: var(--dark); }

/* ---------- FORMS ---------- */
.app-form { max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid var(--cream2); border-radius: 6px; padding: 40px 32px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; color: var(--dark2); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--cream2); border-radius: 4px;
  font-family: 'Jost', sans-serif; font-size: 14px; color: var(--dark2); background: var(--cream);
}
.form-group textarea { min-height: 90px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.app-form button[type="submit"] {
  width: 100%; margin-top: 10px; background: var(--dark); color: var(--gold);
  border: none; padding: 15px; border-radius: 4px; font-family: 'Jost', sans-serif;
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; cursor: pointer;
  transition: background 0.2s;
}
.app-form button[type="submit"]:hover { background: var(--dark2); }

@media (max-width: 700px) {
  .contact-method-card { width: 100%; max-width: 300px; }
}

.mdc-chat-btn {
  position: fixed; bottom: 24px; right: 24px;
  background: var(--dark); color: var(--gold);
  height: 56px; padding: 0 20px 0 16px; border-radius: 30px;
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(43,36,27,0.35);
  z-index: 9999; font-size: 14px; font-weight: 600; letter-spacing: 0.3px;
  border: 1px solid rgba(212,180,131,0.3);
  transition: transform 0.2s ease, background 0.2s ease;
}
.mdc-chat-btn:hover { transform: translateY(-2px); background: var(--dark2); }
.mdc-chat-btn svg { flex-shrink: 0; }

/* ---------- ANIMATIONS ---------- */
@keyframes fadeDown { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floatY { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(7px); } }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ---------- FOCUS VISIBILITY (accessibility) ---------- */
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ---------- RESPONSIVE ---------- */

/* Tablet (768px and below) */
@media (max-width: 768px) {
  /* Kitten grid goes to 2 columns on tablet */
  .kitten-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 16px 16px 60px; }
  /* Breed test grid goes to 1 column on tablet */
  .breed-test-grid { grid-template-columns: 1fr; }
  /* Pillar two-col grid goes to 1 column */
  .pillar-grid.two-col { grid-template-columns: 1fr; }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
  /* NAV â€” tighter padding, smaller font */
  .nav { padding: 14px 16px; }
  .nav-brand { font-size: 14px; }
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 10px; letter-spacing: 0.3px; }

  /* HERO â€” less padding, no decorative border */
  .hero { padding: 50px 16px 70px; min-height: auto; }
  .hero::after { display: none; }
  .hero h1 { font-size: clamp(24px, 7vw, 36px); }
  .hero-sub { font-size: 13px; margin-bottom: 28px; }
  .hero-btns { flex-direction: column; align-items: center; gap: 10px; }
  .hero-btns .btn { width: 100%; max-width: 280px; text-align: center; }

  /* TRUST STRIP â€” stack vertically */
  .trust-strip { flex-direction: column; align-items: center; gap: 12px; padding: 20px 16px; }

  /* SECTION HEADERS */
  .section-title { font-size: clamp(22px, 6vw, 32px); }
  .section-desc, .page-intro { font-size: 14px; }

  /* PAGE SECTIONS â€” less padding on mobile */
  .page-section { padding: 50px 16px; }

  /* PILLAR CARDS â€” full width on mobile */
  .pillar-card, .why-card { width: 100%; max-width: 100%; padding: 24px 20px; }
  .pillar-grid { flex-direction: column; align-items: stretch; gap: 16px; }
  .pillar-grid.two-col { grid-template-columns: 1fr; gap: 16px; }

  /* KITTEN GRID â€” single column on mobile */
  .kitten-grid { grid-template-columns: 1fr; gap: 24px; padding: 16px 16px 50px; }
  .kitten-card { width: 100%; max-width: 100%; }
  .gallery-main { height: 260px; }
  .gallery-thumbs img { width: 52px; height: 52px; }

  /* TESTIMONIALS */
  .testi-grid { flex-direction: column; align-items: center; }
  .testi-card { width: 100%; max-width: 100%; }

  /* CONTACT GRID â€” stack vertically */
  .contact-grid { flex-direction: column; align-items: center; }
  .contact-method-card { width: 100%; max-width: 100%; }

  /* STEPS */
  .step-item { gap: 12px; }

  /* FORMS */
  .app-form { padding: 24px 16px; }

  /* GALLERY GRID â€” 2 columns on mobile */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-slot { height: 140px; }

  /* GUARANTEE BOX */
  .guarantee-box { padding: 32px 20px; }

  /* CHECKLIST CARD */
  .checklist-card { padding: 24px 16px; }

  /* CTA BANNER */
  .cta-banner { padding: 50px 16px; }
  .cta-banner .btn { width: 100%; max-width: 280px; text-align: center; }

  /* FOOTER */
  footer { font-size: 12px; padding: 28px 16px; line-height: 2; }

  /* MESSENGER BUTTON â€” icon only on mobile */
  .mdc-chat-label { display: none; }
  .mdc-chat-btn {
    width: 52px; height: 52px;
    padding: 0; border-radius: 50%;
    justify-content: center;
    bottom: 16px; right: 16px;
  }
}
