/* ==========================================================================
   YD Cleaning Services LLC — header
   Promo bar, sticky header, navigation and mobile quick-contact bar.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Promo bar
   -------------------------------------------------------------------------- */

.promo-bar {
  background: var(--gold-500);
  color: var(--green-950);
}

.promo-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  min-height: 36px;
  padding-block: 0.4rem;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.promo-inner p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.promo-inner .icon {
  width: 14px;
  height: 14px;
}

.promo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.promo-link .icon {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.promo-link:hover .icon {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(247, 242, 232, 0.97);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 12px 32px -26px rgba(7, 31, 18, 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 4px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  flex: none;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--green-900);
}

.brand-text span {
  margin-top: 0.28rem;
  color: var(--gold-600);
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  position: relative;
  display: block;
  padding: 0.45rem 0;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 1px;
  background: var(--gold-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-list a:hover,
.nav-list a.is-active {
  color: var(--green-900);
}

.nav-list a:hover::after,
.nav-list a.is-active::after {
  transform: scaleX(1);
}

.nav-extra {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: none;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(11, 43, 27, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
}

.lang-toggle button {
  width: 34px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.lang-toggle button:hover {
  color: var(--green-900);
}

.lang-toggle button.is-active {
  background: var(--green-900);
  color: var(--cream);
}

.header-cta {
  padding: 0.72rem 1.15rem;
  font-size: 0.82rem;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(11, 43, 27, 0.18);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--green-900);
  transition: transform 0.28s ease, opacity 0.2s ease;
}

.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

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

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}


/* --------------------------------------------------------------------------
   Mobile quick-contact bar
   -------------------------------------------------------------------------- */

.mobile-bar {
  display: none;
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 65;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(201, 171, 93, 0.35);
  background: rgba(11, 43, 27, 0.98);
  padding-bottom: env(safe-area-inset-bottom);
}

.mobile-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.18rem;
  padding: 0.6rem 0.5rem 0.55rem;
  color: var(--cream);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.mobile-bar a + a {
  border-left: 1px solid rgba(247, 242, 232, 0.1);
}

.mobile-bar .icon {
  width: 19px;
  height: 19px;
  color: var(--gold-300);
}

