/* Colores del tema Uncode en producción (style-custom.css de inBytes) */
:root {
  --bg-panel: #141618;
  --text: #ffffff;
  --accent: #fffe85;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  /* Tipografía fluida (vh/vw mezclados para que escale en altura y anchura) */
  --fs-kicker: clamp(0.6875rem, 0.35vw + 0.55vh, 0.8125rem);
  --fs-progress: clamp(0.8125rem, 0.45vw + 0.45vh, 1rem);
  --fs-title: clamp(1.5rem, 1.35vw + 1.25vh, 3rem);
  --fs-lead: clamp(0.9375rem, 0.55vw + 0.45vh, 1.3125rem);
  --space-section: clamp(1.25rem, 2.5vh + 0.5vw, 2.75rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font);
  background-color: var(--bg-panel);
  color: var(--text);
}

/* Punto que sigue al cursor (estilo similar al tema Uncode del sitio original) */
.cursor-follower {
  position: fixed;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  margin: 0;
  border-radius: 50%;
  background: rgba(255, 254, 133, 0.549);
  box-shadow: 0 0 14px rgba(212, 241, 29, 0.35);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 100000;
  will-change: left, top;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.25rem, 4vw, 2rem);
  background-color: var(--bg-panel);
}

.hero__panel {
  display: contents;
}

.hero__inner {
  width: 100%;
  max-width: 35%;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

/* Móvil en vertical: columna más ancha (sin tope 35%). Horizontal móvil y escritorio: 35%. */
@media (max-width: 768px) and (orientation: portrait) {
  .hero__inner {
    max-width: min(92vw, 28rem);
  }
}

.hero__logo {
  width: 100%;
  text-align: center;
  margin-bottom: var(--space-section);
}

@keyframes hero-logo-zoom-in {
  from {
    opacity: 0;
    transform: scale(0.88);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero__logo img {
  display: block;
  width: 100%;
  height: auto;
  margin-inline: auto;
  transform-origin: center center;
  opacity: 0;
  animation: hero-logo-zoom-in 0.95s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes hero-progress-fill {
  from {
    width: 0;
  }
  to {
    width: var(--progress-target, 35%);
  }
}

.hero__kicker {
  margin: 0 0 var(--space-section);
  font-size: var(--fs-kicker);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.4;
}

.progress {
  width: 100%;
  margin-bottom: var(--space-section);
}

.progress__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: clamp(0.375rem, 1vh, 0.625rem);
  font-size: var(--fs-progress);
  font-weight: 600;
}

.progress__units {
  font-size: 1em;
  font-weight: 600;
  opacity: 0.95;
}

.progress__track {
  height: clamp(3px, 0.65vh, 10px);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  overflow: hidden;
}

.progress__bar {
  height: 100%;
  width: 0;
  background-color: var(--accent);
  border-radius: 10px;
  animation: hero-progress-fill 1.15s cubic-bezier(0.25, 1, 0.5, 1) 0.35s forwards;
}

.hero__title {
  margin: 0 0 clamp(0.625rem, 1.25vh, 1rem);
  font-size: var(--fs-title);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}

.hero__lead {
  margin: 0;
  font-size: var(--fs-lead);
  line-height: 1.55;
  font-weight: 400;
  color: var(--text);
  max-width: 100%;
  margin-inline: auto;
}

@media (min-width: 1600px) {
  :root {
    --fs-title: clamp(1.85rem, 1.1vw + 1.35vh, 3.25rem);
    --fs-lead: clamp(1rem, 0.48vw + 0.52vh, 1.4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__logo img {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .progress__bar {
    animation: none;
    width: var(--progress-target, 35%);
  }
}

@media (prefers-reduced-motion: reduce), (pointer: coarse) {
  .cursor-follower {
    display: none !important;
  }
}
