:root {
  --bg: #fffaf5;
  --paper: #ffffff;
  --ink: #23272f;
  --muted: #6b7280;
  --line: #eadfd4;
  --brand: #d64012;
  --brand-dark: #88270f;
  --gold: #e5a12b;
  --soft: #f7eee6;
  --shadow: 0 20px 50px rgba(58, 38, 24, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 250, 245, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 210px;
}

.brand-logo {
  width: 42px !important;
  height: 42px !important;
  max-width: 42px;
  max-height: 42px;
  flex: 0 0 42px;
  display: block;
  object-fit: cover;
}

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

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav a {
  padding: 8px 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover {
  color: var(--brand);
}

.lang-switch {
  display: flex;
  border: 1px solid var(--line);
  background: #fff;
}

.lang-switch button {
  border: 0;
  padding: 8px 11px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
}

.lang-switch button.active {
  color: #fff;
  background: var(--brand);
}

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  padding: clamp(58px, 8vw, 110px) clamp(20px, 6vw, 80px);
  background:
    linear-gradient(135deg, rgba(214, 64, 18, 0.12), transparent 42%),
    radial-gradient(circle at 88% 20%, rgba(229, 161, 43, 0.26), transparent 30%),
    var(--bg);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0 0 20px;
  max-width: 760px;
  font-size: clamp(38px, 4.8vw, 64px);
  line-height: 1.06;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.12;
}

h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.lead {
  max-width: 720px;
  color: #4b5563;
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--brand);
  font-weight: 800;
}

.button.primary {
  color: #fff;
  background: var(--brand);
}

.button.secondary {
  color: var(--brand);
  background: transparent;
}

.hero-panel {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 34px);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-panel div {
  padding: 22px;
  background: var(--soft);
  border-left: 5px solid var(--brand);
}

.hero-panel span {
  display: block;
  color: var(--brand);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.hero-panel p {
  margin: 8px 0 0;
  color: var(--muted);
}

.section {
  padding: clamp(62px, 8vw, 104px) clamp(20px, 6vw, 80px);
}

.section.muted {
  background: var(--soft);
}

.section-head {
  max-width: 900px;
  margin-bottom: 34px;
}

.section-head.wide {
  max-width: 1180px;
}

.section-head p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.section-head .wide-intro {
  max-width: 1180px;
  white-space: normal;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-grid article,
.contact-card {
  min-height: 170px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(58, 38, 24, 0.06);
}

.feature-grid article h3 {
  color: var(--brand-dark);
}

.feature-grid article p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.resource-band {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.resource-band span {
  padding: 11px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--brand-dark);
  font-weight: 800;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.contact-card {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-card strong {
  color: var(--brand-dark);
}

.contact-card a,
.contact-card span {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 6vw, 80px);
  color: #f8e9df;
  background: #292b32;
}

.site-footer p {
  margin: 6px 0 0;
  color: #cfc6bf;
}

.footer-meta {
  display: flex;
  align-items: end;
  flex-direction: column;
  gap: 6px;
  color: #cfc6bf;
  font-size: 13px;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .feature-grid,
  .feature-grid.four,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-meta {
    align-items: flex-start;
  }
}
