:root {
  --bg: #f6f7f9;
  --text: #111318;
  --muted: #5b616c;
  --line: #e2e6ed;
  --card: #ffffff;
  --dark: #0d1117;
  --brand: #0f172a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, .brand, .btn {
  font-family: "Manrope", "Noto Sans SC", sans-serif;
  letter-spacing: -0.02em;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffffea;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  text-decoration: none;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1rem;
}

.logo-mark {
  width: 46px;
  height: 46px;
  display: block;
  border-radius: 12px;
  flex-shrink: 0;
}

.brand-name {
  font-size: clamp(1.55rem, 2.1vw, 2rem);
  letter-spacing: -0.01em;
  font-weight: 900;
  color: #0f1522;
}

.menu {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.menu a {
  text-decoration: none;
  font-size: 14px;
  color: #4c5564;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background-color .2s ease, color .2s ease;
}

.menu a.active {
  color: #fff;
  background: var(--brand);
}

.menu a:hover {
  color: #0f141e;
  background: #eef1f6;
}

.lang-btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 0 20px;
  min-width: 88px;
  height: 50px;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: .02em;
  cursor: pointer;
  color: #222a38;
  box-shadow: 0 2px 10px rgba(17, 19, 24, 0.08);
}

.hero {
  padding: 86px 0 34px;
}

.hero h1 {
  font-size: clamp(2rem, 5.2vw, 4rem);
  line-height: 1.1;
  margin: 10px 0 18px;
  max-width: 940px;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #7a8290;
  font-size: 12px;
  font-weight: 700;
}

.lead {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.88;
  color: var(--muted);
  max-width: 920px;
}

.grid,
.info-grid,
.biz-grid,
.two-grid,
.contact-grid {
  display: grid;
  gap: 20px;
}

.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.biz-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.two-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-grid { grid-template-columns: 1.3fr 1fr; }
.contact-grid.single { grid-template-columns: 1fr; }

.section {
  padding: 72px 0;
}

.section h2 {
  margin: 0 0 14px;
  font-size: clamp(1.65rem, 3.4vw, 2.55rem);
  line-height: 1.2;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(17, 19, 24, 0.06);
}

.card p,
.card li,
.card span {
  color: var(--muted);
  line-height: 1.78;
}

.card.with-bg {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  background-size: cover;
  background-position: center;
  border: 1px solid #dbe3ee;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(20, 31, 50, 0.16);
}

.card.with-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0b111f55 0%, #070d19af 100%);
}

.card.with-bg h3,
.card.with-bg p {
  position: relative;
  z-index: 1;
  color: #f5f8ff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.card.with-bg h3 {
  margin-top: 4px;
  font-size: 1.9rem;
}

.bg-daily { background-image: url("../assets/categories/daily.svg"); }
.bg-apparel { background-image: url("../assets/categories/apparel.svg"); }
.bg-cosmetics { background-image: url("../assets/categories/cosmetics.svg"); }
.bg-shoes { background-image: url("../assets/categories/shoes.svg"); }
.bg-bags { background-image: url("../assets/categories/bags.svg"); }
.bg-baby { background-image: url("../assets/categories/baby.svg"); }
.bg-office { background-image: url("../assets/categories/office.svg"); }
.bg-hardware { background-image: url("../assets/categories/hardware.svg"); }
.bg-secondhand { background-image: url("../assets/categories/secondhand.svg"); }

.meta {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.meta li {
  padding: 10px 0;
  border-bottom: 1px dashed #d8dfeb;
}

.meta li:last-child { border-bottom: 0; }

.dark {
  background: linear-gradient(165deg, #0d1117, #1a2130);
  color: #edf0f5;
}

.dark h2,
.dark h3,
.dark p,
.dark li,
.dark span { color: #edf0f5; }
.dark .lead { color: #cfd6e2; }
.dark .card {
  background: #ffffff10;
  border-color: #ffffff29;
  box-shadow: none;
}

.art {
  width: 100%;
  border-radius: 14px;
  border: 1px solid #fff;
  box-shadow: 0 16px 48px #1012181f;
}

.biz-item {
  text-align: left;
}

.license-img {
  width: 100%;
  border-radius: 12px;
  cursor: zoom-in;
  border: 1px solid #d6dce8;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  background: #0a0a0fcf;
  z-index: 99;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.open { display: flex; }
.modal img {
  max-width: min(1200px, 95vw);
  max-height: 90vh;
  border-radius: 12px;
  background: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn.dark { background: #111318; color: #fff; }
.btn.light { border: 1px solid var(--line); color: var(--text); background: #fff; }
.btn:hover { transform: translateY(-1px); }

.footer {
  margin-top: 44px;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 28px 0 34px;
  color: #596171;
}

.footer p {
  margin: 8px 0;
  font-size: 14px;
}

.title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.title-row h2 {
  margin-bottom: 0;
}

.license-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.e-license-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #1d2738;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 12px;
  border: 1px solid #d7deea;
  border-radius: 999px;
  background: #f9fbff;
  white-space: nowrap;
}

.e-license-inline:hover {
  background: #f0f5ff;
}

.e-license-inline img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: cover;
}

.e-license-note {
  font-size: 14px;
  color: #3f4d63;
  font-weight: 600;
  line-height: 1.4;
}

.license-callout {
  margin: 8px 0 12px;
  padding: 10px 12px;
  border: 1px solid #cfe0ff;
  border-radius: 14px;
  background: linear-gradient(180deg, #f4f8ff, #eef4ff);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.license-callout-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.license-callout-text strong {
  font-size: 14px;
  color: #1b355d;
  line-height: 1.2;
}

.license-callout-text span {
  font-size: 13px;
  color: #4a5f7f;
  line-height: 1.3;
}

.form input,
.form textarea {
  width: 100%;
  border: 1px solid #d5dbe6;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
  font: inherit;
  background: #fff;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: #8aa4c4;
  box-shadow: 0 0 0 3px #8aa4c429;
}

.form textarea { min-height: 120px; resize: vertical; }

.map-wrap {
  border: 1px solid #d3dae7;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  margin: 10px 0 8px;
}

.map-frame {
  width: 100%;
  height: 520px;
  border: 0;
  display: block;
}

@media (max-width: 1020px) {
  .menu { display: none; }
  .grid,
  .info-grid,
  .biz-grid,
  .two-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 54px; }
  .card.with-bg h3 { font-size: 1.65rem; }
  .logo-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 1.4rem; }
  .lang-btn {
    min-width: 68px;
    height: 42px;
    font-size: 21px;
    padding: 0 14px;
  }
  .map-frame { height: 360px; }
  .title-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .license-action {
    margin-top: 8px;
    flex-wrap: wrap;
  }
  .license-callout {
    width: 100%;
    align-items: flex-start;
  }
}
