/* =====================================================================
   HEADER & FOOTER JUVENTUDES (Estilo Propuesta 2 / Generación en Acción)
   ===================================================================== */

.jv-chrome {
  font-family: 'Public Sans', system-ui, sans-serif;
  color: #F5F1D4;
}

.jv-chrome .wrap {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(48px, 7vw, 112px);
  box-sizing: border-box;
}

/* Enlaces del menú principal en escritorio */
.jv-chrome .navlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  white-space: nowrap;
  border: 1.5px solid rgba(245, 241, 212, 0.5);
  border-radius: 999px !important;
  background: transparent;
  color: #F5F1D4;
  font-family: 'Archivo', sans-serif;
  font-stretch: 125%;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.jv-chrome .navlink:hover,
.jv-chrome .navlink[aria-current="page"] {
  background: #F5F1D4 !important;
  color: #0B3A4A !important;
}

/* Botón destacado Generación en Acción */
.jv-chrome .jv-cur {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  min-height: 44px;
  box-sizing: border-box;
  background: #F2834A;
  color: #0B3A4A !important;
  border: 2px solid #F5F1D4;
  font-family: 'Archivo', sans-serif;
  font-stretch: 125%;
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
  text-decoration: none;
  margin-left: 6px;
  border-radius: 999px !important;
  white-space: nowrap;
  transition: background 0.2s;
}

.jv-chrome .jv-cur:hover {
  background: #F5F1D4 !important;
}

/* Dropdown / Submenús (.jv-dd y .jv-menu) de juventudes-propuesta-2.html */
.jv-chrome .jv-dd {
  position: relative;
  display: inline-flex;
}

.jv-chrome .jv-dd::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
}

.jv-chrome .jv-ch {
  transition: transform 0.2s;
}

.jv-chrome .jv-dd:hover .jv-ch,
.jv-chrome .jv-dd:focus-within .jv-ch {
  transform: rotate(180deg);
}

.jv-chrome .jv-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 268px;
  background: #0B3A4A;
  border: 2px solid #F5F1D4;
  box-shadow: 6px 6px 0 #F2834A;
  border-radius: 22px !important;
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 80;
}

.jv-chrome .jv-dd:hover .jv-menu,
.jv-chrome .jv-dd:focus-within .jv-menu {
  display: flex;
}

.jv-chrome .jv-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  font-family: 'Archivo', sans-serif;
  font-stretch: 125%;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #F5F1D4;
  text-decoration: none;
  border-radius: 14px !important;
  transition: background 0.2s, color 0.2s;
}

.jv-chrome .jv-menu a:hover,
.jv-chrome .jv-menu a[aria-current="page"] {
  background: #F5F1D4;
  color: #0B3A4A;
}

.jv-chrome .jv-menu a svg {
  color: #F2834A;
  margin-left: auto;
  transition: transform 0.2s;
}

.jv-chrome .jv-menu a:hover svg {
  transform: translate(2px, -2px);
  color: #0B3A4A;
}

.jv-chrome .jv-n {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 13px;
  font-weight: 800;
  flex: none;
  background: #F2834A;
  color: #0B3A4A;
  border-radius: 50% !important;
}

/* Botón icono de búsqueda */
.jv-chrome .iconbtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(245, 241, 212, 0.5);
  border-radius: 999px !important;
  background: transparent;
  color: #F5F1D4;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.jv-chrome .iconbtn:hover {
  background: #F5F1D4 !important;
  color: #0B3A4A !important;
}

/* Marca / Logotipo */
.jv-chrome .brand-j {
  font-family: 'Archivo', sans-serif;
  font-stretch: 100%;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 20px;
  letter-spacing: 0.02em;
}

.jv-chrome .brand-logo-img {
  max-height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Navegación Móvil (.mnav y .mnav-panel) */
.jv-chrome .mnav {
  display: none;
}

.jv-chrome .mnav summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(245, 241, 212, 0.5);
  border-radius: 999px !important;
  color: #F5F1D4;
  cursor: pointer;
}

.jv-chrome .mnav summary::-webkit-details-marker {
  display: none;
}

.jv-chrome .mnav-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  background: #0B3A4A;
  border: 2.5px solid #0B3A4A;
  border-radius: 22px !important;
  box-shadow: 0 16px 32px rgba(11, 58, 74, 0.4);
}

.jv-chrome .mnav-panel a {
  display: block;
  padding: 14px 12px;
  font-family: 'Archivo', sans-serif;
  font-stretch: 125%;
  font-weight: 800;
  text-transform: uppercase;
  color: #F5F1D4;
  text-decoration: none;
  border-radius: 12px !important;
  transition: background 0.2s, color 0.2s;
}

.jv-chrome .mnav-panel a:hover,
.jv-chrome .mnav-panel a[aria-current="page"] {
  background: #F5F1D4;
  color: #0B3A4A;
}

.jv-chrome .mnav-h {
  display: block;
  margin-top: 8px;
  padding: 10px 12px 4px;
  font-family: 'Archivo', sans-serif;
  font-stretch: 125%;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #F2834A;
}

.jv-chrome .mnav-panel a.mnav-sub {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 16px;
}

.jv-chrome .mnav-panel a.jv-cur {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #F2834A;
  color: #0B3A4A !important;
  border: 2px solid #F5F1D4;
  border-radius: 999px !important;
}

.jv-chrome .mnav-panel a.jv-cur:hover {
  background: #F5F1D4 !important;
}

/* Enlaces del pie de página */
.jv-chrome .jv-footer-link {
  color: #F5F1D4;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
}

.jv-chrome .jv-footer-link:hover,
.jv-chrome .jv-footer-link[aria-current="page"] {
  color: #F2834A !important;
}

/* Responsivo */
@media (max-width: 1180px) {
  .jv-chrome .brand-j {
    font-size: 15px !important;
  }
  .jv-chrome .hdr-in > a:first-child {
    width: 220px !important;
  }
}

@media (max-width: 900px) {
  .jv-chrome .navlinks {
    display: none !important;
  }
  .jv-chrome .wrap {
    padding: 0 20px;
  }
  .jv-chrome .mnav {
    display: block;
  }
  .jv-chrome .hdr-in .iconbtn {
    display: none !important;
  }
  .jv-chrome .hdr-in > a:first-child {
    width: auto !important;
    flex: 1;
    min-width: 0;
  }
}

@media (max-width: 560px) {
  .jv-chrome .brand-j {
    font-size: 13px !important;
  }
}
