:root {
  --ink: #1d2d3d;
  --muted: #657482;
  --line: #dce6ec;
  --paper: #ffffff;
  --soft: #f5f8fa;
  --green: #187a6f;
  --green-dark: #0f5951;
  --gold: #f0b44c;
  --coral: #dd6b51;
  --blue: #1f3a5f;
  --shadow: 0 22px 48px rgba(29, 45, 61, 0.12);
}

* {
  box-sizing: border-box;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
}

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

.nav .nav-pay {
  color: var(--green-dark);
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  min-height: calc(100vh - 76px);
  padding: clamp(44px, 7vw, 92px) clamp(20px, 5vw, 72px) 48px;
  background: #fff;
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.08;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.2;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.hero-text {
  color: var(--muted);
  font-size: 18px;
}

.hero-actions,
.contact-band {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.btn.primary {
  color: #fff;
  background: var(--green);
}

.btn.primary:hover {
  background: var(--green-dark);
}

.btn.secondary {
  color: var(--blue);
  background: #fff;
  border-color: var(--line);
}

.hero-visual {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
}

.section {
  padding: clamp(48px, 7vw, 86px) clamp(20px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 32px;
  background: #eef6f3;
}

.intro p,
.service-card p,
.price-card p,
.muted {
  color: var(--muted);
}

.stats {
  display: grid;
  gap: 12px;
}

.stats span {
  display: block;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.stats strong {
  display: block;
  color: var(--blue);
  font-size: 22px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 26px;
}

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

.service-card,
.price-card,
.checkout-panel,
.order-summary,
.modal-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.service-card,
.price-card {
  padding: 24px;
}

.icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border-radius: 8px;
  font-weight: 800;
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-card.featured {
  border-color: var(--gold);
  transform: translateY(-8px);
}

.price {
  color: var(--coral);
  font-size: 34px;
  font-weight: 900;
}

.price-card .btn {
  margin-top: auto;
}

.pricing {
  background: #fff;
}

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

.contact-band {
  justify-content: space-between;
  color: #fff;
  background: var(--blue);
}

.contact-band .eyebrow,
.contact-band p {
  color: #d7e7ee;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
}

.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  padding: clamp(32px, 5vw, 64px) clamp(20px, 5vw, 72px);
}

.checkout-panel,
.order-summary {
  padding: 28px;
}

.payment-form {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 10px;
  font-weight: 800;
}

.option,
.method,
.payment-form label {
  display: grid;
  gap: 8px;
}

.option,
.method {
  grid-template-columns: 18px 1fr;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.option + .option {
  margin-top: 10px;
}

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

input[type="text"],
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(24, 122, 111, 0.18);
  border-color: var(--green);
}

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

.submit-btn {
  width: 100%;
  border: 0;
  font-size: 16px;
}

.order-summary {
  align-self: start;
  position: sticky;
  top: 96px;
}

.summary-line,
.summary-total {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.summary-total {
  align-items: baseline;
  border-bottom: 0;
  font-size: 18px;
}

.summary-total strong {
  color: var(--coral);
  font-size: 30px;
}

.qr-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: 190px;
  height: 190px;
  margin: 18px auto;
  padding: 14px;
  background: #fff;
  border: 8px solid var(--ink);
}

.qr-box span {
  background: var(--ink);
}

.qr-box span:nth-child(3n),
.qr-box span:nth-child(5),
.qr-box span:nth-child(10) {
  background: #fff;
  border: 1px solid var(--line);
}

.small {
  font-size: 13px;
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(12, 24, 35, 0.5);
}

.modal[hidden] {
  display: none;
}

.modal-box {
  position: relative;
  width: min(460px, 100%);
  padding: 34px;
  text-align: center;
}

.close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: var(--soft);
  font-size: 24px;
  cursor: pointer;
}

.success-mark {
  display: inline-grid;
  width: 58px;
  height: 58px;
  margin-bottom: 16px;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  font-size: 32px;
  font-weight: 900;
}

@media (max-width: 920px) {
  .hero,
  .intro,
  .checkout {
    grid-template-columns: 1fr;
  }

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

  .order-summary {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .hero {
    min-height: auto;
  }

  .service-grid,
  .pricing-grid,
  .form-row,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }
}
