/* 五育健身 — 单页官网 */

:root {
  --bg: #070708;
  --bg-2: #101012;
  --bg-3: #17171b;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f4f5;
  --muted: #9b9ba3;
  --lime: #c8f542;
  --lime-dim: #9cc62a;
  --white: #ffffff;
  --nav-h: 72px;
  --radius: 18px;
  --max: 1180px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
    system-ui, sans-serif;
  --display: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Impact,
    system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul {
  list-style: none;
}

.wrap {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
  font-weight: 600;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--lime);
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.section-head {
  display: grid;
  gap: 14px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
}

.section-head p {
  max-width: 560px;
  color: var(--muted);
  font-size: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-lime {
  background: var(--lime);
  color: #111;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: var(--white);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(7, 7, 8, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, var(--max));
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.logo-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--lime);
  color: #111;
  font-size: 18px;
  font-weight: 900;
  border-radius: 8px;
}

.logo-text {
  font-size: 15px;
}

.logo-text span {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 14px;
  color: var(--muted);
  position: relative;
}

.nav a:hover,
.nav a.is-active {
  color: var(--white);
}

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--lime);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--white);
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -5px;
}

.menu-toggle span::after {
  top: 5px;
}

/* Hero */

.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  align-items: center;
  padding: 48px 0 64px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 80% 10%, rgba(200, 245, 66, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(200, 245, 66, 0.06), transparent 50%),
    linear-gradient(180deg, #070708 0%, #0c0c0e 100%);
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 90%);
}

.hero .wrap {
  position: relative;
  z-index: 2;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 56px;
  align-items: center;
}

.hero-copy {
  max-width: 640px;
}

.hero-giant {
  margin: 0 0 8px;
  font-size: clamp(72px, 11vw, 132px);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.82;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(200, 245, 66, 0.38);
  user-select: none;
}

.hero h1 {
  margin: 14px 0 18px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.hero h1 em {
  display: block;
  font-style: normal;
  color: var(--lime);
}

.hero-lead {
  max-width: 460px;
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 20px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.hero-tags li {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 640px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.hero-stats strong {
  display: block;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.1;
}

.hero-stats span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.hero-poster {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #121214;
  overflow: hidden;
}

.hero-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 7, 8, 0.35));
  pointer-events: none;
}

.hero-stamp {
  position: absolute;
  z-index: 2;
  top: 28px;
  right: 28px;
  width: 88px;
  height: 88px;
  border: 2px solid var(--lime);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--lime);
  transform: rotate(12deg);
}

/* Shared section */

.section {
  padding: 96px 0;
  position: relative;
}

.section-alt {
  background: var(--bg-2);
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: start;
}

.about-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #141416;
}

.about-photo img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.about-story {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 24px;
}

.about-story p + p {
  margin-top: 16px;
}

.about-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.about-card h3 {
  font-size: 20px;
  margin-bottom: 18px;
}

.about-list {
  display: grid;
  gap: 14px;
}

.about-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
}

.num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(200, 245, 66, 0.12);
  color: var(--lime);
  font-size: 13px;
  font-weight: 800;
}

.about-list strong {
  display: block;
  color: var(--white);
  margin-bottom: 2px;
}

.about-list span {
  color: var(--muted);
  font-size: 13px;
}

/* Facilities */

.facility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.facility {
  min-height: 280px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.facility-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.facility-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 7, 8, 0.12) 20%, rgba(7, 7, 8, 0.9));
  z-index: 1;
}

.facility-photo > * {
  position: relative;
  z-index: 2;
}

.facility-pt {
  background: linear-gradient(160deg, #1a2418 0%, #101012 70%);
}

.facility-recover {
  background: linear-gradient(160deg, #1a1824 0%, #101012 70%);
}

.facility-tag {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--lime);
}

.facility h3 {
  font-size: 24px;
  margin-top: auto;
}

.facility p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
}

.facility-wide {
  grid-column: span 2;
  min-height: 360px;
}

/* Courses */

.course-list {
  display: grid;
  gap: 12px;
}

.course {
  display: grid;
  grid-template-columns: 80px 1.4fr 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-3);
}

.course:nth-child(1) { background: #171914; }
.course:nth-child(2) { background: #18171b; }
.course:nth-child(3) { background: #14181a; }
.course:nth-child(4) { background: #1a1714; }

.course-id {
  font-size: 13px;
  color: var(--lime);
  font-weight: 800;
  letter-spacing: 0.12em;
}

.course h3 {
  font-size: 20px;
}

.course p {
  color: var(--muted);
  font-size: 14px;
}

.course-meta {
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

/* Membership */

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.plan {
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-3);
  display: flex;
  flex-direction: column;
  min-height: 420px;
}

.plan.is-hot {
  border-color: rgba(200, 245, 66, 0.45);
  background:
    linear-gradient(180deg, rgba(200, 245, 66, 0.08), transparent 40%),
    var(--bg-3);
}

.plan-name {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.12em;
}

.plan h3 {
  font-size: 36px;
  margin: 10px 0 8px;
}

.plan .price {
  font-size: 42px;
  font-weight: 800;
  margin: 16px 0 24px;
}

.plan .price small {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.plan ul {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.plan li {
  color: var(--muted);
  font-size: 14px;
  padding-left: 18px;
  position: relative;
}

.plan li::before {
  content: "";
  position: absolute;
  margin-left: -18px;
  margin-top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
}

.plan .btn {
  margin-top: auto;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.info-block {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-3);
}

.info-block h3 {
  font-size: 22px;
  margin: 8px 0 20px;
}

.kv {
  display: grid;
  gap: 16px;
}

.kv div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.kv dt {
  color: var(--muted);
  font-size: 13px;
}

.kv dd {
  font-size: 15px;
}

.map-panel {
  min-height: 360px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.03) 0 1px,
      transparent 1px 48px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.03) 0 1px,
      transparent 1px 48px
    ),
    #111114;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 32px;
}

.map-pin {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--lime);
  color: #111;
  display: grid;
  place-items: center;
  font-weight: 900;
  margin: 0 auto 16px;
}

.map-panel p {
  color: var(--muted);
  max-width: 280px;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--lime);
}

.beian {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Mobile */

@media (max-width: 900px) {
  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #0d0d10;
    border-bottom: 1px solid var(--line);
    padding: 8px 0 16px;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 14px 24px;
  }

  .nav a.is-active::after {
    display: none;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-poster {
    width: 100%;
    margin: 0;
    aspect-ratio: 16 / 10;
    order: -1;
  }

  .hero-giant {
    font-size: clamp(56px, 18vw, 88px);
  }

  .about-photo img {
    min-height: 240px;
  }

  .hero-stats,
  .about-grid,
  .facility-grid,
  .plan-grid,
  .contact-grid,
  .course {
    grid-template-columns: 1fr;
  }

  .facility-wide {
    grid-column: auto;
  }

  .course-meta {
    text-align: left;
  }

  .kv div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .section {
    padding: 72px 0;
  }
}
