/* ============================================================
   main.css — Kaivet.id · Premium Light & Friendly Theme
   Optimized for Readability, Marketing Conversion, & Flow
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ─── CSS Variables ─── */
:root {
  --primary:        #02a4b1;
  --primary-light:  #18c9d9;
  --primary-dark:   #017a85;
  --primary-bg:     #edfbfd;
  --primary-brd:    rgba(2, 164, 177, 0.2);
  --primary-glow:   rgba(2, 164, 177, 0.15);

  --accent:         #ff9a00;
  --accent-light:   #ffb03a;
  --accent-dark:    #e07b00;
  --accent-bg:      #fff8eb;
  --accent-brd:     rgba(255, 154, 0, 0.2);
  --accent-glow:    rgba(255, 154, 0, 0.15);

  --bg:             #ffffff;
  --bg-alt:         #f5fcfd;
  --bg-warm:        #fffdf9;
  --bg-card:        #ffffff;

  /* Typography Contrast Optimization */
  --text:           #0c1926;
  --text-muted:     #354e60; /* Darker for accessibility */
  --text-dim:       #69869a;
  --border:         #e2f3f5;
  --border-hover:   #b6e4e8;

  --ff-head: 'Outfit', sans-serif;
  --ff-body: 'Inter', sans-serif;

  --r-sm:   10px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-xl:   32px;
  --r-full: 9999px;

  /* Polished Shadows */
  --shadow:      0 4px 20px rgba(2, 164, 177, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
  --shadow-card: 0 10px 30px rgba(2, 164, 177, 0.08), 0 1px 5px rgba(0, 0, 0, 0.03);
  --shadow-lg:   0 20px 50px rgba(2, 164, 177, 0.12), 0 2px 10px rgba(0, 0, 0, 0.04);
  --shadow-btn:  0 6px 20px rgba(2, 164, 177, 0.25);
  --shadow-accent: 0 6px 20px rgba(255, 154, 0, 0.25);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t:    0.3s var(--ease);
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.625;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; transition: var(--t); }
button { cursor: pointer; border: none; font-family: var(--ff-body); background: none; }
ul { list-style: none; }

/* Custom Sleek Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: rgba(2, 164, 177, 0.25); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }
::selection { background: var(--primary); color: white; }

/* ─── Layout & Hierarchy ─── */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary-bg);
  border: 1.5px solid var(--primary-brd);
  border-radius: var(--r-full);
  padding: 6px 18px;
  font-size: 13px; font-weight: 700; font-family: var(--ff-head);
  color: var(--primary-dark);
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.section-label-accent {
  background: var(--accent-bg);
  border-color: var(--accent-brd);
  color: var(--accent-dark);
}
.section-title {
  font-family: var(--ff-head);
  font-size: clamp(30px, 4.5vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text);
  letter-spacing: -0.5px;
}
.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
  margin-left: auto;
  margin-right: auto;
}
.section-header { text-align: center; margin-bottom: 60px; }

.highlight { color: var(--primary); position: relative; display: inline-block; }
.highlight::after {
  content: ''; position: absolute; left: 0; bottom: 2px; width: 100%; height: 6px;
  background: rgba(2, 164, 177, 0.12); z-index: -1; border-radius: var(--r-sm);
}
.highlight-accent { color: var(--accent); position: relative; display: inline-block; }
.highlight-accent::after {
  content: ''; position: absolute; left: 0; bottom: 2px; width: 100%; height: 6px;
  background: rgba(255, 154, 0, 0.15); z-index: -1; border-radius: var(--r-sm);
}

/* ─── Interactive Buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 32px;
  border-radius: var(--r-full);
  font-family: var(--ff-head); font-size: 15px; font-weight: 700;
  transition: all 0.3s var(--ease); white-space: nowrap; cursor: pointer;
  position: relative; overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white; box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(2, 164, 177, 0.35);
}
.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white; box-shadow: var(--shadow-accent);
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 154, 0, 0.35);
}
.btn-outline {
  background: white; border: 2px solid var(--border);
  color: var(--text-muted);
}
.btn-outline:hover {
  border-color: var(--primary); color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Pulse Animation for Primary CTA */
.pulse-cta {
  animation: pulseButton 2.5s infinite;
}
@keyframes pulseButton {
  0% { box-shadow: 0 0 0 0 rgba(2, 164, 177, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(2, 164, 177, 0); }
  100% { box-shadow: 0 0 0 0 rgba(2, 164, 177, 0); }
}

/* ─── Animations ─── */
@keyframes fadeInUp   { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeInLeft { from { opacity:0; transform:translateX(-30px); } to { opacity:1; transform:translateX(0); } }
@keyframes float      { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-10px);} }
@keyframes blobMove   { 0%,100%{border-radius:60% 40% 30% 70%/60% 30% 70% 40%;} 50%{border-radius:30% 60% 70% 40%/50% 60% 30% 60%;} }
@keyframes pulseRing  { 0%{transform:scale(0.9);opacity:1;} 100%{transform:scale(1.8);opacity:0;} }

.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── Navbar ─── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 0;
  transition: var(--t);
}
#navbar.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  border-bottom: 1.5px solid var(--border);
  box-shadow: 0 4px 30px rgba(2, 164, 177, 0.05);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--ff-head); font-size: 26px; font-weight: 900; color: var(--text);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  text-decoration: none;
}
.nav-logo:hover {
  transform: scale(1.05);
}
.nav-logo:hover .nav-logo-icon {
  transform: rotate(-3deg) scale(1.05);
  box-shadow: 0 6px 16px rgba(2, 164, 177, 0.4);
}
.nav-logo:hover .nav-logo-img {
  transform: rotate(2deg) scale(1.05);
  filter: brightness(1.05) drop-shadow(0 4px 12px rgba(2, 164, 177, 0.25));
}
.nav-logo-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  box-shadow: 0 4px 12px var(--primary-glow); flex-shrink: 0;
  transition: all 0.3s var(--ease);
}
.nav-logo-img {
  height: 54px; width: auto; object-fit: contain; border-radius: 10px;
  transition: all 0.3s var(--ease);
}
.nav-logo span.dot { color: var(--primary); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 10px 18px; border-radius: var(--r-full);
  font-size: 14.5px; font-weight: 500; color: var(--text-muted); transition: var(--t);
}
.nav-links a:hover { color: var(--primary); background: var(--primary-bg); }

.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-wa {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white; border-radius: var(--r-full);
  font-size: 14.5px; font-weight: 700; font-family: var(--ff-head);
  box-shadow: var(--shadow-accent); transition: var(--t);
}
.nav-wa:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,154,0,0.35); }

/* ─── Modern Hamburger Button ─── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
}
.nav-hamburger:hover {
  border-color: var(--primary);
  background: var(--primary-bg);
  transform: scale(1.05);
}
.nav-hamburger:active {
  transform: scale(0.95);
}
.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2.2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: center;
}
.nav-hamburger.open {
  background: var(--primary-bg);
  border-color: var(--primary-brd);
}
.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7.2px) rotate(45deg);
  background: var(--primary);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7.2px) rotate(-45deg);
  background: var(--primary);
}

/* ─── Premium Mobile Navigation Drawer ─── */
.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 99999;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  display: flex;
}
.nav-mobile.open {
  visibility: visible;
  opacity: 1;
}
@media (min-width: 769px) {
  .nav-mobile { display: none !important; }
}

.nav-mobile-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 25, 38, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-mobile-drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(88vw, 360px);
  background: #ffffff;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  z-index: 2;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-mobile.open .nav-mobile-drawer {
  transform: translateX(0);
}

.nav-mobile-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1.5px solid var(--border);
  background: #fafdfd;
}
.nav-mobile-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-mobile-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  box-shadow: var(--shadow-sm);
}
.nav-mobile-close:hover {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fca5a5;
  transform: scale(1.08);
}

.nav-mobile-links {
  padding: 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  flex-grow: 1;
}
.nav-mobile-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  border-radius: var(--r-md);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--ff-head);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s var(--ease);
}
.nav-mobile-links a:hover,
.nav-mobile-links a:active {
  background: var(--primary-bg);
  border-color: var(--primary-brd);
  color: var(--primary-dark);
  transform: translateX(4px);
}
.nav-mobile-links a.m-link-adopt {
  background: var(--accent-bg);
  border-color: var(--accent-brd);
  color: var(--accent-dark);
}
.nav-mobile-links a.m-link-adopt:hover {
  background: var(--accent);
  color: white;
}
.m-link-arrow {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-dim);
  transition: transform 0.2s ease;
}
.nav-mobile-links a:hover .m-link-arrow {
  transform: translateX(3px);
  color: inherit;
}

.nav-mobile-footer {
  padding: 20px;
  border-top: 1.5px solid var(--border);
  background: #fafdfd;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.m-btn-wa {
  width: 100%;
  padding: 13px;
  font-size: 14.5px;
  display: flex;
  justify-content: center;
}
.nav-mobile-info {
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 600;
}

/* ─── Hero ─── */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden; padding: 140px 0 100px;
  background: var(--bg);
}
#hero .container {
  width: 100%;
  position: relative;
  z-index: 1;
}

.adopt-hero {
  background: linear-gradient(135deg, #f5fcfd, #fffdf9);
  padding: 160px 0 60px;
  border-bottom: 1.5px solid var(--border);
  text-align: left;
}
.adopt-hero .section-subtitle {
  margin-left: 0;
  margin-right: auto;
}

.hero-slide-bg {
  position: absolute; inset: 0; z-index: 0;
  transition: opacity 0.8s ease-in-out, background 0.8s ease-in-out;
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.95;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.96) 35%, rgba(255, 255, 255, 0.85) 55%, rgba(255, 255, 255, 0.2) 100%);
}

/* Slider Controls - Left Aligned */
.hero-slider-nav {
  position: relative;
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  z-index: 10;
}
.hero-slider-dots {
  display: flex; gap: 8px; align-items: center;
}
.hero-slider-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(2, 164, 177, 0.2); border: none;
  cursor: pointer; transition: all 0.3s var(--ease);
}
.hero-slider-dot.active {
  width: 24px; height: 10px; border-radius: var(--r-full);
  background: var(--primary);
}
.hero-slider-arrow {
  display: none !important;
}
.hero-slider-arrow:hover {
  background: var(--primary-bg); color: var(--primary); border-color: var(--primary-brd);
  transform: translateY(-50%) scale(1.05);
}
#hero-prev { left: 24px; }
#hero-next { right: 24px; }

/* Transition effects for slides content */
.hero-content {
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.hero-content.slide-fade {
  opacity: 0; transform: translateY(10px);
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 70% 60% at 75% -10%, rgba(2,164,177,0.08) 0%, transparent 65%),
              radial-gradient(ellipse 50% 50% at 15% 90%, rgba(255,154,0,0.06) 0%, transparent 60%);
}
.hero-blob { position: absolute; border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; animation: blobMove 12s ease-in-out infinite; }
.hero-blob-1 { width:600px; height:600px; top:-100px; right:-80px; background:radial-gradient(circle, rgba(2,164,177,0.08) 0%, transparent 70%); }
.hero-blob-2 { width:400px; height:400px; bottom:-100px; left:-80px; background:radial-gradient(circle, rgba(255,154,0,0.06) 0%, transparent 70%); animation-delay:-6s; }

.paw-deco {
  position: absolute; font-size: 60px; opacity: 0.03;
  user-select: none; pointer-events: none;
  animation: float 8s ease-in-out infinite;
}
.paw-1 { top: 18%; right: 8%; animation-delay: 0s; font-size: 70px; }
.paw-2 { bottom: 15%; left: 4%; animation-delay: -3s; font-size: 50px; }
.paw-3 { top: 65%; right: 45%; animation-delay: -5s; font-size: 36px; }

.hero-particles { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.particle { position: absolute; border-radius: 50%; animation: float var(--dur, 6s) ease-in-out infinite; animation-delay: var(--delay, 0s); }

.hero-content {
  position: relative; z-index: 1;
  display: block;
  max-width: 680px;
  width: 100%;
  text-align: left;
  margin-left: 0;
  margin-right: auto;
}
.hero-left { animation: fadeInLeft 0.8s var(--ease) both; }

.hero-top-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary-bg);
  border: 1.5px solid var(--primary-brd);
  border-radius: var(--r-full);
  padding: 6px 18px;
  font-size: 13px; font-weight: 700; font-family: var(--ff-head);
  color: var(--primary-dark);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--primary);
  display: inline-block;
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.hero-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  padding: 5px 16px;
  font-size: 13px;
  box-shadow: var(--shadow);
  color: var(--text);
  font-family: var(--ff-head);
}
.hero-rating-badge .rating-stars { font-size: 14px; }
.hero-rating-badge .rating-val { font-weight: 800; color: var(--text); }
.hero-rating-badge .rating-count { font-size: 12px; color: var(--text-muted); font-weight: 500; }

.hero-title {
  font-family: var(--ff-head);
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 900; line-height: 1.15;
  margin-bottom: 20px; letter-spacing: -1px;
  color: var(--text);
}
.hero-title .line2 {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle { font-size: 16.5px; color: var(--text-muted); line-height: 1.75; margin-bottom: 32px; max-width: 580px; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
}
.hero-trust-item .trust-icon { font-size: 16px; }

.hero-stats { display: flex; gap: 24px; flex-wrap: wrap; }
.hero-stat { border-left: 3px solid var(--border); padding-left: 20px; }
.hero-stat:first-child { border-left-color: var(--primary); }
.hero-stat-number {
  font-family: var(--ff-head); font-size: 28px; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-stat-label { font-size: 13px; color: var(--text-muted); font-weight: 600; margin-top: 2px; }

/* ─── Pillars Section ───────────────────────────────────── */
#pillars { padding: 40px 0; background: var(--bg); position: relative; z-index: 10; }
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillar-card {
  background: white; border: 1.5px solid var(--border);
  border-radius: var(--r-lg); padding: 32px 24px; text-align: center;
  transition: all 0.3s var(--ease); box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: center;
}
.pillar-card:hover {
  border-color: var(--primary-brd); transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}
.pillar-icon { font-size: 40px; margin-bottom: 14px; display: block; }
.pillar-title { font-family: var(--ff-head); font-size: 16px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.pillar-desc  { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ─── Services Section ──────────────────────────────────── */
#services { background: var(--bg-alt); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
  background: white; border: 1.5px solid var(--border);
  border-radius: var(--r-lg); padding: 32px 24px;
  transition: all 0.3s var(--ease); position: relative; overflow: hidden;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.service-card::after {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--primary-light));
  border-radius: 0 4px 4px 0; opacity: 0; transition: var(--t);
}
.service-card:hover::after { opacity: 1; }
.service-card.highlight {
  border-color: var(--primary-brd);
  background: linear-gradient(145deg, var(--primary-bg), white);
}
.service-card.highlight::after { opacity: 1; }
.service-card:hover { border-color: var(--primary-brd); transform: translateY(-6px); box-shadow: var(--shadow-card); }
.service-icon { font-size: 40px; margin-bottom: 16px; display: block; }
.service-title { font-family: var(--ff-head); font-size: 17px; font-weight: 800; color: var(--text); margin-bottom: 10px; }
.service-desc  { font-size: 13.5px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; flex-grow: 1; }
.service-link  { font-size: 13.5px; font-weight: 700; color: var(--primary); display: inline-flex; align-items: center; gap: 4px; margin-top: auto; }
.service-link:hover { gap: 8px; color: var(--primary-dark); }

/* ─── Doctors Section ───────────────────────────────────── */
#doctors { background: var(--bg); }
.doctors-track-wrap { overflow: hidden; margin: 0 -24px; padding: 10px 24px; }
.doctors-track {
  display: flex; gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; padding-bottom: 20px;
}
.doctor-card {
  background: white; border: 1.5px solid var(--border); border-radius: var(--r-xl);
  padding: 32px; min-width: 280px; max-width: 280px;
  scroll-snap-align: start; transition: all 0.3s var(--ease); flex-shrink: 0;
  box-shadow: var(--shadow);
}
.doctor-card:hover { border-color: var(--primary-brd); transform: translateY(-6px); box-shadow: var(--shadow-card); }
.doctor-avatar { width:88px; height:88px; border-radius:50%; object-fit:cover; margin-bottom:16px; border:3px solid var(--border); }
.doctor-avatar-placeholder {
  width:88px; height:88px; border-radius:50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display:flex; align-items:center; justify-content:center;
  font-family:var(--ff-head); font-size:26px; font-weight:800; color:white;
  margin-bottom:16px; border:3px solid var(--primary-brd); flex-shrink:0;
}
.doctor-name     { font-family:var(--ff-head); font-size:16px; font-weight:800; color:var(--text); margin-bottom:4px; }
.doctor-specialty{ font-size:13.5px; color:var(--primary-dark); font-weight:700; margin-bottom:6px; }
.doctor-exp      { font-size:12.5px; color:var(--text-dim); margin-bottom:14px; font-weight:500; }
.doctor-tags     { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:16px; }
.doctor-tag      { background:var(--primary-bg); border:1px solid var(--primary-brd); border-radius:var(--r-full); padding:4px 12px; font-size:11px; color:var(--primary-dark); font-weight:600; }
.doctor-bio      { font-size:13px; color:var(--text-muted); line-height:1.65; }
.doctors-nav     { display:flex; justify-content:center; gap:12px; margin-top:32px; }

/* ─── Promotions Section ────────────────────────────────── */
#promotions { background: var(--bg-warm); }
.promos-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:28px; }
.promo-card {
  background:white; border:1.5px solid var(--border); border-radius:var(--r-xl);
  padding:32px; position:relative; overflow:hidden; transition:all 0.3s var(--ease);
  box-shadow:var(--shadow);
  display:flex; flex-direction:column;
}
.promo-card.featured { border-color:var(--primary-brd); box-shadow: var(--shadow-card); }
.promo-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-card); border-color:var(--primary-brd); }
.promo-stripe { position:absolute; top:0; left:0; right:0; height:5px; background:linear-gradient(90deg, var(--primary), var(--accent)); }

/* Clean flex-based headers instead of problematic absolute floats */
.promo-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 16px; gap: 10px;
}
.promo-badge {
  display:inline-block; background:var(--primary-bg); border:1.5px solid var(--primary-brd);
  border-radius:var(--r-full); padding:5px 14px; font-size:12px; font-weight:700;
  color:var(--primary-dark);
}
.promo-discount {
  display:inline-block; background:linear-gradient(135deg, var(--accent), var(--accent-dark));
  color:white; border-radius:var(--r-sm); padding:6px 14px;
  font-family:var(--ff-head); font-size:14.5px; font-weight:900;
  box-shadow: var(--shadow-accent);
}
.promo-title  { font-family:var(--ff-head); font-size:19px; font-weight:800; color:var(--text); margin-bottom:10px; line-height:1.3; }
.promo-desc   { font-size:13.5px; color:var(--text-muted); line-height:1.7; margin-bottom:24px; flex-grow:1; }
.promo-pricing{ display:flex; align-items:baseline; gap:8px; margin-bottom:12px; }
.promo-price-orig { font-size:13.5px; color:var(--text-dim); text-decoration:line-through; }
.promo-price-new  { font-family:var(--ff-head); font-size:24px; font-weight:900; color:var(--primary-dark); }
.promo-valid { font-size:12px; color:var(--text-dim); margin-bottom:20px; border-top: 1px solid var(--border); padding-top: 12px; }
.promo-valid span { color:var(--accent-dark); font-weight:700; }

/* ─── Insights Section ──────────────────────────────────── */
#insights { background:var(--bg); }
.insights-filter { display:flex; justify-content:center; gap:10px; flex-wrap:wrap; margin-bottom:44px; }
.filter-btn {
  padding:10px 22px; border-radius:var(--r-full);
  font-size:13.5px; font-weight:700; font-family:var(--ff-head);
  background:white; border:1.5px solid var(--border); color:var(--text-muted); transition:var(--t);
}
.filter-btn:hover, .filter-btn.active { background:var(--primary); border-color:var(--primary); color:white; }

.insights-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:28px; }
.insight-card {
  background:white; border:1.5px solid var(--border); border-radius:var(--r-xl);
  overflow:hidden; transition:all 0.3s var(--ease); box-shadow:var(--shadow);
  display:flex; flex-direction:column;
}
.insight-card:hover { border-color:var(--primary-brd); transform:translateY(-6px); box-shadow:var(--shadow-card); }
.insight-img-wrap { overflow:hidden; position:relative; aspect-ratio: 16/10; }
.insight-img { width:100%; height:100%; object-fit:cover; transition: transform 0.5s var(--ease); }
.insight-card:hover .insight-img { transform:scale(1.04); }
.insight-body { padding:24px; display:flex; flex-direction:column; flex-grow:1; }
.insight-cat { display:inline-block; border-radius:var(--r-full); padding:4px 14px; font-size:11px; font-weight:700; color:white; margin-bottom:12px; align-self: flex-start; text-transform: uppercase; }
.insight-title { font-family:var(--ff-head); font-size:17px; font-weight:800; line-height:1.4; margin-bottom:10px; color:var(--text); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.insight-excerpt { font-size:13.5px; color:var(--text-muted); line-height:1.7; margin-bottom:20px; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; flex-grow:1; }
.insight-meta { display:flex; align-items:center; justify-content:space-between; font-size:12.5px; color:var(--text-dim); padding-top:16px; border-top:1px solid var(--border); margin-top:auto; }
.insight-author { display:flex; align-items:center; gap:6px; font-weight:600; color:var(--text-muted); }
.insight-author-dot { width:6px; height:6px; border-radius:50%; background:var(--primary); }

/* ─── Testimonials Section ──────────────────────────────── */
#testimonials { background:var(--bg-alt); }
.testi-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
.testi-card {
  background:white; border:1.5px solid var(--border); border-radius:var(--r-xl);
  padding:32px; transition:var(--t); position:relative; box-shadow:var(--shadow);
}
.testi-card::before {
  content:'“'; position:absolute; top:20px; right:28px;
  font-size:80px; font-family:var(--ff-head); font-weight:900;
  color:var(--primary-bg); line-height:1; pointer-events:none;
}
.testi-card:hover { border-color:var(--primary-brd); transform:translateY(-4px); box-shadow:var(--shadow-card); }
.testi-stars { color:var(--accent); font-size:16px; letter-spacing:2px; margin-bottom:14px; }
.testi-text  { font-size:14.5px; line-height:1.8; color:var(--text-muted); margin-bottom:24px; position:relative; z-index:2; }
.testi-author{ display:flex; align-items:center; gap:14px; }
.testi-avatar{
  width:48px; height:48px; border-radius:50%; overflow:hidden;
  background:linear-gradient(135deg, var(--primary), var(--accent));
  display:flex; align-items:center; justify-content:center;
  font-family:var(--ff-head); font-weight:700; color:white; font-size:16px; flex-shrink:0;
}
.testi-avatar img { width:100%; height:100%; object-fit:cover; }
.testi-name { font-family:var(--ff-head); font-size:15px; font-weight:800; color:var(--text); }
.testi-pet  { font-size:12.5px; color:var(--text-dim); }

/* ─── News Section ──────────────────────────────────────── */
#news { background:var(--bg); }
.news-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.news-card {
  background:white; border:1.5px solid var(--border); border-radius:var(--r-lg);
  padding:28px; transition:all 0.3s var(--ease); box-shadow:var(--shadow);
  display:flex; flex-direction:column;
}
.news-card:hover { border-color:var(--primary-brd); transform:translateY(-4px); box-shadow:var(--shadow-card); }
.news-cat    { display:inline-block; border-radius:var(--r-full); padding:4px 14px; font-size:11px; font-weight:700; color:white; margin-bottom:12px; align-self: flex-start; text-transform: uppercase; }
.news-title  { font-family:var(--ff-head); font-size:16px; font-weight:800; color:var(--text); margin-bottom:8px; line-height:1.4; }
.news-excerpt{ font-size:13.5px; color:var(--text-muted); line-height:1.7; margin-bottom:18px; flex-grow:1; }
.news-date   { font-size:12.5px; color:var(--text-dim); font-weight:500; margin-top:auto; }

/* ─── Clinic Info & Hours Table ─────────────────────────── */
#clinic { background:var(--bg-alt); }
.clinic-grid { display:grid; grid-template-columns:1fr 1fr 1fr; gap:30px; align-items:start; }
.clinic-contact-list { display:flex; flex-direction:column; gap:16px; }
.clinic-contact-item {
  display:flex; align-items:flex-start; gap:16px;
  padding:20px; background:white; border:1.5px solid var(--border);
  border-radius:var(--r-md); transition:var(--t); box-shadow:var(--shadow);
}
.clinic-contact-item:hover { border-color:var(--primary-brd); box-shadow: var(--shadow-card); }
.contact-icon { width:44px; height:44px; flex-shrink:0; background:var(--primary-bg); border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:20px; color:var(--primary-dark); }
.contact-label { font-size:11.5px; color:var(--text-dim); margin-bottom:4px; text-transform:uppercase; letter-spacing:0.8px; font-weight:700; }
.contact-value { font-size:15px; font-weight:700; color:var(--text); }

/* Hours Table Design */
.clinic-hours-card { background:white; border:1.5px solid var(--border); border-radius:var(--r-xl); padding:32px; margin-top:24px; box-shadow:var(--shadow); }
.clinic-hours-title { font-family:var(--ff-head); font-size:17px; font-weight:800; color:var(--text); margin-bottom:20px; display:flex; align-items:center; gap:10px; }
.hours-list  { display:flex; flex-direction:column; gap:10px; }
.hours-item  { display:flex; justify-content:space-between; align-items:center; padding:12px 18px; background:var(--bg-alt); border-radius:10px; font-size:14px; border:1px solid transparent; }
.hours-day   { color:var(--text-muted); font-weight:600; }
.hours-time  { font-weight:800; color:var(--primary-dark); }

/* Emergency Alert Row */
.hours-emergency {
  background: var(--accent-bg) !important;
  border-color: var(--accent-brd) !important;
}
.hours-emergency .hours-day { color: var(--accent-dark); }
.hours-emergency .hours-time { color: var(--accent-dark); }

.clinic-cta-box {
  background:linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius:var(--r-xl); padding:48px 40px; text-align:center; color:white;
  box-shadow:var(--shadow-lg);
  position: relative; overflow: hidden;
}
.clinic-cta-box::before {
  content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 10% 20%, rgba(255,255,255,0.08) 0%, transparent 50%);
}
.clinic-cta-icon  { font-size:56px; margin-bottom:18px; display:block; animation:float 4s ease-in-out infinite; }
.clinic-cta-title { font-family:var(--ff-head); font-size:26px; font-weight:800; margin-bottom:10px; }
.clinic-cta-sub   { font-size:15px; opacity:0.9; margin-bottom:32px; line-height:1.7; }
.btn-wa {
  display:inline-flex; align-items:center; justify-content:center; gap:10px; padding:16px 36px;
  background:#25D366; color:white; border-radius:var(--r-full);
  font-family:var(--ff-head); font-size:16.5px; font-weight:800;
  box-shadow:0 8px 30px rgba(37,211,102,0.3); transition:all 0.3s var(--ease); margin-bottom:16px;
  position: relative; z-index: 2;
}
.btn-wa:hover { transform:translateY(-3px); box-shadow:0 12px 36px rgba(37,211,102,0.45); }
.clinic-cta-note { font-size:12.5px; opacity:0.8; font-weight:500; }

/* ─── Footer ─── */
#footer { background:var(--primary-dark); color:white; padding:80px 0 32px; position: relative; }
.footer-grid { display:grid; grid-template-columns:2fr 1.1fr 1.1fr 1.1fr; gap:48px; margin-bottom:60px; }
.footer-brand .nav-logo { margin-bottom:16px; }
.footer-brand .nav-logo-icon { box-shadow:none; background: rgba(255,255,255,0.12); }
.footer-brand p { font-size:14.5px; color:rgba(255,255,255,0.7); line-height:1.75; margin-bottom:24px; }
.footer-socials { display:flex; gap:10px; }
.social-btn {
  width:38px; height:38px; background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.12);
  border-radius:10px; display:flex; align-items:center; justify-content:center;
  font-size:16px; color:rgba(255,255,255,0.7); transition:var(--t);
}
.social-btn:hover { background:white; color:var(--primary-dark); transform:translateY(-3px); }
.footer-col h5 { font-family:var(--ff-head); font-size:15px; font-weight:800; margin-bottom:18px; color:white; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col ul { display:flex; flex-direction:column; gap:10px; }
.footer-col ul a { font-size:14px; color:rgba(255,255,255,0.65); transition:var(--t); }
.footer-col ul a:hover { color:white; padding-left:6px; }
.footer-bottom {
  border-top:1px solid rgba(255,255,255,0.1); padding-top:28px;
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px;
}
.footer-bottom p { font-size:13.5px; color:rgba(255,255,255,0.5); }

/* ─── WhatsApp Float ─── */
.wa-float {
  position:fixed; bottom:32px; right:32px; z-index:900;
  width:60px; height:60px; background:#25D366; border-radius:50%;
  display:flex; align-items:center; justify-content:center; font-size:28px;
  box-shadow:0 8px 30px rgba(37,211,102,0.35); transition:all 0.3s var(--ease);
  animation:float 4s ease-in-out infinite;
}
.wa-float:hover { transform:scale(1.1) rotate(6deg); box-shadow:0 12px 40px rgba(37,211,102,0.5); }

/* ─── Hero Custom Wide Adjustment ─── */
#hero .container { max-width: 1400px; }
.hero-content { gap: 60px; }

/* ─── Insights Slideshow (Horizontal track when count > 3) ─── */
.insights-track-wrap { overflow: hidden; margin: 0 -24px; padding: 10px 24px; }
.insights-track {
  display: flex; gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; padding-bottom: 20px;
}
.insights-track::-webkit-scrollbar { display: none; }
.insights-track .insight-card {
  min-width: 320px; max-width: 320px;
  scroll-snap-align: start; flex-shrink: 0;
}
.insights-nav { display: none; justify-content: center; gap: 12px; margin-top: 32px; }
.insights-nav.show { display: flex; }

/* ─── Premium Detail Modal (SPA Popups) ─── */
.detail-modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(12, 25, 38, 0.45); backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; animation: fadeIn 0.3s var(--ease);
}
.detail-modal-card {
  background: white; border-radius: var(--r-xl);
  width: 100%; max-width: 720px; max-height: 85vh;
  box-shadow: var(--shadow-lg); overflow-y: auto;
  position: relative; animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1.5px solid var(--border);
}
.detail-modal-close {
  position: absolute; top: 20px; right: 24px;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--bg-alt); border: 1.5px solid var(--border);
  font-size: 16px; font-weight: 700; color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; cursor: pointer; z-index: 10;
}
.detail-modal-close:hover {
  background: var(--primary-bg); color: var(--primary);
  transform: rotate(90deg); border-color: var(--primary-brd);
}
.detail-modal-body { padding: 40px; }

/* Modal Content Aesthetics (Gen-Z Clean Styling) */
.modal-header-visual {
  margin-bottom: 24px; border-radius: var(--r-md); overflow: hidden;
  aspect-ratio: 16/9; max-height: 300px; width: 100%;
}
.modal-header-visual img { width: 100%; height: 100%; object-fit: cover; }
.modal-tag {
  display: inline-block; background: var(--primary-bg); color: var(--primary-dark);
  border: 1px solid var(--primary-brd); font-size: 12px; font-weight: 700;
  padding: 4px 14px; border-radius: var(--r-full); text-transform: uppercase;
  margin-bottom: 12px;
}
.modal-title {
  font-family: var(--ff-head); font-size: clamp(24px, 4vw, 32px);
  font-weight: 900; color: var(--text); line-height: 1.25; margin-bottom: 16px;
}
.modal-meta-row {
  display: flex; align-items: center; gap: 16px;
  font-size: 13.5px; color: var(--text-dim); margin-bottom: 24px;
  padding-bottom: 16px; border-bottom: 1.5px solid var(--border);
}
.modal-author-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: white; font-size: 14px;
}
.modal-desc-rich {
  font-size: 15.5px; line-height: 1.8; color: var(--text-muted);
}
.modal-desc-rich p { margin-bottom: 16px; }

/* Doctor Profiling Details Layout */
.doc-modal-grid {
  display: grid; grid-template-columns: 180px 1fr; gap: 32px;
}
.doc-modal-photo {
  width: 100%; aspect-ratio: 1; border-radius: var(--r-lg);
  object-fit: cover; border: 3px solid var(--border);
}
.doc-modal-meta h3 { font-family: var(--ff-head); font-size: 24px; font-weight: 800; color: var(--text); }
.doc-modal-meta .spec { color: var(--primary); font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.doc-modal-meta .exp { font-size: 13.5px; color: var(--text-dim); margin-bottom: 16px; display: block; }
.doc-modal-status-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #eefbf3; border: 1px solid rgba(39, 174, 96, 0.2);
  color: #27ae60; font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: var(--r-full); margin-bottom: 16px;
}
.doc-modal-sections { margin-top: 32px; display: flex; flex-direction: column; gap: 24px; }
.doc-modal-sec-title { font-family: var(--ff-head); font-size: 15px; font-weight: 800; text-transform: uppercase; color: var(--text); letter-spacing: 0.5px; border-bottom: 2px solid var(--primary-bg); padding-bottom: 4px; margin-bottom: 8px; }
.doc-modal-list { display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; color: var(--text-muted); }
.doc-modal-list-item { display: flex; align-items: flex-start; gap: 8px; }
.doc-modal-list-item::before { content: '⚡'; font-size: 12px; margin-top: 4px; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

/* ─── Instagram Visual Grid ─── */
.ig-card {
  position: relative; border-radius: var(--r-md); overflow: hidden;
  aspect-ratio: 1; box-shadow: var(--shadow); border: 1.5px solid var(--border);
  transition: all 0.3s var(--ease); cursor: pointer;
}
.ig-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.ig-overlay {
  position: absolute; inset: 0; background: rgba(12, 164, 177, 0.88);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: white; opacity: 0; transition: all 0.3s var(--ease); z-index: 2;
  font-family: var(--ff-head); font-weight: 700; font-size: 14px;
}
.ig-card:hover img { transform: scale(1.06); }
.ig-card:hover .ig-overlay { opacity: 1; }
.ig-caption {
  font-size: 11px; font-weight: 500; font-family: var(--ff-body);
  max-width: 80%; text-align: center; color: rgba(255,255,255,0.9);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ─── Responsive (Layout & Spacing Cleanliness) ─── */
@media (max-width:1140px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-brand { grid-column: span 3; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 24px; margin-bottom: 12px; }
}
@media (max-width:1024px) {
  .pillars-grid { grid-template-columns:repeat(2,1fr); gap: 16px; }
  .services-grid { grid-template-columns:repeat(2,1fr); gap: 16px; }
  .promos-grid { grid-template-columns:1fr 1fr; gap: 20px; }
  .insights-grid { grid-template-columns:1fr 1fr; gap: 20px; }
  .news-grid { grid-template-columns:1fr 1fr; gap: 20px; }
  .instagram-grid { grid-template-columns:repeat(2, 1fr) !important; gap: 12px; }
  .clinic-grid { grid-template-columns:1fr; gap: 40px; }
}
@media (max-width:768px) {
  .section { padding: 70px 0; }
  .nav-links { display: none !important; }
  .nav-wa { display: none !important; }
  .nav-adopt-btn {
    padding: 7px 14px;
    font-size: 12px;
  }
  .nav-hamburger { display: flex !important; }
  .doc-modal-grid { grid-template-columns: 1fr; text-align: center; }
  .doc-modal-photo { max-width: 140px; margin: 0 auto; }
  .hero-slide-bg {
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.96) 45%, rgba(255, 255, 255, 0.85) 70%, rgba(255, 255, 255, 0.4) 100%) !important;
  }
  .hero-slider-arrow { display: none !important; }
}
@media (max-width:580px) {
  .pillars-grid { grid-template-columns:1fr; }
  .services-grid { grid-template-columns:1fr; }
  .promos-grid { grid-template-columns:1fr; }
  .insights-grid { grid-template-columns:1fr; }
  .news-grid { grid-template-columns:1fr; }
  .instagram-grid { grid-template-columns:1fr !important; }
  .testi-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-brand { grid-column: span 1; }
  .hero-float-badge { display: none; }
}

/* ─── Promo Pop-up Modal ─── */
.promo-popup-overlay {
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease-out;
}
.promo-popup-card {
  background: var(--bg);
  border-radius: var(--r-xl);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  width: 100%; max-width: 480px;
  position: relative;
  overflow: hidden;
  animation: scaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-height: 90vh;
  display: flex; flex-direction: column;
  border: 1.5px solid var(--border);
}
.promo-popup-close {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0, 0, 0, 0.6); color: white;
  border: none; font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 10; transition: all 0.2s var(--ease);
  box-shadow: var(--shadow);
}
.promo-popup-close:hover {
  background: var(--danger); transform: scale(1.08);
}
.promo-popup-content {
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.promo-popup-media {
  width: 100%; max-height: 240px; overflow: hidden;
  border-bottom: 1.5px solid var(--border);
}
.promo-popup-media img {
  width: 100%; height: 100%; object-fit: cover;
}
.promo-popup-body {
  padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.promo-popup-badge {
  align-self: flex-start;
  background: var(--accent-bg); color: var(--accent-dark);
  border: 1px solid var(--accent-brd);
  padding: 4px 12px; border-radius: var(--r-full);
  font-size: 11px; font-weight: 800; letter-spacing: 0.5px;
}
.promo-popup-title {
  font-family: var(--ff-head); font-size: 20px; font-weight: 800;
  color: var(--text); line-height: 1.3;
}
.promo-popup-text {
  font-size: 14.5px; line-height: 1.6; color: var(--text-muted);
  margin-bottom: 8px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scaleIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@media (max-width: 576px) {
  .promo-popup-card {
    max-width: 100%;
    border-radius: var(--r-lg);
  }
  .promo-popup-media {
    max-height: 180px;
  }
  .promo-popup-body {
    padding: 20px;
  }
}

/* ─── Adopt ME Nav Button ─── */
.nav-adopt-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--r-full);
  font-family: var(--ff-head); font-size: 14px; font-weight: 800;
  color: var(--accent-dark); border: 2.5px solid var(--accent);
  background: var(--accent-bg); transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap; cursor: pointer; text-decoration: none;
  box-shadow: 0 4px 10px rgba(255, 154, 0, 0.1);
}
.nav-adopt-btn:hover {
  background: var(--accent); color: white;
  transform: scale(1.05) translateY(-1px);
  box-shadow: 0 8px 20px rgba(255, 154, 0, 0.35);
}

/* ─── Adopt ME Scrolling Track ─── */
.adopt-track-container {
  overflow-x: auto;
  padding: 15px 5px 35px 5px;
  margin: 0 -24px;
  padding-left: 24px;
  padding-right: 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg-alt);
}
.adopt-track-container::-webkit-scrollbar {
  height: 6px;
}
.adopt-track-container::-webkit-scrollbar-track {
  background: var(--bg-alt);
  border-radius: var(--r-full);
}
.adopt-track-container::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: var(--r-full);
}
.adopt-track-container::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

.adopt-track {
  display: flex; gap: 24px;
  width: max-content;
}

/* Adopt Card Layout (Instagram grid inspired, visual hover detail) */
.adopt-card {
  width: 320px;
  background: var(--bg);
  border-radius: var(--r-xl);
  border: 1.5px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex; flex-direction: column;
}
.adopt-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-brd);
  box-shadow: 0 16px 36px rgba(255, 154, 0, 0.15);
}

.adopt-media-wrap {
  width: 100%; height: 260px;
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
  border-bottom: 1.5px solid var(--border);
}
.adopt-media-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.adopt-card:hover .adopt-media-wrap img {
  transform: scale(1.08);
}

/* Gender badge & Age Badge */
.adopt-badges-wrap {
  position: absolute; top: 16px; left: 16px; right: 16px;
  display: flex; justify-content: space-between; gap: 8px;
  z-index: 5;
}
.adopt-badge-gender {
  padding: 5px 12px; border-radius: var(--r-full);
  font-size: 11.5px; font-weight: 800;
  display: inline-flex; align-items: center; gap: 4px;
  box-shadow: var(--shadow);
}
.adopt-badge-gender.jantan {
  background: #e0f2fe; color: #0369a1; border: 1px solid #bae6fd;
}
.adopt-badge-gender.betina {
  background: #fce7f3; color: #b70068; border: 1px solid #fbcfe8;
}
.adopt-badge-age {
  background: rgba(12, 25, 38, 0.75); color: white;
  backdrop-filter: blur(8px);
  padding: 5px 12px; border-radius: var(--r-full);
  font-size: 11.5px; font-weight: 700;
  border: 1px solid rgba(255,255,255,0.2);
}

.adopt-body {
  padding: 20px;
  display: flex; flex-direction: column; gap: 10px;
  flex-grow: 1;
}
.adopt-meta-top {
  display: flex; justify-content: space-between; align-items: baseline;
}
.adopt-pet-name {
  font-family: var(--ff-head); font-size: 22px; font-weight: 800; color: var(--text);
}
.adopt-breed {
  font-size: 13.5px; font-weight: 600; color: var(--primary);
  background: var(--primary-bg); border: 1px solid var(--primary-brd);
  padding: 3px 10px; border-radius: var(--r-full);
}
.adopt-desc {
  font-size: 13.5px; line-height: 1.6; color: var(--text-muted);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden; height: 65px;
}

.adopt-owner-info {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 0; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text-muted);
}
.adopt-owner-avatar {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent-bg); color: var(--accent-dark);
  font-weight: 800; font-size: 11px;
  display: flex; align-items: center; justify-content: center;
}

.adopt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 12px; border-radius: var(--r-lg);
  font-family: var(--ff-head); font-size: 14.5px; font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white; border: none; cursor: pointer;
  transition: all 0.3s var(--ease);
  text-decoration: none; box-shadow: var(--shadow-accent);
}
.adopt-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 154, 0, 0.3);
}

