:root {
  color-scheme: light;
  --page: #f3f5f7;
  --surface: #ffffff;
  --ink: #24272b;
  --muted: #69727b;
  --line: #e1e5e9;
  --red: #b7242a;
  --red-dark: #8f1d23;
  --blue: #165c86;
  --gold: #b4812d;
  --charcoal: #1f252b;
  --soft: #f8fafb;
  --shadow: 0 16px 36px rgba(25, 31, 36, 0.1);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--page);
  color: var(--ink);
  line-height: 1.65;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  background: #f7f7f7;
  border-bottom: 1px solid var(--line);
  color: #59636c;
  font-size: 14px;
}

.topbar-inner {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.text-button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  box-shadow: 0 4px 16px rgba(31, 37, 43, 0.07);
}

.header-inner {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.brand-mark {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  border-radius: 12px;
  overflow: hidden;
  background: var(--red);
  box-shadow: 0 8px 18px rgba(143, 29, 35, 0.22);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: 0;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.nav {
  background: var(--red);
}

.nav-inner {
  display: flex;
  align-items: center;
  min-height: 48px;
}

.nav a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 19px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.nav a:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.nav a:hover,
.nav a.active {
  background: var(--red-dark);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.view {
  min-height: calc(100vh - 260px);
}

.hero {
  background: #111820;
  color: #fff;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  gap: 34px;
  align-items: center;
  padding: 44px 0;
}

.hero-copy {
  padding: 14px 0;
}

.eyebrow {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 3px 10px;
  border-left: 4px solid var(--gold);
  background: rgba(180, 129, 45, 0.12);
  color: #7b571c;
  font-size: 14px;
  font-weight: 800;
}

.hero .eyebrow {
  color: #f4d99f;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.14;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.28;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: 0;
}

.hero-copy p,
.page-title p,
.section-heading p,
.lead {
  color: #53606a;
  font-size: 17px;
}

.hero-copy p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-button,
.ghost-button,
.secondary-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.primary-button {
  border: 1px solid var(--red);
  background: var(--red);
  color: #fff;
}

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

.secondary-button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.primary-button:hover,
.ghost-button:hover,
.secondary-button:hover,
.item-card:hover {
  transform: translateY(-1px);
}

.hero-image {
  min-height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #202832;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.hotline-band {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.hotline-inner {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.hotline-inner strong {
  color: var(--red-dark);
  font-size: 20px;
}

.hotline-inner span {
  color: var(--muted);
}

.main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  padding: 34px 0;
}

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

.info-panel,
.side-box,
.text-panel,
.detail-main,
.detail-side,
.price-box,
.item-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(31, 37, 43, 0.05);
}

.info-panel {
  overflow: hidden;
}

.panel-title {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.panel-title h2 {
  margin-bottom: 0;
  color: var(--red-dark);
  font-size: 20px;
}

.panel-title a {
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.rental-list,
.news-list,
.check-list,
.detail-side ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rental-list {
  padding: 10px 18px 14px;
}

.rental-list li {
  border-bottom: 1px dashed #d8dee2;
}

.rental-list li:last-child {
  border-bottom: 0;
}

.rental-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  color: #37424a;
}

.rental-list a span {
  min-width: 0;
}

.rental-list a em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  white-space: nowrap;
}

.rental-list a:hover {
  color: var(--red-dark);
}

.side-box {
  padding: 22px;
}

.news-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.news-list li:last-child {
  border-bottom: 0;
}

.news-list span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.news-list p {
  margin: 5px 0 0;
  color: #3e4850;
}

.section {
  padding: 48px 0;
}

.section.white {
  background: #fff;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
}

.section-heading p {
  max-width: 560px;
  margin-bottom: 0;
}

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

.item-card {
  position: relative;
  display: flex;
  min-height: 236px;
  flex-direction: column;
  padding: 22px;
}

.status,
.category-name {
  display: inline-flex;
  align-self: flex-start;
  min-height: 28px;
  align-items: center;
  padding: 3px 9px;
  border-radius: 8px;
  background: #f4efe6;
  color: #7c571b;
  font-size: 13px;
  font-weight: 800;
}

.status {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(183, 36, 42, 0.1);
  color: var(--red-dark);
}

.category-name {
  margin-bottom: 18px;
}

.item-card p {
  color: var(--muted);
}

.item-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 4px 0 18px;
}

.item-meta div {
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.item-meta dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.item-meta dd {
  margin: 3px 0 0;
  color: var(--ink);
  font-weight: 800;
}

.more {
  margin-top: auto;
  color: var(--blue);
  font-weight: 900;
}

.page-title {
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.page-title h1 {
  margin-bottom: 8px;
}

.page-title p {
  max-width: 760px;
  margin-bottom: 0;
}

.detail-page {
  padding: 46px 0;
}

.detail-layout,
.split-layout,
.member-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
}

.detail-main,
.detail-side,
.text-panel,
.price-box {
  padding: 26px;
}

.detail-side {
  align-self: start;
}

.detail-side li,
.check-list li {
  position: relative;
  padding: 10px 0 10px 22px;
  border-bottom: 1px solid var(--line);
  color: #44505a;
}

.detail-side li::before,
.check-list li::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

.back-link {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--blue);
  font-weight: 900;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
}

.info-table th,
.info-table td {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.info-table th {
  width: 118px;
  color: var(--muted);
  font-weight: 800;
}

.notice {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.text-panel.tint,
.price-box:nth-child(2) {
  background: #f8fafb;
}

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

.form-panel {
  display: grid;
  gap: 14px;
}

.form-panel label {
  display: grid;
  gap: 7px;
  color: #3f4850;
  font-weight: 800;
}

.form-panel input,
.form-panel select,
.form-panel textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.form-panel textarea {
  resize: vertical;
}

.form-panel input:focus,
.form-panel select:focus,
.form-panel textarea:focus {
  border-color: var(--red);
  outline: 3px solid rgba(183, 36, 42, 0.14);
}

.form-panel .agreement-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.55;
}

.form-panel .agreement-check input {
  width: 18px;
  min-height: 18px;
  margin: 3px 0 0;
  flex: 0 0 auto;
  accent-color: var(--red);
}

.agreement-check span {
  color: #3f4850;
}

.agreement-check a {
  color: var(--blue);
  font-weight: 900;
}

.agreement-check a:hover {
  color: var(--red-dark);
}

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

.sms-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 10px;
}

.human-test {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 10px;
  align-items: center;
}

.human-question {
  display: flex;
  min-height: 46px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
}

.human-test .secondary-button {
  width: 100%;
  min-height: 46px;
  padding: 8px 10px;
}

.sms-row .secondary-button {
  width: 100%;
  min-height: 46px;
  padding: 8px 10px;
}

.secondary-button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.form-message {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.form-message.error {
  color: var(--red-dark);
  font-weight: 800;
}

.form-message.success {
  color: #0d7564;
  font-weight: 800;
}

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

.membership-rules {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.membership-rules div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.membership-rules span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.membership-rules strong {
  display: block;
  margin: 8px 0;
  color: var(--red-dark);
  font-size: 24px;
  line-height: 1.12;
}

.membership-rules p {
  margin: 0;
  color: #3f4850;
}

.price-box strong {
  display: block;
  margin: 12px 0;
  color: var(--red-dark);
  font-size: 30px;
  line-height: 1.1;
}

.payment-panel {
  margin-top: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafb;
}

.payment-panel h2 {
  margin-bottom: 8px;
}

.payment-panel p {
  color: #53606a;
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.payment-method.active {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.payment-box {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.payment-code {
  display: grid;
  width: 148px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px dashed rgba(183, 36, 42, 0.5);
  border-radius: 8px;
  background: #fff;
  color: var(--red-dark);
  font-size: 26px;
  font-weight: 900;
  text-align: center;
}

.empty {
  padding: 28px;
  border: 1px dashed #b8c0c7;
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
}

.site-footer {
  background: var(--charcoal);
  color: #fff;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 30px 0;
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  color: rgba(255, 255, 255, 0.86);
}

.footer-links a:hover {
  color: #fff;
}

.mps-link {
  gap: 6px;
}

.mps-link img {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

@media (max-width: 980px) {
  .header-inner {
    min-height: 76px;
  }

  .menu-button {
    display: block;
  }

  .nav {
    display: none;
  }

  .nav.open {
    display: block;
  }

  .nav-inner {
    display: grid;
    min-height: auto;
    padding: 8px 0;
  }

  .nav a,
  .nav a:last-child {
    justify-content: flex-start;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero-inner,
  .main-grid,
  .detail-layout,
  .split-layout,
  .member-grid {
    grid-template-columns: 1fr;
  }

  .content-columns,
  .card-grid,
  .membership-rules,
  .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 28px, 1180px);
  }

  .topbar-inner,
  .hotline-inner,
  .section-heading,
  .footer-inner {
    display: block;
  }

  .top-actions,
  .footer-links {
    margin-top: 8px;
  }

  .top-actions {
    flex-wrap: wrap;
    white-space: normal;
    word-break: break-word;
  }

  .brand strong {
    font-size: 21px;
  }

  .brand small {
    font-size: 12px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }

  .hero-inner {
    padding: 34px 0;
  }

  .hero-image,
  .hero-image img {
    min-height: 230px;
  }

  .hotline-inner {
    padding: 14px 0;
  }

  .content-columns,
  .card-grid,
  .price-grid,
  .membership-rules,
  .payment-box,
  .form-two,
  .human-test,
  .sms-row {
    grid-template-columns: 1fr;
  }

  .payment-code {
    width: 100%;
    aspect-ratio: 2.8;
  }

  .section {
    padding: 38px 0;
  }

  .page-title {
    padding: 38px 0;
  }
}
