.site-header,
.site-header * {
  box-sizing: border-box;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 80px;
  border-bottom: 1px solid var(--line, #d9ddd9);
  background: rgba(247, 246, 241, 0.97);
  color: var(--ink, #111714);
  font-family: "Manrope", Arial, sans-serif;
  line-height: 1.2;
  backdrop-filter: blur(14px);
}

.site-header a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.site-header button {
  border: 0;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

.site-header a:focus-visible,
.site-header button:focus-visible {
  outline: 2px solid var(--focus, #2b63f1);
  outline-offset: 3px;
}

.header-inner {
  width: min(100%, 1536px);
  height: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
}

.wordmark {
  position: relative;
  width: 162px;
  height: 34px;
  display: block;
  overflow: hidden;
  flex: 0 0 auto;
}

.wordmark img {
  position: absolute;
  top: -88px;
  left: -30px;
  width: 224px;
  max-width: none;
  height: 224px;
  display: block;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 15px;
  font-weight: 600;
}

.main-nav a,
.main-nav button {
  position: relative;
  padding: 0;
  background: transparent;
  color: var(--ink, #111714);
  cursor: pointer;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--forest-900, #0b5138);
  transition: right 180ms ease-out;
}

.main-nav a:hover::after {
  right: 0;
}

.nav-whatsapp {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-call,
.header-whatsapp-action,
.header-primary-action,
.menu-toggle {
  font: inherit;
  line-height: 1;
}

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  background: transparent;
  color: var(--ink, #111714);
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.header-phone-symbol {
  width: 20px;
  display: inline-grid;
  place-items: center;
  font-family: Arial, sans-serif;
  font-size: 20px;
  line-height: 1;
}

.header-whatsapp-action {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--whatsapp-dark, #148948);
  cursor: pointer;
}

.header-whatsapp-action:hover {
  background: #ddf5e8;
}

.site-header .whatsapp-mark {
  width: 23px;
  height: 23px;
  display: block;
  object-fit: contain;
  flex: 0 0 auto;
}

.site-header .header-whatsapp-action .whatsapp-mark {
  width: 26px;
  height: 26px;
}

.header-primary-action {
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-sm, 5px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--forest-900, #0b5138);
  color: #fff !important;
  font-size: 15px;
  font-weight: 750;
  cursor: pointer;
  transition: background-color 180ms ease-out;
}

.header-primary-action:hover {
  background: var(--forest-700, #1d6a4d);
}

.site-header .icon-button {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-sm, 5px);
  display: inline-grid;
  place-items: center;
  background: transparent;
  color: var(--ink, #111714);
  cursor: pointer;
}

.site-header .icon-button:hover {
  background: var(--muted-soft, #eef0ed);
}

.menu-toggle {
  display: none !important;
}

.menu-toggle__icon {
  position: relative;
  width: 24px;
  height: 18px;
  display: block;
}

.menu-toggle__icon::before,
.menu-toggle__icon::after,
.menu-toggle__icon span {
  content: "";
  position: absolute;
  left: 1px;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease, top 180ms ease;
}

.menu-toggle__icon::before {
  top: 1px;
}

.menu-toggle__icon span {
  top: 8px;
}

.menu-toggle__icon::after {
  top: 15px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before {
  top: 8px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after {
  top: 8px;
  transform: rotate(-45deg);
}

@media (max-width: 1240px) {
  .header-inner {
    padding: 0 28px;
  }

  .main-nav {
    gap: 22px;
    font-size: 13px;
  }
}

@media (max-width: 1040px) {
  .site-header,
  .header-inner {
    height: 70px;
  }

  .wordmark {
    width: 145px;
    height: 31px;
  }

  .wordmark img {
    top: -80px;
    left: -27px;
    width: 204px;
    height: 204px;
  }

  .main-nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    padding: 18px 24px 24px;
    border-bottom: 1px solid var(--line, #d9ddd9);
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    background: var(--paper, #f7f6f1);
    box-shadow: 0 18px 34px rgba(12, 24, 17, 0.1);
    font-size: 15px;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a,
  .main-nav button {
    min-height: 48px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line, #d9ddd9);
  }

  .main-nav a::after {
    display: none;
  }

  .nav-whatsapp {
    gap: 8px;
    color: var(--whatsapp-dark, #148948) !important;
  }

  .header-call__label,
  .header-primary-action {
    display: none;
  }

  .header-call {
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
  }

  .menu-toggle {
    display: inline-grid !important;
  }
}

@media (max-width: 760px) {
  .header-inner {
    padding: 0 18px 0 20px;
    gap: 10px;
  }

  .header-actions {
    gap: 4px;
  }
}

@media (max-width: 380px) {
  .header-call {
    display: none;
  }

  .header-inner {
    padding-inline: 16px;
  }

  .wordmark {
    width: 136px;
    height: 29px;
  }

  .wordmark img {
    top: -75px;
    left: -25px;
    width: 192px;
    height: 192px;
  }
}
