@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@700;800;900&display=swap');

/* ============================================================
   CUSTOM PROPERTIES — Joluca light / brand theme
   ============================================================ */
:root {
  /* ── Brand greens ───────────────────────────────────────── */
  --color-primary:        #58B386;   /* main CTA, links, icons          */
  --color-primary-hover:  #3d9068;   /* darker on hover                 */
  --color-primary-subtle: rgba(88,179,134,.10); /* tinted bg on tags/hovers */

  /* ── Text ───────────────────────────────────────────────── */
  --color-text:           #1f1f1f;   /* body copy                       */
  --color-muted:          #5c5a50;   /* secondary text, labels          */
  --color-on-primary:     #ffffff;   /* text on green backgrounds       */

  /* ── Backgrounds ───────────────────────────────────────── */
  --color-bg:             #fffae2;   /* page base — warm cream          */
  --color-alt:            #fffae2;   /* alt sections                    */
  --color-surface:        #ffffff;   /* cards, inputs, modals           */
  --color-card:           #ffffff;   /* drink cards (alias)             */

  /* ── Borders & shadows ─────────────────────────────────── */
  --color-border:         #DDD8B8;   /* slightly softer warm-grey       */
  --color-tag-bg:         #F2EFE0;   /* pill/tag background             */
  --color-tag-border:     #D8D4BC;   /* pill/tag border                 */

  /* ── Hero (light variant) ──────────────────────────────── */
  --color-hero-bg:        #fffae2;
  --color-hero-tint:      #fffae2;   /* matches page bg                 */

  /* ── Footer (dark green) ───────────────────────────────── */
  --color-footer-bg:      #28513D;
  --color-footer-text:    #b8e4cf;
  --color-footer-heading: #ffffff;
  --color-footer-muted:   #8DCFAD;   /* toned down — was #7BEFB6 (neon) */
  --color-footer-border:  rgba(255,255,255,.12);

  /* ── Contest / gold accent ─────────────────────────────── */
  --gold:       #E8AC28;             /* slightly calmer than #f0b429   */
  --gold-dark:  #C49200;
  --gold-bg:    rgba(232,172,40,.12);
  --c-hero:     #1a3d2b;             /* darkest green — hero bg         */
  --c-hero-mid: #28513D;             /* mid green — hero gradient       */

  /* ── Utility ───────────────────────────────────────────── */
  --color-scrim:          rgba(0,0,0,.45);
  --color-scrim-shadow:   rgba(0,0,0,.12);
  --color-spinner-track:  rgba(255,255,255,.4);
  --color-error:          #dc2626;
  --color-icon:           #58B386;

  --shadow-xs: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.07), 0 1px 3px rgba(0,0,0,.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.05);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.10), 0 2px 8px rgba(0,0,0,.06);

  --font:         'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Poppins', system-ui, sans-serif;

  --radius:    8px;
  --container: 1200px;
  --gap:       1.5rem;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

img, picture, video { max-width: 100%; display: block; border-radius: var(--radius); }
address { font-style: normal; }
ul { list-style: none; }

a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 { line-height: 1.15; font-weight: 800; font-family: var(--font-heading); }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.15rem; margin-bottom: .4rem; }

p + p { margin-top: .75rem; }

.lead {
  font-size: 1.05rem;
  color: var(--color-muted);
}

.text-accent { color: var(--color-primary); }


/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section          { padding-block: 5rem; }
.section-alt      { background: #ffffff; }

.section-handla {
  background: linear-gradient(155deg, var(--c-hero-mid, #28513D) 0%, var(--c-hero, #1a3d2b) 65%);
  color: #fff;
}
.section-handla h2,
.section-handla .lead { color: #fff; }
.section-handla .lead { color: rgba(255,255,255,.8); }
.section-handla .logo-tile {
  background: #ffffff;
  border-color: rgba(255,255,255,.2);
}
.section-handla .logo-tile img {
  filter: none;
  opacity: .85;
  transition: opacity .25s;
}
.section-handla .logo-tile:hover img {
  filter: none;
  opacity: 1;
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: 3rem;
}
.section-header h2   { margin-bottom: .5rem; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: .75rem 1.8rem;
  background: var(--color-primary);
  color: var(--color-on-primary);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s;
  letter-spacing: .03em;
}
.btn:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-on-primary);
}

.btn-sm { font-size: .875rem; padding: .5rem 1.1rem; }

.btn-gold {
  background: var(--gold);
  color: #3a2800;
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: #3a2800;
  text-decoration: none;
}

.hero-contest-note {
  margin-top: .75rem;
  font-size: .82rem;
  color: var(--color-muted);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding-block: .85rem;
  box-shadow: var(--shadow-sm);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  white-space: nowrap;
  margin-right: auto;
}
.logo:hover { text-decoration: none; }

.logo-img {
  display: block;
  max-height: 34px;
  max-width: 160px;
  object-fit: contain;
  border-radius: 0;
  filter: none;
}

.footer-logo { display: inline-block; }
.footer-logo:hover { text-decoration: none; opacity: .85; }
.footer-logo-img {
  display: block;
  height: 32px;
  width: auto;
  object-fit: contain;
  border-radius: 0;
  margin-bottom: .5rem;
}

.site-nav ul { display: flex; gap: 1.5rem; }
.site-nav a  { color: var(--color-text); font-weight: 500; font-size: .95rem; }
.site-nav a:hover { color: var(--color-primary); text-decoration: none; }
.site-nav a.active { color: var(--color-primary); font-weight: 600; }

.header-cta { display: flex; align-items: center; gap: .4rem; }
.nav-cta-item { display: none; }
.nav-drawer-contact { display: none; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

.nav-close {
  display: none;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
  padding: .25rem;
  margin-bottom: .75rem;
  border-radius: var(--radius);
  transition: background .15s;
}
.nav-close:hover { background: var(--color-alt); }

.nav-overlay {
  display: block;
  position: fixed;
  inset: 0;
  background: var(--color-scrim);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s ease, visibility .28s ease;
  pointer-events: none;
}
.nav-overlay.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@keyframes drawer-slide-in {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 70dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 6rem 5rem;
  background: linear-gradient(160deg, var(--color-hero-tint) 0%, var(--color-bg) 55%);
  overflow: hidden;
}

.hero--contest {
  background: linear-gradient(155deg, var(--c-hero-mid) 0%, var(--c-hero) 65%) !important;
  color: #fff;
  padding-block: 5.5rem 4.5rem;
}
.hero--contest .hero-bg-glow { display: none; }
.hero--contest h1 { color: #fff; }
.hero--contest .lead { color: rgba(255,255,255,.85); margin-bottom: 2rem; }
.hero--contest .text-accent { color: var(--gold); }
.hero--contest .hero-contest-note { color: rgba(255,255,255,.7); }
.hero--contest .hero-actions .btn-outline {
  color: rgba(255,255,255,.85);
  border-color: rgba(255,255,255,.4);
  background: transparent;
}
.hero--contest .hero-actions .btn-outline:hover {
  background: rgba(255,255,255,.15);
  color: #fff;
}

.hero-bg-glow {
  display: none;
}

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

.hero-wrap {
  display: flex;
  justify-content: center;
  text-align: center;
}

.hero-content h1  { margin-bottom: .9rem; }
.hero-content .lead { margin-bottom: 2rem; font-size: 1.1rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
}

.hero-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--color-primary);
  padding-block: 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat-item { display: flex; flex-direction: column; gap: .15rem; }

.stat-value {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 900;
  color: var(--color-on-primary);
  line-height: 1;
}

.stat-label {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255,255,255,.75);
}

/* ============================================================
   TEXT AND MEDIA
   ============================================================ */
.tm-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.tm-reversed .tm-media { order: 2; }
.tm-reversed .tm-content { order: 1; }

.tm-media img { width: 100%; object-fit: cover; box-shadow: var(--shadow-lg); }

.tm-content h2   { margin-bottom: .75rem; }
.tm-content .btn { margin-top: 1.5rem; }

/* ============================================================
   DRINK GRID AND CARDS
   ============================================================ */
.drink-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--gap);
}

.drink-card {
  background: var(--color-card);
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s;
  will-change: transform;
}
.drink-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.drink-img-wrap {
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem 1.5rem;
  overflow: hidden;
}
.drink-img-wrap img {
  height: 200px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 0;
  transition: transform .4s ease;
}
.drink-card:hover .drink-img-wrap img { transform: scale(1.06) translateY(-4px); }

.drink-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 1;
}

.drink-type {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-muted);
}

.drink-name {
  font-size: 1.4rem;
  font-weight: 900;
  font-family: var(--font-heading);
  color: var(--color-text);
  margin: 0;
  line-height: 1.2;
}

.drink-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .25rem;
}

.drink-tag {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .2rem .6rem;
  background: var(--color-tag-bg);
  border: 1px solid var(--color-tag-border);
  border-radius: 100px;
  color: var(--color-muted);
  transition: border-color .2s, color .2s, background .2s;
}

.drink-card:hover .drink-tag {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-subtle);
}

.drink-details {
  margin-top: .75rem;
  border-top: 1px solid var(--color-border);
  padding-top: .75rem;
}

.drink-details summary {
  font-size: .85rem;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: .4rem;
  user-select: none;
  transition: opacity .2s;
}
.drink-details summary::-webkit-details-marker { display: none; }
.drink-details summary::before {
  content: '+';
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  display: inline-block;
  transition: transform .2s;
}
.drink-details[open] summary::before { transform: rotate(45deg); }

.drink-details p {
  font-size: .82rem;
  color: var(--color-muted);
  line-height: 1.55;
  margin-top: .65rem;
}
.drink-details p + p { margin-top: .4rem; }

.drink-warning {
  font-size: .75rem !important;
  color: var(--color-muted) !important;
  opacity: .75;
  font-style: italic;
}

/* ============================================================
   PRODUCT GRID (Electrolytes tablets)
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-inline: auto;
  margin-bottom: 3rem;
}
.product-card {
  border-radius: 1.25rem;
  padding: 2rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.product-card-peach { background: #ffffff; }
.product-card-apple { background: #ffffff; }
.product-card-img-placeholder {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  margin-bottom: 1rem;
}
.product-card-img-placeholder img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
}
.product-card h3      { font-size: 1.3rem; margin-bottom: .25rem; }
.product-card .prod-sub  { font-size: .85rem; color: var(--color-muted); }
.product-card .prod-note { font-size: .75rem; color: var(--color-muted); margin-top: .25rem; }

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   BENEFITS GRID
   ============================================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--gap);
}

.benefit-card {
  padding: 1.75rem;
  background: var(--color-surface);
  border: 0px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  transition: box-shadow .2s, transform .2s;
}
.benefit-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.benefit-icon {
  font-size: 2rem;
  margin-bottom: .85rem;
  line-height: 1;
}

.benefit-card h3 {
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .4rem;
}

.benefit-card p {
  font-size: .88rem;
  color: var(--color-muted);
  line-height: 1.55;
}

/* ============================================================
   LOGOS STRIP
   ============================================================ */
.logos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.logo-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .9rem 1.4rem;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  transition: box-shadow .2s, transform .2s;
  min-width: 100px;
}
.logo-tile:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.logo-tile img {
  height: 36px;
  max-width: 110px;
  width: auto;
  object-fit: contain;
  border-radius: 0;
  filter: grayscale(1) opacity(.55);
  transition: filter .25s;
}
.logo-tile:hover img { filter: grayscale(0) opacity(1); }

/* ============================================================
   SOCIAL GRID
   ============================================================ */
.social-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.social-card {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  color: var(--color-text);
  font-weight: 600;
  font-size: .95rem;
  transition: box-shadow .2s, transform .2s, border-color .2s;
  text-decoration: none;
}
.social-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
  text-decoration: none;
}

.social-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  flex-shrink: 0;
  color: #fff;
}

/* ============================================================
   RETAILER LOGOS MARQUEE
   ============================================================ */
.logos-marquee {
  background: #fff;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding-block: 1rem;
  overflow: hidden;
  position: relative;
}

/* Fade edges */
.logos-marquee::before,
.logos-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 6rem;
  z-index: 2;
  pointer-events: none;
}
.logos-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--color-bg), transparent);
}
.logos-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--color-bg), transparent);
}

.logos-marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

@media (prefers-reduced-motion: reduce) {
  .logos-marquee__track { animation: none; }
}

@keyframes marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

.logos-marquee__inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding-inline: 1.5rem;
  flex-shrink: 0;
  /* Prevent images from collapsing height between frames */
  min-height: 48px;
}

.logos-marquee__inner img {
  height: 32px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  flex-shrink: 0;
  background: #ffffff;
  padding: .4rem .75rem;
  border-radius: .5rem;
  opacity: .85;
  transition: opacity .25s;
}
.logos-marquee:hover .logos-marquee__inner img {
  opacity: 1;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form[hidden] { display: none; }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}

.contact-form label {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: .3rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: .65rem .9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-surface);
  transition: border-color .2s;
}
.contact-form input:focus,
.contact-form textarea:focus  { outline: none; border-color: var(--color-primary); }
.contact-form textarea         { resize: vertical; }
.optional                      { font-weight: 400; color: var(--color-muted); }

.contact-form-wrap { position: relative; max-width: 800px; margin: 0 auto; }

.cf-field { display: flex; flex-direction: column; }

.cf-select-wrap {
  position: relative;
}
.cf-select-wrap::after {
  content: '';
  position: absolute;
  right: .9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--color-muted);
  pointer-events: none;
}

.contact-form select {
  width: 100%;
  padding: .65rem .9rem;
  padding-right: 2.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-surface);
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .2s;
  cursor: pointer;
}
.contact-form select:focus { outline: none; border-color: var(--color-primary); }

.cf-acceptance {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
}
.cf-acceptance input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: .15rem;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--color-primary);
  cursor: pointer;
}
.cf-acceptance label {
  font-size: .875rem;
  color: var(--color-muted);
  cursor: pointer;
  margin-bottom: 0;
}

.cf-error {
  color: var(--color-error);
  font-size: .875rem;
  margin-top: .5rem;
}
.cf-submit-spinner {
  display: none;
  width: 1.1em;
  height: 1.1em;
  border: 2px solid var(--color-spinner-track);
  border-top-color: var(--color-on-primary);
  border-radius: 50%;
  animation: cf-spin .65s linear infinite;
  vertical-align: middle;
}
@keyframes cf-spin { to { transform: rotate(360deg); } }
.cf-submit.cf-loading .cf-submit-label   { display: none; }
.cf-submit.cf-loading .cf-submit-spinner { display: inline-block; }
.cf-submit:disabled { opacity: .7; cursor: not-allowed; }

.cf-success[hidden] { display: none; }
.cf-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding: 3rem 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.cf-success-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cf-success h3 { font-size: 1.4rem; margin: 0; }
.cf-success p  { color: var(--color-muted); margin: 0; }

/* ── Keep old modal styles in case used elsewhere ── */
.cf-modal {
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0;
  max-width: 420px;
  width: 90%;
}
.cf-modal::backdrop { background: var(--color-scrim); }
.cf-modal-box { padding: 2rem; text-align: center; display: flex; flex-direction: column; gap: 1rem; }
.cf-modal-title { font-size: 1.25rem; font-weight: 700; font-family: var(--font-heading); }
.cf-modal-body { color: var(--color-muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding-block: 3rem 1.5rem;
}
.site-footer a { color: var(--color-footer-text); }
.site-footer a:hover { color: var(--color-footer-heading); text-decoration: none; }

.site-footer .logo-img {
  filter: invert(1) brightness(10);
  max-height: 30px;
  margin-bottom: .35rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 1.5rem 3rem;
  margin-bottom: 2rem;
}

.footer-heading {
  display: block;
  color: var(--color-footer-heading);
  font-size: .95rem;
  margin-bottom: .6rem;
}

.footer-col p      { font-size: .9rem; }
.footer-col ul li + li { margin-top: .35rem; }

.footer-partner-logo {
  display: block;
  max-height: 28px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  border-radius: 0;
  margin-top: .75rem;
  opacity: .7;
  transition: opacity .2s;
  filter: invert(1) brightness(10);
}
.footer-partner-logo:hover { opacity: 1; }

.footer-copy {
  border-top: 1px solid var(--color-footer-border);
  padding-top: 1rem;
  font-size: .85rem;
  color: var(--color-footer-muted);
  text-align: center;
}

/* ============================================================
   PROSE
   ============================================================ */
.prose {
  max-width: 760px;
  margin-inline: auto;
}
.prose h3 { margin-top: 2rem; margin-bottom: .4rem; font-size: 1.15rem; }
.prose p { color: var(--color-text); margin-top: .75rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .tm-wrap,
  .tm-reversed .tm-media,
  .tm-reversed .tm-content { order: unset; }
  .tm-wrap { grid-template-columns: 1fr; gap: 2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
}

@media (max-width: 768px) {
  .site-nav { display: none; }
  .burger   { display: flex; }

  .site-nav.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(300px, 85vw);
    background: var(--color-bg);
    border-left: 1px solid var(--color-border);
    box-shadow: -4px 0 32px var(--color-scrim-shadow);
    padding: 1.25rem 1.5rem;
    z-index: 200;
    overflow-y: auto;
    animation: drawer-slide-in .25s ease;
  }
  .site-nav.is-open .nav-close { display: flex; }
  .site-nav.is-open ul { flex-direction: column; gap: 1rem; }
  .site-nav.is-open a { font-size: 1.05rem; }

  .header-cta { display: none; }
  .nav-cta-item { display: list-item; margin-top: .5rem; }
  .nav-cta-item .btn { width: 100%; text-align: center; color: var(--color-on-primary); }

  .nav-drawer-contact {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-border);
  }
  .nav-drawer-contact a {
    font-size: .9rem;
    color: var(--color-muted);
  }
  .nav-drawer-contact a:hover { color: var(--color-primary); }

  .hero-wrap      { grid-template-columns: 1fr; }
  .hero-media     { max-height: 300px; order: -1; }
  .hero           { padding-block: 3.5rem 3rem; }

  .form-row       { grid-template-columns: 1fr; }
  .drink-grid     { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}

@media (max-width: 480px) {
  .section          { padding-block: 3.5rem; }
  .stats-grid       { grid-template-columns: repeat(2, 1fr); }
  .logos-grid       { gap: .6rem; }
  .logo-tile        { padding: .6rem .9rem; min-width: 80px; }
  .logo-tile img    { height: 26px; max-width: 80px; }
  .benefits-grid    { grid-template-columns: 1fr; }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .55s ease, transform .55s ease;
  }
  [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }

  [data-reveal] .drink-card,
  [data-reveal] .benefit-card,
  [data-reveal] .social-card,
  [data-reveal] .logo-tile {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .45s ease, transform .45s ease;
  }
  [data-reveal].is-visible .drink-card,
  [data-reveal].is-visible .benefit-card,
  [data-reveal].is-visible .social-card,
  [data-reveal].is-visible .logo-tile {
    opacity: 1;
    transform: none;
  }

  [data-reveal] .drink-card:nth-child(1),
  [data-reveal] .benefit-card:nth-child(1),
  [data-reveal] .logo-tile:nth-child(1)  { transition-delay: .05s; }
  [data-reveal] .drink-card:nth-child(2),
  [data-reveal] .benefit-card:nth-child(2),
  [data-reveal] .logo-tile:nth-child(2)  { transition-delay: .10s; }
  [data-reveal] .drink-card:nth-child(3),
  [data-reveal] .benefit-card:nth-child(3),
  [data-reveal] .logo-tile:nth-child(3)  { transition-delay: .15s; }
  [data-reveal] .drink-card:nth-child(4),
  [data-reveal] .benefit-card:nth-child(4),
  [data-reveal] .logo-tile:nth-child(4)  { transition-delay: .20s; }
  [data-reveal] .drink-card:nth-child(5),
  [data-reveal] .benefit-card:nth-child(5),
  [data-reveal] .logo-tile:nth-child(5)  { transition-delay: .25s; }
  [data-reveal] .drink-card:nth-child(6),
  [data-reveal] .benefit-card:nth-child(6),
  [data-reveal] .logo-tile:nth-child(6)  { transition-delay: .30s; }
  [data-reveal] .drink-card:nth-child(7),
  [data-reveal] .logo-tile:nth-child(7)  { transition-delay: .35s; }
  [data-reveal] .logo-tile:nth-child(8)  { transition-delay: .40s; }
  [data-reveal] .logo-tile:nth-child(9)  { transition-delay: .45s; }
  [data-reveal] .logo-tile:nth-child(10) { transition-delay: .50s; }
  [data-reveal] .social-card:nth-child(1) { transition-delay: .10s; }
  [data-reveal] .social-card:nth-child(2) { transition-delay: .20s; }
  [data-reveal] .social-card:nth-child(3) { transition-delay: .30s; }
  [data-reveal] .social-card:nth-child(4) { transition-delay: .40s; }
}

/* ============================================================
   UX / ANIMATION POLISH
   ============================================================ */

/* ── Scroll offset for sticky header ─────────────────────────── */
html { scroll-padding-top: 80px; }

/* ── Focus rings ─────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── Button lift & press ─────────────────────────────────────── */
.btn {
  transition: background .2s, color .2s, box-shadow .2s, border-color .2s, transform .15s;
  will-change: transform;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(88,179,134,.28);
}
.btn:active {
  transform: translateY(0) !important;
  box-shadow: var(--shadow-sm) !important;
}
.btn-gold:hover { box-shadow: 0 6px 20px rgba(240,180,41,.4); }

/* ── btn-gold attention pulse ────────────────────────────────── */
@keyframes jl-pulse-ring {
  0%   { box-shadow: 0 6px 20px rgba(240,180,41,.35), 0 0 0 0    rgba(240,180,41,.5); }
  70%  { box-shadow: 0 6px 20px rgba(240,180,41,.35), 0 0 0 12px rgba(240,180,41,0); }
  100% { box-shadow: 0 6px 20px rgba(240,180,41,.35), 0 0 0 0    rgba(240,180,41,0); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-actions .btn-gold {
    animation: jl-pulse-ring 2.8s ease infinite;
    animation-delay: 3s;
  }
  .hero-actions .btn-gold:hover,
  .hero-actions .btn-gold:active,
  .hero-actions .btn-gold:focus { animation: none; }
}

/* ── Header compact on scroll ────────────────────────────────── */
.site-header { transition: box-shadow .3s ease, padding-block .3s ease; }
.site-header.is-scrolled {
  padding-block: .5rem;
  box-shadow: 0 2px 28px rgba(0,0,0,.13);
}

/* ── Burger → X ──────────────────────────────────────────────── */
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Stat value gradient text ────────────────────────────────── */
.stat-value {
  background: linear-gradient(150deg, #ffffff 20%, rgba(255,255,255,.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Stat item separators ────────────────────────────────────── */
.stat-item + .stat-item { border-left: 1px solid rgba(255,255,255,.2); }

/* ── Stat items stagger ──────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] .stat-item {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .4s ease, transform .4s ease;
  }
  [data-reveal].is-visible .stat-item          { opacity: 1; transform: none; }
  [data-reveal] .stat-item:nth-child(1)        { transition-delay: .08s; }
  [data-reveal] .stat-item:nth-child(2)        { transition-delay: .18s; }
  [data-reveal] .stat-item:nth-child(3)        { transition-delay: .28s; }
  [data-reveal] .stat-item:nth-child(4)        { transition-delay: .38s; }
}

/* ── Hero entrance animations ────────────────────────────────── */
@keyframes jl-fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
@keyframes jl-img-in {
  from { opacity: 0; transform: scale(.97) translateY(14px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-content h1    { animation: jl-fade-up .55s ease both; animation-delay: .22s; }
  .hero-content .lead { animation: jl-fade-up .50s ease both; animation-delay: .38s; }
  .hero-actions       { animation: jl-fade-up .50s ease both; animation-delay: .52s; }
  .hero-contest-note  { animation: jl-fade-up .45s ease both; animation-delay: .64s; }
  .hero-media         { animation: jl-img-in  .65s ease both; animation-delay: .28s; }
}

/* ── TM-wrap slide in from sides ─────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] .tm-media {
    opacity: 0;
    transform: translateX(-26px);
    transition: opacity .6s ease, transform .6s ease;
  }
  [data-reveal] .tm-content {
    opacity: 0;
    transform: translateX(26px);
    transition: opacity .6s ease .15s, transform .6s ease .15s;
  }
  [data-reveal] .tm-reversed .tm-media  { transform: translateX(26px); }
  [data-reveal] .tm-reversed .tm-content { transform: translateX(-26px); }
  [data-reveal].is-visible .tm-media,
  [data-reveal].is-visible .tm-content  { opacity: 1; transform: none; }
  /* on mobile collapse to vertical, reset to fade-up */
  @media (max-width: 900px) {
    [data-reveal] .tm-media,
    [data-reveal] .tm-reversed .tm-media,
    [data-reveal] .tm-content,
    [data-reveal] .tm-reversed .tm-content { transform: translateY(20px); }
  }
}

/* ── Section header reveal ───────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] .section-header {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .5s ease, transform .5s ease;
  }
  [data-reveal].is-visible .section-header { opacity: 1; transform: none; }
}

/* ── Drink card stagger (tighter timing) ─────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] .drink-card:nth-child(1) { transition-delay: .08s; }
  [data-reveal] .drink-card:nth-child(2) { transition-delay: .16s; }
  [data-reveal] .drink-card:nth-child(3) { transition-delay: .24s; }
  [data-reveal] .drink-card:nth-child(4) { transition-delay: .32s; }
  [data-reveal] .drink-card:nth-child(5) { transition-delay: .40s; }
  [data-reveal] .drink-card:nth-child(6) { transition-delay: .48s; }
  [data-reveal] .drink-card:nth-child(7) { transition-delay: .56s; }
}

/* ── Social icon bounce ──────────────────────────────────────── */
@keyframes jl-icon-pop {
  0%   { transform: scale(1);    }
  40%  { transform: scale(1.2);  }
  70%  { transform: scale(.92);  }
  100% { transform: scale(1);    }
}
@media (prefers-reduced-motion: no-preference) {
  .social-card:hover .social-card-icon { animation: jl-icon-pop .4s ease; }
}

/* ── Benefit card gradient ───────────────────────────────────── */
.benefit-card { background: #fff;}

/* ── Footer link underline slide ─────────────────────────────── */
.site-footer ul a { position: relative; display: inline-block; }
.site-footer ul a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-footer-muted);
  transition: width .25s ease;
}
.site-footer ul a:hover::after  { width: 100%; }
.site-footer ul a:hover         { text-decoration: none; }

/* ── Back to top button ──────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 90;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, background .2s;
  pointer-events: none;
}
.back-to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top:hover      { background: var(--color-primary-hover); transform: translateY(-2px); }
.back-to-top:active     { transform: none; }
@media (max-width: 480px) {
  .back-to-top { bottom: 1rem; right: 1rem; width: 40px; height: 40px; }
}

/* ── Newsletter focus glow ───────────────────────────────────── */
.newsletter-form input[type="email"] {
  box-shadow: inset 0 1px 3px rgba(0,0,0,.06);
  transition: border-color .2s, box-shadow .2s;
}
.newsletter-form input[type="email"]:focus {
  box-shadow: 0 0 0 3px rgba(88,179,134,.15), inset 0 1px 2px rgba(0,0,0,.04);
}

/* ── Contact / select focus glow ─────────────────────────────── */
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  box-shadow: 0 0 0 3px rgba(88,179,134,.15);
}

/* ── Logo tile – lift with color reveal ──────────────────────── */
.logo-tile { transition: box-shadow .2s, transform .22s; }
.logo-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* ── Scroll progress bar ─────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 9999;
  pointer-events: none;
}

