.header {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 60;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.8);
  border: 1px solid rgba(80, 76, 63, 0.1);
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 45px rgba(41, 44, 37, 0.12);
}

.header.is-scrolled .header__inner {
  background: rgba(255, 250, 242, 0.92);
  box-shadow: 0 18px 50px rgba(41, 44, 37, 0.14);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand__mark {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  border: 1px solid rgba(31, 43, 34, 0.08);
  box-shadow: 0 8px 18px rgba(31, 43, 34, 0.08);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.brand__name {
  font-size: 14px;
  line-height: 1.15;
  font-weight: 800;
  white-space: nowrap;
}

.brand__tagline {
  font-size: 12px;
  color: var(--text-soft);
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-soft);
  text-decoration: none;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}

.nav__link:hover {
  background: rgba(53, 86, 67, 0.08);
  color: var(--text);
}

.nav__cta {
  margin-left: 8px;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: var(--green);
}

.mobile-menu {
  display: none;
  width: min(var(--container), calc(100% - 40px));
  margin: 12px auto 0;
  padding: 16px;
  gap: 6px;
  border-radius: 28px;
  background: rgba(255, 250, 242, 0.96);
  border: 1px solid rgba(31, 43, 34, 0.08);
  box-shadow: var(--shadow-md);
}

.mobile-menu.is-open {
  display: grid;
}

.mobile-menu__link {
  padding: 12px 14px;
  border-radius: 16px;
  text-decoration: none;
  color: var(--text);
}

.mobile-menu__link:hover {
  background: var(--green-soft);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  transition:
    transform 0.18s var(--ease),
    border-color 0.18s var(--ease),
    background-color 0.18s var(--ease),
    color 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(1px);
}

.button--lg {
  padding: 15px 22px;
  font-size: 15px;
}

.button--primary {
  color: #fffaf2;
  background: linear-gradient(135deg, var(--green), #476c57);
  box-shadow: 0 12px 30px rgba(53, 86, 67, 0.22);
}

.button--primary:hover {
  box-shadow: 0 16px 34px rgba(53, 86, 67, 0.28);
}

.button--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(31, 43, 34, 0.1);
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.85);
}

.button--dark {
  color: var(--text-inverse);
  background: linear-gradient(135deg, #223d30, #31513e);
  box-shadow: 0 14px 32px rgba(35, 61, 48, 0.22);
}

.button--dark:hover {
  box-shadow: 0 18px 36px rgba(35, 61, 48, 0.28);
}

.button--link {
  padding: 8px 6px;
  color: var(--text-soft);
  background: transparent;
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.button--whatsapp {
  color: #082012;
  background: linear-gradient(135deg, var(--whatsapp), #6ce29b);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.22);
}

.button--whatsapp:hover {
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.3);
}

.pill,
.chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 13px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  color: var(--text);
  background: rgba(255, 253, 249, 0.88);
  border: 1px solid rgba(31, 43, 34, 0.08);
  box-shadow: 0 10px 24px rgba(31, 43, 34, 0.06);
}

.media-frame {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-strong);
  border: 1px solid rgba(31, 43, 34, 0.08);
  box-shadow: var(--shadow-md);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame__caption {
  padding: 13px 16px;
  font-size: 13px;
  color: var(--text-soft);
  background: rgba(244, 239, 230, 0.78);
  border-top: 1px solid rgba(31, 43, 34, 0.06);
}

.checklist {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
}

.checklist li::before {
  content: "";
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(185, 145, 71, 0.14);
}

.divider {
  height: 1px;
  margin: 20px 0;
  background: rgba(31, 43, 34, 0.08);
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  color: #082012;
  background: linear-gradient(135deg, var(--whatsapp), #6ce29b);
  box-shadow: 0 22px 50px rgba(37, 211, 102, 0.28);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 26px 54px rgba(37, 211, 102, 0.34);
}

.icon-button {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.82);
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(20, 22, 19, 0.12);
}

.icon-button--left {
  top: 50%;
  left: 16px;
  right: auto;
  transform: translateY(-50%);
}

.icon-button--right {
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }
}

@media (max-width: 520px) {
  .button {
    width: 100%;
  }

  .icon-button {
    width: 40px;
    height: 40px;
  }

  .icon-button--left {
    left: 10px;
  }

  .icon-button--right {
    right: 10px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
  }
}
