/* =========================
   NAV "KIDS SOBRIO" - Chamakes
   Requiere tu JS actual que alterna .open en #navMenu
   ========================= */

:root{
  --nav-bg: #ffffff;
  --nav-ink: #17323a;
  --nav-accent: #3B948D;     /* tu teal */
  --nav-accent-2: #F7B84B;   /* amarillo suave */
  --nav-accent-3: #FF6B6B;   /* coral suave */
  --nav-shadow: 0 10px 25px rgba(0,0,0,.08);
  --nav-radius: 18px;
  --nav-stroke: rgba(59,148,141,.25);
}

/* Barra principal */
.menu-bar{
  width: 100%;
  background: #fafafa;
  border-top: 2px solid #e2e2e2;
  border-bottom: 2px solid #e2e2e2;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  position: relative;
}

/* Contenedor interno */
.menu-inner{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;                 
  padding: 0 1.5rem;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  position: relative;
  box-sizing: border-box;
}

/* Icono circular (sticker) */
.icon-circle-menu{
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, #ffffff 0 40%, rgba(255,255,255,0) 41%),
    linear-gradient(135deg, rgba(247,184,75,.35), rgba(59,148,141,.25));
  border: 2px solid var(--nav-stroke);
  box-shadow: 0 10px 18px rgba(0,0,0,.08);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.icon-circle-menu img{
  width: 26px;
  height: 26px;
}

/* Botón hamburguesa (más “botón”) */
.hamburger{
  margin-left: auto;
  width: 48px;
  height: 44px;
  border-radius: 14px;
  border: 2px solid var(--nav-stroke);
  background: #fff;
  box-shadow: 0 8px 16px rgba(0,0,0,.06);
  display: none;            /* se activa en mobile */
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.hamburger span{
  display: block;
  width: 22px;
  height: 3px;
  border-radius: 99px;
  background: var(--nav-accent);
}

/* Menú en desktop */
.nav-menu{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
  align-items: center;
  margin-left: auto;
}

/* Links como "pastillitas" */
.nav-menu a{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--nav-ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .2px;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
}

/* Hover sobrio con efecto “sticker” */
.nav-menu a:hover{
  background: rgba(59,148,141,.10);
  border-color: rgba(59,148,141,.22);
  box-shadow: 0 10px 18px rgba(0,0,0,.06);
  transform: translateY(-1px);
}

/* Activo (si quieres marcar la página actual con class="active") */
.nav-menu a.active{
  background: rgba(247,184,75,.22);
  border-color: rgba(247,184,75,.35);
}

/* Puntitos de color alternados (toque infantil leve) */
.nav-menu li:nth-child(3n+1) a:hover{ background: rgba(59,148,141,.12); }
.nav-menu li:nth-child(3n+2) a:hover{ background: rgba(247,184,75,.20); }
.nav-menu li:nth-child(3n+3) a:hover{ background: rgba(255,107,107,.14); }

/* =========================
   Mobile
   ========================= */
@media (max-width: 900px){
  .hamburger{ display: inline-flex; }

  /* el ul pasa a panel desplegable */
  .nav-menu{
    position: absolute;
    left: 16px;
    right: 16px;
    top: 70px;

    display: grid;
    gap: 10px;
    padding: 14px;
    margin-left: 0;

    background: rgba(255,255,255,.95);
    border: 2px solid var(--nav-stroke);
    border-radius: var(--nav-radius);
    box-shadow: var(--nav-shadow);

    /* cerrado */
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }

  /* tu JS ya agrega .open */
  .nav-menu.open{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-menu a{
    justify-content: center;
    padding: 12px 14px;
    border: 1px dashed rgba(59,148,141,.25);
    background: #fff;
  }
}
