:root {
  --bg: #f4efe6;
  --bg-deep: #13110f;
  --panel: rgba(255, 250, 242, 0.84);
  --panel-strong: rgba(255, 248, 237, 0.94);
  --line: rgba(40, 28, 12, 0.12);
  --text: #1d160f;
  --muted: #655748;
  --accent: #cf5f2d;
  --accent-strong: #8d2e0b;
  --accent-soft: #f0c29f;
  --shadow: 0 20px 45px rgba(59, 34, 11, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Zen Kaku Gothic New", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(207, 95, 45, 0.18), transparent 32%),
    radial-gradient(circle at 85% 10%, rgba(80, 54, 24, 0.16), transparent 28%),
    linear-gradient(180deg, #f7f1e8 0%, #f1e6d8 48%, #ece1d3 100%);
  min-height: 100vh;
}

body::before {
  position: fixed;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 70%);
}

.page-shell {
  width: min(1200px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.hero,
.section,
.store-card,
.route-card,
.filters,
.toolbar {
  backdrop-filter: blur(18px);
}

.hero {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(19, 17, 15, 0.94), rgba(53, 35, 20, 0.84));
  color: #fff8f0;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent-soft);
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3.8rem, 9vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
}

.lead {
  max-width: 58ch;
  margin: 18px 0 0;
  color: rgba(255, 248, 240, 0.82);
  font-size: 1rem;
  line-height: 1.9;
}

.hero-actions,
.card-actions,
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 18px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: white;
}

.button-secondary {
  background: rgba(255, 248, 240, 0.08);
  border-color: rgba(255, 248, 240, 0.18);
  color: inherit;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 248, 240, 0.08), rgba(255, 248, 240, 0.03));
  border: 1px solid rgba(255, 248, 240, 0.12);
}

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

.stat-grid article {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 248, 240, 0.08);
  border: 1px solid rgba(255, 248, 240, 0.1);
}

.stat-label {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 248, 240, 0.72);
  margin-bottom: 6px;
}

.stat-grid strong {
  font-size: 1.35rem;
}

.hero-note {
  margin: 18px 0 0;
  font-size: 0.9rem;
  color: rgba(255, 248, 240, 0.68);
  line-height: 1.7;
}

.section {
  margin-top: 24px;
  padding: 24px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.route-card,
.store-card,
.filters,
.toolbar {
  border: 1px solid var(--line);
  background: var(--panel-strong);
  box-shadow: 0 10px 30px rgba(59, 34, 11, 0.08);
}

.route-card {
  padding: 18px;
  border-radius: 22px;
}

.route-tag,
.area-pill,
.price-pill,
.chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.route-tag {
  margin-bottom: 10px;
  padding: 6px 10px;
  background: rgba(207, 95, 45, 0.14);
  color: var(--accent-strong);
}

.route-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.map-wrap {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  min-height: 560px;
}

.map-wrap iframe {
  width: 100%;
  height: 560px;
  border: 0;
  display: block;
}

.filters {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 14px;
  padding: 16px;
  border-radius: 22px;
}

.field {
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
}

.field input,
.field select {
  width: 100%;
  border: 1px solid rgba(39, 28, 18, 0.12);
  border-radius: 16px;
  padding: 14px 16px;
  background: #fffaf3;
  font: inherit;
  color: var(--text);
}

.toolbar {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.toolbar p {
  margin: 0;
  font-weight: 700;
}

.chip {
  cursor: pointer;
  border: 1px solid rgba(207, 95, 45, 0.2);
  background: rgba(207, 95, 45, 0.08);
  color: var(--accent-strong);
  padding: 7px 12px;
}

.chip.is-active {
  background: var(--accent);
  color: white;
}

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

.store-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 24px;
}

.store-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.area-pill,
.price-pill {
  padding: 7px 10px;
}

.area-pill {
  background: rgba(29, 22, 15, 0.08);
  color: var(--text);
}

.price-pill {
  background: rgba(207, 95, 45, 0.12);
  color: var(--accent-strong);
}

.store-card h3 {
  font-size: 1.28rem;
  line-height: 1.35;
}

.benefit {
  margin: 0;
  padding: 14px;
  border-radius: 18px;
  background: rgba(207, 95, 45, 0.08);
  line-height: 1.75;
}

.store-meta {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 8px 14px;
  margin: 0;
  font-size: 0.94rem;
}

.store-meta dt {
  color: var(--muted);
  font-weight: 700;
}

.store-meta dd {
  margin: 0;
  line-height: 1.65;
}

.card-actions .button-secondary {
  background: transparent;
  border-color: rgba(39, 28, 18, 0.12);
  color: var(--text);
}

.card-actions .button-secondary[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
}

@media (max-width: 1080px) {
  .hero,
  .route-grid,
  .store-grid,
  .filters {
    grid-template-columns: 1fr 1fr;
  }

  .hero-copy {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100vw - 20px, 100%);
    padding-top: 10px;
  }

  .hero,
  .route-grid,
  .store-grid,
  .filters {
    grid-template-columns: 1fr;
  }

  .hero,
  .section {
    padding: 18px;
    border-radius: 24px;
  }

  h1 {
    font-size: 4rem;
  }

  .map-wrap,
  .map-wrap iframe {
    min-height: 420px;
    height: 420px;
  }

  .toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
}
