/* =========================================================
   SPARO / SPARROW SAVER — SHARED NAVIGATION, LAYOUT & CMS UI
   ========================================================= */

:root {
  --sparo-deep: #0d160a;
  --sparo-forest: #1e4d10;
  --sparo-leaf: #3a7a28;
  --sparo-sage: #9fc890;
  --sparo-gold: #e8b820;
  --sparo-gold-bright: #ffd84d;
  --sparo-cream: #f6f3eb;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
}

#work > *,
.info-panels > *,
.contact-grid > *,
.info-card .content {
  min-width: 0;
}

.info-card .content a,
.sparo-footer-contact a,
.sparo-footer-contact span {
  overflow-wrap: anywhere;
}

.inn-links-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)) !important;
}

.sparo-skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 3000;
  background: linear-gradient(135deg, #ffd84d 0%, #e8b820 100%);
  color: #0d160a;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0.6rem 1.1rem;
  border-radius: 9999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: top 0.15s ease;
}

.sparo-skip-link:focus {
  top: 0.75rem;
}

.sparo-header a:focus-visible,
.sparo-header button:focus-visible,
.sparo-footer a:focus-visible,
.sparo-footer button:focus-visible,
.sparo-cms-btn:focus-visible,
.sparo-cms-ubtn:focus-visible,
.sparo-yt-facade:focus-visible,
.sparo-explore-card:focus-visible,
.gl-item:focus-visible,
.aw-card:focus-visible,
.inn-card:focus-visible,
.nt-card:focus-visible,
.gitem:focus-visible {
  outline: 2px solid var(--sparo-gold-bright);
  outline-offset: 2px;
}

/* Override Home's #hero top padding now that sticky header is above it */
#hero {
  padding-top: 2.5rem !important;
  min-height: calc(100vh - 66px) !important;
}

/* =========================================================
   RESPONSIVE WIDENING & MOBILE POLISH ACROSS PAGES
   ========================================================= */
.gl-grid,
.gl-vid-grid,
.aw-grid,
.inn-links-grid,
.inn-vid-grid,
.inn-grid,
.nt-timeline-wrap,
.page-body,
.rr-stats-grid,
#rr-about .rr-body {
  max-width: min(94vw, 88rem) !important;
  margin-left: auto;
  margin-right: auto;
}

#rr-about,
#rr-pubs,
#rr-stats,
#gl-images,
#gl-videos,
#aw-section,
#inn-online,
#inn-videos,
#inn-clips,
#inn-donate,
#nt-timeline,
#nt-donate {
  padding-left: clamp(1rem, 3vw, 3rem) !important;
  padding-right: clamp(1rem, 3vw, 3rem) !important;
}

@media (max-width: 640px) {
  .page-body {
    padding: 1.5rem 1rem 3rem !important;
  }
  body {
    padding-bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px));
  }
}

/* =========================================================
   STICKY TOP NAVIGATION BAR
   ========================================================= */
.sparo-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(13, 22, 10, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(232, 184, 32, 0.28);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
}

.sparo-header-inner {
  width: 100%;
  max-width: 94rem;
  margin: 0 auto;
  padding: 0 1rem;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.sparo-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex: 1 1 auto;
  min-width: 0;
}

@media (min-width: 960px) {
  .sparo-brand {
    flex: 0 1 auto;
  }
}

.sparo-brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--sparo-gold);
  object-fit: cover;
  background: #fff;
  flex-shrink: 0;
}

.sparo-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
  overflow: hidden;
}

.sparo-brand-title {
  font-family: "Cinzel", Georgia, serif;
  color: var(--sparo-gold-bright);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sparo-brand-sub {
  color: var(--sparo-sage);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sparo-nav-links {
  display: none;
  align-items: center;
  gap: 0.2rem;
}

@media (min-width: 960px) {
  .sparo-nav-links {
    display: flex;
  }
}

.sparo-nav-link {
  color: #cbe3be;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.45rem 0.75rem;
  border-radius: 9999px;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.sparo-nav-link:hover {
  color: #ffffff;
  background: rgba(106, 171, 92, 0.18);
}

.sparo-nav-link.active {
  color: var(--sparo-deep);
  background: linear-gradient(135deg, var(--sparo-gold-bright), var(--sparo-gold));
  box-shadow: 0 2px 10px rgba(232, 184, 32, 0.3);
}

.sparo-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.sparo-btn-wa,
.sparo-btn-donate {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.sparo-btn-wa {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(159, 200, 144, 0.35);
  color: #e6f4df;
}

.sparo-btn-wa:hover {
  background: rgba(37, 211, 102, 0.2);
  border-color: #25d366;
  color: #ffffff;
}

.sparo-btn-donate {
  background: linear-gradient(135deg, #ffd84d 0%, #e8b820 100%);
  color: #0d160a;
  box-shadow: 0 2px 10px rgba(232, 184, 32, 0.28);
}

.sparo-btn-donate:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

@media (max-width: 1120px) {
  .sparo-btn-wa span.sparo-phone-text {
    display: none;
  }
}

@media (max-width: 520px) {
  .sparo-header-inner .sparo-btn-wa {
    display: none;
  }
  .sparo-brand-sub {
    display: none;
  }
}

.sparo-hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: rgba(232, 184, 32, 0.14);
  border: 1.5px solid rgba(255, 216, 77, 0.65);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
}

@media (min-width: 960px) {
  .sparo-hamburger {
    display: none;
  }
}

@media (max-width: 640px) {
  .sparo-header-inner {
    height: 60px;
    padding: 0 0.75rem;
    gap: 0.5rem;
  }
  .sparo-brand {
    gap: 0.5rem;
  }
  .sparo-brand img {
    width: 34px;
    height: 34px;
  }
  .sparo-brand-title {
    font-size: clamp(0.76rem, 3.8vw, 0.92rem);
    letter-spacing: 0.04em;
  }
  .sparo-brand-sub {
    display: none;
  }
  .sparo-header-inner .sparo-btn-wa,
  .sparo-header-inner .sparo-btn-donate {
    display: none;
  }
  #hero {
    min-height: calc(100vh - 60px) !important;
  }
}

.sparo-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--sparo-gold-bright);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.sparo-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.sparo-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.sparo-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.sparo-mobile-drawer {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  background: #0d160a;
  border-top: 1px solid rgba(106, 171, 92, 0.22);
  padding: 0.9rem 1rem 1.25rem;
}

.sparo-mobile-drawer.open {
  display: flex;
}

.sparo-mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  color: #d9edd0;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.sparo-mobile-link.active {
  background: rgba(232, 184, 32, 0.16);
  border-color: rgba(232, 184, 32, 0.55);
  color: var(--sparo-gold-bright);
}

.sparo-mobile-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

/* Mobile Sticky Bottom Bar */
.sparo-mobile-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 990;
  background: rgba(13, 22, 10, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(232, 184, 32, 0.3);
  padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
  font-family: "DM Sans", system-ui, sans-serif;
}

@media (min-width: 641px) {
  .sparo-mobile-bar {
    display: none;
  }
}

.sparo-mbar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.6rem 0.4rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.sparo-mbar-btn.wa {
  background: rgba(37, 211, 102, 0.18);
  border-color: rgba(37, 211, 102, 0.45);
}

.sparo-mbar-btn.donate {
  background: linear-gradient(135deg, #ffd84d 0%, #e8b820 100%);
  color: #0d160a;
  border-color: transparent;
}

/* =========================================================
   SHARED FOOTER
   ========================================================= */
.sparo-footer {
  background: #0d160a;
  color: #cbe3be;
  text-align: left;
  border-top: 2px solid rgba(232, 184, 32, 0.35);
  padding: 3rem 1.25rem 2rem;
  font-family: "DM Sans", system-ui, sans-serif;
}

.sparo-footer-grid {
  max-width: min(94vw, 88rem);
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .sparo-footer-grid {
    grid-template-columns: 1.4fr 1fr 1.2fr;
  }
}

.sparo-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.sparo-footer-brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--sparo-gold);
  object-fit: cover;
}

.sparo-footer-brand h3 {
  font-family: "Cinzel", Georgia, serif;
  color: var(--sparo-gold-bright);
  font-size: 1.05rem;
  margin: 0;
}

.sparo-footer-desc {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.65;
  color: rgba(203, 227, 190, 0.8);
  max-width: 30rem;
}

.sparo-footer h4 {
  color: var(--sparo-gold-bright);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.85rem;
}

.sparo-footer-grid > div:nth-child(2) {
  background: rgba(232, 184, 32, 0.07);
  border: 1px solid rgba(232, 184, 32, 0.3);
  border-radius: 14px;
  padding: 1.15rem 1.2rem;
}

.sparo-footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.sparo-footer-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.52rem 0.72rem;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(159, 200, 144, 0.24);
  color: #eef8e8;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.15s ease;
}

.sparo-footer-links a::after {
  content: "→";
  color: var(--sparo-gold-bright);
  font-size: 0.82rem;
  opacity: 0.85;
}

.sparo-footer-links a:hover {
  background: rgba(232, 184, 32, 0.2);
  border-color: var(--sparo-gold-bright);
  color: var(--sparo-gold-bright);
  text-decoration: none;
  transform: translateY(-1px);
}

.sparo-footer-contact p {
  font-size: 0.86rem;
  line-height: 1.6;
  margin: 0 0 0.45rem;
}

.sparo-footer-contact a {
  color: var(--sparo-gold-bright);
  text-decoration: none;
  font-weight: 600;
}

.sparo-footer-bottom {
  max-width: min(94vw, 88rem);
  margin: 0 auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  font-size: 0.8rem;
  color: rgba(203, 227, 190, 0.72);
}

.sparo-editor-login-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(232, 184, 32, 0.45);
  color: var(--sparo-gold-bright);
  padding: 0.42rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.sparo-editor-login-btn:hover {
  background: rgba(232, 184, 32, 0.18);
  transform: translateY(-1px);
}

/* =========================================================
   CMS INLINE EDITOR TOOLBAR & MODAL
   ========================================================= */
.sparo-cms-editing [data-cms-editable="true"] {
  outline: 1px dashed rgba(232, 184, 32, 0.38);
  outline-offset: 2px;
  border-radius: 4px;
  cursor: text;
  transition: outline-color 0.15s ease, background 0.15s ease;
}

.sparo-cms-editing [data-cms-editable="true"]:hover {
  outline: 2px dashed rgba(232, 184, 32, 0.85);
}

.sparo-cms-editing [data-cms-editable="true"]:focus {
  outline: 2px solid #e8b820;
  background: rgba(255, 248, 225, 0.22);
}

.sparo-cms-bar {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  background: #0d160a;
  color: #ffffff;
  border: 1.5px solid #e8b820;
  border-radius: 9999px;
  padding: 0.5rem 0.9rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  max-width: 96vw;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.8rem;
}

@media (max-width: 640px) {
  .sparo-cms-bar {
    bottom: 4.5rem;
    border-radius: 16px;
    padding: 0.45rem 0.65rem;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .sparo-cms-bar::-webkit-scrollbar {
    display: none;
  }
  .sparo-cms-bar > * {
    flex-shrink: 0;
  }
  .sparo-cms-user {
    max-width: 115px;
    font-size: 0.72rem;
  }
}

.sparo-cms-user {
  color: var(--sparo-sage);
  font-weight: 600;
  padding: 0 0.35rem;
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sparo-cms-btn {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 0.4rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.sparo-cms-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.sparo-cms-btn.active {
  background: #2e7d32;
  border-color: #6aab5c;
}

.sparo-cms-btn.primary {
  background: linear-gradient(135deg, #ffd84d 0%, #e8b820 100%);
  color: #0d160a;
  border-color: transparent;
}

.sparo-cms-btn.secondary {
  background: #f1f5ef;
  color: #1c2c18;
  border-color: #c8d8b8;
}

.sparo-cms-btn.secondary:hover {
  background: #e4ede0;
}

.sparo-cms-btn.dirty {
  box-shadow: 0 0 0 2px #ffd84d, 0 0 14px rgba(255, 216, 77, 0.65);
}

.sparo-cms-btn.danger {
  background: rgba(220, 38, 38, 0.22);
  border-color: rgba(248, 113, 113, 0.45);
  color: #fecaca;
}

.sparo-cms-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  font-family: "DM Sans", system-ui, sans-serif;
}

.sparo-cms-modal {
  background: #ffffff;
  color: #1c2c18;
  width: 100%;
  max-width: 480px;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  max-height: 90vh;
  overflow-y: auto;
}

.sparo-cms-modal h3 {
  margin: 0 0 0.25rem;
  color: #1e4d10;
  font-size: 1.2rem;
}

.sparo-cms-modal p.sparo-cms-hint {
  font-size: 0.82rem;
  color: #5a6b54;
  margin: 0 0 1rem;
}

.sparo-cms-field {
  margin-bottom: 0.85rem;
}

.sparo-cms-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: #2e3d2e;
}

.sparo-cms-field input,
.sparo-cms-field select,
.sparo-cms-field textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid #c8d8b8;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.88rem;
}

.sparo-cms-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 1.15rem;
}

.sparo-cms-toast {
  position: fixed;
  top: 78px;
  right: 1rem;
  z-index: 2600;
  background: #0d160a;
  color: #ffd84d;
  border: 1px solid #e8b820;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

[data-cms-unit][data-cms-hidden="true"] {
  display: none !important;
}

.sparo-cms-editing [data-cms-unit] {
  position: relative;
  outline: 1px dashed rgba(106, 171, 92, 0.35);
  outline-offset: 2px;
}

.sparo-cms-editing .sparo-footer-contact p[data-cms-unit] {
  padding-right: 4.75rem;
  border-radius: 4px;
}

.sparo-cms-unit-bar {
  display: none;
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 30;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: calc(100% - 12px);
  pointer-events: auto;
  opacity: 0.28;
  transform: scale(0.94);
  transform-origin: top right;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.sparo-cms-editing [data-cms-unit] > .sparo-cms-unit-bar {
  display: flex;
}

.sparo-cms-editing [data-cms-unit]:hover > .sparo-cms-unit-bar,
.sparo-cms-editing [data-cms-unit]:focus-within > .sparo-cms-unit-bar {
  opacity: 1;
  transform: scale(1);
}

@media (hover: none), (max-width: 768px) {
  .sparo-cms-unit-bar {
    opacity: 0.95;
    transform: scale(1);
  }
  .sparo-cms-ubtn {
    min-height: 28px;
    padding: 4px 9px;
  }
}

.sparo-cms-ubtn {
  background: rgba(13, 22, 10, 0.92);
  color: #ffd84d;
  border: 1px solid #e8b820;
  border-radius: 9999px;
  padding: 3px 8px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.sparo-cms-ubtn:hover {
  background: #1e4d10;
  color: #ffffff;
}

.sparo-cms-ubtn.del {
  background: #991b1b;
  color: #fee2e2;
  border-color: #f87171;
}

.sparo-cms-ubtn.del:hover {
  background: #dc2626;
}

/* =========================================================
   VISITOR UX CTAS & BACK TO TOP
   ========================================================= */
.sparo-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.sparo-sec-cta {
  display: flex;
  justify-content: center;
  margin-top: 1.65rem;
}

.sparo-hero-btn-primary,
.sparo-hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.78rem 1.45rem;
  border-radius: 9999px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.sparo-hero-btn-primary {
  background: linear-gradient(135deg, #ffd84d 0%, #e8b820 100%);
  color: #0d160a;
  box-shadow: 0 6px 20px rgba(232, 184, 32, 0.32);
}

.sparo-hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(232, 184, 32, 0.42);
}

.sparo-hero-btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
}

.sparo-hero-btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.2);
}

.wb-rzp-btn {
  display: block;
  margin-top: 1.15rem;
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ffd84d 0%, #e8b820 100%);
  color: #0d160a;
  box-shadow: 0 6px 18px rgba(232, 184, 32, 0.3);
  transition: transform 0.18s ease, filter 0.18s ease;
}

.wb-rzp-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.sparo-top-btn {
  position: fixed;
  right: 1rem;
  bottom: 1.25rem;
  z-index: 950;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(13, 22, 10, 0.88);
  color: #ffd84d;
  border: 1.5px solid rgba(232, 184, 32, 0.55);
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  transition: transform 0.18s ease, background 0.18s ease;
}

.sparo-top-btn.show {
  display: inline-flex;
}

.sparo-top-btn:hover {
  background: #1e4d10;
  transform: translateY(-2px);
}

.sparo-hero-cms-btn {
  display: none;
  position: absolute;
  top: 82px;
  right: 16px;
  z-index: 25;
  background: rgba(13, 22, 10, 0.92);
  color: #ffd84d;
  border: 1.5px solid #e8b820;
  border-radius: 9999px;
  padding: 0.48rem 0.95rem;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.42);
}

.sparo-cms-editing .sparo-hero-cms-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.sparo-hero-cms-btn:hover {
  background: #1e4d10;
  color: #ffffff;
}

.gitem {
  cursor: pointer;
}

#hm-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2400;
  background: rgba(8, 15, 6, 0.93);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
  font-family: "DM Sans", system-ui, sans-serif;
}

#hm-lightbox.open {
  display: flex;
}

#hm-lightbox .lb-box {
  position: relative;
  max-width: min(92vw, 900px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

#hm-lightbox .lb-img {
  max-width: 100%;
  max-height: 76vh;
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  object-fit: contain;
}

#hm-lightbox .lb-cap {
  color: #e8f5e4;
  font-size: 0.92rem;
  text-align: center;
  max-width: 640px;
}

#hm-lightbox .lb-close,
#hm-lightbox .lb-nav {
  position: fixed;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: rgba(13, 22, 10, 0.85);
  color: #ffffff;
  font-size: 1.35rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#hm-lightbox .lb-close {
  top: 16px;
  right: 16px;
}

#hm-lightbox .lb-prev {
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
}

#hm-lightbox .lb-next {
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 640px) {
  .sparo-top-btn {
    bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
  }
  .nt-left .nt-card,
  .nt-right .nt-card {
    width: calc(100% - 44px) !important;
  }
  .galwrap {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem !important;
  }
  .gitem img {
    height: 150px !important;
    aspect-ratio: auto !important;
  }
  #work,
  #gallery,
  #activities,
  #mission {
    padding: 2.5rem 1rem !important;
  }
  .sparo-explore {
    padding: 2.4rem 1rem;
  }
  .sbox {
    padding: 0.9rem 0.85rem !important;
  }
  .panel {
    padding: 1.25rem 1.15rem !important;
  }
  .aw-filter-row,
  .inn-filter-row {
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem !important;
    scrollbar-width: none;
  }
  .aw-filter-row::-webkit-scrollbar,
  .inn-filter-row::-webkit-scrollbar {
    display: none;
  }
  .aw-filter-btn,
  .inn-filter-btn {
    flex-shrink: 0;
  }
  .lb-nav,
  .lb-prev,
  .lb-next,
  .lb-close,
  .inn-lb-close,
  .inn-lb-prev,
  .inn-lb-next,
  .nt-lb-close,
  .nt-lb-prev,
  .nt-lb-next {
    min-width: 44px !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .lb-prev,
  .inn-lb-prev,
  .nt-lb-prev {
    left: 8px !important;
  }
  .lb-next,
  .inn-lb-next,
  .nt-lb-next {
    right: 8px !important;
  }
  .lb-close,
  .inn-lb-close,
  .nt-lb-close {
    top: 10px !important;
    right: 10px !important;
  }
}

/* =========================================================
   YOUTUBE CLICK-TO-PLAY FACADE
   ========================================================= */
.sparo-yt-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #0d160a;
  cursor: pointer;
  overflow: hidden;
  display: block;
}

.sparo-yt-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.sparo-yt-facade:hover img,
.sparo-yt-facade:focus-visible img {
  transform: scale(1.03);
  filter: brightness(0.88);
}

.sparo-yt-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45));
  transition: transform 0.2s ease;
}

.sparo-yt-facade:hover .sparo-yt-play,
.sparo-yt-facade:focus-visible .sparo-yt-play {
  transform: translate(-50%, -50%) scale(1.08);
}

.sparo-yt-play-bg {
  fill: rgba(13, 22, 10, 0.84);
  transition: fill 0.2s ease;
}

.sparo-yt-facade:hover .sparo-yt-play-bg,
.sparo-yt-facade:focus-visible .sparo-yt-play-bg {
  fill: #cc0000;
}

/* =========================================================
   HOME EXPLORE SHOWCASE
   ========================================================= */
.sparo-explore {
  background: linear-gradient(180deg, #fffdf7 0%, #f3efe2 100%);
  border-top: 3px solid var(--sparo-gold);
  border-bottom: 1px solid #d5e2c6;
  padding: 3.5rem clamp(1rem, 3vw, 3rem);
  font-family: "DM Sans", system-ui, sans-serif;
}

.sparo-explore-inner {
  max-width: min(94vw, 88rem);
  margin: 0 auto;
}

.sparo-explore-head {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 2rem;
}

.sparo-explore-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.95rem;
  border-radius: 9999px;
  background: rgba(232, 184, 32, 0.18);
  border: 1px solid rgba(232, 184, 32, 0.55);
  color: #1e4d10;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.sparo-explore-head h2 {
  margin-bottom: 0.5rem;
}

.sparo-explore-head p {
  color: #4c5d46;
  font-size: 0.95rem;
  line-height: 1.7;
}

.sparo-explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 1rem;
}

.sparo-explore-card {
  border-radius: 14px;
  padding: 1.25rem;
  background: #ffffff;
  border: 1.5px solid #cde0be;
  border-top: 4px solid var(--sparo-leaf);
  text-decoration: none;
  color: #1c2c18;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  box-shadow: 0 4px 16px rgba(30, 77, 16, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sparo-explore-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(30, 77, 16, 0.14);
  border-color: var(--sparo-gold);
}

.sparo-explore-card.featured {
  background: linear-gradient(135deg, #fffbe8 0%, #fff4c2 100%);
  border-color: rgba(232, 184, 32, 0.65);
  border-top-color: var(--sparo-gold);
}

.sparo-explore-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.sparo-explore-icon {
  font-size: 1.65rem;
  line-height: 1;
}

.sparo-explore-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.22rem 0.6rem;
  border-radius: 9999px;
  background: #eef6e8;
  color: #1e4d10;
  border: 1px solid #c5dcb4;
}

.sparo-explore-card.featured .sparo-explore-badge {
  background: #0d160a;
  color: var(--sparo-gold-bright);
  border-color: transparent;
}

.sparo-explore-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0d160a;
  margin: 0;
}

.sparo-explore-card p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #4c5d46;
  margin: 0;
  flex: 1;
}

.sparo-explore-cta {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e4d10;
  margin-top: 0.25rem;
}

.sparo-explore-card:hover .sparo-explore-cta {
  color: #0d160a;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .rr-pay-btn,
  .inn-pay-btn,
  .inn-pay-btn2,
  .nt-pay-btn,
  .hero-arrow {
    animation: none !important;
  }
  .reveal,
  .nt-item,
  .rr-anim,
  .gl-anim,
  .inn-anim,
  .nt-anim {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}
