/* The Gym TX — single-page marketing site.
   Brand colors live here; swap these when the real brand is ready. */
:root {
  --bg: #0e0e10;
  --surface: #17171a;
  --surface-2: #1f1f24;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --accent: #ff5a1f;
  --accent-soft: rgba(255, 90, 31, 0.14);
  --line: #2a2a30;
  --radius: 14px;
  --maxw: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(14, 14, 16, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 16px; height: 64px; }
.logo { font-weight: 800; font-size: 1.15rem; letter-spacing: 0.02em; text-decoration: none; }
.logo span { color: var(--accent); }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: 0.95rem; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.cta-small {
  background: var(--accent); color: #fff !important;
  padding: 8px 14px; border-radius: 999px; font-weight: 600;
}
.nav-toggle {
  display: none; background: none; border: 0; color: var(--text);
  font-size: 1.4rem; cursor: pointer;
}

/* hero */
.hero { position: relative; min-height: 78vh; display: flex; align-items: center; }
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.55;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,14,16,0.2), rgba(14,14,16,0.9));
}
.hero-content { position: relative; z-index: 1; padding: 96px 20px; }
.hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); line-height: 1.1; margin: 0 0 12px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 54ch; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* buttons */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface-2);
  color: var(--text); font-weight: 600; font-size: 1rem;
  padding: 12px 20px; border-radius: 999px;
}
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.ghost { background: transparent; }
.btn:hover { filter: brightness(1.1); }

/* sections */
.section { padding: 72px 0; }
.section.alt { background: var(--surface); }
.section h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin: 0 0 8px; }
.section-sub { color: var(--muted); margin: 0 0 28px; max-width: 60ch; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.cards .card {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
}
.card img { border-radius: 10px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 14px; }
.card h3, .card h4 { margin: 0 0 8px; font-size: 1.17rem; }
.card p { margin: 0 0 10px; color: var(--muted); }
.card .cred { font-size: 0.85rem; color: var(--accent); text-transform: uppercase; letter-spacing: 0.05em; }
.more { color: var(--accent); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.coach img { aspect-ratio: 1 / 1; }
.coach-single {
  display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: center;
  max-width: 820px;
}
.coach-single img { margin-bottom: 0; }

.story-lead { font-size: 1.15rem; font-weight: 600; }
.two-col { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; }
.ticks { list-style: none; padding: 0; margin: 16px 0 0; }
.ticks li { padding: 6px 0 6px 28px; position: relative; color: var(--muted); }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gallery img { border-radius: 10px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 7; }

/* pricing */
.price { text-align: left; display: flex; flex-direction: column; }
.price .amount { font-size: 1.9rem; font-weight: 800; margin: 6px 0 14px; }
.price ul { list-style: none; padding: 0; margin: 0 0 18px; color: var(--muted); }
.price li { padding: 5px 0 5px 24px; position: relative; }
.price li::before { content: "•"; position: absolute; left: 0; color: var(--accent); }
.price .btn { margin-top: auto; }
.price-group { margin: 28px 0 14px; font-size: 1.3rem; }
.price-group:first-of-type { margin-top: 0; }
.featured { border-color: var(--accent); background: var(--accent-soft); }
.fine { color: var(--muted); font-size: 0.85rem; }

/* testimonials */
.quote { margin: 0; }
.quote blockquote { margin: 0 0 12px; font-size: 1.02rem; color: var(--text); }
.quote figcaption { color: var(--muted); font-size: 0.9rem; }

/* contact */
#contact-form label { display: block; margin-bottom: 14px; color: var(--muted); font-size: 0.92rem; }
#contact-form input, #contact-form textarea {
  width: 100%; margin-top: 6px; padding: 11px 12px;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--line); border-radius: 10px; font: inherit;
}
#contact-form input:focus, #contact-form textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
#contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.turnstile { margin-bottom: 14px; min-height: 65px; }
.btn:disabled { opacity: 0.6; cursor: wait; }
.info { display: grid; gap: 16px; }
.info .card { margin: 0; }
.info a { color: var(--accent); text-decoration: none; }
.socials { margin-top: 10px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 20px 0; color: var(--muted); font-size: 0.9rem; }
.foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* mobile */
@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr; }
  .coach-single { grid-template-columns: 1fr; gap: 0; }
  .coach-single img { margin-bottom: 14px; max-width: 320px; }
  .two-col { grid-template-columns: 1fr; gap: 28px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start;
    background: var(--surface); padding: 16px 20px; gap: 14px;
    border-bottom: 1px solid var(--line);
  }
  body.nav-open .nav-links { display: flex; }
  .hero { min-height: 66vh; }
}
