/* ==========================================================
   AQUANEST – Modern Bold Oceanic Theme (Pupjoy & Petpy Inspired)
   - Dominant Display Typography: Anton / Bebas Neue (Heavy, condensed, punchy)
   - Body Typography: Plus Jakarta Sans (Clean, modern, crisp)
   - Core Ocean Blues: Deep Ocean (#102A4A), Blueberry (#0D55AD), Bluebird (#438BC4), Clear Skies (#8CC1E9)
   - Fresh Joyful Accents: Reef Gold (#F59E0B / #FBBF24), Coral Salmon (#F97316), Lagoon Mint (#10B981)
   - Cute Marine Elements: Animated floating sea bubbles, friendly creature stickers, round stamps
   - NO AI STARS (Strictly 0 sparkle stars)
   ========================================================== */

:root {
  /* Fonts */
  --font-display: 'Anton', 'Bebas Neue', 'Impact', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* 5 Warna Resmi Samudra */
  --clouds: #FFF8E7;
  --clear-skies: #8CC1E9;
  --deep-ocean: #102A4A;
  --blueberry: #0D55AD;
  --bluebird: #438BC4;

  /* Variasi Warna Segar & Hangat (Reef & Beach) */
  --reef-gold: #F59E0B;
  --reef-gold-vibrant: #FBBF24;
  --reef-gold-light: #FEF3C7;
  --coral-orange: #F97316;
  --coral-soft: #FFEDD5;
  --coral-pink: #FB7185;
  --lagoon-mint: #10B981;
  --lagoon-soft: #D1FAE5;
  --ocean-ice: #EBF5FC;
  --sand-warm: #FFFDF9;
  --sand-card: #FFF8ED;
  --paper: #FAFBFD;

  /* Semantic Aliases */
  --brand: var(--blueberry);
  --ink: var(--deep-ocean);
  --muted: #4F6B88;
  --line: #E2EDF7;
  --line-strong: #CBD5E1;
  
  --shadow-sm: 0 4px 14px rgba(16, 42, 74, 0.05);
  --shadow: 0 16px 36px rgba(16, 42, 74, 0.09);
  --shadow-lg: 0 24px 50px rgba(16, 42, 74, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.6;
  padding: 0;
  margin: 0;
  min-height: 100vh;
  background: var(--sand-warm);
  overflow-x: hidden;
}

/* ---------- Typography Dominan & Berkarakter ---------- */
h1, h2, h3, h4, .brand-text, .display-title, .mega-title {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--deep-ocean);
  line-height: 0.98;
}
.mono { font-variant-numeric: tabular-nums; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid rgba(13, 85, 173, 0.45); outline-offset: 2px; border-radius: 6px; }

/* ---------- Layout Full Width Shell & Container ---------- */
.shell {
  width: 100%;
  max-width: 100%;
  margin: 0;
  position: relative;
  background: var(--sand-warm);
}
.shell .container, .container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

.eyebrow {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--blueberry);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.kicker {
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--bluebird);
  margin-bottom: 10px;
}

/* ---------- Top bar (Full Bleed Pill Navigation) ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50; width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 16px max(28px, calc((100% - 1320px) / 2 + 28px)); height: 82px;
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 42px; height: 42px; }
.brand-text {
  font-size: 30px;
  letter-spacing: 0.04em;
  color: var(--blueberry);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(235, 245, 252, 0.7);
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid rgba(140, 193, 233, 0.4);
}
.nav-links a {
  position: relative;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--deep-ocean);
  padding: 8px 18px;
  border-radius: 999px;
  transition: all .2s ease;
  white-space: nowrap;
}
.nav-links a:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--blueberry);
}
.nav-links a.active {
  background: var(--blueberry);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(13, 85, 173, 0.25);
}
.nav-links a.active::after { display: none; }
.nav-cta-mobile { display: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 14px; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--blueberry); font-size: 22px;
}

/* ---------- Tombol & Aksi ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px; font-size: 14px; font-weight: 700; font-family: inherit;
  border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: all .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 9px 20px; font-size: 13px; }
.btn-primary {
  background: var(--blueberry);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(13, 85, 173, 0.3);
}
.btn-primary:hover {
  background: #0A448C;
  color: #FFFFFF;
  box-shadow: 0 10px 26px rgba(13, 85, 173, 0.4);
}
.btn-outline {
  background: #FFFFFF;
  color: var(--blueberry);
  border-color: var(--blueberry);
}
.btn-outline:hover {
  background: var(--blueberry);
  color: #FFFFFF;
}
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--blueberry); background: var(--ocean-ice); }
.btn-danger { background: #dc2626; color: #fff; }
.btn .ico { width: 16px; height: 16px; }

/* Circle Play / CTA Button */
.circle-btn {
  width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid var(--deep-ocean); background: #fff;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--deep-ocean);
  transition: all .2s ease;
}
.circle-btn:hover { background: var(--deep-ocean); color: #fff; transform: scale(1.05); }
.circle-btn .ico { width: 16px; height: 16px; }

/* ==========================================================
   HERO SECTION (Pupjoy Poster Style with Dominant Text)
   ========================================================== */
.hero-pupjoy-wrap {
  width: 100%;
  padding: 30px max(28px, calc((100% - 1320px) / 2 + 28px)) 60px;
  position: relative;
}

/* Mega Header Text */
.hero-mega-headline {
  font-family: var(--font-display);
  font-size: clamp(64px, 12vw, 136px);
  color: var(--deep-ocean);
  line-height: 0.88;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 10px 0 16px;
}
.hero-mega-headline .accent-blue {
  color: var(--blueberry);
}
.hero-mega-headline .accent-gold {
  color: var(--reef-gold);
}

/* Subhead bar with Trust Pill */
.hero-subhead-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-tagline-text {
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.hero-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  padding: 6px 18px 6px 8px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  color: var(--deep-ocean);
}
.avatar-stack-mini {
  display: flex;
  align-items: center;
}
.avatar-stack-mini img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #FFFFFF;
  margin-left: -8px;
}
.avatar-stack-mini img:first-child { margin-left: 0; }
.hero-trust-pill b { font-weight: 800; color: var(--blueberry); }

/* Main Big Hero Showcase Card */
.hero-showcase-card {
  position: relative;
  width: 100%;
  min-height: 480px;
  background: linear-gradient(145deg, #092038 0%, #0D55AD 45%, #2B78C5 100%);
  border-radius: 36px;
  overflow: hidden;
  border: 2px solid rgba(140, 193, 233, 0.45);
  box-shadow: 0 24px 60px rgba(12, 45, 72, 0.28);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 40px 30px 0;
}

/* Background photo with clean marine clarity (NO YELLOW TINT) */
.hero-card-bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.95;
  mix-blend-mode: normal;
  transition: transform .6s ease;
}
.hero-showcase-card:hover .hero-card-bg-photo {
  transform: scale(1.02);
}

/* Gradient overlay for crystal ocean depth & perfect readability (NO YELLOW) */
.hero-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 32, 56, 0.42) 0%, rgba(13, 85, 173, 0.12) 40%, rgba(8, 24, 42, 0.88) 100%);
  z-index: 1;
}

/* Animals Cutout & Showcase Stage */
.hero-animals-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 20px;
}

.hero-species-cutout {
  text-align: center;
  transition: transform .3s ease;
}
.hero-species-cutout:hover {
  transform: translateY(-8px);
}
.hero-species-cutout img {
  max-height: 380px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.45));
}
.hero-species-cutout .cutout-caption {
  font-family: var(--font-display);
  font-size: 22px;
  color: #FFFFFF;
  margin-top: 8px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  letter-spacing: 0.03em;
}

/* Floating Circular Button CTA (Pupjoy Style) */
.hero-circle-cta {
  position: absolute;
  left: 40px;
  bottom: 40px;
  z-index: 5;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--blueberry);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 30px rgba(13, 85, 173, 0.5);
  border: 4px solid #FFFFFF;
  transition: all .25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.hero-circle-cta:hover {
  transform: scale(1.1) rotate(6deg);
  background: #0A448C;
}

/* Floating Cute Elements (NO AI STARS) */
.floating-cute-badge {
  position: absolute;
  z-index: 4;
  background: #FFFFFF;
  color: var(--deep-ocean);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(140, 193, 233, 0.4);
}
.floating-cute-badge.top-right {
  top: 32px;
  right: 32px;
}
.floating-cute-badge.top-left {
  top: 32px;
  left: 32px;
}
.floating-cute-badge .badge-emoji {
  font-size: 18px;
}

/* Animated Floating Sea Bubbles (Cute & Relaxing) */
@keyframes floatBubbleUp {
  0% { transform: translateY(0) scale(1); opacity: 0.5; }
  50% { transform: translateY(-24px) translateX(8px) scale(1.1); opacity: 0.85; }
  100% { transform: translateY(0) scale(1); opacity: 0.5; }
}
.sea-bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.85) 0%, rgba(140, 193, 233, 0.4) 60%, rgba(13, 85, 173, 0.2) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.6), 0 4px 12px rgba(13, 85, 173, 0.15);
  pointer-events: none;
  z-index: 3;
}
.sea-bubble.b1 { width: 34px; height: 34px; left: 12%; top: 22%; animation: floatBubbleUp 4.2s infinite ease-in-out; }
.sea-bubble.b2 { width: 22px; height: 22px; left: 24%; top: 58%; animation: floatBubbleUp 3.6s infinite ease-in-out 1.2s; }
.sea-bubble.b3 { width: 42px; height: 42px; right: 15%; top: 26%; animation: floatBubbleUp 4.8s infinite ease-in-out 0.6s; }
.sea-bubble.b4 { width: 28px; height: 28px; right: 28%; top: 62%; animation: floatBubbleUp 3.9s infinite ease-in-out 1.8s; }

/* Hero Bottom Action Row */
.hero-bottom-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.hero-bottom-actions .btn-hero-main {
  background: var(--blueberry);
  color: #fff;
  font-size: 15px;
  padding: 14px 32px;
  box-shadow: 0 8px 24px rgba(13, 85, 173, 0.35);
}
.hero-bottom-actions .btn-hero-quiz {
  background: #FFFFFF;
  color: var(--deep-ocean);
  border: 2px solid var(--deep-ocean);
  font-size: 15px;
  padding: 14px 28px;
}
.hero-bottom-actions .btn-hero-quiz:hover {
  background: var(--deep-ocean);
  color: #FFFFFF;
}

/* ==========================================================
   PERSONALIZED PICKS / SPESIES IKONIK (Pupjoy Style Cards)
   ========================================================== */
.picks-section {
  padding: 60px 0 70px;
  width: 100%;
}
.section-headline-wrap {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 38px;
}
.section-mega-title {
  font-size: clamp(38px, 6vw, 68px);
  color: var(--deep-ocean);
  margin-bottom: 8px;
}
.section-subtitle {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* 4-Column Card Grid with Vibrant Solid Color Blocks */
.picks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.pick-card {
  position: relative;
  border-radius: 28px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 420px;
  text-decoration: none;
  color: #FFFFFF;
  overflow: hidden;
  transition: all .25s ease;
  box-shadow: var(--shadow);
}
.pick-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

/* Color Themes for Pick Cards */
.pick-card.theme-gold {
  background: linear-gradient(145deg, #F59E0B 0%, #D97706 100%);
}
.pick-card.theme-blue {
  background: linear-gradient(145deg, #0D55AD 0%, #0A448C 100%);
}
.pick-card.theme-navy {
  background: linear-gradient(145deg, #1A3E66 0%, #102A4A 100%);
}
.pick-card.theme-coral {
  background: linear-gradient(145deg, #F97316 0%, #EA580C 100%);
}

.pick-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.pick-tag {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

/* Circular Portrait Frame in Card */
.pick-portrait-frame {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 18px auto;
  overflow: hidden;
  border: 4px solid #FFFFFF;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  background: #FFFFFF;
  transition: transform .25s ease;
}
.pick-card:hover .pick-portrait-frame {
  transform: scale(1.06);
}
.pick-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pick-card-body {
  text-align: center;
  margin-top: 6px;
}
.pick-title {
  font-family: var(--font-display);
  font-size: 26px;
  color: #FFFFFF;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}
.pick-scientific {
  font-size: 12.5px;
  font-style: italic;
  opacity: 0.9;
  margin-bottom: 12px;
}
.pick-depth-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.18);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.pick-action-btn {
  width: 100%;
  background: #FFFFFF;
  color: var(--deep-ocean);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background .2s, color .2s;
}
.pick-card:hover .pick-action-btn {
  background: var(--clouds);
  color: var(--blueberry);
}

/* ==========================================================
   TENTANG AQUANEST (Petpy Style with Cute Badges & Big Stats)
   ========================================================== */
.about-petpy-section {
  padding: 50px 0 70px;
  width: 100%;
}
.about-petpy-card {
  background: #FFFFFF;
  border-radius: 36px;
  border: 2px solid var(--line);
  padding: 54px 48px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.about-petpy-card::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--ocean-ice);
  z-index: 0;
}

.about-content-left {
  position: relative;
  z-index: 1;
}
.about-content-left h2 {
  font-size: clamp(34px, 5vw, 56px);
  margin: 12px 0 18px;
  color: var(--deep-ocean);
}
.about-content-left p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 540px;
}

/* Cute Sticker Badges List */
.cute-stickers-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.cute-sticker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sand-warm);
  border: 1.5px solid var(--line);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--deep-ocean);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease;
}
.cute-sticker:hover {
  transform: translateY(-2px);
  border-color: var(--clear-skies);
}
.cute-sticker .st-emoji { font-size: 16px; }

/* 3 Big Stats Blocks */
.petpy-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.stat-block {
  padding: 20px 16px;
  border-radius: 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease;
}
.stat-block:hover { transform: translateY(-3px); }
.stat-block.blue {
  background: var(--ocean-ice);
  border: 1.5px solid rgba(140, 193, 233, 0.4);
}
.stat-block.blue b { color: var(--blueberry); }

.stat-block.gold {
  background: var(--reef-gold-light);
  border: 1.5px solid rgba(245, 158, 11, 0.3);
}
.stat-block.gold b { color: #B45309; }

.stat-block.coral {
  background: var(--coral-soft);
  border: 1.5px solid rgba(249, 115, 22, 0.3);
}
.stat-block.coral b { color: #C2410C; }

.stat-block b {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.stat-block span {
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--deep-ocean);
  letter-spacing: 0.04em;
}

/* Right Media Collage in About */
.about-media-collage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.collage-main-img {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 28px;
  overflow: hidden;
  border: 4px solid #FFFFFF;
  box-shadow: var(--shadow);
}
.collage-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.collage-sub-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.collage-sub-item {
  border-radius: 22px;
  overflow: hidden;
  border: 3px solid #FFFFFF;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
}
.collage-sub-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================
   PETA ENDEMIK NUSANTARA
   ========================================================== */
.marine-map-section {
  padding: 60px 0 70px;
  width: 100%;
  position: relative;
}
.map-section-head {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 36px;
}
.map-section-title {
  font-size: clamp(34px, 5.5vw, 62px);
  margin: 10px 0 12px;
  color: var(--deep-ocean);
}
.map-section-subtitle {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* Filter Chips Bar (No scrollbars, clean touch/swipe) */
.map-chips-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  overflow-x: auto;
  padding: 6px 2px 12px;
  margin-bottom: 22px;
  scrollbar-width: none !important; /* Firefox */
  -ms-overflow-style: none !important; /* IE / Edge */
  -webkit-overflow-scrolling: touch;
}
.map-chips-bar::-webkit-scrollbar {
  display: none !important; /* Chrome, Safari, Edge, Opera */
  width: 0 !important;
  height: 0 !important;
}
.map-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1.5px solid var(--line);
  color: var(--deep-ocean);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: all .2s ease;
  flex-shrink: 0;
}
.map-chip:hover {
  background: var(--ocean-ice);
  border-color: var(--clear-skies);
  transform: translateY(-2px);
}
.map-chip.active {
  background: var(--blueberry);
  border-color: var(--blueberry);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(13, 85, 173, 0.3);
}
.map-chip .chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clear-skies);
}
.map-chip.active .chip-dot { background: #FFFFFF; }

/* Stage Wrapper - Perfectly Equal Height & Flush Alignment */
.map-stage-wrapper {
  display: grid;
  grid-template-columns: 1fr 370px;
  gap: 28px;
  align-items: stretch;
}

/* Fixed & Non-Draggable Map Canvas (Sesuai Peta Siluet Resmi) */
.map-canvas-card {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 520px;
  background: radial-gradient(ellipse at 50% 50%, #FFFFFF 0%, #F4F8FC 65%, #E3EEF8 100%);
  border-radius: 28px;
  overflow: hidden;
  border: 2px solid var(--clear-skies);
  box-shadow: var(--shadow);
  touch-action: pan-y;
  user-select: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px 16px 54px;
}

/* Inner Stage Wrapper locks aspect ratio 1400/584 so hotspots stay pixel-perfect */
.map-inner-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1400 / 584;
  margin: auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-archipelago-svg {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Hotspots layer precisely overlays map-inner-stage */
.map-hotspots-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.map-pin-btn {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  outline: none;
  z-index: 10;
  transition: transform .25s ease, z-index .1s;
}

/* Sonar pulse animation */
@keyframes sonarPulse {
  0% { transform: scale(0.9); opacity: 0.95; }
  60% { transform: scale(2.6); opacity: 0.25; }
  100% { transform: scale(3.4); opacity: 0; }
}
.sonar-ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px solid var(--blueberry);
  background: rgba(140, 193, 233, 0.2);
  pointer-events: none;
  opacity: 0;
}
.sonar-ring.r1 {
  animation: sonarPulse 2.4s infinite cubic-bezier(0, 0.2, 0.8, 1);
}
.sonar-ring.r2 {
  animation: sonarPulse 2.4s infinite cubic-bezier(0, 0.2, 0.8, 1) 1.2s;
}

/* Pin Core */
.pin-core {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blueberry);
  border: 3px solid #FFFFFF;
  box-shadow: 0 4px 16px rgba(16, 42, 74, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all .25s ease;
}
.pin-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  display: block;
}
.pin-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Pin Tooltip Tag */
.pin-label-pill {
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--deep-ocean);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
  border: 1px solid rgba(140, 193, 233, 0.4);
  pointer-events: none;
  opacity: 0;
  transition: all .2s ease;
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  gap: 6px;
}
.pin-label-pill::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--deep-ocean);
}
.pin-label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clear-skies);
}

.map-pin-btn:hover {
  z-index: 24;
  transform: translate(-50%, -50%) scale(1.15);
}
.map-pin-btn:hover .pin-label-pill {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.map-pin-btn.active {
  z-index: 25;
  transform: translate(-50%, -50%) scale(1.22);
}
.map-pin-btn.active .pin-core {
  border-color: #FFFFFF;
  box-shadow: 0 0 0 4px var(--blueberry), 0 8px 24px rgba(16, 42, 74, 0.45);
}
.map-pin-btn.active .pin-label-pill {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  background: var(--blueberry);
  border-color: #FFFFFF;
}

/* Map Status Legend */
.map-status-legend {
  position: absolute;
  bottom: 16px;
  left: 20px;
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 12px;
  pointer-events: none;
}
.legend-badge {
  background: rgba(16, 42, 74, 0.88);
  border: 1px solid rgba(140, 193, 233, 0.5);
  border-radius: 999px;
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #FFF8E7;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(16, 42, 74, 0.2);
}
.legend-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}
.legend-hint {
  color: var(--deep-ocean);
  font-weight: 700;
  opacity: 0.85;
}

/* Spotlight Preview Card */
.map-spotlight-card {
  background: #FFFFFF;
  border: 2px solid var(--line);
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  transition: all .25s ease;
}
.spotlight-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.spotlight-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.spotlight-habitat-pill {
  font-size: 11px;
  font-weight: 700;
  background: var(--ocean-ice);
  color: var(--blueberry);
  padding: 3px 10px;
  border-radius: 999px;
}
.spotlight-close-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
}
.spotlight-hero-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 20px;
  overflow: hidden;
}
.spotlight-hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.spotlight-loc-chip {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(16, 42, 74, 0.85);
  color: #FFF;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(6px);
}
.spotlight-loc-chip .ico-pin { width: 14px; height: 14px; color: var(--clear-skies); }

.spotlight-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}
.spotlight-title {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
  color: var(--deep-ocean);
}
.spotlight-scientific {
  font-size: 13px;
  font-style: italic;
  color: var(--muted);
}
.spotlight-summary {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}
.spotlight-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: var(--sand-warm);
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
}
.meta-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.meta-label {
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 4px;
}
.meta-label svg { width: 13px; height: 13px; color: var(--bluebird); }
.meta-val {
  font-size: 13px;
  font-weight: 800;
  color: var(--deep-ocean);
}
.spotlight-cta-btn {
  width: 100%;
  padding: 12px;
  font-size: 13.5px;
  text-align: center;
  justify-content: center;
  margin-top: auto;
}

/* ==========================================================
   TIPS KONSERVASI & EDUKASI
   ========================================================== */
.tips-panel {
  max-width: 1320px;
  margin: 50px auto 0;
  padding: 48px 36px;
  background: #FFFFFF;
  border-radius: 36px;
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
}
.tips-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.tips-head h2 {
  font-size: clamp(32px, 5vw, 54px);
  color: var(--deep-ocean);
  margin-top: 6px;
}
/* ==========================================================
   TIPS KONSERVASI CARDS (Visual Image First + Punchy Minimal Text)
   ========================================================== */
.tip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.tip-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.tip-card {
  background: #FFFFFF;
  border: 1.5px solid rgba(140, 193, 233, 0.45);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(12, 45, 72, 0.06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  text-decoration: none;
  color: inherit;
  position: relative;
}
.tip-card:hover {
  transform: translateY(-6px);
  background: #FFFFFF;
  border-color: var(--blueberry);
  box-shadow: 0 18px 40px rgba(13, 85, 173, 0.16);
}

/* Photo Media Header */
.tip-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ocean-ice);
}
.tip-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.tip-card:hover .tip-card-media img {
  transform: scale(1.06);
}

/* Badges floating on image */
.tip-card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  z-index: 2;
  pointer-events: none;
}
.pill-cat {
  font-size: 11px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  color: var(--deep-ocean);
  padding: 4px 11px;
  border-radius: 999px;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  text-transform: uppercase;
}
.pill-diff {
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.pill-diff.lvl-mudah, .pill.lvl.Mudah {
  background: #10B981;
  color: #FFFFFF;
}
.pill-diff.lvl-sedang, .pill.lvl.Sedang {
  background: #F59E0B;
  color: #FFFFFF;
}
.pill-diff.lvl-menantang, .pill.lvl.Menantang {
  background: #EF4444;
  color: #FFFFFF;
}

/* Card Body Content */
.tip-card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.tip-card-title,
.tip-card h3 {
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--deep-ocean);
  text-transform: uppercase;
  margin: 0 0 8px;
}
.tip-card-desc,
.tip-card p {
  font-size: 13.5px;
  line-height: 1.45;
  color: #4a6b82;
  margin: 0 0 14px;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card Link & Footer Tag */
.tip-card-link {
  margin-top: auto;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blueberry);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: transform .2s ease, color .2s ease;
}
.tip-card:hover .tip-card-link {
  color: var(--deep-ocean);
  transform: translateX(4px);
}
.tip-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tip-tag-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--ocean-ice);
  color: var(--deep-ocean);
  font-size: 12px;
  text-decoration: none;
  border: 1px solid rgba(140, 193, 233, 0.4);
  transition: background .2s ease, color .2s ease;
}
.tip-tag-link:hover {
  background: var(--clear-skies);
  color: #FFFFFF;
}
.tip-tag-link .tag-ico { font-size: 13px; }
.tip-tag-link .tag-label { font-weight: 700; }

/* Double Wave Graphic next to Titles */
.title-wave, .kicker-wave, .eyebrow-wave {
  display: inline-block;
  vertical-align: middle;
  width: 32px;
  height: 12px;
  color: var(--blueberry);
  margin-left: 6px;
  flex-shrink: 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================
   QUOTE BANNER (Full Width Joyful Banner)
   ========================================================== */
.quote {
  max-width: 1320px;
  margin: 70px auto 40px;
  position: relative;
  min-height: 380px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  padding: 50px 60px;
}
.quote-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.quote-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.quote-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16, 42, 74, 0.92) 0%, rgba(13, 85, 173, 0.75) 100%);
}
.quote-body {
  position: relative;
  z-index: 2;
  max-width: 720px;
  color: #FFFFFF;
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 80px;
  line-height: 0.5;
  color: var(--clear-skies);
  margin-bottom: 20px;
}
.quote-body h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 64px);
  color: #FFFFFF;
  line-height: 1.0;
  margin-bottom: 24px;
}
.quote-body a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 15px;
  color: var(--clear-skies);
  border-bottom: 2px solid var(--clear-skies);
  padding-bottom: 3px;
  transition: all .2s;
}
.quote-body a:hover {
  color: #FFFFFF;
  border-color: #FFFFFF;
}

/* ==========================================================
   BADGE STATUS KONSERVASI IUCN (Mencolok: Merah, Oranye, Kuning)
   ========================================================== */
.badge-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 800; padding: 4px 11px;
  border-radius: 999px; letter-spacing: .025em; line-height: 1.25;
  white-space: nowrap; text-transform: uppercase;
}
.badge-status::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  display: inline-block; flex-shrink: 0;
}
/* CR - Kritis (Merah Terang Mencolok) */
.badge-status.status-cr {
  background: #DC2626; color: #FFFFFF;
  border: 1px solid #B91C1C;
  box-shadow: 0 2px 7px rgba(220, 38, 38, 0.35);
}
.badge-status.status-cr::before { background: #FFFFFF; }

/* EN - Terancam (Oranye Terang Mencolok) */
.badge-status.status-en {
  background: #EA580C; color: #FFFFFF;
  border: 1px solid #C2410C;
  box-shadow: 0 2px 7px rgba(234, 88, 12, 0.35);
}
.badge-status.status-en::before { background: #FFFFFF; }

/* VU - Rentan (Kuning Emas Mencolok) */
.badge-status.status-vu {
  background: #EAB308; color: #451A03;
  border: 1px solid #CA8A04;
  box-shadow: 0 2px 7px rgba(234, 179, 8, 0.35);
}
.badge-status.status-vu::before { background: #78350F; }

/* NT - Hampir Terancam */
.badge-status.status-nt {
  background: #0284C7; color: #FFFFFF;
  border: 1px solid #0369A1;
}
.badge-status.status-nt::before { background: #FFFFFF; }

/* LC - Risiko Rendah */
.badge-status.status-lc {
  background: #16A34A; color: #FFFFFF;
  border: 1px solid #15803D;
}
.badge-status.status-lc::before { background: #FFFFFF; }

/* DD - Kurang Data */
.badge-status.status-dd {
  background: #64748B; color: #FFFFFF;
  border: 1px solid #475569;
}
.badge-status.status-dd::before { background: #FFFFFF; }

/* ==========================================================
   FOOTER (Deep Ocean Theme)
   ========================================================== */
.site-footer {
  background: var(--deep-ocean);
  color: #FFFFFF;
  padding: 60px max(28px, calc((100% - 1320px) / 2 + 28px)) 36px;
  position: relative;
  margin-top: 80px;
}
.scroll-top-btn {
  position: absolute;
  top: -24px;
  right: max(28px, calc((100% - 1320px) / 2 + 28px));
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blueberry);
  color: #FFFFFF;
  border: 3px solid #FFFFFF;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: transform .2s ease;
}
.scroll-top-btn:hover { transform: translateY(-3px); }

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand .brand-text {
  color: #FFFFFF;
  font-size: 32px;
}
.footer-brand p {
  color: var(--clear-skies);
  font-size: 14px;
  margin-top: 8px;
  max-width: 380px;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  transition: color .2s;
}
.footer-links a:hover { color: var(--clear-skies); }
.footer-copy {
  margin-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

/* ==========================================================
   HALAMAN DALAM & KOMPONEN TAMBAHAN (Katalog, Detail, Kuis, dsb)
   ========================================================== */
.page-hero {
  position: relative;
  margin-top: -82px;
  width: 100%;
  padding: 136px max(28px, calc((100% - 1320px) / 2 + 28px)) 36px;
  background: radial-gradient(600px 240px at 85% 0%, rgba(140, 193, 233, 0.35), transparent 70%), linear-gradient(180deg, #EBF4FC 0%, rgba(250,252,254,0) 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero .container { padding: 0; }
.page-hero .kicker {
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--blueberry);
  margin-bottom: 8px;
}
.page-hero h1 {
  font-size: clamp(30px, 5vw, 52px);
  font-family: var(--font-display);
  color: var(--deep-ocean);
  letter-spacing: 0.02em;
  line-height: 1.05;
}
.page-hero p {
  max-width: 660px;
  margin-top: 8px;
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.6;
}

.section-pad { padding: 36px 0 70px; width: 100%; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-frame { border-radius: 28px; overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow); background: var(--clouds); }
.hero-frame img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card-4grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card-3catalog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

/* Katalog Spesies Card */
.catalog-card {
  background: #fff; border: 1.5px solid var(--line); border-radius: 26px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  box-shadow: var(--shadow-sm);
}
a.catalog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--clear-skies); }
.catalog-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.catalog-body { padding: 22px; }
.catalog-body h2 { font-family: var(--font-display); font-size: 24px; letter-spacing: 0.02em; color: var(--deep-ocean); margin-bottom: 4px; }

/* Keterangan Kedalaman & Detail Footer Kartu */
.catalog-foot {
  padding: 14px 22px; background: var(--sand-warm); border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; font-size: 12.5px;
}
.depth-info {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--muted);
}
.depth-info .ico-depth { width: 14px; height: 14px; color: var(--bluebird); flex-shrink: 0; }
.depth-info .depth-label { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.depth-info .depth-val { color: var(--deep-ocean); font-weight: 800; font-variant-numeric: tabular-nums; }
.catalog-detail-link { color: var(--blueberry); font-weight: 700; font-size: 13px; }

.specimen-card { background: #fff; border: 1.5px solid var(--line); border-radius: 24px; padding: 22px 18px; text-align: center; }
.avatar-photo-wrap { position: relative; width: 110px; height: 110px; margin: 0 auto 14px; }
.avatar-photo-wrap img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: var(--shadow); }
.iucn-circle { position: absolute; bottom: -2px; left: -2px; width: 36px; height: 36px; border-radius: 50%; background: var(--blueberry); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }

/* Filter Bar & Chips */
.filter-bar { padding: 18px 0 10px; width: 100%; }
.filter-bar .container { padding: 0 32px; }
.form-row { display: flex; flex-wrap: wrap; gap: 12px; }
.input, .select, .textarea {
  padding: 11px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  font-size: 14px; font-family: inherit; color: var(--deep-ocean);
}
.textarea { border-radius: 18px; width: 100%; }
.input { flex: 1; min-width: 200px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blueberry); box-shadow: 0 0 0 4px rgba(13, 85, 173, 0.2); }
.alert-ok { padding: 12px 18px; border-radius: 14px; background: #EEF6FC; border: 1px solid var(--clear-skies); color: var(--deep-ocean); margin-bottom: 16px; font-size: 13px; }
.alert-err { padding: 12px 18px; border-radius: 14px; background: #FDECEA; border: 1px solid #F3C8C2; color: #8F2A20; margin-bottom: 16px; font-size: 13px; }
table.data-table { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; border-radius: 20px; overflow: hidden; }
table.data-table th, table.data-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; }
table.data-table th { background: var(--sand-warm); font-size: 12px; color: var(--deep-ocean); width: 220px; font-weight: 800; text-transform: uppercase; }

/* Category Chips (Filter Konservasi) */
.chip-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 0 14px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1.5px solid var(--line);
  color: var(--deep-ocean);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: all .2s ease;
}
.chip:hover {
  border-color: var(--blueberry);
  color: var(--blueberry);
}
.chip.active {
  background: var(--blueberry);
  color: #FFFFFF;
  border-color: var(--blueberry);
  box-shadow: 0 4px 12px rgba(13, 85, 173, 0.25);
}

/* ==========================================================
   KOMPONEN EKOSISTEM (Harmonis di HP & Desktop)
   ========================================================== */
.eco-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.eco-card {
  background: #FFFFFF;
  border: 1.5px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  align-items: center;
}
.eco-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--clear-skies);
}
.eco-card-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  overflow: hidden;
  background: var(--ocean-ice);
  box-shadow: 0 4px 16px rgba(16, 42, 74, 0.08);
}
.eco-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.eco-card:hover .eco-card-media img {
  transform: scale(1.04);
}
.eco-card-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.eco-meta-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.eco-badge {
  font-size: 11.5px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.eco-badge.depth {
  background: var(--ocean-ice);
  color: var(--blueberry);
  border: 1px solid rgba(140, 193, 233, 0.5);
}
.eco-badge.temp {
  background: var(--coral-soft);
  color: #C2410C;
  border: 1px solid rgba(249, 115, 22, 0.3);
}
.eco-title {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--deep-ocean);
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin: 0;
}
.eco-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}
.eco-location-chip {
  background: var(--sand-warm);
  border: 1px solid var(--line);
  padding: 10px 16px;
  border-radius: 14px;
  font-size: 13.5px;
}
.eco-loc-label {
  font-weight: 800;
  color: var(--deep-ocean);
  margin-right: 6px;
}
.eco-loc-val {
  color: var(--muted);
}
.eco-actions {
  margin-top: 4px;
}

/* ==========================================================
   KOMPONEN EDUKASI (Harmonis di HP & Desktop)
   ========================================================== */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.edu-card {
  background: #FFFFFF;
  border: 1.5px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  text-decoration: none;
  color: inherit;
}
.edu-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--clear-skies);
}
.edu-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--ocean-ice);
  overflow: hidden;
}
.edu-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.edu-card:hover .edu-card-media img {
  transform: scale(1.04);
}
.edu-topic-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(16, 42, 74, 0.9);
  color: #FFFFFF;
  backdrop-filter: blur(8px);
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.edu-card-body {
  padding: 22px 24px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.edu-card-title {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.15;
  color: var(--deep-ocean);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}
.edu-card-summary {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.edu-card-foot {
  padding: 14px 24px 18px;
  background: var(--sand-warm);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}
.edu-author {
  color: var(--muted);
  font-weight: 600;
}
.edu-read-more {
  color: var(--blueberry);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform .2s ease;
}
.edu-card:hover .edu-read-more {
  transform: translateX(4px);
}

/* Detail Artikel Edukasi */
.edu-single-article {
  max-width: 820px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1.5px solid var(--line);
  border-radius: 28px;
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
}
.edu-article-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 42px);
  color: var(--deep-ocean);
  line-height: 1.1;
  margin: 10px 0 20px;
}
.edu-article-hero-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 24px;
}
.edu-article-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.edu-article-content {
  color: var(--muted);
  white-space: pre-line;
  font-size: 16px;
  line-height: 1.8;
}

/* Carousel Section */
.feat { max-width: 1320px; margin: 0 auto; position: relative; padding: 0 32px 30px; }
.feat-wrap { position: relative; }
.feat-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 0 14px; }
.feat-track::-webkit-scrollbar { display: none; }
.feat-card {
  position: relative; flex: 0 0 calc(25% - 14px); scroll-snap-align: start; border-radius: 24px; overflow: hidden;
  aspect-ratio: 4/4.2; background: #FFFFFF; border: 1.5px solid var(--line); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--clear-skies); }
.feat-card img { width: 100%; height: 100%; object-fit: cover; }
.feat-card .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 14px; color: #fff;
  background: linear-gradient(to top, rgba(16, 42, 74, 0.95), transparent);
}
.feat-card .cap b { display: block; font-family: var(--font-display); font-size: 18px; color: #FFF; letter-spacing: 0.02em; }
.feat-card .cap small { font-size: 11px; opacity: .88; font-style: italic; color: #E0EBF5; }
.feat-next { position: absolute; right: -16px; top: 50%; transform: translateY(-50%); z-index: 3; box-shadow: var(--shadow); }

/* ==========================================================
   RESPONSIF MOBILE, TABLET & DESKTOP (100% Harmonis)
   ========================================================== */

/* ---------- Tablet & Medium Screens (Max 1080px) ---------- */
@media (max-width: 1080px) {
  .hero-mega-headline { font-size: clamp(52px, 10vw, 96px); }
  .picks-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .card-3catalog { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .card-4grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .tip-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .tip-grid.cols-3 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .map-stage-wrapper { grid-template-columns: 1fr; }
  .about-petpy-card { grid-template-columns: 1fr; padding: 36px 28px; }
  .eco-card { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
}

/* ---------- Mobile Phones & Small Tablets (Max 768px) ---------- */
@media (max-width: 768px) {
  /* Shell & Global Container */
  .shell .container, .container {
    padding: 0 18px;
  }
  .section-pad {
    padding: 24px 0 50px;
  }

  /* Top Navigation Bar */
  .topbar {
    padding: 10px 18px;
    height: 68px;
  }
  .brand-text {
    font-size: clamp(22px, 5.5vw, 28px);
  }
  .brand-mark {
    width: 36px;
    height: 36px;
  }
  .nav-links {
    display: none;
  }
  .nav-actions .btn-sm {
    padding: 7px 14px;
    font-size: 12px;
  }
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 20px;
  }

  /* Dropdown Mobile Navigation Menu */
  body.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 14px;
    right: 14px;
    background: #FFFFFF;
    border-radius: 22px;
    padding: 16px;
    box-shadow: 0 20px 50px rgba(16, 42, 74, 0.22);
    border: 2px solid var(--line);
    z-index: 1000;
    gap: 6px;
  }
  body.nav-open .nav-links a {
    padding: 11px 16px;
    font-size: 14.5px;
    border-radius: 12px;
    text-align: left;
    display: block;
    width: 100%;
  }
  body.nav-open .nav-links a.active {
    background: var(--blueberry);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(13, 85, 173, 0.3);
  }
  body.nav-open .nav-cta-mobile {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
  body.nav-open .nav-cta-mobile a {
    text-align: center;
    background: var(--ocean-ice);
    color: var(--blueberry);
    font-weight: 700;
    border-radius: 12px;
    padding: 10px 16px;
  }

  /* Page Hero on All Inner Pages (100% Fixed Clipping) */
  .page-hero {
    margin-top: -68px;
    padding: 96px 18px 28px;
  }
  .page-hero .kicker {
    font-size: 11.5px;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
  }
  .page-hero h1 {
    font-size: clamp(26px, 7vw, 38px);
    line-height: 1.1;
    word-break: break-word;
  }
  .page-hero p {
    font-size: 14px;
    line-height: 1.5;
    margin-top: 6px;
  }

  /* Hero Section (Homepage) */
  .hero-pupjoy-wrap {
    padding: 16px 18px 36px;
  }
  .hero-mega-headline {
    font-size: clamp(48px, 14vw, 76px);
    line-height: 0.92;
    margin: 6px 0 12px;
  }
  .hero-subhead-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
  }
  .hero-tagline-text {
    font-size: 12.5px;
    line-height: 1.4;
  }
  .hero-showcase-card {
    min-height: 380px;
    padding: 20px 12px 0;
    border-radius: 26px;
  }
  .floating-cute-badge {
    display: none;
  }
  .hero-circle-cta {
    width: 76px;
    height: 76px;
    font-size: 11px;
    left: 14px;
    bottom: 14px;
  }
  .hero-species-cutout img {
    max-height: clamp(140px, 32vw, 220px);
  }
  .hero-species-cutout .cutout-caption {
    font-size: clamp(12px, 3vw, 16px);
  }
  .hero-bottom-actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
  }
  .hero-bottom-actions .btn {
    width: 100%;
    text-align: center;
  }

  /* Section Titles & Headers */
  .section-headline-wrap {
    margin-bottom: 24px;
  }
  .section-mega-title {
    font-size: clamp(28px, 7.5vw, 42px);
    line-height: 1.05;
  }
  .section-subtitle {
    font-size: 12.5px;
  }

  /* Grid Stack to 1 Column on Mobile */
  .picks-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .card-3catalog {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .card-4grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .tip-grid,
  .tip-grid.cols-3 {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .edu-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .petpy-stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Ecosystem Cards on Mobile */
  .eco-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
    border-radius: 22px;
  }
  .eco-card-media {
    aspect-ratio: 16 / 10;
    border-radius: 16px;
  }
  .eco-title {
    font-size: 26px;
  }
  .eco-desc {
    font-size: 14px;
    line-height: 1.55;
  }
  .eco-location-chip {
    font-size: 12.5px;
    padding: 8px 12px;
  }
  .eco-btn {
    width: 100%;
    text-align: center;
  }

  /* Education Cards on Mobile */
  .edu-card {
    border-radius: 22px;
  }
  .edu-card-body {
    padding: 18px 18px 12px;
  }
  .edu-card-title {
    font-size: 21px;
    line-height: 1.2;
    margin-bottom: 8px;
  }
  .edu-card-summary {
    font-size: 13.5px;
    line-height: 1.5;
    -webkit-line-clamp: 3;
  }
  .edu-card-foot {
    padding: 12px 18px 14px;
    font-size: 12.5px;
  }
  .edu-single-article {
    padding: 24px 18px;
    border-radius: 22px;
  }
  .edu-article-title {
    font-size: 26px;
  }
  .edu-article-content {
    font-size: 15px;
    line-height: 1.7;
  }

  /* Filter Bar on Mobile */
  .filter-bar .container {
    padding: 0 18px;
  }
  .filter-bar .form-row {
    flex-direction: column;
    gap: 10px;
  }
  .filter-bar .input,
  .filter-bar .select,
  .filter-bar .btn {
    width: 100%;
    min-width: 0;
  }

  /* Responsive Data Table (Detail Spesies & Dashboard) */
  table.data-table,
  table.data-table tbody,
  table.data-table tr,
  table.data-table th,
  table.data-table td {
    display: block;
    width: 100%;
  }
  table.data-table th {
    width: 100%;
    padding: 10px 16px 2px;
    background: transparent;
    color: var(--bluebird);
    font-size: 11px;
    border-bottom: none;
  }
  table.data-table td {
    padding: 2px 16px 12px;
    border-bottom: 1px solid var(--line);
    font-size: 13.5px;
  }
  table.data-table tr:last-child td {
    border-bottom: none;
  }

  /* Interactive Map on Mobile */
  .map-panel {
    padding: 28px 18px;
    border-radius: 26px;
  }
  .map-head h2 {
    font-size: 30px;
  }
  .map-stage-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .map-indonesia-frame {
    height: 300px;
    border-radius: 20px;
  }
  .map-spotlight-card {
    border-radius: 22px;
    padding: 18px;
  }

  /* Petpy About & Stats Card */
  .about-petpy-card {
    padding: 28px 18px;
    border-radius: 26px;
  }
  .stat-block b {
    font-size: 38px;
  }
  .cute-stickers-row {
    justify-content: center;
  }

  /* Tips Panel on Home */
  .tips-panel {
    padding: 28px 18px;
    border-radius: 26px;
  }
  .tips-head h2 {
    font-size: 30px;
  }

  /* Quote Banner */
  .quote {
    padding: 36px 20px;
    border-radius: 24px;
    min-height: 260px;
    margin: 40px auto 20px;
  }
  .quote-mark {
    font-size: 56px;
    margin-bottom: 12px;
  }
  .quote-body h2 {
    font-size: clamp(24px, 6vw, 36px);
    margin-bottom: 18px;
  }

  /* Footer */
  .site-footer {
    padding: 44px 18px 28px;
    margin-top: 50px;
  }
  .footer-grid {
    flex-direction: column;
    gap: 28px;
  }
  .scroll-top-btn {
    right: 18px;
  }
}

/* ---------- Very Small Phones (Max 480px) ---------- */
@media (max-width: 480px) {
  .topbar {
    padding: 8px 14px;
  }
  .brand-text {
    font-size: 21px;
  }
  .page-hero h1 {
    font-size: 28px;
  }
  .hero-mega-headline {
    font-size: 48px;
  }
  .pick-portrait-frame {
    width: 110px;
    height: 110px;
  }
}
