*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-body);
  color: var(--color-text);
  background:
    radial-gradient(circle at top, rgba(128, 29, 38, 0.18), transparent 34%),
    linear-gradient(180deg, #140302 0%, #090101 100%);
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.only-mobile {
  display: none !important;
}

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

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

button {
  cursor: pointer;
}

.skip-link {
  position: absolute;
  top: -3rem;
  left: var(--space-md);
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: #1a0905;
}

.skip-link:focus {
  top: 1rem;
}

.shell {
  width: min(100% - 4rem, var(--container-max));
  margin: 0 auto;
}

.section {
  position: relative;
  overflow: clip;
  padding: 5rem 0;
}

.section-heading {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.35rem;
  margin-bottom: 2rem;
  text-align: center;
}

.section-heading h2,
h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
}

h1 {
  font-size: clamp(3.5rem, 6vw, 5.8rem);
  line-height: 1.12;
  letter-spacing: 0.08em;
}

h2 {
  font-size: clamp(2.2rem, 3vw, 3.1rem);
  line-height: 1.24;
}

h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.48rem);
  line-height: 1.3;
}

p {
  margin: 0;
}

.eyebrow {
  margin: 0;
  color: var(--color-accent);
  font-size: 0.76rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: var(--z-header);
  background: transparent;
  border-bottom: 0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  min-height: 6.25rem;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1;
}

.brand__cn {
  font-family: var(--font-display);
  font-size: 1.9rem;
  letter-spacing: 0.16em;
}

.brand__en {
  color: var(--color-text-soft);
  font-size: 0.84rem;
  letter-spacing: 0.12em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 1.75vw, 2.15rem);
  color: var(--color-text-soft);
  font-size: 1.05rem;
}

.site-nav a {
  position: relative;
  padding-bottom: 0.2rem;
  transition: color var(--transition-base);
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.25rem;
  left: 0;
  height: 1px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition-base);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--color-accent-strong);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  flex-direction: column;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid var(--color-border-strong);
  border-radius: 50%;
  background: rgba(30, 4, 4, 0.9);
  color: var(--color-text);
}

.menu-toggle span {
  display: block;
  width: 1.05rem;
  height: 1px;
  background: currentColor;
}

.menu-toggle__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.75rem;
  padding: 0.95rem 1.85rem;
  border: 1px solid transparent;
  border-radius: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    border-color var(--transition-base),
    background var(--transition-base),
    color var(--transition-base);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.button--primary {
  background: var(--gradient-button);
  color: #240b04;
}

.button--ghost {
  border-color: var(--color-border-strong);
  background: rgba(20, 2, 2, 0.1);
  color: var(--color-accent-strong);
}

.button--small {
  min-height: 2.9rem;
  padding: 0.7rem 1.2rem;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
}

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

.feature-icon {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 3.5rem;
  height: 3.5rem;
  border: 1px solid var(--color-border-strong);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 231, 180, 0.2), rgba(77, 18, 18, 0.35));
  box-shadow: inset 0 0 0 1px rgba(255, 244, 214, 0.06);
}

.feature-icon::before,
.feature-icon::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: var(--gradient-gold);
}

.feature-icon--line::before {
  width: 1rem;
  height: 1rem;
  border-radius: 0.2rem;
}

.feature-icon--line::after {
  width: 1.35rem;
  height: 1px;
  transform: translate(-50%, 0.8rem);
}

.feature-icon--shield::before {
  width: 1rem;
  height: 1.2rem;
  clip-path: polygon(50% 0%, 100% 22%, 84% 100%, 16% 100%, 0% 22%);
}

.feature-icon--recycle::before {
  width: 1.3rem;
  height: 1.3rem;
  background: none;
  border: 2px solid var(--color-accent);
  border-right-color: transparent;
}

.feature-icon--recycle::after {
  width: 0.35rem;
  height: 0.35rem;
  transform: translate(0.35rem, -0.45rem) rotate(45deg);
}

.feature-icon--spark::before,
.feature-icon--spark::after {
  background: var(--gradient-gold);
}

.feature-icon--spark::before {
  width: 0.34rem;
  height: 1.2rem;
}

.feature-icon--spark::after {
  width: 1.2rem;
  height: 0.34rem;
}

.feature-icon--factory::before {
  width: 1.25rem;
  height: 0.95rem;
  clip-path: polygon(0 70%, 18% 52%, 36% 70%, 54% 52%, 72% 70%, 72% 26%, 100% 26%, 100% 100%, 0 100%);
}

.feature-icon--map::before {
  width: 1.3rem;
  height: 1rem;
  clip-path: polygon(0 40%, 24% 16%, 46% 28%, 67% 10%, 100% 42%, 78% 100%, 48% 86%, 30% 100%);
}

.feature-icon--crown::before {
  width: 1.35rem;
  height: 1rem;
  clip-path: polygon(0 100%, 10% 30%, 30% 58%, 50% 0%, 70% 58%, 90% 30%, 100% 100%);
}

.feature-icon--medal::before {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
}

.feature-icon--medal::after {
  width: 0.8rem;
  height: 0.9rem;
  transform: translate(-50%, 0.55rem);
  clip-path: polygon(0 0, 50% 35%, 100% 0, 78% 100%, 50% 82%, 22% 100%);
}

.feature-icon--heart::before {
  width: 1rem;
  height: 1rem;
  clip-path: path("M 50 88 C 18 62 0 42 0 20 C 0 -4 28 -6 50 16 C 72 -6 100 -4 100 20 C 100 42 82 62 50 88 Z");
  transform: translate(-50%, -50%) scale(0.012);
  transform-origin: center;
}

.feature-icon--repeat::before,
.feature-icon--repeat::after {
  width: 1.1rem;
  height: 0.22rem;
}

.feature-icon--repeat::before {
  transform: translate(-50%, -0.2rem) rotate(18deg);
}

.feature-icon--repeat::after {
  transform: translate(-50%, 0.35rem) rotate(-18deg);
}

.feature-icon--bag::before {
  width: 0.95rem;
  height: 1rem;
  border-radius: 0.18rem;
}

.feature-icon--bag::after {
  width: 0.65rem;
  height: 0.45rem;
  background: none;
  border: 2px solid var(--color-accent);
  border-bottom: 0;
  transform: translate(-50%, -0.5rem);
}

.feature-icon--growth::before,
.feature-icon--growth::after {
  border-radius: 0.1rem;
}

.feature-icon--growth::before {
  width: 0.26rem;
  height: 0.9rem;
  box-shadow:
    -0.45rem 0.25rem 0 0 rgba(217, 176, 108, 0.95),
    0.45rem -0.2rem 0 0 rgba(217, 176, 108, 0.95);
}

.feature-icon--growth::after {
  width: 1rem;
  height: 1px;
  transform: translate(-50%, 0.45rem) rotate(-32deg);
}

.feature-icon--contract::before {
  width: 1rem;
  height: 1.2rem;
  border-radius: 0.18rem;
}

.feature-icon--contract::after {
  width: 0.55rem;
  height: 1px;
  box-shadow:
    0 -0.25rem 0 0 rgba(244, 222, 186, 0.75),
    0 0.25rem 0 0 rgba(244, 222, 186, 0.75);
}

.feature-icon--handshake::before,
.feature-icon--handshake::after {
  width: 0.85rem;
  height: 0.52rem;
  border-radius: 999px 999px 0 999px;
}

.feature-icon--handshake::before {
  transform: translate(-0.2rem, -0.05rem) rotate(28deg);
}

.feature-icon--handshake::after {
  transform: translate(-0.8rem, 0.2rem) rotate(-28deg);
}

.feature-icon--wechat::before,
.feature-icon--phone::before {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
}

.feature-icon--wechat::after {
  width: 0.34rem;
  height: 0.34rem;
  background: var(--color-surface-strong);
  box-shadow: 0.3rem 0 0 0 var(--color-surface-strong);
}

.feature-icon--phone::after {
  width: 0.45rem;
  height: 1rem;
  clip-path: polygon(0 12%, 32% 0, 100% 12%, 100% 88%, 32% 100%, 0 88%);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.field span {
  color: var(--color-text-soft);
  font-size: 0.95rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(220, 181, 110, 0.26);
  border-radius: var(--radius-sm);
  background: rgba(22, 6, 6, 0.68);
  color: var(--color-text);
  outline: none;
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--color-border-strong);
  box-shadow: 0 0 0 3px rgba(221, 181, 100, 0.12);
}

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.lead-modal[hidden] {
  display: none;
}

.lead-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 1, 1, 0.72);
  backdrop-filter: blur(12px);
}

.lead-modal__panel {
  position: relative;
  width: min(100%, 44rem);
  max-height: calc(100vh - 2rem);
  margin: 0;
  padding: 2rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(220, 181, 110, 0.3);
  border-radius: 1.35rem;
  background: linear-gradient(180deg, rgba(55, 10, 10, 0.96) 0%, rgba(20, 3, 3, 0.98) 100%);
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.42);
  animation: lead-modal-in 0.24s ease-out both;
}

.lead-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(220, 181, 110, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  color: var(--color-text);
  font-size: 1.45rem;
  line-height: 1;
}

.lead-form {
  display: grid;
  gap: 1.35rem;
}

.lead-form__header {
  display: grid;
  gap: 0.4rem;
}

.lead-form__header p,
.lead-form__error,
.lead-form__success {
  color: var(--color-text-soft);
}

.lead-form__error {
  color: #ffd4c2;
}

.lead-form__success {
  color: #f6ddb0;
}

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

.field--full {
  grid-column: 1 / -1;
}

body.lead-open {
  overflow: hidden;
}

@keyframes lead-modal-in {
  from {
    opacity: 0;
    transform: translateY(0.75rem) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.floating-cta {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: var(--z-floating);
  display: none;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity var(--transition-slow);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal--stagger > * {
  transition-delay: 0ms;
}

.site-footer {
  padding: 1.75rem 0 0.75rem;
  background:
    linear-gradient(180deg, rgba(18, 3, 3, 0.12) 0%, rgba(9, 1, 1, 0.98) 100%),
    #090101;
  border-top: 1px solid rgba(199, 146, 74, 0.18);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 1.55fr 0.9fr;
  gap: 2rem;
}

.site-footer__brand,
.site-footer__contact {
  display: grid;
  gap: 0.65rem;
}

.site-footer__brand p,
.site-footer__contact p,
.site-footer__links a {
  color: var(--color-text-muted);
}

.site-footer__links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-lg);
}

.site-footer__links div {
  display: grid;
  gap: 0.55rem;
}

.site-footer__links h3,
.site-footer__contact h3 {
  font-size: 1.05rem;
}

.site-footer__contact a {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2vw, 2.25rem);
  color: var(--color-accent-strong);
}

.site-footer__badges {
  display: flex;
  gap: var(--space-sm);
}

.site-footer__meta {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  margin-top: 0.65rem;
  padding-top: 0.55rem;
  color: var(--color-text-muted);
  border-top: 1px solid rgba(199, 146, 74, 0.12);
  font-size: 0.92rem;
}

.site-footer__mobile {
  padding: 2.2rem 0 calc(5.75rem + env(safe-area-inset-bottom));
}

.site-footer__mobile-brand {
  display: grid;
  gap: 0.7rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(199, 146, 74, 0.16);
}

.site-footer__mobile-brand p {
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

.site-footer__mobile-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  margin-top: 1.35rem;
  padding: 1.15rem;
  border: 1px solid rgba(218, 168, 89, 0.28);
  border-radius: 0.35rem 0.35rem 1.25rem 0.35rem;
  background: linear-gradient(135deg, rgba(88, 16, 21, 0.74), rgba(27, 3, 5, 0.9));
  box-shadow: 0 1.2rem 2.6rem rgba(0, 0, 0, 0.2);
}

.site-footer__mobile-contact span {
  color: rgba(244, 222, 186, 0.62);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.site-footer__mobile-phone {
  display: block;
  margin-top: 0.2rem;
  color: var(--color-accent-strong);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 8vw, 2.05rem);
  line-height: 1.15;
}

.site-footer__mobile-contact p {
  margin-top: 0.3rem;
  color: var(--color-text-muted);
  font-size: 0.78rem;
}

.site-footer__mobile-contact .button {
  min-height: 2.9rem;
  padding-inline: 1.1rem;
  white-space: nowrap;
}

.site-footer__mobile-nav {
  margin-top: 1.3rem;
  border-top: 1px solid rgba(199, 146, 74, 0.16);
}

.site-footer__mobile-nav details {
  border-bottom: 1px solid rgba(199, 146, 74, 0.16);
}

.site-footer__mobile-nav summary {
  position: relative;
  padding: 1rem 2rem 1rem 0;
  color: rgba(247, 225, 188, 0.92);
  font-family: var(--font-display);
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
}

.site-footer__mobile-nav summary::-webkit-details-marker {
  display: none;
}

.site-footer__mobile-nav summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0.25rem;
  color: var(--color-accent-strong);
  font-family: var(--font-body);
  font-size: 1.3rem;
  transform: translateY(-50%);
}

.site-footer__mobile-nav details[open] summary::after {
  content: "−";
}

.site-footer__mobile-nav details > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1rem;
  padding: 0 0 1rem;
}

.site-footer__mobile-nav a {
  color: var(--color-text-muted);
  font-size: 0.86rem;
}

.site-footer__mobile-meta {
  display: grid;
  gap: 0.35rem;
  padding-top: 1.25rem;
  color: rgba(244, 222, 186, 0.46);
  font-size: 0.76rem;
}

@media (max-width: 768px) {
  .lead-modal {
    align-items: flex-end;
    padding: 0;
  }

  .lead-modal__panel {
    width: 100%;
    max-height: 88vh;
    padding: 1.25rem 1rem calc(1.25rem + env(safe-area-inset-bottom));
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 1.35rem 1.35rem 0 0;
    animation-name: lead-modal-sheet-in;
  }

  .lead-modal__close {
    top: 0.75rem;
    right: 0.75rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes lead-modal-sheet-in {
  from {
    opacity: 0;
    transform: translateY(100%);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lead-modal__panel {
    animation: none;
  }
}

body.menu-open {
  overflow: hidden;
}

body.reduce-motion *,
body.reduce-motion *::before,
body.reduce-motion *::after {
  animation: none !important;
  transition-duration: 0.01ms !important;
  transition-delay: 0ms !important;
  scroll-behavior: auto !important;
}

@media (max-width: 1200px) {
  .shell {
    width: min(100% - 2rem, var(--container-max));
  }

  .site-footer__grid {
    grid-template-columns: minmax(14rem, 0.85fr) minmax(0, 1.6fr);
    align-items: start;
  }

  .site-footer__links {
    grid-column: 2;
    grid-row: 1 / span 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__contact {
    grid-column: 1;
    grid-row: 2;
  }
}

@media (max-width: 992px) {
  .site-header {
    position: sticky;
    backdrop-filter: blur(18px);
    background: linear-gradient(180deg, rgba(16, 4, 4, 0.94) 0%, rgba(16, 4, 4, 0.78) 100%);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 1rem;
    left: 1rem;
    display: grid;
    gap: 0;
    padding: 0.75rem;
    border: 1px solid rgba(220, 181, 110, 0.22);
    border-radius: var(--radius-md);
    background: rgba(22, 6, 6, 0.97);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.5rem);
    transition:
      opacity var(--transition-base),
      visibility var(--transition-base),
      transform var(--transition-base);
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 0.9rem 0.75rem;
    border-radius: var(--radius-sm);
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: rgba(255, 231, 180, 0.06);
  }

  .site-nav a::after {
    display: none;
  }

  .site-header__cta {
    display: none;
  }
}

@media (max-width: 768px) {
  body {
    line-height: 1.55;
  }

  .section {
    padding: 3.5rem 0;
  }

  .shell {
    width: min(100% - 1.5rem, var(--container-max));
  }

  .brand__cn {
    font-size: 1.6rem;
  }

  .site-header__inner {
    min-height: 4.75rem;
  }

  .only-desktop {
    display: none !important;
  }

  .only-mobile {
    display: block !important;
  }

  .site-footer {
    padding: 0;
  }

  .floating-cta {
    display: block;
  }
}

@media (max-width: 480px) {
  .button {
    width: 100%;
  }

  .site-footer__mobile-contact {
    grid-template-columns: 1fr;
  }

  .site-footer__mobile-contact .button {
    width: 100%;
  }
}
