/* ═══════════════════════════════════════════
   STARK.LINK — sl-header.css
   https://360stark.link/Datashare/360Stark/sl-header.css
═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Outfit:wght@300;400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

/* ── VARS GLOBALES ── */
:root {
  --sl-orange:        #FF8C00;
  --sl-orange-deep:   #E67A00;
  --sl-orange-light:  #FFB347;
  --sl-carbon:        #0f1117;
  --sl-carbon-mid:    #161b24;
  --sl-carbon-surface:#1e2433;
  --sl-carbon-border: rgba(255,255,255,.07);
  --sl-white:         #fff;
  --sl-white-muted:   rgba(255,255,255,.6);
  --sl-radius:        33px;
  --sl-font-display:  'Bebas Neue', sans-serif;
  --sl-font-body:     'Outfit', sans-serif;
  --sl-font-mono:     'Space Mono', monospace;
}

/* ── RESET BÁSICO ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--sl-carbon); color: var(--sl-white); overflow-x: hidden; }

/* ── HEADER ── */
#sl-hdr {
  position: fixed;
  top: 25px;
  left: 50px;
  right: 50px;
  z-index: 9999;
  background: rgba(20,20,20,.97);
  box-shadow: 0 4px 20px rgba(255,140,0,.3);
  border-radius: var(--sl-radius);
  font-family: var(--sl-font-body);
  overflow: visible;
  transition: top .3s, box-shadow .3s;
}

#sl-hdr.sl-sc {
  top: 12px;
  box-shadow: 0 4px 30px rgba(255,140,0,.5);
}

.sl-hc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 24px;
  transition: padding .3s;
}

#sl-hdr.sl-sc .sl-hc { padding: 8px 24px; }

/* ── LOGO ── */
.sl-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.sl-logo svg {
  height: 58px;
  width: auto;
  display: block;
  transition: height .2s;
}

#sl-hdr.sl-sc .sl-logo svg { height: 46px; }

/* ── NAV ── */
#sl-nav ul {
  list-style: none;
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0;
  padding: 0;
}

#sl-nav ul li { position: relative; }

#sl-nav ul li a {
  text-decoration: none;
  color: var(--sl-white);
  font-size: 14px;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
  display: flex;
  align-items: center;
}

#sl-nav ul li a:hover,
#sl-nav ul li a.sl-active {
  color: var(--sl-orange);
  border-bottom-color: var(--sl-orange);
}

/* ── HEADER RIGHT ── */
.sl-hr {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ── CTA BUTTON ── */
.sl-bcta {
  background: var(--sl-orange);
  color: #fff;
  height: 38px;
  padding: 0 20px;
  border-radius: var(--sl-radius);
  border: none;
  font-family: var(--sl-font-body);
  font-weight: 600;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  white-space: nowrap;
}

.sl-bcta:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 18px rgba(255,140,0,.45);
}

/* ── MOBILE BUTTON ── */
.sl-mbt {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.sl-mbt span {
  width: 22px;
  height: 2.5px;
  background: var(--sl-orange);
  display: block;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
  transform-origin: center;
}

.sl-mbt.sl-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.sl-mbt.sl-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.sl-mbt.sl-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── MOBILE NAV ── */
@keyframes sl-dd {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
  #sl-hdr { left: 16px; right: 16px; top: 16px; }
  #sl-nav { display: none; }
  .sl-mbt { display: flex; }

  #sl-nav.sl-open {
    display: block;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    background: rgba(15,17,23,.99);
    border-radius: 20px;
    border: 1px solid rgba(255,140,0,.18);
    box-shadow: 0 8px 28px rgba(255,140,0,.18);
    padding: 12px 0;
    z-index: 9997;
    animation: sl-dd .25s ease forwards;
  }

  #sl-nav.sl-open ul { flex-direction: column; gap: 0; }
  #sl-nav.sl-open ul li a { padding: 12px 20px; font-size: 15px; border-bottom: none; }
}

@media (max-width: 500px) {
  .sl-bcta span { display: none; }
}
