:root {
  --bg: #050506;
  --ink: #f4f1eb;
  --muted: #b8b0a6;
  --soft: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.14);
  --panel: rgba(15, 16, 18, 0.86);
  --panel-strong: #121316;
  --red: #d30b14;
  --red-bright: #ff2630;
  --steel: #8f969d;
  --gold: #c7a65a;
  --green: #49c784;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% -10%, rgba(211, 11, 20, 0.22), transparent 34rem),
    radial-gradient(circle at 80% 18%, rgba(199, 166, 90, 0.08), transparent 28rem),
    linear-gradient(180deg, #050506 0%, #0b0b0d 48%, #050506 100%);
  color: var(--ink);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-header {
  align-items: center;
  backdrop-filter: blur(20px);
  background: rgba(5, 5, 6, 0.78);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr auto auto;
  left: 0;
  padding: 12px clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 50;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 950;
  gap: 10px;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand img {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  height: 42px;
  object-fit: cover;
  object-position: top;
  width: 30px;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: clamp(12px, 1.8vw, 26px);
  justify-content: center;
}

.nav-links a,
.header-action {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.nav-links a:hover,
.header-action:hover {
  color: var(--ink);
}

.header-action {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
}

.icon-button {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: none;
  height: 42px;
  place-items: center;
  width: 42px;
}

.menu-toggle span {
  background: var(--ink);
  display: block;
  height: 2px;
  margin: 3px 0;
  width: 18px;
}

.hero {
  min-height: 100svh;
  overflow: hidden;
  padding: 112px clamp(18px, 5vw, 74px) 48px;
  position: relative;
}

.hero-bg,
.hero-shade {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.hero-bg {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.68) 44%, rgba(0, 0, 0, 0.18) 100%),
    linear-gradient(0deg, #050506 0%, rgba(5, 5, 6, 0.12) 44%, rgba(5, 5, 6, 0.72) 100%);
}

.hero-grid {
  align-items: end;
  display: grid;
  gap: clamp(28px, 5vw, 80px);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 410px);
  min-height: calc(100svh - 160px);
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 900px;
}

.eyebrow {
  color: var(--red-bright);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.15em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(3.4rem, 7.2vw, 8.8rem);
  letter-spacing: 0;
  line-height: 0.88;
  margin-bottom: 26px;
  max-width: 980px;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 4.6rem);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 0;
}

h3 {
  font-size: 1.2rem;
  line-height: 1.18;
}

.hero-copy {
  color: #ded8ce;
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
  line-height: 1.6;
  max-width: 770px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 950;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--red-bright), var(--red));
  box-shadow: 0 16px 44px rgba(211, 11, 20, 0.34);
  color: white;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--ink);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.trust-strip span {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  padding: 9px 12px;
}

.book-card {
  align-self: center;
  background: rgba(9, 9, 10, 0.68);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  padding: 14px;
}

.book-card img {
  border-radius: 10px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  width: 100%;
}

.book-card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 8px;
}

.book-card p {
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 0;
}

.ticker {
  background: rgba(255, 255, 255, 0.035);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.ticker-track {
  animation: ticker 30s linear infinite;
  display: flex;
  gap: 38px;
  min-width: max-content;
  padding: 15px 0;
}

.ticker span {
  color: var(--steel);
  font-size: 0.84rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-45%);
  }
}

.section {
  padding: clamp(76px, 9vw, 128px) clamp(18px, 5vw, 74px);
}

.section-heading {
  display: grid;
  gap: 18px;
  margin-bottom: 34px;
  max-width: 1030px;
}

.section-heading.split {
  align-items: end;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  max-width: none;
}

.section-heading.split > p {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}

.manifesto-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.5fr repeat(3, 1fr);
}

.manifesto-main,
.pillar,
.article-card,
.journey article,
.editorial-steps article,
.product-card,
.member-console {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 45%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform 160ms ease, border-color 160ms ease;
}

.manifesto-main:hover,
.pillar:hover,
.article-card:hover,
.journey article:hover,
.editorial-steps article:hover,
.product-card:hover {
  border-color: rgba(255, 38, 48, 0.38);
  transform: translateY(-2px);
}

.manifesto-main {
  display: grid;
  min-height: 330px;
  padding: 28px;
}

.manifesto-main span,
.pillar span,
.article-card span,
.journey span,
.editorial-steps span,
.product-card span {
  color: var(--red-bright);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.manifesto-main h3 {
  align-self: end;
  font-size: clamp(1.8rem, 3vw, 3rem);
  margin-bottom: 14px;
}

.manifesto-main p,
.pillar p,
.article-card p,
.journey p,
.editorial-steps p,
.product-card p,
.member-copy p {
  color: var(--muted);
  line-height: 1.58;
}

.pillar {
  display: grid;
  min-height: 330px;
  padding: 24px;
}

.pillar h3 {
  align-self: end;
}

.radar,
.products {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0));
}

.search-row {
  align-items: end;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(260px, 1fr) auto;
  margin-bottom: 18px;
}

.search-field {
  display: grid;
  gap: 8px;
}

.search-field span,
.lead-form label {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
}

input {
  background: rgba(3, 3, 4, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 48px;
  outline: none;
  padding: 12px 14px;
  width: 100%;
}

input:focus {
  border-color: rgba(255, 38, 48, 0.75);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter,
.tab {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font-weight: 950;
  min-height: 42px;
  padding: 10px 14px;
}

.filter.active,
.tab.active {
  background: linear-gradient(135deg, var(--red-bright), var(--red));
  border-color: rgba(255, 255, 255, 0.08);
  color: white;
}

.article-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-card {
  display: grid;
  min-height: 260px;
  padding: 24px;
}

.article-card time {
  color: var(--steel);
  font-size: 0.82rem;
  font-weight: 800;
}

.article-card h3 {
  font-size: 1.35rem;
  margin-top: 18px;
}

.article-card a {
  align-self: end;
  color: var(--ink);
  font-weight: 950;
}

.article-card.is-hidden {
  display: none;
}

.journey,
.editorial-steps,
.product-grid {
  display: grid;
  gap: 18px;
}

.journey {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.journey article,
.editorial-steps article,
.product-card {
  min-height: 260px;
  padding: 24px;
}

.member-band {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.96), rgba(5, 5, 6, 0.66)),
    url("assets/ecossistema-hero.jpg") center/cover;
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 530px);
  padding: clamp(76px, 9vw, 128px) clamp(18px, 5vw, 74px);
}

.member-copy {
  max-width: 820px;
}

.lead-form {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(220px, 1fr) auto;
  margin-top: 28px;
  max-width: 670px;
}

.lead-form label {
  display: grid;
  gap: 8px;
}

.form-note {
  color: var(--green);
  min-height: 24px;
}

.member-console {
  box-shadow: var(--shadow);
  padding: 18px;
}

.console-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: grid;
  gap: 10px;
}

.module {
  align-items: center;
  background: rgba(3, 3, 4, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  display: flex;
  gap: 12px;
  min-height: 54px;
  padding: 12px;
}

.module span {
  background: var(--steel);
  border-radius: 50%;
  flex: 0 0 auto;
  height: 10px;
  width: 10px;
}

.module.done span {
  background: var(--green);
}

.module.current {
  border-color: rgba(255, 38, 48, 0.7);
  color: var(--ink);
}

.module.current span {
  background: var(--red-bright);
}

.module.locked {
  opacity: 0.6;
}

.editorial-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.editorial-steps span {
  align-items: center;
  background: rgba(255, 38, 48, 0.13);
  border: 1px solid rgba(255, 38, 48, 0.28);
  border-radius: 50%;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.product-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
}

.product-card {
  display: grid;
  min-height: 310px;
}

.product-card.highlight {
  background:
    linear-gradient(180deg, rgba(255, 38, 48, 0.18), rgba(18, 19, 22, 0.96)),
    var(--panel-strong);
  border-color: rgba(255, 38, 48, 0.42);
}

.product-card strong {
  font-size: 2rem;
}

.product-card .button {
  align-self: end;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 16px;
  grid-template-columns: auto 1fr auto;
  padding: 28px clamp(18px, 5vw, 74px);
}

.site-footer img {
  border-radius: 6px;
  height: 62px;
  object-fit: cover;
  object-position: top;
  width: 42px;
}

.site-footer p {
  color: var(--muted);
  margin-bottom: 0;
}

.site-footer a {
  color: var(--red-bright);
  font-weight: 950;
}

@media (max-width: 1120px) {
  .hero-grid,
  .section-heading.split,
  .member-band {
    grid-template-columns: 1fr;
  }

  .book-card {
    max-width: 360px;
  }

  .manifesto-grid,
  .journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .icon-button {
    display: grid;
    grid-column: 3;
  }

  .header-action {
    display: none;
  }

  .nav-links {
    align-content: start;
    background: rgba(5, 5, 6, 0.98);
    border-top: 1px solid var(--line);
    display: none;
    gap: 0;
    grid-column: 1 / -1;
    justify-content: stretch;
    padding: 8px 0;
  }

  body.menu-open .nav-links {
    display: grid;
  }

  .nav-links a {
    border-bottom: 1px solid var(--line);
    padding: 16px 0;
  }

  .hero {
    padding-top: 96px;
  }

  .hero-bg {
    object-position: 72% center;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 5rem);
  }

  .search-row,
  .lead-form,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .manifesto-grid,
  .journey,
  .article-grid,
  .editorial-steps,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .manifesto-main,
  .pillar,
  .article-card,
  .journey article,
  .editorial-steps article,
  .product-card {
    min-height: auto;
  }
}
