:root {
  --color-night: #17002d;
  --color-ink: #241333;
  --color-violet: #7e2cff;
  --color-violet-soft: #c47cff;
  --color-lime: #8bdc32;
  --color-leaf: #3fae39;
  --color-whatsapp: #25d366;
  --color-warm: #fff8f1;
  --color-panel: #ffffff;
  --color-muted: #75667f;
  --color-border: #eadff2;
  --shadow-neon: 0 0 22px rgba(126, 44, 255, .32);
  --shadow-soft: 0 16px 42px rgba(23, 0, 45, .12);
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-warm);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

[hidden] {
  display: none !important;
}

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

svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
  flex: 0 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(18px, 4vw, 58px);
  color: #fff;
  background: rgba(23, 0, 45, .94);
  border-bottom: 1px solid rgba(196, 124, 255, .35);
  box-shadow: var(--shadow-neon);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: #fff;
  border: 2px solid var(--color-lime);
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: #d8c3f2;
  font-size: .76rem;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 11px;
  color: #f6efff;
  border-radius: 6px;
  font-size: .9rem;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.main-nav a svg {
  width: 1rem;
  height: 1rem;
  color: var(--color-lime);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #fff;
  background: rgba(139, 220, 50, .18);
  transform: translateY(-1px);
  outline: none;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 6px;
  background: transparent;
  color: #fff;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  align-items: center;
  gap: clamp(26px, 5vw, 70px);
  padding: clamp(46px, 7vw, 94px) clamp(18px, 5vw, 72px);
  color: #fff;
  background:
    radial-gradient(circle at 76% 24%, rgba(139, 220, 50, .2), transparent 24rem),
    radial-gradient(circle at 28% 12%, rgba(196, 124, 255, .28), transparent 25rem),
    linear-gradient(135deg, #0d001e 0%, #250046 58%, #120022 100%);
}

.hero h1,
.points-hero h1 {
  margin: 10px 0 18px;
  font-size: clamp(3rem, 9vw, 7.5rem);
  line-height: .9;
  letter-spacing: 0;
}

.hero p,
.points-hero p {
  max-width: 650px;
  margin: 0 0 28px;
  color: #eadff8;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-lime);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: .78rem;
}

.hero-actions,
.map-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 16px;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.button-primary {
  color: var(--color-night);
  background: var(--color-lime);
  box-shadow: 0 12px 24px rgba(139, 220, 50, .24);
}

.button-soft {
  color: #fff;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .2);
}

.button-more {
  min-width: 160px;
  margin: 18px auto 0;
  color: #fff;
  background: var(--color-violet);
  box-shadow: 0 12px 24px rgba(126, 44, 255, .2);
}

.whatsapp-button {
  color: #062711;
  background: var(--color-whatsapp);
}

.image-frame {
  display: block;
  width: 100%;
  min-height: clamp(260px, 42vw, 520px);
  margin: 0;
  background:
    linear-gradient(135deg, rgba(126, 44, 255, .2), rgba(139, 220, 50, .12)),
    rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 8px;
  box-shadow: var(--shadow-neon);
  overflow: hidden;
}

.image-frame img {
  width: 100%;
  height: clamp(260px, 42vw, 520px);
  display: block;
  object-fit: cover;
  object-position: center;
}

.section-image {
  width: 100%;
  height: clamp(220px, 32vw, 340px);
  display: block;
  margin-bottom: 18px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  background: #efe5f6;
}

.category-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: var(--color-night);
}

.category-strip a {
  min-height: 58px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
}

.category-strip a:nth-child(1) { background: #8e3dff; }
.category-strip a:nth-child(2) { background: #df316d; }
.category-strip a:nth-child(3) { background: #21a6a8; }
.category-strip a:nth-child(4) { background: #e0b51d; color: #201400; }
.category-strip a:nth-child(5) { background: #79c51f; color: #122500; }

.section {
  padding: clamp(48px, 7vw, 86px) clamp(18px, 5vw, 72px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
}

.section h2 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0;
}

.content-panel {
  padding: clamp(22px, 4vw, 34px);
  background: var(--color-panel);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.content-panel p:first-child {
  margin-top: 0;
}

.content-panel p:last-child {
  margin-bottom: 0;
}

.simple-statement {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(18px, 4vw, 46px);
  align-items: center;
  background: #fff;
  border-top: 1px solid var(--color-border);
}

.simple-statement h2 {
  max-width: 760px;
  font-size: clamp(1.9rem, 4vw, 3.4rem);
}

.simple-statement p {
  max-width: 680px;
  margin: 0;
  color: var(--color-muted);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
}

.values-grid,
.swatch-grid,
.combo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.values-grid article,
.swatch-grid article,
.combo-grid p,
.product-card {
  background: var(--color-panel);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.values-grid article {
  padding: 24px;
}

.values-grid svg {
  width: 34px;
  height: 34px;
  color: var(--color-violet);
}

.values-grid h3,
.product-card h3,
.site-footer h2 {
  margin: 12px 0 8px;
  letter-spacing: 0;
}

.color-guide {
  background: #f4ecfb;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 24px;
}

.swatch-grid article {
  padding: 16px;
}

.swatch-grid span {
  display: block;
  width: 100%;
  height: 66px;
  margin-bottom: 12px;
  border: 1px solid rgba(23, 0, 45, .12);
  border-radius: 6px;
  background: var(--swatch);
}

.swatch-grid strong,
.swatch-grid small {
  display: block;
}

.combo-grid {
  margin-top: 18px;
}

.combo-grid p {
  margin: 0;
  padding: 18px;
}

.catalog {
  background: #fff;
}

.filters,
.points-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 14px;
  margin-bottom: 22px;
}

.filters label,
.points-form label {
  display: grid;
  gap: 7px;
  color: var(--color-muted);
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--color-ink);
  background: #fff;
  border: 1px solid #dacbe5;
  border-radius: 7px;
  font: inherit;
}

input:focus,
select:focus {
  border-color: var(--color-violet);
  outline: 3px solid rgba(126, 44, 255, .14);
}

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

.product-media {
  min-height: 180px;
  display: grid;
  place-items: center;
  padding: 16px;
  text-align: center;
  color: #efe2ff;
  background:
    linear-gradient(135deg, rgba(23, 0, 45, .94), rgba(126, 44, 255, .78)),
    var(--color-night);
}

.product-media img {
  width: 100%;
  height: 190px;
  object-fit: contain;
}

.product-body {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pill {
  width: max-content;
  max-width: 100%;
  padding: 5px 9px;
  color: var(--color-night);
  background: #ecffd9;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 900;
}

.price {
  color: var(--color-violet);
  font-size: 1.35rem;
  font-weight: 900;
}

.product-card p {
  margin: 0;
  color: var(--color-muted);
}

.load-state {
  min-height: 40px;
  display: grid;
  place-items: center;
  margin-top: 20px;
  color: var(--color-muted);
  font-weight: 800;
}

.points-hero {
  min-height: 68vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 460px);
  align-items: center;
  gap: clamp(26px, 5vw, 70px);
  padding: clamp(46px, 7vw, 94px) clamp(18px, 5vw, 72px);
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(139, 220, 50, .23), transparent 26rem),
    linear-gradient(135deg, #120022 0%, #39105b 100%);
}

.points-form {
  grid-template-columns: 1fr;
  margin: 0;
  padding: clamp(20px, 4vw, 30px);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  box-shadow: var(--shadow-neon);
}

.points-form label {
  color: #f5eaff;
}

.points-result {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.points-card {
  display: grid;
  justify-items: center;
  padding: 26px;
  color: #fff;
  background: var(--color-night);
  border: 1px solid rgba(196, 124, 255, .42);
  border-radius: 8px;
  box-shadow: var(--shadow-neon);
}

.points-card strong {
  font-size: 4rem;
  line-height: 1;
  color: var(--color-lime);
}

.reward-ok {
  border-color: rgba(63, 174, 57, .55);
  box-shadow: 0 16px 32px rgba(63, 174, 57, .16);
}

.reward-pending {
  border-color: rgba(223, 49, 109, .45);
  box-shadow: 0 16px 32px rgba(223, 49, 109, .14);
}

.reward-ok .pill {
  background: #dfffd7;
}

.reward-pending .pill {
  color: #fff;
  background: #df316d;
}

.site-footer {
  padding: clamp(40px, 6vw, 70px) clamp(18px, 5vw, 72px);
  color: #fff;
  background: var(--color-night);
}

.footer-grid {
  display: grid;
  grid-template-columns: .8fr .9fr 1.3fr;
  gap: 26px;
}

.site-footer section {
  display: grid;
  align-content: start;
  gap: 10px;
}

.site-footer a:not(.button) {
  color: #dfccf8;
}

.site-footer p {
  margin: 0;
  color: #dfccf8;
}

.map-panel iframe {
  width: 100%;
  height: 240px;
  border: 0;
  border-radius: 8px;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--color-night);
  background: var(--color-lime);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 12px 24px rgba(23, 0, 45, .24);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.has-motion .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .65s ease, transform .65s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.has-motion .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.has-motion .hero-copy.reveal {
  transform: translateY(18px);
}

.has-motion .image-frame.reveal {
  transform: translateY(22px) scale(.98);
}

.has-motion .image-frame.reveal.is-visible {
  transform: translateY(0) scale(1);
}

.has-motion .product-card {
  transition: opacity .45s ease, transform .45s ease, box-shadow .2s ease;
}

.has-motion .product-card.reveal {
  transform: translateY(18px);
}

.has-motion .product-card.reveal.is-visible {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  .has-motion .reveal,
  .has-motion .image-frame.reveal,
  .has-motion .product-card.reveal {
    opacity: 1;
    transform: none;
  }
}

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

  .main-nav {
    position: absolute;
    inset: var(--header-height) 14px auto 14px;
    display: none;
    padding: 12px;
    background: rgba(23, 0, 45, .98);
    border: 1px solid rgba(196, 124, 255, .3);
    border-radius: 8px;
    box-shadow: var(--shadow-neon);
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a {
    width: 100%;
  }

  .hero,
  .points-hero,
  .split,
  .simple-statement,
  .points-result,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

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

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

@media (max-width: 640px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .category-strip,
  .values-grid,
  .swatch-grid,
  .combo-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .category-strip a {
    min-height: 48px;
  }

  .image-frame {
    min-height: 220px;
  }

  .image-frame img {
    height: 220px;
  }

  .section-image {
    height: 210px;
  }

  .hero h1,
  .points-hero h1 {
    font-size: clamp(2.8rem, 18vw, 4rem);
  }
}
