/* ============================================
   WHY NOT BULLY — style.css
   ============================================ */

:root {
  --bg: #15110c;
  --bg-soft: #1b1510;
  --surface: #221a13;
  --surface-light: #2b2117;
  --text: #f6f1e9;
  --text-dim: #b7a996;
  --primary: #c98a3b;
  --primary-light: #e8aa5a;
  --accent: #d9a441;
  --accent-2: #8a6a3f;
  --gold: #e8c074;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 20px 60px rgba(0,0,0,.5);
  --ease: cubic-bezier(.22,1,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}
h1,h2,h3,h4 { font-family: 'Poppins', sans-serif; font-weight: 800; margin: 0 0 .5em; letter-spacing: -.02em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1200px, 92%); margin-inline: auto; }
.section { padding: 100px 0; position: relative; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-block; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin-bottom: 14px;
  padding: 6px 16px; border: 1px solid rgba(255,111,168,.35); border-radius: 50px;
  background: rgba(255,111,168,.08);
}
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.section-head p { color: var(--text-dim); font-size: 1.05rem; }

/* ---------- Background blobs animés ---------- */
.blob {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .35; z-index: 0;
  animation: float 16s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(40px,-30px) scale(1.1); }
  66% { transform: translate(-30px,30px) scale(.95); }
}

/* ---------- NAVIGATION CAPSULE ---------- */
.navbar {
  position: fixed; top: 18px; left: 50%; transform: translateX(-50%);
  width: min(1100px, 92%); z-index: 1000;
  background: rgba(23,28,53,.65);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 100px;
  padding: 10px 14px 10px 20px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: var(--shadow);
  transition: all .4s var(--ease);
}
.navbar.scrolled { top: 10px; background: rgba(12,15,29,.85); }
.navbar .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.05rem; }
.navbar .brand img { height: 42px; width: 42px; border-radius: 50%; object-fit: cover; }
.navbar .brand span b { color: var(--accent); }

.burger {
  width: 50px; height: 50px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  transition: transform .3s var(--ease);
}
.burger:hover { transform: scale(1.06) rotate(8deg); }
.burger span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: all .3s var(--ease); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.menu-overlay {
  position: fixed; inset: 0; z-index: 999;
  background: radial-gradient(circle at 85% 15%, rgba(201,138,59,.18), transparent 55%), rgba(10,8,5,.97);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: scale(1.03);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s linear .4s;
  overflow-y: auto; padding: 100px 24px 40px;
}
.menu-overlay.open { opacity: 1; visibility: visible; transform: scale(1); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.menu-overlay .menu-inner { width: min(640px, 100%); margin: 0 auto; }
.menu-overlay .menu-eyebrow { color: var(--accent); font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; font-weight: 700; margin-bottom: 24px; opacity: .8; }
.menu-overlay nav { display: flex; flex-direction: column; }
.menu-overlay a {
  display: flex; align-items: baseline; gap: 18px;
  font-size: clamp(1.3rem, 4vw, 1.9rem); font-weight: 700; padding: 16px 4px; position: relative;
  border-bottom: 1px solid rgba(255,255,255,.07);
  opacity: 0; transform: translateX(-16px); transition: all .5s var(--ease);
}
.menu-overlay a .num { font-size: .8rem; font-weight: 600; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.menu-overlay a:hover { padding-left: 14px; border-bottom-color: rgba(232,192,116,.3); }
.menu-overlay a:hover span { background: linear-gradient(90deg, var(--gold), var(--primary-light)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.menu-overlay.open a { opacity: 1; transform: translateX(0); }
.menu-overlay.open a:nth-child(1){transition-delay:.05s}
.menu-overlay.open a:nth-child(2){transition-delay:.09s}
.menu-overlay.open a:nth-child(3){transition-delay:.13s}
.menu-overlay.open a:nth-child(4){transition-delay:.17s}
.menu-overlay.open a:nth-child(5){transition-delay:.21s}
.menu-overlay.open a:nth-child(6){transition-delay:.25s}
.menu-overlay.open a:nth-child(7){transition-delay:.29s}
.menu-social { margin-top: 30px; display: flex; gap: 14px; }
.menu-social a { font-size: 1rem; opacity: .85; padding: 0; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; width:44px;height:44px;display:flex;align-items:center;justify-content:center; }
.menu-social a:hover { background: var(--accent); border-color: var(--accent); color: #19130c; }

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh; display: flex; align-items: center; position: relative;
  padding-top: 140px; padding-bottom: 60px; overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.02; }
.hero h1 .accent { background: linear-gradient(90deg, var(--accent), var(--primary-light)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: var(--text-dim); font-size: 1.15rem; max-width: 520px; margin: 22px 0 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 16px 30px; border-radius: 100px;
  font-weight: 700; font-size: .95rem; border: none; cursor: pointer; transition: all .35s var(--ease);
  position: relative; overflow: hidden;
}
.btn-primary { background: linear-gradient(90deg, var(--primary), var(--gold)); color: #19130c; box-shadow: 0 10px 30px rgba(201,138,59,.35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(232,192,116,.45); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,.25); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.btn-sm { padding: 10px 20px; font-size: .82rem; }

.hero-visual { position: relative; padding-bottom: 20px; }
@keyframes floatSlow { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-16px)} }

/* Pile de photos avec navigation */
.photo-stack { position: relative; width: 100%; max-width: 440px; aspect-ratio: 4/5; margin: 0 auto; }
.photo-stack .stack-item {
  position: absolute; inset: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.08); transition: transform .55s var(--ease), opacity .55s var(--ease);
  background: var(--surface);
}
.photo-stack .stack-item img { width: 100%; height: 100%; object-fit: cover; }
.photo-stack .stack-item[data-pos="0"] { transform: translate(0,0) rotate(0deg) scale(1); z-index: 3; opacity: 1; }
.photo-stack .stack-item[data-pos="1"] { transform: translate(18px,16px) rotate(5deg) scale(.95); z-index: 2; opacity: .85; }
.photo-stack .stack-item[data-pos="2"] { transform: translate(-14px,26px) rotate(-6deg) scale(.9); z-index: 1; opacity: .6; }
.photo-stack .stack-item[data-pos="hidden"] { transform: translate(0,34px) scale(.82); z-index: 0; opacity: 0; pointer-events: none; }
.stack-nav { display: flex; justify-content: center; gap: 14px; margin-top: 26px; position: relative; z-index: 5; }
.stack-nav button {
  width: 48px; height: 48px; border-radius: 50%; background: var(--surface); border: 1px solid rgba(255,255,255,.12);
  color: var(--text); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .3s var(--ease);
}
.stack-nav button svg { width: 20px; height: 20px; }
.stack-nav button:hover { background: var(--gold); color: #19130c; border-color: var(--gold); transform: translateY(-2px); }
.stack-dots { display: flex; gap: 6px; align-items: center; }
.stack-dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.2); transition: all .3s; }
.stack-dots span.active { background: var(--gold); width: 18px; border-radius: 4px; }
.badge-float {
  position: absolute; z-index: 6; background: var(--surface); padding: 16px 20px; border-radius: var(--radius);
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; border: 1px solid rgba(255,255,255,.08);
  animation: floatSlow 6s ease-in-out infinite; animation-delay: .4s;
}
.badge-float.top { top: 20px; right: -24px; }
.badge-float.bottom { bottom: 10px; left: -30px; animation-delay: 1.2s; }
@media (max-width: 640px) {
  .badge-float { padding: 10px 14px; gap: 8px; }
  .badge-float .icon { width: 34px; height: 34px; font-size: 1rem; }
  .badge-float b { font-size: .85rem; }
  .badge-float span { font-size: .68rem; }
  .badge-float.top { top: -14px; right: 4px; }
  .badge-float.bottom { bottom: -14px; left: 4px; }
}
.badge-float .icon { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--primary)); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.badge-float b { display: block; font-size: 1.1rem; }
.badge-float span { color: var(--text-dim); font-size: .78rem; }

.stats-strip { display: flex; gap: 40px; margin-top: 46px; flex-wrap: wrap; }
.stats-strip div b { font-size: 2.1rem; display: block; background: linear-gradient(90deg,var(--accent),var(--primary-light)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.stats-strip div span { color: var(--text-dim); font-size: .85rem; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1){transition-delay:.05s}
.reveal-stagger.in > *:nth-child(2){transition-delay:.12s}
.reveal-stagger.in > *:nth-child(3){transition-delay:.19s}
.reveal-stagger.in > *:nth-child(4){transition-delay:.26s}
.reveal-stagger.in > *:nth-child(5){transition-delay:.33s}
.reveal-stagger.in > *:nth-child(6){transition-delay:.40s}

/* ---------- CARDS (chiens / chiots / mariages / blog) ---------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden; position: relative;
  border: 1px solid rgba(255,255,255,.06); transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card .media { position: relative; height: 260px; overflow: hidden; }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .media img { transform: scale(1.08); }
.card .media::after { content:''; position:absolute; inset:0; background: linear-gradient(to top, rgba(12,15,29,.85), transparent 55%); }
.card .body { padding: 20px 22px 24px; }
.card .body h3 { font-size: 1.25rem; margin-bottom: 4px; }
.card .meta { display: flex; gap: 10px; flex-wrap: wrap; margin: 10px 0; }
.tag {
  font-size: .72rem; font-weight: 700; padding: 5px 12px; border-radius: 50px; letter-spacing: .03em;
  background: rgba(255,255,255,.06); color: var(--text-dim); border: 1px solid rgba(255,255,255,.08);
}
.tag.sex-male { color: #8ec6ff; background: rgba(142,198,255,.1); border-color: rgba(142,198,255,.25); }
.tag.sex-femelle { color: #ff9ec9; background: rgba(255,158,201,.1); border-color: rgba(255,158,201,.25); }
.tag.status-disponible { color: #6ee7b7; background: rgba(110,231,183,.12); border-color: rgba(110,231,183,.3); animation: pulse 2s infinite; }
.tag.status-reserve { color: var(--gold); background: rgba(217,185,104,.12); border-color: rgba(217,185,104,.3); }
.tag.status-vendu { color: #999; background: rgba(255,255,255,.05); }
@keyframes pulse { 0%,100%{box-shadow:0 0 0 0 rgba(110,231,183,.4)} 50%{box-shadow:0 0 0 6px rgba(110,231,183,0)} }

.badge-corner {
  position: absolute; top: 16px; left: 16px; z-index: 2; padding: 6px 14px; border-radius: 50px;
  font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
  background: rgba(12,15,29,.65); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.15);
}

/* ---------- Mating card (vs layout) ---------- */
.mating-card { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; padding: 26px; }
.mating-card .side { text-align: center; }
.mating-card .side img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 16px; border: 2px solid rgba(255,255,255,.08); }
.mating-card .vs { font-weight: 900; font-size: 1.4rem; color: var(--accent); }
.mating-card .side b { display: block; margin-top: 10px; }

/* ---------- Section band ---------- */
.band { background: var(--bg-soft); }

/* ---------- Footer ---------- */
footer.site-footer { background: #0e0b07; padding: 80px 0 40px; border-top: 1px solid rgba(255,255,255,.06); position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-dim); margin-bottom: 18px; }
.footer-grid a { display: block; color: var(--text-dim); margin-bottom: 10px; transition: color .3s; }
.footer-grid a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: var(--accent); border-color: var(--accent); }
.footer-bottom { margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.06); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--text-dim); font-size: .85rem; }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Bottom mobile nav ---------- */
.mobile-tabbar {
  display: none; position: fixed; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 998;
  width: min(420px, 94%); background: rgba(23,28,53,.85); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.1); border-radius: 100px; padding: 10px 6px;
  box-shadow: var(--shadow); justify-content: space-around; align-items: center;
}
.mobile-tabbar .tab-link {
  display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: .62rem; font-weight: 600;
  color: var(--text-dim); padding: 8px 12px; border-radius: 16px; background: none; border: none; font-family: inherit;
  cursor: pointer; position: relative; overflow: hidden; -webkit-tap-highlight-color: transparent;
}
.mobile-tabbar .tab-link .ic { width: 22px; height: 22px; color: #fff; display: flex; }
.mobile-tabbar .tab-link .ic svg { width: 100%; height: 100%; }
.mobile-tabbar .tab-link.active { color: #fff; background: linear-gradient(135deg, var(--primary), var(--gold)); }
.mobile-tabbar .tab-link.active .ic { color: #19130c; }
.mobile-tabbar .tab-link.tap::after {
  content: ''; position: absolute; inset: 0; border-radius: 16px; background: rgba(232,192,116,.35);
  animation: tabTap .4s ease-out;
}
@keyframes tabTap { from { opacity: 1; transform: scale(.7); } to { opacity: 0; transform: scale(1.4); } }
.mobile-tabbar .tab-link:active { transform: scale(.92); }

/* ---------- Forms ---------- */
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-size: .85rem; color: var(--text-dim); margin-bottom: 8px; font-weight: 600; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 14px 18px; border-radius: 14px; border: 1px solid rgba(255,255,255,.12);
  background: var(--surface); color: var(--text); font-family: inherit; font-size: .95rem; transition: border-color .3s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--primary-light); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.alert { padding: 16px 20px; border-radius: 14px; margin-bottom: 20px; font-size: .9rem; }
.alert-success { background: rgba(110,231,183,.12); border: 1px solid rgba(110,231,183,.3); color: #6ee7b7; }
.alert-error { background: rgba(255,99,99,.12); border: 1px solid rgba(255,99,99,.3); color: #ff8686; }

/* ---------- Page header (pages intérieures) ---------- */
.page-header { padding: 180px 0 70px; position: relative; overflow: hidden; }
.page-header h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.breadcrumb { color: var(--text-dim); font-size: .85rem; margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Detail page (chien/chiot/mariage) ---------- */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.gallery-main { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 14px; box-shadow: var(--shadow); }
.gallery-main img { width: 100%; height: 480px; object-fit: cover; cursor: zoom-in; }
.gallery-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.gallery-thumbs img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; cursor: pointer; border: 2px solid transparent; opacity: .6; transition: all .3s; }
.gallery-thumbs img:hover, .gallery-thumbs img.active { opacity: 1; border-color: var(--accent); }
.info-box { background: var(--surface); border-radius: var(--radius); padding: 28px; margin-top: 24px; }
.info-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06); font-size: .92rem; }
.info-row:last-child { border-bottom: none; }
.info-row span:first-child { color: var(--text-dim); }
.parent-card { display: flex; align-items: center; gap: 14px; background: var(--surface); padding: 14px; border-radius: 16px; margin-top: 10px; transition: transform .3s; }
.parent-card:hover { transform: translateX(6px); }
.parent-card img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 2000; display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 12px; }
.lightbox .close { position: absolute; top: 24px; right: 30px; font-size: 2rem; cursor: pointer; }

/* Blog */
.blog-card .body { padding: 22px; }
.blog-card .date { color: var(--accent); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.article-content { font-size: 1.05rem; color: #e4ddd0; }
.article-content img { border-radius: var(--radius); margin: 24px 0; }
.article-content h2 { margin-top: 36px; }

/* CTA band */
.cta-band {
  margin: 0 auto; border-radius: var(--radius-lg); padding: 70px 50px; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(120deg, #241b10, #2e2012); border: 1px solid rgba(255,255,255,.08);
}
.cta-band h2 { font-size: clamp(1.8rem,4vw,2.6rem); }
.cta-band p { color: var(--text-dim); max-width: 540px; margin: 14px auto 32px; }

/* Empty state */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-dim); }
.empty-state .ic { font-size: 3rem; margin-bottom: 16px; }

/* ---------- Popup contextuelle ---------- */
.site-popup-overlay {
  position: fixed; inset: 0; z-index: 3000; background: rgba(10,8,5,.75); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s linear .35s;
}
.site-popup-overlay.open { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
.site-popup {
  background: var(--surface); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg);
  padding: 36px 32px; max-width: 420px; width: 100%; text-align: center; position: relative;
  box-shadow: var(--shadow); transform: translateY(20px) scale(.97); transition: transform .35s var(--ease);
}
.site-popup-overlay.open .site-popup { transform: translateY(0) scale(1); }
.site-popup .close-popup {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.06); border: none; color: var(--text); cursor: pointer; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
}
.site-popup .close-popup:hover { background: var(--accent); color: #19130c; }
.site-popup .popup-icon { font-size: 2.2rem; margin-bottom: 14px; }
.site-popup h3 { font-size: 1.3rem; margin-bottom: 10px; }
.site-popup p { color: var(--text-dim); margin-bottom: 22px; }

/* Scroll-to-top */
#scrollTop { position: fixed; bottom: 90px; right: 24px; width: 50px; height: 50px; border-radius: 50%; background: var(--surface); border: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: all .3s; z-index: 500; }
#scrollTop.show { opacity: 1; pointer-events: auto; }

/* Custom select / gallery contact form button fixed on detail page */
.contact-sticky-btn { position: sticky; bottom: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .detail-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .mating-card { grid-template-columns: 1fr; }
  .mating-card .vs { transform: rotate(90deg); }
  .section { padding: 64px 0; }
  .mobile-tabbar { display: flex; }
  body { padding-bottom: 30px; }
  .navbar { padding: 10px 16px; justify-content: center; }
  .navbar .burger { display: none; }
  .navbar .brand { gap: 8px; }
}
