:root {
  --page-bg: #15a558;
  --logo-bg: #ffcc34;
  --menu-bg: #39cb6c;
  --menu-button-bg: #ffffff;
  --menu-text: #15a558;
  --menu-hover-bg: #ffcc34;
  --menu-hover-text: #ffffff;
  --top-bg: #111111;
  --top-arrow: #ffffff;
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", sans-serif;
  font-synthesis: weight;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--page-bg);
  color: #171717;
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, select { font: inherit; }
h1, h2, h3, h4 { font-weight: 900; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.5rem;
  left: 0.5rem;
  transform: translateY(-150%);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: #111;
  color: #fff;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0.35rem 1rem;
  background: var(--logo-bg);
  box-shadow: 0 0.3rem 1.5rem rgb(0 0 0 / 0.08);
}
.logo-link { display: grid; width: 100%; height: 3.5rem; place-items: center; border-radius: 1rem; }
.logo-link img { width: 100%; height: 3.5rem; object-fit: contain; }

main {
  width: min(70rem, calc(100% - 2rem));
  margin: 2rem auto 8rem;
}

.side-nav {
  position: fixed;
  z-index: 30;
  top: 9rem;
  left: 1.2rem;
  display: none;
  width: 10.8rem;
  max-height: calc(100vh - 11rem);
  overflow: auto;
  padding: 1rem;
  border: 0;
  border-radius: 1.5rem;
  background: var(--menu-bg);
  box-shadow: none;
}
.side-nav nav { display: grid; gap: 0.65rem; }
.side-nav a,
.bottom-nav a {
  display: block;
  padding: 0.72rem 0.9rem;
  border-radius: 999px;
  background: var(--menu-button-bg);
  color: var(--menu-text);
  font-size: 0.9rem;
  font-weight: 950;
  line-height: 1.25;
  text-align: center;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}
.side-nav a:hover,
.side-nav a:focus-visible,
.bottom-nav a:hover,
.bottom-nav a:focus-visible {
  transform: translateY(-2px);
  background: var(--menu-hover-bg);
  color: var(--menu-hover-text);
  outline: none;
}

.hero {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.hero picture, .hero img { width: 100%; }
.hero img { min-height: 18rem; object-fit: cover; filter: none; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.4rem auto 2rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  border: 0;
  border-radius: 999px;
  background: var(--button-bg, #ffcc34);
  color: var(--button-text, #fff);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.25;
  text-align: center;
  box-shadow: none;
  transition: transform 160ms ease, background-color 160ms ease, filter 160ms ease;
}
.button:hover, .button:focus-visible {
  transform: translateY(-2px);
  box-shadow: none;
  filter: saturate(1.08);
  outline: 3px solid rgb(255 255 255 / 0.7);
  outline-offset: 3px;
}
.button:active { transform: none; box-shadow: none; }
.hero-actions .button:nth-child(3n + 1) { --button-bg: #fda2cd; }
.hero-actions .button:nth-child(3n + 2) { --button-bg: #ffcc34; }
.hero-actions .button:nth-child(3n + 3) { --button-bg: #fff; --button-text: #15a558; }
.hero-actions .button:focus-visible { outline: none; }

.campaign-section {
  --section-bg: #fda2cd;
  --button-bg: #ffcc34;
  --button-text: #fff;
  --title-color: #000;
  --subtitle-color: #fff;
  --body-text: #5f5f64;
  --brand-button-bg: #fda2cd;
  --brand-button-text: #fff;
  margin: 0 0 2rem;
  padding: clamp(1.4rem, 4vw, 3rem);
  border: 0;
  border-radius: 2.1rem;
  background: var(--section-bg);
  box-shadow: 0 1.2rem 3rem rgb(0 0 0 / 0.14);
}
.section-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}
.section-layout-reverse { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.section-layout-reverse .section-art { order: 2; }
.section-art {
  display: grid;
  min-width: 0;
  align-self: stretch;
  place-items: center;
  padding: clamp(0.75rem, 2vw, 1.5rem);
}
.section-art img {
  width: 65%;
  max-height: 34rem;
  object-fit: contain;
  filter: drop-shadow(0 1rem 1.2rem rgb(0 0 0 / 0.17));
}
.section-copy {
  display: flex;
  min-width: 0;
  align-self: stretch;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.section-copy h2,
.social-section h2 {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin: 0;
  color: var(--title-color);
  font-size: clamp(2rem, 5vw, 4.4rem);
  font-family: inherit;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  -webkit-text-stroke: 0.02em currentColor;
  paint-order: stroke fill;
  white-space: nowrap;
}
.section-subtitle {
  margin: 0.7rem 0;
  color: var(--subtitle-color);
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
}
.section-description {
  width: 100%;
  margin: 1rem 0;
  color: var(--body-text);
  font-size: 1.05rem;
  text-align: left;
  white-space: pre-line;
}
.button-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 30rem);
  align-items: center;
  align-self: center;
  gap: 0.8rem;
  margin-top: 1.3rem;
}
.button-row.is-single { grid-template-columns: minmax(0, 15rem); justify-content: center; }
.button-row .button { width: 100%; height: 100%; }
.compact-section .section-layout { display: block; }
.compact-section .section-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.2rem 2rem;
  text-align: left;
}
.compact-section .section-copy > h2 { grid-column: 1 / -1; grid-row: 1; }
.compact-section .section-copy:has(.button-row) > h2 { grid-column: 1; }
.compact-section h2,
.compact-section .section-subtitle,
.compact-section .section-description { grid-column: 1 / -1; }
.compact-section h2,
.compact-section .section-subtitle { text-align: left; }
.compact-section h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
.compact-section .button-row { grid-column: 2; grid-row: 1; width: auto; margin: 0; justify-self: end; }
.compact-section .button-row.is-single { grid-template-columns: auto; }

.brand-panel {
  margin-top: 2rem;
  padding: clamp(1rem, 3vw, 1.8rem);
  border-radius: 1.6rem;
  background: rgb(255 255 255 / 0.92);
  box-shadow: inset 0 0 0 2px rgb(255 255 255 / 0.8);
}
.brand-panel h3 { margin: 0; font-size: 1.55rem; }
.brand-status { margin: 0.7rem 0 0; color: #666; }
.brand-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand-controls { display: flex; align-items: center; gap: 0.7rem; }
.locate-button-wrap { position: relative; }
.button-small {
  min-height: 2.65rem;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  box-shadow: none;
}
.locate-button { --button-bg: var(--brand-button-bg); --button-text: var(--brand-button-text); cursor: pointer; }
.locate-button.is-active { box-shadow: none; outline: 3px solid rgb(0 0 0 / 0.12); outline-offset: -3px; }
.locate-button:disabled { cursor: wait; opacity: 0.7; }
.sorting-note {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: calc(100% + 0.65rem);
  width: 16rem;
  padding: 0.65rem 0.8rem;
  border-radius: 0.8rem;
  background: #111;
  color: #fff;
  font-size: 0.8rem;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.35rem);
  transition: opacity 150ms ease, transform 150ms ease;
}
.sorting-note.is-visible { opacity: 1; transform: translateY(0); }
.city-filter select {
  min-height: 2.65rem;
  max-width: 10rem;
  padding: 0.5rem 2.1rem 0.5rem 0.85rem;
  border: 2px solid rgb(0 0 0 / 0.12);
  border-radius: 999px;
  background: #fff;
  color: #222;
  cursor: pointer;
}
.city-filter select:focus-visible { outline: 3px solid var(--brand-button-bg); outline-offset: 2px; }
.brand-status[data-state="error"] { color: #a51d20; font-weight: 800; }
.brand-status[data-state="empty"] { color: #666; }
.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}
.brand-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  padding: 1.05rem;
  border: 2px solid rgb(0 0 0 / 0.07);
  border-radius: 1.25rem;
  background: #fff;
  text-align: center;
  box-shadow: 0 0.45rem 1rem rgb(0 0 0 / 0.07);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.brand-card-link:hover, .brand-card-link:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 0.9rem 1.4rem rgb(0 0 0 / 0.13);
  outline: 3px solid var(--brand-button-bg);
  outline-offset: 2px;
}
.brand-logo {
  display: grid;
  width: 7.6rem;
  height: 7.6rem;
  place-items: center;
  overflow: hidden;
  border-radius: 15px;
  background: #f5f5f5;
  color: #555;
  font-size: 0.9rem;
  font-weight: 900;
}
.brand-logo img { width: 100%; height: 100%; object-fit: cover; }
.brand-logo-fallback { padding: 0.5rem; }
.brand-card h4 { margin: 0.8rem 0 0.35rem; font-size: 1.08rem; line-height: 1.35; }
.brand-card p { flex: 1; margin: 0 0 0.9rem; color: #666; font-size: 0.9rem; line-height: 1.5; }
.brand-action { --button-bg: var(--brand-button-bg); --button-text: var(--brand-button-text); width: 100%; }
.button-disabled { --button-bg: #d8d8d8; --button-text: #666; box-shadow: none; }

.reveal-item { opacity: 0; transform: translateY(1.2rem); transition: opacity 480ms ease, transform 480ms ease; }
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }

.social-section { text-align: center; }
.social-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.7rem, 3vw, 1.4rem);
  width: min(34rem, 100%);
  margin: 1.5rem auto 0;
}
.social-grid a {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  padding: 0.65rem;
  border-radius: 1.4rem;
  background: rgb(255 255 255 / 0.9);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.social-grid img { width: 100%; height: auto; max-height: 100%; object-fit: contain; }
.social-grid a:hover, .social-grid a:focus-visible {
  transform: translateY(-4px) rotate(-1deg);
  box-shadow: 0 0.8rem 1.5rem rgb(0 0 0 / 0.16);
  outline: 3px solid rgb(255 255 255 / 0.75);
}

.app-float {
  position: fixed;
  z-index: 35;
  right: max(1rem, env(safe-area-inset-right));
  bottom: 1rem;
  width: clamp(4.5rem, 10vw, 7.4rem);
  border-radius: 50%;
  filter: none;
  animation: app-float 3.2s ease-in-out infinite;
  transition: transform 160ms ease;
}
.app-float:hover, .app-float:focus-visible { outline: none; }

.quick-jump {
  position: fixed;
  z-index: 34;
  right: 1rem;
  bottom: 8.8rem;
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border-radius: 50%;
  background: var(--top-bg);
  color: var(--top-arrow);
  font-size: 1.4rem;
  font-weight: 900;
  box-shadow: none;
}

.bottom-nav {
  position: fixed;
  z-index: 40;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding: 0.75rem max(0.75rem, env(safe-area-inset-left)) calc(0.75rem + env(safe-area-inset-bottom));
  background: var(--menu-bg);
  box-shadow: none;
  scrollbar-width: none;
}
.bottom-nav::-webkit-scrollbar { display: none; }
.bottom-nav a { flex: 0 0 auto; min-width: 7rem; }

@media (min-width: 1381px) {
  body { padding-right: 8rem; padding-left: 13rem; }
  .site-header { margin-right: -8rem; margin-left: -13rem; }
  .side-nav { display: block; }
  .bottom-nav { display: none; }
  main { width: min(70rem, 100%); margin-bottom: 3rem; }
  .app-float { bottom: 1.2rem; }
}

@media (max-width: 820px) {
  .site-header { min-height: 2.75rem; padding-block: 0.25rem; }
  .logo-link { height: 2.75rem; }
  .logo-link img { height: 2.75rem; }
  main { width: min(100% - 1rem, 44rem); margin-top: 0.75rem; }
  .hero { border-radius: 0; }
  .campaign-section { border-width: 2px; border-radius: 1.4rem; }
  .hero img { min-height: 12rem; }
  .campaign-section { padding: 1.3rem; margin-bottom: 1rem; }
  .section-layout, .section-layout-reverse { grid-template-columns: 1fr; gap: 1rem; }
  .section-layout-reverse .section-art { order: 0; }
  .section-art { min-height: clamp(10rem, 50vw, 15rem); align-content: center; }
  .section-art img { width: 50%; max-height: 25rem; }
  .compact-section .section-layout { display: block; }
  .compact-section .section-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    justify-items: stretch;
    text-align: left;
  }
  .compact-section .button-row { align-self: center; justify-self: end; }
  .brand-heading { align-items: flex-start; flex-direction: column; }
  .brand-panel h3 { width: 100%; text-align: center; }
  .brand-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 0.65rem; }
  .locate-button-wrap, .city-filter { min-width: 0; }
  .locate-button, .city-filter select { width: 100%; max-width: none; }
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .social-grid { gap: 0.55rem; }
  .app-float { bottom: 5.8rem; }
  .quick-jump { bottom: 10.9rem; }
}

@media (max-width: 480px) {
  body { font-size: 1rem; }
  .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-actions .button { padding-inline: 0.7rem; }
  .section-copy h2, .social-section h2 { font-size: clamp(2rem, 12vw, 3.2rem); }
  .section-subtitle { font-size: clamp(1.32rem, 5.5vw, 2.2rem); }
  .sorting-note { right: auto; left: 0; width: min(16rem, calc(100vw - 4rem)); }
  .brand-grid {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    padding: 0 1.3rem 0.5rem 0;
    scroll-padding-inline: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .brand-grid::-webkit-scrollbar { display: none; }
  .brand-card { flex: 0 0 min(63vw, 15.2rem); scroll-snap-align: start; }
  .brand-grid.is-hinting .brand-card { animation: brand-carousel-hint 1.1s ease-in-out 0.35s 1; }
  .social-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .social-grid a { padding: 0.4rem; border-radius: 1rem; }
}

@keyframes brand-carousel-hint {
  0%, 100% { transform: translateX(0); }
  45%, 60% { transform: translateX(-2rem); }
}

@keyframes app-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
