.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  box-sizing: border-box;
}

.site-header {
  background: var(--accent);
  color: #fff;
  margin-bottom: 2rem;
  border-radius: 0;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  color: #fff;
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 1.875rem;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
  color: #fff;
}

.brand-hey {
  text-transform: uppercase;
}

.brand-subang {
  text-transform: none;
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.9rem;
}

.main-nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.main-nav-links a {
  color: #fff;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
}

.main-nav-links a:hover {
  background: rgba(255, 255, 255, 0.16);
  text-decoration: none;
}

.main-nav-emergency {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 0.75rem;
}

.nav-chip {
  display: inline-block;
  color: #fff;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.nav-chip:hover {
  text-decoration: none;
}

.nav-chip-12345 {
  background: rgba(255, 255, 255, 0.1);
}

.nav-chip-12345:hover {
  background: rgba(255, 255, 255, 0.2);
}

.nav-chip-999 {
  background: rgba(220, 38, 38, 0.8);
}

.nav-chip-999:hover {
  background: rgba(220, 38, 38, 1);
}

.main-nav-theme {
  display: inline-flex;
  align-items: center;
}

.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
  border-radius: 8px;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
}

.theme-toggle-icon {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 0;
  filter: brightness(0) invert(1);
}

.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.nav-chip:focus-visible,
.theme-toggle-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.86);
  margin-top: 3rem;
  padding: 2.5rem 0 1.5rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a:hover {
  color: var(--pink);
  text-decoration: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-grid h4 {
  margin: 0 0 0.85rem;
  color: #fff;
  font-family: var(--font-header);
  font-size: 0.95rem;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.9rem;
}

.heart-line {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #fff;
  font-family: var(--font-header);
  font-size: 1.4rem;
  font-weight: 700;
}

.pink-heart {
  color: var(--pink);
}

.footer-tagline {
  margin: 0.85rem 0 0;
  max-width: 28rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  margin-top: 1.75rem;
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-copyright {
  font-size: 0.875rem;
  margin: 0;
}

.footer-copyright a {
  color: inherit;
}

.footer-copyright a:hover {
  color: var(--pink);
}

.site-footer a[href="/privacy"],
.site-footer a[href="/terms"] {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a[href="/privacy"]:hover,
.site-footer a[href="/terms"]:hover {
  color: var(--pink);
}

.hero {
  margin-bottom: 2rem;
}

.mobile-header-actions {
  display: none;
}

.mobile-header-theme {
  display: none;
}

.mobile-header-theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: #fff;
  padding: 0.5rem;
  border-radius: 8px;
  cursor: pointer;
  width: 2.5rem;
  height: 2.5rem;
}

.mobile-header-theme-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  padding: 0.5rem;
  border-radius: 8px;
  cursor: pointer;
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.mobile-menu-icon {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
}

.mobile-menu-icon-close.is-hidden,
.mobile-menu-icon-hamburger.is-hidden {
  display: none !important;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.mobile-menu.mobile-menu-open {
  display: flex;
  max-height: 80vh;
  opacity: 1;
  overflow-y: auto;
}

.mobile-menu-link {
  display: block;
  margin-left: -0.5rem;
  margin-right: -0.5rem;
  padding: 0.5rem 1.25rem;
  color: #fff;
  font-size: 1.125rem;
  text-decoration: none;
  border-radius: 8px;
}

.mobile-menu-link:hover {
  background: rgba(255, 255, 255, 0.2);
  text-decoration: none;
  color: #fff;
}

.mobile-menu-emergency {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 0;
  margin-top: 0.5rem;
}

.mobile-menu-chip {
  flex: 1;
  text-align: center;
  padding: 0.5rem 0.9rem;
}

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

  .mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-right: 0.5rem;
  }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .site-header.is-menu-open .mobile-header-theme {
    display: flex;
    align-items: center;
  }
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none !important;
  }
}
