/* Web provisional MONTIFIT. Colores y tipografías iguales a la app (App/app/tokens.css). */
:root {
  --red-500: #ff3b20;
  --red-gradient-end: #ff4a1c;
  --red-100: #ffede9;
  --red-700: #b8240e;
  --gradient-primary: linear-gradient(90deg, var(--red-500), var(--red-gradient-end));

  --ink: #0d0d0d;
  --graphite: #3a3a3a;
  --text-2: #6e6e6b;
  --text-3: #8a8a8a;

  --bg: #f2f2f0;
  --surface: #ffffff;
  --border: #e4e0dc;
  --divider: #efece9;

  --r-md: 8px;
  --r-card: 10px;
  --r-pill: 999px;

  --shadow-primary: 0 6px 16px rgba(255, 59, 32, 0.22);
  --shadow-primary-hover: 0 10px 24px rgba(255, 59, 32, 0.38);

  --font-base: "Barlow Condensed", sans-serif;
  --font-display: "Teko", sans-serif;

  --max: 1040px;
  --gutter: 20px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-base);
  font-size: 19px;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Encabezado */
.header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  width: 36px;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding-top: 4px;
}

.header-link {
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  color: var(--red-700);
}

/* Botón principal */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: var(--r-md);
  background: var(--gradient-primary);
  color: #fff;
  font-family: var(--font-base);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: var(--shadow-primary);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  box-shadow: var(--shadow-primary-hover);
  transform: translateY(-1px);
}

.btn:focus-visible,
a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.btn svg {
  width: 22px;
  height: 22px;
  flex: none;
}

/* Portada */
.hero {
  padding: 64px 0 56px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--red-500);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0;
}

h1 {
  font-size: clamp(46px, 9vw, 84px);
  max-width: 14ch;
}

.lead {
  max-width: 46ch;
  margin: 22px 0 32px;
  font-size: 21px;
  color: var(--graphite);
}

.cta-note {
  margin: 12px 0 0;
  font-size: 16px;
  color: var(--text-2);
}

/* Secciones */
.section {
  padding: 56px 0;
  border-top: 1px solid var(--border);
}

.section h2 {
  font-size: clamp(36px, 6vw, 52px);
  margin-bottom: 24px;
}

.section-intro {
  max-width: 52ch;
  margin: -8px 0 28px;
  color: var(--graphite);
}

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

.list li {
  position: relative;
  padding-left: 26px;
  color: var(--graphite);
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 12px;
  height: 2px;
  background: var(--red-500);
}

.list strong {
  color: var(--ink);
  font-weight: 600;
}

.cards {
  display: grid;
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 26px 24px;
}

.card h3 {
  font-size: 34px;
  margin-bottom: 4px;
}

.card .tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 2px 12px;
  border-radius: var(--r-pill);
  background: var(--red-100);
  color: var(--red-700);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card p {
  margin: 0;
  color: var(--graphite);
}

.fine {
  margin: 18px 0 0;
  font-size: 16px;
  color: var(--text-2);
}

.coach {
  display: grid;
  gap: 8px;
  max-width: 60ch;
  color: var(--graphite);
}

.coach p {
  margin: 0;
}

.place {
  display: grid;
  gap: 6px;
}

.place p {
  margin: 0;
  color: var(--graphite);
}

.place .place-name {
  color: var(--ink);
  font-weight: 600;
  font-size: 22px;
}

.text-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
  color: var(--red-700);
}

.contact {
  padding: 64px 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.contact p {
  max-width: 44ch;
  margin: 0 0 28px;
  color: var(--graphite);
}

/* Pie */
.footer {
  padding: 40px 0 48px;
  border-top: 1px solid var(--border);
  font-size: 16px;
  color: var(--text-2);
}

.footer p {
  margin: 0 0 6px;
}

.footer .legal-name {
  color: var(--ink);
  font-weight: 600;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 18px;
}

.footer nav a {
  font-weight: 600;
  color: var(--graphite);
}

/* Página de texto legal */
.doc {
  padding: 48px 0 64px;
}

.doc .wrap {
  max-width: 760px;
}

.doc h1 {
  font-size: clamp(40px, 8vw, 64px);
  max-width: none;
  margin-bottom: 12px;
}

.doc .updated {
  margin: 0 0 32px;
  color: var(--text-2);
  font-size: 16px;
}

.doc h2 {
  font-size: 30px;
  margin: 40px 0 12px;
}

.doc p,
.doc li {
  color: var(--graphite);
}

.doc ul {
  padding-left: 22px;
}

.doc li {
  margin-bottom: 6px;
}

.doc .box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 20px 22px;
}

.doc .box p {
  margin: 0 0 4px;
}

@media (min-width: 760px) {
  :root {
    --gutter: 32px;
  }

  .hero {
    padding: 96px 0 88px;
  }

  .section {
    padding: 80px 0;
  }

  .split {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: start;
  }

  .split h2 {
    margin-bottom: 0;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }
}
