/* BWell Gym — one-page A4 flyer */
:root {
  --f-ink: #0f1410;
  --f-forest: #142014;
  --f-forest-2: #1c3324;
  --f-lime: #84cc16;
  --f-lime-bright: #bef264;
  --f-cream: #f3f6ef;
  --f-muted: #5b6b60;
  --f-paper: #ffffff;
  --f-display: "Bebas Neue", Impact, sans-serif;
  --f-body: "DM Sans", "Segoe UI", sans-serif;
}

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

html, body { margin: 0; }

body.flyer-body {
  font-family: var(--f-body);
  color: var(--f-ink);
  background:
    radial-gradient(ellipse 70% 40% at 20% 0%, rgba(132, 204, 22, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 35% at 100% 10%, rgba(28, 51, 36, 0.12), transparent 50%),
    linear-gradient(180deg, #dfe8d8 0%, #eef2ea 45%, #d8e0d2 100%);
  min-height: 100vh;
  line-height: 1.45;
}

.flyer-toolbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(20, 32, 20, 0.08);
}
.flyer-toolbar__back {
  color: var(--f-forest-2); font-weight: 650; font-size: 0.88rem; text-decoration: none;
}
.flyer-toolbar__actions { display: flex; gap: 0.45rem; flex-wrap: wrap; }
.flyer-btn {
  appearance: none; border: 0; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.5rem 0.95rem; border-radius: 999px;
  font: inherit; font-size: 0.82rem; font-weight: 750;
  background: var(--f-forest); color: #f4f7f2;
}
.flyer-btn--accent { background: var(--f-lime); color: var(--f-ink); }
.flyer-btn:hover { filter: brightness(1.06); }

/* A4 sheet on screen */
.flyer-sheet {
  width: min(100% - 1.5rem, 210mm);
  margin: 1.25rem auto 2.5rem;
  background: var(--f-paper);
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 30px 70px rgba(15, 20, 16, 0.18),
    0 0 0 1px rgba(20, 32, 20, 0.06);
}

.flyer-sheet__bleed {
  display: flex;
  flex-direction: column;
  min-height: 297mm;
}

.flyer-hero {
  position: relative;
  min-height: 118mm;
  display: flex;
  align-items: flex-end;
  padding: 1.6rem 1.5rem 1.7rem;
  color: #f4f7f2;
  overflow: hidden;
  background: var(--f-forest);
}
.flyer-hero__photo {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 20, 16, 0.25), rgba(15, 20, 16, 0.82)),
    var(--flyer-photo, none) center / cover no-repeat;
  transform: scale(1.04);
  animation: flyerKen 14s ease-in-out infinite alternate;
}
.flyer-hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, rgba(15, 20, 16, 0.92) 8%, rgba(20, 32, 20, 0.55) 55%, rgba(28, 51, 36, 0.35) 100%);
}
.flyer-hero__glow {
  position: absolute; width: 55%; height: 70%; right: -10%; top: -20%;
  background: radial-gradient(circle, rgba(132, 204, 22, 0.35), transparent 68%);
  animation: flyerPulse 6s ease-in-out infinite;
}
.flyer-hero__content { position: relative; z-index: 1; max-width: 92%; }
.flyer-logo {
  height: 54px; width: auto; max-width: 210px; object-fit: contain;
  margin-bottom: 0.85rem;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.35));
  animation: flyerIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.flyer-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--f-lime-bright);
  animation: flyerIn 0.7s 0.05s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.flyer-title {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(3rem, 10vw, 4.4rem);
  letter-spacing: 0.02em;
  line-height: 0.92;
  text-transform: uppercase;
  animation: flyerIn 0.75s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.flyer-tagline {
  margin: 0.65rem 0 0;
  font-size: 1.02rem;
  font-weight: 500;
  color: rgba(244, 247, 242, 0.88);
  max-width: 22rem;
  animation: flyerIn 0.75s 0.16s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.flyer-web {
  text-align: center;
  padding: 1.15rem 1.25rem 1.05rem;
  background: linear-gradient(90deg, #1a2e1f, #243f2d 40%, #355428);
  color: #f4f7f2;
  border-top: 3px solid var(--f-lime);
  border-bottom: 3px solid var(--f-lime);
}
.flyer-web__label {
  font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--f-lime-bright);
}
.flyer-web__url {
  display: inline-block;
  margin-top: 0.25rem;
  font-family: var(--f-display);
  font-size: clamp(1.55rem, 4.5vw, 2.15rem);
  letter-spacing: 0.04em;
  color: #fff;
  text-decoration: none;
  text-transform: lowercase;
}
.flyer-web__url:hover { color: var(--f-lime-bright); }
.flyer-web__hint {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: rgba(244, 247, 242, 0.75);
}

.flyer-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--f-cream);
}
.flyer-point {
  padding: 1.15rem 1rem 1.25rem;
  border-right: 1px solid rgba(28, 51, 36, 0.1);
}
.flyer-point:last-child { border-right: 0; }
.flyer-point__num {
  display: block;
  font-family: var(--f-display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  color: var(--f-lime);
  margin-bottom: 0.25rem;
}
.flyer-point h2 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  color: var(--f-forest-2);
}
.flyer-point p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--f-muted);
  line-height: 1.4;
}

.flyer-cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 1.25rem;
  background:
    linear-gradient(135deg, rgba(132, 204, 22, 0.16), rgba(255,255,255,0.4)),
    #fff;
  border-top: 1px solid rgba(28, 51, 36, 0.08);
}
.flyer-cta-band__kicker {
  margin: 0 0 0.2rem;
  font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #4d7c0f;
}
.flyer-cta-band h2 {
  margin: 0;
  font-family: var(--f-display);
  font-size: 1.85rem;
  letter-spacing: 0.03em;
  line-height: 1;
  color: var(--f-forest);
  text-transform: uppercase;
}
.flyer-cta-band__url {
  margin: 0.4rem 0 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: #365314;
  word-break: break-all;
}
.flyer-qr {
  text-align: center;
  padding: 0.45rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(28, 51, 36, 0.12);
  box-shadow: 0 10px 24px rgba(20, 32, 20, 0.08);
}
.flyer-qr img {
  display: block;
  width: 118px; height: 118px;
  border-radius: 6px;
}
.flyer-qr span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--f-muted);
}

.flyer-foot {
  margin-top: auto;
  padding: 1rem 1.25rem 1.15rem;
  background: var(--f-forest);
  color: rgba(244, 247, 242, 0.88);
}
.flyer-foot__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.flyer-foot__grid strong {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--f-lime-bright);
  margin-bottom: 0.2rem;
}
.flyer-foot__grid span,
.flyer-foot__grid a {
  font-size: 0.78rem;
  color: rgba(244, 247, 242, 0.88);
  text-decoration: none;
  line-height: 1.35;
}
.flyer-foot__brand {
  margin: 0.85rem 0 0;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: rgba(244, 247, 242, 0.65);
}

@keyframes flyerIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes flyerKen {
  from { transform: scale(1.04) translate(0, 0); }
  to { transform: scale(1.1) translate(-1.5%, 1%); }
}
@keyframes flyerPulse {
  0%, 100% { opacity: 0.75; transform: translate(0, 0); }
  50% { opacity: 1; transform: translate(-8px, 6px); }
}

@media (max-width: 640px) {
  .flyer-points { grid-template-columns: 1fr; }
  .flyer-point { border-right: 0; border-bottom: 1px solid rgba(28, 51, 36, 0.1); }
  .flyer-point:last-child { border-bottom: 0; }
  .flyer-cta-band { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .flyer-foot__grid { grid-template-columns: 1fr; }
  .flyer-sheet__bleed { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .flyer-hero__photo,
  .flyer-hero__glow,
  .flyer-logo,
  .flyer-kicker,
  .flyer-title,
  .flyer-tagline { animation: none !important; }
}

@page {
  size: A4 portrait;
  margin: 0;
}

@media print {
  body.flyer-body {
    background: #fff !important;
  }
  .no-print { display: none !important; }
  .flyer-sheet {
    width: 210mm;
    min-height: 297mm;
    margin: 0;
    border-radius: 0;
    box-shadow: none !important;
  }
  .flyer-sheet__bleed {
    min-height: 297mm;
  }
  .flyer-hero__photo,
  .flyer-hero__glow {
    animation: none !important;
  }
  a { color: inherit; text-decoration: none; }
}
