/* ===================== ANATI HEADER (SCOPED) ===================== */
/* Nota: no tocar .container, input, button, etc. Solo IDs/classes ANATI */

#anati-wrapper{
  position: relative;
  z-index: 9999;
  font-family: Arial, Helvetica, sans-serif;
}

/* TOP */
#anati-topbar{
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
#anati-inner.anati-row{
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.anati-brand{ display:flex; align-items:center; text-decoration:none; }
#anati-logo{ height: 56px; width: auto; display: block; }
@media (max-width:480px){
  #anati-logo{ height: 44px; }
}

.anati-social{ display:flex; gap:10px; align-items:center; }
.anati-social a{ color:#2f3f4f; text-decoration:none; }
.anati-social a:hover{ opacity:.85; }

/* NAV */
#anati-navwrap{
  background: #2f3f4f;
  border-bottom: 1px solid rgba(0,0,0,.25);
}
#anati-inner-nav{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 12px;
}

/* Toggle */
#anati-navtoggle{
  display: none;
  width: 100%;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 12px 0;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .4px;
  font-size: 14px;
  align-items: center;
  justify-content: space-between;
}
#anati-navtoggle i{ font-size: 18px; }

/* Menu desktop */
#anati-menu{
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
#anati-menu > li{ position: relative; }
#anati-menu a.item{
  display: block;
  padding: 14px 14px;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .4px;
  white-space: nowrap;
}
#anati-menu > li:hover > a.item{
  background: rgba(255,255,255,.08);
}

/* Dropdown desktop */
#anati-menu > li.parent > ul.dropdown{
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.15);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  list-style: none;
  margin: 0;
  padding: 8px 0;
  z-index: 10000;
}
#anati-menu > li.parent:hover > ul.dropdown{ display: block; }

#anati-menu > li.parent > ul.dropdown a.item{
  padding: 10px 14px;
  color: #2f3f4f;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  white-space: normal;
}
#anati-menu > li.parent > ul.dropdown a.item:hover{
  background: #f2f4f6;
}

/* Responsive */
@media (max-width: 992px){
  #anati-navtoggle{ display: flex; }

  #anati-menu{
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 6px 0;
  }
  #anati-navwrap.is-open #anati-menu{ display: flex; }

  #anati-menu a.item{
    padding: 12px 14px;
    border-top: 1px solid rgba(255,255,255,.08);
    white-space: normal;
  }

  /* Dropdown móvil */
  #anati-menu > li.parent > ul.dropdown{
    position: static;
    display: none;
    border: 0;
    box-shadow: none;
    background: rgba(255,255,255,.06);
    padding: 0;
  }
  #anati-menu > li.parent.is-open > ul.dropdown{ display: block; }

  #anati-menu > li.parent > ul.dropdown a.item{
    color: #fff;
    padding: 10px 22px;
    border-top: 1px solid rgba(255,255,255,.08);
  }

  /* Indicador caret (solo móvil, por CSS) */
  #anati-menu > li.parent > a.item{
    position: relative;
    padding-right: 42px;
  }
  #anati-menu > li.parent > a.item::after{
    content: "▾";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    opacity: .9;
  }
}
/* =================== END ANATI HEADER (SCOPED) =================== */
