:root {
  --green: #00a660;
  --green-dark: #26402f;
  --green-mid: #00a625;
  --yellow: #fdca0b;
  --yellow-l: #ffde3d;
  --ink: #212426;
  --paper: #f7f8fa;
  --white: #fff;
  --light-green: #85de9b;
  --maxw: 980px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 220ms;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Geologica", system-ui, Arial, sans-serif;
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-weight: 900; line-height: 1.1; margin: 0 0 0.4em; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
a { color: inherit; }

/* Header */
.top {
  background: var(--green);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(8px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: var(--maxw);
  margin: 0 auto;
  gap: 10px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.5px;
}

.logo svg { width: 36px; height: 36px; flex-shrink: 0; }
.logo .t { color: var(--yellow); }

.city-tag {
  font-weight: 500;
  font-size: 15px;
  opacity: 0.95;
  padding: 6px 12px;
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
}

/* Menu */
.menu { background: var(--green-dark); color: #fff; }

.menu .inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  gap: 4px;
  padding: 0 8px;
}

.menu button {
  flex: 1;
  background: transparent;
  color: #fff;
  border: 0;
  border-bottom: 3px solid transparent;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 8px;
  cursor: pointer;
  min-height: 48px;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur-fast) var(--ease);
}

.menu button:active { transform: scale(0.98); }

.menu button[aria-selected="true"] {
  border-bottom-color: var(--yellow);
  color: var(--yellow);
}

.menu button:focus-visible {
  outline: 3px solid var(--yellow-l);
  outline-offset: -3px;
}

/* Views */
.view {
  display: none;
  animation: viewOut var(--dur) var(--ease);
}

.view.active {
  display: block;
  animation: viewIn 0.35s var(--ease);
}

@keyframes viewIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@keyframes viewOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(145deg, var(--green-mid) 0%, var(--green) 45%, #008f52 100%);
  color: var(--white);
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(3rem, 8vw, 4rem);
  min-height: min(72vh, 640px);
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 90% 20%, rgba(253,202,11,0.15), transparent 55%);
  pointer-events: none;
}

.hero .ribbon {
  position: absolute;
  inset: auto 0 -10px 0;
  width: 100%;
  height: 200px;
  z-index: 0;
  opacity: 0.95;
  pointer-events: none;
  animation: ribbonDrift 12s ease-in-out infinite alternate;
}

@keyframes ribbonDrift {
  from { transform: translateX(-2%); }
  to { transform: translateX(2%); }
}

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

.hero h1 {
  font-size: clamp(28px, 6.5vw, 50px);
  max-width: 16ch;
  animation: rise 0.6s var(--ease) 0.05s both;
}

.hero .sub {
  font-weight: 500;
  font-size: clamp(17px, 2.4vw, 21px);
  max-width: 36ch;
  margin-bottom: 22px;
  opacity: 0.95;
  animation: rise 0.6s var(--ease) 0.12s both;
}

.promo-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 16px;
  padding: 12px 18px;
  font-weight: 700;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  animation: rise 0.6s var(--ease) 0.18s both;
}

.promo-pill .pct {
  font-weight: 900;
  font-size: 18px;
  background: var(--ink);
  color: var(--yellow);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.stat-pill {
  display: inline-flex;
  flex-direction: column;
  background: rgba(255,255,255,0.14);
  border-radius: 16px;
  padding: 12px 20px;
  margin-bottom: 22px;
  backdrop-filter: blur(4px);
  animation: rise 0.6s var(--ease) 0.18s both;
}

.stat-pill b { font-size: 30px; font-weight: 900; line-height: 1; }
.stat-pill span { font-size: 13px; opacity: 0.9; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  animation: rise 0.6s var(--ease) 0.24s both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 500;
  min-height: 48px;
  transition: transform var(--dur) var(--ease), background var(--dur), box-shadow var(--dur);
}

.store:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.store:active { transform: scale(0.97); }

.store small { display: block; font-size: 11px; opacity: 0.8; font-weight: 300; }
.store b { font-weight: 700; font-size: 15px; }

.phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  padding: 12px 16px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 14px;
  min-height: 48px;
  transition: border-color var(--dur), background var(--dur);
}

.phone:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
}

/* Sections */
section { padding: clamp(2.5rem, 6vw, 3.5rem) 0; }

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

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

.light { background: var(--paper); }
.white { background: var(--white); }

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--white);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.card .n {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 12px;
}

.card code {
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  font-family: inherit;
}

h2.sec { font-size: clamp(24px, 4vw, 34px); }

.promo-block {
  background: var(--green-dark);
  color: var(--white);
  text-align: center;
}

.code-box {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  color: var(--ink);
  border-radius: 16px;
  padding: 16px 22px;
  margin: 10px 0 6px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.code-box .code {
  font-weight: 900;
  font-size: clamp(22px, 5vw, 28px);
  letter-spacing: 2px;
}

.copy-btn {
  background: var(--yellow);
  color: var(--ink);
  border: 0;
  border-radius: 10px;
  padding: 10px 16px;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  min-height: 44px;
  transition: background var(--dur), transform 0.15s;
}

.copy-btn:hover { background: var(--yellow-l); }
.copy-btn:active { transform: scale(0.97); }

.cond { opacity: 0.85; font-size: 14px; font-weight: 300; }

.benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.benefits li {
  background: var(--paper);
  border-radius: 16px;
  padding: 20px;
  font-weight: 500;
  transition: transform var(--dur) var(--ease);
}

.benefits li:hover { transform: translateY(-2px); }
.benefits li .ic { font-size: 24px; display: block; margin-bottom: 8px; }

.local { background: var(--light-green); color: var(--green-dark); }
.local .wrap { max-width: 760px; }

.final {
  background: var(--green);
  color: var(--white);
  text-align: center;
}

.final .qr {
  width: 128px;
  height: 128px;
  background: #fff;
  border-radius: 12px;
  padding: 8px;
  display: inline-block;
  margin-top: 12px;
}

.qrsvg { width: 100%; height: 100%; display: block; }
.final .cta-row { justify-content: center; }

.promos { background: var(--paper); }

.promo-card {
  background: var(--white);
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  max-width: 720px;
  margin: 0 auto;
  border-top: 6px solid var(--yellow);
}

.promo-card .badge-new {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
  border-radius: 8px;
  padding: 3px 10px;
  font-size: 13px;
  margin-bottom: 10px;
}

.promo-card h3 { font-size: clamp(22px, 3.5vw, 30px); }
.promo-card .period { color: var(--green); font-weight: 700; margin-bottom: 8px; }

footer {
  background: var(--ink);
  color: #cfd3d6;
  font-size: 14px;
  font-weight: 300;
  padding: 32px 0;
}

footer a { color: #cfd3d6; }
footer .slogan { color: #fff; font-weight: 700; margin-bottom: 8px; }

.sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--green);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  z-index: 40;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  animation: slideUp 0.35s var(--ease);
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: none; }
}

.sticky .scode { font-size: 13px; opacity: 0.95; }
.sticky .scode b { font-weight: 900; }

.sticky a {
  background: var(--yellow);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.consent {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: var(--ink);
  color: #fff;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  z-index: 60;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  animation: rise 0.4s var(--ease);
}

.consent p { margin: 0; font-size: 14px; max-width: 60ch; }
.consent .btns { display: flex; gap: 10px; }

.consent button {
  font-family: inherit;
  font-weight: 700;
  border: 0;
  border-radius: 10px;
  padding: 10px 16px;
  cursor: pointer;
  min-height: 44px;
}

.c-accept { background: var(--yellow); color: var(--ink); }
.c-decline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4); }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

:focus-visible {
  outline: 3px solid var(--yellow-l);
  outline-offset: 2px;
}

@media (max-width: 720px) {
  .grid3, .benefits { grid-template-columns: 1fr; }
  .hero .ribbon { height: 130px; }
  .hero { min-height: auto; }
  .sticky { display: flex; }
  body { padding-bottom: 72px; }
  .consent { bottom: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero .ribbon { animation: none; }
  .view.active { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .store:hover, .card:hover, .benefits li:hover { transform: none; }
}
