/* ═══════════════════════════════════════════════════════════════
   sobre-mi/style.css — rediseño completo, robusto, sin dependencias
   frágiles. Las imágenes son visibles por defecto en CSS puro,
   nunca dependen de que JS termine de ejecutar una animación.
═══════════════════════════════════════════════════════════════ */

/* ── HERO ── */
.ah-hero {
  position: relative;
  min-height: 86svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 130px 0 80px;
  background: var(--hv2-void);
}
.ah-hero__bg {
  position: absolute; inset: 0;
  background: radial-gradient(140% 120% at 72% 42%, var(--hv2-void-soft) 0%, var(--hv2-void) 85%);
  z-index: 0;
}
.ah-hero__glow {
  position: absolute;
  top: 18%;
  right: 8%;
  width: min(50vw, 600px);
  height: min(50vw, 600px);
  border-radius: 50%;
  background: radial-gradient(circle, var(--hv2-gold-dim) 0%, transparent 68%);
  filter: blur(60px);
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}
/* Segundo halo, más cálido/ámbar y desplazado — añade profundidad
   cromática sutil sin salir de la paleta dorada del sitio. */
.ah-hero__glow--warm {
  position: absolute;
  bottom: -10%;
  right: 22%;
  width: min(38vw, 460px);
  height: min(38vw, 460px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 142, 70, 0.22) 0%, transparent 70%);
  filter: blur(70px);
  z-index: 0;
  pointer-events: none;
}

/* Campo de estrellas — elementos individuales (no box-shadow: ese
   truco no admite porcentajes, así que las estrellas quedaban fuera
   del área visible real). Cada <i> es una estrella posicionada con
   top/left en %, así escala correctamente con el contenedor sin
   importar el ancho real de la pantalla. */
.ah-starfield {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.ah-star {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  animation: ahStarTwinkle 5s ease-in-out infinite;
}
.ah-star--small  { width: 1.5px; height: 1.5px; opacity: 0.5; }
.ah-star--medium { width: 2.5px; height: 2.5px; opacity: 0.7; box-shadow: 0 0 3px rgba(255,255,255,0.6); }
.ah-star--gold   { width: 2.5px; height: 2.5px; opacity: 0.8; background: #cdb78e; box-shadow: 0 0 4px rgba(205,183,142,0.7); }
@keyframes ahStarTwinkle {
  0%, 100% { opacity: 0.25; }
  50%      { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .ah-star { animation: none; opacity: 0.5; }
}

.ah-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.ah-hero__title {
  font-family: var(--hv2-font-display);
  font-weight: 340;
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--hv2-ink);
  margin-bottom: 24px;
}
.ah-hero__title em {
  font-style: italic;
  font-weight: 380;
  color: var(--hv2-gold);
}
.ah-hero__sub {
  font-family: var(--hv2-font-body);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--hv2-ink-dim);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 36px;
}
.ah-hero__sub strong { color: var(--hv2-ink); font-weight: 600; }

.ah-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--hv2-font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hv2-gold);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--hv2-gold-dim);
  transition: border-color var(--transition), gap var(--transition);
}
.ah-hero__cta:hover {
  border-color: var(--hv2-gold);
  gap: 14px;
}
.ah-hero__cta svg { transform: rotate(90deg); flex-shrink: 0; }

/* ── ARTE DEL HERO — planeta + rocas + órbita SVG ──
   Visibles por defecto: sin opacity:0 esperando a JS, sin
   mix-blend-mode dependiente del fondo. Lo que ves en el código
   es exactamente lo que se renderiza.

   Composición apretada a propósito: el planeta es el protagonista
   (64% del contenedor), las rocas viven PEGADAS a su borde como si
   orbitaran junto a él — no sueltas en las esquinas del contenedor. */
.ah-hero__art {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  max-width: 620px;
  justify-self: center;
}

.ah-orbit-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ah-comet {
  filter: drop-shadow(0 0 4px var(--hv2-gold));
}
.ah-comet--tail { fill: var(--hv2-gold); opacity: 0.45; }
.ah-comet--core { fill: #fff; }

.ah-sunburst {
  position: absolute;
  top: 4%;
  right: 10%;
  width: 7%;
  aspect-ratio: 1/1;
  background: radial-gradient(circle, #fff 0%, var(--hv2-gold) 40%, transparent 72%);
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.85;
  animation: ahSunburstPulse 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 3;
}
@keyframes ahSunburstPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.15); }
}

.ah-planet {
  position: absolute;
  top: 50%; left: 50%;
  width: 64%;
  height: auto;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 50px rgba(205,183,142,0.35)) drop-shadow(0 0 100px rgba(205,183,142,0.15));
  animation: ahPlanetFloat 8s ease-in-out infinite, ahPlanetGlow 6s ease-in-out infinite;
  z-index: 2;
}
@keyframes ahPlanetFloat {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50%      { transform: translate(-50%, -50%) translateY(-14px); }
}
@keyframes ahPlanetGlow {
  0%, 100% { filter: drop-shadow(0 0 50px rgba(205,183,142,0.35)) drop-shadow(0 0 100px rgba(205,183,142,0.15)); }
  50%      { filter: drop-shadow(0 0 70px rgba(205,183,142,0.5)) drop-shadow(0 0 130px rgba(205,183,142,0.22)); }
}

/* Rocas: width fijado a su proporción REAL (a = 900x491 ≈ 1.83:1,
   b = 900x900 = 1:1), nunca forzadas a un height que las distorsione.
   Mucho más pequeñas que antes y pegadas casi al borde del planeta —
   sensación de fragmentos en su órbita inmediata, no rocas sueltas
   flotando al azar en el espacio vacío. */
.ah-rock {
  position: absolute;
  height: auto;
  filter: drop-shadow(0 0 16px rgba(205,183,142,0.3));
  z-index: 1;
}
.ah-rock--a {
  width: 14%;
  top: 19%;
  left: 14%;
  animation: ahRockFloatA 11s ease-in-out infinite;
}
.ah-rock--b {
  width: 10%;
  bottom: 18%;
  right: 16%;
  animation: ahRockFloatB 9s ease-in-out infinite;
}
@keyframes ahRockFloatA {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(8px) rotate(3deg); }
}
@keyframes ahRockFloatB {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-10px) rotate(-3deg); }
}

@media (prefers-reduced-motion: reduce) {
  .ah-planet, .ah-rock, .ah-sunburst, .ah-comet { animation: none; }
}

@media (max-width: 900px) {
  .ah-hero { padding: 110px 0 50px; min-height: auto; }
  .ah-hero__grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .ah-hero__sub { margin-left: auto; margin-right: auto; }
  .ah-hero__cta { margin: 0 auto; }
  .ah-hero__art { max-width: 440px; }
}
@media (max-width: 480px) {
  .ah-hero__art { max-width: 320px; }
}

/* ── BLOQUES DE CONTENIDO ── */
.about-content { padding: 80px 0 40px; }

.about-block {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 56px 0;
  align-items: start;
}
@media (max-width: 600px) {
  .about-block { grid-template-columns: 1fr; gap: 12px; padding: 40px 0; }
}

.about-block__label .eyebrow {
  font-size: 13px;
  padding-top: 6px;
}

.about-block__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.about-block__body p {
  font-size: 1rem;
  color: var(--hv2-ink-dim);
  line-height: 1.8;
  max-width: 600px;
}

.about-divider {
  max-width: 1100px;
  margin: 0 auto;
  height: 1px;
  background: var(--hv2-line);
  padding: 0 24px;
}

/* ── MOTO BADGE ── */
.moto-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  background: rgba(205,183,142,0.07);
  border: 1px solid rgba(205,183,142,0.18);
  color: var(--hv2-gold);
  font-size: 12px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 100px;
}

/* ── STAT CARDS ── */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 8px 0 56px;
}
@media (max-width: 600px) {
  .about-stats { grid-template-columns: 1fr; }
}
.about-stat {
  background: var(--hv2-void-soft);
  border: 1px solid var(--hv2-line);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.about-stat:hover {
  border-color: var(--hv2-gold-dim);
  box-shadow: var(--hv2-glow);
}
.about-stat__num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--hv2-gold);
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}
.about-stat__arrow {
  font-size: 1.2rem;
  color: var(--hv2-ink-dim);
  font-weight: 300;
}
.about-stat__label {
  font-size: 12px;
  color: var(--hv2-ink-dim);
  line-height: 1.5;
}

/* ── SKILL CHIPS ── */
.about-skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 40px 0 80px;
}
.skill-chip {
  font-size: 12px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 100px;
  background: var(--hv2-void-soft);
  border: 1px solid var(--hv2-line);
  color: var(--hv2-ink);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  cursor: default;
}
.skill-chip:hover {
  border-color: var(--hv2-gold-dim);
  color: var(--hv2-gold);
  background: var(--hv2-gold-faint);
}
.skill-chip--muted {
  color: var(--hv2-ink-dim);
  border-style: dashed;
}
