:root {
  --bg: #fffaf5;
  --surface: #ffffff;
  --surface-muted: #f7f4ee;
  --text: #1f2933;
  --muted: #667085;
  --line: #eadfd1;
  --brand: #f97316;
  --brand-dark: #c2410c;
  --green: #0f766e;
  --blue: #1d4ed8;
  --dark: #172033;
  --shadow: 0 18px 45px rgba(31, 41, 51, 0.12);
  --radius: 8px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(234, 223, 209, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.header-actions,
.desktop-nav,
.footer-brand {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
}

.brand-name {
  font-size: 22px;
}

.desktop-nav {
  gap: 26px;
  color: #475467;
  font-size: 15px;
  font-weight: 700;
}

.desktop-nav a:hover,
.phone-link:hover,
.mobile-nav a:hover {
  color: var(--brand-dark);
}

.header-actions {
  gap: 12px;
}

.phone-link {
  color: var(--brand-dark);
  font-weight: 800;
  white-space: nowrap;
}

.button {
  border: 0;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #f97316, #fb923c);
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.28);
}

.button-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.12);
}

.button-ghost {
  color: var(--brand-dark);
  border: 1px solid var(--line);
  background: #fff;
}

.button-small {
  min-height: 40px;
  padding-inline: 16px;
}

.button-full {
  width: 100%;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 10px;
}

.menu-toggle span {
  height: 2px;
  background: var(--text);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 10px 16px 18px;
}

.mobile-nav.is-open {
  display: grid;
}

.mobile-nav a {
  padding: 12px 0;
  font-weight: 800;
  color: #475467;
}

.section,
.section-band {
  padding: 88px 0;
}

.hero {
  position: relative;
  min-height: 86svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #141a25;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 26, 37, 0.92), rgba(20, 26, 37, 0.62), rgba(20, 26, 37, 0.38)),
    url("../bmw.jpg") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  padding-top: 24px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1,
.section-heading h2,
.split-section h2,
.member-layout h2,
.contact-inner h2 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(44px, 7vw, 82px);
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 660px;
  margin: 46px 0 0;
}

.hero-stats div {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-stats dt {
  font-size: 22px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.quick-actions {
  position: relative;
  z-index: 2;
  margin-top: -36px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.quick-item {
  min-height: 118px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 18px;
  color: var(--text);
  background: #fff;
  box-shadow: var(--shadow);
  text-align: left;
}

button.quick-item {
  width: 100%;
}

.quick-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--brand-dark);
  background: #ffedd5;
  font-weight: 900;
}

.quick-item strong {
  font-size: 18px;
}

.quick-item small {
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2,
.split-section h2,
.member-layout h2,
.contact-inner h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.section-note {
  color: rgba(255, 255, 255, 0.72);
}

.feature-grid,
.package-grid,
.coach-grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.package-card,
.coach-card,
.qr-panel,
.faq-list details {
  border-radius: var(--radius);
}

.feature-card {
  min-height: 236px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.feature-number {
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
}

.feature-card h3,
.course-row h3,
.package-card h3 {
  margin: 12px 0 8px;
  font-size: 24px;
}

.feature-card p,
.course-row p,
.package-card p,
.split-section p,
.member-layout p,
.contact-inner p,
.faq-list p {
  color: var(--muted);
}

.accent-blue {
  border-top: 4px solid var(--blue);
}

.accent-orange {
  border-top: 4px solid var(--brand);
}

.accent-green {
  border-top: 4px solid var(--green);
}

.accent-gray {
  border-top: 4px solid #667085;
}

.section-warm {
  background: #fff3e7;
}

.course-flow {
  display: grid;
  gap: 28px;
}

.course-row {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) 1fr;
  gap: 34px;
  align-items: center;
}

.course-row-reverse img {
  order: 2;
}

.course-row img,
.package-card img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

.course-row img {
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow);
}

.tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--green);
  font-weight: 900;
}

.package-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.package-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 14px 30px rgba(31, 41, 51, 0.08);
  flex-direction: column;
}

.package-card img {
  aspect-ratio: 4 / 3;
  border-radius: 0;
}

.package-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
}

.price {
  margin: 0;
  color: var(--brand-dark);
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
}

.package-body .button {
  margin-top: auto;
}

.section-dark {
  color: #fff;
  background: var(--dark);
}

.coach-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.coach-card {
  display: grid;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  background: #222b3d;
  text-align: left;
}

.coach-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.coach-card span {
  padding: 20px 22px 0;
  font-size: 26px;
  font-weight: 900;
}

.coach-card small {
  padding: 4px 22px 22px;
  color: #fdba74;
  font-size: 16px;
  font-weight: 800;
}

.split-section,
.member-layout,
.contact-inner,
.footer-inner {
  display: grid;
  gap: 28px;
  align-items: center;
}

.split-section {
  grid-template-columns: 0.8fr 1.2fr;
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.area-list span {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px;
  background: #fff;
  font-weight: 800;
}

.section-member {
  color: #fff;
  background: #111827;
}

.member-layout {
  grid-template-columns: 1fr auto;
}

.member-layout p {
  color: rgba(255, 255, 255, 0.74);
}

.faq-list {
  display: grid;
  max-width: 860px;
  margin: 0 auto;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  padding: 18px 20px;
  background: #fff;
}

.faq-list summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
}

.contact-cta {
  color: #fff;
  background: linear-gradient(135deg, #c2410c, #f97316);
}

.contact-inner {
  grid-template-columns: 1fr 300px;
}

.contact-inner p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-cta .eyebrow {
  color: #ffedd5;
}

.qr-panel {
  padding: 18px;
  background: #fff;
  color: var(--text);
}

.qr-panel img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 14px;
}

.phone-block {
  display: block;
  margin-top: 12px;
  color: var(--brand-dark);
  font-weight: 900;
  text-align: center;
}

.site-footer {
  padding: 34px 0;
  color: #d0d5dd;
  background: #0b1220;
}

.footer-inner {
  grid-template-columns: 1fr auto;
}

.footer-brand {
  gap: 14px;
}

.footer-brand img {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
}

.footer-brand strong {
  color: #fff;
  font-size: 24px;
}

.footer-brand p,
.site-footer p {
  margin: 0;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(10, 15, 25, 0.72);
}

.modal-backdrop[hidden] {
  display: none;
}

.modal {
  position: relative;
  width: min(520px, 100%);
  max-height: min(720px, calc(100svh - 36px));
  overflow: auto;
  border-radius: var(--radius);
  padding: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: var(--radius);
  color: var(--muted);
  background: #f2f4f7;
  font-size: 28px;
  line-height: 1;
}

.coach-modal-content img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  object-fit: cover;
}

.coach-modal-content h2,
.booking-modal h2 {
  margin: 18px 0 8px;
  font-size: 32px;
  line-height: 1.15;
}

.coach-meta {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  color: var(--muted);
}

.booking-modal {
  text-align: center;
}

.booking-qr {
  width: min(260px, 100%);
  margin: 20px auto;
  border-radius: var(--radius);
}

.booking-actions {
  display: grid;
  gap: 10px;
}

.modal-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 980px) {
  .desktop-nav,
  .phone-link {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .feature-grid,
  .package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-row,
  .split-section,
  .member-layout,
  .contact-inner,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .course-row-reverse img {
    order: 0;
  }

  .contact-inner {
    align-items: start;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .header-inner {
    min-height: 66px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand-name {
    font-size: 19px;
  }

  .button-small {
    display: none;
  }

  .section,
  .section-band {
    padding: 64px 0;
  }

  .hero {
    min-height: 82svh;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(20, 26, 37, 0.84), rgba(20, 26, 37, 0.76)),
      url("../bmw.jpg") center / cover no-repeat;
  }

  .hero-actions,
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .hero-stats {
    display: grid;
  }

  .quick-grid,
  .feature-grid,
  .package-grid,
  .coach-grid {
    grid-template-columns: 1fr;
  }

  .quick-actions {
    margin-top: 0;
    padding-top: 12px;
    background: var(--bg);
  }

  .quick-item {
    min-height: 96px;
  }

  .course-row {
    gap: 20px;
  }

  .coach-card span {
    font-size: 23px;
  }

  .modal {
    padding: 22px;
  }
}
