:root {
  --mh-ink: #060b14;
  --mh-blue: #0b63f6;
  --mh-blue-dark: #0647bd;
  --mh-text: #0b1220;
  --mh-muted: #647184;
  --mh-line: #e7ebf2;
  --mh-bg: #f7f9fc;
  --mh-surface: #ffffff;
  --mh-radius: 8px;
  --mh-shadow: 0 18px 50px rgba(15, 30, 55, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--mh-text);
  background: var(--mh-bg);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.mh-container { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.mh-skip { position: fixed; top: 12px; left: 12px; z-index: 20; transform: translateY(-140%); background: var(--mh-ink); color: white; padding: 10px 14px; border-radius: var(--mh-radius); }
.mh-skip:focus { transform: translateY(0); }

.mh-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #050a12;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mh-nav {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  min-height: 86px;
  gap: 24px;
}
.mh-logo { display: inline-flex; align-items: center; }
.mh-logo img { width: auto; max-width: 142px; height: 54px; object-fit: contain; filter: brightness(0) invert(1); }
.mh-menu-list { display: flex; justify-content: center; gap: 36px; margin: 0; padding: 0; list-style: none; color: white; font-size: 14px; font-weight: 800; }
.mh-menu-list a:hover { color: #7eb2ff; }
.mh-actions { display: flex; align-items: center; gap: 16px; }
.mh-icon-link, .mh-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 34px;
  color: white;
  font-size: 0;
}
.mh-icon-link::before { content: "⌕"; font-size: 26px; line-height: 1; }
.mh-actions .mh-icon-link:first-child::before { content: "⌕"; }
.mh-actions .mh-icon-link:nth-child(2)::before { content: "♙"; }
.mh-cart { position: relative; }
.mh-cart::before { content: "▱"; font-size: 28px; transform: rotate(-8deg); }
.mh-cart span {
  position: absolute;
  top: -5px;
  right: -8px;
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 999px;
  background: var(--mh-blue);
  color: white;
  font-size: 11px;
  font-weight: 800;
}
.mh-menu-toggle { display: none; width: 42px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.22); border-radius: var(--mh-radius); background: transparent; }
.mh-menu-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: white; }

.mh-hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: white;
}
.mh-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff 0%, #fff 31%, rgba(255,255,255,.88) 43%, rgba(255,255,255,.2) 58%, rgba(255,255,255,0) 100%);
  z-index: 1;
}
.mh-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center right; }
.mh-hero-grid { position: relative; z-index: 2; min-height: 560px; display: grid; grid-template-columns: minmax(360px, 520px) 1fr; align-items: center; }
.mh-eyebrow { margin: 0 0 18px; color: var(--mh-blue); font-size: 13px; font-weight: 900; letter-spacing: 0.04em; text-transform: uppercase; }
.mh-hero h1 { margin: 0; font-size: clamp(42px, 6vw, 70px); line-height: 1.05; letter-spacing: 0; font-weight: 900; }
.mh-hero-copy > p:not(.mh-eyebrow) { max-width: 470px; margin: 26px 0 0; color: #202c3b; font-size: 17px; font-weight: 600; }
.mh-hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.mh-button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 54px; padding: 0 28px; border-radius: 8px; border: 1px solid var(--mh-blue); color: white; background: var(--mh-blue); font-size: 15px; font-weight: 900; box-shadow: 0 16px 34px rgba(11,99,246,.24); }
.mh-button::after { content: "→"; font-size: 18px; }
.mh-button-ghost { color: var(--mh-text); background: white; border-color: #b9c1ce; box-shadow: none; }
.mh-trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 64px; }
.mh-trust-item { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; font-size: 13px; color: var(--mh-muted); font-weight: 700; }
.mh-trust-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; color: var(--mh-blue); border: 1px solid #cfe0ff; }
.mh-trust-item strong { display: block; color: var(--mh-text); font-size: 14px; }

.mh-section { padding: 62px 0; }
.mh-section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.mh-section-head h2 { margin: 0; font-size: 30px; line-height: 1.1; font-weight: 900; }
.mh-section-head a { color: var(--mh-blue); font-size: 14px; font-weight: 900; }
.mh-centered { justify-content: center; text-align: center; }

.mh-category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.mh-category-card { text-align: center; }
.mh-category-image { height: 172px; border-radius: 8px; overflow: hidden; background: white; box-shadow: 0 10px 30px rgba(15,30,55,.08); }
.mh-category-image img { width: 100%; height: 100%; object-fit: cover; }
.mh-category-icon { display: grid; place-items: center; width: 52px; height: 52px; margin: -26px auto 14px; border: 6px solid white; border-radius: 999px; color: var(--mh-blue); background: white; box-shadow: 0 10px 25px rgba(15,30,55,.14); font-size: 24px; }
.mh-category-card h3 { min-height: 48px; margin: 0 0 10px; font-size: 16px; line-height: 1.15; font-weight: 900; }
.mh-category-card a { color: var(--mh-blue); font-size: 13px; font-weight: 800; }

.mh-products { background: white; border-top: 1px solid var(--mh-line); border-bottom: 1px solid var(--mh-line); }
.mh-product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.mh-product-card { position: relative; padding: 14px; border: 1px solid var(--mh-line); border-radius: 8px; background: white; box-shadow: 0 12px 34px rgba(15,30,55,.07); }
.mh-badge { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 4px 9px; border-radius: 999px; color: white; background: var(--mh-blue); font-size: 10px; font-weight: 900; }
.mh-product-image { display: grid; place-items: center; height: 190px; margin-bottom: 16px; border-radius: 8px; background: #f6f8fb; overflow: hidden; }
.mh-product-image img { width: 100%; height: 100%; object-fit: contain; }
.mh-product-card small { color: var(--mh-muted); font-weight: 800; }
.mh-product-card h3 { min-height: 44px; margin: 4px 0 8px; font-size: 15px; line-height: 1.25; font-weight: 900; }
.mh-stars { color: #ffb400; font-size: 13px; letter-spacing: 1px; }
.mh-price { margin: 12px 0; font-size: 20px; font-weight: 900; }
.mh-product-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mh-add { min-height: 38px; padding: 0 14px; border-radius: 8px; color: white; background: var(--mh-blue); font-size: 13px; font-weight: 900; }
.mh-heart { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; background: #f2f5f9; color: var(--mh-muted); }

.mh-control-band { display: grid; grid-template-columns: 1fr 1fr; gap: 0; overflow: hidden; border-radius: 8px; background: white; box-shadow: var(--mh-shadow); }
.mh-control-band > img { width: 100%; height: 430px; object-fit: cover; }
.mh-control-copy { padding: 58px 64px; }
.mh-control-copy h2 { margin: 0 0 16px; font-size: 36px; line-height: 1.1; font-weight: 900; }
.mh-control-copy p { margin: 0 0 30px; color: var(--mh-muted); font-weight: 600; }
.mh-benefit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 30px; }
.mh-benefit strong { display: block; margin-bottom: 4px; }
.mh-benefit span { color: var(--mh-muted); font-size: 13px; }

.mh-stats { padding: 42px 0; }
.mh-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; padding: 28px 42px; border-radius: 8px; color: white; background: #050a12; }
.mh-stat { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center; }
.mh-stat-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 999px; background: rgba(11,99,246,.16); color: #74a8ff; font-size: 24px; }
.mh-stat strong { display: block; font-size: 30px; line-height: 1; }
.mh-stat span { color: #c8d1df; font-size: 13px; }

.mh-project-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mh-project { position: relative; min-height: 170px; overflow: hidden; border-radius: 8px; color: white; background: #111; }
.mh-project img { width: 100%; height: 100%; object-fit: cover; min-height: 170px; }
.mh-project span { position: absolute; left: 18px; bottom: 16px; padding: 7px 12px; border-radius: 8px; background: rgba(0,0,0,.72); font-weight: 900; }

.mh-reviews { background: white; }
.mh-review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mh-review { padding: 26px; border: 1px solid var(--mh-line); border-radius: 8px; box-shadow: 0 10px 28px rgba(15,30,55,.06); }
.mh-review p { color: #263344; font-weight: 600; }
.mh-review strong { display: block; margin-top: 18px; }

.mh-cta { padding-bottom: 70px; }
.mh-cta-box { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding: 38px 70px; border-radius: 8px; color: white; background: linear-gradient(90deg, rgba(5,10,18,.96), rgba(5,10,18,.78)), url("../img/moeshouse/mh-star-feather.jpg") center/cover; }
.mh-cta h2 { margin: 0 0 8px; font-size: 34px; line-height: 1.1; }
.mh-cta p { margin: 0; color: #c8d1df; }

.mh-footer { padding: 50px 0 26px; color: rgba(255,255,255,.74); background: #050a12; }
.mh-footer .mh-logo img { max-width: 230px; height: auto; filter: none; }
.mh-footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 36px; }
.mh-footer h2 { margin: 0 0 12px; color: white; font-size: 16px; }
.mh-footer-links { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.mh-footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }

.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { width: auto; float: none; margin: 0; padding: 12px; border: 1px solid var(--mh-line); border-radius: 8px; background: white; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit { min-height: 42px; border-radius: 8px; color: white; background: var(--mh-blue); font-weight: 900; }

@media (max-width: 980px) {
  .mh-nav { grid-template-columns: auto auto; justify-content: space-between; }
  .mh-menu-toggle { display: block; }
  .mh-menu, .mh-actions { display: none; grid-column: 1 / -1; }
  .mh-menu.is-open { display: block; }
  .mh-actions.is-open { display: flex; }
  .mh-menu-list { display: grid; gap: 0; padding-bottom: 12px; }
  .mh-menu-list a { display: block; padding: 12px 0; }
  .mh-hero::before { background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.94) 55%, rgba(255,255,255,.3) 100%); }
  .mh-hero-grid { grid-template-columns: 1fr; }
  .mh-trust-row, .mh-category-grid, .mh-product-grid, .mh-control-band, .mh-stats-grid, .mh-project-grid, .mh-review-grid, .mh-footer-grid { grid-template-columns: 1fr 1fr; }
  .mh-control-copy { padding: 36px; }
}

@media (max-width: 620px) {
  .mh-container { width: min(100% - 28px, 1240px); }
  .mh-nav { min-height: 74px; }
  .mh-logo img { max-width: 116px; height: 44px; }
  .mh-hero, .mh-hero-grid { min-height: 640px; }
  .mh-hero h1 { font-size: 42px; }
  .mh-trust-row, .mh-category-grid, .mh-product-grid, .mh-control-band, .mh-benefit-grid, .mh-stats-grid, .mh-project-grid, .mh-review-grid, .mh-footer-grid, .mh-cta-box { grid-template-columns: 1fr; }
  .mh-section-head, .mh-footer-bottom { display: grid; }
  .mh-category-image { height: 210px; }
  .mh-cta-box { padding: 30px; }
}
