/* HERO.CSS */

#home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
}

.hero-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* Texto izquierdo */
.hero-eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--cyan);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--cyan);
}

.hero-name {
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 12px;
}
.hero-name .accent { color: var(--cyan); }

.hero-title {
  font-family: var(--display);
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 28px;
  letter-spacing: 0.01em;
  min-height: 2em; /* Evita salto de layout durante el efecto typewriter */
}

.hero-desc {
  max-width: 540px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 40px;
}
.hero-desc strong { color: var(--text); }

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Tarjeta lateral derecha */
.hero-visual { width: 340px; flex-shrink: 0; }

.hero-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 16px;
  padding: 28px;
  backdrop-filter: blur(20px);
  overflow: hidden;
}

/* Línea superior con gradiente */
.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

.profile-photo-wrap {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid var(--border);
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}
.profile-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Grid de estadísticas dentro de la tarjeta */
.card-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.stat-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
}

.stat-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.stat-value {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cyan);
}
