/* ==========================================================================
   selectlastashradr.lifestyle - WILDLIFE EXPLORATION PORTAL STYLESHEET
   Strict Color Palette (NO BLUE):
   Emerald Green: #059669 / #10b981 / #047857 / #064e3b
   Sunset Orange: #f97316 / #ea580c / #c2410c
   Golden Yellow: #eab308 / #facc15 / #ca8a04
   Coral Red:     #f43f5e / #e11d48 / #be123c
   Charcoal Black:#121316 / #1c1d22 / #262730 / #343741
   Warm White:    #ffffff / #fafaf9 / #f5f5f4 / #e7e5e4
   ========================================================================== */

:root {
  --emerald-900: #064e3b;
  --emerald-800: #065f46;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-100: #d1fae5;
  --emerald-50:  #ecfdf5;

  --orange-700:  #c2410c;
  --orange-600:  #ea580c;
  --orange-500:  #f97316;
  --orange-100:  #ffedd5;

  --yellow-600:  #ca8a04;
  --yellow-500:  #eab308;
  --yellow-400:  #facc15;
  --yellow-100:  #fef9c3;

  --coral-700:   #be123c;
  --coral-600:   #e11d48;
  --coral-500:   #f43f5e;
  --coral-100:   #ffe4e6;

  --charcoal-950:#0c0d0e;
  --charcoal-900:#141518;
  --charcoal-800:#1f2126;
  --charcoal-700:#2d3037;
  --charcoal-600:#434752;
  --charcoal-400:#7a8190;
  --charcoal-200:#c5cad4;
  --charcoal-100:#e4e7ed;

  --warm-white:  #fafaf9;
  --surface-alt: #f5f4f0;
  --white:       #ffffff;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 6px rgba(20, 21, 24, 0.06);
  --shadow-md: 0 10px 25px -4px rgba(20, 21, 24, 0.1), 0 4px 10px -2px rgba(20, 21, 24, 0.05);
  --shadow-lg: 0 20px 35px -6px rgba(20, 21, 24, 0.16), 0 8px 16px -4px rgba(20, 21, 24, 0.08);

  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Cabinet Grotesk', 'Plus Jakarta Sans', system-ui, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--warm-white);
  color: var(--charcoal-900);
  font-family: var(--font-sans);
  line-height: 1.6;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--warm-white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================================
   SLIM, HIGH-PERFORMANCE UNSTUCK HEADER
   ========================================================================== */
.site-header {
  position: relative; /* strictly not sticky */
  width: 100%;
  background: var(--charcoal-950);
  border-bottom: 2px solid var(--emerald-600);
  z-index: 900;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 60px; /* Slim aesthetic */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-identity {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand-logo-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--emerald-500), var(--orange-500));
  border-radius: 8px;
  color: var(--white);
  flex-shrink: 0;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
}

.brand-text span {
  color: var(--emerald-400, #34d399);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.25rem;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--charcoal-200);
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--yellow-400);
  background-color: rgba(255, 255, 255, 0.06);
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, var(--orange-600), var(--orange-500));
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.35);
}

.header-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.5);
  color: var(--white);
}

/* Mobile Toggle */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--charcoal-700);
  color: var(--white);
  padding: 0.4rem;
  border-radius: 6px;
  cursor: pointer;
}

.mobile-nav-panel {
  display: none;
  background: var(--charcoal-900);
  border-top: 1px solid var(--charcoal-800);
  padding: 1rem;
}

.mobile-nav-panel.open {
  display: block;
}

.mobile-nav-panel ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-nav-panel .nav-link {
  display: block;
  font-size: 1rem;
  padding: 0.5rem 0.75rem;
}

@media (max-width: 860px) {
  .primary-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* ==========================================================================
   PAGE CONTAINER & LAYOUT
   ========================================================================== */
.main-wrapper {
  flex: 1 0 auto;
  width: 100%;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-padding {
  padding: 4rem 0;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.badge-tag {
  display: inline-block;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.badge-emerald {
  background: var(--emerald-100);
  color: var(--emerald-800);
  border: 1px solid rgba(5, 150, 105, 0.2);
}

.badge-orange {
  background: var(--orange-100);
  color: var(--orange-700);
  border: 1px solid rgba(234, 88, 12, 0.25);
}

.badge-yellow {
  background: var(--yellow-100);
  color: var(--yellow-600);
  border: 1px solid rgba(202, 138, 4, 0.25);
}

.badge-coral {
  background: var(--coral-100);
  color: var(--coral-700);
  border: 1px solid rgba(225, 29, 72, 0.25);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--charcoal-900);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--charcoal-600);
  line-height: 1.6;
}

/* ==========================================================================
   BUTTONS & ACCENTS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-emerald {
  background-color: var(--emerald-600);
  color: var(--white);
}

.btn-emerald:hover {
  background-color: var(--emerald-700);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.4);
}

.btn-orange {
  background-color: var(--orange-600);
  color: var(--white);
}

.btn-orange:hover {
  background-color: var(--orange-700);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.4);
}

.btn-outline-emerald {
  border: 2px solid var(--emerald-600);
  color: var(--emerald-700);
  background: transparent;
}

.btn-outline-emerald:hover {
  background: var(--emerald-50);
}

.btn-outline-white {
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--charcoal-900);
}

/* ==========================================================================
   CARDS & GRIDS
   ========================================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid-3, .grid-2, .grid-4 {
    grid-template-columns: 1fr;
  }
}

.wild-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(38, 39, 48, 0.08);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.wild-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(5, 150, 105, 0.3);
}

.card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: var(--charcoal-800);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.wild-card:hover .card-media img {
  transform: scale(1.06);
}

.card-floating-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(18, 19, 22, 0.85);
  backdrop-filter: blur(6px);
  color: var(--white);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  line-height: 1.3;
  color: var(--charcoal-900);
}

.card-excerpt {
  color: var(--charcoal-600);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.card-footer {
  padding-top: 1rem;
  border-top: 1px solid var(--charcoal-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   STAT COUNTER COMPONENT
   ========================================================================== */
.stats-banner {
  background: linear-gradient(135deg, var(--charcoal-950) 0%, var(--emerald-900) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  margin: 3rem 0;
  box-shadow: var(--shadow-lg);
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--yellow-400);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--emerald-100);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   DAILY FACT CALLOUT
   ========================================================================== */
.daily-fact-box {
  background: linear-gradient(to right, #fff7ed, #ecfdf5);
  border-left: 5px solid var(--orange-500);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.daily-fact-icon {
  background: var(--orange-500);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* ==========================================================================
   LEGAL PAGES & ARTICLE CONTENT
   ========================================================================== */
.article-header {
  background: linear-gradient(rgba(18, 19, 22, 0.75), rgba(18, 19, 22, 0.88)), url('images/photo-1546182990-dffeafbe841d.png') center/cover no-repeat;
  color: var(--white);
  padding: 5rem 1rem 4rem;
  text-align: center;
}

.article-header h1 {
  font-size: 2.75rem;
  font-weight: 800;
  max-width: 900px;
  margin: 0 auto 1rem;
  line-height: 1.2;
}

.article-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--emerald-100);
}

.article-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--charcoal-800);
}

.article-body h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--charcoal-900);
  margin: 2.2rem 0 1rem;
}

.article-body h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--charcoal-900);
  margin: 1.75rem 0 0.75rem;
}

.article-body p {
  margin-bottom: 1.5rem;
}

.article-body ul, .article-body ol {
  margin: 1.25rem 0 1.75rem 1.75rem;
}

.article-body li {
  margin-bottom: 0.6rem;
}

.highlight-box {
  background: var(--surface-alt);
  border-left: 4px solid var(--emerald-600);
  padding: 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 2rem 0;
}

/* ==========================================================================
   CONTACT FORM
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 3rem 0;
}

@media (max-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--charcoal-800);
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--charcoal-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, outline 0.2s ease;
  background-color: var(--white);
  color: var(--charcoal-900);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--emerald-600);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

/* ==========================================================================
   COOKIE CONSENT POPUP
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 620px;
  background: var(--charcoal-950);
  border: 1.5px solid var(--emerald-600);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  display: none;
  color: var(--white);
  animation: slideUp 0.35s ease-out forwards;
}

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

.cookie-banner.active {
  display: block;
}

.cookie-content h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--yellow-400);
}

.cookie-content p {
  font-size: 0.88rem;
  color: var(--charcoal-200);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.cookie-content a {
  color: var(--emerald-400, #34d399);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   MANDATORY UNIFIED FOOTER (RENDERED ON EVERY PAGE)
   ========================================================================== */
.site-footer {
  background-color: var(--charcoal-950);
  color: var(--charcoal-200);
  border-top: 4px solid var(--emerald-600);
  padding: 4rem 0 1.5rem;
  margin-top: auto;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--charcoal-800);
}

@media (max-width: 900px) {
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 580px) {
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--orange-500);
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav-list a {
  color: var(--charcoal-400);
  font-size: 0.88rem;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-nav-list a:hover {
  color: var(--emerald-400, #34d399);
  transform: translateX(4px);
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--charcoal-400);
  margin-top: 0.8rem;
  line-height: 1.6;
}

.footer-address-box {
  background: var(--charcoal-900);
  border: 1px solid var(--charcoal-800);
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--charcoal-200);
  line-height: 1.6;
  margin-top: 0.8rem;
}

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--charcoal-400);
}

.legal-copy-highlight {
  color: var(--charcoal-200);
  font-weight: 500;
}