:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #151515;
  --muted: #5a5a5a;
  --line: #e6eaf0;
  --accent: #f0dd25;
  --accent-2: #cdbd1f;
  --ink: #111111;
  --maxw: 1140px;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--maxw), 92%);
  margin: 0 auto;
}

.site-header {
  position: relative;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.header-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  width: 76px;
  height: auto;
}

.nav-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 8px;
  font-size: 0.95rem;
  padding: 8px 12px;
}

.site-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.site-nav a {
  font-weight: 600;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--ink);
}

.hero {
  min-height: 58vh;
  position: relative;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(130deg, #111111 0%, #1f1f1f 58%, #2a2a2a 100%);
  color: #ffffff;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero::before {
  width: 360px;
  height: 360px;
  background: rgba(240, 221, 37, 0.12);
  top: -120px;
  right: -80px;
}

.hero::after {
  width: 240px;
  height: 240px;
  border: 2px solid rgba(240, 221, 37, 0.26);
  bottom: -90px;
  right: 25%;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin: 0 0 14px;
  max-width: 900px;
  font-size: clamp(2rem, 4.8vw, 3.6rem);
  line-height: 1.1;
}

.hero p {
  margin: 0;
  max-width: 760px;
  color: #ececec;
  line-height: 1.7;
}

.btn {
  display: inline-block;
  margin-top: 18px;
  padding: 11px 20px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
}

.btn:hover {
  background: var(--accent-2);
}

.hero-tabs {
  margin-top: 28px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-tab {
  border-left: 4px solid var(--accent);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 12px 14px;
}

.hero-tab .label {
  color: #cfcfcf;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-tab .value {
  margin-top: 6px;
  font-weight: 700;
  color: #ffffff;
}

.section {
  padding: 64px 0;
}

.section-alt {
  background: linear-gradient(180deg, #f3f5f8 0%, #f8f9fb 100%);
}

.section-tight {
  padding: 32px 0 24px;
}

.section h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
}

.section .lead {
  margin: 14px auto 0;
  max-width: 860px;
  text-align: center;
  color: var(--muted);
  line-height: 1.75;
}

.grid {
  display: grid;
  gap: 18px;
}

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

.stat-card {
  background: linear-gradient(160deg, #ffffff 0%, #fbfcfe 100%);
  border: 1px solid #e9edf3;
  border-radius: var(--radius);
  padding: 18px 16px;
  text-align: center;
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.04);
}

.stat-card strong {
  display: block;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.features {
  margin-top: 30px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.feature-card {
  min-height: 112px;
  padding: 18px 18px 18px 22px;
  border: 1px solid #e9edf3;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  text-align: left;
  font-weight: 600;
  color: #253244;
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.04);
  position: relative;
}

.feature-card::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  margin-right: 10px;
  flex-shrink: 0;
}

.products-grid {
  margin-top: 30px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-tools {
  margin-top: 18px;
}

.product-search {
  width: min(420px, 100%);
  display: block;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  padding: 11px 14px;
  font-size: 0.95rem;
  outline: none;
}

.product-search:focus {
  border-color: #d2d8e0;
  box-shadow: 0 0 0 3px rgba(240, 221, 37, 0.2);
}

.product-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: stretch;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid #e9edf3;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.04);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(17, 17, 17, 0.1);
}

.product-item.hidden {
  display: none;
}

.product-card img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
}

.product-card .copy {
  padding: 16px 18px;
  display: grid;
  align-content: center;
}

.product-card h3 {
  margin: 0;
  font-size: 1rem;
}

.product-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

.store-list {
  margin: 18px 0 16px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.store-item {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  color: #111111;
  border: 1px solid #e9edf3;
  border-radius: 12px;
  padding: 12px 14px;
  display: grid;
  gap: 4px;
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.04);
  position: relative;
  padding-left: 30px;
}

.store-item::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 17px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.store-item strong {
  font-size: 0.93rem;
}

.store-item span {
  font-size: 0.9rem;
  color: var(--muted);
}

.map-wrap {
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
}

#stores-map {
  display: block;
  width: 100%;
  min-height: 420px;
}

.brand-strip {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 10px;
}

.brand-strip img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
}

.page-hero {
  min-height: 34vh;
  display: grid;
  place-content: center;
  text-align: center;
  color: #ffffff;
  background: linear-gradient(130deg, #111111 0%, #1f1f1f 58%, #2a2a2a 100%);
}

.content-narrow {
  width: min(900px, 92%);
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.8;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--surface);
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #ffffff;
  color: var(--muted);
  text-align: center;
  padding: 20px 0;
}

.back-to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  border: 1px solid #222;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 9px 12px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.show {
  opacity: 1;
  transform: none;
}

@media (max-width: 1000px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .products-grid {
    grid-template-columns: 1fr;
  }

  .brand-strip {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid var(--line);
    padding: 14px 0;
    flex-direction: column;
    gap: 14px;
  }

  .site-nav.open {
    display: flex;
  }

  .features,
  .products-grid,
  .brand-strip {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .product-card img {
    min-height: 190px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-tabs {
    grid-template-columns: 1fr;
  }

  .store-list {
    grid-template-columns: 1fr;
  }

  #stores-map {
    min-height: 320px;
  }
}
