/* ── HERO ── */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  position: relative;
  overflow: hidden;
}

.hero-body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  padding: 52px 40px 0;
  gap: 0;
}

/* left */
.hero-left { padding-right: 40px; border-right: 1px solid var(--border); }

.eyebrow { margin-bottom: 14px; }

.hero-left .display {
  font-size: clamp(44px, 6vw, 80px);
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.75;
  font-weight: 300;
  max-width: 340px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* center — gauge estático, sin giro */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px 0;
}

.gauge-container {
  position: relative;
  width: clamp(140px, 14vw, 200px);
  height: clamp(140px, 14vw, 200px);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* inner frame */
.gauge-container::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid var(--border2);
  pointer-events: none;
}

.gauge-visual {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  overflow: visible;
}

/* SVG markers — definidos en HTML */
.gauge-track { stroke: var(--border); stroke-width: 1; fill: none; }
.gauge-markers line { stroke: var(--border2); stroke-width: 1; }
.gauge-markers .marker-major { stroke: var(--border2); stroke-width: 1.5; }
.gauge-indicator { stroke: var(--red); stroke-width: 2; }

.gauge-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.gauge-content .count {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 3vw, 40px);
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.02em;
}
.gauge-content .label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* right */
.hero-right {
  padding-left: 40px;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 24px;
  padding-bottom: 4px;
}
.hero-stat-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.hero-stat-row:last-child { border-bottom: none; padding-bottom: 0; }
.hero-stat-num {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 30px;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero-stat-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── SEO STRIP — disciplinas con contexto ── */
.hero-strip {
  margin-top: 40px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 20px 40px;
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.strip-cell {
  padding: 12px 20px;
  border-right: 1px solid var(--border);
}
.strip-cell:last-child { border-right: none; }

.strip-cell-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  margin-bottom: 3px;
}
.strip-cell-desc {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
}

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .hero-body {
    grid-template-columns: 1fr;
    padding: 32px 20px 0;
    gap: 28px;
  }
  .hero-left {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid var(--border);
    padding-bottom: 28px;
  }
  .hero-left .display { font-size: clamp(42px, 14vw, 72px); }
  .hero-actions { flex-wrap: wrap; }
  .hero-stats { padding: 0; }
  .gauge-container { width: 130px; height: 130px; }
  .hero-right {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--border);
    padding-top: 20px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
  }
  .hero-stat-row {
    flex: 1;
    min-width: 90px;
    padding: 0 16px 0 0;
    border-bottom: none;
  }
  .hero-strip { padding: 16px 20px; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-cell:nth-child(2) { border-right: none; }
  .strip-cell { border-bottom: 1px solid var(--border); }
  .strip-cell:nth-last-child(-n+2) { border-bottom: none; }
}
