/* ============================================
   Samson Robotics — Shared Styles
   Premium medical / clinical aesthetic
   ============================================ */

:root {
  --navy: #14304a;
  --navy-light: #1f4666;
  --blue: #2c5c8a;
  --blue-soft: #eaf1f7;
  --gold: #b7924f;
  --gold-light: #d9bd82;
  --cream: #faf8f4;
  --ink: #1c2733;
  --ink-soft: #566374;
  --white: #ffffff;
  --border: #e4e1da;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 48, 74, 0.08);
  --max-width: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 600;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover { background: var(--navy-light); color: var(--white); }

.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover { background: #a37f42; color: var(--white); }

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.15); }

/* ---------- Header / Nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--navy);
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo span.mark {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1rem;
  font-weight: 700;
}
.logo small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  margin-top: 1px;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}
nav.main-nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
}
nav.main-nav a.active { color: var(--navy); font-weight: 700; }

.nav-cta { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--navy);
}

@media (max-width: 860px) {
  nav.main-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    display: none;
    box-shadow: var(--shadow);
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 20px;
  }
  nav.main-nav ul li { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: block; }
  .nav-cta .btn-primary { padding: 10px 18px; font-size: 0.85rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-light) 55%, var(--blue) 100%);
  color: var(--white);
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-top: 88px;
  padding-bottom: 88px;
}
.hero h1 { color: var(--white); }
.hero p.lead { color: rgba(255,255,255,0.86); font-size: 1.15rem; max-width: 46ch; }
.hero .eyebrow { color: var(--gold-light); }
.hero-actions { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.15);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 56px; }
}

/* ---------- Sections ---------- */
section { padding: 88px 0; }
section.tight { padding: 56px 0; }
section.alt { background: var(--cream); }
section.navy { background: var(--navy); color: var(--white); }
section.navy h2, section.navy h3 { color: var(--white); }
section.navy p { color: rgba(255,255,255,0.78); }

.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head p { font-size: 1.05rem; }

/* ---------- Stat cards ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.stat-card .num {
  font-family: 'Fraunces', serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--navy);
  display: block;
}
.stat-card .label {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 6px;
}

/* ---------- Cards / grid ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) {
  .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.card .icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
}

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: step;
  margin-top: 40px;
}
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px 24px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -18px; left: 24px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-family: 'Fraunces', serif;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Timeline ---------- */
.timeline {
  border-left: 3px solid var(--border);
  margin-left: 12px;
  padding-left: 32px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.timeline-item { position: relative; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -41px;
  top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold);
}
.timeline-item.done::before { background: var(--navy); box-shadow: 0 0 0 2px var(--navy); }
.timeline-item .status {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--navy);
  margin-bottom: 8px;
}
.timeline-item.done .status { background: var(--navy); color: var(--white); }

/* ---------- Team ---------- */
.team-card {
  text-align: center;
}
.team-card .avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-family: 'Fraunces', serif;
  font-size: 1.8rem;
  font-weight: 600;
}
.team-card h3 { margin-bottom: 2px; }
.team-card .role { color: var(--gold); font-weight: 600; font-size: 0.9rem; margin-bottom: 12px; display: block; }

.advisor-list { list-style: none; padding: 0; margin: 0; }
.advisor-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.advisor-list li:last-child { border-bottom: none; }
.advisor-list strong { color: var(--navy); }

/* ---------- Comparison table ---------- */
.compare {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.compare th, .compare td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.compare th {
  background: var(--navy);
  color: var(--white);
  font-family: 'Fraunces', serif;
  font-weight: 600;
}
.compare tr:last-child td { border-bottom: none; }
.compare td.highlight { color: var(--navy); font-weight: 700; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--navy), var(--blue));
  color: var(--white);
  border-radius: var(--radius);
  padding: 56px 48px;
  text-align: center;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 56ch; margin-left: auto; margin-right: auto; }
.cta-banner .hero-actions { justify-content: center; }

/* ---------- Forms ---------- */
form.contact-form {
  display: grid;
  gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  display: block;
  margin-bottom: 6px;
}
input, select, textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}
textarea { resize: vertical; min-height: 120px; }

.form-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 8px;
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 28px;
}
footer.site-footer a { color: rgba(255,255,255,0.85); }
footer.site-footer a:hover { color: var(--gold-light); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
}
footer.site-footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
footer.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 0.92rem; }
.footer-bottom {
  padding-top: 24px;
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Page header (non-home) ---------- */
.page-header {
  background: var(--cream);
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--border);
}
.page-header .eyebrow { color: var(--gold); }

/* ---------- Confidentiality note ---------- */
.note-box {
  background: var(--blue-soft);
  border-left: 4px solid var(--blue);
  padding: 18px 22px;
  border-radius: 8px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
