/* Festival offer landing — academy / fitness design */

:root {
  --navy: #0b1c33;
  --navy-mid: #12243d;
  --deep: #071422;
  --accent: #e67e22;
  --gold: #f0c14b;
  --red: #c62828;
  --paper: #eef2f6;
  --ink: #0b1c33;
  --muted: #5b6573;
  --white: #ffffff;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(18px, 5vw, 36px);
  --max: 1080px;
  --nav-h: 84px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body.offer-page {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.offer-wrap {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin-inline: auto;
}

.offer-strong { color: #fff; }
.offer-tagline {
  margin: 14px 0 0;
  color: var(--navy);
  font-weight: 600;
}
.offer-section--dark .offer-tagline { color: #fff; }

/* Nav: reuse homepage .site-nav from site-home.css */

/* Hero — animated academy atmosphere + coach portrait */
.offer-hero {
  position: relative;
  min-height: min(100svh, 980px);
  color: #fff;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(165deg, #0a1628 0%, #12243d 42%, #0b1c33 72%, #071422 100%);
}

.offer-hero__fx {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.offer-hero__grid {
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(rgba(240, 193, 75, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 193, 75, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: perspective(600px) rotateX(58deg) translateY(-12%);
  animation: offer-grid-drift 18s linear infinite;
  opacity: 0.55;
}

.offer-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
}

.offer-hero__glow--a {
  width: min(70vw, 520px);
  height: min(70vw, 520px);
  top: -12%;
  right: -8%;
  background: radial-gradient(circle, rgba(230, 126, 34, 0.45), transparent 68%);
  animation: offer-glow-pulse 7s ease-in-out infinite;
}

.offer-hero__glow--b {
  width: min(55vw, 420px);
  height: min(55vw, 420px);
  bottom: 8%;
  left: -12%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.18), transparent 70%);
  animation: offer-glow-pulse 9s ease-in-out infinite reverse;
}

.offer-hero__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(240, 193, 75, 0.28);
}

.offer-hero__ring--1 {
  width: min(52vw, 380px);
  height: min(52vw, 380px);
  top: 12%;
  right: 6%;
  animation: offer-ring-spin 22s linear infinite;
}

.offer-hero__ring--2 {
  width: min(36vw, 260px);
  height: min(36vw, 260px);
  top: 20%;
  right: 14%;
  border-color: rgba(230, 126, 34, 0.35);
  animation: offer-ring-spin 14s linear infinite reverse;
}

.offer-hero__stripe {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--gold), var(--accent), transparent);
  background-size: 200% 100%;
  animation: offer-stripe 4.5s linear infinite;
}

.offer-hero__layout {
  position: relative;
  z-index: 1;
  width: min(100% - (var(--pad) * 2), var(--max));
  margin: 0 auto;
  padding: calc(var(--nav-h) + 28px) 0 clamp(28px, 5vw, 48px);
  display: grid;
  gap: 12px;
  align-items: end;
}

.offer-hero__content {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.offer-hero__portrait {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: min(100%, 320px);
  margin-top: 4px;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.45));
  animation: offer-rise 1s var(--ease) 0.25s both;
}

.offer-hero__portrait img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (min-width: 860px) {
  .offer-hero__layout {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
    gap: 24px;
    min-height: calc(100svh - var(--nav-h));
    padding-bottom: 36px;
  }

  .offer-hero__portrait {
    width: min(100%, 460px);
    justify-self: end;
    margin-bottom: -28px;
  }

  .offer-hero__content {
    padding-bottom: 36px;
  }

  .offer-hero__ring--1,
  .offer-hero__ring--2 {
    opacity: 0.85;
  }
}

.offer-brand-mark {
  margin: 0 0 12px;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  animation: offer-rise 0.8s var(--ease) both;
}

.offer-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(198, 40, 40, 0.92);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  animation: offer-pulse 1.8s ease-in-out infinite, offer-rise 0.8s var(--ease) 0.08s both;
}

@keyframes offer-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(230, 126, 34, 0.55); }
  50% { box-shadow: 0 0 0 10px rgba(230, 126, 34, 0); }
}

@keyframes offer-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes offer-grid-drift {
  from { background-position: 0 0; }
  to { background-position: 0 48px; }
}

@keyframes offer-glow-pulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.12); opacity: 1; }
}

@keyframes offer-ring-spin {
  to { transform: rotate(360deg); }
}

@keyframes offer-stripe {
  to { background-position: 200% 0; }
}

.offer-hero h1 {
  margin: 0 0 12px;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 7.2vw, 4.1rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  max-width: 14ch;
  animation: offer-rise 0.85s var(--ease) 0.12s both;
}

.offer-hero h1 span {
  display: block;
  color: var(--gold);
}

.offer-hero__sub {
  margin: 0 0 16px;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  max-width: 34ch;
  animation: offer-rise 0.85s var(--ease) 0.18s both;
}

.offer-hero__lead,
.offer-copy {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 52ch;
  font-size: 0.95rem;
}

.offer-hero .offer-copy {
  color: rgba(255, 255, 255, 0.78);
  animation: offer-rise 0.85s var(--ease) 0.22s both;
}

.offer-pillars {
  list-style: none;
  margin: 22px 0 18px;
  padding: 0;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
  max-width: 560px;
  animation: offer-rise 0.9s var(--ease) 0.28s both;
}

@media (min-width: 720px) {
  .offer-pillars { grid-template-columns: repeat(4, 1fr); max-width: none; }
}

.offer-pillars li {
  padding: 12px 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(240, 193, 75, 0.22);
  backdrop-filter: blur(6px);
  transition: transform 0.25s var(--ease), border-color 0.25s, background 0.25s;
}

.offer-pillars li:hover {
  transform: translateY(-3px);
  border-color: rgba(230, 126, 34, 0.55);
  background: rgba(230, 126, 34, 0.12);
}

.offer-pillars strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.offer-pillars span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
}

.offer-price-block {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 16px;
  margin: 22px 0 8px;
}

.offer-price-old {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: line-through;
}

.offer-price-new {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.4rem, 8vw, 3.6rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.offer-price-term {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.offer-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 8px;
}

.offer-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.offer-badge--red {
  background: var(--red);
  color: #fff;
}

.offer-badge--gold {
  background: var(--gold);
  color: var(--navy);
}

.offer-note {
  margin: 14px 0 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Buttons */
.offer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.offer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), filter 0.2s;
}

.offer-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.offer-btn--buy {
  background: linear-gradient(180deg, #f0953a, var(--accent));
  color: #fff;
  box-shadow: 0 12px 28px rgba(230, 126, 34, 0.4);
}

.offer-btn--join {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.offer-btn--download {
  background: var(--navy);
  color: #fff;
  border: 1px solid rgba(240, 193, 75, 0.45);
}

.offer-btn--outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
}

/* Sections */
.offer-section {
  padding: clamp(48px, 8vw, 88px) 0;
  position: relative;
}

.offer-section--dark {
  background:
    radial-gradient(ellipse at 10% 0%, rgba(230, 126, 34, 0.16), transparent 45%),
    linear-gradient(165deg, var(--navy-mid), var(--deep));
  color: #fff;
}

.offer-section--paper {
  background:
    linear-gradient(180deg, #f4f7fb 0%, #e8edf3 100%);
}

.offer-section--white {
  background: #fff;
}

.offer-section--accent {
  background:
    linear-gradient(120deg, #b85a12, var(--accent) 40%, #f0a04d 100%);
  color: #fff;
  overflow: hidden;
}

.offer-section--accent::before {
  content: '';
  position: absolute;
  inset: -30% auto auto -10%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.18);
  animation: offer-ring-spin 18s linear infinite;
}

.offer-section__eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.offer-section--dark .offer-section__eyebrow,
.offer-section--accent .offer-section__eyebrow {
  color: var(--gold);
}

.offer-section h2 {
  margin: 0 0 14px;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.7rem, 4.5vw, 2.6rem);
  line-height: 1.12;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  max-width: 18ch;
}

.offer-section p {
  margin: 0 0 12px;
  color: var(--muted);
  max-width: 58ch;
}

.offer-section--dark p,
.offer-section--accent p {
  color: rgba(255, 255, 255, 0.82);
}

.offer-poster {
  margin: 28px 0 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  max-width: 520px;
}

.offer-poster img {
  width: 100%;
  height: auto;
}

/* Feature grid */
.offer-grid {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .offer-grid { grid-template-columns: repeat(4, 1fr); }
}

.offer-feat {
  padding: 18px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.offer-feat:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(11, 28, 51, 0.12);
}

.offer-section--paper .offer-feat,
.offer-section--white .offer-feat {
  background: #fff;
  border-color: #e7ebf1;
  box-shadow: 0 8px 24px rgba(11, 28, 51, 0.05);
}

.offer-feat__icon {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.offer-feat h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
  color: inherit;
}

.offer-section--paper .offer-feat h3,
.offer-section--white .offer-feat h3 {
  color: var(--navy);
}

.offer-feat p {
  margin: 0;
  font-size: 0.88rem;
  max-width: none;
}

.offer-points {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.offer-points li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

.offer-section--dark .offer-points li {
  color: rgba(255, 255, 255, 0.84);
}

.offer-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold), var(--accent));
}

.offer-points strong {
  color: var(--navy);
  display: block;
  margin-bottom: 2px;
}

.offer-section--dark .offer-points strong {
  color: #fff;
}

.offer-steps {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
}

@media (min-width: 800px) {
  .offer-steps { grid-template-columns: repeat(3, 1fr); }
}

.offer-step {
  padding: 22px 18px;
  border-radius: 14px;
  background: #fff;
  border-top: 3px solid var(--accent);
  box-shadow: 0 10px 28px rgba(11, 28, 51, 0.06);
  transition: transform 0.25s var(--ease);
}

.offer-step:hover { transform: translateY(-4px); }

.offer-step__num {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.offer-step h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--navy);
}

.offer-step p {
  margin: 0;
  font-size: 0.9rem;
}

.offer-schedule {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
}

@media (min-width: 720px) {
  .offer-schedule { grid-template-columns: 1fr 1fr; }
}

.offer-batch {
  padding: 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(240, 193, 75, 0.25);
  transition: transform 0.25s var(--ease), border-color 0.25s;
}

.offer-batch:hover {
  transform: translateY(-3px);
  border-color: rgba(230, 126, 34, 0.55);
}

.offer-batch h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.offer-batch__time {
  margin: 0 0 6px;
  font-family: 'Oswald', sans-serif;
  font-size: 1.45rem;
  color: var(--gold);
}

.offer-batch p {
  margin: 0;
  font-size: 0.88rem;
}

.offer-days {
  display: inline-flex;
  margin: 0 0 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(230, 126, 34, 0.18);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
}

.offer-deal {
  display: grid;
  gap: 18px;
  margin-top: 24px;
  align-items: center;
}

@media (min-width: 860px) {
  .offer-deal { grid-template-columns: 1.2fr 0.8fr; }
}

.offer-deal__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.offer-deal__price {
  padding: 22px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.22);
  text-align: center;
  border: 1px solid rgba(240, 193, 75, 0.35);
  animation: offer-glow-pulse 5.5s ease-in-out infinite;
}

.offer-deal__price .offer-price-new {
  display: block;
  margin: 6px 0;
}

.offer-deal__label {
  margin: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
}

.offer-who {
  columns: 1;
  gap: 24px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 700px) {
  .offer-who { columns: 2; }
}

.offer-who li {
  break-inside: avoid;
  margin: 0 0 10px;
  padding-left: 22px;
  position: relative;
  color: var(--muted);
}

.offer-who li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.offer-midcta h2 {
  max-width: 16ch;
  color: #fff;
}

.offer-midcta .offer-price-new {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.offer-faq {
  margin: 24px 0 0;
  display: grid;
  gap: 10px;
}

.offer-faq details {
  background: #fff;
  border: 1px solid #e5eaf1;
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color 0.2s;
}

.offer-faq details[open] {
  border-color: rgba(230, 126, 34, 0.45);
}

.offer-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
}

.offer-faq summary::-webkit-details-marker { display: none; }

.offer-faq summary::after {
  content: '+';
  float: right;
  color: var(--accent);
  font-weight: 700;
}

.offer-faq details[open] summary::after { content: '–'; }

.offer-faq p {
  margin: 10px 0 0;
  font-size: 0.92rem;
}

.offer-final { text-align: center; }
.offer-final h2 { margin-inline: auto; max-width: 16ch; }
.offer-final p { margin-inline: auto; }
.offer-final .offer-actions { justify-content: center; }

.offer-contact {
  margin-top: 22px;
  font-weight: 600;
}

.offer-contact a {
  color: var(--gold);
  border-bottom: 1px solid rgba(240, 193, 75, 0.4);
}

.offer-footer {
  background: #050d18;
  color: rgba(255, 255, 255, 0.72);
  padding: 36px 0 24px;
  font-size: 0.88rem;
}

.offer-footer h3 {
  margin: 0 0 8px;
  color: #fff;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.offer-footer a:hover { color: var(--gold); }

.offer-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 16px 0;
}

.offer-footer__bottom {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Scroll reveals */
.offer-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* Homepage success-stories gallery on offer page */
.offer-page .offer-gallery {
  background: linear-gradient(180deg, #f4f7fb 0%, #e8edf3 100%);
}

.offer-page .offer-gallery .site-heading {
  max-width: 22ch;
}

.offer-page .offer-gallery .site-gallery__more {
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .offer-kicker,
  .offer-hero__grid,
  .offer-hero__glow,
  .offer-hero__ring,
  .offer-hero__stripe,
  .offer-deal__price,
  .offer-section--accent::before {
    animation: none !important;
  }
  .offer-btn:hover,
  .offer-feat:hover,
  .offer-step:hover,
  .offer-batch:hover,
  .offer-pillars li:hover {
    transform: none;
  }
  .offer-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
