/* Iron Pass Fitness (sample) — mobile-first, dark theme */
:root {
  --bg: #15151f;
  --panel: #1f1f2e;
  --card: #2a2a3c;
  --lime: #b6f23a;
  --text: #e8e8f0;
  --muted: #a3a3b8;
  --line: #34344a;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { margin: 0; font: 17px/1.6 var(--sans); color: var(--text); background: var(--bg); padding-bottom: 58px; }
h1, h2, h3 { line-height: 1.05; margin: 0 0 0.5em; color: #fff; }
h1 { font-size: clamp(2.6rem, 10vw, 5rem); font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em; }
h1 span { color: var(--lime); }
h2 { font-size: clamp(1.9rem, 6vw, 2.8rem); font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; font-weight: 800; }
p { margin: 0 0 1em; }
a { color: var(--lime); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 780px; }
.eyebrow { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lime); margin-bottom: 0.4rem; }
.small { font-size: 0.9rem; color: var(--muted); }

.btn { display: inline-block; padding: 0.85rem 1.4rem; border-radius: 6px; font: inherit; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.95rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; text-align: center; }
.btn-small { padding: 0.5rem 0.9rem; font-size: 0.85rem; white-space: nowrap; }
.btn-lime { background: var(--lime); color: #111; }
.btn-lime:hover { background: #cbff5c; }
.btn-ghost, .btn-outline { border-color: var(--lime); color: var(--lime); background: transparent; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(21,21,31,0.96); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 62px; }
.brand { display: flex; align-items: center; gap: 0.5rem; color: #fff; text-decoration: none; font-weight: 900; font-size: 1.2rem; text-transform: uppercase; line-height: 1; }
.brand svg { width: 36px; height: 36px; flex: none; }
.brand small { display: block; font-size: 0.7rem; letter-spacing: 0.3em; color: var(--lime); }
.nav { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; gap: 1.6rem; }
  .nav a { color: var(--muted); text-decoration: none; font-weight: 700; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.05em; }
  .nav a:hover { color: var(--lime); }
}

/* Hero: diagonal stripes drawn with CSS, no photo needed */
.hero { padding: 4rem 0 3.5rem; background:
  linear-gradient(90deg, var(--bg) 40%, rgba(21,21,31,0.6)),
  repeating-linear-gradient(-55deg, #1d1d2b 0 22px, #22223a 22px 44px); }
.lead { font-size: 1.15rem; max-width: 34rem; color: #c9c9d8; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0; }
.status { color: var(--muted); margin: 0; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--muted); margin-right: 0.3rem; }
.status:has(.is-open) .dot { background: var(--lime); box-shadow: 0 0 0 4px rgba(182,242,58,0.25); }
.is-open { color: var(--lime); }
.is-closed { color: #ff8a7a; }
@media (min-width: 900px) { .hero { padding: 7rem 0 6rem; } }

/* Stats */
.stats { background: var(--lime); color: #111; padding: 1.5rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; text-align: center; }
.stats b { display: block; font-size: 2rem; font-weight: 900; line-height: 1; }
.stats span { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
@media (min-width: 700px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

/* Sections */
.section { padding: 3.5rem 0; }
.section-panel { background: var(--panel); }
@media (min-width: 900px) { .section { padding: 5rem 0; } }

.amenities { display: grid; gap: 1rem; }
@media (min-width: 640px) { .amenities { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .amenities { grid-template-columns: repeat(3, 1fr); } }
.amenity { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 1.4rem; }
.amenity .ic { font-size: 1.8rem; display: block; margin-bottom: 0.4rem; }
.amenity p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* Class schedule */
.day-tabs { display: flex; gap: 0.35rem; overflow-x: auto; padding-bottom: 0.4rem; margin-bottom: 0.75rem; }
.day-tab { flex: none; font: inherit; font-weight: 800; font-size: 0.9rem; padding: 0.55rem 0.9rem; border-radius: 6px; border: 1px solid var(--line); background: var(--card); color: var(--text); cursor: pointer; text-transform: uppercase; }
.day-tab.is-active { background: var(--lime); color: #111; border-color: var(--lime); }
.day-tab small { display: block; font-size: 0.65rem; font-weight: 700; opacity: 0.7; }
.filters { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.25rem; }
.chip { font: inherit; font-size: 0.85rem; font-weight: 700; padding: 0.35rem 0.85rem; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; }
.chip.is-active { border-color: var(--lime); color: var(--lime); }
.classes { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 0.6rem; }
.class { display: grid; grid-template-columns: 5rem 1fr; gap: 0.25rem 1rem; align-items: center; background: var(--card); border-radius: 10px; padding: 1rem; border-left: 4px solid var(--c, var(--lime)); }
.class[data-type="cardio"] { --c: #3ad5f2; }
.class[data-type="mind"] { --c: #e45cf2; }
.class time { white-space: nowrap; font-weight: 900; font-size: 1rem; color: #fff; align-self: start; }
.class h3 { margin: 0; font-size: 1.05rem; }
.class .meta { display: block; color: var(--muted); font-size: 0.88rem; }
.class .spots, .class .reserve { grid-column: 2; justify-self: start; }
.class .spots { font-size: 0.85rem; font-weight: 700; }
.class .spots.low { color: #ffb44a; }
.reserve { font: inherit; font-size: 0.85rem; font-weight: 800; text-transform: uppercase; padding: 0.45rem 0.9rem; border-radius: 6px; border: 2px solid var(--lime); background: transparent; color: var(--lime); cursor: pointer; }
.reserve.is-booked { background: var(--lime); color: #111; }
.reserve:disabled { border-color: var(--line); color: var(--muted); cursor: not-allowed; }
@media (min-width: 760px) {
  .class { grid-template-columns: 5.5rem 1fr auto auto; }
  .class time { align-self: center; }
  .class .spots, .class .reserve { grid-column: auto; }
}
.empty { color: var(--muted); padding: 1rem 0; }
.note { color: var(--muted); font-size: 0.9rem; }

/* Memberships */
.billing { display: flex; align-items: center; gap: 0.75rem; margin: 0.5rem 0 2rem; font-weight: 800; color: var(--muted); flex-wrap: wrap; }
.billing .is-on { color: #fff; }
.billing em { font-style: normal; font-size: 0.75rem; background: var(--lime); color: #111; padding: 0.15rem 0.5rem; border-radius: 999px; margin-left: 0.3rem; }
.switch { width: 54px; height: 30px; border-radius: 999px; border: 0; background: var(--card); position: relative; cursor: pointer; padding: 0; }
.switch span { position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--lime); transition: transform 0.2s; }
.switch[aria-checked="true"] span { transform: translateX(24px); }
.plans { display: grid; gap: 1.25rem; }
@media (min-width: 860px) { .plans { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.plan { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 1.75rem; display: grid; gap: 0.5rem; }
.plan.featured { border: 2px solid var(--lime); }
.badge { position: absolute; top: -0.8rem; left: 1.5rem; background: var(--lime); color: #111; font-size: 0.75rem; font-weight: 900; text-transform: uppercase; padding: 0.2rem 0.7rem; border-radius: 4px; }
.price { font-size: 2.6rem; font-weight: 900; color: #fff; margin: 0; line-height: 1.1; }
.price small { font-size: 0.95rem; color: var(--muted); font-weight: 700; }
.plan ul { list-style: none; padding: 0; margin: 0.5rem 0 1rem; }
.plan li { padding: 0.3rem 0 0.3rem 1.5rem; position: relative; color: #c9c9d8; }
.plan li::before { content: "\2713"; position: absolute; left: 0; color: var(--lime); font-weight: 900; }

/* Trainers */
.trainers { display: grid; gap: 1rem; }
@media (min-width: 640px) { .trainers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .trainers { grid-template-columns: repeat(4, 1fr); } }
.trainer { background: var(--card); border-radius: 12px; padding: 1.5rem; text-align: center; }
.avatar { width: 84px; height: 84px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 1.6rem; color: #111; background: var(--a); }
.trainer h3 { margin-bottom: 0.1rem; }
.role { color: var(--lime); font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; }
.trainer p:last-child { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* Reviews */
.reviews { display: grid; gap: 1rem; }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.reviews figure { margin: 0; background: var(--panel); border-radius: 12px; padding: 1.5rem; }
.stars { color: var(--lime); letter-spacing: 2px; }
.reviews blockquote { margin: 0.5rem 0 1rem; }
.reviews figcaption { color: var(--muted); font-weight: 700; font-size: 0.9rem; }

/* Pass form + hours */
.split { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; } }
.hours-title { margin-top: 1.5rem; }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.hours th, .hours td { text-align: left; padding: 0.45rem 0.5rem; border-bottom: 1px solid var(--line); }
.hours th { font-weight: 600; color: var(--muted); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--lime); font-weight: 800; }
.form { background: var(--card); border-radius: 12px; padding: 1.5rem; display: grid; gap: 1rem; }
.form h3 { margin: 0; }
.form label { display: grid; gap: 0.3rem; font-weight: 700; font-size: 0.95rem; }
.form input:not([type=checkbox]), .form select { font: inherit; font-size: 1rem; padding: 0.7rem; border: 1px solid var(--line); border-radius: 6px; width: 100%; background: var(--bg); color: var(--text); }
.form .check { display: flex; align-items: flex-start; gap: 0.5rem; font-weight: 400; }
.form .check input { margin-top: 0.35rem; accent-color: var(--lime); }
.row { display: grid; gap: 1rem; }
@media (min-width: 520px) { .row { grid-template-columns: 1fr 1fr; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1rem 0; font-weight: 800; color: #fff; }
.faq details p { color: var(--muted); }

.footer { background: #0e0e16; color: var(--muted); padding: 2.5rem 0; text-align: center; font-size: 0.92rem; }
.footer-brand { font-weight: 900; font-size: 1.3rem; color: #fff; text-transform: uppercase; }
.footer-note { font-size: 0.85rem; }

.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 2fr; }
.mobile-bar a { padding: 1rem; text-align: center; font-weight: 800; text-transform: uppercase; text-decoration: none; background: var(--card); color: #fff; }
.mobile-bar a.lime { background: var(--lime); color: #111; }
@media (min-width: 900px) { .mobile-bar { display: none; } body { padding-bottom: 0; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
