:root {
  --green: #63b3ff;
  --green-dark: #1d6fd1;
  --green-soft: #eef7ff;
  --ink: #132338;
  --muted: #637487;
  --line: #d8e8f8;
  --card: #ffffff;
  --bg: #f7fbff;
  --shadow: 0 14px 34px rgba(29, 111, 209, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 0 clamp(18px, 4vw, 58px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: var(--green-dark);
  white-space: nowrap;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex: 1;
  color: #304a66;
}

.header-button,
.button,
.cookie button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  font-weight: 850;
}

.menu-toggle { display: none; }

.hero {
  padding: clamp(46px, 8vw, 96px) 20px 64px;
  background:
    radial-gradient(circle at 15% 15%, rgba(99, 179, 255, .20) 0 14%, transparent 15%),
    radial-gradient(circle at 82% 20%, rgba(99, 179, 255, .15) 0 18%, transparent 19%),
    linear-gradient(135deg, #f4fbff 0%, #fff 44%, #eef7ff 100%);
}

.hero-card {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(30px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 1;
  letter-spacing: 0;
}

.hero p {
  max-width: 790px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button.secondary {
  color: var(--green-dark);
  background: #fff;
  border: 1px solid var(--line);
}

.how,
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 58px 20px;
}

.how h2,
.section-title h2 {
  margin: 0 0 12px;
  text-align: center;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: 0;
}

.section-title p {
  margin: 0 0 28px;
  text-align: center;
  color: var(--muted);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.how-grid article,
.category-grid a,
.product-card,
.agent-grid a,
.faq details,
.guide-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.how-grid article {
  padding: 22px;
  text-align: center;
}

.how-grid span {
  color: var(--green-dark);
  font-weight: 950;
}

.how-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.category-grid,
.product-grid,
.agent-grid,
.guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.category-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 76px;
  padding: 16px 18px;
  color: #243d5c;
  font-weight: 850;
  text-align: center;
}

.category-grid a::before {
  content: "";
  width: 24px;
  min-width: 24px;
  flex: 0 0 auto;
  font-size: 21px;
  line-height: 1;
  text-align: center;
}

.category-grid a:nth-child(1)::before { content: "👕"; }
.category-grid a:nth-child(2)::before { content: "👗"; }
.category-grid a:nth-child(3)::before { content: "👟"; }
.category-grid a:nth-child(4)::before { content: "👠"; }
.category-grid a:nth-child(5)::before { content: "⚽"; }
.category-grid a:nth-child(6)::before { content: "🩳"; }
.category-grid a:nth-child(7)::before { content: "👜"; }
.category-grid a:nth-child(8)::before { content: "🧢"; }
.category-grid a:nth-child(9)::before { content: "⌚"; }
.category-grid a:nth-child(10)::before { content: "🕶️"; }
.category-grid a:nth-child(11)::before { content: "🧸"; }
.category-grid a:nth-child(12)::before { content: "🎧"; }
.category-grid a:nth-child(13)::before { content: "🧥"; }
.category-grid a:nth-child(14)::before { content: "🧥"; }

.hot {
  max-width: none;
  background: #fff;
}

.hot > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.product-card {
  display: block;
  overflow: hidden;
}

.visual {
  display: block;
  height: 135px;
  background: linear-gradient(135deg, #f8fcff, #b8dcff);
}

.visual.v2 { background: linear-gradient(135deg, #e7fff0, #202820); }
.visual.v3 { background: linear-gradient(135deg, #f4e6d7, #25c86b); }
.visual.v4 { background: linear-gradient(135deg, #e6fff0, #b7864f); }
.visual.v5 { background: linear-gradient(135deg, #eef7ff, #6f91b8); }
.visual.v6 { background: linear-gradient(135deg, #111a15, #e8fff0); }
.visual.v7 { background: linear-gradient(135deg, #fff, #24c86b); }
.visual.v8 { background: linear-gradient(135deg, #eef7ff, #355b83); }

.product-card strong,
.product-card em {
  display: block;
  padding-left: 14px;
  padding-right: 14px;
}

.product-card strong {
  min-height: 50px;
  padding-top: 14px;
  line-height: 1.35;
}

.product-card em {
  padding-bottom: 14px;
  color: var(--green-dark);
  font-style: normal;
  font-weight: 900;
}

.agent-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.agent-grid a {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
}

.agent-grid span {
  color: var(--green-dark);
  font-weight: 950;
}

.faq {
  max-width: 900px;
}

.faq details {
  margin-top: 12px;
  padding: 18px;
}

.faq summary {
  cursor: pointer;
  font-weight: 900;
}

.faq p {
  color: var(--muted);
  line-height: 1.7;
}

.guide-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-grid article {
  padding: 22px;
}

.guide-grid h3 {
  margin: 0 0 12px;
  font-size: 21px;
}

.guide-grid p {
  color: var(--muted);
  line-height: 1.7;
}

.guide-grid a {
  color: var(--green-dark);
  font-weight: 900;
}

.footer {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  padding: 36px clamp(20px, 4vw, 58px) 82px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer p {
  color: var(--muted);
  line-height: 1.7;
}

.footer nav {
  display: grid;
  gap: 10px;
}

.cookie {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--muted);
  font-size: 14px;
}

.cookie a {
  color: var(--green-dark);
  font-weight: 850;
}

@media (max-width: 900px) {
  .site-header {
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
  }
  .header-button { display: none; }
  .nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .nav.open { display: flex; }
  .how-grid,
  .category-grid,
  .product-grid,
  .agent-grid,
  .guide-grid,
  .footer { grid-template-columns: 1fr; }
  .cookie {
    align-items: stretch;
    flex-direction: column;
  }
}


.page-guides {
  min-height: calc(100vh - 220px);
  padding-top: 86px;
}

.page-guides .section-title h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: 0;
}
