@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Noto+Sans+SC:wght@400;500;600;700&family=Noto+Serif+SC:wght@500;600;700&display=swap");

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button {
  cursor: pointer;
}

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

.container {
  width: min(100% - var(--container-px) * 2, var(--container-max));
  margin-inline: auto;
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header:not(.is-scrolled) {
  background: transparent;
  border-bottom: 1px solid transparent;
}

.site-header:not(.is-scrolled) .brand,
.site-header:not(.is-scrolled) .nav-desktop a:not(.btn) {
  color: rgba(255, 255, 255, 0.92);
}

.site-header:not(.is-scrolled) .nav-desktop a:not(.btn):hover {
  color: var(--color-accent-on-dark);
}

.site-header:not(.is-scrolled) .nav-toggle span {
  background: #fff;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 0 rgba(6, 24, 36, 0.04);
}

.site-header.is-scrolled .brand {
  color: var(--color-heading);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  transition: color 0.3s;
}

.brand-logo {
  width: 36px;
  height: 32px;
  flex-shrink: 0;
  object-fit: contain;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-desktop a:not(.btn) {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.nav-desktop a:not(.btn):hover {
  color: var(--color-heading);
}

.lang-switch {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.site-header:not(.is-scrolled) .lang-switch {
  color: rgba(255, 255, 255, 0.75);
}

.site-header:not(.is-scrolled) .lang-switch:hover {
  color: var(--color-accent-on-dark);
}

.lang-switch:hover {
  color: var(--color-heading);
}

.nav-mobile .lang-switch {
  padding: 12px 0;
  font-size: 15px;
  letter-spacing: 0.04em;
}

.nav-toggle {
  display: none;
  border: 0;
  background: none;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px 0;
  background: var(--color-heading);
  transition: background 0.3s;
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--color-surface);
  padding: 24px;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid var(--color-border);
}

.nav-mobile.is-open {
  display: flex;
}

.nav-mobile a {
  font-size: 18px;
  padding: 8px 0;
  color: var(--color-heading);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

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

.btn-primary:hover {
  background: var(--color-accent-hover);
}

.btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
}

.btn-outline {
  background: transparent;
  color: var(--color-heading);
  border-color: var(--color-border);
}

.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-secondary {
  background: transparent;
  color: var(--color-heading);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.site-header.is-scrolled .btn-ghost {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.site-header.is-scrolled .btn-ghost:hover {
  background: var(--color-accent-hover);
}

.btn-block {
  width: 100%;
}

/* ── Kicker ── */
.kicker {
  display: block;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-kicker);
}

.section-head {
  max-width: 560px;
  margin-bottom: 56px;
}

.section-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-heading);
}

.section-desc {
  margin: 16px 0 0;
  font-size: 17px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-block: calc(var(--header-h) + 48px) 80px;
  background:
    var(--color-ink)
    url("../assets/images/hero-steel-factory.jpg") center / cover no-repeat;
  color: rgba(255, 255, 255, 0.88);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(6, 24, 36, 0.94) 0%,
      rgba(6, 24, 36, 0.82) 42%,
      rgba(6, 24, 36, 0.52) 100%
    ),
    radial-gradient(ellipse 80% 60% at 85% 40%, rgba(158, 115, 73, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  margin: 0 0 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent-on-dark);
}

.hero-title {
  margin: 0 0 24px;
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  line-height: 1.18;
  color: #fff;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  margin: 0 0 36px;
  max-width: 26em;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-trust {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border-dark);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.45);
}

.hero-trust span {
  padding: 0 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  white-space: nowrap;
}

.hero-trust span:first-child {
  padding-left: 0;
}

.hero-trust span:last-child {
  border-right: 0;
}

.hero-visual {
  position: relative;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 24, 36, 0.55) 0%, transparent 45%);
  pointer-events: none;
}

/* ── Page hero (contact & subpages) ── */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 56px) 0 56px;
  background:
    var(--color-ink)
    url("../assets/images/steel-coils-warehouse.jpg") center / cover no-repeat;
  color: rgba(255, 255, 255, 0.88);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(6, 24, 36, 0.92) 0%,
    rgba(6, 24, 36, 0.78) 100%
  );
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero .kicker {
  color: var(--color-accent-on-dark);
}

.page-hero__title {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.5vw, 44px);
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
}

.page-hero__desc {
  margin: 0;
  max-width: 28em;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.68);
}

/* ── Sections ── */
.section {
  padding-block: var(--section-py);
}

.section--alt {
  background: var(--color-surface);
}

.section--dark {
  background: var(--color-ink);
  color: rgba(255, 255, 255, 0.85);
}

.section--dark .section-title {
  color: #fff;
}

.section--dark .section-desc {
  color: rgba(255, 255, 255, 0.65);
}

.kicker--on-dark {
  color: var(--color-accent-on-dark);
}

.editorial-head {
  max-width: 640px;
  margin-bottom: 64px;
}

.editorial-head--insights {
  margin-bottom: 0;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--color-border);
}

.editorial-head--insights + .editorial-list {
  border-top: 0;
}

figure.section-visual-strip {
  display: block;
  margin: 0 0 40px;
  width: 100%;
  max-width: 640px;
  height: 180px;
  max-height: 180px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

figure.section-visual-strip img {
  display: block;
  width: 100%;
  height: 180px;
  max-height: 180px;
  object-fit: cover;
  object-position: center 40%;
  filter: saturate(0.88) contrast(1.04);
}

.editorial-list {
  border-top: 1px solid var(--color-border);
}

.editorial-list--compact .editorial-item {
  padding: 32px 0;
}

.editorial-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 32px;
  padding: 44px 0;
  border-bottom: 1px solid var(--color-border);
  align-items: start;
  transition: background 0.2s;
}

.editorial-item:hover {
  background: linear-gradient(90deg, rgba(158, 115, 73, 0.03) 0%, transparent 32%);
}

.editorial-item__num {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 600;
  line-height: 1;
  color: var(--color-heading);
  opacity: 0.55;
}

.editorial-item h3 {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-heading);
}

.editorial-item p {
  margin: 0;
  max-width: 52em;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.editorial-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-link);
  transition: color 0.2s;
}

.editorial-link:hover {
  color: var(--color-link-hover);
}

.editorial-scope {
  margin: 20px 0 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}

.editorial-item .editorial-scope {
  margin-top: 16px;
}

.editorial-scope--block {
  margin: 0;
  padding-top: 36px;
  border-top: 0;
}

/* ── Industry panels ── */
.industry-list {
  border-top: 1px solid var(--color-border);
}

.editorial-head--insights + .industry-list {
  border-top: 0;
}

.industry-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--color-border);
}

.industry-item--reverse .industry-item__media {
  order: 2;
}

.industry-item__media {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}

.industry-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.industry-item:hover .industry-item__media img {
  transform: scale(1.03);
}

.industry-item__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 24, 36, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.industry-item__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 56px;
  background: var(--color-surface);
}

.industry-item__body .kicker {
  margin-bottom: 12px;
}

.industry-item__body h3 {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-heading);
}

.industry-item__body p:not(.editorial-scope) {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.industry-item__body .editorial-scope {
  margin-top: 20px;
}

/* ── About ── */
.editorial-head--insights + .brand-slogan {
  margin-top: 0;
}

.brand-slogan {
  margin: 0 0 0;
  padding: 32px 36px;
  border-left: 3px solid var(--color-accent);
  background:
    linear-gradient(135deg, var(--color-accent-soft) 0%, var(--color-brand-green-soft) 100%);
  font-family: var(--font-serif);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 500;
  line-height: 1.55;
  color: var(--color-heading);
}

.brand-slogan + .editorial-list {
  border-top: 0;
}

.brand-slogan + .editorial-list .editorial-item:first-child {
  padding-top: 48px;
}

/* ── CTA band ── */
.cta-band {
  text-align: center;
  padding-block: 88px;
}

.cta-band .editorial-head,
.cta-band .kicker {
  margin-inline: auto;
}

.cta-band .section-title {
  margin-bottom: 16px;
}

.cta-band .section-desc {
  max-width: 36em;
  margin-inline: auto;
  margin-bottom: 36px;
}

/* ── Footer ── */
.site-footer {
  background: var(--color-footer);
  color: rgba(255, 255, 255, 0.6);
  padding: 56px 0 36px;
  font-size: 14px;
}

.footer-inner {
  max-width: 880px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px 64px;
  align-items: center;
  margin-bottom: 40px;
}

.site-footer .brand {
  color: #fff;
  margin-bottom: 16px;
}

.footer-company {
  margin: 0;
}

.footer-slogan {
  margin: 8px 0 0;
  max-width: 28em;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 12px 56px;
  justify-items: end;
  text-align: right;
}

.footer-nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--color-accent-on-dark);
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--color-border-dark);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
}

.footer-legal {
  line-height: 1.85;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.65);
}

.footer-beian-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 4px;
  vertical-align: middle;
}

/* ── Mobile CTA ── */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 12px 16px;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 20px rgba(6, 24, 36, 0.08);
}

/* ── Animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Contact page ── */
.contact-section {
  padding-block: var(--section-py);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: start;
}

.form-card,
.info-card {
  padding: 36px 32px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
}

.form-row {
  margin-bottom: 20px;
}

.form-row label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-heading);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color 0.2s;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-row textarea {
  min-height: 120px;
  resize: vertical;
}

.qr-placeholder {
  width: 140px;
  height: 140px;
  margin-bottom: 24px;
  background: var(--color-bg);
  border: 1px dashed var(--color-border);
  border-radius: var(--card-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--color-text-muted);
  text-align: center;
  padding: 12px;
}

.info-card p {
  margin: 0 0 20px;
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.info-card p:last-child {
  margin-bottom: 0;
}

.info-card__photo {
  display: block;
  width: 100%;
  margin-bottom: 24px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: calc(var(--card-radius) - 2px);
  border: 1px solid var(--color-border);
  filter: saturate(0.92) contrast(1.02);
}

.thanks-panel {
  display: none;
  text-align: center;
  padding: 48px 32px;
}

.thanks-panel.is-visible {
  display: block;
}

.form-panel.is-hidden {
  display: none;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    height: 280px;
    order: -1;
  }

  .editorial-item {
    grid-template-columns: 48px 1fr;
    gap: 20px;
    padding: 32px 0;
  }

  .industry-item {
    grid-template-columns: 1fr;
  }

  .industry-item--reverse .industry-item__media {
    order: 0;
  }

  .industry-item__media {
    min-height: 240px;
  }

  .industry-item__body {
    padding: 32px 24px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
  }

  .footer-nav {
    grid-template-columns: repeat(2, auto);
    justify-content: start;
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .mobile-cta {
    display: block;
  }

  body {
    padding-bottom: 72px;
  }

  .hero {
    min-height: auto;
    padding-block: calc(var(--header-h) + 32px) 56px;
  }

  .hero-trust {
    flex-wrap: wrap;
    gap: 8px 0;
    margin-top: 40px;
  }

  .hero-trust span {
    padding: 4px 10px;
    border-right: 0;
    white-space: normal;
  }

  figure.section-visual-strip {
    display: none;
  }
}
