/* Tokens: editorial base from DESIGN.md, Tot Teràpia brand as accent */
:root {
  --ink: #222222;
  --paper: #ffffff;
  --band: #eef6f9;        /* brand sky diluted, replaces #f7f7f7 */
  --wash: #ebebeb;
  --fog: #6a6a6a;
  --ash: #a6a6a6;
  --sky: #9fcbd8;         /* brand primary: hairlines, chips, disc */
  --leaf: #a4d371;        /* brand secondary: checks only */
  --cta: #1f6f86;         /* logo teal darkened for AA contrast on white */
  --cta-hover: #185a6d;
  --leaf-soft: #eef6e2;   /* chip background */
  --leaf-ink: #3d6b13;    /* chip text */
  --ink-soft: #3a3a3a;    /* secondary body text */
  --shadow-ink: rgba(34,34,34,.35);
  --scrim: rgba(34,34,34,.8);
  --scrim-light: rgba(34,34,34,.62);

  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --text-caption: 14px;
  --text-body-sm: 16px;
  --text-body: 18px;
  --text-subheading: 22px;
  --text-heading-sm: 26px;

  --s-8: 8px; --s-16: 16px; --s-24: 24px; --s-32: 32px; --s-40: 40px;
  --s-48: 48px; --s-64: 64px; --s-80: 80px; --s-96: 96px;

  --page-max: 1200px;
  --prose-max: 640px;
  --r-btn: 8px;
  --r-media: 12px;
  --gutter: 16px;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-variable-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .sticky, .phone__play, .faq__item summary::after { transition: none; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--text-body);
  line-height: 1.56;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  padding-bottom: 0;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cta); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.tap { display: inline-block; padding-block: 12px; margin-block: -12px; }
h1, h2, h3, p, ul, dl, table, address { margin: 0; }
ul { padding: 0; list-style: none; }
address { font-style: normal; }
strong { font-weight: 700; }

.container {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

/* Type */
.h2 {
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 500;
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
}
.h2--left { text-align: left; margin-inline: 0; }
h3 {
  font-size: var(--text-subheading);
  line-height: 1.33;
  letter-spacing: -0.01em;
  font-weight: 700;
}
.lede { max-width: var(--prose-max); margin: var(--s-24) auto 0; text-align: center; }
.prose { max-width: var(--prose-max); }
.prose .h2 { text-align: left; margin-inline: 0; max-width: none; margin-bottom: var(--s-32); }
.prose p + p { margin-top: var(--s-24); }
.pull {
  position: relative;
  margin-top: var(--s-40) !important;
  padding-left: var(--s-40);
  font-size: var(--text-subheading);
  line-height: 1.4;
  font-weight: 500;
}
.pull::before {
  content: "\201C";
  position: absolute; left: 0; top: -0.1em;
  font-size: 56px; line-height: 1;
  color: var(--sky);
  font-weight: 700;
}

/* Sections */
.section { padding-block: var(--s-64); }
@media (min-width: 720px) { .section { padding-block: var(--s-96); } }
.band { background: var(--band); }
.section__head { margin-bottom: var(--s-48); }
.section__cta { text-align: center; margin-top: var(--s-48); }
.friction {
  font-size: var(--text-body-sm);
  color: var(--fog);
  margin-top: var(--s-16);
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--cta);
  color: var(--paper);
  font-weight: 500;
  font-size: var(--text-body-sm);
  line-height: 1;
  padding: 14px 24px;
  border-radius: var(--r-btn);
  text-decoration: none;
  border: 0;
  min-height: 44px;
  transition: background-color .15s ease;
}
.btn:hover { background: var(--cta-hover); }
.btn--lg { font-size: var(--text-body); padding: 18px 32px; }
.btn--sm { padding: 12px 18px; font-size: var(--text-caption); }
.btn--block { display: block; text-align: center; width: 100%; }
.btn--outline { background: transparent; color: var(--cta); border: 1.5px solid var(--cta); padding: 13px 24px; }
.btn--outline:hover { background: var(--band); }

/* Nav */
.nav { background: var(--paper); border-bottom: 1px solid var(--wash); }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: var(--s-16);
}
.nav__logo img { width: 130px; }
@media (min-width: 720px) { .nav__inner { padding-block: var(--s-24); } .nav__logo img { width: 160px; } }

/* Hero */
.hero { padding-block: var(--s-48) var(--s-64); }
@media (min-width: 720px) { .hero { padding-block: var(--s-48) var(--s-80); } }
.hero__inner { text-align: center; }
.hero__kicker {
  font-size: var(--text-body-sm);
  font-weight: 500;
  color: var(--cta);
  margin-bottom: var(--s-24);
}
.hero__title {
  font-size: clamp(34px, 5.2vw, 64px);
  line-height: 1.13;
  letter-spacing: -0.03em;
  font-weight: 500;
  max-width: 980px;
  margin-inline: auto;
}
.hero__sub {
  max-width: var(--prose-max);
  margin: var(--s-24) auto 0;
}
.hero__cta { margin-top: var(--s-24); }
.hero__friction {
  font-size: var(--text-body-sm);
  color: var(--fog);
  margin-top: var(--s-16);
  max-width: 480px;
  margin-inline: auto;
}

.facts {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: var(--s-64);
  background: var(--band);
  border: 1px solid var(--sky);
  border-radius: var(--r-media);
  overflow: hidden;
}
@media (min-width: 600px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts__item {
  display: flex; gap: var(--s-16); align-items: flex-start;
  padding: var(--s-24);
  border-bottom: 1px solid var(--sky);
}
.facts__item:last-child { border-bottom: 0; }
@media (min-width: 600px) {
  .facts__item { border-right: 1px solid var(--sky); }
  .facts__item:nth-child(2n) { border-right: 0; }
  .facts__item:nth-child(n+3) { border-bottom: 0; }
}
@media (min-width: 900px) {
  .facts__item { padding: var(--s-32) var(--s-24); border-bottom: 0; }
  .facts__item:nth-child(2n) { border-right: 1px solid var(--sky); }
  .facts__item:last-child { border-right: 0; }
}
.facts__icon {
  flex: 0 0 28px; width: 28px; height: 28px;
  fill: none; stroke: var(--cta); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  margin-top: 2px;
}
.facts dt { font-size: var(--text-caption); color: var(--fog); font-weight: 500; margin-bottom: 6px; }
.facts dd { margin: 0; font-size: var(--text-body-sm); font-weight: 500; line-height: 1.45; }

/* Announcement bar */
.announce { background: var(--ink); color: var(--paper); font-size: var(--text-caption); }
.announce__inner { display: flex; align-items: center; justify-content: center; gap: 10px; padding-block: 10px; text-align: center; }
.announce__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); flex: 0 0 8px; }
.announce strong { color: var(--leaf); font-weight: 700; }
.announce__long { display: none; }
@media (min-width: 720px) { .announce__long { display: inline; } .announce__short { display: none; } }

/* Urgency + countdown */
.urgency {
  margin: var(--s-32) auto 0;
  max-width: 640px;
  background: var(--paper);
  border: 1px solid var(--sky);
  border-radius: var(--r-media);
  padding: var(--s-24);
}
.urgency__head { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: var(--s-16); }
.urgency__text { font-size: var(--text-body-sm); text-align: center; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--leaf-soft); color: var(--leaf-ink);
  font-size: var(--text-caption); font-weight: 700;
}
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 3px rgba(164,211,113,.35); }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-8); }
.countdown__cell {
  background: var(--band);
  border-radius: var(--r-btn);
  padding: 12px 4px 10px;
  display: flex; flex-direction: column; align-items: center;
}
.countdown__num {
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1; font-weight: 700; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.countdown__lbl { margin-top: 6px; font-size: 13px; color: var(--fog); font-weight: 500; }
.urgency--closing { margin-bottom: var(--s-48); }
.urgency.is-closed .countdown { display: none; }

/* Trainer */
.trainer { padding-block: var(--s-64); overflow: hidden; }
@media (min-width: 900px) { .trainer { padding-block: var(--s-96); } }
.trainer__inner {
  display: grid;
  gap: var(--s-40);
  align-items: center;
}
@media (min-width: 900px) {
  .trainer__inner { grid-template-columns: 1fr 340px; gap: var(--s-80); align-items: center; }
}
@media (max-width: 899px) { .trainer__figure { order: -1; } }
.trainer__figure {
  margin: 0;
  position: relative;
  width: min(78vw, 300px);
  margin-inline: auto;
  align-self: center;
}
@media (min-width: 900px) { .trainer__figure { width: 340px; } }
.trainer__disc {
  position: absolute;
  left: 50%; top: 42%;
  width: 118%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--sky);
  opacity: .55;
  z-index: 0;
}
.phone {
  position: relative; z-index: 1;
  aspect-ratio: 9 / 16;
  border-radius: 28px;
  overflow: hidden;
  background: var(--ink);
  border: 6px solid var(--ink);
  box-shadow: 0 20px 40px -20px var(--shadow-ink);
}
.phone__video { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--ink); }
.phone__play {
  position: absolute; inset: 0; margin: auto;
  width: 84px; height: 84px; border-radius: 50%;
  border: 0; cursor: pointer;
  background: rgba(255,255,255,.92);
  display: flex; align-items: center; justify-content: center;
  transition: transform .15s ease, background-color .15s ease;
}
.phone__play:hover { transform: scale(1.06); background: var(--paper); }
.phone__play svg { width: 40px; height: 40px; fill: var(--cta); margin-left: 4px; }
.phone.is-playing .phone__play { display: none; }
.trainer__caption {
  position: relative; z-index: 1;
  margin-top: var(--s-16);
  text-align: center;
  font-size: var(--text-caption);
  color: var(--fog);
}
.trainer__body .h2 { text-align: left; margin-inline: 0; max-width: none; }
.trainer__name { font-size: var(--text-subheading); font-weight: 700; margin: var(--s-24) 0 var(--s-8); }
.creds { margin-top: var(--s-24); display: grid; gap: var(--s-16); font-size: var(--text-body-sm); }
.creds li { position: relative; padding-left: 20px; }
.creds li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); }
.trainer__links {
  margin-top: var(--s-32);
  display: flex; align-items: center; flex-wrap: wrap; gap: var(--s-24);
  font-size: var(--text-body-sm); font-weight: 500;
}
.trainer__brand { width: 120px; }

/* Stats band over photo (only text-over-photo in the page, scrimmed) */
.stats { position: relative; }
.stats picture img { width: 100%; height: 100%; object-fit: cover; }
.stats picture { position: absolute; inset: 0; }
.stats__scrim {
  position: relative;
  background: linear-gradient(to right, var(--scrim), var(--scrim-light));
  color: var(--paper);
  padding-block: var(--s-64);
  min-height: 300px;
  display: flex; align-items: center;
}
.stats__grid {
  display: grid; gap: var(--s-32);
  grid-template-columns: 1fr;
  max-width: 960px;
  text-align: center;
}
@media (min-width: 720px) { .stats__grid { grid-template-columns: repeat(3, 1fr); } }
.stats__grid div { display: flex; flex-direction: column; align-items: center; }
.stats__grid strong {
  font-size: clamp(48px, 7vw, 72px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.stats__grid strong::after { content: "+"; font-size: .5em; vertical-align: top; margin-left: 2px; color: var(--sky); }
.stats__grid div:nth-child(3) strong::after { content: none; }
.stats__grid span { margin-top: var(--s-8); font-size: var(--text-body-sm); }

/* Program */
.program {
  display: grid; gap: var(--s-40);
}
@media (min-width: 900px) { .program { grid-template-columns: repeat(3, 1fr); gap: var(--s-48); } }
.program__block h3 {
  padding-bottom: var(--s-16);
  border-bottom: 1px solid var(--sky);
  margin-bottom: var(--s-24);
}
.checks { display: grid; gap: var(--s-16); font-size: var(--text-body-sm); }
.checks li { position: relative; padding-left: 32px; }
.checks li::before {
  content: "";
  position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--leaf);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23222' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Profiles */
.profiles { display: grid; gap: var(--s-32); max-width: 960px; margin-inline: auto; }
.profile + .profile { border-top: 1px solid var(--sky); padding-top: var(--s-32); }
@media (min-width: 900px) {
  .profiles { grid-template-columns: 1fr 1fr; gap: 0; }
  .profile { padding-inline: var(--s-40); }
  .profile:first-child { padding-left: 0; }
  .profile + .profile { border-top: 0; padding-top: 0; border-left: 1px solid var(--sky); }
}
.profile h3 { margin-bottom: var(--s-16); }
.profile p { font-size: var(--text-body-sm); }

/* Host */
.host {
  display: grid; gap: var(--s-24);
  max-width: 820px;
  align-items: start;
}
@media (min-width: 720px) { .host { grid-template-columns: 140px 1fr; gap: var(--s-40); } }
.host__photo { width: 140px; border-radius: var(--r-media); }
.host__body .h2 { margin-bottom: var(--s-16); }
.host__body p { font-size: var(--text-body-sm); }
.host__body p + p { margin-top: var(--s-16); }

/* Details */
.details { display: grid; gap: var(--s-40); }
@media (min-width: 900px) { .details { grid-template-columns: repeat(3, 1fr); gap: var(--s-48); } }
.details__col h3 { padding-bottom: var(--s-16); border-bottom: 1px solid var(--sky); margin-bottom: var(--s-16); }
.schedule { width: 100%; border-collapse: collapse; font-size: var(--text-body-sm); }
.schedule th { text-align: left; font-weight: 500; padding: var(--s-8) 0; }
.schedule td { text-align: right; padding: var(--s-8) 0; font-weight: 700; white-space: nowrap; }
.details__note { font-size: var(--text-caption); color: var(--fog); margin-top: var(--s-16); line-height: 1.5; }
.details__address { font-size: var(--text-body-sm); line-height: 1.5; }
.details__price { font-size: 48px; line-height: 1; letter-spacing: -0.02em; font-weight: 500; }

/* Map */
.map__frame {
  border: 1px solid var(--sky);
  border-radius: var(--r-media);
  overflow: hidden;
  background: var(--band);
  aspect-ratio: 16 / 9;
}
@media (max-width: 720px) { .map__frame { aspect-ratio: 4 / 3; } }
.map__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s-24); margin-top: var(--s-24); }
.map__link { font-size: var(--text-body-sm); font-weight: 500; }

/* FAQ */
.faq { max-width: 760px; }
.faq__item { border-bottom: 1px solid var(--sky); }
.faq__item:first-of-type { border-top: 1px solid var(--sky); }
.faq__item summary {
  cursor: pointer; list-style: none;
  padding: var(--s-24) 40px var(--s-24) 0;
  font-weight: 700; font-size: var(--text-body);
  position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: 8px; top: 50%;
  width: 10px; height: 10px; border-right: 2px solid var(--cta); border-bottom: 2px solid var(--cta);
  transform: translateY(-70%) rotate(45deg); transition: transform .15s ease;
}
.faq__item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq__item p { padding: 0 0 var(--s-24); font-size: var(--text-body-sm); color: var(--ink-soft); }

/* Closing + form */
.closing { padding-bottom: var(--s-96); }
.closing__grid { display: grid; gap: var(--s-32); align-items: center; max-width: 960px; margin: 0 auto var(--s-48); }
.closing__figure { position: relative; margin: 0 auto; width: min(55vw, 200px); }
.closing__figure img { position: relative; z-index: 1; }
.closing__figure .trainer__disc { top: auto; bottom: 0; transform: translateX(-50%); width: 100%; }
.closing__body .recap { margin-bottom: var(--s-32); }
.closing__body .urgency--closing { margin: 0; }
@media (min-width: 900px) {
  .closing__grid { grid-template-columns: 260px 1fr; gap: var(--s-64); }
  .closing__figure { width: 260px; }
}
.recap {
  max-width: var(--prose-max);
  margin: 0 auto var(--s-48);
  display: grid; gap: var(--s-8);
  font-size: var(--text-body-sm);
}
.recap li { position: relative; padding-left: 20px; }
.recap li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); }
.form-wrap {
  max-width: 760px;
  margin-inline: auto;
  border: 1px solid var(--sky);
  border-radius: var(--r-media);
  padding: var(--s-8);
  min-height: 520px;
  background: var(--paper);
}
.closing .friction { max-width: 560px; margin-inline: auto; }

/* Footer */
.footer { background: var(--ink); color: var(--paper); padding-block: var(--s-64); }
.footer__inner { display: grid; gap: var(--s-24); justify-items: start; font-size: var(--text-caption); }
.footer img { width: 130px; filter: brightness(0) invert(1); opacity: .9; }
.footer__links { display: flex; flex-wrap: wrap; gap: var(--s-8) var(--s-24); }
.footer__links a, .footer__btn { display: inline-block; padding-block: 12px; }
.footer a { color: var(--paper); }

/* Legal pages */
.legal { max-width: 760px; }
.legal .h2 { margin-bottom: var(--s-16); }
.legal__meta { color: var(--fog); font-size: var(--text-body-sm); margin-bottom: var(--s-40); }
.legal h2 { font-size: var(--text-heading-sm); line-height: 1.29; letter-spacing: -0.01em; font-weight: 700; margin: var(--s-40) 0 var(--s-16); }
.legal h3 { font-size: var(--text-body); margin: var(--s-24) 0 var(--s-8); }
.legal p { font-size: var(--text-body-sm); margin-bottom: var(--s-16); }
.legal__table { width: 100%; border-collapse: collapse; font-size: var(--text-caption); line-height: 1.45; margin-bottom: var(--s-16); }
.legal__table th, .legal__table td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--wash); }
.legal__table th { font-weight: 700; color: var(--fog); }
@media (max-width: 600px) {
  .legal__table thead { display: none; }
  .legal__table tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--wash); }
  .legal__table td { display: block; border: 0; padding: 2px 0; }
  .legal__table td:first-child { font-weight: 700; }
}

/* Cookie consent */
.consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: var(--paper);
  border-top: 1px solid var(--sky);
  box-shadow: 0 -1px 0 var(--sky);
  padding-block: var(--s-16) calc(var(--s-16) + env(safe-area-inset-bottom));
  font-size: var(--text-caption);
  line-height: 1.5;
  max-height: 85vh; overflow: auto;
}
.consent[hidden] { display: none; }
.consent__inner { display: grid; gap: var(--s-16); }
.consent__title { font-weight: 700; font-size: var(--text-body-sm); margin-bottom: 4px; }
.consent__text p { color: var(--ink-soft); }
.consent__text a { color: var(--cta); }
.consent__prefs { display: grid; gap: var(--s-8); }
.consent__prefs[hidden] { display: none; }
.consent__row {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-16);
  padding: 10px 12px; border: 1px solid var(--wash); border-radius: var(--r-btn);
}
.consent__row small { color: var(--fog); }
.consent__row input { width: 20px; height: 20px; flex: 0 0 20px; accent-color: var(--cta); }
.consent__actions { display: flex; flex-wrap: wrap; gap: var(--s-8); align-items: center; }
.consent__actions .btn { font-size: var(--text-caption); padding: 12px 18px; }
.consent__actions [hidden] { display: none; }
.consent__link {
  background: none; border: 0; padding: 12px 8px; cursor: pointer;
  color: var(--cta); font: inherit; font-weight: 500; text-decoration: underline; text-underline-offset: 3px;
}
@media (min-width: 900px) {
  .consent__inner { grid-template-columns: 1fr auto; align-items: center; }
  .consent__prefs { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
  .consent__actions { justify-content: flex-end; }
}
body.has-consent-open .sticky { display: none; }
.footer__btn { background: none; border: 0; padding-inline: 0; color: var(--paper); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; line-height: inherit; }

/* Mobile sticky CTA */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96);
  border-top: 1px solid var(--wash);
  z-index: 20;
  transform: translateY(0);
  transition: transform .2s ease;
}
.sticky.is-hidden { transform: translateY(110%); }
@media (min-width: 900px) { .sticky { display: none; } }
@media (max-width: 899px) { body { padding-bottom: 76px; } }
