.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 3px 18px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
}

.top-strip {
  height: 28px;
  background: var(--navy);
  color: #fff;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 34px;
  padding: 0 7%;
  font-size: 13px;
  font-weight: 700;
}

.top-contact-item {
  display: inline-flex;
  align-items: center;
  font-weight: 200;
  gap: 7px;
  color: #fff;
  white-space: nowrap;
}

.contact-icon {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.navbar {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 7%;
  background: #fff;
}

.brand {
  width: 150px;
  max-width: 150px;
  display: flex;
  align-items: center;
  line-height: 1;
}

.logo-img {
  width: 100%;
  height: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 700;
  font-size: 14px;
}

.nav-menu > a,
.dropdown-btn {
  color: #111827;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.nav-menu > a:hover,
.dropdown-btn:hover {
  color: var(--hp-blue);
}

.nav-cta {
  width: 11rem;
  background: var(--hp-blue) !important;
  color: white !important;
  padding: 11px 20px;
  border-radius: 6px;
  box-shadow: 0 8px 16px rgba(0, 103, 209, 0.22);
  text-align: center;
}

.nav-cta:hover {
  background: #005bb8 !important;
  color: white !important;
}

.dropdown {
  position: relative;
}

.dropdown-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 68px;
}

.dropdown-btn::after {
  content: "+";
  font-size: 13px;
  transition: transform 0.25s ease;
}

.dropdown.open .dropdown-btn::after {
  transform: rotate(180deg);
}
/* =========================
   PANEL DEL MENÚ PRODUCTOS
   Caja blanca desplegable
========================= */

.dropdown-panel {
  position: absolute;
  top: 68px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 335px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  padding: 10px 18px;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 1100;
}

/* Espacio invisible para que no se cierre al bajar el mouse */
.dropdown-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
  background: transparent;
}

/* Muestra el panel al pasar el mouse o cuando tenga clase open */
.dropdown.open .dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* =========================
   CATÁLOGO POR CATEGORÍAS
========================= */

/* Contenedor general del catálogo */
.catalog-menu {
  max-height: 430px;
  overflow-y: auto;
}

/* Cada bloque de categoría */
.catalog-group {
  border-bottom: 1px solid #111827;
}

/* Botón/título de cada categoría */
.catalog-title {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 13px 0;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  text-align: left;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Flecha de cada categoría */
.catalog-title::after {
  content: "+";
  color: #111827;
  font-size: 15px;
  transition: transform 0.25s ease;
}

/* Gira la flecha cuando se abre la categoría */
.catalog-group.open .catalog-title::after {
  transform: rotate(180deg);
}

/* Lista interna de productos */
.catalog-items {
  display: none;
  padding: 0 0 10px;
}

/* Muestra productos al pasar el mouse sobre la categoría */
.catalog-group.open .catalog-items {
  display: block;
}

/* Enlaces de productos dentro de cada categoría */
.catalog-items a {
  display: block;
  padding: 8px 10px;
  color: #111827;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  border-radius: 4px;
}

/* Quitamos la flecha heredada de los enlaces antiguos */
.catalog-items a::after {
  content: none;
}

/* Efecto hover en productos */
.catalog-items a:hover {
  background: #f4f8fd;
  color: var(--hp-blue);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 36px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  background: #111;
  margin: 6px 0;
  border-radius: 2px;
  transition: 0.25s ease;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.site-footer {
  background: var(--navy);
  color: white;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 34px;
  padding: 52px 7%;
}

.brand-footer {
  max-width: 260px;
  display: flex;
  line-height: 1;
}

.site-footer p,
.site-footer a {
  display: block;
  color: #d7e0ef;
  font-size: 14px;
  margin: 8px 0;
}

.site-footer h4 {
  margin-bottom: 12px;
}

.footer-accordion-btn {
  display: none;
}

.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 18px;
  margin-top: 6px;
  color: #d7e0ef;
  font-size: 14px;
  text-align: center;
}
