:root {
  --forest-green: #1B3B2B;
  --forest-dark: #12281D;
  --forest-light: #2C5E43;
  --sand: #E6DBC9;
  --sand-light: #F4EFE6;
  --sand-muted: #D8CEBC;
  --terracotta: #C85A32;
  --terracotta-dark: #A94522;
  --black: #1A1A1A;
  --cream: #FAF7F2;
  --white: #FFFFFF;
  --text-dark: #232724;
  --text-muted: #616B64;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'Space Mono', monospace;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(27, 59, 43, 0.06);
  --shadow-md: 0 8px 24px rgba(27, 59, 43, 0.1);
  --shadow-lg: 0 16px 40px rgba(27, 59, 43, 0.15);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--forest-green);
  line-height: 1.25;
  font-weight: 700;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--terracotta);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--terracotta-dark);
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--terracotta);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--terracotta-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(200, 90, 50, 0.3);
}

.btn-secondary {
  background-color: var(--forest-green);
  color: var(--cream);
}

.btn-secondary:hover {
  background-color: var(--forest-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--forest-green);
  color: var(--forest-green);
}

.btn-outline:hover {
  background-color: var(--forest-green);
  color: var(--cream);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

/* Slim Unstuck Header */
.site-header {
  position: relative;
  background-color: var(--forest-green);
  color: var(--cream);
  border-bottom: 1px solid rgba(230, 219, 201, 0.15);
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--cream);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-logo svg {
  width: 28px;
  height: 28px;
  fill: var(--terracotta);
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  background: rgba(230, 219, 201, 0.15);
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
  color: var(--sand);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--sand-light);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--sand);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--terracotta);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--cream);
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle svg {
  width: 24px;
  height: 24px;
  stroke: var(--cream);
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--forest-dark);
  padding: 1.5rem;
  border-bottom: 3px solid var(--terracotta);
  box-shadow: var(--shadow-lg);
  z-index: 99;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  color: var(--cream);
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(230, 219, 201, 0.1);
}

/* Hero Section */
.hero-section {
  position: relative;
  background-color: var(--forest-green);
  color: var(--cream);
  padding: 5rem 0 6rem;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.07;
  background-image: radial-gradient(var(--sand) 1px, transparent 1px), radial-gradient(var(--sand) 1px, var(--forest-green) 1px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(200, 90, 50, 0.18);
  border: 1px solid var(--terracotta);
  color: var(--sand-light);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  color: var(--cream);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--sand-muted);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(230, 219, 201, 0.15);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--terracotta);
  font-weight: 700;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--sand-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Interactive Field Map Layout & Canvas Styling */
.map-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.map-mode-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.map-toolbar-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.layer-btn {
  background: var(--sand-light);
  border: 1px solid var(--sand-muted);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  cursor: pointer;
  transition: var(--transition);
}

.layer-btn.active {
  background-color: var(--terracotta);
  color: var(--white);
  border-color: var(--terracotta);
}

.map-layout-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 1.5rem;
  min-height: 580px;
}

.map-viewport {
  position: relative;
  background-color: var(--forest-dark);
  border-radius: var(--radius-md);
  border: 2px solid var(--forest-light);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 520px;
}

.world-map-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.world-map-svg .landmass {
  fill: var(--forest-light);
  opacity: 0.45;
  stroke: var(--sand);
  stroke-width: 1;
  transition: var(--transition);
}

.world-map-svg .topo-line {
  fill: none;
  stroke: var(--sand-muted);
  stroke-width: 0.75;
  stroke-dasharray: 2 3;
  opacity: 0.35;
}

.map-viewport.sat-mode .world-map-svg .landmass {
  fill: #1a4231;
  opacity: 0.7;
  stroke: var(--terracotta);
  stroke-width: 1.2;
}

.map-viewport.sat-mode .world-map-svg .topo-line {
  stroke: var(--terracotta);
  opacity: 0.5;
}

.map-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(230, 219, 201, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 219, 201, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  transition: var(--transition);
  z-index: 2;
}

.map-viewport.sat-mode .map-grid-overlay {
  background-color: rgba(11, 26, 19, 0.6);
  background-image: 
    radial-gradient(circle at 50% 50%, rgba(200, 90, 50, 0.15) 0%, transparent 70%),
    linear-gradient(rgba(200, 90, 50, 0.12) 1px, transparent 1px);
  background-size: 100% 100%, 30px 30px;
}

.map-coord-crosshair {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(18, 40, 29, 0.88);
  backdrop-filter: blur(4px);
  color: var(--sand);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--terracotta);
  z-index: 5;
}

/* Map Pins */
.map-pin {
  position: absolute;
  background: var(--terracotta);
  color: var(--white);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px rgba(200, 90, 50, 0.3);
  transition: var(--transition);
  z-index: 10;
}

.map-pin:hover, .map-pin.active {
  background: var(--sand);
  color: var(--forest-dark);
  box-shadow: 0 0 0 6px rgba(230, 219, 201, 0.5);
  transform: translate(-50%, -50%) scale(1.25);
  z-index: 20;
}

.pin-radar {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--terracotta);
  animation: mapPulse 2s infinite;
  pointer-events: none;
}

@keyframes mapPulse {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

.pin-icon {
  font-size: 1rem;
}

.pin-tooltip {
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--forest-dark);
  color: var(--sand-light);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  border: 1px solid var(--sand-muted);
}

.map-pin:hover .pin-tooltip {
  opacity: 1;
}

/* Inspector Sidebar */
.map-inspector-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--sand-muted);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.inspector-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.inspector-img-box {
  height: 180px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1rem;
}

.inspector-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inspector-title {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.inspector-location {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.inspector-desc {
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.inspector-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  background: var(--sand-light);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
}

.insp-meta-item {
  display: flex;
  flex-direction: column;
}

.insp-meta-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.insp-meta-val {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--forest-green);
}

/* Explorer Filter Section */
.section-padding {
  padding: 5rem 0;
}

.section-header {
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.4rem;
  margin-bottom: 0.75rem;
  position: relative;
  display: inline-block;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
}

/* Category Tabs Component */
.filter-wrapper {
  margin-bottom: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: flex-start;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  background: var(--sand-light);
  padding: 0.4rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--sand-muted);
}

.tab-btn {
  background: transparent;
  border: none;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover {
  color: var(--forest-green);
}

.tab-btn.active {
  background-color: var(--forest-green);
  color: var(--cream);
  box-shadow: var(--shadow-sm);
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.gem-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--sand-muted);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.gem-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--terracotta);
}

.card-img-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(27, 59, 43, 0.85);
  backdrop-filter: blur(4px);
  color: var(--sand-light);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(230, 219, 201, 0.3);
}

.card-coord {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(26, 26, 26, 0.75);
  backdrop-filter: blur(4px);
  color: var(--sand-light);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

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

.card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  font-family: var(--font-mono);
}

.card-meta-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.card-title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--forest-green);
}

.card-excerpt {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

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

.no-results-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  background-color: var(--sand-light);
  border-radius: var(--radius-md);
  border: 1px dashed var(--sand-muted);
}

.no-results-message h3 {
  font-size: 1.5rem;
  color: var(--forest-green);
  margin-bottom: 0.5rem;
}

/* Features Grid / Highlight */
.features-section {
  background-color: var(--sand-light);
  border-top: 1px solid var(--sand-muted);
  border-bottom: 1px solid var(--sand-muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.feature-box {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--sand-muted);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(200, 90, 50, 0.1);
  color: var(--terracotta);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--terracotta);
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

/* Detail Page Header Banner */
.detail-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  background-color: var(--forest-dark);
  color: var(--cream);
  display: flex;
  align-items: flex-end;
  padding-bottom: 4rem;
}

.detail-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.detail-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(18, 40, 29, 0.2) 0%, rgba(18, 40, 29, 0.9) 100%);
}

.detail-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.detail-badge-group {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.detail-title {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  color: var(--cream);
  margin-bottom: 1rem;
}

.detail-quick-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--sand);
}

.detail-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3.5rem;
  margin-top: 3rem;
  margin-bottom: 5rem;
}

.detail-article-content h2 {
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
}

.detail-article-content p {
  font-size: 1.05rem;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.detail-article-content blockquote {
  border-left: 4px solid var(--terracotta);
  padding: 1.25rem 1.75rem;
  background-color: var(--sand-light);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  margin: 2rem 0;
  color: var(--forest-green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.sidebar-card {
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--sand-muted);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.sidebar-title {
  font-size: 1.2rem;
  border-bottom: 2px solid var(--sand-light);
  padding-bottom: 0.75rem;
  margin-bottom: 1.25rem;
  color: var(--forest-green);
}

.spec-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px dashed var(--sand-muted);
}

.spec-label {
  color: var(--text-muted);
}

.spec-val {
  font-weight: 600;
  color: var(--forest-green);
  font-family: var(--font-mono);
}

/* Mandatory Footer Styling Across All Pages */
.site-footer {
  background-color: var(--forest-dark);
  color: var(--sand-light);
  padding: 4rem 0 2rem;
  border-top: 4px solid var(--terracotta);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--sand-muted);
  font-size: 0.92rem;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-heading {
  font-family: var(--font-serif);
  color: var(--sand);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

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

.footer-links a {
  color: var(--sand-muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--sand);
  padding-left: 4px;
}

.footer-contact-info {
  font-size: 0.88rem;
  color: var(--sand-muted);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-info p {
  margin: 0;
  display: flex;
  gap: 0.5rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(230, 219, 201, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--sand-muted);
  gap: 1rem;
}

/* Legal Pages Styling */
.legal-container {
  max-width: 900px;
  margin: 4rem auto;
  background-color: var(--white);
  padding: 3rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--sand-muted);
  box-shadow: var(--shadow-sm);
}

.legal-container h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--sand-muted);
  padding-bottom: 1rem;
}

.legal-container h2 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
}

.legal-container p, .legal-container ul {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.legal-container ul {
  padding-left: 1.5rem;
}

.legal-meta {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Contact Page Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 4rem 0;
}

.contact-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--sand-muted);
}

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

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--forest-green);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--sand-muted);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--terracotta);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: -100px;
  left: 0;
  right: 0;
  background-color: var(--forest-dark);
  color: var(--cream);
  padding: 1.25rem;
  z-index: 9999;
  border-top: 3px solid var(--terracotta);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  transition: bottom 0.4s ease-in-out;
}

.cookie-banner.visible {
  bottom: 0;
}

.cookie-banner-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 0.88rem;
  max-width: 800px;
  color: var(--sand-light);
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .map-layout-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .detail-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav, .header-cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .legal-container {
    padding: 1.5rem;
  }
  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}