:root {
  --ink: #172026;
  --muted: #65727b;
  --line: #d9e1e5;
  --paper: #f6f5ef;
  --surface: #ffffff;
  --teal: #19756f;
  --red: #d63f33;
  --gold: #b9822d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 80px;
  padding: 0 32px;
  background: rgba(246, 245, 239, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 82px;
}

.brand-logo {
  display: block;
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 24px;
  font-size: 15px;
  color: #34424a;
}

.nav a:hover {
  color: var(--teal);
}

.header-action,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
}

.header-action,
.primary-button {
  color: #fff;
  background: var(--red);
}

.secondary-button {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 80px 32px 120px;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 18, 22, 0.88), rgba(12, 18, 22, 0.48) 48%, rgba(12, 18, 22, 0.14));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  color: #fff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1;
  letter-spacing: 0;
}

.hero-text {
  max-width: 620px;
  margin: 24px 0 0;
  font-size: 20px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0;
}

.intro,
.split,
.booking-section,
.info-band,
.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
}

.section p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 0;
}

.gallery {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 48px;
  align-items: start;
  padding-top: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.gallery figure {
  margin: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery figcaption {
  padding: 14px 16px;
  color: var(--ink);
  font-weight: 800;
}

.feature-card {
  min-height: 230px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-card span {
  color: var(--red);
  font-weight: 800;
}

.feature-card h3 {
  margin: 42px 0 12px;
  font-size: 24px;
}

.feature-card p {
  font-size: 16px;
}

.coach-section {
  display: grid;
  gap: 24px;
  padding-top: 0;
}

.coach-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: 24px;
  align-items: center;
}

.coach-copy {
  display: grid;
  align-content: start;
  gap: 20px;
  padding: 30px;
  color: #fff;
  background: var(--teal);
  border-radius: 8px;
}

.coach-copy .section-kicker,
.coach-copy p {
  color: #eef8f6;
}

.coach-copy .primary-button {
  width: fit-content;
  color: var(--ink);
  background: #f4c56b;
}

.coach-carousel {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: #10181c;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.coach-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  animation: coachFade 30s infinite;
}

.coach-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coach-slide figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 1;
  padding: 8px 12px;
  color: #fff;
  font-weight: 800;
  background: rgba(12, 18, 22, 0.68);
  border-radius: 8px;
}

.coach-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 18, 22, 0), rgba(12, 18, 22, 0.22));
}

.slide-2 {
  animation-delay: 5s;
}

.slide-3 {
  animation-delay: 10s;
}

.slide-4 {
  animation-delay: 15s;
}

.slide-5 {
  animation-delay: 20s;
}

.slide-6 {
  animation-delay: 25s;
}

@keyframes coachFade {
  0%,
  14% {
    opacity: 1;
  }

  18%,
  100% {
    opacity: 0;
  }
}

.booking-section {
  align-items: center;
  padding-top: 0;
}

.booking-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.booking-panel h3 {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 28px;
}

.miniapp-qr {
  display: block;
  width: 180px;
  height: 180px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.price-list,
.contact-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.price-row:last-child {
  border-bottom: 0;
}

.price-row strong {
  color: var(--teal);
  white-space: nowrap;
}

.info-band {
  width: 100%;
  max-width: none;
  padding: 76px max(20px, calc((100vw - 1120px) / 2));
  color: #fff;
  background: #1f2f35;
}

.info-band .section-kicker,
.info-band p {
  color: #f4c56b;
}

.hours {
  display: grid;
  gap: 14px;
}

.hours p {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 14px;
}

.hours span {
  color: #d9e1e5;
}

.contact-panel {
  padding: 24px;
}

.contact-panel p + p {
  margin-top: 12px;
}

.contact-panel a {
  color: var(--teal);
  font-weight: 800;
}

.site-footer {
  padding: 30px 20px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer p + p {
  margin-top: 8px;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--teal);
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 14px 18px;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .header-action {
    min-height: 38px;
    padding: 0 12px;
    font-size: 14px;
  }

  .brand {
    min-width: 62px;
  }

  .brand-logo {
    width: 52px;
    height: 52px;
  }

  .hero {
    min-height: 680px;
    padding: 72px 20px 104px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(12, 18, 22, 0.84), rgba(12, 18, 22, 0.45));
  }

  .hero-text {
    font-size: 17px;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1.12;
  }

  .intro,
  .split,
  .booking-section,
  .info-band,
  .contact,
  .gallery,
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .section {
    width: min(100% - 32px, 1120px);
    padding: 56px 0;
  }

  .feature-grid {
    padding-top: 0;
  }

  .price-row,
  .hours p {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .coach-layout {
    grid-template-columns: 1fr;
  }

  .coach-carousel {
    height: 230px;
  }

  .coach-copy .primary-button {
    width: 100%;
  }

  .booking-panel {
    grid-template-columns: 1fr;
  }

  .miniapp-qr {
    width: min(240px, 100%);
    height: auto;
    justify-self: center;
  }
}
