:root {
  --bg: #f4e7d4;
  --bg-soft: #fbf3e7;
  --surface: rgba(255, 249, 240, 0.78);
  --surface-strong: rgba(255, 246, 233, 0.92);
  --surface-deep: rgba(92, 43, 19, 0.92);
  --text: #2f1609;
  --text-soft: #715240;
  --text-contrast: rgba(255, 249, 240, 0.88);
  --line: rgba(117, 72, 37, 0.14);
  --primary: #b55d1d;
  --primary-deep: #7a3411;
  --accent: #e5b867;
  --accent-soft: #f3dec1;
  --shadow: 0 22px 60px rgba(98, 50, 21, 0.12);
  --shadow-strong: 0 30px 90px rgba(83, 38, 15, 0.18);
  --radius-2xl: 40px;
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --max-width: 1220px;
  --font-display: "Source Han Serif SC", "Songti SC", "STSong", serif;
  --font-body: "HarmonyOS Sans SC", "Microsoft YaHei UI", "PingFang SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top left, rgba(255, 226, 167, 0.86), transparent 26%),
    radial-gradient(circle at 88% 11%, rgba(188, 96, 37, 0.18), transparent 22%),
    linear-gradient(180deg, #fff7ee 0%, #f8eddc 38%, #f2e0c7 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(126, 73, 32, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 73, 32, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, black 42%, transparent 100%);
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-shell {
  position: relative;
  overflow: hidden;
}

.ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(16px);
  pointer-events: none;
}

.ambient--one {
  top: 120px;
  right: -120px;
  width: 320px;
  height: 320px;
  background: rgba(229, 184, 103, 0.24);
}

.ambient--two {
  top: 920px;
  left: -80px;
  width: 240px;
  height: 240px;
  background: rgba(181, 93, 29, 0.18);
}

.hero,
.section,
.stats,
.footer {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  padding: 24px 0 34px;
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px 22px;
  border: 1px solid rgba(117, 72, 37, 0.1);
  border-radius: var(--radius-pill);
  background: rgba(255, 248, 238, 0.76);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px rgba(89, 40, 15, 0.08);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.nav__brand-logo {
  display: block;
  width: 126px;
  min-width: 126px;
  height: 58px;
  padding: 6px 10px;
  border-radius: 20px;
  object-fit: contain;
  background: rgba(255, 248, 238, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.nav__brand-text {
  display: grid;
  gap: 2px;
}

.nav__brand-text strong {
  font-size: 1.08rem;
}

.nav__brand-text small,
.eyebrow,
.info-card__label,
.gallery-note__eyebrow,
.strength-panel__label {
  color: var(--text-soft);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--text-soft);
}

.nav__links a {
  position: relative;
  font-size: 0.96rem;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav__links a:hover::after,
.nav__links a:focus-visible::after {
  transform: scaleX(1);
}

.nav__cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: var(--radius-pill);
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease, border-color 0.28s ease;
}

.nav__cta {
  border: 1px solid rgba(122, 52, 17, 0.14);
  background: rgba(255, 250, 243, 0.72);
  color: var(--primary-deep);
  font-weight: 700;
}

.nav__cta:hover,
.nav__cta:focus-visible,
.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 34px;
  align-items: center;
  padding-top: 60px;
}

.hero__copy h1,
.section__heading h2,
.story-band__copy h2,
.contact__content h2,
.strength-panel h3,
.gallery-note h3 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.08;
}

.hero__copy h1 {
  max-width: 9ch;
  font-size: clamp(3.2rem, 6vw, 6rem);
}

.hero__lead,
.section__heading p,
.story-band__copy p,
.product-card p,
.timeline-card p,
.strength-card p,
.certificate-card p,
.contact__content p,
.info-card p,
.strength-panel p,
.contact-panel__item span,
.gallery-note__eyebrow {
  color: var(--text-soft);
  line-height: 1.86;
}

.hero__lead {
  max-width: 620px;
  margin: 24px 0 0;
  font-size: 1.08rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.button--primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fffaf2;
  box-shadow: 0 18px 38px rgba(122, 52, 17, 0.24);
}

.button--secondary {
  border: 1px solid rgba(122, 52, 17, 0.16);
  background: rgba(255, 250, 243, 0.72);
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.hero__tags li {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 250, 243, 0.65);
  color: var(--text-soft);
}

.hero__trust-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.hero__trust-band article,
.stats article,
.info-card,
.product-card,
.timeline-card,
.strength-card,
.strength-panel,
.gallery-card,
.gallery-note,
.certificate-card,
.contact,
.contact-panel {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero__trust-band article {
  padding: 18px 20px;
  border-radius: 22px;
}

.hero__trust-band span,
.contact-panel__item span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.92rem;
}

.hero__trust-band strong,
.contact-panel__item strong,
.contact-panel__item a {
  font-size: 1rem;
}

.hero__visual {
  position: relative;
  min-height: 680px;
}

.hero-card {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius-xl);
  backdrop-filter: blur(16px);
}

.hero-card img {
  height: 100%;
  object-fit: cover;
}

.hero-card--main {
  inset: 38px 34px 120px 76px;
  padding: 16px;
  background: rgba(255, 248, 238, 0.64);
  animation: driftA 7s ease-in-out infinite;
}

.hero-card--main img {
  border-radius: 26px;
}

.hero-card__overlay {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 34px;
  padding: 20px 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(82, 37, 15, 0.1), rgba(82, 37, 15, 0.66));
  color: #fff9f0;
}

.hero-card__overlay span {
  display: block;
  margin-bottom: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  opacity: 0.82;
}

.hero-card__overlay strong {
  font-family: var(--font-display);
  line-height: 1.55;
  font-size: 1.2rem;
}

.hero-card--story {
  top: 0;
  right: 0;
  width: 260px;
  padding: 24px;
  background: rgba(255, 247, 234, 0.88);
  animation: driftB 8s ease-in-out infinite;
}

.hero-card--story p {
  margin: 0 0 12px;
  color: var(--text-soft);
}

.hero-card--story strong {
  font-family: var(--font-display);
  line-height: 1.7;
  font-size: 1.08rem;
}

.hero-card--seal {
  top: 54px;
  left: 0;
  width: 176px;
  padding: 12px;
  background: rgba(255, 248, 238, 0.9);
}

.hero-card--photo {
  right: 14px;
  bottom: 18px;
  width: 242px;
  height: 278px;
  padding: 10px;
  background: rgba(255, 247, 234, 0.9);
  animation: driftB 9s ease-in-out infinite reverse;
}

.hero-card--seal img,
.hero-card--photo img {
  border-radius: 22px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding-top: 8px;
}

.stats article {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.stat-number {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 4rem);
  color: var(--primary-deep);
  line-height: 1;
}

.section {
  padding-top: 108px;
}

.section__heading {
  max-width: 760px;
}

.section__heading h2,
.story-band__copy h2,
.contact__content h2 {
  margin-top: 12px;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.about-grid,
.product-grid,
.timeline-grid,
.gallery-grid,
.certificate-grid,
.strengths-layout {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.about-grid {
  grid-template-columns: 1fr 1fr 1.08fr;
}

.info-card,
.product-card,
.timeline-card,
.strength-card,
.gallery-note,
.certificate-card,
.contact-panel {
  border-radius: var(--radius-lg);
}

.info-card,
.product-card,
.timeline-card,
.strength-card,
.gallery-note,
.certificate-card {
  padding: 28px;
}

.info-card h3,
.product-card h3,
.timeline-card h3,
.strength-card h3,
.certificate-card h3 {
  margin: 12px 0 10px;
  font-size: 1.34rem;
}

.info-card--quote {
  background:
    linear-gradient(160deg, rgba(122, 52, 17, 0.94), rgba(181, 93, 29, 0.84)),
    rgba(255, 248, 238, 0.74);
  color: #fff8ef;
}

.info-card--quote .info-card__label {
  color: rgba(255, 248, 238, 0.76);
}

.info-card--quote blockquote {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: 1.36rem;
  line-height: 1.75;
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card span {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(181, 93, 29, 0.12);
  color: var(--primary-deep);
  font-family: var(--font-display);
}

.story-band {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 26px;
  align-items: start;
}

.timeline-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}

.timeline-card {
  position: relative;
}

.timeline-card span {
  display: inline-flex;
  min-width: 72px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(181, 93, 29, 0.12);
  color: var(--primary-deep);
  font-weight: 700;
}

.timeline-card:nth-child(2),
.timeline-card:nth-child(4) {
  transform: translateY(42px);
}

.gallery-grid {
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-template-rows: 320px 260px;
}

.gallery-card,
.gallery-note {
  overflow: hidden;
}

.gallery-card {
  border-radius: var(--radius-xl);
}

.gallery-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.gallery-card:hover img,
.gallery-card:focus-within img {
  transform: scale(1.04);
}

.gallery-card--large {
  grid-row: span 2;
}

.gallery-note {
  padding: 30px;
  background:
    radial-gradient(circle at top right, rgba(229, 184, 103, 0.34), transparent 34%),
    rgba(255, 248, 238, 0.8);
}

.gallery-note h3 {
  margin-top: 12px;
  font-size: 1.52rem;
  line-height: 1.6;
}

.section--strengths .section__heading {
  max-width: 820px;
}

.strengths-layout {
  grid-template-columns: 1.08fr 0.92fr;
}

.strengths-list {
  display: grid;
  gap: 18px;
}

.strength-panel {
  padding: 34px;
  border-radius: var(--radius-2xl);
  background:
    radial-gradient(circle at top right, rgba(229, 184, 103, 0.24), transparent 28%),
    linear-gradient(160deg, rgba(101, 46, 20, 0.96), rgba(181, 93, 29, 0.86));
  color: #fff9f1;
  box-shadow: var(--shadow-strong);
}

.strength-panel .strength-panel__label,
.strength-panel p {
  color: var(--text-contrast);
}

.strength-panel h3 {
  font-size: 2rem;
}

.certificate-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.certificate-card {
  display: grid;
  gap: 18px;
}

.certificate-card img {
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  object-fit: cover;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  gap: 20px;
  align-items: start;
  padding-top: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  margin-top: 108px;
  margin-bottom: 64px;
}

.contact__content,
.contact-panel {
  padding: 34px;
}

.contact__content {
  border-radius: var(--radius-2xl);
  background:
    radial-gradient(circle at top left, rgba(229, 184, 103, 0.24), transparent 34%),
    var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.contact-panel {
  display: grid;
  gap: 18px;
}

.contact-panel__item {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(117, 72, 37, 0.12);
}

.contact-panel__item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-panel__item a {
  font-weight: 700;
  color: var(--primary-deep);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 0 0 34px;
  color: var(--text-soft);
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes driftA {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -8px, 0);
  }
}

@keyframes driftB {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, 7px, 0);
  }
}

@media (max-width: 1140px) {
  .nav {
    grid-template-columns: 1fr;
    justify-items: start;
    border-radius: 30px;
  }

  .nav__links {
    justify-content: flex-start;
  }

  .hero__content,
  .story-band,
  .strengths-layout,
  .contact,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .stats,
  .certificate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 320px 240px 240px;
  }

  .gallery-card--large {
    grid-row: span 1;
    grid-column: span 2;
  }

  .timeline-grid {
    margin-top: 16px;
  }

  .timeline-card:nth-child(2),
  .timeline-card:nth-child(4) {
    transform: none;
  }

  .hero__visual {
    min-height: 620px;
  }
}

@media (max-width: 820px) {
  .hero,
  .section,
  .stats,
  .footer {
    width: min(var(--max-width), calc(100% - 24px));
  }

  .hero {
    padding-top: 12px;
  }

  .hero__content {
    padding-top: 34px;
  }

  .hero__copy h1 {
    max-width: none;
  }

  .hero__trust-band,
  .product-grid,
  .stats,
  .timeline-grid,
  .certificate-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-rows: repeat(5, 240px);
  }

  .gallery-note {
    min-height: auto;
  }

  .hero__visual {
    min-height: 560px;
  }

  .hero-card--main {
    inset: 42px 0 126px;
  }

  .hero-card--story {
    width: calc(100% - 28px);
    left: 14px;
    right: 14px;
    top: 0;
  }

  .hero-card--seal {
    top: 118px;
    width: 138px;
  }

  .hero-card--photo {
    width: 180px;
    height: 220px;
  }

  .contact__content,
  .contact-panel,
  .strength-panel,
  .gallery-note {
    padding: 28px;
  }

  .section {
    padding-top: 84px;
  }

  .contact {
    margin-top: 84px;
  }

  .footer {
    flex-direction: column;
    padding-bottom: 28px;
  }
}

@media (max-width: 560px) {
  .nav,
  .contact__content,
  .contact-panel,
  .strength-panel,
  .info-card,
  .product-card,
  .timeline-card,
  .gallery-note,
  .certificate-card,
  .stats article {
    padding: 22px;
  }

  .nav__brand {
    gap: 10px;
  }

  .nav__brand-logo {
    width: 104px;
    min-width: 104px;
    height: 50px;
  }

  .nav__cta,
  .button {
    width: 100%;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__visual {
    min-height: 520px;
  }

  .hero-card--main {
    inset: 76px 0 128px;
    padding: 10px;
  }

  .hero-card__overlay {
    left: 20px;
    right: 20px;
    bottom: 20px;
    padding: 16px 18px;
  }

  .hero-card--story {
    width: calc(100% - 18px);
    left: 9px;
    right: 9px;
    padding: 18px;
  }

  .hero-card--seal {
    width: 116px;
    top: 124px;
    left: 0;
  }

  .hero-card--photo {
    right: 0;
    width: 150px;
    height: 196px;
  }

  .section__heading h2,
  .story-band__copy h2,
  .contact__content h2,
  .strength-panel h3,
  .gallery-note h3 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .info-card--quote blockquote {
    font-size: 1.14rem;
  }

  .contact {
    margin-top: 84px;
  }
}