/* /distributors/costa-rica-2026 - JIFU LATAM Revolution 2026
   (ASANA:1219275026544662), built from Figma node 9213-11451 of
   JIFU.COM-official--XANA-. Page-only rules; the film band (when its film is
   uploaded) and the Footer CTA are the shared ones.
   The literals are the Figma's own: the black page field, the #333 countdown
   tiles and card borders, the fire gradient (#ffa135 -> #e75628 -> #b22425)
   used by the display accents, the orange-edged education field
   (rgba(255,140,0,...)) and the silver BUY TICKET pill
   (#d9d9d9 -> #737373 -> #a6a6a6). None of these are brand tokens, so they
   are set once, here. Desktop sizes are the Figma's 1920 frame scaled to the
   site's 1440 grid (x0.75). */

.jifu-crrev { background: rgb(0, 0, 0); color: rgb(255, 255, 255); }
.jifu-crrev-inner { max-width: 1440px; margin-inline: auto; padding-inline: 104px; }

/* The fire gradient the design clips into its display accents. */
.jifu-crrev-grad {
  /* WCAG sweep: #b22425 measured 2.29:1 against the session card; #dd4434
     keeps the Figma's flame ramp at 3.57:1 (large-text AA). */
  background: linear-gradient(180deg, #ffa135 38%, #e75628 53%, #dd4434 68%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* The silver BUY TICKET / RSVP pill. */
.jifu-crrev-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 44px; border-radius: 80px; border: 2px solid #333;
  /* WCAG sweep: solid fallback under the gradient - contrast tooling (and any
     browser that drops the gradient) measures black text on silver, not on
     the page's black. Renders identically; the gradient paints over it. */
  background-color: #d9d9d9;
  background-image: linear-gradient(98deg, #d9d9d9 3%, #737373 70%, #a6a6a6 111%);
  color: rgb(0, 0, 0); font-family: var(--jifu-font-display); font-weight: 700;
  font-size: 27px; letter-spacing: -.05em; text-transform: uppercase;
}
.jifu-crrev-btn--big { padding: 28px 150px; font-size: 54.75px; }
@media (hover: hover) {
  .jifu-crrev-btn:hover { background-image: linear-gradient(98deg, #ededed 3%, #8d8d8d 70%, #c0c0c0 111%); }
}

/* Shared display heading (the Figma's Inter Black 128px band titles). */
.jifu-crrev-h2 {
  font-family: var(--jifu-font-display); font-weight: 900; font-size: 96px;
  line-height: .95; text-transform: uppercase; text-align: center; color: rgb(255, 255, 255);
}
/* The brush-stroke texture the design floats behind its band titles. */
.jifu-crrev-brush {
  background-image: url("/static/img/pages/distributors__costa-rica-2026/05-brush-stroke.png");
  background-repeat: no-repeat; background-position: center; background-size: contain;
  padding-block: 28px;
}

/* ---- Hero: the Revolution artwork, title, intro and the three traits. */
.jifu-crrev-hero { padding-bottom: 72px; text-align: center; }
.jifu-crrev-hero__art { display: block; width: 100%; height: auto; }
.jifu-crrev-hero__title {
  margin-top: -120px; position: relative; font-family: var(--jifu-font-display);
  font-weight: 700; font-size: 105px; line-height: .97; letter-spacing: -.05em;
  text-transform: uppercase; color: rgb(255, 255, 255);
}
.jifu-crrev-hero__intro { max-width: 956px; margin: 21px auto 0; font-family: var(--jifu-font-body); font-size: 15px; line-height: 1.5; color: rgb(255, 255, 255); }
.jifu-crrev-hero__traits {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: 34px; row-gap: 8px;
  margin-top: 36px; font-family: var(--jifu-font-display); font-weight: 600; font-size: 21px;
  text-transform: uppercase; color: rgb(255, 255, 255);
}
.jifu-crrev-hero__dot { font-weight: 900; font-size: 41px; line-height: 1; }

/* ---- Film band (renders only when the reserved film key resolves). */
.jifu-crrev-film { background: rgb(0, 0, 0); }

/* ---- Countdown tiles + BUY TICKET. */
.jifu-crrev-countdown { padding: 48px 24px 96px; text-align: center; }
.jifu-crrev-countdown__cells { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.jifu-crrev-countdown__cell {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 172px; padding: 22px; border-radius: 30px; background: #333;
}
.jifu-crrev-countdown__num { font-family: var(--jifu-font-display); font-weight: 700; font-size: 112px; line-height: .9; letter-spacing: -.05em; }
.jifu-crrev-countdown__label { margin-top: 6px; font-family: var(--jifu-font-body); font-size: 27px; letter-spacing: -.05em; text-transform: uppercase; }
.jifu-crrev-countdown__closed { font-family: var(--jifu-font-display); font-weight: 700; font-size: 40px; text-transform: uppercase; }
.jifu-crrev-countdown [hidden] { display: none; }
.jifu-crrev-countdown .jifu-crrev-btn { margin-top: 64px; }

/* ---- Venue band. */
.jifu-crrev-venue { padding-bottom: 96px; text-align: center; }
.jifu-crrev-venue__photo { display: block; width: 100%; height: auto; margin-bottom: 84px; }
.jifu-crrev-venue__h2 {
  font-family: var(--jifu-font-display); font-weight: 700; font-size: 105px; line-height: 1;
  letter-spacing: -.05em; text-transform: uppercase; color: rgb(255, 255, 255);
}
.jifu-crrev-venue__address { margin-top: 36px; font-family: var(--jifu-font-body); font-size: 36.75px; color: rgb(255, 255, 255); }

/* ---- Education day container (the orange-edged field). */
.jifu-crrev-education {
  padding-block: 96px;
  background: linear-gradient(98deg, rgba(255, 140, 0, .8) 3%, rgb(0, 0, 0) 6%, rgba(0, 0, 0, .8) 93%, rgba(255, 140, 0, .6) 101%);
  text-align: center;
}
.jifu-crrev-education__new { font-family: var(--jifu-font-display); font-weight: 900; font-size: 150px; line-height: 1; }
.jifu-crrev-education__lead { max-width: 956px; margin: 36px auto; font-family: var(--jifu-font-body); font-size: 30px; line-height: 1.4; }
.jifu-crrev-education__rule { margin-top: 48px; font-family: var(--jifu-font-body); font-size: 36px; text-transform: uppercase; }
.jifu-crrev-education__holders { margin-top: 10px; font-family: var(--jifu-font-body); font-size: 27px; }

/* The four RSVP session cards. */
.jifu-crrev-sessions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 48px; padding: 0; list-style: none; }
.jifu-crrev-session {
  display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 34px 16px 28px;
  background: rgba(255, 255, 255, .15); border: 2px solid rgba(139, 109, 85, .9);
}
.jifu-crrev-session__name { font-family: var(--jifu-font-display); font-weight: 900; font-size: 48px; line-height: 1; }
.jifu-crrev-session__time { font-family: var(--jifu-font-body); font-weight: 500; font-size: 36px; line-height: 1.1; }
.jifu-crrev-session .jifu-crrev-btn { margin-top: auto; }

/* Weekend at a glance. */
.jifu-crrev-glance__h { margin-top: 110px; }
.jifu-crrev-day { margin-top: 72px; }
.jifu-crrev-day__h { font-family: var(--jifu-font-display); font-weight: 900; font-size: 72px; line-height: 1; }
.jifu-crrev-day__rows { max-width: 1000px; margin: 40px auto 0; }
.jifu-crrev-day__row { display: grid; grid-template-columns: 280px minmax(0, 1fr); column-gap: 40px; margin-bottom: 18px; text-align: left; }
.jifu-crrev-day__row dt { font-family: var(--jifu-font-body); font-weight: 500; font-size: 37.5px; text-align: right; white-space: nowrap; }
.jifu-crrev-day__row dd { margin: 0; font-family: var(--jifu-font-body); font-size: 37.5px; }

/* ---- "3 DAYS. ONE REVOLUTION. BE THERE." */
.jifu-crrev-slogan { padding: 110px 24px; text-align: center; }
.jifu-crrev-slogan__line { font-family: var(--jifu-font-display); font-weight: 900; font-size: 70.5px; line-height: 1.1; text-transform: uppercase; }

/* ---- SEE YOU IN COSTA RICA 2026 CTA. */
.jifu-crrev-cta { position: relative; isolation: isolate; overflow: hidden; padding-block: 148px 120px; text-align: center; }
.jifu-crrev-cta__media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.jifu-crrev-cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgb(0, 0, 0) 4%, rgba(0, 0, 0, 0) 27%);
}
.jifu-crrev-cta__h2 { font-family: var(--jifu-font-display); font-weight: 700; font-size: 135px; line-height: .985; letter-spacing: -.05em; text-transform: uppercase; }
.jifu-crrev-cta .jifu-crrev-btn { margin-top: 96px; }

/* ---- Tablet (810-1439.98). */
@media (max-width: 1439.98px) {
  .jifu-crrev-inner { padding-inline: 24px; }
  .jifu-crrev-hero__title { margin-top: -64px; font-size: 64px; }
  .jifu-crrev-h2 { font-size: 60px; }
  .jifu-crrev-btn--big { padding: 20px 90px; font-size: 38px; }
  .jifu-crrev-countdown__cell { min-width: 128px; padding: 16px; border-radius: 22px; }
  .jifu-crrev-countdown__num { font-size: 72px; }
  .jifu-crrev-countdown__label { font-size: 19px; }
  .jifu-crrev-venue__h2 { font-size: 64px; }
  .jifu-crrev-venue__address { font-size: 27px; }
  .jifu-crrev-education__new { font-size: 100px; }
  .jifu-crrev-education__lead { font-size: 22px; }
  .jifu-crrev-sessions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jifu-crrev-day__h { font-size: 48px; }
  .jifu-crrev-day__row { grid-template-columns: 210px minmax(0, 1fr); column-gap: 24px; }
  .jifu-crrev-day__row dt, .jifu-crrev-day__row dd { font-size: 26px; }
  .jifu-crrev-education__rule { font-size: 26px; }
  .jifu-crrev-education__holders { font-size: 20px; }
  .jifu-crrev-slogan__line { font-size: 46px; }
  .jifu-crrev-cta__h2 { font-size: 84px; }
}

/* ---- Phone (<=809.98). */
@media (max-width: 809.98px) {
  .jifu-crrev-hero__title { margin-top: -28px; font-size: 34px; }
  .jifu-crrev-hero__intro { font-size: 13.5px; }
  .jifu-crrev-hero__traits { column-gap: 16px; font-size: 14px; }
  .jifu-crrev-hero__dot { font-size: 22px; }
  .jifu-crrev-h2 { font-size: 32px; }
  .jifu-crrev-brush { padding-block: 14px; }
  .jifu-crrev-btn { padding: 8px 28px; font-size: 18px; }
  .jifu-crrev-btn--big { padding: 14px 48px; font-size: 24px; }
  .jifu-crrev-countdown { padding: 32px 12px 56px; }
  .jifu-crrev-countdown__cells { gap: 10px; }
  .jifu-crrev-countdown__cell { min-width: 60px; padding: 10px; border-radius: 12px; }
  .jifu-crrev-countdown__num { font-size: 34px; }
  .jifu-crrev-countdown__label { font-size: 11px; }
  .jifu-crrev-countdown__closed { font-size: 24px; }
  .jifu-crrev-countdown .jifu-crrev-btn { margin-top: 36px; }
  .jifu-crrev-venue { padding-bottom: 56px; }
  .jifu-crrev-venue__photo { margin-bottom: 40px; }
  .jifu-crrev-venue__h2 { font-size: 34px; }
  .jifu-crrev-venue__address { font-size: 18px; }
  .jifu-crrev-education { padding-block: 56px; }
  .jifu-crrev-education__new { font-size: 56px; }
  .jifu-crrev-education__lead { font-size: 16px; }
  .jifu-crrev-sessions { grid-template-columns: minmax(0, 1fr); }
  .jifu-crrev-session__name { font-size: 34px; }
  .jifu-crrev-session__time { font-size: 24px; }
  .jifu-crrev-glance__h { margin-top: 64px; }
  .jifu-crrev-day { margin-top: 44px; }
  .jifu-crrev-day__h { font-size: 30px; }
  .jifu-crrev-day__row { grid-template-columns: 112px minmax(0, 1fr); column-gap: 12px; }
  .jifu-crrev-day__row dt, .jifu-crrev-day__row dd { font-size: 14px; }
  .jifu-crrev-education__rule { font-size: 17px; }
  .jifu-crrev-education__holders { font-size: 13px; }
  .jifu-crrev-slogan { padding: 56px 16px; }
  .jifu-crrev-slogan__line { font-size: 24px; }
  .jifu-crrev-cta { padding-block: 72px 56px; }
  .jifu-crrev-cta__h2 { font-size: 34px; }
  .jifu-crrev-cta .jifu-crrev-btn { margin-top: 44px; }
}
