/* ============================================================
   Taller Arranque — Computer Systems Design
   Dark theme · warm-gold / amber-brown accent on near-black
   ============================================================ */

:root {
  --bg: #0B0E14;
  --bg-2: #11151E;
  --surface: #161B26;
  --surface-2: #1C2330;
  --border: #242C3A;
  --border-soft: #1E2634;
  --text: #E8EAED;
  --muted: #A3ADBD;
  --dim: #78828F;
  --gold: #D9A441;
  --gold-light: #E0B45C;
  --gold-deep: #C8923E;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1160px;
  --font-head: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

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

body {
  font-size: 16px;
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-label::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

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

/* ============ HEADER / NAV ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #0B0E14;
  border-bottom: 1px solid var(--border-soft);
}

.navbar {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
  display: grid;
  place-items: center;
  color: #0B0E14;
  font-weight: 800;
  font-size: 0.9rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--gold);
  color: #0B0E14;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============ HERO ============ */

.launch-section {
  position: relative;
  padding: 96px 0 110px;
  text-align: center;
  overflow: hidden;
}

.launch-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(720px 380px at 50% -10%, rgba(217, 164, 65, 0.14), transparent 70%),
    radial-gradient(560px 420px at 12% 110%, rgba(200, 146, 62, 0.10), transparent 70%),
    radial-gradient(560px 420px at 88% 110%, rgba(224, 180, 92, 0.08), transparent 70%);
  pointer-events: none;
}

.launch-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 28px;
}

.launch-kicker .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(217, 164, 65, 0.18);
}

.launch-title {
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  letter-spacing: -0.03em;
  max-width: 900px;
  margin: 0 auto 24px;
}

.launch-title .accent {
  color: var(--gold);
}

.launch-lede {
  max-width: 640px;
  margin: 0 auto 38px;
  font-size: 1.13rem;
  color: var(--muted);
}

.launch-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold);
  color: #0B0E14;
}

.btn-primary:hover {
  background: var(--gold-light);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.stat-cluster {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}

.stat-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 20px;
  box-shadow: var(--shadow);
}

.stat-card .num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2rem;
  color: var(--gold);
  letter-spacing: -0.02em;
}

.stat-card .cap {
  margin-top: 4px;
  font-size: 0.85rem;
  color: var(--dim);
}

/* ============ CAPABILITY STACK (numbered list) ============ */

.capability-stack {
  padding: 90px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.stack-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.stack-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  letter-spacing: -0.02em;
  max-width: 560px;
}

.stack-head p {
  max-width: 360px;
  color: var(--muted);
}

.stack-list {
  display: grid;
  gap: 0;
}

.stack-item {
  display: grid;
  grid-template-columns: 110px 1fr 1fr;
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--border-soft);
  align-items: start;
}

.stack-item:last-child {
  border-bottom: 1px solid var(--border-soft);
}

.stack-item .index {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.1rem;
  color: var(--gold);
  letter-spacing: -0.02em;
}

.stack-item h3 {
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

.stack-item p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* ============ ENGAGEMENT TIMELINE ============ */

.engagement-timeline {
  padding: 96px 0;
}

.timeline-head {
  margin-bottom: 60px;
  text-align: center;
}

.timeline-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  letter-spacing: -0.02em;
  margin-top: 14px;
}

.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--border);
}

.tl-step {
  position: relative;
  padding: 0 0 44px 28px;
}

.tl-step:last-child {
  padding-bottom: 0;
}

.tl-step::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--gold);
}

.tl-step .phase {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.tl-step h3 {
  font-size: 1.4rem;
  margin: 8px 0 10px;
  letter-spacing: -0.01em;
}

.tl-step p {
  color: var(--muted);
  max-width: 640px;
}

/* ============ OUTCOME ROW (big numerals) ============ */

.outcome-row {
  padding: 90px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.outcome-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.outcome-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  letter-spacing: -0.02em;
  max-width: 520px;
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.outcome {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
}

.outcome .big {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 3rem;
  letter-spacing: -0.03em;
  color: var(--gold);
  line-height: 1;
}

.outcome .big span {
  font-size: 1.6rem;
}

.outcome h3 {
  margin: 18px 0 8px;
  font-size: 1.15rem;
}

.outcome p {
  color: var(--muted);
  font-size: 0.94rem;
}

/* ============ SIGNAL BAND ============ */

.signal-band {
  padding: 70px 0;
  text-align: center;
}

.signal-band .statement {
  max-width: 820px;
  margin: 0 auto;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.signal-band .statement em {
  font-style: normal;
  color: var(--gold);
}

/* ============ FIELD LIST ============ */

.field-list {
  padding: 90px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border-soft);
}

.field-head {
  margin-bottom: 52px;
}

.field-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  letter-spacing: -0.02em;
  margin-top: 14px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 48px;
}

.field-item {
  display: flex;
  gap: 22px;
  padding: 26px 0;
  border-top: 1px solid var(--border-soft);
  align-items: flex-start;
}

.field-item .index {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1;
}

.field-item h3 {
  font-size: 1.18rem;
  margin-bottom: 6px;
}

.field-item p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ============ CONTACT ============ */

.contact-section {
  padding: 96px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-copy h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  letter-spacing: -0.02em;
  margin: 14px 0 18px;
}

.contact-copy p {
  color: var(--muted);
  max-width: 440px;
}

.contact-methods {
  margin-top: 32px;
  display: grid;
  gap: 18px;
}

.method {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.method .ic {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 11px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 1.1rem;
}

.method .lbl {
  font-size: 0.8rem;
  color: var(--dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.method .val {
  font-weight: 600;
  color: var(--text);
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
}

.form-row {
  margin-bottom: 20px;
}

.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--muted);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 13px 15px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-status {
  margin-top: 16px;
  font-size: 0.9rem;
  min-height: 1.4em;
  color: var(--gold);
}

/* ============ FOOTER ============ */

.site-footer {
  border-top: 1px solid var(--border-soft);
  background: var(--bg);
}

.footer-row {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
}

.footer-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-note {
  font-size: 0.85rem;
  color: var(--dim);
}

/* ============ REVEAL ============ */

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ============ RESPONSIVE ============ */

@media (max-width: 900px) {
  .stack-item {
    grid-template-columns: 70px 1fr;
  }
  .stack-item p {
    grid-column: 2;
  }
  .outcome-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border-soft);
    padding: 8px 24px;
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    display: block;
    padding: 14px 0;
    width: 100%;
    border-top: 1px solid var(--border-soft);
  }
  .nav-links a:first-child {
    border-top: none;
  }
  .nav-cta {
    margin-left: auto;
  }
  .nav-toggle {
    display: flex;
  }
  .stat-cluster {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  .stack-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .stack-item p {
    grid-column: auto;
  }
  .field-grid {
    grid-template-columns: 1fr;
  }
  .timeline {
    padding-left: 28px;
  }
  .tl-step {
    padding-left: 18px;
  }
  .tl-step::before {
    left: -21px;
  }
}
