/* West Training — clean, mobile-friendly theme */
:root {
  --bg: #0a0a0a;
  --bg-soft: #121212;
  --card: #171717;
  --line: #2b2b2b;
  --text: #f7f4ec;
  --muted: #b3aa99;
  --accent: #dbb036;
  --accent-dark: #b8912a;
  --good: #dbb036;
  --check: #a855f7;
  --bad: #ef4444;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 18px; }

/* Header / nav */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 18px; max-width: 1080px; margin: 0 auto;
  flex-wrap: wrap;
}
.brand { font-weight: 800; font-size: 1.25rem; letter-spacing: 0.5px; color: var(--text); }
.brand span { color: var(--accent); }
.brand:hover { text-decoration: none; }
.nav-links { display: flex; gap: 4px; flex-wrap: wrap; margin-left: auto; align-items: center; }
.nav-links a {
  color: var(--muted); padding: 7px 10px; border-radius: 8px; font-size: 0.95rem;
}
.nav-links a:hover { color: var(--text); background: var(--bg-soft); text-decoration: none; }
.nav-links a.cta {
  background: linear-gradient(135deg, #f2d67c, #dbb036 45%, #a87f1f); color: #141414; font-weight: 700;
}
.nav-links a.cta:hover { background: var(--accent-dark); color: #141414; }

/* Hero */
.hero-bg {
  background:
    linear-gradient(rgba(5, 5, 5, 0.62), rgba(5, 5, 5, 0.74)),
    url('/assets/img/hero-bg.jpg?v=2') center 32% / cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.hero-bg h1 { text-shadow: 0 2px 20px rgba(0, 0, 0, 0.65); }
.hero-bg p.lede { color: #ddd6c4; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7); }
.hero { padding: 76px 0 62px; text-align: center; }
.hero h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); line-height: 1.1; margin: 0 0 14px; }
.hero h1 .hl { color: var(--accent); }
.hero p.lede { font-size: clamp(1.05rem, 2.5vw, 1.3rem); color: var(--muted); max-width: 640px; margin: 0 auto 26px; }
.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--accent);
  border: 1px solid var(--accent); border-radius: 999px; padding: 4px 12px; margin-bottom: 18px;
}
.btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Photos */
.hero-banner {
  width: 100%; height: min(38vw, 330px); object-fit: cover; object-position: center 30%;
  border-radius: 16px; margin-top: 34px; display: block;
}
/* Feature rows: small photo beside a statement */
.feature-row {
  display: grid; grid-template-columns: 148px 1fr; gap: 18px;
  align-items: center; margin-top: 30px;
}
.feature-row img {
  width: 100%; height: 110px; object-fit: cover; object-position: center 25%;
  border-radius: 12px; display: block;
}
.feature-row h3 { font-size: 1.25rem; margin: 0 0 6px; }
.feature-row p { color: var(--muted); margin: 0; max-width: 520px; }
.feature-row.rev { grid-template-columns: 1fr 148px; }
.feature-row.rev img { order: 2; }
.feature-row.rev .feature-text { order: 1; }
@media (max-width: 700px) {
  .feature-row, .feature-row.rev { grid-template-columns: 82px 1fr; gap: 12px; }
  .feature-row img { height: 82px; }
  .feature-row h3 { font-size: 1.05rem; }
  .feature-row p { font-size: 0.92rem; }
}
.photo-med { max-width: 300px; margin-left: auto; margin-right: auto; height: 160px; }
.photo-small { max-width: 400px; height: 250px; }
.photo-band { height: 220px; }
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.photo-strip img {
  width: 100%; height: 360px; object-fit: cover; object-position: center 25%;
  border-radius: 14px; display: block;
}
.page-photo {
  width: 100%; height: 300px; object-fit: cover; object-position: center 25%;
  border-radius: 14px; display: block; margin: 0 0 26px;
}
@media (max-width: 640px) {
  .photo-strip { grid-template-columns: 1fr; }
  .photo-strip img { height: 260px; }
  .page-photo { height: 220px; }
}
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 10px;
  font-weight: 700; font-size: 1rem; border: 1px solid transparent; cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, #f2d67c, #dbb036 45%, #a87f1f); color: #141414; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--muted); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 840px; margin: 0 auto; }
@media (max-width: 820px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card { text-align: left; }
.price-card.featured { border: 2px solid var(--accent); }
.price { font-size: 2.3rem; font-weight: 800; line-height: 1; margin: 10px 0 2px; }
.price span { font-size: 1rem; font-weight: 600; color: var(--muted); }
.price-note { color: var(--muted); font-size: 0.92rem; margin: 0 0 6px; }
.checklist { list-style: none; padding: 0; margin: 14px 0 20px; }
.checklist li { padding: 7px 0 7px 38px; position: relative; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 5px; width: 24px; height: 24px;
  border: 2px solid var(--check); border-radius: 50%; color: var(--check);
  font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
/* Coach intro photo */
.feature-row.coach { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 18px; }
.feature-row.coach img { width: 190px; height: 238px; }
.feature-row.coach > div:not(.coach-photo) { width: min(100%, 760px); }
.feature-row.coach p { margin-left: auto; margin-right: auto; max-width: 760px; text-wrap: balance; }
@media (max-width: 640px) {
  .feature-row.coach { grid-template-columns: 1fr; }
  .feature-row.coach img { width: 150px; height: 188px; }
}
/* Keep the How It Works line on a single line */
.section-sub.one-line { white-space: nowrap; max-width: none; font-size: clamp(0.7rem, 2.9vw, 1.05rem); }
/* Centered statement row */
.feature-row.centered { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.feature-row.centered p { margin-left: auto; margin-right: auto; }
.feature-row.centered img { width: 300px; height: 212px; }
@media (max-width: 640px) {
  .feature-row.centered { grid-template-columns: 1fr; }
  .feature-row.centered img { width: min(80vw, 300px); height: auto; aspect-ratio: 4 / 3; }
}
/* Big pricing headline, TrainHeroic-style */
.big-headline {
  font-size: clamp(2.1rem, 6.5vw, 3.4rem); font-weight: 900; font-style: italic;
  text-transform: uppercase; line-height: 1.05; letter-spacing: -0.5px;
  margin: 0 0 12px; text-align: center;
}
.swipe { background-image: linear-gradient(to top, rgba(219, 176, 54, 0.9) 34%, transparent 34%); padding: 0 8px; }
.join-list { list-style: none; padding: 0; margin: 24px auto 36px; max-width: 580px; text-align: left; }
.join-list li { padding: 9px 0 9px 44px; position: relative; font-size: 1.08rem; }
.join-list li::before {
  content: "✓"; position: absolute; left: 0; top: 7px; width: 27px; height: 27px;
  border: 2px solid var(--check); border-radius: 50%; color: var(--check);
  font-size: 15px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}

/* Sections & cards */
section.block { padding: 42px 0; }
section.block.alt { background: var(--bg-soft); }
h2.section-title { font-size: clamp(1.5rem, 3.5vw, 2.1rem); margin: 0 0 8px; }
p.section-sub { color: var(--muted); margin: 0 0 26px; max-width: 640px; }
.grid { display: grid; gap: 16px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 820px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
}
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
}
.card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); }
.card .big { font-size: 2rem; font-weight: 800; color: var(--text); }
.tag {
  display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.6px;
  text-transform: uppercase; padding: 3px 9px; border-radius: 999px;
  background: var(--bg-soft); color: var(--accent); border: 1px solid var(--line);
}
ol.steps, ul.clean { margin: 0; padding-left: 20px; color: var(--muted); }
ol.steps li, ul.clean li { margin-bottom: 10px; }
ol.steps li strong, ul.clean li strong { color: var(--text); }

/* Tables */
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.6px; }

/* Forms */
.form-card { max-width: 640px; margin: 0 auto; }
label.field { display: block; margin-bottom: 16px; font-weight: 600; font-size: 0.95rem; }
label.field small { display: block; font-weight: 400; color: var(--muted); margin-top: 2px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
input[type="date"], input[type="password"], select, textarea {
  width: 100%; margin-top: 6px; padding: 11px 12px;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--line); border-radius: 9px; font: inherit; font-size: 0.97rem;
}
textarea { min-height: 84px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; font-weight: 500; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.form-msg { display: none; border-radius: 10px; padding: 13px 16px; margin-top: 16px; font-weight: 600; }
.form-msg.ok { display: block; background: rgba(219, 176, 54, 0.14); border: 1px solid var(--good); color: #f3dfa0; }
.form-msg.err { display: block; background: rgba(239, 68, 68, 0.12); border: 1px solid var(--bad); color: #fecaca; }
button[type="submit"] { width: 100%; }

/* My Week */
.week-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
@media (max-width: 900px) { .week-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .week-grid { grid-template-columns: 1fr; } }
.day-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; min-height: 132px; }
.day-card.today { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.day-card .dow { font-size: 0.78rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.day-card.today .dow { color: var(--accent); }
.day-card h3 { margin: 6px 0 6px; font-size: 1.02rem; }
.day-card p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.day-card details { margin-top: 10px; }
.day-card summary { cursor: pointer; color: var(--accent); font-weight: 600; font-size: 0.9rem; }
.kind-rest { opacity: 0.75; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 30px; padding: 30px 0 40px; color: var(--muted); font-size: 0.9rem; }
.site-footer .row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.disclaimer { font-size: 0.82rem; margin-top: 16px; max-width: 760px; }

/* Admin */
.admin-shell { max-width: 1180px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin-bottom: 26px; }
.stat-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-align: center; }
.stat-card .num { font-size: 1.8rem; font-weight: 800; }
.stat-card .lbl { color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.6px; }
.status-select { width: auto; margin: 0; padding: 6px 8px; font-size: 0.88rem; }
.pill { font-size: 0.75rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); }
button.small, .btn.small { padding: 7px 13px; font-size: 0.88rem; width: auto; }
button.danger { background: transparent; color: #fca5a5; border: 1px solid var(--bad); border-radius: 9px; cursor: pointer; font-weight: 600; }
button.danger:hover { background: rgba(239, 68, 68, 0.12); }
.ex-row { display: grid; grid-template-columns: 2fr 1fr 1fr 0.8fr 1.4fr auto; gap: 8px; margin-bottom: 8px; }
@media (max-width: 820px) { .ex-row { grid-template-columns: 1fr 1fr; } }
.ex-row input { margin-top: 0; }
.day-row { display: grid; grid-template-columns: 90px 130px 1fr 1.6fr; gap: 8px; align-items: center; margin-bottom: 8px; }
@media (max-width: 820px) { .day-row { grid-template-columns: 1fr 1fr; } }
.day-row select, .day-row input { margin-top: 0; }
.admin-section { margin-bottom: 40px; }
.admin-section h2 { font-size: 1.35rem; margin: 0 0 14px; }
.empty { color: var(--muted); font-style: italic; }

/* Coach photo: blend into the black theme with a soft dark vignette */
.coach-photo {
  position: relative; border-radius: 14px; overflow: hidden; line-height: 0;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
}
.coach-photo::after {
  content: ""; position: absolute; inset: 0; border-radius: 14px; pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 64%, rgba(0, 0, 0, 0.26) 100%),
    linear-gradient(to top, rgba(0, 0, 0, 0.18), transparent 46%);
}
.feature-row.coach .coach-photo img { display: block; object-fit: cover; }

/* Product screenshots in a phone frame (merged feature section) */
.phone-shot {
  width: 250px; max-width: 78vw; line-height: 0;
  border: 9px solid #1d1d1d; outline: 1px solid var(--line); border-radius: 30px;
  overflow: hidden; background: #000; box-shadow: 0 18px 42px rgba(0, 0, 0, 0.55);
}
.feature-row .phone-shot img {
  width: 100%; height: auto; object-fit: initial; border-radius: 0; display: block;
}
.feature-row.product { grid-template-columns: 250px 1fr; gap: 36px; margin-top: 46px; }
.feature-row.product.rev { grid-template-columns: 1fr 250px; }
.feature-row.product h3 { font-size: 1.45rem; }
.feature-row.product p { max-width: 560px; font-size: 1.02rem; }
@media (min-width: 701px) {
  .feature-row.product.rev .feature-text { grid-column: 1; }
  .feature-row.product.rev .phone-shot { grid-column: 2; order: 2; }
}
@media (max-width: 700px) {
  .feature-row.product, .feature-row.product.rev { grid-template-columns: 1fr; justify-items: center; gap: 20px; margin-top: 38px; }
  .feature-row.product .feature-text { text-align: center; }
  .feature-row.product p { margin-left: auto; margin-right: auto; }
  .feature-row .phone-shot img { height: auto; }
}

/* FAQ */
.faq-item {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 20px; margin-bottom: 12px;
}
.faq-item summary { cursor: pointer; font-weight: 700; font-size: 1.02rem; }
.faq-item p { color: var(--muted); margin: 10px 0 2px; }

/* Who this is for */
.fit-list { list-style: none; padding: 0; margin: 12px 0 0; }
.fit-list li { padding: 6px 0 6px 28px; position: relative; color: var(--muted); }
.fit-list.yes li::before { content: "✓"; position: absolute; left: 2px; color: var(--accent); font-weight: 800; }
.fit-list.no li::before { content: "✕"; position: absolute; left: 2px; color: #8a8378; font-weight: 800; }

/* Tighter small-screen header */
@media (max-width: 640px) {
  .nav { gap: 8px; padding: 10px 12px; }
  .brand { font-size: 1.1rem; }
  .nav-links { gap: 2px; }
  .nav-links a { padding: 6px 7px; font-size: 0.88rem; }
}
