/* ============================================================
   Haile_Hydra — tema oscuro preto + laranja neon, estética hacker
   Mobile first. Sin estilos inline. Todo aquí.
   ============================================================ */

/* ---------- Tokens de color y tipografía ---------- */
:root {
  /* Fundos */
  --bg:            #0a0a0a;
  --bg-alt:        #0e0e0e;
  --surface:       #151515;
  --surface-2:     #1d1d1d;
  --border:        #2a2a2a;
  --border-strong: #3a3a3a;

  /* Texto */
  --text:          #f5f5f5;
  --text-muted:    #a1a1a1;
  --text-dim:      #6b6b6b;

  /* Laranja neon */
  --orange:        #ff5a00;
  --orange-hover:  #ff7a1a;
  --orange-light:  #ff9f54;
  --orange-dim:    #d06331;
  --orange-glow:   rgba(255, 90, 0, 0.35);
  --orange-10:     rgba(255, 90, 0, 0.10);

  /* Terminal */
  --term-bg:       #0b0b0b;
  --term-text:     #e6e6e6;
  --term-prompt:   var(--orange);
  --term-success:  #22c55e;
  --term-warn:     var(--orange-light);

  /* Foco */
  --focus:         var(--orange-light);

  /* Tipografía */
  --font-sans:    'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Orbitron', 'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Layout */
  --header-h: 64px;
  --container: 1200px;
  --radius: 10px;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

html { background: var(--bg); }

body {
  margin: 0;
  min-height: 100vh;
  background: transparent;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Foto da marca como fundo de toda a página ----------
   Imagem antiga da logo (Hydra_op1) escurecida para manter a leitura. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(120% 120% at 50% 50%, rgba(10, 10, 10, 0.78), rgba(10, 10, 10, 0.94)),
    url("/img/bg/haile-hydra-bg-1024.webp") center top / cover no-repeat;
}

img { max-width: 100%; height: auto; display: block; }
svg { display: block; }

a { color: var(--orange-light); text-decoration: none; }
a:hover { color: var(--orange-hover); }

ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1rem; }

::selection { background: var(--orange); color: #000; }

/* Scrollbar discreta */
* { scrollbar-width: thin; scrollbar-color: var(--orange-dim) var(--bg-alt); }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: var(--bg-alt); }
*::-webkit-scrollbar-thumb { background: var(--orange-dim); border-radius: 8px; }

/* Foco visible */
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100;
  background: var(--orange);
  color: #000;
  font-weight: 600;
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0.5rem; color: #000; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.btn--primary {
  background: var(--orange);
  color: #000;
  border-color: var(--orange);
  box-shadow: 0 0 0 rgba(255, 90, 0, 0);
}
.btn--primary:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  color: #000;
  box-shadow: 0 0 18px var(--orange-glow);
}
.btn--primary:active { transform: translateY(1px); }

.btn--ghost {
  background: transparent;
  color: var(--orange-light);
  border-color: var(--orange-dim);
}
.btn--ghost:hover {
  color: #000;
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 0 18px var(--orange-glow);
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .btn--primary:active { transform: none; }
}

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(10, 10, 10, 0.82);
  border-bottom: 1px solid var(--border);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand { display: inline-flex; align-items: center; }
.brand__logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  box-shadow: 0 0 12px var(--orange-glow);
}

.nav { display: flex; align-items: center; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--orange-light);
  border-radius: 2px;
}

/* Menú móvil (se rellena con .is-open vía JS) */
.nav__list {
  position: absolute;
  top: var(--header-h);
  right: clamp(1rem, 4vw, 2rem);
  left: clamp(1rem, 4vw, 2rem);
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}
.nav__list.is-open { display: flex; }

.nav__link {
  display: block;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.95rem;
}
.nav__link:hover { color: var(--orange-light); background: var(--orange-10); }

.header__cta { display: none; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(3rem, 8vw, 6rem);
  border-bottom: 1px solid var(--border);
  /* fondo hacker: glow laranja; el logo de página queda visible detrás */
  background:
    radial-gradient(60% 55% at 78% 45%, var(--orange-10), transparent 70%);
}

/* grid decorativo */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(80% 70% at 50% 40%, #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000 0%, transparent 100%);
}

/* scanlines sutiles */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0,
    rgba(0, 0, 0, 0) 3px,
    rgba(0, 0, 0, 0.18) 3px,
    rgba(0, 0, 0, 0.18) 4px
  );
  opacity: 0.5;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.hero__content { max-width: 760px; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--orange-light);
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.hero__title {
  font-size: clamp(2.4rem, 9vw, 4.5rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  text-shadow: 0 0 24px var(--orange-glow);
}

.hero__subtitle {
  color: var(--text-muted);
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  max-width: 52ch;
  margin-bottom: 1.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--term-success);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.65);
}

/* ---------- Responsivo (mobile first) ---------- */

/* tablet */
@media (min-width: 640px) {
  .hero__actions { gap: 1rem; }
}

/* escritorio */
@media (min-width: 900px) {
  .nav-toggle { display: none; }

  .nav__list {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    left: auto; right: auto; top: auto;
  }

  .header__cta { display: inline-flex; }
}

/* sin movimiento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   ETAPA 2 — secciones, tarjetas, terminal, contacto y footer
   ============================================================ */

/* ---------- Secciones ---------- */
.section {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.section--alt {
  background: linear-gradient(180deg, rgba(14, 14, 14, 0.72), rgba(10, 10, 10, 0.55));
}

.section--contact {
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.35), rgba(14, 14, 14, 0.78));
}

.section__head {
  max-width: 720px;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.section__title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  margin-bottom: 0.7rem;
}

.section__intro {
  color: var(--text-muted);
  max-width: 62ch;
  margin: 0;
}

.section__head--center .section__intro {
  margin-inline: auto;
}

/* ---------- Cards de servicios ---------- */
.cards,
.tools,
.projects {
  display: grid;
  gap: 1rem;
}

.card,
.tool-card,
.project-card {
  position: relative;
  overflow: hidden;
  padding: 1.4rem;
  background: linear-gradient(180deg, rgba(21, 21, 21, 0.96), rgba(14, 14, 14, 0.96));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.card::before,
.tool-card::before,
.project-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.card:hover,
.tool-card:hover,
.project-card:hover {
  border-color: var(--orange-dim);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 24px var(--orange-10);
}

.card:hover::before,
.tool-card:hover::before,
.project-card:hover::before {
  opacity: 1;
}

.card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.1rem;
  color: var(--orange-light);
  background: var(--orange-10);
  border: 1px solid rgba(255, 90, 0, 0.25);
  border-radius: 10px;
}

.card__title {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.card__text {
  color: var(--text-muted);
  font-size: 0.96rem;
}

.card__list {
  display: grid;
  gap: 0.45rem;
  margin: 1rem 0 1.4rem;
}

.card__list li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.card__list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-family: var(--font-mono);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--orange-light);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card__link:hover {
  color: var(--orange-hover);
}

/* ---------- Terminal ---------- */
.terminal {
  max-width: 860px;
  margin-inline: auto;
  overflow: hidden;
  background: var(--term-bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 40px var(--orange-10);
}

.terminal__bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  background: #141414;
  border-bottom: 1px solid var(--border);
}

.terminal__dots {
  display: inline-flex;
  gap: 6px;
}

.terminal__dots i {
  width: 10px;
  height: 10px;
  background: #3a3a3a;
  border-radius: 50%;
}

.terminal__dots i:nth-child(1) { background: #ff5f56; }
.terminal__dots i:nth-child(2) { background: #ffbd2e; }
.terminal__dots i:nth-child(3) { background: #27c93f; }

.terminal__title {
  margin-inline: auto;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.terminal__badge {
  padding: 0.1rem 0.45rem;
  color: var(--orange-light);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--orange-dim);
  border-radius: 999px;
}

.terminal__body {
  padding: clamp(1rem, 3vw, 1.5rem);
}

.terminal__output {
  min-height: 10.6em;
  margin: 0;
  color: var(--term-text);
  font-family: var(--font-mono);
  font-size: clamp(0.78rem, 1.9vw, 0.9rem);
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.t-ok { color: var(--term-success); }
.t-info { color: var(--orange-light); }
.t-warn { color: var(--term-warn); }

.terminal__command {
  margin: 0.75rem 0 0;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: clamp(0.78rem, 1.9vw, 0.9rem);
}

.terminal__prompt {
  color: var(--term-prompt);
}

.terminal__cursor {
  display: inline-block;
  width: 0.55em;
  height: 1.05em;
  margin-left: 0.15rem;
  vertical-align: -0.15em;
  background: var(--orange);
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* ---------- Herramientas ---------- */
.tool-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.tool-card__code {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.tool-card__title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.tool-card__text {
  color: var(--text-muted);
  font-size: 0.94rem;
}

.tool-card__meta {
  margin: 1.1rem 0 0;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.55rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
}

.tag--dev {
  color: var(--orange-light);
  background: var(--orange-10);
  border-color: var(--orange-dim);
}

.tag--muted {
  color: var(--text-dim);
}

/* ---------- Proyectos ---------- */
.project-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.project-card__year {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.project-card__title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.project-card__text {
  color: var(--text-muted);
  font-size: 0.94rem;
}

.project-card--next {
  border-style: dashed;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1.1rem 0 0;
}

.tags li {
  padding: 0.2rem 0.5rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 999px;
}

/* ---------- Contacto ---------- */
.contact {
  display: grid;
  gap: 2rem;
}

.contact__text {
  max-width: 55ch;
  color: var(--text-muted);
}

.contact__points {
  display: grid;
  gap: 0.7rem;
  margin: 1.4rem 0 0;
}

.contact__points li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.contact__points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--term-success);
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.1rem, 3vw, 1.6rem);
  background: linear-gradient(180deg, rgba(21, 21, 21, 0.96), rgba(14, 14, 14, 0.96));
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-dim);
}

.field input:focus-visible,
.field textarea:focus-visible {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-10);
}

.field--hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form__submit {
  justify-self: start;
}

.form-status {
  min-height: 1.2em;
  margin: 0;
  color: var(--orange-light);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.form-note {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.78rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: rgba(10, 10, 10, 0.86);
  border-top: 1px solid var(--border);
}

.footer {
  display: grid;
  gap: 1.5rem;
  padding-block: 2.5rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer__logo {
  border-radius: 6px;
  box-shadow: 0 0 10px var(--orange-glow);
}

.footer__name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.footer__tagline {
  margin: 0.15rem 0 0;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
}

.footer__nav a {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer__nav a:hover {
  color: var(--orange-light);
}

.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__social a {
  color: var(--orange-light);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer__social a:hover {
  color: var(--orange-hover);
}

.footer__copy {
  margin: 0;
  padding-top: 1.2rem;
  color: var(--text-dim);
  font-size: 0.78rem;
  border-top: 1px solid var(--border);
}

/* ---------- Scroll reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Nav activa ---------- */
.nav__link.is-active {
  color: var(--orange-light);
  background: var(--orange-10);
}

/* ---------- Responsivo etapa 2 ---------- */
@media (min-width: 640px) {
  .cards,
  .tools,
  .projects {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .footer__copy {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  .cards,
  .tools,
  .projects {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .footer {
    grid-template-columns: 1.2fr 1fr auto;
  }

  .nav__link.is-active {
    background: transparent;
    box-shadow: inset 0 -2px 0 var(--orange);
  }
}

/* ---------- Página 404 ---------- */
.error-page {
  display: grid;
  place-items: center;
  min-height: calc(100vh - var(--header-h));
  padding: clamp(4rem, 10vw, 7rem) 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.error-page__inner {
  max-width: 720px;
}

.error-page__code {
  margin: 0 0 0.5rem;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(5rem, 20vw, 10rem);
  font-weight: 900;
  line-height: 0.9;
  -webkit-text-stroke: 1px var(--orange-dim);
  text-shadow: 0 0 40px var(--orange-glow);
}

.error-page__title {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
}

.error-page__text {
  max-width: 46ch;
  margin: 0 auto 1.8rem;
  color: var(--text-muted);
}

.error-page .hero__actions {
  justify-content: center;
}

/* ---------- Ajustes finos para móviles pequeños ---------- */
@media (max-width: 479px) {
  .hero__actions .btn {
    width: 100%;
  }

  .terminal__badge {
    display: none;
  }
}
