/* Grivale Eco Camp Tours and Safari - site stylesheet */

:root {
  --green-950: #0e2018;
  --green-900: #14301f;
  --green-800: #1a3c27;
  --green-700: #235233;
  --green-600: #2f6b4a;
  --green-500: #3f8a5e;
  --gold-500: #d8a94d;
  --gold-600: #c4933a;
  --cream-100: #fbf6ec;
  --cream-200: #f4ecda;
  --text-dark: #1c2620;
  --text-muted: #55645b;
  --text-light: #fdfbf5;
  --radius-md: 10px;
  --radius-lg: 18px;
  --shadow-card: 0 10px 30px -12px rgba(20, 48, 31, 0.25);
  --max-width: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  color: var(--text-dark);
  background: var(--cream-100);
  line-height: 1.55;
}

h1, h2, h3, h4 { font-family: Georgia, "Times New Roman", serif; margin: 0 0 .5rem; color: var(--green-950); line-height: 1.2; }
p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold-500); color: var(--green-950); }
.btn-gold:hover { background: var(--gold-600); box-shadow: 0 10px 20px -8px rgba(216,169,77,.6); }
.btn-outline { border-color: rgba(253,251,245,.7); color: var(--text-light); background: transparent; }
.btn-outline:hover { background: rgba(253,251,245,.12); }
.btn-green { background: var(--green-700); color: var(--text-light); }
.btn-green:hover { background: var(--green-800); }
.btn-sm { padding: 9px 18px; font-size: .85rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--green-950);
  color: rgba(253,251,245,.85);
  font-size: .8rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar-left, .topbar-social { display: flex; align-items: center; gap: 18px; }
.topbar a:hover { color: var(--gold-500); }
.topbar-tagline { letter-spacing: .04em; }

/* ---------- Main nav ---------- */
.navbar {
  background: var(--cream-100);
  border-bottom: 1px solid rgba(20,48,31,.08);
  position: sticky;
  top: 0;
  z-index: 50;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.navbar-row-top { padding-top: 14px; padding-bottom: 12px; }
.navbar-row-nav {
  padding-top: 10px;
  padding-bottom: 10px;
  border-top: 1px solid rgba(20,48,31,.08);
  justify-content: center;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; white-space: nowrap; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--green-700); color: var(--text-light);
  display: flex; align-items: center; justify-content: center;
  font-family: Georgia, serif; font-weight: 700; font-size: 1.2rem;
  flex-shrink: 0;
}
.brand-mark-img { width: 42px; height: 45px; flex-shrink: 0; object-fit: contain; }
.brand-text { white-space: nowrap; }
.brand-text .brand-name { font-family: Georgia, serif; font-weight: 700; font-size: 1.05rem; letter-spacing: .03em; color: var(--green-950); white-space: nowrap; }
.brand-text .brand-tag { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green-700); white-space: nowrap; display: block; margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; justify-content: center; }
.nav-links a { font-size: .93rem; font-weight: 600; color: var(--text-dark); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.is-active { color: var(--green-700); border-color: var(--gold-500); }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-auth-link { font-size: .88rem; font-weight: 600; color: var(--text-dark); white-space: nowrap; }
.nav-auth-link:hover { color: var(--green-700); }
.account-menu { position: relative; }
.account-link { display: flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; color: var(--text-dark); }
.account-link:hover { color: var(--green-700); }
.account-dropdown {
  display: none; position: absolute; top: calc(100% + 10px); right: 0; z-index: 60;
  background: var(--text-light); border-radius: var(--radius-md); box-shadow: var(--shadow-card);
  min-width: 170px; padding: 8px;
}
.account-menu:hover .account-dropdown, .account-menu:focus-within .account-dropdown { display: block; }
.account-dropdown a, .account-dropdown button {
  display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 6px;
  font-size: .88rem; color: var(--text-dark); background: none; border: none; cursor: pointer;
}
.account-dropdown a:hover, .account-dropdown button:hover { background: var(--cream-200); }
.account-dropdown form { margin: 0; }
.nav-toggle {
  display: none;
  background: none; border: none; padding: 8px;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--green-950); display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--text-light); overflow: hidden; min-height: 88vh; display: flex; align-items: flex-end; }
/* Contained to the hero only: scrolls away normally with the page like any other section. */
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media img.kenburns {
  animation: heroKenBurns 26s ease-in-out infinite alternate;
  transform-origin: 55% 62%;
}
@keyframes heroKenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media img.kenburns { animation: none; }
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(14,32,24,.55) 0%, rgba(14,32,24,.35) 40%, rgba(14,32,24,.85) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 90px 0 40px; width: 100%; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold-500); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem;
  margin-bottom: 14px;
}
.hero h1 { color: var(--text-light); font-size: clamp(2rem, 4.4vw, 3.4rem); max-width: 760px; margin-bottom: 18px; }
.hero-sub { max-width: 620px; font-size: 1.05rem; color: rgba(253,251,245,.92); margin-bottom: 28px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-watch { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; }
.hero-watch .play-circle {
  width: 46px; height: 46px; border-radius: 50%; background: rgba(253,251,245,.16);
  border: 1px solid rgba(253,251,245,.5); display: flex; align-items: center; justify-content: center;
}
.hero-badges {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: rgba(14,32,24,.55); backdrop-filter: blur(4px);
  border-top: 1px solid rgba(253,251,245,.15);
}
.hero-badge {
  display: flex; align-items: center; gap: 12px; padding: 18px 22px;
  border-right: 1px solid rgba(253,251,245,.12);
  font-size: .85rem; font-weight: 600;
}
.hero-badge:last-child { border-right: none; }
.hero-badge .icon { font-size: 1.3rem; }

/* ---------- Sections ---------- */
.section { padding: 74px 0; }
.section-alt { background: var(--cream-200); }
.section-dark { background: var(--green-950); color: var(--text-light); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--text-light); }
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.kicker {
  display: inline-block; color: var(--gold-600); font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; font-size: .78rem; margin-bottom: 10px;
}
.section-dark .kicker { color: var(--gold-500); }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.section-head p { color: var(--text-muted); }
.section-dark .section-head p { color: rgba(253,251,245,.8); }
.section-foot { text-align: center; margin-top: 40px; }

/* ---------- Offer cards ---------- */
.offer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.offer-card {
  background: var(--text-light); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-card); display: flex; flex-direction: column;
}
.offer-card img { height: 150px; object-fit: cover; }
.offer-card .offer-body { padding: 20px 22px 24px; position: relative; }
.offer-icon {
  width: 46px; height: 46px; border-radius: 50%; background: var(--green-700); color: var(--text-light);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
  margin-top: -42px; margin-bottom: 12px; border: 4px solid var(--text-light);
}
.offer-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.offer-card p { color: var(--text-muted); font-size: .92rem; margin-bottom: 14px; }
.offer-card .learn { color: var(--green-700); font-weight: 700; font-size: .88rem; }
.offer-card .learn:hover { color: var(--gold-600); }

/* ---------- Destination tiles ---------- */
.dest-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.dest-tile {
  position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/3;
  color: var(--text-light); display: flex; align-items: flex-end; padding: 14px;
  box-shadow: var(--shadow-card);
}
.dest-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.dest-tile .fallback-bg { position: absolute; inset: 0; z-index: 0; }
.dest-tile::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(14,32,24,0) 40%, rgba(14,32,24,.85) 100%);
}
.dest-tile .dest-name { position: relative; z-index: 2; font-weight: 700; font-size: .95rem; }
.dest-tile .dest-cat { position: relative; z-index: 2; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-500); }

/* fallback gradients for tiles/cards without real photos */
.tone-1 { background: linear-gradient(135deg, #2f6b4a, #14301f); }
.tone-2 { background: linear-gradient(135deg, #3f8a5e, #1a3c27); }
.tone-3 { background: linear-gradient(135deg, #c4933a, #6b4b1c); }
.tone-4 { background: linear-gradient(135deg, #235233, #0e2018); }
.tone-5 { background: linear-gradient(135deg, #0c4e86, #08355a); }

/* ---------- Package / room cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.pkg-card, .room-card {
  background: var(--text-light); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
}
.pkg-card .thumb, .room-card .thumb { height: 170px; position: relative; overflow: hidden; }
.pkg-card .thumb img, .room-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.pkg-card .body, .room-card .body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.pkg-card h3, .room-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.pkg-meta { font-size: .8rem; color: var(--text-muted); margin-bottom: 10px; }
.price-line { font-weight: 700; color: var(--green-700); margin: 10px 0 14px; }
.price-line .from { font-weight: 400; color: var(--text-muted); font-size: .8rem; }
.pkg-card .view-link, .room-card .view-link { margin-top: auto; font-weight: 700; color: var(--green-700); font-size: .88rem; }

/* ---------- Eco camp section ---------- */
.camp-block { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.camp-photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.camp-photos img { border-radius: var(--radius-md); height: 140px; object-fit: cover; }
.camp-photos img:first-child { grid-column: 1 / -1; height: 200px; }
.room-price-row { display: flex; gap: 16px; margin: 24px 0; flex-wrap: wrap; }
.room-price-pill {
  background: rgba(253,251,245,.08); border: 1px solid rgba(253,251,245,.18);
  border-radius: var(--radius-md); padding: 14px 18px; flex: 1; min-width: 150px;
}
.room-price-pill .label { font-size: .78rem; color: rgba(253,251,245,.7); margin-bottom: 4px; }
.room-price-pill .amount { font-weight: 700; color: var(--gold-500); font-size: 1.05rem; }

/* ---------- Experience tiles ---------- */
.exp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.exp-tile { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 3/4; box-shadow: var(--shadow-card); }
.exp-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.exp-tile .fallback-bg { position: absolute; inset: 0; }
.exp-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,32,24,0) 45%, rgba(14,32,24,.9) 100%); }
.exp-tile .exp-label { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; color: var(--text-light); font-weight: 700; }

/* ---------- Events / hall uses ---------- */
.hall-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.hall-card { background: rgba(253,251,245,.06); border: 1px solid rgba(253,251,245,.14); border-radius: var(--radius-md); padding: 20px; }
.hall-card h4 { font-size: 1rem; margin-bottom: 8px; }
.hall-card p { color: rgba(253,251,245,.78); font-size: .88rem; margin-bottom: 0; }

/* ---------- Plan trip search ---------- */
.plan-trip {
  background: var(--text-light); border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
  padding: 32px 34px; position: relative; z-index: 5;
}
.plan-trip h3 { margin-bottom: 4px; }
.plan-trip .sub { color: var(--text-muted); margin-bottom: 22px; font-size: .92rem; }
.plan-trip-form { display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 16px; align-items: end; }
.field label { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); margin-bottom: 6px; }
.field select, .field input {
  width: 100%; padding: 11px 12px; border-radius: var(--radius-md); border: 1px solid rgba(20,48,31,.18);
  font-size: .92rem; background: var(--cream-100); color: var(--text-dark);
}
.field select:focus, .field input:focus { outline: 2px solid var(--green-500); }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial-card { background: var(--text-light); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: 26px; }
.testimonial-stars { color: var(--gold-500); margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-quote { font-style: italic; color: var(--text-dark); margin-bottom: 18px; }
.testimonial-person { display: flex; align-items: center; gap: 12px; }
.avatar-circle {
  width: 44px; height: 44px; border-radius: 50%; background: var(--green-700); color: var(--text-light);
  display: flex; align-items: center; justify-content: center; font-weight: 700; overflow: hidden; flex-shrink: 0;
}
.avatar-circle img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-person .name { font-weight: 700; font-size: .92rem; }
.testimonial-person .loc { font-size: .8rem; color: var(--text-muted); }

/* ---------- Newsletter strip ---------- */
.newsletter-strip { background: var(--green-800); color: var(--text-light); padding: 34px 0; }
.newsletter-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input { padding: 12px 16px; border-radius: 999px; border: none; min-width: 260px; }

/* ---------- Footer ---------- */
.footer { background: var(--green-950); color: rgba(253,251,245,.85); padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer h4 { color: var(--text-light); font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer ul li { margin-bottom: 10px; font-size: .9rem; }
.footer a:hover { color: var(--gold-500); }
.footer-brand .brand-name { color: var(--text-light); }
.footer-brand p { color: rgba(253,251,245,.65); font-size: .88rem; margin-top: 10px; }
.social-row { display: flex; gap: 10px; margin-top: 14px; }
.social-row a {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(253,251,245,.3);
  display: flex; align-items: center; justify-content: center; font-size: .85rem; font-weight: 700;
}
.footer-bottom { border-top: 1px solid rgba(253,251,245,.14); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; color: rgba(253,251,245,.6); }

/* ---------- Alerts / forms ---------- */
.alert { padding: 14px 18px; border-radius: var(--radius-md); margin-bottom: 22px; font-size: .92rem; }
.alert-success { background: #e4f3e9; color: #1a3c27; border: 1px solid #bfe3cc; }
.alert-error { background: #fdecec; color: #7a2020; border: 1px solid #f3c2c2; }
.field-error { color: #b23c3c; font-size: .78rem; margin-top: 4px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.page-form {
  background: var(--text-light); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: 30px;
}
textarea { width: 100%; padding: 11px 12px; border-radius: var(--radius-md); border: 1px solid rgba(20,48,31,.18); font-family: inherit; font-size: .92rem; }

/* ---------- Page header (interior pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--green-900), var(--green-950));
  color: var(--text-light); padding: 70px 0 50px; text-align: center;
}
.page-hero h1 { color: var(--text-light); }
.page-hero p { color: rgba(253,251,245,.82); max-width: 640px; margin: 0 auto; }
.breadcrumb { font-size: .82rem; color: var(--gold-500); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .08em; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-grid .g-item { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 1/1; position: relative; }
.gallery-grid .g-item img, .gallery-grid .g-item video { width: 100%; height: 100%; object-fit: cover; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.map-embed iframe { width: 100%; height: 360px; border: 0; display: block; }

.facility-list li { position: relative; padding-left: 22px; margin-bottom: 8px; font-size: .92rem; color: var(--text-muted); }
.facility-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green-600); font-weight: 700; }

.detail-hero { position: relative; height: 320px; }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.detail-hero .fallback-bg { width: 100%; height: 100%; }

/* ---------- Video modal ---------- */
.video-modal {
  position: fixed; inset: 0; background: rgba(14,32,24,.9); z-index: 100;
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.video-modal.is-open { display: flex; }
.video-modal .modal-inner { width: 100%; max-width: 900px; aspect-ratio: 16/9; position: relative; }
.video-modal video { width: 100%; height: 100%; border-radius: var(--radius-md); background: #000; }
.video-modal .modal-close {
  position: absolute; top: -42px; right: 0; background: none; border: none; color: var(--text-light);
  font-size: 1.6rem; font-weight: 700;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .offer-grid, .card-grid, .card-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .dest-grid { grid-template-columns: repeat(3, 1fr); }
  .exp-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-badges { grid-template-columns: repeat(2, 1fr); }
  .camp-block { grid-template-columns: 1fr; }
  .hall-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .plan-trip-form { grid-template-columns: 1fr 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .navbar-row-nav { padding: 0; border-top: none; }
  .navbar-row-top { flex-wrap: wrap; row-gap: 10px; }
  .brand-mark-img { width: 34px; height: 36px; }
  .brand-text .brand-name { font-size: .82rem; }
  .brand-text .brand-tag { display: none; }
  .navbar.is-open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream-100); padding: 18px 20px; gap: 14px; box-shadow: var(--shadow-card);
  }
  .offer-grid, .card-grid, .card-grid.cols-3, .dest-grid, .exp-grid, .hall-grid, .footer-grid, .plan-trip-form, .gallery-grid, .form-grid {
    grid-template-columns: 1fr;
  }
  .hero-badges { grid-template-columns: 1fr 1fr; }
  .hero-badge { border-right: none; border-bottom: 1px solid rgba(253,251,245,.12); }
  .plan-trip { margin-top: 30px; padding: 24px; }
  .camp-photos img:first-child { height: 160px; }
  .newsletter-strip .container { flex-direction: column; align-items: flex-start; }
}

/* ---------- Floating WhatsApp button ---------- */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px -6px rgba(0,0,0,.4);
  transition: transform .15s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ---------- Admin dashboard ---------- */
:root {
  --dash-navy: #0d3b66;
  --dash-blue: #2c74ae;
  --dash-bg: #f7f9fc;
}
.admin-body { background: var(--dash-bg); min-height: 100vh; }
.admin-topbar {
  background: var(--green-950); color: var(--text-light);
  padding: 16px 0; display: flex; align-items: center; justify-content: space-between;
}
.admin-topbar .container { display: flex; align-items: center; justify-content: space-between; }
.admin-topbar a { color: rgba(253,251,245,.8); }
.admin-topbar a:hover { color: var(--gold-500); }

.dash-hero {
  background: linear-gradient(135deg, #ffffff 0%, #eaf3fc 100%);
  padding: 44px 0 36px;
}
.dash-hero .kicker { color: var(--dash-blue); letter-spacing: .14em; }
.dash-hero h1 { color: var(--dash-navy); font-size: 2.2rem; margin: 2px 0 0; }

.admin-main { padding: 32px 0 60px; }
.stat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-bottom: 34px; }
.stat-card {
  background: var(--text-light); border: 1px solid #e7edf5; border-radius: var(--radius-md);
  padding: 18px 18px 16px;
}
.stat-icon {
  width: 38px; height: 38px; border-radius: 10px; background: var(--green-600); color: var(--text-light);
  display: flex; align-items: center; justify-content: center; font-size: 1.05rem; margin-bottom: 14px;
}
.stat-card .stat-value { font-size: 1.5rem; font-weight: 800; color: var(--dash-navy); line-height: 1.1; }
.stat-card .stat-label { font-size: .82rem; color: var(--text-muted); margin-top: 4px; }

.admin-panel { background: var(--text-light); border: 1px solid #e7edf5; border-radius: var(--radius-md); padding: 22px 24px; margin-bottom: 24px; }
.admin-panel h2 { font-size: 1.05rem; margin-bottom: 16px; color: var(--dash-navy); }
.dash-cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dash-empty { color: var(--text-muted); font-size: .9rem; }
.dash-list-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #eef2f7; font-size: .88rem; }
.dash-list-item:last-child { border-bottom: none; }
.dash-list-item .name { font-weight: 700; color: var(--text-dark); }
.dash-list-item .meta { color: var(--text-muted); font-size: .8rem; }

.admin-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.admin-table th { text-align: left; color: var(--text-muted); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid #e7edf5; font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; }
.admin-table td { padding: 10px; border-bottom: 1px solid #f1f4f8; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; }
.badge-pending { background: #fdf2d8; color: #8a6412; }
.badge-paid, .badge-confirmed, .badge-success { background: #e4f3e9; color: #1a3c27; }
.badge-failed, .badge-cancelled { background: #fdecec; color: #7a2020; }
.badge-new { background: #e7f1fb; color: #0c4e86; }
.badge-contacted { background: #fdf2d8; color: #8a6412; }
.badge-closed { background: #e9e9e9; color: #444; }
.empty-row td { text-align: center; color: var(--text-muted); padding: 18px; }
.status-form { display: inline-flex; gap: 6px; }
.status-form select { padding: 6px 8px; border-radius: 6px; border: 1px solid #d7e0ea; font-size: .8rem; }
.status-form button { padding: 6px 10px; border-radius: 6px; border: none; background: var(--dash-blue); color: var(--text-light); font-size: .78rem; cursor: pointer; }

@media (max-width: 1100px) {
  .stat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-cols-2 { grid-template-columns: 1fr; }
  .admin-table { display: block; overflow-x: auto; white-space: nowrap; }
}
