/* ==========================================================================
   Service-page header — .am-header modifier on the v4 shell header.
   Shared by /airbnb-management/, /es/administracion-renta-vacacional/,
   /es/precios-administracion-airbnb/ and the Spanish city pages it links to.
   Depends on homepage-v3.css for the --bb-* tokens and .v4-header base styles.
   Theme overrides (body.am-theme-blue) stay in airbnb-management.css.
   ========================================================================== */

.am-header .am-header__cta {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 20px;
  border-radius: 16px;
  background: var(--bb-primary);
  color: var(--bb-on-primary);
  font-family: var(--bb-font-body);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: background 300ms ease, transform 300ms ease, box-shadow 300ms ease;
}

.am-header .am-header__cta:hover {
  background: var(--bb-primary-container);
  color: var(--bb-on-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(86, 69, 205, 0.24);
}

/* Below 1024px the nav and Sign in collapse into the hamburger — the CTA
   goes with them and reappears inside the mobile menu. */
@media (max-width: 1023px) {
  .am-header .am-header__cta {
    display: none;
  }
}

/* Mobile-menu CTA — inverted, since the panel is a purple gradient. */
.breakdance .v4-header__mobile-menu a.am-header__mobile-cta,
.v4-header__mobile-menu a.am-header__mobile-cta {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 20px;
  border-radius: 16px;
  border-bottom: 0;
  background: #ffffff;
  color: var(--bb-primary);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}

.breakdance .v4-header__mobile-menu a.am-header__mobile-cta:hover,
.v4-header__mobile-menu a.am-header__mobile-cta:hover {
  background: #ffffff;
  color: var(--bb-primary);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.35);
}
