/* Tech4Equity — landing afoone
   Identidad corporativa: Space Grotesk + Inter, azul #3654FF */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/Inter-Variable.woff2") format("woff2");
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("/fonts/SpaceGrotesk-Variable.woff2") format("woff2");
}

:root {
  --ink: #14161a;
  --muted: #64748b;
  --border: #e4e6ea;
  --paper: #fafafa;
  --blue: #3654ff;
  --blue-dark: #2540cc;
  --blue-tint: #5c7cff;
  --grey-btn: #f1f2f5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue);
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 15px;
  padding-bottom: 15px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 20px;
}

.brand svg {
  width: 32px;
  height: 18px;
}

.lang {
  display: flex;
  background: var(--grey-btn);
  border-radius: 999px;
  padding: 3px;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 600 12px/1 "Inter", sans-serif;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.lang-btn.active {
  background: var(--ink);
  color: #fff;
}

/* Hero */
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  padding-top: 80px;
  padding-bottom: 72px;
}

.eyebrow {
  font-size: 13px;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 60px);
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.sub {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
  max-width: 660px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  transition: background 0.15s ease;
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: #000;
}

.btn-ghost {
  background: var(--grey-btn);
  color: var(--ink);
}

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

.btn-white {
  background: #fff;
  color: var(--blue);
}

.btn-white:hover {
  background: var(--grey-btn);
}

/* Secciones */
.band {
  background: var(--paper);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section {
  padding-top: 68px;
  padding-bottom: 68px;
}

h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 36px);
}

.section-sub {
  margin: 0 0 40px;
  color: var(--muted);
  max-width: 620px;
}

/* Cómo funciona */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
}

.step .num {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 30px;
  color: var(--blue);
}

.step h3 {
  margin: 10px 0 8px;
  font-size: 19px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.closing {
  margin: 40px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 17px;
  max-width: 620px;
}

/* Qué aportamos */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card svg {
  width: 40px;
  height: 40px;
}

.card h3 {
  margin: 0;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* Encaja */
.fit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  max-width: 660px;
}

.fit-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
}

.fit-list svg {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
}

/* CTA final */
.cta-band {
  background: var(--blue);
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding-top: 64px;
  padding-bottom: 64px;
}

.cta-band h2 {
  color: #fff;
  margin: 0;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  max-width: 560px;
}

.cta-band .btn {
  margin-top: 10px;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding-top: 28px;
  padding-bottom: 28px;
}

.footer-inner .brand {
  font-size: 15px;
}

.footer-inner .brand svg {
  width: 26px;
  height: 15px;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: #9ca3af;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .footer-legal {
    align-items: flex-end;
  }
}
