:root {
  --ink: #1f2421;
  --muted: #68706a;
  --paper: #f8f4eb;
  --panel: #fffdf7;
  --line: #e4d8c2;
  --red: #a72828;
  --red-dark: #741a1d;
  --green: #254a3b;
  --gold: #c79744;
  --shadow: 0 22px 55px rgba(35, 26, 18, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

button,
input,
select {
  font: inherit;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  color: #fff;
}

.hero__media,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__media {
  background:
    linear-gradient(90deg, rgba(36, 25, 17, 0.88), rgba(36, 25, 17, 0.28) 54%, rgba(36, 25, 17, 0.08)),
    url("./assets/hero-baijiu-appraisal.png") center / cover no-repeat;
  transform: scale(1.02);
}

.hero__shade {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3), transparent 26%, rgba(0, 0, 0, 0.18));
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(167, 40, 40, 0.82);
  border-radius: 8px;
  font-weight: 800;
}

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

.brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
}

.nav__cta {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 52px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  min-height: calc(92vh - 86px);
  margin: 0 auto;
  padding: 38px 0 82px;
}

.hero__copy {
  max-width: 640px;
}

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

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(46px, 6vw, 82px);
  line-height: 1.02;
  letter-spacing: 0;
}

.lead {
  max-width: 560px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.8;
}

.hero__actions,
.panel-heading,
.field-grid,
.price-grid,
.steps {
  display: grid;
}

.hero__actions {
  grid-template-columns: repeat(2, max-content);
  gap: 12px;
}

.hero-contact {
  display: grid;
  grid-template-columns: minmax(0, 330px) 230px;
  align-items: stretch;
  gap: 12px;
  max-width: 572px;
}

.hero-phone {
  display: grid;
  align-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  padding: 18px 20px;
  color: #fff;
  background: rgba(167, 40, 40, 0.9);
  box-shadow: 0 14px 28px rgba(116, 26, 29, 0.26);
}

.hero-phone span,
.hero-phone small {
  color: rgba(255, 255, 255, 0.82);
}

.hero-phone strong {
  margin: 7px 0 5px;
  font-size: 38px;
  line-height: 1;
}

.hero-qr {
  display: grid;
  justify-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  padding: 12px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 700;
}

.hero-qr img {
  display: block;
  width: 210px;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  background: #fff;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 700;
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 14px 28px rgba(116, 26, 29, 0.24);
}

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

.button--full {
  width: 100%;
}

.quote-panel {
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  padding: 24px;
  color: var(--ink);
  background: rgba(255, 253, 247, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.panel-heading {
  grid-template-columns: 1fr max-content;
  align-items: center;
  margin-bottom: 20px;
}

.panel-heading__label {
  font-size: 22px;
  font-weight: 800;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}

.status-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #32a852;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.field span,
.extras legend {
  color: #394039;
  font-size: 13px;
  font-weight: 700;
}

.field-grid {
  grid-template-columns: 1fr 112px;
  gap: 12px;
}

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

.extras {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.extras legend {
  padding: 0 6px;
}

.extras label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 12px;
  color: var(--muted);
  font-size: 13px;
}

.extras input {
  width: 16px;
  min-height: 16px;
}

.result {
  margin: 18px 0 14px;
  border: 1px solid rgba(199, 151, 68, 0.42);
  border-radius: 8px;
  padding: 18px;
  background: #fff8e8;
}

.result span,
.result small {
  display: block;
  color: var(--muted);
}

.result strong {
  display: block;
  margin: 8px 0 4px;
  color: var(--red-dark);
  font-size: 36px;
  line-height: 1;
}

.fineprint {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

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

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

.section h2 {
  margin-bottom: 0;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.18;
}

.price-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.price-grid article,
.steps article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.price-grid article {
  padding: 20px;
}

.price-grid span,
.price-grid small {
  display: block;
  color: var(--muted);
}

.price-grid strong {
  display: block;
  margin: 12px 0 8px;
  color: var(--green);
  font-size: 24px;
}

.steps {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.steps article {
  padding: 22px;
}

.steps span {
  color: var(--red);
  font-weight: 900;
}

.steps h3 {
  margin: 14px 0 8px;
}

.steps p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.mobile-sticky-contact {
  display: none;
}

@media (max-width: 900px) {
  .topbar {
    align-items: flex-start;
  }

  .nav {
    display: none;
  }

  .hero__content {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 24px;
  }

  .hero__copy {
    max-width: none;
  }

  .quote-panel {
    max-width: 520px;
  }

  .price-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  body {
    padding-bottom: 82px;
  }

  .topbar,
  .hero__content,
  .section {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    min-height: auto;
  }

  .hero__media {
    background:
      linear-gradient(180deg, rgba(36, 25, 17, 0.92), rgba(36, 25, 17, 0.56)),
      url("./assets/hero-baijiu-appraisal.png") center / cover no-repeat;
  }

  .hero__content {
    min-height: auto;
    gap: 20px;
    padding: 10px 0 38px;
  }

  .topbar {
    padding: 14px 0 8px;
  }

  .brand__mark {
    width: 36px;
    height: 36px;
  }

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

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

  h1 {
    margin-bottom: 12px;
    font-size: 42px;
  }

  .lead {
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.65;
  }

  .hero__actions,
  .field-grid,
  .price-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-contact {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .hero-phone {
    padding: 16px;
  }

  .hero-phone strong {
    font-size: 32px;
  }

  .hero-qr {
    grid-template-columns: minmax(0, 180px) 1fr;
    justify-items: start;
    align-items: center;
    padding: 12px;
  }

  .hero-qr img {
    width: 180px;
    max-width: 100%;
    height: auto;
  }

  .quote-panel {
    padding: 16px;
    border-color: rgba(255, 255, 255, 0.52);
  }

  .panel-heading {
    margin-bottom: 14px;
  }

  .panel-heading__label {
    font-size: 20px;
  }

  select,
  input {
    min-height: 48px;
    font-size: 16px;
  }

  .extras {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .extras label {
    margin-right: 0;
    font-size: 14px;
  }

  .result {
    padding: 16px;
  }

  .result strong {
    font-size: 34px;
  }

  .section {
    padding-top: 42px;
  }

  .section__heading {
    display: block;
    margin-bottom: 16px;
  }

  .section h2 {
    font-size: 26px;
  }

  .price-grid article,
  .steps article {
    padding: 16px;
  }

  .mobile-sticky-contact {
    position: fixed;
    right: 10px;
    bottom: 10px;
    left: 10px;
    z-index: 20;
    display: grid;
    grid-template-columns: 1fr 112px;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    padding: 8px;
    background: rgba(255, 253, 247, 0.96);
    box-shadow: 0 14px 34px rgba(35, 26, 18, 0.22);
    backdrop-filter: blur(12px);
  }

  .mobile-sticky-contact a {
    display: grid;
    min-height: 52px;
    align-items: center;
    justify-items: center;
    border-radius: 8px;
    font-weight: 800;
  }

  .mobile-sticky-contact__phone {
    color: #fff;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
  }

  .mobile-sticky-contact__phone span {
    font-size: 12px;
    opacity: 0.82;
  }

  .mobile-sticky-contact__phone strong {
    font-size: 20px;
    line-height: 1;
  }

  .mobile-sticky-contact__wechat {
    color: var(--green);
    background: #eef5ef;
  }
}
