/* Gyms page · uses global --wdhc-font-body (Source Sans 3) for subtext */

.gyms-page {
  --gyms-surface: #0e0e11;
  --gyms-surface-warm: #100f0c;
  background: #050505;
  background-image: linear-gradient(180deg, #000 0%, #0a0a0a 100%);
  color: #e8e8e8;
  font-family: var(--wdhc-font-body);
  min-height: 100vh;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

.gyms-container {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 44px 22px 80px;
  flex: 1;
}

/* ── Subtext typography (headings stay Oswald) ── */
.gyms-lead,
.gyms-sub,
.gyms-eyebrow,
.gym-card__location,
.gym-card__links a,
.gyms-empty,
.form-note,
.gyms-optional,
.gym-email-kit__status,
.gym-contact-interest label,
.gym-contact-form label,
.gym-contact-interest legend,
.gyms-resource .gyms-sub {
  font-family: var(--wdhc-font-body);
}

.gyms-lead {
  font-size: 1.2rem;
  font-weight: 400;
  color: #e0e0e0;
  line-height: 1.65;
  max-width: 40rem;
  margin: 0 0 28px;
  letter-spacing: 0.01em;
}

.gyms-sub {
  font-size: 1.08rem;
  font-weight: 400;
  color: #c4c4c4;
  line-height: 1.65;
  margin: 0 0 22px;
  letter-spacing: 0.01em;
}

.gyms-eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wdhc-bronze);
  margin: 0 0 12px;
}

.gyms-hero h1 {
  font-family: var(--wdhc-font-head);
  font-size: clamp(2.15rem, 5.5vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.1;
  margin: 0 0 18px;
  color: #fff;
}

.gyms-hero {
  margin-bottom: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.gyms-contact-line {
  margin: 22px 0 0;
  font-size: 1.1rem;
  color: #c8c8c8;
  line-height: 1.5;
}

.gyms-phone-link {
  color: #f0d78c;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
  margin-left: 6px;
}

.gyms-phone-link:hover {
  color: #fff;
  text-decoration: underline;
}

.gyms-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.gyms-btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--wdhc-gold) 0%, var(--wdhc-bronze) 100%);
  color: #000;
  border: none;
  padding: 14px 26px;
  border-radius: 10px;
  font-family: var(--wdhc-font-head);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gyms-btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  color: #000;
}

.gyms-btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.gyms-btn-ghost {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 10px;
  border: 2px solid rgba(212, 175, 55, 0.65);
  background: rgba(26, 26, 31, 0.9);
  color: #f0d78c;
  font-family: var(--wdhc-font-head);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.gyms-btn-ghost:hover {
  border-color: var(--wdhc-gold);
  background: rgba(212, 175, 55, 0.08);
  color: var(--wdhc-gold);
}

.gyms-section {
  margin-bottom: 52px;
}

/* Sections: tinted panels · no outlines */
.gyms-section--partners,
.gyms-section--contact {
  padding: 28px 26px 32px;
  border: none;
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.gyms-section--partners {
  background: var(--gyms-surface);
}

.gyms-section--contact {
  background: var(--gyms-surface-warm);
  background-image: linear-gradient(
    165deg,
    rgba(212, 175, 55, 0.04) 0%,
    transparent 42%
  );
}

.gyms-heading {
  font-family: var(--wdhc-font-head);
  font-size: 1.45rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  margin: 0 0 12px;
  padding-bottom: 12px;
  position: relative;
}

.gyms-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--wdhc-gold), var(--wdhc-bronze));
}

.gyms-optional {
  font-weight: 400;
  color: #7a7a7a;
  font-size: 0.85em;
}

/* Partner grid */
.gyms-partner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 560px) {
  .gyms-partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gym-card {
  position: relative;
  background: rgba(255, 255, 255, 0.035);
  border: none;
  border-radius: 10px;
  padding: 20px 22px 20px 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background 0.2s ease;
}

.gym-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--wdhc-gold) 0%, var(--wdhc-bronze) 100%);
  opacity: 0.85;
}

.gym-card:hover {
  background: rgba(255, 255, 255, 0.055);
}

.gym-card h3 {
  font-family: var(--wdhc-font-head);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  color: #fff;
}

.gym-card__location {
  color: #c0c0c0;
  font-size: 1.05rem;
  font-weight: 400;
  margin: 0;
  letter-spacing: 0.01em;
}

.gym-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.gym-card__links a {
  color: #f0d78c;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.gym-card__links a:hover {
  text-decoration: underline;
}

.gym-card__schedule {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.gym-card__schedule summary {
  font-family: var(--wdhc-font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f0d78c;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.gym-card__schedule summary::-webkit-details-marker {
  display: none;
}

.gym-card__schedule summary::before {
  content: '+ ';
  color: #b5b5b5;
  font-weight: 400;
}

.gym-card__schedule[open] summary::before {
  content: '− ';
}

.gym-card__schedule-body {
  margin-top: 12px;
}

.gym-card__schedule-empty {
  margin: 0;
  font-family: var(--wdhc-font-body);
  font-size: 1rem;
  font-weight: 400;
  color: #b0b0b0;
  line-height: 1.6;
}

.gym-card__schedule-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gym-card__schedule-item {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.gym-card__schedule-date {
  font-family: var(--wdhc-font-head);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
}

.gym-card__schedule-time {
  font-family: var(--wdhc-font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--wdhc-bronze);
}

.gym-card__schedule-title {
  font-family: var(--wdhc-font-body);
  font-size: 1rem;
  font-weight: 400;
  color: #d8d8d8;
  line-height: 1.5;
}

.gym-card__schedule-notes {
  margin: 4px 0 0;
  font-family: var(--wdhc-font-body);
  font-size: 0.8125rem;
  color: #9a9a9a;
  line-height: 1.5;
}

.gyms-empty {
  color: #c0c0c0;
  font-size: 1.08rem;
  padding: 18px 0;
  line-height: 1.6;
}

/* Contact form · borderless; fields carry their own outlines */
.gym-contact-form {
  display: grid;
  gap: 18px;
  margin-top: 8px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.gym-contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.gym-contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #d0d0d0;
  text-transform: none;
  letter-spacing: 0.02em;
}

.gym-contact-form label.full-width {
  grid-column: 1 / -1;
}

.gym-contact-form input,
.gym-contact-form textarea {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #111;
  color: #f5f5f5;
  font-family: var(--wdhc-font-body);
  font-size: 1.05rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gym-contact-form textarea {
  min-height: 88px;
  resize: vertical;
}

.gym-contact-form input::placeholder,
.gym-contact-form textarea::placeholder {
  color: #5c5c5c;
  font-weight: 400;
}

.gym-contact-form input:focus,
.gym-contact-form textarea:focus {
  outline: none;
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.gym-contact-interest {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 0;
  margin: 0;
  padding: 0;
}

.gym-contact-interest legend {
  width: 100%;
  font-size: 0.95rem;
  font-weight: 500;
  color: #d0d0d0;
  text-transform: none;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.gym-contact-interest label {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.02rem;
  font-weight: 400;
  color: #e8e8e8;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.gym-contact-interest label:has(input:checked) {
  border-color: rgba(212, 175, 55, 0.45);
  background: rgba(212, 175, 55, 0.07);
  color: #eee;
}

.gym-contact-interest input {
  width: auto;
  margin: 0;
  accent-color: var(--wdhc-gold);
}

.gym-contact-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.form-note {
  color: #b8b8b8;
  font-size: 1rem;
  font-weight: 400;
  margin-top: 16px;
  letter-spacing: 0.01em;
  line-height: 1.55;
}

.form-note a {
  color: #f0d78c;
  font-weight: 600;
  text-decoration: none;
}

.form-note a:hover {
  text-decoration: underline;
}

.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid rgba(143, 188, 143, 0.35);
  background: rgba(143, 188, 143, 0.08);
  color: #9fd49f;
  font-family: var(--wdhc-font-body);
  font-size: 0.9rem;
}

.form-success.visible {
  display: block;
}

.form-error {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid rgba(204, 0, 0, 0.35);
  background: rgba(204, 0, 0, 0.08);
  color: #f99;
  font-family: var(--wdhc-font-body);
  font-size: 0.9rem;
}

.form-error.visible {
  display: block;
}

/* Collapsible email template */
.gyms-resource {
  margin-top: 32px;
  padding: 24px 0 0;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0;
  background: transparent;
}

.gyms-resource summary {
  font-family: var(--wdhc-font-head);
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #f0d78c;
  cursor: pointer;
  list-style: none;
}

.gyms-resource summary::-webkit-details-marker {
  display: none;
}

.gyms-resource summary::before {
  content: '+ ';
  color: #b5b5b5;
}

.gyms-resource[open] summary::before {
  content: '− ';
}

.gyms-resource .gyms-sub {
  margin-top: 12px;
  margin-bottom: 12px;
}

.gym-email-kit {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.gym-email-kit__textarea {
  width: 100%;
  padding: 16px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0a0a0a;
  color: #e8e8e8;
  font-family: var(--wdhc-font-body);
  font-size: 1rem;
  line-height: 1.65;
  resize: vertical;
}

.gym-email-kit__status {
  margin: 0;
  font-size: 0.8125rem;
  color: #9fd49f;
  min-height: 1.2em;
}

@media (max-width: 600px) {
  .gyms-section--partners,
  .gyms-section--contact {
    padding: 22px 18px 26px;
    border-radius: 10px;
  }

  .gym-contact-form .form-row {
    grid-template-columns: 1fr;
  }

  .gym-contact-interest label {
    width: 100%;
  }
}