.nemo-header {
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  position: relative;
  z-index: 50;
}

.nemo-header-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 18px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-sizing: border-box;
}

.nemo-header-bar {
  display: flex;
}

.nemo-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}

.nemo-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff2f57 0%, #c5162d 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 16px 32px rgba(197, 22, 45, 0.24);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nemo-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 38px rgba(197, 22, 45, 0.3);
}

.nemo-cta:focus-visible {
  outline: 2px solid #0f172a;
  outline-offset: 3px;
}

.nemo-account {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 8px 18px 8px 10px;
  background: #ffffff;
  color: #0f172a;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nemo-account:hover {
  border-color: #c5162d;
  box-shadow: 0 14px 32px rgba(197, 22, 45, 0.2);
}

.nemo-account__avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5f5 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.nemo-account__name {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

.nemo-account__arrow {
  font-size: 12px;
  color: #94a3b8;
}

.nemo-guest-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nemo-guest-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: #ffffff;
  color: #475569;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nemo-guest-link:hover {
  color: #c5162d;
}

.nemo-guest-link.is-primary {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
}

.nemo-guest-link.is-primary:hover {
  background: #1e293b;
  border-color: #1e293b;
}

.nemo-hamburger {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 9px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nemo-hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #0f172a;
  transition: background 0.2s ease;
}

.nemo-hamburger:hover {
  border-color: #c5162d;
  box-shadow: 0 12px 30px rgba(197, 22, 45, 0.2);
}

.nemo-header-right {
    display: flex;
    align-items: stretch;
    gap: 18px;
    flex: 1 1 360px;
    min-width: 320px;
    justify-content: flex-end;
}

.nemo-brand-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.nemo-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  text-decoration: none;
}

.nemo-brand-wordmark {
  font-size: 32px;
  font-weight: 800;
  color: #c5162d;
  letter-spacing: -0.02em;
}

.nemo-brand-tagline {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nemo-quick-links {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
}

.nemo-quick-link {
  color: #64748b;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nemo-quick-link:hover {
  color: #c5162d;
}

.nemo-category-nav {
  display: flex;
  align-items: flex-end;
  gap: 28px;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
  flex-wrap: wrap;
}

.nemo-category-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 6px;
  min-width: 76px;
  color: #1f2937;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  position: relative;
}

.nemo-category-label {
  font-size: 14px;
  line-height: 1.1;
}

.nemo-category-sub {
  font-size: 12px;
  font-weight: 500;
  color: #94a3b8;
}

.nemo-category-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 999px;
  background: transparent;
  transition: background 0.2s ease;
}

.nemo-category-item.is-active,
.nemo-category-item:hover {
  color: #c5162d;
}

.nemo-category-item.is-active::after,
.nemo-category-item:hover::after {
  background: #c5162d;
}

.nemo-search-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nemo-search {
  flex: 1 1 320px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 12px 20px;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.nemo-search .search-icon {
  font-size: 16px;
  color: #94a3b8;
}

.nemo-search input {
  border: 0;
  outline: none;
  width: 100%;
  background: transparent;
  font-size: 14px;
  color: #0f172a;
  font-weight: 500;
}

.nemo-filters {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-left: auto;
}

.filter-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.filter-button:hover {
  border-color: #cbd5f5;
  background: #f8fafc;
  color: #1f2937;
}

.filter-button.is-primary {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.2);
}

.filter-button.icon-only {
  width: 36px;
  height: 36px;
  padding: 0;
  justify-content: center;
  font-size: 14px;
}

.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
}

.btn-outline,
.btn-ghost {
  font-size: 13px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-outline {
  color: #c5162d;
  border-color: #c5162d;
}

.btn-outline:hover {
  background: #fff5f6;
}

.btn-ghost {
  background: #f8fafc;
  color: #475569;
}

.btn-ghost:hover {
  background: #e2e8f0;
}

.pc-only {
  display: inline-flex;
}

.mo-only {
  display: none;
}

@media (max-width: 1024px) {
  .nemo-header-inner {
    padding: 12px 16px;
  }

  .pc-only {
    display: none;
  }

  .mo-only {
    display: flex;
  }

  .nemo-mobile-menu.mo-only {
    display: none;
  }

  .nemo-mobile-menu.mo-only.is-open {
    display: flex;
  }

  .nemo-header-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .nemo-header-left {
    width: 100%;
    justify-content: space-between;
  }

  .nemo-cta {
    flex: 0 0 auto;
    justify-content: center;
  }

  .nemo-header-right {
    width: 100%;
    min-width: 0;
    align-items: flex-start;
  }

  .nemo-brand-row {
    width: 100%;
    justify-content: space-between;
  }

  .nemo-quick-links {
    justify-content: flex-start;
  }

  .nemo-category-nav {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding-bottom: 6px;
  }

  .nemo-category-item {
    min-width: 92px;
    flex: 0 0 auto;
  }

  .nemo-search-row {
    flex-direction: column;
    align-items: stretch;
  }

  .nemo-filters {
    margin-left: 0;
    justify-content: flex-start;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .nemo-header-inner {
    padding: 12px 14px;
  }

  .nemo-brand-wordmark {
    font-size: 22px;
  }

  .nemo-cta {
    padding: 10px 18px;
    font-size: 14px;
  }

  .nemo-category-nav {
    display: none;
  }

  .nemo-search {
    padding: 10px 16px;
  }

  .filter-button {
    font-size: 11px;
    padding: 6px 12px;
  }
}

.nemo-mobile-menu {
  position: fixed;
  inset: 0;
  display: none;
  align-items: flex-end;
  justify-content: center;
  z-index: 1200;
  color: #0f172a;
}
.nemo-mobile-menu.is-open {
  display: flex;
}

.nemo-mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.58);
}

.nemo-mobile-menu__panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 22px 22px 0 0;
  padding: 22px 22px calc(22px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -18px 48px rgba(15, 23, 42, 0.18);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
}

.nemo-mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.nemo-mobile-menu__title {
  font-size: 16px;
  font-weight: 700;
}

.nemo-mobile-menu__close {
  border: none;
  background: #f1f5f9;
  border-radius: 999px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nemo-mobile-menu__nav {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.nemo-mobile-menu__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f8fafc;
  color: #0f172a;
  font-size: 15px;
  font-weight: 600;
}

.nemo-mobile-menu__nav a span {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

.nemo-mobile-menu__metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.nemo-mobile-metric {
  padding: 12px 14px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 72px;
}

.nemo-mobile-metric__label {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.nemo-mobile-metric__value {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.1;
}

.nemo-mobile-metric__value .unit {
  margin-left: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
}

.nemo-mobile-menu__metrics--empty .nemo-mobile-metric__value {
  font-size: 16px;
  font-weight: 600;
  color: #94a3b8;
}

.nemo-mobile-ticker {
  margin-bottom: 24px;
}

.nemo-mobile-ticker__viewport {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #fff;
}

.nemo-mobile-ticker__list {
  list-style: none;
  margin: 0;
  padding: 12px 16px;
  will-change: transform;
  display: flex;
  flex-direction: column;
}

.nemo-mobile-ticker__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nemo-mobile-ticker__item + .nemo-mobile-ticker__item {
  border-top: 1px dashed #e2e8f0;
}

.nemo-mobile-ticker__title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.nemo-mobile-ticker__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.nemo-mobile-ticker__meta span + span::before {
  content: "/";
  margin-right: 10px;
  color: #cbd5e1;
}

.nemo-mobile-ticker__context {
  font-size: 12px;
  color: #475569;
  line-height: 1.4;
}

.nemo-mobile-ticker__item--type-request .nemo-mobile-ticker__title {
  color: #2563eb;
}

.nemo-mobile-ticker__item--type-listing .nemo-mobile-ticker__title {
  color: #16a34a;
}

.nemo-mobile-menu__actions {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.nemo-mobile-menu__actions .btn-outline,
.nemo-mobile-menu__actions .btn-ghost {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nemo-mobile-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 12px;
  background: #0f172a;
  color: #fff;
}

.nemo-mobile-contact__label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
}

.nemo-mobile-contact__label strong {
  font-size: 17px;
  font-weight: 700;
}

.nemo-mobile-contact__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  color: #facc15;
}

.nemo-mobile-contact__cta::before {
  content: "☎";
}

