/* HITO HUB — Preview Wireframes */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Titulares en Funnel Display — la firma tipográfica de la marca */
h1, h2, h3, .hero-h1, .hero-eyebrow, .eyebrow, .nav-logo, .step-num {
  font-family: var(--font-display);
}

/* ── LAYOUT ── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 32px; max-width: var(--max); margin: 0 auto; }
.section-sm { padding: 48px 32px; max-width: var(--max); margin: 0 auto; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245,245,245,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
}
.nav-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 32px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 600; letter-spacing: -0.03em;
  color: var(--dark); text-decoration: none;
}
.nav-logo svg { width: 28px; height: 28px; flex-shrink: 0; }
/* Logo de marca real (wordmark HITO HUB) */
.nav-logo-img { height: 26px; width: auto; display: block; }
.footer-logo-img { height: 24px; width: auto; display: block; }
.nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none; flex: 1; justify-content: center;
}
.nav-links a {
  padding: 6px 14px; border-radius: 40px;
  font-size: 14px; font-weight: 500; color: var(--muted);
  text-decoration: none; transition: all 0.15s;
}
.nav-links a:hover { color: var(--dark); background: rgba(0,0,0,0.06); }
.nav-links a.active { color: var(--dark); }
.nav-cta {
  background: var(--dark); color: var(--yellow);
  font-size: 14px; font-weight: 600; letter-spacing: 0.01em;
  padding: 10px 24px; border-radius: 40px; text-decoration: none;
  transition: opacity 0.15s; white-space: nowrap;
}
.nav-cta:hover { opacity: 0.85; }

/* ── HERO BOX ── */
.hero-box {
  background: var(--c-ink) var(--texture-sphere) no-repeat right center / cover;
  border-radius: var(--radius-xl);
  padding: 80px;
  margin-bottom: 60px;
  position: relative; overflow: hidden;
}
/* Overlay: oscurece el lado del texto, deja respirar la esfera a la derecha */
.hero-box::after {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg, rgba(17,25,12,0.96) 32%, rgba(17,25,12,0.62) 70%, rgba(17,25,12,0.45) 100%);
}
.hero-box::before {
  content: '';
  position: absolute; inset: 12px; z-index: 2;
  border-radius: calc(var(--radius-xl) - 10px);
  border: 1px solid rgba(255,255,255,0.15);
  pointer-events: none;
}
.hero-box > * { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.08);
  color: var(--yellow);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 40px;
  margin-bottom: 28px; border: 1px solid rgba(232,255,87,0.25);
}
.hero-h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600; letter-spacing: -0.04em; line-height: 1.08;
  color: #fff; max-width: 720px; margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px; line-height: 1.65;
  color: rgba(255,255,255,0.6); max-width: 560px; margin-bottom: 40px;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--yellow); color: var(--dark);
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  padding: 14px 28px; border-radius: 40px;
  text-decoration: none; transition: opacity 0.15s; border: none; cursor: pointer;
}
.btn-primary:hover { opacity: 0.88; }
.btn-primary .arrow {
  width: 32px; height: 32px; background: var(--dark); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.btn-primary .arrow svg { width: 16px; height: 16px; color: var(--yellow); }
.btn-microcopy {
  margin-top: 12px;
  font-size: 13px; color: rgba(255,255,255,0.4); letter-spacing: 0.01em;
}

/* ── SECTION HEADERS ── */
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px;
}
h2.section-title {
  font-size: clamp(28px, 4vw, 48px); font-weight: 600;
  letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 20px;
}
h2.section-title em { font-style: normal; color: var(--muted); }
.section-intro {
  font-size: 18px; color: var(--muted); line-height: 1.65;
  max-width: 560px; margin-bottom: 56px;
}

/* ── PAIN POINTS (icon boxes) ── */
.pain-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--gap); margin-top: 48px;
}
.pain-card {
  background: #fff; border-radius: var(--radius-md);
  padding: 32px; border: 1px solid var(--border);
}
.pain-card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--dark); display: flex; align-items: center;
  justify-content: center; margin-bottom: 20px;
}
.pain-card-icon svg {
  width: 22px; height: 22px;
  fill: none; stroke: var(--c-accent);
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.pain-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.02em; }
.pain-card p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── WHAT IS HITO (3 cols) ── */
.three-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--gap); }
.feature-col h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.feature-col p { font-size: 14px; color: var(--muted); line-height: 1.65; }
.feature-divider { width: 40px; height: 2px; background: var(--yellow); border-radius: 2px; margin-bottom: 16px; }

/* ── 3 LEVELS ── */
.levels-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--gap); }
.level-card {
  background: var(--dark); border-radius: var(--radius-lg);
  padding: 40px 36px; color: #fff; position: relative;
}
.level-card.featured { border: 2px solid var(--yellow); }
.level-num {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 20px;
}
.level-card h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 12px; }
.level-card p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.65; margin-bottom: 28px; }
.level-link {
  color: var(--yellow); font-size: 14px; font-weight: 600;
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}

/* ── STEPS (metodología) ── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--gap); }
.step { padding: 0; }
.step-num { font-size: 48px; font-weight: 700; letter-spacing: -0.04em; color: var(--border); margin-bottom: 12px; }
.step h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.02em; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── FOR WHOM ── */
.for-whom { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.check-list { list-style: none; }
.check-list li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 15px; padding: 12px 0; border-bottom: 1px solid var(--border);
}
.check-list li:last-child { border-bottom: none; }
.check-list .icon { flex-shrink: 0; margin-top: 1px; display: inline-flex; }
.check-list .icon svg {
  width: 20px; height: 20px; fill: none;
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}
.check-list .icon.yes svg { stroke: var(--c-ink); }
.check-list .icon.no svg  { stroke: var(--c-muted); }
/* Íconos de confianza (formulario) */
.trust-ico { flex-shrink: 0; display: inline-flex; }
.trust-ico svg {
  width: 18px; height: 18px; fill: none; stroke: var(--c-muted);
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}

/* ── DARK CTA BOX ── */
.cta-box {
  background: var(--c-ink) var(--texture-sphere) no-repeat center / cover;
  border-radius: var(--radius-xl);
  padding: 80px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-box::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(circle at center, rgba(17,25,12,0.55) 0%, rgba(17,25,12,0.92) 70%);
}
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 {
  font-size: clamp(28px, 4vw, 48px); font-weight: 600;
  letter-spacing: -0.03em; color: #fff; margin-bottom: 16px;
}
.cta-box p { font-size: 18px; color: rgba(255,255,255,0.55); max-width: 520px; margin: 0 auto 40px; }

/* ── 2-COL LAYOUT ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 32px;
}
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-logo { font-size: 16px; font-weight: 600; color: var(--dark); text-decoration: none; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--dark); }
.footer-copy { font-size: 13px; color: var(--muted); }

/* ── ACTIVADORES GRID ── */
.activators-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: var(--gap); }
.activator-card {
  background: #fff; border-radius: var(--radius-md); padding: 36px;
  border: 1px solid var(--border); text-decoration: none; color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s; display: block;
}
.activator-card:hover { border-color: var(--dark); box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
.activator-ico {
  width: 48px; height: 48px; border-radius: var(--r-sm);
  background: var(--c-ink); display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.activator-ico svg {
  width: 24px; height: 24px; fill: none; stroke: var(--c-accent);
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.activator-card h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 10px; }
.activator-card p { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 20px; }
.activator-link { font-size: 13px; font-weight: 600; color: var(--dark); display: inline-flex; gap: 6px; align-items: center; }

/* ── CONTENT PAGE BODY ── */
.content-body { max-width: 680px; }
.content-body h2 { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; margin: 48px 0 16px; }
.content-body h2:first-child { margin-top: 0; }
.content-body p { font-size: 16px; color: var(--muted); line-height: 1.75; margin-bottom: 16px; }
.content-body ul { padding-left: 0; list-style: none; margin-bottom: 24px; }
.content-body ul li { font-size: 15px; color: var(--muted); padding: 8px 0; border-bottom: 1px solid var(--border); display: flex; gap: 10px; }
.content-body ul li::before { content: '→'; color: var(--dark); font-weight: 600; flex-shrink: 0; }
.content-body strong { color: var(--dark); font-weight: 600; }

/* ── FORM ── */
.form-grid { display: grid; gap: 16px; max-width: 560px; }
.form-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; letter-spacing: 0.03em; text-transform: uppercase; color: var(--muted); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 14px 18px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: #fff;
  font-size: 15px; font-family: inherit; color: var(--dark);
  outline: none; transition: border-color 0.15s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--dark);
}
.form-microcopy { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* ── CONTACT ICON ── */
.contact-ico {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: var(--r-sm); background: var(--c-paper);
  display: flex; align-items: center; justify-content: center;
}
.contact-ico svg {
  width: 22px; height: 22px; fill: none; stroke: var(--c-ink);
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}

/* ── PARTNERS STRIP ── */
.partners {
  background: var(--c-ink);
  border-radius: var(--radius-lg);
  padding: 48px 56px;
}
.partners-label {
  font-size: var(--t-eyebrow); font-weight: 600;
  letter-spacing: var(--track-wide); text-transform: uppercase;
  color: var(--c-on-dark-3); text-align: center; margin-bottom: 32px;
}
.partners-row {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 48px;
}
.partners-row img {
  height: 30px; width: auto;
  opacity: 0.75; transition: opacity var(--dur) var(--ease);
}
.partners-row img:hover { opacity: 1; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .partners { padding: 36px 24px; }
  .partners-row { gap: 32px; }
  .partners-row img { height: 24px; }
  .hero-box, .cta-box { padding: 48px 32px; }
  .two-col, .for-whom { grid-template-columns: 1fr; gap: 32px; }
  .nav-links { display: none; }
  .section { padding: 64px 24px; }
}
