/* ============================================================
   STRUCTOGRAM® — Design Tokens & Base
   Brand extracted from structogram.lv CSS + assets
   ============================================================ */
:root {
  /* Brand colours */
  --c-green:  #75b72a;
  --c-red:    #e52f12;
  --c-blue:   #009ddf;

  /* Neutrals */
  --c-ink:    #313232;
  --c-ink-2:  #555;
  --c-white:  #ffffff;
  --c-bg:     #ffffff;
  --c-input:  #f3f3f2;

  /* Dark hero / card gradient */
  --g-dark: radial-gradient(at bottom right, #336582 5%, #011722 48%, #04050a);

  /* Button gradient */
  --g-btn: linear-gradient(to left, #336582 5%, #011722 100%, #04050a);

  /* Layout */
  --col-std:  720px;
  --col-wide: 960px;
  --col-max:  1180px;

  /* Section rhythm */
  --sec-pad: 4rem;

  /* Buttons */
  --btn-radius: 12px;

  /* Typography */
  --font: 'Fira Sans', Helvetica, sans-serif;
  --body-size: 1.1rem;
  --body-lh:   1.5;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { height: 100%; scroll-behavior: smooth; }

body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: var(--body-size);
  line-height: var(--body-lh);
  color: var(--c-ink);
  background: var(--c-bg);
  margin: 0; padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
h1, h2, h3, h4, h5, h6 { margin-top: 0; margin-bottom: .5rem; line-height: 1.2; }
p { margin-top: 0; margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* Links — old-site: bold, animated underline left→right */
a {
  color: inherit;
  font-weight: bold;
  position: relative;
  text-decoration: none;
}
a::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0; left: 0;
  height: 1px;
  width: 0;
  background: currentColor;
  transition: width .5s ease;
}
a:hover::after { width: 100%; }

/* ============================================================
   BACKGROUND TEXTURE (fixed, low opacity)
   ============================================================ */
.bg-texture {
  position: fixed;
  inset: 0;
  background: url('../assets/bg_net2.svg') center 15% / 80% no-repeat;
  opacity: .06;
  z-index: 0;
  pointer-events: none;
}

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.inner {
  margin: 0 auto;
  width: var(--col-std);
  padding: 0 1rem;
}
.inner--wide {
  margin: 0 auto;
  width: var(--col-wide);
  padding: 0 1.25rem;
}
.inner--max {
  max-width: var(--col-max);
  margin: 0 auto;
  padding: 0 2rem;
}
.inner--b2 {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 3rem;
}

/* ============================================================
   BUTTONS — pill + gradient (old-site language)
   ============================================================ */
.btn {
  display: inline-block;
  background: var(--g-btn);
  color: #fff;
  border-radius: var(--btn-radius);
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 500;
  padding: .5rem 1.6rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity .2s;
}
.btn::after { display: none; } /* no underline on buttons */
.btn:hover { opacity: .88; }

.btn--cta {
  background: var(--c-green);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  padding: .85rem 2.2rem;
  border-radius: var(--btn-radius);
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn--cta:hover {
  background: #84c92f;
  transform: translateY(-1px);
  opacity: 1;
}

/* ============================================================
   HEADER — fixed, transparent over dark hero
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10;
  padding: 0 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  transition: background .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header a {
  pointer-events: all;
  font-weight: 500;
  font-size: .93rem;
  color: #fff;
}
.site-header a::after { background: #fff; }

.site-header.is-solid {
  background: rgba(255,255,255,0.95);
  border-bottom-color: #e8e8e6;
  pointer-events: all;
}
.site-header.is-solid a { color: #111; }
.site-header.is-solid a::after { background: #111; }

.header__left { }
.header__right { }

/* ============================================================
   HERO — 100vh, dark gradient, brain SVG
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--g-dark);
  overflow: hidden;
}

/* Brain SVG — shifted right, mouse-tracked via JS */
.hero__brain {
  position: absolute;
  left: 74%;
  top: 50%;
  width: 45%;
  max-height: 78vh;
  transform: translate(-50%, -50%);
  opacity: 0.70;
  pointer-events: none;
  will-change: transform;
}
.hero__brain img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  display: block;
}

/* Back brain hidden — single centered layer is cleaner with the new layout */
.hero__brain--back { display: none; }

/* Content — vertically centred by the parent flexbox */
.hero__inner {
  position: relative;
  z-index: 1;
  padding: 4rem 1rem 4rem; /* top accounts for fixed header */
  width: 1300px;
  margin: 0 auto;
}

.hero__eyebrow {
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 1rem;
}

.hero h1 {
  color: #fff;
  font-weight: 500;
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  line-height: 1.25;
  margin-bottom: 1.2rem;
  max-width: 22ch;
}

.hero__sub {
  color: rgba(255,255,255,.82);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 60ch;
  margin-bottom: 1.8rem;
}

.hero__cta-wrap {
  margin-bottom: 1.4rem;
}

/* Under-CTA checkmarks — 2 columns × 2 rows */
.hero__bullets {
  display: grid;
  grid-template-columns: max-content max-content;
  gap: .7rem 2rem;
  max-width: 32rem;
}
.hero__bullets li {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: rgba(255,255,255,.88);
  font-size: .93rem;
  font-weight: 500;
}
.hero__bullets li::before {
  content: '✔';
  color: var(--c-green);
  font-size: .9rem;
}

/* Scroll-down arrow */
.scroll-down {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3.3rem;
  height: 5.5rem;
  margin-bottom: 1rem;
  background: url('../assets/arrow_down_white.svg') center center / contain no-repeat;
  cursor: pointer;
  transition: transform .2s;
  border: none;
  background-color: transparent;
  z-index: 2;
}
.scroll-down:hover {
  transform: translateX(-50%) scale(1.2);
}

/* ============================================================
   BLOCK 2 — "Vai šis ir domāts Tev?"
   Two columns: horizontal video carousel (left) + audience pill cards (right)
   ============================================================ */
.section {
  position: relative;
  z-index: 1;
  padding: var(--sec-pad) 0;
}

.section__title {
  font-size: clamp(1.6rem, 2.8vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 1.7rem;
  margin-left: 0;
  line-height: 1.2;
}

/* ============================================================
   BLOCK 2 — Three-tile peek carousel (inverted from block 3)
   Video LEFT  |  Audience card text RIGHT
   ============================================================ */
.b2-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  column-gap: 2rem;
  align-items: stretch;
  margin-top: 2.5rem;
}

.b2-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 3rem 0 2.5rem;
}

.b2-counter {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--c-blue);
  margin-bottom: 1.2rem;
}

.b2-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  flex-shrink: 0;
  transition: opacity .22s ease;
}
.b2-icon.is-swapping { opacity: 0; }

.b2-bullet {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-ink);
  margin: 0 0 .85rem;
  transition: opacity .22s ease, transform .22s ease;
}
.b2-bullet.is-swapping { opacity: 0; transform: translateY(8px); }

.b2-desc {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--c-ink-2);
  margin: 0;
  transition: opacity .22s ease, transform .22s ease;
}
.b2-desc.is-swapping { opacity: 0; transform: translateY(8px); }

.b2-nav {
  display: flex;
  gap: .75rem;
  margin-top: auto;
  padding-top: 2rem;
}

/* ---- Three-tile peek reel ---- */
.b2-video {
  position: relative;
  overflow: hidden;
  height: 533px;
}

.b2-reel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 100%;
}

.b2-tile-main {
  flex: 0 0 300px;
  height: 533px;
  border-radius: 18px;
  transition: opacity .25s ease;
  position: relative;
  overflow: hidden;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
}
.b2-tile-main.is-swapping { opacity: .3; }
.b2-tile-main:hover .play-btn { transform: scale(1.1); }
.b2-tile-main.is-playing .play-btn { opacity: 0; pointer-events: none; }
.b2-tile-main.is-playing:hover .play-btn { opacity: 1; pointer-events: auto; }
.b2-tile-main.is-playing .play-btn::after {
  border-left: none;
  border-right: none;
  border-top: none;
  border-bottom: none;
  width: 14px; height: 14px;
  margin-left: 0;
  background: linear-gradient(to right, var(--c-blue) 0 5px, transparent 5px 9px, var(--c-blue) 9px 14px);
}

.b2-tile-side {
  flex: 0 0 240px;
  height: 427px;
  border-radius: 14px;
  transition: opacity .25s ease;
  position: relative;
  overflow: hidden;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
}
.b2-tile-side.is-hidden { opacity: 0; }

.b2-fade {
  position: absolute;
  top: 0; bottom: 0;
  width: 180px;
  pointer-events: none;
  z-index: 3;
}
.b2-fade--left {
  left: 0;
  background: linear-gradient(to right, #fff 30%, transparent);
}
.b2-fade--right {
  right: 0;
  background: linear-gradient(to left, #fff 30%, transparent);
}

/* ---- Shared video tile elements (block 2 and block 3) ---- */
.video-tile {
  flex: 0 0 auto;
  height: 100%;
  background: #111;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
}

.video-tile__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play-btn {
  position: relative;
  z-index: 1;
  width: 54px; height: 54px;
  background: rgba(255,255,255,.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s, opacity .2s;
  flex-shrink: 0;
}
.video-tile:hover .play-btn { transform: scale(1.1); }
.video-tile.is-playing .play-btn { opacity: 0; pointer-events: none; }
.video-tile.is-playing:hover .play-btn { opacity: 1; pointer-events: auto; }

.play-btn::after {
  content: '';
  border-left: 18px solid var(--c-blue);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  margin-left: 4px;
}

.video-tile.is-playing .play-btn::after {
  border-left: none;
  border-right: none;
  border-top: none;
  border-bottom: none;
  width: 14px; height: 14px;
  margin-left: 0;
  background: linear-gradient(to right, var(--c-blue) 0 5px, transparent 5px 9px, var(--c-blue) 9px 14px);
}

/* Carousel nav buttons — shared by block 2 and block 3 */
.carousel-nav {
  display: flex;
  gap: .75rem;
  margin-top: 1rem;
  justify-content: flex-end;
}

.carousel-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #222;
  color: #222;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  flex-shrink: 0;
}
.carousel-btn:hover { background: #f0f0f0; }
.carousel-btn::after { display: none; }

.carousel-btn svg { display: block; }

.carousel-btn:disabled {
  opacity: .25;
  border-color: #bbb;
  cursor: default;
}

/* ---- Audience card icon colours (reused in b2-card and elsewhere) ---- */
.aud-card__icon {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: .1rem;
  background: #f0f0f0;
  border: 1.5px solid #ccc;
  color: #222;
}

.aud-card__icon_1 {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: .1rem;
  background: #2B7BE7;
  border: 1.5px solid #ccc;
  color: #ffffff;
}

.aud-card__icon_2 {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: .1rem;
  background: #3AB876;
  border: 1.5px solid #ccc;
  color: #ffffff;
}

.aud-card__icon_3 {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: .1rem;
  background: #E63F43;
  border: 1.5px solid #ccc;
  color: #ffffff;
}

/* ============================================================
   BLOCK 3 — "Ko tu iegūsi?"
   Two-column: dynamic bullet text + nav (left) | single vertical video (right)
   ============================================================ */
.section--alt {
  background: #f7f7f5;
}

.block3-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  column-gap: 2rem;
  align-items: stretch;
}

.block3-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 3rem 0 2.5rem;
}

.block3-counter {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--c-blue);
  margin-bottom: 1.2rem;
}

.block3-bullet {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-ink);
  margin: 0;
  max-width: 18ch;
  min-height: 9rem;
  transition: opacity .25s ease, transform .25s ease;
}
.block3-bullet.is-swapping {
  opacity: 0;
  transform: translateY(8px);
}

.block3-nav {
  display: flex;
  gap: .75rem;
  margin-top: auto;
}

/* ---- Three-tile peek reel ---- */
.block3-video {
  position: relative;
  overflow: hidden;
  /* height set to match center tile 9:16 at ~300px wide */
  height: 533px;
}

.block3-reel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 100%;
}

/* Center tile */
.block3-tile {
  flex: 0 0 300px;
  height: 533px;
  border-radius: 18px;
  transition: opacity .25s ease;
  position: relative;
  overflow: hidden;
}
.block3-tile.is-swapping { opacity: .3; }

/* Side peek tiles — 80% scale */
.block3-tile-side {
  flex: 0 0 240px;
  height: 427px; /* 80% of 533 */
  border-radius: 14px;
  transition: opacity .25s ease;
  position: relative;
  overflow: hidden;
}
.block3-tile-side.is-hidden { opacity: 0; }

/* Fade overlays on left/right edges of the reel container */
.block3-fade {
  position: absolute;
  top: 0; bottom: 0;
  width: 180px;
  pointer-events: none;
  z-index: 3;
}
.block3-fade--left {
  left: 0;
  background: linear-gradient(to right, #fff 30%, transparent);
}
.block3-fade--right {
  right: 0;
  background: linear-gradient(to left, #fff 30%, transparent);
}

/* ============================================================
   BLOCK 4 — "Reāli uzņēmumi. Reāli rezultāti."
   Stats + landscape video carousel
   ============================================================ */
.section__eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-ink-2);
  margin-bottom: 1.1rem;
  text-align: left;
}

.section__lead {
  font-size: 1rem;
  color: var(--c-ink-2);
  text-align: left;
  max-width: 1100px;
  margin: 0 0 2.5rem;
  line-height: 1.6;
}

.stats-row {
  display: flex;
  justify-content: flex-start;
  gap: 4rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .35rem;
}

.stat__num {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  color: var(--c-ink);
}

.stat--blue .stat__num { color: var(--c-blue); }

.stat__label {
  font-size: .85rem;
  color: var(--c-ink-2);
  font-weight: 500;
  text-align: center;
}

/* Block 4 — same two-column grid as Block 2 */
.block4-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  grid-template-rows: auto auto;
  column-gap: 2rem;
  row-gap: 0;
  align-items: stretch;
}

.b4-cards {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  justify-content: space-between;
}

/* ============================================================
   BLOCK 4 — Horizontal stats with counter animation
   ============================================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 4rem;
  border: 1px solid #e8e8e6;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.stat-item {
  padding: 2.75rem 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  position: relative;
  border-top: 3px solid transparent;
}
.stat-item:first-child  { border-top-color: var(--c-blue); }
.stat-item:nth-child(2) { border-top-color: var(--c-green); }
.stat-item:nth-child(3) { border-top-color: var(--c-red); }
.stat-item:nth-child(4) { border-top-color: #8b5cf6; }

.stat-item + .stat-item { border-left: 1px solid #e8e8e6; }

.stat-num {
  font-size: clamp(2.8rem, 4.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1;
  color: var(--c-ink);
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.stat-item:first-child .stat-num { color: var(--c-blue); }

.stat-label {
  font-size: .88rem;
  font-weight: 500;
  color: var(--c-ink-2);
  line-height: 1.35;
  max-width: 18ch;
}

/* ============================================================
   BLOCK 5 — Image + Accordion interactive section
   ============================================================ */
.block5-header {
  margin-bottom: 3rem;
}

.acc-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
  height: auto;
  align-items: flex-start;
}

/* Left: swapping image — fixed height + sticky so it stays visible as accordion expands */
.acc-image-wrap {
  position: sticky;
  top: 6rem;
  height: 520px;
  border-radius: 18px;
  overflow: hidden;
}

.acc-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .55s ease;
}
.acc-img.is-active { opacity: 1; }

/* Right: accordion stack */
.acc-panels {
  display: flex;
  flex-direction: column;
  height: auto;
  overflow: visible;
}

/* Base item: flex column (trigger on top, body below). */
.acc-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  overflow: visible;
  border-top: 1px solid #e0e0de;
}
.acc-item:last-child { border-bottom: 1px solid #e0e0de; }

.acc-item.is-open { flex: 0 0 auto; }

/* ── Featured first item ("Demo Pasākums") ── */
.acc-item--featured {
  background: rgba(0,157,223,.05);
  border: 1.5px solid rgba(0,157,223,.22);
  border-radius: 12px;
  margin-bottom: .75rem;
}
/* Remove conflicting border-top / border-bottom from default pattern */
.acc-item--featured { border-top: 1.5px solid rgba(0,157,223,.22); }
.acc-item--featured + .acc-item { border-top: 1px solid #e0e0de; }

.acc-item--featured .acc-trigger { padding-left: 1.25rem; padding-right: 1.25rem; }
.acc-item--featured .acc-trigger__title { color: var(--c-blue); font-size: 1.35rem; }
.acc-item--featured .acc-body { padding-left: 1.25rem; padding-right: 1.25rem; }

.acc-item--featured .acc-plus {
  background: rgba(0,157,223,.12);
  color: var(--c-blue);
}
.acc-item--featured.is-open .acc-plus {
  background: var(--c-blue);
  color: #fff;
  transform: rotate(45deg);
}

/* Badge on the featured trigger */
.acc-badge {
  display: inline-flex;
  align-items: center;
  background: var(--c-green);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  padding: .18rem .55rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-left: .6rem;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  text-align: left;
  flex-shrink: 0;
}
.acc-trigger::after { display: none; }

.acc-trigger__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1.2;
}

.acc-plus {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e8e8e6;
  color: var(--c-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .25s, transform .35s ease, color .25s;
}
.acc-item.is-open .acc-plus {
  background: #111;
  color: #fff;
  transform: rotate(45deg);
}

/* Body — max-height accordion: no scrolling, content always visible when open */
.acc-body {
  flex: 0 0 auto;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .45s cubic-bezier(.4,0,.2,1), opacity .25s ease;
  padding-bottom: 0;
}
.acc-item.is-open .acc-body {
  max-height: 700px;
  opacity: 1;
  transition-delay: 0s;
  padding-bottom: 1.5rem;
}

.acc-body__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--c-ink);
  margin-bottom: 1rem;
}

.acc-body__intro {
  font-size: .88rem;
  line-height: 1.55;
  color: var(--c-ink-2);
  margin-bottom: 1rem;
}

.acc-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem 1.5rem;
  margin-bottom: 1.25rem;
  align-items: start;
}

.acc-col-head {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--c-ink-2);
  margin-bottom: .5rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .88rem;
  color: var(--c-ink);
  line-height: 1.35;
}

.check-list li::before {
  content: '✔';
  color: var(--c-ink);
  font-size: .68rem;
  flex-shrink: 0;
  margin-top: .22rem;
}

/* Dark filled button — used in tab panel CTAs */
.btn--dark {
  display: inline-block;
  background: #009ddf;
  color: #fff;
  border-radius: var(--btn-radius);
  padding: 1.1rem 1.8rem;
  font-family: var(--font);
  font-size: .87rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s;
}
.btn--dark:hover { background: #333; }
.btn--dark::after { display: none; }

/* CTA group: main button + phone button side by side */
.acc-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  margin-top: 1.25rem;
}

/* Phone call button */
.btn--phone {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .72rem 1.2rem;
  border: 1.5px solid #d0d0ce;
  border-radius: var(--btn-radius);
  background: #fff;
  color: var(--c-ink);
  font-family: var(--font);
  font-size: .87rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  white-space: nowrap;
  line-height: 1;
}
.btn--phone:hover { border-color: #888; background: #f6f6f5; }
.btn--phone::after { display: none; }
.btn--phone svg { flex-shrink: 0; }

/* Outline dark button — paired with .btn--cta, same shape & size */
.btn--outline {
  display: inline-block;
  background: transparent;
  color: var(--c-ink);
  border: 2px solid var(--c-ink);
  border-radius: var(--btn-radius);
  padding: calc(.85rem - 2px) calc(2.2rem - 2px);
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.btn--outline:hover { background: var(--c-ink); color: #fff; opacity: 1; }
.btn--outline::after { display: none; }

/* ── Trainer section ── */
/* ── About / Credibility card ────────────────────────── */
/* ── Trainer / About section ─────────────────────────── */
.trainer-split {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 6rem;
  align-items: center;
  margin-top: 3.5rem;
}

.trainer-split__photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .7rem;
}

.trainer-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
  margin-bottom: .25rem;
}
.trainer-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-ink);
}
.trainer-title {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--c-blue);
}

.trainer-bio {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c-ink-2);
  margin-bottom: 2rem;
  max-width: 750px;
}

.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.stat-chip {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.stat-chip__num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1;
}
.stat-chip__label {
  font-size: .78rem;
  color: var(--c-ink-2);
  font-weight: 500;
}

.trainer-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ── Contact mini-popup ── */
.contact-popup {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.contact-popup.is-open {
  opacity: 1;
  pointer-events: all;
}
.contact-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,10,20,.65);
  cursor: pointer;
}
.contact-popup__box {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 18px;
  padding: 2rem 2.25rem 2.25rem;
  width: 100%;
  max-width: 420px;
  margin: 1rem;
  box-shadow: 0 24px 60px rgba(0,0,0,.22);
}
.contact-popup__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: .35rem .5rem;
  color: #aaa;
  font-size: 1.1rem;
  line-height: 1;
  border-radius: 6px;
  font-family: var(--font);
  transition: color .15s, background .15s;
}
.contact-popup__close:hover { color: #333; background: #f0f0ee; }
.contact-popup__close::after { display: none; }
.contact-popup__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: .3rem;
  line-height: 1.3;
  padding-right: 2rem;
}
.contact-popup__sub {
  font-size: .85rem;
  color: #777;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}
.contact-popup__fields {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 1.1rem;
}
.contact-popup__field input {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid #e0e0de;
  border-radius: 9px;
  font-family: var(--font);
  font-size: .92rem;
  color: var(--c-ink);
  background: #fafaf9;
  transition: border-color .2s, background .2s;
  box-sizing: border-box;
}
.contact-popup__field input:focus {
  outline: none;
  border-color: var(--c-blue);
  background: #fff;
}
.contact-popup__field textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid #e0e0de;
  border-radius: 9px;
  font-family: var(--font);
  font-size: .92rem;
  color: var(--c-ink);
  background: #fafaf9;
  transition: border-color .2s, background .2s;
  box-sizing: border-box;
  resize: vertical;
  line-height: 1.5;
}
.contact-popup__field textarea:focus {
  outline: none;
  border-color: var(--c-blue);
  background: #fff;
}
.contact-popup__submit {
  width: 100%;
  padding: .85rem;
  background: #111;
  color: #fff;
  border: none;
  border-radius: var(--btn-radius);
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s;
}
.contact-popup__submit:hover { background: #333; }
.contact-popup__thanks {
  text-align: center;
  padding: 1.5rem 0 .5rem;
}
.contact-popup__thanks-icon {
  width: 52px;
  height: 52px;
  background: var(--c-green);
  color: #fff;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 52px;
  margin: 0 auto 1rem;
}
.contact-popup__thanks h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: .4rem;
}
.contact-popup__thanks p {
  font-size: .88rem;
  color: #777;
  line-height: 1.45;
}

/* ============================================================
   REGISTRATION FORM
   ============================================================ */
/* Registration form card */
/* ── Signup / Forma section ─────────────────────────── */
.forma-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
  margin-top: 1rem;
}

.forma-split__left .section__eyebrow { margin-bottom: .75rem; }
.forma-split__left .section__title   { margin-bottom: 1.5rem; }

.forma-intro {
  font-size: 1rem;
  color: var(--c-ink-2);
  line-height: 1.65;
}

.forma-privacy {
  font-size: .78rem;
  color: #aaa;
  margin-top: .85rem;
  line-height: 1.45;
}

/* Form sits directly in section, no card wrapper */
.forma-split__right .reg-form { margin-top: 0; }
.forma-split__right .field__input {
  background: #fff;
  border: 1.5px solid #e0e0de;
}
.forma-split__right .field__input:focus { border-color: var(--c-blue); }

/* Keep old .forma-card rules dormant — not used in markup anymore */
.forma-card {
  display: none;
}

/* Dormant event panel classes kept for safety */
.event-label, .event-name, .event-meta, .event-meta__item, .event-benefits li {
  /* unused — event panel removed */
  display: none;
}
.event-benefits li {
  font-size: .82rem;
  color: var(--c-ink-2);
  line-height: 1.45;
  padding-left: 1.2rem;
  position: relative;
}
.event-benefits li::before {
  content: '✔';
  color: var(--c-green);
  position: absolute;
  left: 0;
  font-size: .75rem;
  top: .1em;
}

/* Company name field — slides in when checkbox is ticked */
.field--company-name {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  transition: max-height .28s ease, opacity .22s ease, margin-top .28s ease, margin-bottom .28s ease;
}
.field--company-name.is-visible {
  max-height: 90px;
  opacity: 1;
  margin-top: 1.25rem;
  margin-bottom: 1.75rem;
}

.reg-form {
  max-width: none;
  margin-top: 0;
}

.reg-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 2.5rem;
  margin-bottom: 1.75rem;
}

.field--full { grid-column: 1 / -1; }

.field__label {
  display: block;
  font-size: .76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--c-ink-2);
  margin-bottom: .4rem;
}

.field__input,
.field__textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d8d8d6;
  border-radius: 8px;
  padding: .65rem 1rem;
  font-family: var(--font);
  font-size: .95rem;
  color: var(--c-ink);
  background: #fff;
  outline: none;
  transition: border-color .15s;
}
.field__input:focus,
.field__textarea:focus { border-color: #111; }

.field__textarea {
  resize: vertical;
  min-height: 100px;
}

.reg-form__checks {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.check-field {
  display: flex;
  align-items: center;
  gap: .6rem;
  cursor: pointer;
  font-size: .93rem;
  font-weight: 500;
  color: var(--c-ink);
}

.check-field input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #111;
  flex-shrink: 0;
}

.reg-form__submit {
  background: var(--c-green);
  color: #fff;
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 1rem 2.5rem;
  border-radius: var(--btn-radius);
  border: none;
  cursor: pointer;
  transition: background .15s;
}
.reg-form__submit:hover { background: #84c92f; }

/* ============================================================
   PHOTO GALLERY — Bento Grid + Lightbox
   ============================================================ */

/* Bento grid: featured left (2fr, 2 rows) + 2 smalls right */
.gallery-bento {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
  height: 560px;
  transition: grid-template-columns 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-bcard {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

/* Featured card spans both rows */
.gallery-bcard--featured {
  grid-column: 1;
  grid-row: 1 / 3;
  transition: opacity 0.2s ease;
}
.gallery-bcard--featured.is-fading { opacity: 0; }

/* Flipped: featured on RIGHT, smalls stack on LEFT */
.gallery-bento.is-flipped { grid-template-columns: 1fr 2fr; }
.gallery-bento.is-flipped .gallery-bcard--featured { grid-column: 2; grid-row: 1 / 3; }
.gallery-bento.is-flipped .gallery-bcard--small { grid-column: 1; }

/* ── Slides (featured card only) ── */
.gallery-bcard__slides {
  position: absolute;
  inset: 0;
}
.gallery-bslide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.gallery-bslide.is-active { opacity: 1; }
/* Real photo — fills the entire slide */
.gallery-bslide__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Logo/initials placeholder img inside a slide */
.gallery-bslide img:not(.gallery-bslide__photo) {
  max-width: 50%;
  max-height: 50%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .5;
  display: block;
}
.gallery-bslide span {
  font-size: 4rem;
  font-weight: 800;
  color: rgba(255,255,255,.35);
  font-family: var(--font);
  letter-spacing: -.03em;
}

/* Dot indicator */
.gallery-bcard__dots {
  position: absolute;
  bottom: 3.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .5rem;
  z-index: 3;
}
.gallery-bdot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background .3s, transform .3s;
}
.gallery-bdot.is-active { background: #fff; transform: scale(1.35); }
.gallery-bdot::after { display: none; }

/* Gradient overlay shared by all cards */
.gallery-bcard__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72) 18%, rgba(0,0,0,.05) 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem 1.5rem;
  z-index: 2;
  pointer-events: none;
  transition: background .3s;
}
.gallery-bcard:hover .gallery-bcard__overlay {
  background: linear-gradient(to top, rgba(0,0,0,.84) 22%, rgba(0,0,0,.1) 62%);
}
.gallery-bcard__name {
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.2;
  display: block;
}
.gallery-bcard--featured .gallery-bcard__name { font-size: 1.15rem; }
.gallery-bcard__hint {
  color: rgba(255,255,255,.5);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: .3rem;
  display: block;
}

/* Small cards: colored bg + centered logo */
.gallery-bcard--small .gallery-bcard__bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .45s ease;
}
.gallery-bcard--small:hover .gallery-bcard__bg { transform: scale(1.06); }
.gallery-bcard__logo-img {
  max-width: 55%;
  max-height: 55%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .55;
  display: block;
}
.gallery-bcard__logo-initials {
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(255,255,255,.45);
  font-family: var(--font);
  letter-spacing: -.03em;
}

/* ── Lightbox ── */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}
.gallery-lightbox.is-open { opacity: 1; pointer-events: all; }
.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,10,20,.94);
  cursor: pointer;
}
.gallery-lightbox__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 92vw;
  max-height: 92vh;
}
.gallery-lightbox__close {
  position: absolute;
  top: -3rem;
  right: 0;
  background: none;
  border: none;
  color: rgba(255,255,255,.65);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: .5rem .75rem;
  border-radius: 6px;
  transition: color .15s, background .15s;
  font-family: var(--font);
}
.gallery-lightbox__close::after { display: none; }
.gallery-lightbox__close:hover { color: #fff; background: rgba(255,255,255,.1); }
.gallery-lightbox__nav {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  line-height: 1;
  transition: background .15s;
  font-family: var(--font);
  padding-bottom: 2px;
}
.gallery-lightbox__nav::after { display: none; }
.gallery-lightbox__nav:hover { background: rgba(255,255,255,.22); }
.gallery-lightbox__photo-wrap {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-lightbox__photo {
  border-radius: 12px;
  overflow: hidden;
  width: 68vw;
  height: 58vh;
  max-width: 900px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .4s ease;
}
.gallery-lightbox__counter {
  position: absolute;
  bottom: -2.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.38);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  white-space: nowrap;
}

/* ============================================================
   FINAL CONTACT SECTION — dark, hero-consistent
   ============================================================ */
.section--dark {
  background: var(--g-dark);
}
.section--dark .section__eyebrow {
  color: rgba(255,255,255,.45);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-heading {
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 1.5rem;
}

.contact-body {
  font-size: .95rem;
  color: rgba(255,255,255,.65);
  line-height: 1.65;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.action-card {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 1.1rem;
  align-items: center;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  padding: 1.25rem;
  transition: background .15s, border-color .15s;
}
.action-card:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.18);
}

.action-card__icon {
  width: 48px; height: 48px;
  background: rgba(255,255,255,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.8);
  flex-shrink: 0;
}

.action-card__title {
  font-weight: 700;
  font-size: .9rem;
  color: #fff;
  margin-bottom: .3rem;
  line-height: 1.25;
}

.action-card__desc {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  line-height: 1.4;
}

.action-card__btn {
  background: rgba(255,255,255,.11);
  color: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  padding: .55rem 1.1rem;
  font-family: var(--font);
  font-size: .8rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: background .15s, border-color .15s;
  display: inline-block;
}
.action-card__btn:hover {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.28);
}
.action-card__btn::after { display: none; }

/* ============================================================
   COUNTDOWN SECTION
   ============================================================ */
.section--countdown { text-align: center; }

.countdown__heading {
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 600;
  color: #fff;
  margin-bottom: 3rem;
  letter-spacing: -.01em;
}

.countdown-row {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.countdown-box {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 2.25rem 3rem;
  min-width: 148px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
}

.countdown-num {
  font-size: clamp(3.5rem, 5vw, 5.2rem);
  font-weight: 800;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.04em;
  min-width: 2ch;
  display: block;
}

.countdown-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
}

/* ============================================================
   FORMA SECTION — two-column layout
   ============================================================ */
.forma-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 5rem;
  align-items: start;
}

.forma-right {
  padding-top: .25rem;
}

.forma-right__head {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: 2rem;
  letter-spacing: -.01em;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info-item__icon {
  width: 40px;
  height: 40px;
  background: var(--c-blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.contact-info-label {
  font-size: .72rem;
  font-weight: 700;
  color: var(--c-ink-2);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: .25rem;
}

.contact-info-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-ink);
  text-decoration: none;
  line-height: 1.4;
  display: block;
}
a.contact-info-value:hover { color: var(--c-blue); }
a.contact-info-value::after { display: none; }

.forma-right__note {
  font-size: .84rem;
  color: var(--c-ink-2);
  line-height: 1.5;
  border-top: 1px solid #e8e8e6;
  padding-top: 1.5rem;
  margin-bottom: 2rem;
}

.forma-right__event {
  background: #f6f8ff;
  border: 1px solid #dde6f8;
  border-radius: 12px;
  padding: 1.25rem 1.4rem;
}

.forma-right__event-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--c-blue);
  margin-bottom: .4rem;
}

.forma-right__event-date {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: .35rem;
}

.forma-right__event-loc {
  font-size: .85rem;
  color: var(--c-ink-2);
  display: flex;
  align-items: center;
  gap: .35rem;
}

/* Contact strip — below registration form */
.contact-strip {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e8e8e6;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.contact-strip__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  flex: 0 0 auto;
  min-width: 200px;
}

a.contact-strip__item::after { display: none; }
a.contact-strip__item:hover .contact-info-value { color: var(--c-blue); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--g-dark);
  color: rgba(255,255,255,.65);
  padding: 4.5rem 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: .04em;
  margin-bottom: .5rem;
}

.footer-tagline {
  font-size: .74rem;
  font-weight: 600;
  color: rgba(255,255,255,.38);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-desc {
  font-size: .88rem;
  line-height: 1.6;
  color: rgba(255,255,255,.45);
  max-width: 300px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.footer-col__head {
  font-size: .72rem;
  font-weight: 700;
  color: rgba(255,255,255,.3);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 1.1rem;
}

.footer-col a {
  display: block;
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  margin-bottom: .65rem;
  transition: color .15s;
}
.footer-col a::after { display: none; }
.footer-col a:hover  { color: #fff; }

.footer-address {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  line-height: 1.55;
  margin-top: .1rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: .78rem;
  color: rgba(255,255,255,.28);
}

.footer-bottom__links {
  display: flex;
  gap: 1.75rem;
}

.footer-bottom__links a {
  color: rgba(255,255,255,.28);
  text-decoration: none;
  transition: color .15s;
}
.footer-bottom__links a::after { display: none; }
.footer-bottom__links a:hover  { color: rgba(255,255,255,.65); }

/* ============================================================
   ANIMATIONS — Classy reveal pass
   ============================================================ */

/* Responsive text variants */
.text-mobile { display: none; }

/* Keyframes — declared outside media query */
@keyframes _su-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes _su-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes _su-br { from { opacity: 0; } to { opacity: .70; } }

@media (prefers-reduced-motion: no-preference) {
  /* Hero load animations */
  .hero__eyebrow  { animation: _su-up 700ms cubic-bezier(.22,1,.36,1) 200ms both; }
  .hero h1        { animation: _su-up 700ms cubic-bezier(.22,1,.36,1) 320ms both; }
  .hero__sub      { animation: _su-up 700ms cubic-bezier(.22,1,.36,1) 460ms both; }
  .hero__cta-wrap { animation: _su-up 650ms cubic-bezier(.22,1,.36,1) 600ms both; }
  .hero__bullets  { animation: _su-in  600ms ease-out                 720ms both; }
  .hero__brain    { animation: _su-br 1000ms ease-out                 300ms both; }

  /* Scroll-triggered reveals — base states */
  .reveal {
    opacity: 0;
    transition: opacity 700ms cubic-bezier(.22,1,.36,1);
  }
  .reveal-up {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 700ms cubic-bezier(.22,1,.36,1),
                transform 700ms cubic-bezier(.22,1,.36,1);
  }
  .reveal.is-visible    { opacity: 1; }
  .reveal-up.is-visible { opacity: 1; transform: translateY(0); }

  /* Stagger container — children cascade in with delay */
  .reveal-stagger > * {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 600ms cubic-bezier(.22,1,.36,1),
                transform 600ms cubic-bezier(.22,1,.36,1);
  }
  .reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
  .reveal-stagger.is-visible > *:nth-child(1) { transition-delay:   0ms; }
  .reveal-stagger.is-visible > *:nth-child(2) { transition-delay:  90ms; }
  .reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 180ms; }
  .reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 270ms; }
  .reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 360ms; }
  .reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 450ms; }

  /* Hover lifts */
  .aud-card           { transition: transform 200ms ease-out, box-shadow 200ms ease-out; }
  .aud-card:hover     { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }

  .action-card        { transition: background .22s ease, border-color .22s ease, transform .22s ease-out; }
  .action-card:hover  { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); transform: translateY(-2px); }

  .gallery-bcard--small { transition: transform 200ms ease-out; }
  .gallery-bcard--small:hover { transform: translateY(-3px); }
}

/* Form focus transitions (always on — not motion-sensitive) */
.field__input,
.field__textarea { transition: border-color .18s ease, box-shadow .18s ease; }
.field__input:focus,
.field__textarea:focus {
  border-color: var(--c-blue);
  box-shadow: 0 0 0 3px rgba(0,157,223,.12);
}

/* ============================================================
   RESPONSIVE — Four-Breakpoint System
   Laptop 1024-1199 | Tablet 768-1023 | Mobile <768 | Small <480
   Desktop (1200+) is the source of truth — base styles unchanged.
   ============================================================ */

/* ── Laptop (1024–1199px) ─────────────────────────────────────── */
@media (max-width: 1199px) {
  :root { --sec-pad: 6.5rem; }
  .inner--b2 { padding: 0 2.5rem; }

  .acc-layout { height: auto; }
  .acc-image-wrap { height: 480px; }

  .footer-top { gap: 3.5rem; }
  .footer-links { gap: 1.5rem; }
}

/* ── Tablet (768–1023px) ──────────────────────────────────────── */
@media (max-width: 1023px) {
  :root { --sec-pad: 5rem; }
  .inner--b2 { padding: 0 2rem; }

  /* Header */
  .site-header { padding: 0 2rem; }

  /* Hero */
  .hero__inner { width: 100%; max-width: var(--col-wide); padding: 5rem 2rem 3rem; }
  .hero__brain { left: 70%; width: 40%; opacity: .5; }
  .hero h1 { font-size: clamp(1.4rem, 3.2vw, 2.1rem); max-width: 20ch; }

  /* Section titles */
  .section__title { margin-left: 0; }

  /* Block 2 */
  .b2-layout { grid-template-columns: 1fr; gap: 1.25rem; }
  .b2-text { order: 2; padding: 0; }
  .b2-counter { margin-bottom: .5rem; }
  .b2-bullet { font-size: clamp(1.3rem, 5.5vw, 1.75rem); }
  .b2-nav { margin-top: .75rem; padding-top: 0; }
  .b2-video { height: auto; overflow: hidden; order: 1; margin-left: -1.25rem; margin-right: -1.25rem; }
  .b2-reel { height: auto; }
  .b2-fade { width: 40px; }
  .b2-tile-main { flex: 0 0 70%; aspect-ratio: 9 / 16; height: auto; }
  .b2-tile-side { flex: 0 0 56%; aspect-ratio: 9 / 16; height: auto; }

  /* Block 3 */
  .block3-layout { grid-template-columns: 260px 1fr; }
  .block3-video { height: 460px; }
  .block3-tile { flex: 0 0 260px; height: 461px; }
  .block3-tile-side { flex: 0 0 205px; height: 369px; }

  /* Block 5 Accordion */
  .acc-layout { height: auto; gap: 2rem; }
  .acc-image-wrap { height: 460px; }

  /* Stats — stays 4 columns, tighter padding */
  .stat-item { padding: 2.25rem 1.75rem 2.5rem; }

  /* Gallery */
  .gallery-bento { height: 460px; }

  /* Countdown */
  .countdown-box { padding: 1.75rem 2.25rem; min-width: 118px; }

  /* Trainer + Forma — tighten gap on laptop */
  .trainer-split { gap: 4rem; }
  .forma-split   { gap: 4rem; }

  /* Footer */
  .footer-top { gap: 3rem; }
  .footer-links { gap: 1.5rem; }
}

/* ── Mobile (<768px) ──────────────────────────────────────────── */
@media (max-width: 767px) {
  h1 br, h2 br, h3 br, p br { display: none; }
  .text-desktop { display: none; }
  .text-mobile  { display: inline; }

  .inner--b2 { padding: 0 1.25rem; }

  body { overflow-x: hidden; }

  /* Header */
  .site-header { padding: 0 1.25rem; height: 3.5rem; }
  .header__left { display: none; }

  /* ── Coherent section spacing ── */
  /* Top stays 3.5rem so content clears the fixed header; bottom tighter */
  .section { padding: 3rem 0 2rem; }
  /* Section heading rhythm */
  .section__eyebrow { margin-bottom: 0.5rem; }
  .section__title { margin-bottom: 1rem; margin-left: 0; }
  .section__lead { margin-bottom: 1.25rem; }

  /* Hero — brain top, text bottom */
  .hero { display: flex; flex-direction: column; justify-content: flex-end; min-height: 100svh; padding-top: 0; padding-bottom: 2.5rem; overflow: hidden; }
  .hero__inner { width: 100%; padding: 0 1.25rem 0; margin: 0; order: 0; flex-shrink: 0; }
  .hero h1 { font-size: clamp(1.5rem, 6vw, 2rem); max-width: none; }
  .hero__sub { font-size: .93rem; max-width: none; }
  .hero__bullets { grid-template-columns: 1fr; gap: .5rem; max-width: none; }
  .btn--cta { font-size: .88rem; padding: .65rem 1.4rem; }
  .hero__brain {
    display: flex;
    align-items: center;
    justify-content: center;
    order: -1;
    flex-grow: 1;
    position: relative;
    left: auto; top: auto;
    width: 100%;
    transform: none;
    opacity: .9;
    padding-top: 4.5rem;
  }
  .hero__brain img { width: 80%; max-height: 44vh; object-fit: contain; }
  .scroll-down { display: none; }

  /* Section titles */
  .section__title { margin-left: 0; }

  /* Block 2 — phone */
  .inner--wide { width: 100%; }
  .b2-video { height: auto; margin-left: -1rem; margin-right: -1rem; }
  .b2-tile-main { flex: 0 0 70%; }
  .b2-tile-side { flex: 0 0 56%; }

  /* Block 3 — single column stack, portrait video tiles */
  .block3-layout { grid-template-columns: 1fr; gap: 1.25rem; }
  .block3-text { order: 1; padding: 0; }
  .block3-counter { margin-bottom: 0.5rem; }
  .block3-bullet { font-size: clamp(1.3rem, 5.5vw, 1.75rem); min-height: auto; }
  .block3-nav { margin-top: 0.75rem; }
  .block3-video { height: auto; overflow: hidden; order: 2; margin-left: -1.25rem; margin-right: -1.25rem; }
  .block3-reel { height: auto; }
  .block3-fade { width: 40px; }
  .block3-tile { flex: 0 0 70%; aspect-ratio: 9 / 16; height: auto; }
  .block3-tile-side { flex: 0 0 56%; aspect-ratio: 9 / 16; height: auto; }

  /* Stats — 2×2 grid, reduced gap to title */
  .stats-row { grid-template-columns: repeat(2, 1fr); margin-top: 1rem; }
  .stat-item + .stat-item { border-left: none; }
  .stat-item:nth-child(2n) { border-left: 1px solid #e8e8e6; }
  /* Row separator via inset box-shadow — preserves the colored top accent */
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) { box-shadow: inset 0 1px 0 #e8e8e6; }
  .stat-item { padding: 1.75rem 1.25rem 2rem; }
  .stat-num { font-size: clamp(2.2rem, 8vw, 3.4rem); }

  /* Gallery — featured full-width top, 2 small cards 50/50 bottom row */
  .gallery-bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; height: auto; }
  .gallery-bento.is-flipped { grid-template-columns: 1fr 1fr; }
  .gallery-bcard--featured { grid-column: 1 / 3; grid-row: 1; aspect-ratio: 4/3; }
  .gallery-bento.is-flipped .gallery-bcard--featured { grid-column: 1 / 3; grid-row: 1; }
  .gallery-bcard--small { grid-column: auto; grid-row: 2; aspect-ratio: 1 / 1; }
  .gallery-bento.is-flipped .gallery-bcard--small { grid-column: auto; grid-row: 2; }

  /* Block 5 Accordion — flex column, max-height toggle (flex-grow needs fixed parent) */
  .block5-header { margin-bottom: 1.5rem; }
  .acc-layout { display: flex; flex-direction: column; height: auto; gap: 1.25rem; }
  .acc-image-wrap { display: none; }
  .acc-panels { order: 1; height: auto; overflow: visible; }
  .acc-item { flex: none; transition: none; }
  .acc-item.is-open { flex: none; }
  .acc-body {
    flex: none;
    min-height: 0;
    max-height: 0;
    opacity: 1;
    overflow: hidden;
    padding-bottom: 0;
    transition: max-height .4s ease;
  }
  .acc-item.is-open .acc-body {
    max-height: 600px;
    padding-bottom: 1.5rem;
    transition-delay: 0s;
    opacity: 1;
  }
  .acc-cols { grid-template-columns: 1fr; }

  /* Countdown — 2×2 flex wrap, tighter spacing */
  .countdown__heading { margin-bottom: 1.25rem; }
  .countdown-row { gap: .75rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
  .countdown-box {
    padding: 1.5rem 1.25rem;
    min-width: calc(50% - .5rem);
    flex: 1 1 calc(50% - .5rem);
    box-sizing: border-box;
  }
  .countdown-num { font-size: clamp(2.6rem, 9vw, 4rem); }

  /* Trainer — stack photo above content */
  .trainer-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .trainer-split__photo { flex-direction: row; text-align: left; gap: 1.25rem; justify-content: flex-start; }
  .trainer-photo { width: 90px; height: 90px; flex-shrink: 0; margin-bottom: 0; }
  .trainer-bio { max-width: none; }
  .trainer-btns { flex-wrap: wrap; }

  /* Forma — stack heading above form */
  .forma-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .reg-form__grid { grid-template-columns: 1fr; gap: 1rem; }
  .field__input, .field__textarea { min-height: 48px; }
  .reg-form__checks { flex-direction: column; gap: 1rem; }
  .reg-form__submit { width: 100%; justify-content: center; }

  /* Gallery lightbox — fit to screen, overlay nav on photo */
  .gallery-lightbox__inner { gap: 0; position: relative; max-width: 100vw; max-height: 100vh; }
  .gallery-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
  }
  #gallery-lb-prev { left: .25rem; }
  #gallery-lb-next { right: .25rem; }
  .gallery-lightbox__photo-wrap { width: 100%; }
  .gallery-lightbox__photo { width: 92vw; height: auto; aspect-ratio: 4/3; max-width: none; }

  /* Footer — stacked */
  .footer-top { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2.5rem; }
  .footer-links { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; padding: 2rem 0; }
  .footer-bottom__links { flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
}

/* ── Small Mobile (<480px) ────────────────────────────────────── */
@media (max-width: 479px) {
  .section { padding: 2.5rem 0 1.75rem; }
  .inner--b2 { padding: 0 1rem; }

  .site-header { padding: 0 1rem; }

  .hero__inner { padding-top: 4.5rem; }
  .hero h1 { font-size: clamp(1.4rem, 7vw, 1.75rem); }

  .block3-video { height: auto; margin-left: -1rem; margin-right: -1rem; }
  .block3-tile { flex: 0 0 70%; }
  .block3-tile-side { flex: 0 0 56%; }

  .countdown-box { padding: 1.25rem .75rem; }
  .countdown-num { font-size: clamp(2.2rem, 11vw, 3.5rem); }

  .footer-links { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ── Form success & error states ─────────────────────────────── */
.forma-thanks {
  text-align: center;
  padding: 3rem 1rem;
}
.forma-thanks__icon {
  font-size: 3rem;
  color: var(--c-green);
  line-height: 1;
  margin-bottom: 1rem;
}
.forma-thanks__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: .4rem;
}
.forma-thanks__sub {
  color: var(--c-ink-2);
  font-size: 1rem;
  line-height: 1.55;
}
.form-error {
  color: var(--c-red);
  font-size: .875rem;
  text-align: center;
  margin-top: .75rem;
  padding: .5rem .75rem;
  background: rgba(229, 47, 18, .06);
  border-radius: 6px;
}

/* ── Submit button spinner ──────────────────────────────────── */
.btn-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spin .7s linear infinite;
  margin-left: 8px;
  vertical-align: middle;
}
@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

/* ── Toast notification ─────────────────────────────────────── */
.form-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(calc(100% + 2rem));
  z-index: 9999;
  background: var(--c-green);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: .875rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.22);
  font-family: var(--font);
  font-size: .975rem;
  min-width: 280px;
  max-width: 90vw;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1);
  pointer-events: none;
}
.form-toast.is-visible {
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.form-toast__icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}
.form-toast__title {
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 .15rem;
}
.form-toast__sub {
  font-size: .85rem;
  opacity: .88;
  margin: 0;
  line-height: 1.4;
}
