:root {
  --lh-blue: #0645a5;
  --lh-navy: #082a67;
  --lh-bright: #1265d8;
  --lh-soft: #eaf2ff;
  --lh-white: #ffffff;
  --lh-text: #17202c;
  --lh-muted: #647084;
  --lh-border: #e1e7f0;
}

body.lh-market {
  margin: 0;
  background: #f5f8fd;
  color: var(--lh-text);
  font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  overflow-x: hidden;
}

.lh-top {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.85rem 1.5rem;
  background: var(--lh-white);
  border-bottom: 1px solid var(--lh-border);
  position: sticky;
  top: 0;
  z-index: 40;
}
.lh-why {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.4rem 0 0;
}
.lh-why article {
  background: #fff;
  border: 1px solid var(--lh-border);
  border-radius: 14px;
  padding: 0.9rem;
}
.lh-why h3 { margin: 0 0 0.35rem; font-size: 0.95rem; }
.lh-why p { margin: 0; color: var(--lh-muted); font-size: 0.82rem; }
.lh-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.lh-brand img { height: 32px; width: auto; }
.lh-brand-mark {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
  color: var(--lh-navy);
  font-size: 1.15rem;
}
.lh-brand-mark i { color: var(--lh-bright); }
.lh-brand-sub {
  display: block;
  font-size: 0.68rem;
  color: var(--lh-muted);
  font-weight: 500;
  max-width: 240px;
  line-height: 1.3;
}
.lh-nav {
  display: flex;
  gap: 1.1rem;
  margin-left: auto;
  align-items: center;
}
.lh-nav a {
  color: var(--lh-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}
.lh-actions { display: flex; gap: 0.55rem; align-items: center; }
.lh-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.lh-btn-primary { background: var(--lh-bright); color: #fff; }
.lh-btn-navy { background: var(--lh-navy); color: #fff; }
.lh-btn-ghost { background: #fff; color: var(--lh-navy); border-color: var(--lh-border); }
.lh-btn-white { background: #fff; color: var(--lh-bright); }
.lh-menu {
  display: none;
  background: none;
  border: 1px solid var(--lh-border);
  border-radius: 10px;
  width: 42px;
  height: 42px;
}

.lh-hero {
  margin: 0.75rem 1rem 0;
  min-height: 340px;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  background: #0b3a8a center / cover no-repeat;
  color: #fff;
}
.lh-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 30, 80, 0.78) 0%, rgba(8, 42, 103, 0.35) 55%, rgba(8, 42, 103, 0.15) 100%);
}
.lh-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 2.6rem 2rem 5.5rem;
}
.lh-hero h1 {
  font-size: clamp(1.5rem, 4vw, 3.3rem);
  line-height: 1.15;
  margin: 0 0 0.35rem;
  letter-spacing: -0.03em;
  max-width: 18ch;
}
.lh-hero h2 {
  font-size: clamp(1.15rem, 2.2vw, 1.65rem);
  font-weight: 700;
  margin: 0 0 0.7rem;
}
.lh-hero p { max-width: 34rem; color: #dbe7ff; line-height: 1.55; }
.lh-hero-ctas { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.2rem; }

.lh-search {
  max-width: 1180px;
  margin: -2.6rem auto 0;
  position: relative;
  z-index: 2;
  background: #fff;
  border: 1px solid var(--lh-border);
  border-radius: 18px;
  padding: 1rem 1.1rem 0.85rem;
  box-shadow: 0 14px 40px rgba(8, 42, 103, 0.12);
}
.lh-search-row {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.lh-search-locations,
.lh-search-query {
  display: grid;
  gap: 0.75rem;
  align-items: end;
  min-width: 0;
}
.lh-search-locations {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.lh-search-query {
  grid-template-columns: minmax(0, 1fr) auto;
}
.lh-search label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.72rem;
  color: var(--lh-muted);
  font-weight: 600;
  min-width: 0;
}
.lh-search select,
.lh-search input {
  border: 1px solid var(--lh-border);
  border-radius: 10px;
  padding: 0 0.75rem;
  font: inherit;
  color: var(--lh-text);
  background: #fff;
  min-width: 0;
  width: 100%;
  height: 44px;
  min-height: 44px;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.lh-search input[type="search"]::-webkit-search-decoration,
.lh-search input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
.lh-search select:focus,
.lh-search input:focus {
  outline: 2px solid rgba(18, 101, 216, 0.3);
  outline-offset: 1px;
  border-color: var(--lh-bright);
}
.lh-search button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  height: 44px;
  min-width: 7.5rem;
  border: 0;
  border-radius: 11px;
  background: var(--lh-bright);
  color: #fff;
  font-weight: 700;
  padding: 0 1.15rem;
  cursor: pointer;
  white-space: nowrap;
  align-self: end;
}
.lh-popular {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin-top: 0.65rem;
  font-size: 0.82rem;
  color: var(--lh-muted);
}
.lh-chip {
  border: 1px solid var(--lh-border);
  background: #f8fbff;
  color: var(--lh-navy);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  cursor: pointer;
  font-weight: 600;
}
.lh-advanced { margin-top: 0.5rem; }
.lh-advanced summary { cursor: pointer; color: var(--lh-bright); font-weight: 600; font-size: 0.85rem; }
.lh-advanced-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.lh-wrap { max-width: 1180px; margin: 0 auto; padding: 1.6rem 1.1rem 3rem; }
.lh-section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin: 0.4rem 0 0.9rem;
}
.lh-section-head h2 { margin: 0; font-size: 1.35rem; }
.lh-section-head a { color: var(--lh-bright); font-weight: 700; text-decoration: none; }

.lh-cats {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 0.55rem;
}
.lh-cat {
  background: #fff;
  border: 1px solid var(--lh-border);
  border-radius: 14px;
  padding: 0.75rem 0.4rem;
  text-align: center;
  cursor: pointer;
  color: var(--lh-text);
  min-height: 88px;
}
.lh-cat i { display: block; color: var(--lh-bright); font-size: 1.15rem; margin-bottom: 0.35rem; }
.lh-cat span { font-size: 0.75rem; font-weight: 700; }
.lh-cat.is-active { background: var(--lh-soft); border-color: #b9d4ff; color: var(--lh-navy); }

.lh-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 0.9rem;
}
.lh-toolbar .lh-chip.is-active { background: var(--lh-navy); color: #fff; border-color: var(--lh-navy); }
.lh-toolbar-spacer { margin-left: auto; display: flex; gap: 0.5rem; align-items: center; }
.lh-count { color: var(--lh-muted); font-size: 0.85rem; }

.lh-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.85rem;
}
.lh-card {
  background: #fff;
  border: 1px solid var(--lh-border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  text-decoration: none;
  color: inherit;
  position: relative;
}
.lh-card img,
.lh-card .sp-photo {
  width: 100%;
  height: 128px;
  object-fit: cover;
  background: var(--lh-soft);
  display: block;
}
.lh-card-body { padding: 0.7rem 0.75rem 0.85rem; display: flex; flex-direction: column; gap: 0.15rem; flex: 1; }
.lh-card h3 { margin: 0; font-size: 0.92rem; line-height: 1.3; }
.lh-card .lh-cat-label { color: var(--lh-muted); font-size: 0.75rem; }
.lh-price { color: var(--lh-bright); font-weight: 800; margin-top: 0.2rem; }
.lh-place { color: var(--lh-muted); font-size: 0.75rem; }
.lh-fav {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: #94a3b8;
  cursor: pointer;
}
.lh-demo {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: #0f172a;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
}
.lh-empty, .lh-status { color: var(--lh-muted); padding: 1rem 0; }

.lh-promo {
  margin-top: 2rem;
  border-radius: 22px;
  background: linear-gradient(90deg, #eaf3ff 0%, #f7fbff 45%, #e8f1ff 100%);
  border: 1px solid #d5e4fb;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 1rem;
  padding: 1.4rem 1.3rem;
  align-items: center;
}
.lh-promo h2 { margin: 0 0 0.5rem; font-size: 1.55rem; line-height: 1.25; }
.lh-promo p { color: var(--lh-muted); }
.lh-promo-shot {
  min-height: 160px;
  border-radius: 14px;
  background: #0b3d91 center / cover no-repeat;
  box-shadow: 0 10px 24px rgba(8, 42, 103, 0.18);
}
.lh-promo-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.lh-promo-list li { display: flex; gap: 0.55rem; }
.lh-promo-list i { color: var(--lh-bright); margin-top: 0.15rem; }
.lh-promo-list strong { display: block; font-size: 0.88rem; }
.lh-promo-list span { color: var(--lh-muted); font-size: 0.78rem; }

.lh-quote {
  margin-top: 2rem;
  background: #fff;
  border: 1px solid var(--lh-border);
  border-radius: 16px;
  padding: 1rem;
}
.lh-quote h3 { margin: 0 0 0.5rem; }

.lh-footer {
  text-align: center;
  padding: 1.4rem;
  color: var(--lh-muted);
  font-size: 0.85rem;
}
.lh-footer a { color: var(--lh-bright); }

@media (max-width: 1200px) {
  .lh-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lh-cats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .lh-nav { display: none; }
  .lh-nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 0.8rem 1rem 1rem;
    border-bottom: 1px solid var(--lh-border);
  }
  .lh-menu { display: inline-flex; align-items: center; justify-content: center; }
  .lh-search-locations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lh-search-locations label:last-child { grid-column: 1 / -1; }
  .lh-advanced-grid, .lh-promo { grid-template-columns: 1fr; }
  .lh-actions .lh-btn { padding: 0.5rem 0.7rem; font-size: 0.78rem; }
  .lh-hero { margin: 0.5rem; }
}
@media (max-width: 640px) {
  .lh-grid, .lh-cats, .lh-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lh-top { flex-wrap: wrap; }
  .lh-brand-sub { display: none; }
  .lh-hero { min-height: 0; }
  .lh-hero-inner { padding: 1.4rem 1rem 4.2rem; }
  .lh-hero h1 {
    font-size: 1.45rem;
    max-width: none;
  }
  .lh-hero-ctas .lh-btn { justify-content: center; }
  .lh-search-locations,
  .lh-search-query { grid-template-columns: 1fr; }
  .lh-search-locations label:last-child { grid-column: auto; }
  .lh-search button[type="submit"] { width: 100%; min-width: 0; }
}
@media (max-width: 430px) {
  .lh-grid { grid-template-columns: 1fr; }
}
