:root {
  --bg: #050403;
  --bg-soft: #0c0906;
  --surface: rgba(20, 15, 10, 0.78);
  --surface-solid: #130f0a;
  --text: #fff4df;
  --muted: #c8b895;
  --dim: #8b7b5f;
  --gold: #f8c84a;
  --gold-soft: #ffe2a1;
  --saffron: #ff991f;
  --orange: #ff5c24;
  --crimson: #9d1d2c;
  --green: #49c38e;
  --line: rgba(248, 200, 74, 0.2);
  --line-strong: rgba(248, 200, 74, 0.48);
  --shadow: 0 24px 72px rgba(0, 0, 0, 0.46);
  --radius: 8px;
  --max-width: 1200px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -12%, rgba(255, 153, 31, 0.17), transparent 32rem),
    linear-gradient(135deg, #050403 0%, #0e0a07 48%, #050403 100%);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  cursor: none;
}

body.nav-open,
body.lightbox-open,
body.modal-open,
body.loading {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  color: inherit;
  cursor: none;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-texture {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    linear-gradient(rgba(248, 200, 74, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 200, 74, 0.025) 1px, transparent 1px),
    repeating-linear-gradient(135deg, rgba(255, 153, 31, 0.035) 0 1px, transparent 1px 18px);
  background-size: 72px 72px, 72px 72px, auto;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.92), transparent 88%);
}

.custom-cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999;
  width: 18px;
  height: 18px;
  pointer-events: none;
  border: 1px solid rgba(255, 226, 161, 0.8);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(248, 200, 74, 0.32);
  transform: translate(-50%, -50%);
  transition: width 160ms ease, height 160ms ease, background 160ms ease, opacity 160ms ease;
}

.custom-cursor.active {
  width: 42px;
  height: 42px;
  background: rgba(248, 200, 74, 0.08);
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 153, 31, 0.18), transparent 22rem),
    #050403;
  transition: opacity 520ms ease, visibility 520ms ease;
}

.loader.hidden {
  visibility: hidden;
  opacity: 0;
}

.loader-fort {
  position: relative;
  width: 230px;
  height: 82px;
  background: linear-gradient(to top, #0d0906, #24160b);
  clip-path: polygon(0 100%, 0 56%, 7% 56%, 7% 42%, 14% 42%, 14% 58%, 25% 58%, 25% 38%, 32% 38%, 32% 60%, 45% 60%, 45% 44%, 52% 44%, 52% 62%, 65% 62%, 65% 36%, 72% 36%, 72% 58%, 84% 58%, 84% 46%, 91% 46%, 91% 64%, 100% 64%, 100% 100%);
  filter: drop-shadow(0 0 34px rgba(248, 200, 74, 0.22));
}

.loader-flag,
.saffron-flag {
  position: absolute;
  width: 62px;
  height: 40px;
  background: linear-gradient(135deg, var(--saffron), var(--crimson));
  clip-path: polygon(0 0, 100% 0, 82% 28%, 100% 58%, 0 58%);
  transform-origin: left center;
  animation: flagWave 1.6s ease-in-out infinite;
}

.loader-flag {
  left: 106px;
  top: -36px;
}

.loader-flag::before,
.saffron-flag::before {
  content: "";
  position: absolute;
  left: -5px;
  top: -2px;
  width: 3px;
  height: 70px;
  background: linear-gradient(var(--gold-soft), var(--saffron));
}

.loader-logo {
  color: var(--gold-soft);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 0 32px rgba(248, 200, 74, 0.32);
}

.loader p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}

.loader-line {
  width: min(280px, 70vw);
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(248, 200, 74, 0.16);
}

.loader-line::before {
  content: "";
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-soft), var(--saffron), var(--orange));
  animation: loaderLine 1.2s var(--ease) infinite;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(16px, 5vw, 72px);
  border-bottom: 1px solid transparent;
  background: rgba(5, 4, 3, 0.18);
  backdrop-filter: blur(0);
  transition: padding 240ms ease, background 240ms ease, border-color 240ms ease, box-shadow 240ms ease, backdrop-filter 240ms ease;
}

.site-header.scrolled,
body.nav-open .site-header {
  padding-top: 12px;
  padding-bottom: 12px;
  border-color: rgba(248, 200, 74, 0.16);
  background: rgba(7, 5, 4, 0.82);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(248, 200, 74, 0.54);
  border-radius: 50%;
  color: #1b1006;
  background: linear-gradient(145deg, var(--gold-soft), var(--saffron) 56%, var(--orange));
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.86rem;
  font-weight: 900;
  box-shadow: 0 0 30px rgba(255, 153, 31, 0.3);
  animation: logoPulse 3.2s ease-in-out infinite;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(55, 27, 5, 0.34);
  border-radius: 50%;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy span {
  font-family: "Cinzel", Georgia, serif;
  font-weight: 900;
  text-transform: uppercase;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: rgba(255, 244, 223, 0.76);
  font-size: 0.9rem;
  font-weight: 800;
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-soft);
  border-color: rgba(248, 200, 74, 0.18);
  background: rgba(248, 200, 74, 0.08);
  transform: translateY(-1px);
}

.menu-toggle {
  position: relative;
  z-index: 100;
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  padding: 11px;
  overflow: hidden;
  border: 1px solid rgba(248, 200, 74, 0.25);
  border-radius: 4px;
  background: rgba(248, 200, 74, 0.08);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 3px 0;
  background: var(--gold-soft);
  transform-origin: center;
  transition: transform 240ms var(--ease), opacity 180ms ease;
}

body.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

body.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(0);
  opacity: 0;
  transition: opacity 280ms ease, backdrop-filter 280ms ease;
}

body.nav-open .nav-backdrop {
  pointer-events: auto;
  opacity: 1;
  backdrop-filter: blur(8px);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
}

.hero-slider,
.hero-track,
.hero-slide {
  min-height: 100svh;
}

.hero-slider {
  position: relative;
  overflow: hidden;
  background: #050403;
}

.hero-track {
  display: flex;
  transition: transform 880ms var(--ease);
  will-change: transform;
}

.hero-slide {
  position: relative;
  display: grid;
  min-width: 100%;
  align-items: center;
  padding: clamp(122px, 12vw, 164px) clamp(18px, 6vw, 88px) clamp(132px, 13vw, 198px);
  overflow: hidden;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 22% 34%, rgba(255, 153, 31, 0.3), transparent 24rem),
    linear-gradient(90deg, rgba(5, 4, 3, 0.95) 0%, rgba(7, 5, 4, 0.74) 44%, rgba(5, 4, 3, 0.2) 100%),
    linear-gradient(180deg, rgba(5, 4, 3, 0.08), rgba(5, 4, 3, 0.9) 86%, #050403 100%);
}

.hero-slide::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 2;
  height: clamp(90px, 14vw, 180px);
  background: linear-gradient(to top, #050403 0%, rgba(5, 4, 3, 0.88) 36%, transparent 100%);
  clip-path: polygon(0 100%, 0 55%, 6% 55%, 6% 44%, 12% 44%, 12% 60%, 20% 60%, 20% 40%, 26% 40%, 26% 63%, 36% 63%, 36% 35%, 42% 35%, 42% 61%, 53% 61%, 53% 44%, 60% 44%, 60% 67%, 70% 67%, 70% 39%, 77% 39%, 77% 59%, 88% 59%, 88% 47%, 94% 47%, 94% 66%, 100% 66%, 100% 100%);
}

.hero-image {
  position: absolute;
  inset: -7%;
  width: 114%;
  height: 114%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.08) brightness(0.86);
  transform: translate3d(0, var(--hero-parallax, 0px), 0) scale(1.04);
  will-change: transform;
}

.hero-content {
  position: relative;
  z-index: 4;
  display: grid;
  gap: 22px;
  max-width: 820px;
  opacity: 0;
  filter: blur(12px);
  transform: translateY(34px) scale(0.985);
  transition: opacity 680ms var(--ease), transform 680ms var(--ease), filter 680ms ease;
}

.hero-slide.active .hero-content {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cinzel", Georgia, serif;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(4rem, 10vw, 9.8rem);
  line-height: 0.86;
  text-transform: uppercase;
  text-shadow: 0 0 44px rgba(255, 153, 31, 0.24);
}

.hero-content p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 244, 223, 0.84);
  font-size: clamp(1.04rem, 2vw, 1.34rem);
  line-height: 1.78;
}

.hero-actions,
.section-heading.with-action,
.footer-main {
  display: flex;
  align-items: center;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
}

.btn,
.text-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  overflow: hidden;
  border-radius: 4px;
  font-weight: 900;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.btn {
  padding: 0 20px;
  border: 1px solid transparent;
}

.btn svg,
.text-action svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: currentColor;
}

.btn-primary {
  color: #1b1006;
  background: linear-gradient(135deg, var(--gold-soft), var(--saffron) 54%, var(--orange));
  box-shadow: 0 16px 44px rgba(255, 153, 31, 0.26);
}

.btn-secondary,
.text-action {
  color: var(--gold-soft);
  border: 1px solid rgba(248, 200, 74, 0.28);
  background: rgba(10, 7, 5, 0.48);
  backdrop-filter: blur(16px);
}

.btn:hover,
.text-action:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 34px rgba(248, 200, 74, 0.16);
}

.ripple {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.34);
  transform: translate(-50%, -50%) scale(0);
  animation: ripple 650ms ease forwards;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hero-meta span,
.chip,
.difficulty,
.video-logo {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(248, 200, 74, 0.22);
  border-radius: 4px;
  color: var(--gold-soft);
  background: rgba(248, 200, 74, 0.08);
  font-size: 0.78rem;
  font-weight: 900;
}

.saffron-flag {
  right: clamp(32px, 9vw, 120px);
  top: clamp(110px, 18vw, 190px);
  z-index: 5;
  width: 96px;
  height: 62px;
  filter: drop-shadow(0 22px 30px rgba(255, 92, 36, 0.25));
}

.hero-fog,
.cloud {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  opacity: 0.42;
  filter: blur(20px);
}

.hero-fog {
  left: -20%;
  right: -20%;
  height: 150px;
  border-radius: 999px;
  background: rgba(255, 244, 223, 0.1);
  animation: fogMove 16s ease-in-out infinite alternate;
}

.fog-a {
  bottom: 22%;
}

.fog-b {
  bottom: 8%;
  animation-duration: 22s;
  animation-direction: alternate-reverse;
}

.cloud {
  width: 250px;
  height: 70px;
  border-radius: 999px;
  background: rgba(255, 244, 223, 0.12);
  animation: cloudDrift 22s linear infinite;
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  bottom: 12px;
  border-radius: 50%;
  background: inherit;
}

.cloud::before {
  left: 42px;
  width: 92px;
  height: 92px;
}

.cloud::after {
  right: 48px;
  width: 74px;
  height: 74px;
}

.cloud-a {
  top: 22%;
  left: -260px;
}

.cloud-b {
  top: 38%;
  left: -380px;
  width: 340px;
  animation-duration: 30s;
  animation-delay: 3s;
}

.hero-arrow,
.slider-btn {
  display: grid;
  place-items: center;
  border: 1px solid rgba(248, 200, 74, 0.26);
  color: var(--gold-soft);
  background: rgba(8, 6, 5, 0.54);
  backdrop-filter: blur(16px);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 8;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  transform: translateY(-50%);
}

.hero-arrow:hover,
.slider-btn:hover {
  border-color: rgba(248, 200, 74, 0.58);
  background: rgba(248, 200, 74, 0.13);
  box-shadow: 0 0 34px rgba(248, 200, 74, 0.16);
}

.hero-arrow svg,
.slider-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.hero-prev {
  left: clamp(16px, 3vw, 34px);
}

.hero-next {
  right: clamp(16px, 3vw, 34px);
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: clamp(76px, 9vw, 120px);
  z-index: 8;
  display: flex;
  gap: 9px;
  padding: 8px;
  border: 1px solid rgba(248, 200, 74, 0.18);
  border-radius: 999px;
  background: rgba(8, 6, 5, 0.5);
  backdrop-filter: blur(14px);
  transform: translateX(-50%);
}

.hero-dots button,
.slider-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 244, 223, 0.35);
  transition: width 240ms ease, background 240ms ease;
}

.hero-dots button.active,
.slider-dots button.active {
  width: 32px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--orange));
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 10;
  display: inline-grid;
  justify-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-indicator span {
  width: 2px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(var(--gold), transparent);
  animation: scrollPulse 1.5s ease-in-out infinite;
}

.section {
  width: min(100%, var(--max-width));
  margin-inline: auto;
  padding: clamp(62px, 9vw, 108px) clamp(16px, 4vw, 28px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-heading h2,
.footer-newsletter h2,
.contact-card h2,
.trek-banner h2,
.about-layout h2 {
  max-width: 780px;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1;
}

.section-note {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.text-action {
  min-width: max-content;
  min-height: 42px;
  padding: 0 14px;
}

.stats-grid,
.fort-grid,
.team-grid,
.trail-cards,
.upcoming-grid {
  display: grid;
  gap: 20px;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card,
.map-popup,
.trek-card,
.video-card,
.upcoming-card,
.fort-card,
.team-card,
.trail-card,
.about-values article,
.contact-card,
.footer-newsletter {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(248, 200, 74, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), transparent 32%),
    linear-gradient(180deg, rgba(29, 22, 15, 0.86), rgba(11, 8, 6, 0.9));
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
  transform-style: preserve-3d;
  transition: transform 280ms var(--ease), border-color 280ms ease, box-shadow 280ms ease;
}

.stat-card::before,
.map-popup::before,
.trek-card::before,
.video-card::before,
.upcoming-card::before,
.fort-card::before,
.team-card::before,
.trail-card::before,
.about-values article::before,
.contact-card::before,
.footer-newsletter::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.18) 42%, transparent 64%);
  transform: translateX(-115%);
  transition: transform 720ms var(--ease);
}

.stat-card:hover::before,
.map-popup:hover::before,
.trek-card:hover::before,
.video-card:hover::before,
.upcoming-card:hover::before,
.fort-card:hover::before,
.team-card:hover::before,
.trail-card:hover::before,
.about-values article:hover::before,
.contact-card:hover::before,
.footer-newsletter:hover::before {
  transform: translateX(115%);
}

.tilt-card:hover {
  border-color: rgba(248, 200, 74, 0.48);
  box-shadow: 0 26px 76px rgba(0, 0, 0, 0.44), 0 0 38px rgba(248, 200, 74, 0.14);
}

.stat-card {
  display: grid;
  gap: 8px;
  padding: 26px;
}

.stat-card strong {
  color: var(--gold-soft);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.stat-card span {
  color: var(--muted);
  font-weight: 900;
}

.map-section,
.fort-detail-section,
.about-section,
.contact-section {
  position: relative;
  max-width: none;
  width: 100%;
  padding-inline: max(16px, calc((100vw - var(--max-width)) / 2 + 28px));
}

.map-section {
  background:
    radial-gradient(circle at 15% 25%, rgba(255, 153, 31, 0.12), transparent 22rem),
    linear-gradient(180deg, rgba(248, 200, 74, 0.035), transparent 80%);
}

.find-trek-section {
  position: relative;
  max-width: none;
  width: 100%;
  padding-inline: max(16px, calc((100vw - var(--max-width)) / 2 + 28px));
  background:
    radial-gradient(circle at 84% 20%, rgba(58, 141, 255, 0.12), transparent 22rem),
    radial-gradient(circle at 16% 78%, rgba(255, 153, 31, 0.12), transparent 24rem),
    linear-gradient(180deg, rgba(248, 200, 74, 0.025), rgba(5, 4, 3, 0.72));
}

.find-trek-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.75fr);
  gap: 22px;
  align-items: stretch;
}

.find-map-card,
.nearby-panel,
.nearby-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(248, 200, 74, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(29, 22, 15, 0.86), rgba(11, 8, 6, 0.9));
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
}

.find-map-card {
  min-height: 640px;
}

.find-map-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid rgba(248, 200, 74, 0.14);
}

.find-map-toolbar p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.find-map-toolbar p[data-type="success"] {
  color: #d9ffe9;
}

.find-map-toolbar p[data-type="warning"] {
  color: var(--gold-soft);
}

.find-map-toolbar p[data-type="error"] {
  color: #ffd4ca;
}

#locateTreksBtn:disabled {
  cursor: wait;
  opacity: 0.62;
}

.find-radius {
  display: inline-flex;
  min-width: max-content;
  min-height: 34px;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(58, 141, 255, 0.32);
  border-radius: 4px;
  color: #dbeafe;
  background: rgba(58, 141, 255, 0.12);
  font-size: 0.82rem;
  font-weight: 900;
}

.find-map {
  position: relative;
  height: 560px;
  min-height: 420px;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(248, 200, 74, 0.12), transparent 20rem),
    linear-gradient(135deg, #090806, #15100a);
}

.find-map .mappls-map,
.find-map canvas,
.find-map > div:not(.map-empty-state) {
  border-radius: 0 0 var(--radius) var(--radius);
}

.map-empty-state {
  position: absolute;
  inset: 18px;
  z-index: 4;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 24px;
  border: 1px dashed rgba(248, 200, 74, 0.22);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
  background: rgba(5, 4, 3, 0.58);
  backdrop-filter: blur(10px);
  pointer-events: none;
}

.map-empty-state strong {
  color: var(--gold-soft);
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.3rem;
}

.map-empty-state.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.nearby-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 640px;
}

.nearby-panel-heading {
  padding: 20px 20px 14px;
  border-bottom: 1px solid rgba(248, 200, 74, 0.14);
}

.nearby-panel-heading h3 {
  font-size: 1.45rem;
}

.nearby-list {
  display: grid;
  align-content: start;
  gap: 14px;
  max-height: 584px;
  overflow: auto;
  padding: 16px;
  scrollbar-color: rgba(248, 200, 74, 0.42) rgba(248, 200, 74, 0.08);
}

.nearby-placeholder {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px dashed rgba(248, 200, 74, 0.22);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(248, 200, 74, 0.05);
}

.nearby-placeholder strong {
  color: var(--gold-soft);
}

.nearby-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  transition: transform 240ms var(--ease), border-color 240ms ease, box-shadow 240ms ease;
}

.nearby-card:hover,
.nearby-card.active {
  border-color: rgba(248, 200, 74, 0.48);
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.38), 0 0 30px rgba(248, 200, 74, 0.12);
  transform: translateY(-3px);
}

.nearby-card h3 {
  font-size: 1.18rem;
}

.nearby-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
  font-size: 0.94rem;
}

.nearby-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nearby-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.nearby-actions .btn,
.nearby-actions .text-action {
  width: 100%;
  min-height: 42px;
  padding-inline: 10px;
  font-size: 0.86rem;
}

.find-popup {
  display: grid;
  gap: 8px;
  max-width: 260px;
  color: #1b1006;
  font-family: "Inter", system-ui, sans-serif;
}

.find-popup h3 {
  color: #1b1006;
  font-family: "Cinzel", Georgia, serif;
  font-size: 1rem;
}

.find-popup p {
  margin: 0;
  color: #3b2915;
  line-height: 1.45;
}

.find-popup a {
  display: inline-flex;
  justify-content: center;
  min-height: 34px;
  align-items: center;
  padding: 0 10px;
  border-radius: 4px;
  color: #1b1006;
  background: linear-gradient(135deg, var(--gold-soft), var(--saffron));
  font-weight: 900;
}

.community-section,
.product-section,
.future-marketplace-section,
.trek-pool-section {
  position: relative;
}

.community-grid,
.product-grid,
.future-feature-grid,
.trek-plan-grid {
  display: grid;
  gap: 20px;
}

.community-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.future-feature-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.trek-plan-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.community-card,
.product-card,
.future-feature-card,
.trek-plan-card,
.trek-pool-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(248, 200, 74, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), transparent 32%),
    linear-gradient(180deg, rgba(29, 22, 15, 0.86), rgba(11, 8, 6, 0.9));
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
  transform-style: preserve-3d;
  transition: transform 280ms var(--ease), border-color 280ms ease, box-shadow 280ms ease;
}

.community-card::before,
.product-card::before,
.future-feature-card::before,
.trek-plan-card::before,
.trek-pool-hero::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.18) 42%, transparent 64%);
  transform: translateX(-115%);
  transition: transform 720ms var(--ease);
}

.community-card:hover::before,
.product-card:hover::before,
.future-feature-card:hover::before,
.trek-plan-card:hover::before,
.trek-pool-hero:hover::before {
  transform: translateX(115%);
}

.community-card:hover,
.product-card:hover,
.future-feature-card:hover,
.trek-plan-card:hover,
.trek-pool-hero:hover {
  border-color: rgba(248, 200, 74, 0.48);
  box-shadow: 0 26px 76px rgba(0, 0, 0, 0.44), 0 0 38px rgba(248, 200, 74, 0.14);
}

.community-card,
.future-feature-card {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.community-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(248, 200, 74, 0.34);
  border-radius: 50%;
  color: #1b1006;
  background: linear-gradient(145deg, var(--gold-soft), var(--saffron));
  font-family: "Cinzel", Georgia, serif;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(255, 153, 31, 0.2);
}

.community-card p,
.future-feature-card p,
.product-card p,
.trek-plan-card p,
.trek-pool-hero p,
.prototype-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.product-card {
  display: grid;
}

.product-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0d0906;
}

.product-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 520ms var(--ease), opacity 520ms ease;
}

.product-card:hover img {
  transform: scale(1.07);
  opacity: 0.88;
}

.product-body {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.product-topline,
.trek-plan-topline,
.plan-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.product-actions,
.plan-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.product-actions .btn,
.product-actions .text-action,
.plan-actions .btn,
.plan-actions .text-action {
  width: 100%;
  min-height: 42px;
  padding-inline: 10px;
  font-size: 0.86rem;
}

.prototype-note {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(248, 200, 74, 0.14);
  border-radius: var(--radius);
  background: rgba(248, 200, 74, 0.05);
  font-size: 0.92rem;
}

.future-feature-card {
  min-height: 142px;
}

.trek-pool-section {
  max-width: none;
  width: 100%;
  padding-inline: max(16px, calc((100vw - var(--max-width)) / 2 + 28px));
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 153, 31, 0.12), transparent 24rem),
    radial-gradient(circle at 85% 72%, rgba(248, 200, 74, 0.1), transparent 22rem),
    linear-gradient(180deg, rgba(157, 29, 44, 0.08), rgba(5, 4, 3, 0.72));
}

.trek-pool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trek-pool-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.46fr);
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
  padding: clamp(22px, 4vw, 34px);
}

.trek-pool-hero h3 {
  margin: 14px 0 12px;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
}

.trek-pool-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.trek-pool-stats div {
  padding: 18px;
  border: 1px solid rgba(248, 200, 74, 0.16);
  border-radius: var(--radius);
  background: rgba(248, 200, 74, 0.06);
}

.trek-pool-stats strong {
  display: block;
  color: var(--gold-soft);
  font-family: "Cinzel", Georgia, serif;
  font-size: 2rem;
}

.trek-pool-stats span {
  color: var(--muted);
  font-weight: 900;
}

.trek-plan-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.trek-plan-toolbar h3 {
  font-size: 1.55rem;
}

.trek-plan-toolbar select {
  width: min(100%, 220px);
}

.trek-plan-card {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.seat-badge {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(73, 195, 142, 0.34);
  border-radius: 4px;
  color: #d9ffe9;
  background: rgba(73, 195, 142, 0.12);
  font-size: 0.82rem;
  font-weight: 900;
}

.seat-badge.low {
  color: #ffd4ca;
  border-color: rgba(255, 92, 36, 0.34);
  background: rgba(255, 92, 36, 0.12);
}

.plan-route {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(248, 200, 74, 0.12);
  border-radius: 4px;
  background: rgba(248, 200, 74, 0.05);
}

.plan-route span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.plan-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.app-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 240ms ease;
}

.app-modal.open {
  pointer-events: auto;
  opacity: 1;
}

.modal-panel {
  position: relative;
  width: min(920px, 96vw);
  max-height: 88vh;
  overflow: auto;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid rgba(248, 200, 74, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), transparent 32%),
    rgba(10, 7, 5, 0.96);
  box-shadow: var(--shadow);
  transform: translateY(18px) scale(0.96);
  transition: transform 260ms var(--ease);
}

.app-modal.open .modal-panel {
  transform: translateY(0) scale(1);
}

.create-plan-panel {
  width: min(1080px, 96vw);
}

.detail-panel {
  padding: 0;
}

.modal-close {
  position: sticky;
  top: 0;
  left: 100%;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(248, 200, 74, 0.28);
  border-radius: 50%;
  color: var(--gold-soft);
  background: rgba(8, 6, 5, 0.78);
  font-size: 1.55rem;
}

.modal-heading {
  margin-bottom: 22px;
}

.modal-heading h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.modal-heading p:not(.eyebrow) {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.create-plan-form,
.join-request-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.create-plan-form label,
.join-request-form label {
  display: grid;
  gap: 7px;
}

.create-plan-form label span,
.join-request-form label span {
  color: var(--gold-soft);
  font-size: 0.84rem;
  font-weight: 900;
}

.form-wide {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.plan-detail-banner {
  position: relative;
  min-height: 260px;
  padding: 28px;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.plan-detail-banner img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(1.1);
}

.plan-detail-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(5, 4, 3, 0.92));
}

.plan-detail-banner > div {
  position: relative;
  z-index: 1;
}

.plan-detail-body {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.plan-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.plan-detail-grid div {
  padding: 14px;
  border: 1px solid rgba(248, 200, 74, 0.14);
  border-radius: 4px;
  background: rgba(248, 200, 74, 0.06);
}

.plan-detail-grid span {
  display: block;
  color: var(--dim);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.plan-detail-grid strong {
  display: block;
  margin-top: 5px;
  color: var(--gold-soft);
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.75fr);
  gap: 24px;
  align-items: stretch;
}

.maharashtra-map {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(248, 200, 74, 0.18);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 45%, rgba(248, 200, 74, 0.11), transparent 22rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), transparent 34%),
    rgba(11, 8, 6, 0.78);
  box-shadow: var(--shadow);
}

.map-outline {
  position: absolute;
  inset: 5%;
  width: 90%;
  height: 90%;
  fill: rgba(248, 200, 74, 0.08);
  stroke: rgba(248, 200, 74, 0.38);
  stroke-width: 3;
  filter: drop-shadow(0 0 26px rgba(248, 200, 74, 0.12));
}

.map-marker {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 2px solid rgba(255, 226, 161, 0.9);
  border-radius: 50%;
  background: var(--saffron);
  box-shadow: 0 0 0 8px rgba(255, 153, 31, 0.12), 0 0 30px rgba(255, 153, 31, 0.38);
  transform: translate(-50%, -50%);
  animation: markerPulse 1.8s ease-in-out infinite;
}

.map-marker span {
  position: absolute;
  left: 24px;
  top: 50%;
  min-width: max-content;
  padding: 7px 9px;
  border: 1px solid rgba(248, 200, 74, 0.2);
  border-radius: 4px;
  color: var(--gold-soft);
  background: rgba(6, 5, 4, 0.7);
  font-size: 0.75rem;
  font-weight: 900;
  backdrop-filter: blur(12px);
  transform: translateY(-50%);
}

.map-marker.active {
  background: var(--gold);
  transform: translate(-50%, -50%) scale(1.22);
}

.map-popup {
  display: grid;
  align-content: start;
}

.map-popup img {
  height: 235px;
  object-fit: cover;
  border-bottom: 1px solid rgba(248, 200, 74, 0.16);
}

.map-popup-body {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.meta-grid div {
  padding: 12px;
  border: 1px solid rgba(248, 200, 74, 0.14);
  border-radius: 4px;
  background: rgba(248, 200, 74, 0.06);
}

.meta-grid span {
  display: block;
  color: var(--dim);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.meta-grid strong {
  display: block;
  margin-top: 4px;
  color: var(--gold-soft);
  font-size: 0.92rem;
}

.map-popup p,
.fort-card p,
.upcoming-card p,
.trail-card p,
.about-layout p,
.contact-card p,
.team-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.rail-slider {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 14px;
  align-items: center;
}

.rail-viewport {
  overflow: hidden;
  border-radius: var(--radius);
  touch-action: pan-y;
}

.trek-track,
.video-track {
  display: flex;
  gap: 20px;
  transition: transform 650ms var(--ease);
  will-change: transform;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 4px;
}

.trek-card {
  min-width: min(410px, 84vw);
  color: inherit;
}

.trek-card-image,
.video-thumb,
.upcoming-image,
.fort-card-image,
.gallery-item,
.team-image {
  position: relative;
  overflow: hidden;
  background: #0d0906;
}

.trek-card-image {
  aspect-ratio: 16 / 11;
}

.trek-card-image img,
.video-thumb img,
.upcoming-image img,
.fort-card-image img,
.gallery-item img,
.team-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 520ms var(--ease), opacity 520ms ease;
}

.trek-card:hover img,
.video-card:hover img,
.upcoming-card:hover img,
.fort-card:hover img,
.gallery-item:hover img,
.team-card:hover img {
  transform: scale(1.07);
  opacity: 0.86;
}

.trek-card-body,
.video-body,
.upcoming-body,
.fort-body,
.team-body,
.trail-card {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.card-topline,
.upcoming-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.difficulty.easy {
  color: #d9ffe9;
  background: rgba(73, 195, 142, 0.12);
  border-color: rgba(73, 195, 142, 0.34);
}

.difficulty.hard {
  color: #ffd4ca;
  background: rgba(255, 92, 36, 0.12);
  border-color: rgba(255, 92, 36, 0.34);
}

.video-card {
  min-width: min(360px, 84vw);
}

.video-thumb {
  aspect-ratio: 16 / 9;
}

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 62px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  color: white;
  background: #ff0033;
  box-shadow: 0 16px 44px rgba(255, 0, 51, 0.3);
  transform: translate(-50%, -50%);
}

.play-badge svg,
.video-logo svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.video-logo {
  gap: 7px;
  color: white;
  background: rgba(255, 0, 51, 0.12);
  border-color: rgba(255, 0, 51, 0.35);
}

.upcoming-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.upcoming-card {
  display: grid;
}

.upcoming-image {
  aspect-ratio: 16 / 10;
}

.timeline-section {
  max-width: none;
  width: 100%;
  padding-inline: max(16px, calc((100vw - var(--max-width)) / 2 + 28px));
  background:
    linear-gradient(135deg, rgba(157, 29, 44, 0.13), transparent 28%),
    linear-gradient(180deg, #080604, #100b07 48%, #070504);
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
  padding-left: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--gold), rgba(248, 200, 74, 0.06));
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(248, 200, 74, 0.16);
  border-radius: var(--radius);
  background: rgba(12, 8, 6, 0.68);
  opacity: 0;
  filter: blur(10px);
  transform: translateX(-28px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease), filter 620ms ease;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 24px;
  width: 13px;
  height: 13px;
  border: 2px solid var(--gold-soft);
  border-radius: 50%;
  background: var(--saffron);
  box-shadow: 0 0 22px rgba(255, 153, 31, 0.32);
}

.timeline-item.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateX(0);
}

.timeline-year {
  color: var(--gold-soft);
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 900;
}

.timeline-item p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.fort-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fort-card-image {
  aspect-ratio: 16 / 10;
}

.fort-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.fort-specs span {
  padding: 9px;
  border: 1px solid rgba(248, 200, 74, 0.13);
  border-radius: 4px;
  color: var(--muted);
  background: rgba(248, 200, 74, 0.05);
  font-size: 0.82rem;
  font-weight: 800;
}

.treks-page {
  max-width: none;
  width: 100%;
  padding-inline: max(16px, calc((100vw - var(--max-width)) / 2 + 28px));
}

.trek-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  padding: clamp(24px, 5vw, 42px);
  overflow: hidden;
  border: 1px solid rgba(248, 200, 74, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(5, 4, 3, 0.9), rgba(5, 4, 3, 0.52)),
    url("https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&w=1500&q=82") center calc(50% + var(--banner-parallax, 0px)) / cover no-repeat;
  box-shadow: var(--shadow);
}

.trek-banner p:not(.eyebrow) {
  max-width: 620px;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.trail-cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-section {
  max-width: none;
  width: 100%;
  padding-inline: max(16px, calc((100vw - var(--max-width)) / 2 + 28px));
  background:
    radial-gradient(circle at 80% 15%, rgba(255, 153, 31, 0.11), transparent 22rem),
    linear-gradient(180deg, rgba(248, 200, 74, 0.025), transparent);
}

.gallery-grid {
  column-count: 4;
  column-gap: 18px;
}

.gallery-item {
  display: block;
  width: 100%;
  margin: 0 0 18px;
  padding: 0;
  break-inside: avoid;
  border: 1px solid rgba(248, 200, 74, 0.16);
  border-radius: var(--radius);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.26);
}

.gallery-item span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  padding: 9px 10px;
  border: 1px solid rgba(248, 200, 74, 0.18);
  border-radius: 4px;
  color: var(--gold-soft);
  background: rgba(6, 5, 4, 0.66);
  font-size: 0.82rem;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.team-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.team-image {
  aspect-ratio: 1 / 1;
}

.team-social {
  display: flex;
  gap: 8px;
}

.team-social a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(248, 200, 74, 0.2);
  border-radius: 50%;
  color: var(--gold-soft);
  background: rgba(248, 200, 74, 0.07);
}

.team-social svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.about-section {
  background:
    linear-gradient(rgba(5, 4, 3, 0.84), rgba(5, 4, 3, 0.96)),
    url("https://images.unsplash.com/photo-1537420327992-d6e192287183?auto=format&fit=crop&w=1600&q=80") center calc(50% + var(--about-parallax, 0px)) / cover no-repeat;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
  gap: 36px;
  align-items: center;
}

.about-layout p + p {
  margin-top: 18px;
}

.about-values {
  display: grid;
  gap: 14px;
}

.about-values article {
  padding: 22px;
}

.about-values strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-soft);
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.16rem;
}

.about-values span {
  color: var(--muted);
  line-height: 1.6;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: start;
  width: min(100%, var(--max-width));
  margin-inline: auto;
  padding: clamp(24px, 5vw, 40px);
}

.contact-form,
.newsletter-form {
  display: grid;
  gap: 10px;
}

.contact-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-form textarea,
.contact-form .btn,
.form-message {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(248, 200, 74, 0.24);
  border-radius: 4px;
  outline: 0;
  color: var(--text);
  background: rgba(5, 4, 3, 0.62);
  transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

input,
select {
  min-height: 50px;
  padding: 0 15px;
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--gold-soft) 50%),
    linear-gradient(135deg, var(--gold-soft) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 21px,
    calc(100% - 12px) 21px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

textarea {
  min-height: 122px;
  padding: 14px 15px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(200, 184, 149, 0.72);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(248, 200, 74, 0.62);
  background: rgba(5, 4, 3, 0.82);
  box-shadow: 0 0 0 4px rgba(248, 200, 74, 0.1);
}

input.error,
select.error,
textarea.error {
  border-color: rgba(255, 92, 36, 0.72);
  box-shadow: 0 0 0 4px rgba(255, 92, 36, 0.1);
}

.newsletter-message,
.form-message {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.success {
  color: #d9ffe9;
}

.error-text {
  color: #ffd4ca;
}

.site-footer {
  border-top: 1px solid rgba(248, 200, 74, 0.16);
  background: #050403;
  padding: 42px clamp(16px, 5vw, 72px) 24px;
}

.footer-newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.75fr);
  gap: 24px;
  align-items: center;
  width: min(100%, var(--max-width));
  margin: 0 auto 32px;
  padding: clamp(22px, 4vw, 34px);
}

.footer-newsletter p:not(.eyebrow) {
  margin: 10px 0 0;
  color: var(--muted);
}

.newsletter-form {
  grid-template-columns: minmax(0, 1fr) auto;
}

.newsletter-message {
  grid-column: 1 / -1;
}

.footer-main {
  justify-content: space-between;
  gap: 24px;
  width: min(100%, var(--max-width));
  margin-inline: auto;
}

.footer-links,
.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-links {
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  padding: 8px 10px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 900;
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: var(--gold-soft);
}

.social-links a,
.float-btn {
  display: grid;
  place-items: center;
  border: 1px solid rgba(248, 200, 74, 0.22);
  border-radius: 50%;
  color: var(--gold-soft);
  background: rgba(248, 200, 74, 0.08);
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.social-links a {
  width: 42px;
  height: 42px;
}

.social-links a:hover,
.float-btn:hover {
  transform: translateY(-3px);
  border-color: rgba(248, 200, 74, 0.46);
  background: rgba(248, 200, 74, 0.14);
}

.social-links svg,
.float-btn svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.copyright {
  width: min(100%, var(--max-width));
  margin: 24px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(248, 200, 74, 0.12);
  color: var(--dim);
  font-size: 0.9rem;
  text-align: center;
}

.floating-actions {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: grid;
  gap: 10px;
}

.float-btn {
  width: 44px;
  height: 44px;
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 24px;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 240ms ease;
}

body.lightbox-open .lightbox {
  pointer-events: auto;
  opacity: 1;
}

.lightbox img {
  max-width: min(1040px, 92vw);
  max-height: 78vh;
  object-fit: contain;
  border: 1px solid rgba(248, 200, 74, 0.26);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: scale(0.94);
  transition: transform 240ms var(--ease);
}

body.lightbox-open .lightbox img {
  transform: scale(1);
}

.lightbox p {
  margin: 14px 0 0;
  color: var(--gold-soft);
  font-weight: 900;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(248, 200, 74, 0.28);
  border-radius: 50%;
  color: var(--gold-soft);
  background: rgba(8, 6, 5, 0.7);
  font-size: 1.8rem;
}

.reveal,
.section-heading,
.trek-card,
.video-card,
.upcoming-card,
.fort-card,
.team-card,
.trail-card,
.gallery-item,
.stat-card,
.community-card,
.product-card,
.future-feature-card,
.trek-plan-card {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(28px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease), filter 700ms ease;
}

.reveal-left {
  transform: translateX(-34px);
}

.reveal-right {
  transform: translateX(34px);
}

.zoom-in {
  transform: translateY(16px) scale(0.96);
}

.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate(0, 0) scale(1);
}

@keyframes logoPulse {
  0%, 100% { box-shadow: 0 0 28px rgba(255, 153, 31, 0.24); }
  50% { box-shadow: 0 0 42px rgba(255, 153, 31, 0.42); }
}

@keyframes flagWave {
  0%, 100% { transform: skewY(0deg) scaleX(1); }
  50% { transform: skewY(-5deg) scaleX(0.96); }
}

@keyframes fogMove {
  from { transform: translateX(-8%) scale(1); }
  to { transform: translateX(8%) scale(1.08); }
}

@keyframes cloudDrift {
  from { transform: translateX(0); }
  to { transform: translateX(calc(100vw + 520px)); }
}

@keyframes markerPulse {
  0%, 100% { box-shadow: 0 0 0 7px rgba(255, 153, 31, 0.12), 0 0 30px rgba(255, 153, 31, 0.34); }
  50% { box-shadow: 0 0 0 14px rgba(255, 153, 31, 0.04), 0 0 42px rgba(255, 153, 31, 0.5); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.45; transform: scaleY(0.75); }
  50% { opacity: 1; transform: scaleY(1); }
}

@keyframes loaderLine {
  from { transform: translateX(-110%); }
  to { transform: translateX(260%); }
}

@keyframes ripple {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(8);
  }
}

@media (max-width: 1120px) {
  .upcoming-grid,
  .team-grid,
  .trail-cards,
  .community-grid,
  .product-grid,
  .future-feature-grid,
  .trek-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fort-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    column-count: 3;
  }
}

@media (max-width: 980px) {
  body {
    cursor: auto;
  }

  button,
  a {
    cursor: pointer;
  }

  .custom-cursor {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 90;
    display: grid;
    align-content: start;
    width: min(88vw, 390px);
    height: 100dvh;
    gap: 10px;
    padding: 96px 20px 28px;
    border-left: 1px solid rgba(248, 200, 74, 0.18);
    background:
      linear-gradient(160deg, rgba(255, 255, 255, 0.09), transparent 34%),
      rgba(8, 6, 5, 0.91);
    box-shadow: -24px 0 80px rgba(0, 0, 0, 0.48);
    backdrop-filter: blur(24px);
    transform: translateX(105%);
    transition: transform 360ms var(--ease);
  }

  body.nav-open .nav-links {
    transform: translateX(0);
  }

  .nav-link {
    display: flex;
    min-height: 52px;
    align-items: center;
    padding: 0 16px;
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 300ms ease, transform 300ms var(--ease), color 220ms ease, background 220ms ease, border-color 220ms ease;
  }

  body.nav-open .nav-link {
    opacity: 1;
    transform: translateX(0);
  }

  body.nav-open .nav-link:nth-child(1) { transition-delay: 70ms; }
  body.nav-open .nav-link:nth-child(2) { transition-delay: 110ms; }
  body.nav-open .nav-link:nth-child(3) { transition-delay: 150ms; }
  body.nav-open .nav-link:nth-child(4) { transition-delay: 190ms; }
  body.nav-open .nav-link:nth-child(5) { transition-delay: 230ms; }
  body.nav-open .nav-link:nth-child(6) { transition-delay: 270ms; }
  body.nav-open .nav-link:nth-child(7) { transition-delay: 310ms; }
  body.nav-open .nav-link:nth-child(8) { transition-delay: 350ms; }
  body.nav-open .nav-link:nth-child(9) { transition-delay: 390ms; }

  .map-layout,
  .find-trek-shell,
  .about-layout,
  .contact-card,
  .footer-newsletter,
  .trek-pool-hero {
    grid-template-columns: 1fr;
  }

  .trek-banner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 76px;
  }

  .site-header {
    padding: 12px 14px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-copy span {
    font-size: 0.92rem;
  }

  .brand-copy small {
    display: none;
  }

  .hero-slider,
  .hero-track,
  .hero-slide {
    min-height: 92svh;
  }

  .hero-slide {
    padding: 104px 16px 128px;
  }

  .hero-slide::before {
    background:
      radial-gradient(circle at 28% 24%, rgba(255, 153, 31, 0.24), transparent 16rem),
      linear-gradient(180deg, rgba(5, 4, 3, 0.76), rgba(5, 4, 3, 0.46) 38%, rgba(5, 4, 3, 0.92) 100%);
  }

  h1 {
    font-size: clamp(3.3rem, 17vw, 5.7rem);
  }

  .hero-content p:not(.eyebrow) {
    font-size: 1rem;
    line-height: 1.66;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    width: min(100%, 360px);
  }

  .btn {
    width: 100%;
  }

  .saffron-flag {
    right: 22px;
    top: 94px;
    width: 64px;
    height: 42px;
    opacity: 0.78;
  }

  .hero-arrow {
    top: auto;
    bottom: 70px;
    width: 42px;
    height: 42px;
    transform: none;
  }

  .hero-dots {
    bottom: 76px;
  }

  .scroll-indicator {
    display: none;
  }

  .section {
    padding: 58px 16px;
  }

  .section-heading,
  .section-heading.with-action {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 22px;
  }

  .section-heading h2,
  .footer-newsletter h2,
  .contact-card h2,
  .trek-banner h2,
  .about-layout h2 {
    font-size: clamp(1.9rem, 10vw, 2.95rem);
  }

  .rail-slider {
    grid-template-columns: 1fr;
  }

  .slider-btn {
    display: none;
  }

  .rail-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .rail-viewport::-webkit-scrollbar {
    display: none;
  }

  .trek-track,
  .video-track {
    transform: none !important;
    gap: 14px;
    padding-bottom: 4px;
  }

  .trek-card,
  .video-card {
    min-width: min(86vw, 360px);
    max-width: min(86vw, 360px);
    scroll-snap-align: start;
  }

  .maharashtra-map {
    min-height: 420px;
  }

  .find-map-card,
  .nearby-panel {
    min-height: auto;
  }

  .find-map-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .find-map {
    height: min(68vh, 460px);
    min-height: 360px;
  }

  .nearby-list {
    max-height: none;
    overflow: visible;
    padding: 14px;
  }

  .nearby-actions {
    grid-template-columns: 1fr;
  }

  .map-marker span {
    display: none;
  }

  .upcoming-grid,
  .fort-grid,
  .team-grid,
  .trail-cards,
  .stats-grid,
  .community-grid,
  .future-feature-grid,
  .trek-plan-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 6px;
  }

  .product-grid::-webkit-scrollbar {
    display: none;
  }

  .product-card {
    min-width: min(84vw, 340px);
    scroll-snap-align: start;
  }

  .trek-plan-toolbar,
  .trek-pool-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .trek-plan-toolbar select {
    width: 100%;
  }

  .trek-pool-stats,
  .plan-detail-grid,
  .create-plan-form,
  .join-request-form {
    grid-template-columns: 1fr;
  }

  .product-actions,
  .plan-actions {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    column-count: 2;
    column-gap: 12px;
  }

  .gallery-item {
    margin-bottom: 12px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-form,
  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .footer-main {
    align-items: flex-start;
    flex-direction: column;
  }

  .floating-actions {
    right: 12px;
    bottom: 12px;
  }

  .float-btn {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 460px) {
  .nav-links {
    width: min(92vw, 360px);
    padding-inline: 16px;
  }

  .hero-meta {
    gap: 7px;
  }

  .hero-meta span {
    min-height: 28px;
    font-size: 0.72rem;
  }

  .gallery-grid {
    column-count: 1;
  }

  .social-links {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 720px), (hover: none) and (pointer: coarse) {
  html {
    scroll-behavior: auto;
  }

  body {
    background: linear-gradient(135deg, #050403 0%, #0e0a07 52%, #050403 100%);
  }

  .site-texture,
  .hero-fog,
  .cloud {
    display: none !important;
  }

  .site-header,
  .site-header.scrolled,
  .nav-backdrop,
  .nav-links,
  .btn-secondary,
  .text-action,
  .hero-arrow,
  .slider-btn,
  .hero-dots,
  .find-map-card,
  .nearby-panel,
  .map-popup,
  .fort-popup,
  .modal-backdrop,
  .modal-panel,
  .lightbox {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  .site-header,
  .site-header.scrolled {
    background: rgba(8, 6, 5, 0.96);
    transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  }

  .nav-backdrop {
    background: rgba(0, 0, 0, 0.62);
    transition: opacity 180ms ease;
  }

  .nav-links {
    height: calc(var(--app-height, 1vh) * 100);
    max-height: calc(var(--app-height, 1vh) * 100);
    overflow-y: auto;
    background:
      linear-gradient(160deg, rgba(255, 153, 31, 0.12), transparent 36%),
      rgba(8, 6, 5, 0.98);
    transition: transform 280ms var(--ease);
  }

  .hero,
  .hero-slider,
  .hero-track,
  .hero-slide {
    min-height: calc(var(--app-height, 1vh) * 92);
  }

  .hero-track,
  .trek-track,
  .video-track {
    will-change: auto;
  }

  .hero-image {
    inset: 0;
    width: 100%;
    height: 100%;
    filter: brightness(0.82) saturate(1.04);
    transform: translateZ(0) scale(1.02) !important;
    will-change: auto;
  }

  .hero-content {
    filter: none;
    transform: translateY(18px);
    transition: opacity 420ms var(--ease), transform 420ms var(--ease);
  }

  .hero-slide.active .hero-content {
    filter: none;
  }

  .saffron-flag,
  .scroll-indicator span,
  .map-marker.current::after {
    animation: none !important;
  }

  .reveal,
  .section-heading,
  .trek-card,
  .video-card,
  .upcoming-card,
  .fort-card,
  .team-card,
  .trail-card,
  .gallery-item,
  .stat-card,
  .community-card,
  .product-card,
  .future-feature-card,
  .trek-plan-card {
    filter: none;
    transition: opacity 420ms var(--ease), transform 420ms var(--ease);
  }

  .is-visible {
    filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
