:root {
  --ink: #18211d;
  --muted: #5d6a62;
  --paper: #f7f7f2;
  --white: #ffffff;
  --line: #dce1d7;
  --pine: #244d3a;
  --lake: #2d6f86;
  --sun: #e7b85f;
  --shadow: 0 18px 44px rgba(24, 33, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(247, 247, 242, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  color: var(--white);
  background: var(--pine);
  border-radius: 8px;
  font-weight: 800;
  font-size: 22px;
}

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

.brand strong {
  font-size: 18px;
  letter-spacing: 0;
}

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

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
}

.nav a {
  text-decoration: none;
}

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

.hero {
  position: relative;
  min-height: min(680px, calc(100vh - 76px));
  display: grid;
  align-items: center;
  padding: 76px clamp(20px, 5vw, 72px) 92px;
  overflow: hidden;
  color: var(--white);
  background: #1d3129;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 31, 25, 0.92) 0%, rgba(16, 31, 25, 0.68) 38%, rgba(16, 31, 25, 0.14) 74%),
    linear-gradient(0deg, rgba(16, 31, 25, 0.3), rgba(16, 31, 25, 0.04)),
    url("/assets/yunnan-travel-hero-v2.png") center / cover no-repeat;
}

.hero-content {
  position: relative;
  max-width: 680px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--sun);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(42px, 8vw, 76px);
  line-height: 1.06;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: var(--ink);
  background: var(--sun);
  border-color: var(--sun);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.intro,
.section,
.contact {
  max-width: 1160px;
  margin: 0 auto;
  padding: 74px clamp(20px, 5vw, 36px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(260px, 1.2fr);
  gap: 34px;
  border-bottom: 1px solid var(--line);
}

.intro h2,
.section h2,
.contact h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
  letter-spacing: 0;
}

.intro p:last-child,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

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

.route-card {
  min-height: 238px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.route-card span {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--lake);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.route-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.25;
}

.route-card p {
  margin: 0;
  color: var(--muted);
}

.services {
  padding-top: 34px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-list li {
  min-height: 104px;
  padding: 18px;
  color: var(--white);
  background: var(--pine);
  border-radius: 8px;
  font-weight: 700;
}

.service-list li:nth-child(2) {
  background: var(--lake);
}

.service-list li:nth-child(3) {
  color: var(--ink);
  background: var(--sun);
}

.service-list li:nth-child(4) {
  background: #42514a;
}

.contact {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 420px);
  gap: 30px;
  margin-bottom: 54px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact h2 {
  margin-bottom: 14px;
}

address {
  align-self: center;
  padding: 24px;
  color: var(--muted);
  background: #eef4ef;
  border-radius: 8px;
  font-style: normal;
}

address p {
  margin: 0 0 8px;
}

address p:last-child {
  margin-bottom: 0;
}

address strong {
  color: var(--ink);
}

.site-footer {
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

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

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .hero {
    min-height: 640px;
    padding-top: 60px;
  }

  .hero-media {
    background:
      linear-gradient(90deg, rgba(16, 31, 25, 0.94) 0%, rgba(16, 31, 25, 0.72) 58%, rgba(16, 31, 25, 0.24) 100%),
      linear-gradient(0deg, rgba(16, 31, 25, 0.24), rgba(16, 31, 25, 0.08)),
      url("/assets/yunnan-travel-hero-v2.png") 60% center / cover no-repeat;
  }

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

  .route-grid,
  .service-list {
    grid-template-columns: 1fr;
  }

  .service-list li {
    min-height: 76px;
  }
}

@media (max-width: 520px) {
  .brand small {
    font-size: 11px;
  }

  .nav {
    font-size: 14px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }
}
