/* ─────────────────────────────────────────────────────────────
   LOCATION CLUSTER PAGES
   /dune-buggy-dubai/{lahbab-red-dunes|al-qudra|big-red|fossil-rock}/
   Built on the same brand tokens as main.css + pillar.css + vehicle.css
   ───────────────────────────────────────────────────────────── */

/* ── HERO ─────────────────────────────────────────────────── */
.loc-hero {
  position: relative;
  isolation: isolate;
  min-height: 70vh;
  padding: clamp(80px, 12vw, 130px) 0 clamp(60px, 8vw, 110px);
  background: linear-gradient(180deg, #0a1418 0%, #072F38 60%, #141210 100%);
  overflow: hidden;
  color: #fff;
}
.loc-hero[data-palette="warm-red"] { background: linear-gradient(180deg, #1a0a05 0%, #3a1a0a 55%, #141210 100%); }
.loc-hero[data-palette="warm-gold"] { background: linear-gradient(180deg, #1a1408 0%, #3a2a10 55%, #141210 100%); }
.loc-hero[data-palette="warm-mixed"] { background: linear-gradient(180deg, #0a1418 0%, #2e1a14 55%, #141210 100%); }

.loc-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .6;
}
.loc-hero-bg svg { width: 100%; height: 100%; display: block; }
.loc-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.05) brightness(.72);
}

.loc-hero .wrap {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.loc-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 75% 25%, rgba(255, 224, 168, .25), transparent 50%),
    linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, .55) 100%);
  pointer-events: none;
  z-index: -1;
}

.loc-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .68);
  margin-bottom: 28px;
}
.loc-breadcrumb a { color: rgba(255, 255, 255, .68); text-decoration: none; transition: color .2s; }
.loc-breadcrumb a:hover { color: #E8652B; }
.loc-breadcrumb span:not([aria-current]) { color: rgba(255, 255, 255, .35); }
.loc-breadcrumb [aria-current] { color: #fff; }

.loc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #D4A843;
  padding: 6px 14px;
  border: 1px solid rgba(212, 168, 67, .35);
  border-radius: 999px;
  background: rgba(212, 168, 67, .08);
  margin-bottom: 22px;
}

.loc-h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(38px, 7vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
  color: #fff;
  max-width: 920px;
}

.loc-sub {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.6;
  color: rgba(255, 255, 255, .82);
  max-width: 680px;
  margin: 0 0 26px;
}

.loc-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 30px;
}
.loc-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .92);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  font-family: 'Inter Tight', sans-serif;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.loc-from {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 22px;
  background: rgba(20, 18, 16, .55);
  border: 1px solid rgba(232, 101, 43, .35);
  border-radius: 14px;
  margin: 0 0 28px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lf-from-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #D4A843;
}
.lf-from-num {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 30px;
  color: #fff;
  letter-spacing: -.02em;
}
.lf-from-meta {
  font-size: 13px;
  color: rgba(255, 255, 255, .62);
  font-family: 'Inter Tight', sans-serif;
}

.loc-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.loc-ctas .btn { padding: 14px 26px; font-size: 15px; }
.loc-ctas .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
  background: rgba(10, 20, 24, .22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.loc-ctas .btn-ghost:hover {
  color: #fff;
  border-color: rgba(232, 101, 43, .75);
  background: rgba(232, 101, 43, .16);
}

.loc-hero-badge {
  position: absolute;
  top: 30px;
  right: 30px;
  background: linear-gradient(135deg, #E8652B, #C2410C);
  color: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(232, 101, 43, .35);
}

@media (max-width: 720px) {
  .loc-hero { min-height: auto; padding: 80px 0 50px; }
  .loc-h1 { font-size: clamp(34px, 9vw, 50px); }
  .loc-hero-badge { position: static; display: inline-flex; margin-bottom: 18px; }
  .loc-ctas .btn { width: 100%; justify-content: center; text-align: center; }
}

/* ── LOCATION FACTS STRIP ──────────────────────────────────── */
.loc-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto;
}
.loc-fact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #E8DDC8;
  border-left: 3px solid #E8652B;
  border-radius: 10px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.loc-fact:hover {
  transform: translateY(-2px);
  border-left-color: #C2410C;
  box-shadow: 0 12px 28px rgba(20, 18, 16, .08);
}
.lf-key {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #6b6660;
}
.lf-val {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 17px;
  color: #141210;
  font-weight: 500;
  line-height: 1.3;
}

/* ── AVAILABLE BUGGIES GRID ────────────────────────────────── */
.loc-bgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
}
.loc-bcard {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 22px 22px;
  background: #fff;
  border: 1px solid #E8DDC8;
  border-radius: 14px;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.lbc-media {
  position: relative;
  margin: 0 -22px 10px;
  aspect-ratio: 16 / 9;
  background: #0a1418;
  overflow: hidden;
}
.lbc-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.05) contrast(1.03);
  transition: transform .35s ease;
}
.loc-bcard:hover .lbc-media img { transform: scale(1.04); }
.lbc-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 56%, rgba(20, 18, 16, .28));
  pointer-events: none;
}
.loc-bcard:hover {
  transform: translateY(-4px);
  border-color: #E8652B;
  box-shadow: 0 18px 40px rgba(20, 18, 16, .1);
}
.lbc-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #C2410C;
  background: #FFF1E8;
  padding: 4px 10px;
  border-radius: 999px;
  align-self: flex-start;
}
.loc-bcard h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  color: #141210;
  margin: 4px 0 0;
  line-height: 1.2;
  letter-spacing: -.01em;
}
.lbc-price {
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  color: #4a4742;
}
.lbc-price b {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 20px;
  color: #E8652B;
  margin: 0 4px;
}
.lbc-sub {
  font-family: 'Inter Tight', sans-serif;
  font-size: 13.5px;
  color: #6b6660;
  margin: 4px 0 14px;
  flex: 1;
  line-height: 1.5;
}
.lbc-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}
.lbc-actions .btn { flex: 1; padding: 11px 14px; font-size: 13px; text-align: center; justify-content: center; }
.loc-bnote {
  text-align: center;
  margin: 30px auto 0;
  max-width: 600px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 14.5px;
  color: #4a4742;
}
.loc-bnote a {
  color: #E8652B;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(232, 101, 43, .35);
  transition: border-color .2s;
}
.loc-bnote a:hover { border-bottom-color: #E8652B; }

/* ── BEST TIME TO RIDE ─────────────────────────────────────── */
.bt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.bt-card {
  padding: 22px 22px;
  background: #fff;
  border: 1px solid #E8DDC8;
  border-top: 3px solid #D4A843;
  border-radius: 12px;
  transition: transform .25s, border-top-color .25s, box-shadow .25s;
}
.bt-card:hover {
  transform: translateY(-3px);
  border-top-color: #E8652B;
  box-shadow: 0 14px 32px rgba(20, 18, 16, .08);
}
.bt-card h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 19px;
  color: #141210;
  margin: 0 0 10px;
  line-height: 1.25;
}
.bt-card p {
  font-family: 'Inter Tight', sans-serif;
  font-size: 14.5px;
  line-height: 1.6;
  color: #4a4742;
  margin: 0;
}

/* ── PICKUP / MEETING POINT ────────────────────────────────── */
.loc-pickup {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}
.pu-address {
  padding: 26px 26px;
  background: #fff;
  border: 1px solid #E8DDC8;
  border-radius: 14px;
  align-self: start;
}
.pu-label {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #C2410C;
  margin-bottom: 14px;
}
.pu-address p {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.45;
  color: #141210;
  margin: 0 0 18px;
}
.pu-map {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: #0D4F5C;
  color: #fff;
  border-radius: 999px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background .25s, transform .25s;
}
.pu-map:hover { background: #072F38; transform: translateY(-1px); }
.pu-lines {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pu-line {
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #E8DDC8;
  border-left: 3px solid #0D4F5C;
  border-radius: 10px;
  transition: border-left-color .25s, transform .25s;
}
.pu-line:hover { border-left-color: #E8652B; transform: translateX(2px); }
.pu-line h3 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #141210;
  margin: 0 0 6px;
  letter-spacing: -.005em;
}
.pu-line p {
  font-family: 'Inter Tight', sans-serif;
  font-size: 14.5px;
  line-height: 1.6;
  color: #4a4742;
  margin: 0;
}

@media (max-width: 820px) {
  .loc-pickup { grid-template-columns: 1fr; }
}

/* ── COMPARE NEARBY ─────────────────────────────────────────── */
/* Safety policy note */
.policy-mini {
  margin-top: 18px;
  padding: 18px 20px;
  background: #FFF1E8;
  border: 1px solid rgba(232, 101, 43, .24);
  border-left: 3px solid #E8652B;
  border-radius: 12px;
}
.policy-mini h3 {
  margin: 0 0 10px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #141210;
}
.policy-mini ul {
  margin: 0 0 12px 18px;
  padding: 0;
  color: #4a4742;
}
.policy-mini li {
  display: list-item;
  margin: 6px 0;
  color: #4a4742;
}
.policy-mini li::before {
  content: none;
}
.policy-mini b {
  color: #141210;
}
.policy-mini a {
  color: #C2410C;
  font-weight: 700;
  text-decoration: none;
}
.policy-mini a:hover {
  text-decoration: underline;
}

.cmp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.cmp-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 22px;
  background: #fff;
  border: 1px solid #E8DDC8;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.cmp-card:hover {
  transform: translateY(-3px);
  border-color: #E8652B;
  box-shadow: 0 16px 36px rgba(20, 18, 16, .1);
}
.cc-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #6b6660;
}
.cmp-card h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  color: #141210;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -.01em;
}
.cmp-card p {
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  color: #4a4742;
  line-height: 1.55;
  margin: 4px 0 14px;
  flex: 1;
}
.cc-link {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  color: #E8652B;
  margin-top: auto;
}

/* ── SECTION POLISH (defensive) ─────────────────────────────── */
.loc-bgrid + .loc-bnote { padding: 0 16px; }

/* Reveal compatibility */
.loc-fact, .loc-bcard, .bt-card, .pu-line, .cmp-card {
  opacity: 1;
  transform: none;
}
