/* =========================================================
   GEOSOLVO · style.css · v2 (Silicon Valley launch)
   Palette from the pitch deck
   ========================================================= */
:root {
  --navy-900: #0B1220;
  --navy-850: #0E1726;
  --navy-800: #131D2D;
  --navy-700: #1B2636;
  --slate-400: #94A3B8;
  --slate-300: #CBD5E1;
  --white: #FFFFFF;
  --amber: #F59E0B;
  --amber-soft: rgba(245, 158, 11, .14);
  --blue: #4DA8E8;
  --green: #51BF66;
  --violet: #A78BFA;

  --radius: 18px;
  --font: Calibri, Carlito, "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;

  --bs-body-bg: var(--navy-900);
  --bs-body-color: var(--slate-300);
  --bs-body-font-family: var(--font);
}

html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  background: var(--navy-900);
  color: var(--slate-300);
  font-family: var(--font);
  font-size: 1.1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: var(--white); }
a:hover { color: var(--amber); }
h1, h2, h3 { color: var(--white); font-weight: 700; letter-spacing: -0.025em; }
img { max-width: 100%; }

.text-amber { color: var(--amber) !important; }
.text-muted-2 { color: var(--slate-400) !important; }
.link-amber { color: var(--amber); text-decoration: underline; text-underline-offset: 4px; }
.link-amber:hover { color: var(--white); }

/* ---------- buttons ---------- */
.btn-amber {
  --bs-btn-color: var(--navy-900);
  --bs-btn-bg: var(--amber);
  --bs-btn-border-color: var(--amber);
  --bs-btn-hover-color: var(--navy-900);
  --bs-btn-hover-bg: #FBB534;
  --bs-btn-hover-border-color: #FBB534;
  --bs-btn-active-bg: #D98A06;
  --bs-btn-active-border-color: #D98A06;
  --bs-btn-focus-shadow-rgb: 245, 158, 11;
  font-weight: 700;
  border-radius: 999px;
  padding-inline: 1.5rem;
}
.btn-amber.btn-sm { padding-inline: 1rem; }
.btn-ghost {
  --bs-btn-color: var(--white);
  --bs-btn-border-color: rgba(255, 255, 255, .35);
  --bs-btn-hover-color: var(--navy-900);
  --bs-btn-hover-bg: var(--white);
  --bs-btn-hover-border-color: var(--white);
  border-radius: 999px; padding-inline: 1.5rem; font-weight: 600;
  backdrop-filter: blur(6px);
}

/* ---------- navbar ---------- */
.navbar {
  padding-block: 1.1rem;
  transition: background-color .25s ease, padding .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled,
.navbar:has(.navbar-collapse.show) {
  background: rgba(11, 18, 32, .9);
  backdrop-filter: blur(12px);
  padding-block: .6rem;
  border-bottom-color: var(--navy-700);
}
.navbar-brand img { height: 24px; width: auto; display: block; }
.navbar .nav-link { color: var(--slate-300); font-weight: 600; }
.navbar .nav-link:hover,
.navbar .nav-link.active { color: var(--amber); }

/* ---------- typography ---------- */
.eyebrow {
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.mega { font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1; letter-spacing: -0.035em; margin-bottom: 0; }
.lead-sm { font-size: 1.2rem; max-width: 38rem; margin-top: 1.4rem; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 8rem 0 4rem;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 65% 50%; opacity: .9; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--navy-900) 0%, rgba(11, 18, 32, .88) 35%, rgba(11, 18, 32, .35) 70%, rgba(11, 18, 32, .15) 100%),
    linear-gradient(0deg, var(--navy-900) 0%, transparent 35%);
}
@media (max-width: 767.98px) {
  .hero-bg img { opacity: .38; object-position: 60% 50%; }
}
.hero-title { font-size: clamp(3.2rem, 8vw, 6.4rem); line-height: .95; letter-spacing: -0.045em; margin-bottom: 1.5rem; }
.hero-sub { font-size: clamp(1.15rem, 2vw, 1.5rem); color: var(--white); max-width: 32rem; opacity: .9; }

.hero-trail { display: flex; align-items: center; margin-top: 4rem; max-width: 560px; }
.trail-node {
  flex: 0 0 auto;
  width: 54px; height: 54px; border-radius: 50%;
  border: 2px solid var(--amber);
  display: flex; align-items: center; justify-content: center;
  background: rgba(11, 18, 32, .6);
}
.trail-node img { width: 26px; height: 26px; object-fit: contain; }
.trail-main { width: 68px; height: 68px; background: var(--amber-soft); }
.trail-main img { width: 36px; height: 36px; }
.trail-line {
  flex: 1 1 auto; height: 2px; min-width: 20px;
  background: repeating-linear-gradient(90deg, var(--amber) 0 8px, transparent 8px 16px);
  background-size: 32px 2px;
  animation: flow 1.2s linear infinite;
}
@keyframes flow { to { background-position: 32px 0; } }

/* ---------- sections ---------- */
.section { padding: 8rem 0; position: relative; }
.section-alt { background: var(--navy-800); }

/* ---------- hub visual ---------- */
.hub {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(120px, 1.1fr) minmax(220px, 1fr);
  align-items: center;
  padding: 2.5rem;
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(500px 260px at 20% 50%, rgba(245, 158, 11, .10), transparent 70%),
    var(--navy-900);
  border: 1px solid var(--navy-700);
}
.hub-card {
  position: relative;
  display: flex; align-items: center; gap: 1rem;
  background: var(--navy-700);
  border: 1px solid rgba(148, 163, 184, .12);
  border-radius: 14px;
  padding: 1rem 1.2rem;
}
.hub-card img { width: 40px; height: 40px; object-fit: contain; }
.hub-card-main {
  flex-direction: column; text-align: center;
  padding: 2rem 1.5rem;
  border: 2px solid var(--amber);
  box-shadow: 0 0 60px rgba(245, 158, 11, .18);
}
.hub-card-main img { width: 72px; height: 72px; }
.hub-title { color: var(--white); font-weight: 700; font-size: 1.1rem; line-height: 1.2; }
.hub-sub { color: var(--slate-400); font-size: .9rem; }
.hub-sites { display: grid; gap: 1rem; }
.hub-beams { display: grid; gap: 1rem; height: 100%; align-content: center; }
.hub-beams .beam {
  position: relative; display: block; height: 2px; margin: 2.05rem 0;
  background: repeating-linear-gradient(90deg, var(--amber) 0 10px, transparent 10px 18px);
  background-size: 36px 2px;
  animation: flow 1s linear infinite;
}
.hub-beams .beam:nth-child(1) { transform: rotate(-10deg); }
.hub-beams .beam:nth-child(3) { transform: rotate(10deg); }
.hub-beams em {
  position: absolute; left: 50%; top: -1.45rem; transform: translateX(-50%);
  font-style: normal; font-size: .68rem; font-weight: 700; letter-spacing: .18em;
  color: var(--amber);
}
.pulse {
  position: absolute; top: 12px; right: 12px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(81, 191, 102, .6);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse { to { box-shadow: 0 0 0 12px rgba(81, 191, 102, 0); } }

@media (max-width: 767.98px) {
  .hub { grid-template-columns: 1fr; padding: 1.5rem; gap: 0; }
  .hub-beams { grid-template-columns: repeat(3, 1fr); height: 64px; gap: 0; }
  .hub-beams .beam { width: 2px; height: 64px; margin: 0 auto; transform: none !important;
    background: repeating-linear-gradient(180deg, var(--amber) 0 8px, transparent 8px 14px); background-size: 2px 28px;
    animation-name: flowv; }
  .hub-beams em { display: none; }
  .hub-sites { grid-template-columns: repeat(3, 1fr); gap: .6rem; }
  .hub-sites .hub-card { flex-direction: column; text-align: center; padding: .9rem .5rem; gap: .5rem; }
}
@keyframes flowv { to { background-position: 0 28px; } }

/* steps */
.step {
  height: 100%;
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--navy-700);
}
.step-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.6rem; }
.step-n { font-size: .85rem; font-weight: 800; color: var(--amber); letter-spacing: .1em; }
.step-head img { width: 44px; height: 44px; object-fit: contain; }
.step-svg { width: 44px; height: 44px; fill: none; stroke: var(--green); stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; }
.step h3 { font-size: 2rem; margin-bottom: .4rem; }
.step p { color: var(--slate-400); margin: 0; }

/* setups */
.setups {
  margin-top: 4rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem;
  padding-top: 2.5rem; border-top: 1px solid var(--navy-700);
}
.setups-label { color: var(--white); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; }
.setups-row { display: flex; flex-wrap: wrap; gap: 2.2rem; }
.setups-row figure { margin: 0; text-align: center; }
.setups-row img { width: 54px; height: 54px; object-fit: contain; display: block; margin: 0 auto .5rem; }
.setups-row figcaption { font-size: .85rem; color: var(--slate-400); font-weight: 600; }
.setups-row .is-pro figcaption { color: var(--violet); }

/* ---------- tone-on-tone bands (photo slots) ---------- */
.tone-band {
  position: relative;
  padding: 10rem 0;
  overflow: hidden;
  background: var(--navy-850);
}
.tone-media { position: absolute; inset: 0; }
/* tone-on-tone survey contour lines: visible while the photo is missing, then layered under it */
.tone-media::before {
  content: ""; position: absolute; inset: -20%;
  background:
    radial-gradient(600px 300px at 50% 50%, rgba(77, 168, 232, .10), transparent 70%),
    repeating-radial-gradient(ellipse 120% 80% at 28% 42%, transparent 0 34px, rgba(77, 168, 232, .16) 34px 35.5px),
    repeating-radial-gradient(ellipse 90% 110% at 82% 68%, transparent 0 46px, rgba(245, 158, 11, .10) 46px 47.5px);
}
.tone-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.75) brightness(.85);
  opacity: .45;
}
.tone-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 50% 50%, rgba(11, 18, 32, .55), transparent 75%),
    linear-gradient(180deg, var(--navy-900) 0%, rgba(11, 18, 32, .25) 28%, rgba(11, 18, 32, .25) 72%, var(--navy-900) 100%);
}
.tone-band:not(:has(img)) .tone-media::after { content: attr(data-label); }
.tone-band:not(:has(img)) .tone-media::after {
  display: flex; align-items: flex-end; justify-content: flex-end;
  padding: 1rem 1.25rem; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(148, 163, 184, .45);
}
.quote { font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: 1; font-weight: 700; color: var(--white); letter-spacing: -0.04em; margin: 0; }
.tone-band-cta { padding: 9rem 0 10rem; }

/* ---------- benefits ---------- */
.one-to-n {
  font-size: clamp(5rem, 12vw, 9rem); font-weight: 800; line-height: .9; letter-spacing: -0.06em;
  color: transparent; -webkit-text-stroke: 2px var(--amber);
}
.one-to-n span { -webkit-text-stroke: 0; color: var(--amber); margin: 0 .1em; font-size: .6em; vertical-align: middle; }
.benefit {
  height: 100%;
  padding: 1.8rem;
  border-radius: var(--radius);
  background: var(--navy-700);
  transition: transform .25s ease, background-color .25s ease;
}
.benefit:hover { transform: translateY(-4px); background: #212E41; }
.benefit img { width: 52px; height: 52px; object-fit: contain; margin-bottom: 2.2rem; }
.benefit h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.15; margin: 0; }

/* ---------- roadmap ---------- */
.timeline {
  margin-top: 4.5rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  position: relative;
}
.timeline::before {
  content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px;
  background: linear-gradient(90deg, var(--slate-400) 0 30%, var(--amber) 30% 32%, transparent 32%),
              repeating-linear-gradient(90deg, rgba(148, 163, 184, .4) 0 6px, transparent 6px 12px);
}
.tl-item { position: relative; padding-top: 2.4rem; }
.tl-dot {
  position: absolute; top: 0; left: 0;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--navy-900); border: 2px solid var(--slate-400);
}
.tl-now .tl-dot { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 0 7px rgba(245, 158, 11, .22); }
.tl-icons { display: flex; align-items: flex-end; gap: .7rem; height: 56px; margin-bottom: 1rem; }
.tl-icons img { width: auto; object-fit: contain; }
.tl-icons .i-helmet   { height: 34px; }
.tl-icons .i-rover    { height: 30px; }
.tl-icons .i-handheld { height: 42px; }
.tl-icons .i-scantri  { height: 56px; }
.tl-icons .i-scanner  { height: 40px; }
.tl-icons .i-scale    { height: 36px; }
.tl-when { color: var(--slate-400); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
.tl-now .tl-when, .tl-now h3 { color: var(--amber); }
.tl-item h3 { font-size: 1.9rem; margin: .3rem 0 .4rem; }
.tl-item p { color: var(--slate-400); font-size: 1rem; margin: 0; }
.tl-cta { display: inline-block; margin-top: .7rem; color: var(--amber); font-weight: 700; font-size: .95rem; text-decoration: none; }
.tl-cta:hover { color: var(--white); }
@media (max-width: 767.98px) {
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .timeline::before { display: none; }
}

/* ---------- team ---------- */
.person { text-align: center; }
.person-photo {
  position: relative; width: 100%; max-width: 180px; aspect-ratio: 1; margin: 0 auto 1rem;
  border-radius: 50%; overflow: hidden;
  border: 2px solid rgba(245, 158, 11, .85);
  box-shadow: 0 0 0 6px rgba(245, 158, 11, .08), 0 0 40px rgba(77, 168, 232, .15);
  background: var(--navy-700);
}
.person-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(1) contrast(1.2) brightness(.95);
  transition: filter .5s ease;
}
/* high-tech tint + scanlines */
.person-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(160deg, rgba(77, 168, 232, .28), rgba(11, 18, 32, .35));
  mix-blend-mode: color;
}
.person-photo::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(11, 18, 32, .22) 0 1px, transparent 1px 3px);
}
.person:hover .person-photo img { filter: grayscale(.2) contrast(1.05); }
.person-name { color: var(--white); font-weight: 700; font-size: 1.05rem; line-height: 1.2; }
.person-role { color: var(--slate-400); font-size: .88rem; margin-top: .25rem; }

/* proof numbers (team) */
.proof { display: flex; flex-wrap: wrap; gap: clamp(1.2rem, 4vw, 2.6rem); margin: 2.2rem 0 1rem; }
.proof div { display: flex; flex-direction: column; }
.proof strong { font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1; color: var(--white); font-weight: 800; letter-spacing: -0.04em; }
.proof span { color: var(--slate-400); font-size: .9rem; margin-top: .35rem; }

/* ---------- sectors ---------- */
.sector {
  position: relative; height: 100%;
  padding: 1.8rem 1.6rem 1.6rem;
  border-radius: var(--radius);
  background: var(--navy-700);
  border: 1px solid rgba(148, 163, 184, .1);
  transition: transform .25s ease, border-color .25s ease, background-color .25s ease;
}
.sector:hover { transform: translateY(-4px); border-color: rgba(245, 158, 11, .5); background: #212E41; }
.sector svg {
  width: 44px; height: 44px; margin-bottom: 2rem;
  fill: none; stroke: var(--slate-300); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke .25s ease;
}
.sector:hover svg { stroke: var(--amber); }
.sector h3 { font-size: clamp(1.02rem, 1.8vw, 1.25rem); line-height: 1.2; margin: 0; }

/* ---------- protected email card ---------- */
.mail-card {
  display: inline-flex; align-items: center; gap: 1rem;
  margin-top: 2.5rem;
  padding: .6rem .6rem .6rem 1.4rem;
  border-radius: 999px;
  background: rgba(27, 38, 54, .75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(245, 158, 11, .45);
  box-shadow: 0 0 60px rgba(245, 158, 11, .15);
  max-width: 100%;
}
.mail-text {
  color: var(--white); font-weight: 700; font-size: clamp(1rem, 2.4vw, 1.35rem); letter-spacing: .01em;
  user-select: all; overflow-wrap: anywhere; text-align: left;
}
.mail-copy { min-width: 104px; padding-block: .55rem; }
.mail-copy.is-copied { --bs-btn-bg: var(--green); --bs-btn-border-color: var(--green); --bs-btn-hover-bg: var(--green); --bs-btn-hover-border-color: var(--green); }
.mail-hint { color: var(--slate-400); font-size: .9rem; margin-top: 1rem; }
@media (max-width: 575.98px) {
  .mail-card { flex-wrap: wrap; justify-content: center; border-radius: var(--radius); padding: 1.1rem; }
  .mail-text { text-align: center; }
}

/* ---------- contact form ---------- */
.contact-form {
  max-width: 760px; margin: 2.5rem auto 0;
  padding: 2rem;
  border-radius: calc(var(--radius) + 4px);
  background: rgba(19, 29, 45, .82);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(245, 158, 11, .35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}
.contact-form .form-label { color: var(--slate-300); font-weight: 600; font-size: .9rem; margin-bottom: .35rem; }
.contact-form .form-control,
.contact-form .form-select {
  background-color: rgba(11, 18, 32, .7);
  border: 1px solid rgba(148, 163, 184, .25);
  color: var(--white);
  border-radius: 12px;
  padding: .7rem .9rem;
}
.contact-form .form-select { --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23CBD5E1' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); }
.contact-form .form-select option { background: var(--navy-800); color: var(--white); }
.contact-form .form-control:focus,
.contact-form .form-select:focus {
  background-color: rgba(11, 18, 32, .9);
  border-color: var(--amber);
  box-shadow: 0 0 0 .2rem rgba(245, 158, 11, .2);
  color: var(--white);
}
.contact-form .form-check-input { background-color: transparent; border-color: rgba(148, 163, 184, .5); }
.contact-form .form-check-input:checked { background-color: var(--amber); border-color: var(--amber); }
.contact-form .form-check-input:focus { box-shadow: 0 0 0 .2rem rgba(245, 158, 11, .2); border-color: var(--amber); }
.contact-form .form-check-label { color: var(--slate-300); font-size: .92rem; }
.contact-form .form-check-label a { color: var(--amber); }
.contact-form .invalid-feedback { color: #F87171; }
.contact-form.was-validated .form-control:invalid,
.contact-form.was-validated .form-check-input:invalid { border-color: #F87171; }
.contact-form.was-validated .form-control:valid,
.contact-form.was-validated .form-select:valid { border-color: rgba(148, 163, 184, .25); background-image: none; padding-right: .9rem; }
.contact-form.was-validated .form-select:valid { background-image: var(--bs-form-select-bg-img); padding-right: 2.25rem; }
.contact-form.was-validated .form-check-input:valid ~ .form-check-label { color: var(--slate-300); }
.form-note { color: var(--slate-400); font-size: .85rem; }
.form-note a { color: var(--amber); }
.form-success { text-align: center; padding: 2rem 1rem; color: var(--slate-300); font-size: 1.15rem; }
.form-success strong { display: block; color: var(--amber); font-size: 1.8rem; margin-bottom: .3rem; }
.form-error {
  margin-top: 1.2rem; padding: .9rem 1.1rem;
  border-radius: 12px;
  background: rgba(245, 158, 11, .1);
  border: 1px solid rgba(245, 158, 11, .45);
  color: var(--slate-300); font-size: .95rem;
}
.form-error strong { color: var(--amber); margin-right: .25rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 575.98px) { .contact-form { padding: 1.4rem; } }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--navy-700); padding: 2.2rem 0; font-size: .92rem; color: var(--slate-400); }
.footer a { color: var(--slate-300); text-decoration: none; }
.footer a:hover { color: var(--amber); }
.footer-logo { height: 20px; width: auto; }
.footer-mtp { height: 26px; width: auto; opacity: .8; transition: opacity .2s; }
.footer a:hover .footer-mtp { opacity: 1; }
.footer-sep { width: 1px; height: 22px; background: var(--navy-700); }

.legal-line { margin: 1.6rem 0 0; padding-top: 1.2rem; border-top: 1px solid var(--navy-700); font-size: .78rem; line-height: 1.6; color: rgba(148, 163, 184, .75); text-align: center; }
@media (min-width: 768px) { .legal-line { text-align: left; } }

/* ---------- legal modals ---------- */
.legal { background: var(--navy-800); color: var(--slate-300); border: 1px solid var(--navy-700); border-radius: var(--radius); }
.legal .modal-header { border-bottom-color: var(--navy-700); }
.legal .modal-title { color: var(--white); }
.legal h3 { font-size: 1.05rem; margin-top: 1.4rem; color: var(--white); }
.legal a { color: var(--amber); }


/* ---------- reveal animation ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js-reveal .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .trail-line, .beam, .pulse { animation: none !important; }
}
