:root {
  --orange: #ff6900;
  --orange-deep: #f15b00;
  --ink: #222222;
  --nav: #262a31;
  --text: #333333;
  --muted: #747474;
  --warm: #fff7f3;
  --line: #f0e4dd;
  --footer: #131314;
  --footer-text: #9096a1;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #fff;
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.6;
}

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

button {
  border: 0;
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 78px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(20, 22, 26, 0.08);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 28px rgba(20, 22, 26, 0.08);
}

.header-inner {
  width: min(100%, 1440px);
  height: 100%;
  margin: 0 auto;
  padding: 0 42px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(20, 22, 26, 0.12);
}

.brand-name {
  color: var(--nav);
  font-size: 30px;
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
}

.main-nav {
  height: 100%;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 76px;
}

.nav-link {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  color: #5b6068;
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 16px;
  width: 32px;
  height: 3px;
  border-radius: 999px;
  background: var(--nav);
  transform: translateX(-50%) scaleX(0);
  transition: transform 0.2s ease;
}

.nav-link.active,
.nav-link:hover {
  color: var(--nav);
}

.nav-link.active::after,
.nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 9px;
  background: transparent;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--ink);
}

.hero {
  margin-top: 78px;
  height: 700px;
  position: relative;
  overflow: hidden;
  background: #ff6c3d;
}

.hero-track,
.hero-slide {
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: var(--hero-bg) center / cover no-repeat;
  transition: opacity 0.55s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  display: flex;
  justify-content: center;
  gap: 9px;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.hero-dots button.active {
  width: 32px;
  background: #fff;
}

.section {
  padding: 0 24px;
}

.section-services {
  padding-top: 92px;
  padding-bottom: 116px;
  background: var(--warm);
}

.section-head {
  width: min(var(--max), 100%);
  margin: 0 auto 46px;
  text-align: center;
}

.section-head h1 {
  margin: 0;
  color: var(--ink);
  font-size: 36px;
  line-height: 1.25;
}

.section-head p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.service-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
}

.service-card {
  min-height: 292px;
  padding: 38px 28px 30px;
  display: grid;
  justify-items: center;
  align-content: start;
  text-align: center;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(255, 105, 0, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 52px rgba(255, 105, 0, 0.15);
}

.service-card img {
  width: 112px;
  height: 112px;
  object-fit: contain;
}

.service-card h2 {
  margin: 24px 0 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.25;
}

.service-card:first-child h2 {
  color: var(--orange);
}

.service-card p {
  margin: 16px 0 0;
  color: #666;
  font-size: 15px;
  line-height: 1.8;
}

.section-about,
.about-detail {
  padding-top: 88px;
  padding-bottom: 96px;
  background: #fff;
}

.about-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.about-inner h2 {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.3;
}

.about-inner p {
  margin: 0 0 18px;
  color: #333;
  font-size: 18px;
  line-height: 2;
}

.about-lead {
  font-weight: 700;
}

.about-phone {
  padding-top: 12px;
  font-weight: 700;
}

.about-page {
  margin-top: 78px;
}

.about-hero {
  min-height: 330px;
  padding: 72px 24px;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(255, 105, 0, 0.88), rgba(255, 88, 66, 0.78)),
    url("./assets/img/home/banner-membership.png") center / cover no-repeat;
  color: #fff;
}

.about-hero p {
  margin: 0 0 10px;
  font-size: 15px;
  letter-spacing: 4px;
  opacity: 0.86;
}

.about-hero h1 {
  margin: 0;
  font-size: 44px;
  line-height: 1.2;
}

.about-hero span {
  display: block;
  margin-top: 18px;
  font-size: 18px;
}

.site-footer {
  background: var(--footer);
  color: var(--footer-text);
}

.footer-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.footer-benefits {
  min-height: 140px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid #363637;
}

.footer-benefits span {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #a3aab6;
  font-size: 18px;
  white-space: nowrap;
}

.footer-benefits img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.footer-links {
  padding: 36px 0 34px;
  display: grid;
  grid-template-columns: 180px 180px 1fr 160px;
  gap: 58px;
  border-bottom: 1px solid #363637;
}

.footer-links h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 18px;
  font-weight: 400;
}

.footer-links a,
.footer-links p {
  display: block;
  margin: 0 0 12px;
  color: var(--footer-text);
  font-size: 14px;
}

.footer-links a:hover,
.copyright a:hover {
  text-decoration: underline;
}

.footer-qr {
  border-left: 1px solid #363637;
  padding-left: 34px;
}

.footer-qr img {
  width: 118px;
  height: 118px;
  object-fit: cover;
  display: block;
  background: #fff;
}

.copyright {
  margin: 0;
  padding: 28px 0 34px;
  color: #8c929c;
  text-align: center;
  font-size: 14px;
  line-height: 1.9;
}

.reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 1280px) {
  .header-inner {
    padding: 0 28px;
  }

  .main-nav {
    gap: 44px;
  }

  .hero {
    height: 520px;
  }
}

@media (max-width: 960px) {
  .site-header {
    height: 68px;
  }

  .header-inner {
    padding: 0 18px;
  }

  .brand-icon {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 24px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 68px;
    height: auto;
    padding: 12px 24px 20px;
    display: none;
    background: #fff;
    box-shadow: 0 12px 30px rgba(255, 105, 0, 0.12);
  }

  .main-nav.open {
    display: grid;
    gap: 0;
  }

  .nav-link {
    height: 46px;
    border-bottom: 1px solid #f5e5dc;
  }

  .nav-link::after {
    display: none;
  }

  .hero,
  .about-page {
    margin-top: 68px;
  }

  .hero {
    height: 420px;
  }

  .hero-slide {
    background-size: auto 100%;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-benefits,
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 28px 0;
  }

  .footer-contact {
    grid-column: 1 / -1;
  }

  .footer-qr {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 560px) {
  .brand-name {
    font-size: 21px;
  }

  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    height: 300px;
  }

  .section-services,
  .section-about,
  .about-detail {
    padding-top: 58px;
    padding-bottom: 64px;
  }

  .section-head h1,
  .about-inner h2 {
    font-size: 28px;
  }

  .section-head p,
  .about-inner p {
    font-size: 16px;
  }

  .service-grid,
  .footer-benefits,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 246px;
  }

  .footer-benefits span {
    white-space: normal;
  }
}
