/* Navbar VOU — réplica del home (xc + wr), sin depender de Tailwind */
/* Home: xc h-8 fijo arriba | wr nav container mx-auto px-4 lg:px-32 | links space-x-8 + CTA ml-4 */

#vou-navbar-mount {
  min-height: 7rem;
  background: #000;
}

.vou-xc {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 2rem;
  background: #000;
  z-index: 50;
  font-family: Montserrat, sans-serif;
  font-size: 0.875rem;
}

/* La barra superior replica EXACTAMENTE el "container px-4 lg:px-8" del home
   (no el inset del navbar) para que "Una empresa de Moov Media Group | Postula"
   se vea idéntica en el home y en todas las páginas internas. */
.vou-xc__inner {
  width: 100%;
  margin: 0 auto;
  height: 100%;
  padding-inline: 1rem;
}

@media (min-width: 640px)  { .vou-xc__inner { max-width: 640px; } }
@media (min-width: 768px)  { .vou-xc__inner { max-width: 768px; } }
@media (min-width: 1024px) { .vou-xc__inner { max-width: 1024px; padding-inline: 2rem; } }
@media (min-width: 1280px) { .vou-xc__inner { max-width: 1280px; } }
@media (min-width: 1400px) { .vou-xc__inner { max-width: var(--vou-content-max, 1400px); } }

.vou-xc__row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  height: 100%;
}

.vou-xc__row p {
  margin: 0;
  color: #d1d5db;
}

.vou-xc__row a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.15s;
}

.vou-xc__row a:hover { color: #e1ff80; }

.vou-xc__row a.vou-link-mmg {
  color: #e1ff80;
  text-decoration: underline;
}

.vou-xc__sep { color: #6b7280; }

/* En móvil el bloque superior debe caber en una sola línea sin desbordarse:
   fuente más chica, menos padding y elipsis en la atribución si falta espacio. */
@media (max-width: 640px) {
  .vou-xc { font-size: 0.6875rem; }
  .vou-xc__row { gap: 0.5rem; }
  .vou-xc__row p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
  }
}

.vou-wr {
  position: fixed;
  top: 2rem;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 40;
}

.vou-wr__nav {
  background: #000;
  border-bottom: 1px solid #1f2937;
  font-family: Montserrat, sans-serif;
}

.vou-wr__nav-inner {
  width: 100%;
  max-width: var(--vou-content-max, 1400px);
  margin: 0 auto;
  padding-inline: var(--vou-gutter-nav, 1rem);
}

@media (min-width: 1024px) {
  .vou-wr__nav-inner { padding-inline: var(--vou-gutter-nav, 8rem); }
}

@media (min-width: 1400px) {
  .vou-wr__nav-inner {
    max-width: var(--vou-content-max, 1400px);
  }
}

.vou-wr__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.vou-wr__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  opacity: 1;
  transition: opacity 0.15s;
}

.vou-wr__logo:hover { opacity: 0.8; }

.vou-wr__logo img {
  height: 3rem;
  width: auto;
}

/* Desktop — space-x-8 entre links, ml-4 antes del CTA (como home) */
.vou-nav-desktop {
  display: none;
  align-items: center;
  margin-left: auto;
}

@media (min-width: 1024px) {
  .vou-nav-desktop { display: flex; }
}

.vou-nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.vou-nav-link {
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.15s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  white-space: nowrap;
}

.vou-nav-link:hover { color: #e1ff80; }

.vou-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #e1ff80;
  color: #000;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  margin-left: 0;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background-color 0.15s;
}

.vou-nav-cta:hover {
  background-color: rgba(225, 255, 128, 0.9);
  color: #000;
}

/* Mobile */
.vou-nav-mobile-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .vou-nav-mobile-bar { display: none; }
}

.vou-nav-cta--sm {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  margin-left: 0;
}

.vou-nav-cta--menu {
  display: block;
  width: calc(100% - 1.5rem);
  margin: 0.75rem 0.75rem 0;
  text-align: center;
}

.vou-nav-toggle {
  color: #fff;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.15s;
}

.vou-nav-toggle:hover { color: #e1ff80; }

.vou-nav-mobile-menu {
  display: none;
  border-top: 1px solid #1f2937;
  background: #000;
}

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

@media (min-width: 1024px) {
  .vou-nav-mobile-menu { display: none !important; }
}

.vou-nav-mobile-menu__inner {
  padding: 0.5rem 0 0.75rem;
}

.vou-nav-mobile-menu .vou-nav-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.5rem 0.75rem;
}

.vou-is-hidden { display: none !important; }

html.vou-navigating,
html.vou-navigating body {
  background: #000 !important;
}

/* Offset: el espacio bajo el nav fijo lo reserva #vou-navbar-mount (min-height: 7rem) */
.vou-page-offset {
  padding-top: 0;
}
