/* ============ TOKENS · MED·IA (ecosistema CésarAguilar.Coach) ============ */
:root {
  --coral: #FF533D;
  --coral-deep: #E23512;
  --coral-soft: rgba(255,83,61,0.08);
  --coral-line: rgba(255,83,61,0.24);
  --bg-dark: #0C0E12;
  --bg-deep: #06070A;
  --bg-light: #FFFFFF;
  --bg-gray: #F5F6F8;
  --text-dark: #0C0E12;
  --text-secondary: #5C6170;
  --text-muted: #A1A6B3;
  --text-light: #FFFFFF;
  --text-light-dim: rgba(255,255,255,0.78);
  --text-light-mute: rgba(255,255,255,0.55);
  --border-light: rgba(255,255,255,0.10);
  --radius: 14px;
  --radius-lg: 22px;
}

/* ============ RESET / BASE ============ */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

/* ============ CONTAINERS ============ */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}
.container--narrow {
  max-width: 880px;
}

/* ============ TYPOGRAPHY ============ */
.h-hero {
  font-size: clamp(34px, 5.2vw, 60px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-light);
  margin: 0 0 22px;
}
.h2 {
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: inherit;
  margin: 0 0 16px;
}
.h2--center { text-align: center; }
.h3 { font-size: 18px; font-weight: 700; }
.accent, .coral { color: var(--coral); }
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 18px;
}
.diff .eyebrow,
.cta-final .eyebrow,
.hero .eyebrow {
  color: var(--text-light-mute);
}
.eyebrow--center { text-align: center; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.18s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn-lg {
  font-size: 16px;
  padding: 16px 28px;
}
.btn-coral {
  background: var(--coral);
  color: #fff;
}
.btn-coral:hover {
  background: var(--coral-deep);
  transform: translateY(-1px);
}
.btn-outline-light {
  background: transparent;
  color: var(--text-light);
  border-color: rgba(255,255,255,0.25);
}
.btn-outline-light:hover {
  border-color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.04);
}
.btn-nav {
  font-size: 14px;
  padding: 11px 18px;
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12,14,18,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand, .nav-brand-coach {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-light);
}
.iso-sq {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--coral);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-name {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--text-light);
}
.brand-name .dot { color: var(--coral); }

.brand-sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light-mute);
  margin-top: 2px;
}
.nav-center {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-link {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-light-dim);
  transition: color 0.16s ease;
}
.nav-link:hover { color: var(--text-light); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-divider {
  width: 1px;
  height: 28px;
  background: var(--border-light);
}

/* ============ HERO ============ */
.hero {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 720px;
  background: radial-gradient(ellipse at center, rgba(255,83,61,0.12), transparent 65%);
  pointer-events: none;
}
.hero-inner-stack {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.hero-headline { text-align: center; }
.hero-sub {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.55;
  color: var(--text-light-dim);
  max-width: 720px;
  margin: 0 auto 32px;
}
.hero-sub strong { color: var(--text-light); font-weight: 700; }
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 36px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  justify-content: center;
  font-size: 13.5px;
  color: var(--text-light-mute);
  font-weight: 500;
}
.hero-meta span { position: relative; padding-left: 18px; }
.hero-meta span::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--coral);
}

/* ============ SECTIONS BASE ============ */
section { padding: 96px 0; }
.diff { background: var(--bg-dark); color: var(--text-light); }
.flujo { background: var(--bg-light); color: var(--text-dark); }
.activos { background: var(--bg-gray); color: var(--text-dark); }
.quien { background: var(--bg-light); color: var(--text-dark); }
.cta-final { background: var(--bg-dark); color: var(--text-light); padding: 88px 0; }

/* ============ DIFF (tabla protagonista) ============ */
.diff .eyebrow { color: var(--text-light-mute); }
.diff .h2 { color: var(--text-light); margin-bottom: 56px; }
.diff-table {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255,255,255,0.015);
}
.diff-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  border-bottom: 1px solid var(--border-light);
}
.diff-row:last-child { border-bottom: none; }
.diff-cell {
  padding: 22px 26px;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--text-light-dim);
  border-right: 1px solid var(--border-light);
}
.diff-cell:last-child { border-right: none; }
.diff-cell--label {
  font-weight: 700;
  color: var(--text-light);
  font-size: 14px;
}
.diff-row--head .diff-cell {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light-mute);
  padding: 18px 26px;
  background: rgba(255,255,255,0.025);
}
.diff-row--head .diff-cell--bad { color: var(--text-light-mute); }
.diff-row--head .diff-cell--good { color: var(--coral); }
.diff-cell strong { color: var(--text-light); font-weight: 700; }

/* ============ FLUJO (3 fases) ============ */
.flujo .h2 { margin-bottom: 56px; }
.flujo-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.flujo-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  padding: 32px 32px;
  background: var(--bg-gray);
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
}
.flujo-step--feature {
  background: var(--bg-dark);
  color: var(--text-light);
  border-color: var(--coral-line);
}
.flujo-step--feature .flujo-step-title { color: var(--text-light); }
.flujo-step--feature p { color: rgba(255,255,255,0.92); }
.flujo-step--feature .flujo-step-lead { color: var(--text-light); font-weight: 500; }
.flujo-step--feature strong { color: var(--text-light); font-weight: 700; }
.flujo-step--feature .flujo-step-bullets li { color: rgba(255,255,255,0.92); }
.flujo-step--feature .flujo-step-foot { color: var(--text-light); }
.flujo-step-num {
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  color: var(--coral);
  letter-spacing: -0.04em;
}
.flujo-step-title {
  font-size: 21px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--text-dark);
  letter-spacing: -0.01em;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.flujo-step-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.06);
  color: var(--text-light-mute);
  padding: 5px 10px;
  border-radius: 999px;
}
.flujo-step:not(.flujo-step--feature) .flujo-step-tag {
  background: rgba(12,14,18,0.06);
  color: var(--text-secondary);
}
.flujo-step-tag--coral {
  background: var(--coral-soft) !important;
  color: var(--coral) !important;
}
.flujo-step p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}
.flujo-step-lead { font-size: 16.5px !important; margin-bottom: 14px !important; }
.flujo-step-bullets {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 14px 0 16px;
}
.flujo-step-bullets li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-light-dim);
}
.flujo-step-bullets li::before {
  content: "";
  position: absolute;
  left: 4px; top: 8px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--coral);
}
.flujo-step-foot {
  font-size: 14.5px !important;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

/* ============ ACTIVOS ============ */
.activos .h2 { margin-bottom: 14px; }
.activos-lead {
  text-align: center;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 52px;
}
.activos-lead strong { color: var(--text-dark); font-weight: 700; }
.activos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.activo-card {
  background: var(--bg-light);
  border: 1px solid rgba(12,14,18,0.06);
  border-radius: var(--radius);
  padding: 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.activo-card--feature {
  background: var(--bg-dark);
  color: var(--text-light);
  border-color: var(--coral-line);
}
.activo-card--feature .activo-title { color: var(--text-light); }
.activo-card--feature p { color: rgba(255,255,255,0.92); }
.activo-card--report {
  background: var(--coral-soft);
  border-color: var(--coral-line);
}
.activo-letter {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--coral);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.activo-letter--report {
  background: var(--coral);
  font-size: 18px;
}
.activo-title {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--text-dark);
}
.activo-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}
.activo-card--feature p { color: rgba(255,255,255,0.92) !important; }

/* ============ QUIÉN ============ */
.quien-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 48px;
  align-items: start;
}
.quien-lead {
  font-size: 17.5px;
  line-height: 1.55;
  margin: 0 0 16px;
  color: var(--text-dark);
}
.quien-text p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.quien-text strong { color: var(--text-dark); font-weight: 700; }
.quien-cta-row { margin-top: 24px; }
.quien-photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg-gray);
  box-shadow: 0 12px 40px rgba(12,14,18,0.08);
}
.quien-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* ============ CTA FINAL ============ */
.cta-final-inner { text-align: center; }
.cta-final-title { color: var(--text-light); margin-bottom: 14px; }
.cta-final-sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-light-dim);
  max-width: 620px;
  margin: 0 auto 32px;
}
.cta-final-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--bg-deep);
  color: var(--text-light-dim);
  padding: 48px 0 40px;
  border-top: 1px solid var(--border-light);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.footer-legal {
  font-size: 13px;
  line-height: 1.6;
  max-width: 680px;
  margin: 0;
  color: var(--text-light-mute);
}
.footer-legal a { color: var(--text-light-dim); text-decoration: underline; text-decoration-color: rgba(255,255,255,0.2); }
.footer-links {
  display: flex;
  gap: 22px;
  font-size: 13px;
}
.footer-links a { color: var(--text-light-mute); }
.footer-links a:hover { color: var(--text-light); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .nav-center { display: none; }
  .nav-inner { gap: 16px; }
}
@media (max-width: 879px) {
  section { padding: 72px 0; }
  .hero { padding: 72px 0 64px; }
  .container { padding: 0 22px; }

  .nav-inner { padding: 12px 18px; gap: 10px; }
  .nav-right { gap: 10px; }
  .nav-divider { display: none; }
  .nav-brand-coach .brand-text { display: none; }
  .brand .brand-sub { display: none; }

  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .hero-cta-row .btn { width: 100%; }
  .hero-meta { gap: 8px 18px; font-size: 12.5px; }

  .diff-row { grid-template-columns: 1fr; }
  .diff-cell {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding: 16px 22px;
  }
  .diff-cell:last-child { border-bottom: none; }
  .diff-row--head { display: none; }
  .diff-cell--label {
    background: rgba(255,255,255,0.04);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 12px 22px;
  }

  .flujo-step {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 26px 22px;
  }
  .flujo-step-num { font-size: 32px; }
  .flujo-step-title { font-size: 18px; }

  .activos-grid { grid-template-columns: 1fr; }

  .quien-grid { grid-template-columns: 1fr; gap: 28px; }

  .cta-final-row { flex-direction: column; align-items: stretch; }
  .cta-final-row .btn { width: 100%; }
}
@media (max-width: 480px) {
  .h-hero { font-size: 30px; }
  .iso-sq { width: 32px; height: 32px; font-size: 16px; }
}
