/* ================================================================
   JLS HEADER
   ================================================================ */
.jls-header {
  background: #1A4A1A;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

.jls-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

/* Logo */
.jls-header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.jls-header__logo-icon {
  font-size: 26px;
  line-height: 1;
}

.jls-header__logo-text {
  font-family: var(--jls-font-head);
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.jls-header__logo-text strong {
  color: #fff;
  font-weight: 800;
  margin-left: 3px;
}

/* Nav desktop */
.jls-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  margin-left: 16px;
}

.jls-nav__link {
  font-family: var(--jls-font-body);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  padding: 6px 12px;
  border-radius: var(--jls-r-sm);
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}

.jls-nav__link:hover {
  color: #fff;
  background: rgba(255,255,255,0.10);
}

/* Dropdown */
.jls-nav__dropdown {
  position: relative;
}

.jls-nav__arrow {
  font-size: 9px;
  margin-left: 3px;
  vertical-align: middle;
  opacity: 0.6;
}

.jls-nav__submenu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border: 1px solid var(--jls-border);
  border-radius: var(--jls-r-md);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  list-style: none;
  margin: 0;
  padding: 8px 0;
  min-width: 220px;
  z-index: 100;
}

.jls-nav__submenu.is-open {
  display: block;
}

.jls-nav__submenu li { margin: 0; }

.jls-nav__submenu a {
  display: block;
  font-family: var(--jls-font-body);
  font-size: 14px;
  color: var(--jls-ink);
  padding: 9px 16px;
  text-decoration: none;
  transition: background 0.12s, color 0.12s;
}

.jls-nav__submenu a:hover {
  background: var(--jls-accent-light);
  color: var(--jls-accent-dark);
}

/* Header CTA */
.jls-header__actions {
  margin-left: auto;
  flex-shrink: 0;
}

/* Burger */
.jls-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  flex-shrink: 0;
}

.jls-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.jls-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.jls-burger.is-open span:nth-child(2) { opacity: 0; }
.jls-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.jls-mobile-menu {
  display: none;
  background: #1C3A1C;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 8px 0 16px;
}

.jls-mobile-menu.is-open {
  display: block;
}

.jls-mobile-menu nav {
  display: flex;
  flex-direction: column;
}

.jls-mobile-menu a {
  font-family: var(--jls-font-body);
  font-size: 15px;
  color: rgba(255,255,255,0.82);
  padding: 11px 24px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.12s, color 0.12s;
}

.jls-mobile-menu a:hover {
  background: rgba(255,255,255,0.06);
  color: #fff;
}

.jls-mobile-menu__cta {
  background: var(--jls-cta) !important;
  color: #fff !important;
  font-weight: 600 !important;
  border-bottom: none !important;
  margin: 12px 16px 0 !important;
  border-radius: var(--jls-r-md) !important;
  text-align: center !important;
  padding: 13px 16px !important;
}

/* ================================================================
   JLS FOOTER
   ================================================================ */
.jls-footer {
  background: #1C2018;
  color: rgba(255,255,255,0.65);
  font-family: var(--jls-font-body);
  padding: 64px 0 0;
  margin-top: 0;
}

.jls-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Col marca */
.jls-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--jls-font-head);
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  margin-bottom: 14px;
}

.jls-footer__logo strong {
  color: #fff;
  font-weight: 800;
}

.jls-footer__brand p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,0.5);
  margin: 0;
  max-width: 280px;
}

/* Columnas de links */
.jls-footer__col h4 {
  font-family: var(--jls-font-head);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  margin: 0 0 14px;
}

.jls-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.jls-footer__col a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.15s;
  line-height: 1.4;
}

.jls-footer__col a:hover {
  color: #fff;
}

/* Footer bottom */
.jls-footer__bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.jls-footer__bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  margin: 0;
}

/* ================================================================
   RESPONSIVE HEADER & FOOTER
   ================================================================ */
@media (max-width: 860px) {
  .jls-nav,
  .jls-header__actions { display: none; }
  .jls-burger           { display: flex; }
  .jls-header__inner    { height: 60px; }

  .jls-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .jls-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .jls-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .jls-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ================================================================
   ASTRA OVERRIDES: quitar duplicados del tema base
   ================================================================ */
.ast-header-break-point .main-header-bar,
.main-header-bar,
.ast-above-header-bar,
.ast-below-header-bar {
  display: none !important;
}

.ast-above-header,
.ast-below-header {
  display: none !important;
}

#colophon.site-footer,
.ast-footer-overlay {
  display: none !important;
}
