/* ─── site-header.css — Outlet Celular shared public nav ─────────────────── */
/* Single source of truth for all public-facing navigation styles.            */
/* DO NOT duplicate nav styles in individual page <style> blocks.             */

/* ── Base nav bar ─────────────────────────────────────────────────────────── */
.sh-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 12px 0;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border, #E4E2DE);
  transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
}

/* Home page: transparent at top, gains bg on scroll */
.sh-nav--home {
  background: transparent;
  box-shadow: none;
  padding: 16px 0;
}
.sh-nav--home.sh-nav--scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border, #E4E2DE);
  padding: 12px 0;
}

/* ── Inner layout ─────────────────────────────────────────────────────────── */
.sh-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── Logo ─────────────────────────────────────────────────────────────────── */
.sh-logo { display: flex; align-items: center; flex-shrink: 0; }
.sh-logo img {
  height: 38px;
  width: auto;
  display: block;
  transition: height .3s ease;
}
/* Non-home pages: always smaller logo (no scroll resize needed) */
.sh-nav:not(.sh-nav--home) .sh-logo img { height: 32px; }
/* Home on scroll: shrink logo */
.sh-nav--scrolled .sh-logo img { height: 32px; }

/* ── Desktop links ────────────────────────────────────────────────────────── */
.sh-links {
  display: flex;
  gap: 24px;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
}
.sh-links a {
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
  color: var(--text-mid, #555550);
  text-decoration: none;
  transition: color .2s;
}
.sh-links a:hover { color: var(--text, #2C2C2A); }
/* Active = orange color only — never bold (bold causes layout shift) */
.sh-links a.active { color: var(--orange, #E85A30); }

/* ── WhatsApp button ──────────────────────────────────────────────────────── */
.sh-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--wa, #25D366);
  color: #fff !important;
  padding: 9px 18px;
  height: 36px;
  border-radius: 100px;
  font-weight: 600 !important;
  font-size: 13px !important;
  line-height: 1;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.sh-wa:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,211,102,.3);
  color: #fff !important;
}
.sh-wa svg { flex-shrink: 0; }

/* ── Hamburger toggle ─────────────────────────────────────────────────────── */
.sh-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}
.sh-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text, #2C2C2A);
  margin: 5px 0;
  border-radius: 2px;
}

/* ── Mobile overlay menu ──────────────────────────────────────────────────── */
.sh-mob {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--white, #fff);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.sh-mob.open { opacity: 1; pointer-events: all; }

.sh-mob a {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text, #2C2C2A);
  text-decoration: none;
  transition: color .2s;
}
.sh-mob a:hover { color: var(--orange, #E85A30); }
/* Active = orange color only */
.sh-mob a.active { color: var(--orange, #E85A30); }

.sh-mob-close {
  position: absolute;
  top: 16px;
  right: 24px;
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: var(--text, #2C2C2A);
  line-height: 1;
}

/* ── No-JS fallback (shown only when JS is disabled) ─────────────────────── */
.sh-noscript {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  gap: 16px;
  padding: 14px 24px;
  background: rgba(255,255,255,.95);
  border-bottom: 1px solid var(--border, #E4E2DE);
  flex-wrap: wrap;
  align-items: center;
}
.sh-noscript a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid, #555550);
  text-decoration: none;
}
.sh-noscript a:hover { color: var(--text, #2C2C2A); }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .sh-links { display: none; }
  .sh-toggle { display: block; }
}
