/* Gomez Fitness: one shared stylesheet for every page. Tokens live here only. */
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #C8102E;
  --red-dark: #A30D25;
  --red-tint: #FBECEE;
  --ink: #16161A;
  --muted: #55504B;
  --white: #FFFFFF;
  --warm: #F6F3EE;
  --line: #E6E0D8;

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --radius-pill: 999px;
  --max: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(56px, 9vw, 104px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--warm { background: var(--warm); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--red); margin-bottom: .9rem;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 12px 26px; border-radius: var(--radius-pill);
  font: 700 1rem/1.2 var(--font); text-decoration: none; border: 2px solid transparent;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-dark); color: var(--white); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--white); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: block; width: 150px; flex-shrink: 0; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); }
.nav a:not(.btn) {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: 10px 2px; border-bottom: 3px solid transparent;
}
.nav a:not(.btn):hover { color: var(--red); }
.nav a[aria-current="page"] { border-bottom-color: var(--red); }
.nav .btn { min-height: 44px; padding: 10px 20px; font-size: .95rem; }
.lbl-short { display: none; }
@media (max-width: 720px) {
  .site-header { position: static; }
  .lbl-long { display: none; }
  .lbl-short { display: inline; }
  .site-header .wrap { flex-wrap: wrap; padding-top: 10px; padding-bottom: 6px; min-height: 0; }
  .brand { width: 128px; }
  .nav { width: 100%; justify-content: space-between; }
  .nav .btn { padding: 8px 16px; font-size: .9rem; }
}

/* Hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 var(--section); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 380px; column-gap: clamp(32px, 6vw, 80px);
  grid-template-areas: "copy card" "actions card" "points card";
}
.hero-card { grid-area: card; align-self: center; background: var(--white); border: 1px solid var(--line); border-top: 6px solid var(--red); border-radius: var(--radius); padding: 28px 28px 30px; box-shadow: 0 18px 40px -24px rgba(22, 22, 26, .35); display: flex; flex-direction: column; }
.hero-card h2 { font-size: 1.45rem; margin-bottom: 1.1rem; }
.hero-steps { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 16px; counter-reset: hs; }
.hero-steps li { counter-increment: hs; display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; align-items: start; }
.hero-steps li::before { content: counter(hs); grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; background: var(--red-tint); color: var(--red); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.hero-steps strong { font-size: 1.02rem; }
.hero-steps span { color: var(--muted); font-size: .95rem; line-height: 1.45; }
.hero-card .btn { width: 100%; }
@media (max-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 1fr) 320px; } }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "actions" "points" "card"; }
  .hero-card { margin-top: 2rem; }
}
.hero-copy { grid-area: copy; }
.hero-copy .lead { max-width: 40em; }
.hero h1 span { color: var(--red); }
.hero-actions { grid-area: actions; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.2rem; }
.hero-points { grid-area: points; list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .8rem; line-height: 1.25; }
.hero-points li { display: flex; gap: .55em; align-items: baseline; font-weight: 700; font-size: clamp(1.4rem, 2.3vw, 1.85rem); }
.hero-points li::before { content: ""; flex: 0 0 .45em; height: .45em; border-radius: 50%; background: var(--red); transform: translateY(-1px); }
@media (max-width: 560px) {
  .hero-points { margin-top: 1.6rem; gap: .75rem; }
  .hero-points li { font-size: 1.3rem; }
}

/* Photo placeholder: replace with real <img> (AVIF/WebP, explicit width/height) */
.photo {
  aspect-ratio: 4 / 5; width: 100%; border-radius: var(--radius);
  background: var(--red-tint); border: 2px dashed #E7A9B3;
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--red-dark); font-weight: 700; padding: 24px;
}
.photo--wide { aspect-ratio: 4 / 3; }

/* Story */
.story { max-width: 46em; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.quote { font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 700; line-height: 1.35; border-left: 0; margin: 1.4rem 0; color: var(--ink); }
.quote::before { content: ""; display: block; width: 56px; height: 6px; background: var(--red); margin-bottom: 1rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Journey steps */
.steps { list-style: none; padding: 0; margin: 2.4rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; counter-increment: step; }
.steps li::before {
  content: counter(step, decimal-leading-zero); display: block; font-weight: 800; font-size: .9rem;
  color: var(--red); letter-spacing: .1em; margin-bottom: .6rem;
}
.steps h3 { margin-bottom: .35em; }
.steps p { margin: 0; color: var(--muted); font-size: .98rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Program cards */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 2.4rem; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; background: var(--white); }
.card--accent { border-top: 6px solid var(--red); }
.card .tag { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: .6rem; }
.card ul { padding-left: 1.1em; margin: 0 0 1.4rem; color: var(--muted); }
.card li { margin-bottom: .3em; }
.card .btn { margin-top: auto; align-self: flex-start; }
.note { margin-top: 1.6rem; color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }

/* Wins list */
.wins { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.wins li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 8px 16px; font-weight: 600; font-size: .95rem; }

/* Form */
.form-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 700; font-size: .95rem; }
.field .hint { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  font: 500 1rem/1.4 var(--font); color: var(--ink); background: var(--white);
  border: 1.5px solid #CFC7BD; border-radius: 10px; padding: 12px 14px; min-height: 48px; width: 100%;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); outline: 3px solid rgba(200,16,46,.18); outline-offset: 0; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid #CFC7BD; border-radius: var(--radius-pill); padding: 8px 14px; font-weight: 600; font-size: .95rem; cursor: pointer; min-height: 44px; }
.checks input { width: 18px; height: 18px; accent-color: var(--red); margin: 0; }
.form .btn { width: 100%; }
.form-status { margin: 0; font-weight: 600; color: var(--red-dark); }
.fine { font-size: .85rem; color: var(--muted); margin: 0; }
/* Honeypot: off-screen, never display:none (see docs) */
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 860px) { .form-wrap { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }

/* Area */
.area { text-align: center; }
.area .lead { margin: 0 auto; }

/* Inner-page hero (About, Coaching) */
.page-hero { padding: clamp(40px, 7vw, 88px) 0 clamp(32px, 5vw, 56px); }
.page-hero h1 { max-width: 16em; }
.page-hero h1 span { color: var(--red); }

/* Before / after */
.ba { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 3vw, 32px); max-width: 1080px; margin-top: 2rem; }
.ba figure { margin: 0; position: relative; }
.ba img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; border-radius: var(--radius); background: var(--line); }
.ba figcaption {
  position: absolute; left: 12px; top: 12px; background: var(--white); color: var(--ink);
  font-weight: 800; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: var(--radius-pill);
}
.ba figure:last-child figcaption { background: var(--red); color: var(--white); }
.ba-note { margin-top: 1rem; max-width: 46em; }

/* Beliefs */
.beliefs { list-style: none; padding: 0; margin: 1.6rem 0 2rem; display: grid; gap: .9rem; }
.beliefs li { font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 800; line-height: 1.2; display: flex; gap: .55em; align-items: baseline; }
.beliefs li::before { content: ""; flex: 0 0 .45em; height: .45em; border-radius: 50%; background: var(--red); }

/* Two columns */
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 80px); align-items: start; }
.two-col h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }
.todo { margin-top: 1.4rem; border: 2px dashed #E7A9B3; background: var(--red-tint); color: var(--red-dark); border-radius: var(--radius); padding: 18px 20px; font-weight: 700; }

/* CTA band */
.cta-band { background: var(--red); color: var(--white); padding: clamp(48px, 7vw, 80px) 0; text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { max-width: 34em; margin: 0 auto 1.6rem; font-size: 1.1rem; }
.btn--light { background: var(--white); color: var(--red); }
.btn--light:hover { background: var(--ink); color: var(--white); }

/* Coaching page */
.page-hero .hero-actions { margin-top: 1.6rem; }
.features { list-style: none; padding: 0; margin: 2.2rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 36px; }
.features li { border-top: 3px solid var(--red); padding-top: 16px; }
.features h3 { margin-bottom: .35em; }
.features p { margin: 0; color: var(--muted); font-size: .98rem; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.cards--detail .card { scroll-margin-top: 96px; }
.cards--detail h3 { font-size: 1.4rem; }
.card h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin: .6rem 0 .5rem; color: var(--ink); }
.compare-wrap { overflow-x: auto; margin-top: 2.4rem; }
.compare { width: 100%; max-width: 760px; border-collapse: collapse; font-size: 1rem; }
.compare caption { text-align: left; font-weight: 800; font-size: 1.2rem; margin-bottom: .8rem; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.compare thead th { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--red); border-bottom: 2px solid var(--ink); }
.compare tbody th { font-weight: 600; }
.compare td { font-weight: 700; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.two-col h3 { font-size: 1.3rem; }
.note-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
.note-card .btn { margin-top: .4rem; }
.faq { margin-top: 1.8rem; max-width: 820px; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 700; font-size: 1.05rem; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 600; color: var(--red); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* Footer */
.site-footer { background: var(--ink); color: #D9D4CE; padding: 56px 0 32px; font-size: .95rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer a { color: #FFFFFF; text-decoration: none; }
.site-footer a:hover { color: #FFB3BF; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #FFFFFF; margin-bottom: 1rem; }
.foot-logo { width: 120px; margin-bottom: 1rem; }
.copyright { grid-column: 1 / -1; border-top: 1px solid #34343A; padding-top: 20px; margin-top: 8px; font-size: .85rem; color: #A9A39C; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }
