:root {
  --andina-canvas: #f6f8fb;
  --andina-surface: #eef2f7;
  --andina-surface-soft: #ffffff;
  --andina-ink: #0f172a;
  --andina-muted: #475569;
  --andina-line: #d5dce8;
  --andina-signal: #0f766e;
  --andina-signal-hover: #115e59;
  --andina-accent-tag: #0369a1;
  --font-heading: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-text: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

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

body {
  background-color: var(--andina-canvas);
  color: var(--andina-ink);
  font-family: var(--font-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--andina-ink);
  font-style: normal;
}

p {
  margin-bottom: 1.25rem;
  color: var(--andina-muted);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.mono-indicator {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--andina-accent-tag);
  display: inline-block;
  margin-bottom: 0.5rem;
}

/* Header & Navigation */
.geo-header-dock {
  background-color: var(--andina-surface-soft);
  border-bottom: 1px solid var(--andina-line);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.geo-nav-chassis {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.15rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.geo-brand-symbol {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--andina-signal);
}

.geo-brand-symbol svg {
  width: 28px;
  height: 28px;
  stroke: var(--andina-signal);
}

.geo-menu-toggle {
  display: none;
}

.geo-hamburger-trigger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.geo-hamburger-trigger span {
  width: 24px;
  height: 2px;
  background-color: var(--andina-ink);
  transition: transform 0.2s ease;
}

.geo-nav-rail {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.geo-nav-rail a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--andina-ink);
}

.geo-nav-rail a:hover {
  color: var(--andina-signal);
}

.geo-action-link {
  background-color: var(--andina-signal);
  color: #ffffff !important;
  padding: 0.65rem 1.25rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.2s ease;
  display: inline-block;
}

.geo-action-link:hover {
  background-color: var(--andina-signal-hover);
}

/* Preset A - Hero */
.geo-stage-viewport {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('img/bg.webp');
  background-size: cover;
  background-position: center;
  padding: 5rem 1.5rem 6rem;
}

.geo-stage-viewport::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(246, 248, 251, 0.78);
  backdrop-filter: blur(2px);
}

.geo-stage-inner {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.geo-stage-inner h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  margin-bottom: 1.5rem;
  color: var(--andina-ink);
}

.geo-stage-lead {
  font-size: 1.15rem;
  max-width: 720px;
  margin: 0 auto 2rem;
  color: var(--andina-muted);
}

/* Fact Strip directly below hero */
.geo-telemetry-strip {
  max-width: 1100px;
  margin: -40px auto 4rem;
  position: relative;
  z-index: 10;
  background-color: var(--andina-surface);
  border: 1px solid var(--andina-line);
  border-radius: 6px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 1.75rem 1rem;
}

.geo-telemetry-node {
  text-align: center;
  padding: 0 1rem;
  border-right: 1px solid var(--andina-line);
}

.geo-telemetry-node:last-child {
  border-right: none;
}

.geo-node-metric {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--andina-signal);
  margin-bottom: 0.25rem;
}

.geo-node-label {
  font-size: 0.85rem;
  color: var(--andina-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Content Split Section */
.geo-bifurcated-field {
  max-width: 1240px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
  display: flex;
  align-items: center;
  gap: 3.5rem;
}

.geo-bifurcated-visual {
  flex: 0 0 45%;
}

.geo-bifurcated-visual img {
  border-radius: 8px;
  border: 1px solid var(--andina-line);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  width: 100%;
  object-fit: cover;
}

.geo-bifurcated-lexicon {
  flex: 1;
}

.geo-pull-verbatim {
  font-size: 1.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--andina-ink);
  line-height: 1.35;
  margin-bottom: 1.5rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--andina-signal);
}

/* Track Modules / Features */
.geo-domain-canopy {
  background-color: var(--andina-surface-soft);
  border-top: 1px solid var(--andina-line);
  border-bottom: 1px solid var(--andina-line);
  padding: 5rem 1.5rem;
}

.geo-zone-constellation {
  max-width: 1240px;
  margin: 0 auto;
}

.geo-zone-header {
  margin-bottom: 3rem;
  text-align: center;
}

.geo-zone-header h2 {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.geo-matrix-array {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.geo-matrix-element {
  background-color: var(--andina-surface);
  border: 1px solid var(--andina-line);
  border-top: 4px solid var(--andina-signal);
  border-radius: 4px;
  padding: 2rem 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.geo-matrix-element:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -8px rgba(15, 23, 42, 0.08);
}

.geo-element-icon {
  width: 36px;
  height: 36px;
  stroke: var(--andina-signal);
  margin-bottom: 1.25rem;
}

.geo-matrix-element h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

/* 3-Column Direction Track List */
.geo-vector-concourse {
  max-width: 1240px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.geo-trisection-path {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 2rem;
}

.geo-lane-cell {
  position: relative;
  padding: 1.5rem 0;
  border-top: 1px solid var(--andina-line);
}

.geo-lane-ordinal {
  font-family: var(--font-mono);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--andina-signal);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.geo-lane-cell h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

/* CTA Band */
.geo-promontory-strip {
  background-color: var(--andina-surface);
  border-top: 1px solid var(--andina-line);
  border-bottom: 1px solid var(--andina-line);
  padding: 4.5rem 1.5rem;
  text-align: center;
}

.geo-promontory-inner {
  max-width: 760px;
  margin: 0 auto;
}

.geo-promontory-inner h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.geo-promontory-inner p {
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

/* Form Layout (reserve.html) */
.geo-registry-arena {
  max-width: 640px;
  margin: 3.5rem auto 5rem;
  padding: 0 1.5rem;
}

.geo-terminal-form {
  background-color: var(--andina-surface-soft);
  border: 1px solid var(--andina-line);
  border-radius: 6px;
  padding: 2.5rem 2rem;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.03);
}

.geo-field-bay {
  margin-bottom: 1.5rem;
}

.geo-field-bay label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--andina-ink);
}

.geo-field-bay input[type="text"],
.geo-field-bay input[type="email"],
.geo-field-bay textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--andina-line);
  border-radius: 4px;
  background-color: #fafbfc;
  font-family: var(--font-text);
  font-size: 0.95rem;
  color: var(--andina-ink);
}

.geo-field-bay input:focus,
.geo-field-bay textarea:focus {
  outline: none;
  border-color: var(--andina-signal);
  background-color: #ffffff;
}

.geo-check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  font-size: 0.85rem;
  color: var(--andina-muted);
}

.geo-check-row input[type="checkbox"] {
  margin-top: 0.2rem;
  accent-color: var(--andina-signal);
}

.geo-submit-bolt {
  width: 100%;
  padding: 0.85rem 1.5rem;
  background-color: var(--andina-signal);
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.geo-submit-bolt:hover {
  background-color: var(--andina-signal-hover);
}

.geo-form-disclaimer {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--andina-muted);
  text-align: center;
}

/* Minimal Hero */
.geo-minimal-summit {
  padding: 4rem 1.5rem 2.5rem;
  text-align: center;
  background-color: var(--andina-surface-soft);
  border-bottom: 1px solid var(--andina-line);
}

.geo-minimal-summit h1 {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

/* Stat Matrix for Expert */
.geo-stat-quadrant {
  max-width: 1240px;
  margin: 3rem auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.geo-stat-brick {
  background-color: var(--andina-surface-soft);
  border: 1px solid var(--andina-line);
  padding: 1.75rem 1rem;
  text-align: center;
  border-radius: 4px;
}

.geo-stat-figure {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--andina-signal);
}

/* Text Legal Pages */
.geo-legal-scroll {
  max-width: 840px;
  margin: 3rem auto 6rem;
  padding: 0 1.5rem;
  min-height: 60vh;
}

.geo-legal-scroll h2 {
  font-size: 1.5rem;
  margin: 2rem 0 0.75rem;
}

.geo-legal-scroll ul {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--andina-muted);
}

.geo-legal-scroll li {
  margin-bottom: 0.5rem;
}

/* Thank You */
.geo-thank-sanctuary {
  max-width: 720px;
  margin: 4rem auto 6rem;
  padding: 0 1.5rem;
  text-align: center;
}

.geo-thank-sanctuary img {
  border-radius: 8px;
  margin: 2rem auto;
  max-height: 320px;
  object-fit: cover;
  border: 1px solid var(--andina-line);
}

/* Footer */
.geo-terminal-footer {
  background-color: #0b1320;
  color: #94a3b8;
  padding: 3.5rem 1.5rem 2rem;
  border-top: 1px solid #1e293b;
}

.geo-footer-basin {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.geo-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-bottom: 1px solid #1e293b;
  padding-bottom: 2rem;
}

.geo-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: #ffffff;
}

.geo-footer-brand svg {
  width: 24px;
  height: 24px;
  stroke: var(--andina-signal);
}

.geo-footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.geo-footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
}

.geo-footer-links a:hover {
  color: #ffffff;
}

.geo-footer-clause {
  font-size: 0.85rem;
  color: #64748b;
  text-align: center;
}

.geo-footer-subline {
  font-size: 0.8rem;
  color: #475569;
  text-align: center;
}

/* Cookie Notice */
.geo-cookie-capsule {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #0f172a;
  color: #f8fafc;
  padding: 1.25rem 1.5rem;
  z-index: 9999;
  border-top: 1px solid #334155;
  display: none;
}

.geo-cookie-body {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.geo-cookie-body p {
  color: #cbd5e1;
  font-size: 0.9rem;
  margin: 0;
  max-width: 800px;
}

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

.geo-cookie-allow {
  background-color: var(--andina-signal);
  color: #ffffff;
  border: none;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
}

.geo-cookie-dismiss {
  background-color: #334155;
  color: #e2e8f0;
  border: none;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .geo-telemetry-strip {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 1.5rem;
  }
  .geo-telemetry-node:nth-child(2) {
    border-right: none;
  }
  .geo-bifurcated-field {
    flex-direction: column;
    gap: 2rem;
  }
  .geo-bifurcated-visual {
    flex: 0 0 100%;
    width: 100%;
  }
  .geo-trisection-path {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .geo-stat-quadrant {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .geo-hamburger-trigger {
    display: flex;
  }
  .geo-nav-rail {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--andina-surface-soft);
    border-bottom: 1px solid var(--andina-line);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
  }
  .geo-menu-toggle:checked ~ .geo-nav-rail {
    display: flex;
  }
  .geo-telemetry-strip {
    grid-template-columns: 1fr;
    margin-top: 1rem;
  }
  .geo-telemetry-node {
    border-right: none;
    border-bottom: 1px solid var(--andina-line);
    padding-bottom: 1rem;
  }
  .geo-telemetry-node:last-child {
    border-bottom: none;
  }
  .geo-stat-quadrant {
    grid-template-columns: 1fr;
  }
}