:root {
  --color-primary: #b47a2a;
  --color-primary-dark: #8a571c;
  --color-primary-deep: #2b1a0f;
  --color-primary-light: #e4bb70;
  --color-ink: #251a11;
  --color-text: #665849;
  --color-muted: #8b7b69;
  --color-line: #eadfce;
  --color-surface: #fbf6ee;
  --color-white: #ffffff;
  --container-width: 1160px;
  --shadow-soft: 0 24px 64px rgba(70, 42, 18, 0.1);
  --shadow-card: 0 16px 42px rgba(78, 48, 21, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-white);
  font-family:
    "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body,
button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(calc(100% - 48px), var(--container-width));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--color-white);
  background: var(--color-primary-deep);
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(233, 221, 203, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 13px;
  color: var(--color-ink);
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  box-shadow: 0 10px 22px rgba(180, 122, 42, 0.22);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-copy strong {
  font-size: 20px;
  letter-spacing: 0.08em;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--color-muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 42px);
}

.site-nav a {
  position: relative;
  padding: 27px 0 25px;
  color: #5a4b3d;
  font-size: 15px;
  font-weight: 600;
  transition: color 180ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 19px;
  left: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: 999px;
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--color-primary-dark);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.site-nav a:focus-visible,
.button:focus-visible,
.footer-links a:focus-visible,
.company-details a:focus-visible {
  outline: 3px solid rgba(180, 122, 42, 0.25);
  outline-offset: 5px;
  border-radius: 4px;
}

.hero {
  position: relative;
  min-height: 690px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(228, 187, 112, 0.22), transparent 29%),
    radial-gradient(circle at 10% 84%, rgba(180, 122, 42, 0.1), transparent 26%),
    linear-gradient(135deg, #fffdf9 0%, #faf2e5 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image: radial-gradient(rgba(138, 87, 28, 0.22) 0.7px, transparent 0.7px);
  background-size: 22px 22px;
  content: "";
  mask-image: linear-gradient(to right, black, transparent 44%);
  -webkit-mask-image: linear-gradient(to right, black, transparent 44%);
}

.hero-decoration {
  position: absolute;
  border: 1px solid rgba(180, 122, 42, 0.13);
  border-radius: 50%;
}

.hero-decoration-one {
  width: 460px;
  height: 460px;
  top: -280px;
  right: 17%;
}

.hero-decoration-two {
  width: 280px;
  height: 280px;
  bottom: -215px;
  left: 20%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(400px, 0.96fr);
  align-items: center;
  gap: 72px;
  padding-block: 86px 92px;
}

.hero-content {
  animation: enter-left 700ms ease both;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 21px;
  color: var(--color-primary-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.eyebrow span {
  width: 28px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 999px;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  color: var(--color-ink);
  font-size: clamp(44px, 5.1vw, 68px);
  font-weight: 750;
  line-height: 1.22;
  letter-spacing: -0.035em;
}

.hero h1 em {
  color: var(--color-primary);
  font-style: normal;
}

.hero-summary {
  max-width: 640px;
  margin: 28px 0 0;
  color: #6d5c4a;
  font-size: 18px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--color-white);
  background: var(--color-primary);
  box-shadow: 0 13px 28px rgba(180, 122, 42, 0.24);
}

.button-primary:hover {
  background: var(--color-primary-dark);
  box-shadow: 0 16px 32px rgba(180, 122, 42, 0.3);
}

.button-secondary {
  color: var(--color-primary-dark);
  background: rgba(255, 255, 255, 0.72);
  border-color: #e5d2b4;
}

.button-secondary:hover {
  border-color: var(--color-primary-light);
  background: var(--color-white);
}

.hero-facts {
  display: flex;
  gap: 0;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.hero-facts li {
  min-width: 115px;
  display: flex;
  flex-direction: column;
  padding-right: 28px;
}

.hero-facts li + li {
  padding-left: 28px;
  border-left: 1px solid #eadbc2;
}

.hero-facts strong {
  color: var(--color-ink);
  font-size: 20px;
  line-height: 1.25;
}

.hero-facts span {
  margin-top: 6px;
  color: var(--color-muted);
  font-size: 12px;
}

.hero-brand-visual {
  position: relative;
  width: min(100%, 530px);
  margin: 0;
  justify-self: end;
  animation: enter-right 800ms 80ms ease both;
}

.hero-brand-visual::before {
  position: absolute;
  z-index: -1;
  inset: -42px -30px;
  background: radial-gradient(circle, rgba(202, 145, 58, 0.2), transparent 68%);
  content: "";
  filter: blur(10px);
}

.brand-image-frame {
  position: relative;
  padding: 9px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 248, 231, 0.92), rgba(180, 122, 42, 0.36));
  border: 1px solid rgba(180, 122, 42, 0.26);
  border-radius: 26px;
  box-shadow:
    0 30px 65px rgba(66, 40, 18, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  transform: rotate(-1.2deg);
}

.brand-image-frame::after {
  position: absolute;
  top: -45%;
  left: -35%;
  width: 42%;
  height: 180%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.26), transparent);
  content: "";
  transform: rotate(16deg);
}

.brand-image-frame img {
  width: 100%;
  height: auto;
  border-radius: 19px;
}

.hero-brand-visual figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 19px;
  padding-inline: 10px;
}

.hero-brand-visual figcaption span {
  color: var(--color-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.hero-brand-visual figcaption strong {
  color: var(--color-primary-dark);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.section {
  padding-block: 110px;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 110px;
}

.section-heading h2 {
  margin: 0;
  color: var(--color-ink);
  font-size: clamp(32px, 3.8vw, 46px);
  line-height: 1.38;
  letter-spacing: -0.025em;
}

.about-lead {
  margin: 3px 0 16px;
  color: #4e3c2c;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.8;
}

.about-content > p:not(.about-lead) {
  margin: 0;
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.95;
}

.about-values {
  display: grid;
  gap: 0;
  margin-top: 35px;
  border-top: 1px solid var(--color-line);
}

.about-values article {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: start;
  gap: 17px;
  padding: 19px 0;
  border-bottom: 1px solid var(--color-line);
}

.about-values article > span {
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.about-values h3 {
  margin: -4px 0 3px;
  color: var(--color-ink);
  font-size: 17px;
}

.about-values p {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
}

.section-services {
  background:
    linear-gradient(rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.62)),
    radial-gradient(circle at 15% 10%, rgba(228, 187, 112, 0.2), transparent 31%),
    var(--color-surface);
}

.section-heading-centered {
  max-width: 690px;
  margin-inline: auto;
  text-align: center;
}

.section-heading-centered .eyebrow {
  justify-content: center;
}

.section-heading-centered > p:last-child {
  margin: 18px 0 0;
  color: var(--color-muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 58px;
}

.service-card {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: 34px 32px 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(235, 222, 202, 0.94);
  border-radius: 22px;
  box-shadow: 0 10px 36px rgba(78, 48, 21, 0.05);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.service-card::after {
  position: absolute;
  right: -65px;
  bottom: -82px;
  width: 170px;
  height: 170px;
  background: rgba(215, 164, 80, 0.1);
  border-radius: 50%;
  content: "";
}

.service-card:hover {
  border-color: rgba(180, 122, 42, 0.4);
  box-shadow: var(--shadow-card);
  transform: translateY(-6px);
}

.service-card-featured {
  color: rgba(255, 255, 255, 0.76);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.06), transparent 38%),
    var(--color-primary-deep);
  border-color: var(--color-primary-deep);
  box-shadow: 0 20px 48px rgba(48, 31, 16, 0.24);
}

.service-card-featured::after {
  background: rgba(232, 190, 116, 0.14);
}

.service-number {
  position: absolute;
  top: 26px;
  right: 30px;
  color: #cbbda9;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.service-card-featured .service-number {
  color: rgba(255, 255, 255, 0.4);
}

.service-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--color-primary);
  background: #fcf0dc;
  border-radius: 17px;
}

.service-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.service-card-featured .service-icon {
  color: #fff2cf;
  background: rgba(255, 255, 255, 0.12);
}

.service-card h3 {
  margin: 30px 0 14px;
  color: var(--color-ink);
  font-size: 22px;
}

.service-card-featured h3 {
  color: var(--color-white);
}

.service-card p {
  margin: 0;
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.9;
}

.service-card-featured p {
  color: rgba(255, 255, 255, 0.72);
}

.service-tag {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 28px;
  color: var(--color-primary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-card-featured .service-tag {
  color: var(--color-primary-light);
}

.section-contact {
  padding-block: 96px;
}

.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 80px;
  padding: 68px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(circle at 0 0, rgba(228, 187, 112, 0.2), transparent 30%),
    linear-gradient(135deg, #4a2e17, #20140c);
  border-radius: 30px;
  box-shadow: 0 30px 70px rgba(48, 31, 16, 0.22);
}

.contact-panel::before {
  position: absolute;
  right: -130px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.contact-panel::after {
  position: absolute;
  right: -25px;
  bottom: -70px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  content: "";
}

.contact-copy,
.company-details {
  position: relative;
  z-index: 1;
}

.eyebrow-light {
  color: var(--color-primary-light);
}

.eyebrow-light span {
  background: var(--color-primary-light);
}

.contact-copy h2 {
  margin: 0;
  color: var(--color-white);
  font-size: clamp(32px, 3.7vw, 46px);
  line-height: 1.4;
  letter-spacing: -0.025em;
}

.contact-copy > p:last-child {
  max-width: 440px;
  margin: 23px 0 0;
  line-height: 1.9;
}

.company-details {
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.company-details > div {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 22px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.company-details dt {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.company-details dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

.company-details a {
  color: var(--color-primary-light);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(228, 187, 112, 0.38);
  text-underline-offset: 4px;
}

.site-footer {
  padding-block: 30px;
  background: #faf6ef;
  border-top: 1px solid var(--color-line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.footer-brand div,
.footer-links {
  display: flex;
  flex-direction: column;
}

.footer-brand strong {
  color: var(--color-ink);
  font-size: 13px;
}

.footer-brand span,
.footer-links {
  color: var(--color-muted);
  font-size: 11px;
}

.footer-brand span {
  margin-top: 2px;
}

.footer-links {
  align-items: flex-end;
  gap: 3px;
}

.footer-links a {
  color: #6b5a48;
  text-decoration: underline;
  text-decoration-color: #d8c8b1;
  text-underline-offset: 3px;
}

.footer-links a:hover {
  color: var(--color-primary-dark);
}

@keyframes enter-left {
  from {
    opacity: 0;
    transform: translateX(-18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes enter-right {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 1024px) {
  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr 390px;
    gap: 30px;
  }

  .hero-brand-visual {
    width: 390px;
  }

  .about-grid {
    gap: 64px;
  }

  .contact-panel {
    gap: 50px;
    padding: 54px;
  }
}

@media (max-width: 840px) {
  html {
    scroll-padding-top: 126px;
  }

  .header-inner {
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 12px;
  }

  .brand {
    align-self: flex-start;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand-copy strong {
    font-size: 18px;
  }

  .site-nav {
    justify-content: space-between;
    gap: 12px;
    margin-top: 7px;
  }

  .site-nav a {
    padding: 11px 0 13px;
    font-size: 13px;
  }

  .site-nav a::after {
    bottom: 8px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-block: 70px 80px;
  }

  .hero-content {
    max-width: 680px;
  }

  .hero-brand-visual {
    width: min(100%, 620px);
    margin-top: 12px;
    justify-self: center;
  }

  .hero::before {
    mask-image: linear-gradient(to bottom, black, transparent 80%);
    -webkit-mask-image: linear-gradient(to bottom, black, transparent 80%);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .section {
    padding-block: 82px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    max-width: 650px;
    margin: 48px auto 0;
  }

  .service-card {
    min-height: 300px;
  }

  .contact-panel {
    grid-template-columns: 1fr;
    gap: 45px;
    padding: 52px 44px;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 32px), var(--container-width));
  }

  .brand-copy small {
    display: none;
  }

  .site-nav a {
    font-size: 12px;
  }

  .hero-grid {
    padding-block: 56px 66px;
  }

  .hero h1 {
    font-size: clamp(37px, 11.2vw, 52px);
    line-height: 1.28;
  }

  .hero-summary {
    margin-top: 22px;
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .button {
    flex: 1 1 155px;
  }

  .hero-facts {
    justify-content: space-between;
    margin-top: 40px;
  }

  .hero-facts li {
    min-width: 0;
    flex: 1;
    padding-right: 14px;
  }

  .hero-facts li + li {
    padding-left: 14px;
  }

  .brand-image-frame {
    padding: 5px;
    border-radius: 18px;
    transform: none;
  }

  .brand-image-frame img {
    border-radius: 13px;
  }

  .hero-brand-visual figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    margin-top: 13px;
    padding-inline: 4px;
  }

  .section {
    padding-block: 68px;
  }

  .section-heading h2,
  .contact-copy h2 {
    font-size: 31px;
  }

  .about-lead {
    font-size: 18px;
  }

  .about-values article {
    grid-template-columns: 38px 1fr;
  }

  .service-card {
    min-height: 315px;
    padding: 28px 26px;
  }

  .section-contact {
    padding-block: 54px;
  }

  .contact-panel {
    width: calc(100% - 24px);
    gap: 38px;
    padding: 40px 26px;
    border-radius: 23px;
  }

  .company-details > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
