:root {
  /* Paleta derivada de la imagen */
  --bg0: #11161b;
  --bg1: #1d252d;
  --bg2: #293139;
  --ink: #d7dde2;
  --muted: #9eaab4;
  --line: #3a474f;
  --panel: rgba(34, 43, 50, 0.72);
  --glass: rgba(24, 33, 41, .74);
  --orange: #d07a3f;
  --blue: #6eb5cb;
}

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

body {
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  min-height: 100vh;
  background:
    radial-gradient(900px 500px at 12% 0%, rgba(198,124,74,.12), transparent 62%),
    radial-gradient(780px 420px at 88% 2%, rgba(120,200,222,.12), transparent 65%),
    linear-gradient(165deg, var(--bg0), var(--bg1) 55%, var(--bg2));
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.032) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 90%);
}

.hero {
  max-width: 1080px;
  margin: 0 auto;
  padding: 11vh 20px 5vh;
  animation: fadeIn .8s ease-out;
}

.hero-box {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--glass);
  padding: 14px 16px;
  margin-bottom: 10px;
}

.hero-box-title { padding-top: 16px; padding-bottom: 16px; }
.hero-box-lead { padding-top: 14px; padding-bottom: 14px; }

.hero-box-eyebrow .eyebrow {
  font-size: clamp(1.12rem, 3.08vw, 1.75rem);
  line-height: 1;
}

.eyebrow {
  font-family: "Chakra Petch", sans-serif;
  letter-spacing: .12em;
  color: var(--orange);
  margin: 0;
  font-weight: 600;
}

h1 {
  font-family: "Chakra Petch", sans-serif;
  font-size: clamp(.95rem, 4.7vw, 2.3rem);
  line-height: .95;
  white-space: normal;
  text-wrap: balance;
  display: block;
  width: 100%;
  margin: 0;
}

.lead {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin: 0;
}

.cta-row {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
  border: 1px solid var(--line);
  transition: transform .15s ease, border-color .15s ease;
}

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

.btn-main {
  background: linear-gradient(135deg, var(--orange), #d49362);
  color: #15191d;
  border: 0;
}

.btn-ghost {
  color: var(--ink);
  background: rgba(255,255,255,.04);
}

.cards {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 20px 50px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--glass);
  padding: 0;
  min-height: 138px;
  overflow: hidden;
}

.card-toggle { height: 100%; }

.card-toggle summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  background: transparent;
  position: relative;
  padding-right: 34px;
}

.card-toggle summary::-webkit-details-marker { display: none; }

.card-toggle[open] summary {
  border-bottom: 1px solid var(--line);
}

.card-toggle summary::after {
  content: "▼";
  position: absolute;
  right: 12px;
  top: 14px;
  color: var(--orange);
  font-family: "Chakra Petch", sans-serif;
  font-size: .95rem;
  line-height: 1;
}

.card-toggle[open] summary::after {
  content: "▲";
  color: var(--blue);
}

.card h2 {
  margin: 0 0 8px;
  font-family: "Chakra Petch", sans-serif;
  font-size: 1.05rem;
  color: var(--blue);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.35;
}

.card-body {
  padding: 12px 16px 14px;
  background: transparent;
}

.card-body p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.34;
}

.card-body p:last-child { margin-bottom: 0; }

.timeline {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: 6px 20px 34px;
}

.timeline-title {
  margin: 0 0 18px;
  text-align: center;
  font-family: "Chakra Petch", sans-serif;
  color: var(--orange);
  letter-spacing: .04em;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 56px;
  bottom: 38px;
  width: 2px;
  background: linear-gradient(var(--blue), rgba(120,200,222,.15));
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 28px 18px;
}

.timeline-item.left { left: 0; }
.timeline-item.right { left: 50%; }

.timeline-dot {
  position: absolute;
  top: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(198,124,74,.2);
}

.timeline-item.left .timeline-dot { right: -6px; }
.timeline-item.right .timeline-dot { left: -6px; }

.timeline-content {
  margin-bottom: 0;
  padding: 14px 16px;
}

.timeline-content h3 {
  margin: 0 0 8px;
  font-family: "Chakra Petch", sans-serif;
  font-size: 1.05rem;
  color: var(--blue);
  white-space: normal;
  overflow-wrap: anywhere;
}

.timeline-content p {
  margin: 0;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
}

.bot-shot {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px 30px;
}

.bot-card {
  width: 100%;
  max-width: 760px;
  margin: 0 auto 10px;
}

.bot-card .eyebrow {
  text-align: center;
}

.bot-shot img {
  width: 100%;
  display: block;
  margin: 8px auto 10px;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  filter: saturate(.95) brightness(.86) contrast(.91);
}

.bot-ethics {
  margin: 0;
  text-align: center;
}

.ghost-reveal {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px 22px;
}

.ghost-reveal details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--glass);
  overflow: hidden;
}

.ghost-reveal summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  padding-right: 34px;
  color: var(--muted);
  line-height: 1.35;
  position: relative;
}

.ghost-reveal summary::-webkit-details-marker { display: none; }

.ghost-reveal summary strong {
  color: var(--orange);
  font-family: "Chakra Petch", sans-serif;
  font-weight: 700;
}

.ghost-reveal summary::after {
  content: "▼";
  position: absolute;
  right: 12px;
  top: 14px;
  color: var(--orange);
  font-family: "Chakra Petch", sans-serif;
  font-size: .95rem;
  line-height: 1;
}

.ghost-reveal details[open] summary::after {
  content: "▲";
  color: var(--blue);
}

.ghost-reveal[open] summary,
.ghost-reveal details[open] summary {
  border-bottom: 1px solid var(--line);
}

.ghost-reveal-body {
  padding: 12px 16px 14px;
}

.ghost-reveal-body p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.4;
}

.ghost-reveal-body p:last-child { margin-bottom: 0; }

.closing-manifesto {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2px 20px 26px;
}

.closing-box {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--glass);
  padding: 14px 16px;
}

.closing-manifesto p {
  margin: 0 0 6px;
  color: var(--muted);
  text-align: center;
  line-height: 1.35;
}

.closing-manifesto p:last-child {
  margin-top: 9px;
  color: var(--blue);
  font-weight: 600;
}

.foot {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px 28px;
  display: flex;
  justify-content: space-between;
  color: #8c98a3;
  font-size: .9rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .timeline-line { left: 14px; }
  .timeline-item,
  .timeline-item.right,
  .timeline-item.left {
    width: 100%;
    left: 0;
    padding: 0 0 14px 34px;
  }
  .timeline-item.left .timeline-dot,
  .timeline-item.right .timeline-dot {
    left: 8px;
    right: auto;
  }
  .foot {
    gap: 8px;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .cards { grid-template-columns: 1fr; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
