/* ======= Header Integrado para Hero ======= */
.mares-header-integrated {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 20px 0;
}

.mares-header-container {
  max-width: none;
  width: 90%;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  gap: 20px;
}

/* Logo */
.mares-header-logo {
  display: flex;
  align-items: center;
}

.mares-logo {
  height: 135px !important;
  width: auto;
  max-width: 250px;
  filter: brightness(1.1);
  transition: all 0.3s ease;
}

.mares-logo:hover {
  transform: scale(1.05);
}

/* Navegación */
.mares-header-nav {
  display: flex;
  justify-content: center;
}

.mares-nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 32px;
}

.mares-nav-menu li a {
  color: #ffffff;
  text-decoration: none;
  font: 500 15px/1 "Questrial", sans-serif;
  transition: all 0.3s ease;
  padding: 8px 0;
  position: relative;
}

.mares-nav-menu li a:hover {
  color: #ffffff;
  opacity: 0.8;
}

.mares-nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ffffff;
  transition: width 0.3s ease;
}

.mares-nav-menu li a:hover::after {
  width: 100%;
}

/* CTA Button */
.mares-header-cta {
  display: flex;
  justify-content: flex-end;
}

.mares-header-btn {
  background: #ffffff;
  color: #000000;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  font: 600 14px/1 "Questrial", sans-serif;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.mares-header-btn:hover {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

/* Mobile toggle */
.mares-mobile-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  gap: 4px;
  justify-self: end;
}

.mares-mobile-toggle span {
  width: 25px;
  height: 3px;
  background: #ffffff;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Responsive para header integrado */
@media (max-width: 768px) {
  .mares-header-container {
    grid-template-columns: 1fr auto;
    gap: 15px;
  }
  
  .mares-header-nav {
    display: none;
  }
  
  .mares-header-cta {
    display: none;
  }
  
  .mares-mobile-toggle {
    display: flex;
  }
  
  .mares-logo {
    height: 95px !important;
    max-width: 200px;
  }
}