:root {
  --ink: #202623;
  --muted: #66716b;
  --line: #dfe5e0;
  --paper: #ffffff;
  --mist: #f4f7f5;
  --deep: #20312d;
  --teal: #286b5e;
  --gold: #9b6424;
  --amber: #d89538;
  --clay: #b4543e;
  --warm: #fff7ed;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.75;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, li, td, th { overflow-wrap: anywhere; }

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 76px;
  padding: 12px clamp(18px, 4.8vw, 68px);
  border-bottom: 1px solid rgba(223, 229, 224, 0.86);
  background: rgba(255, 255, 255, 0.9);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--deep);
}

.mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 8px;
  color: #fff;
  background: var(--deep);
  box-shadow: inset 0 -3px 0 var(--amber);
}

.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { font-size: 18px; font-weight: 900; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: 11px; font-weight: 700; }

nav {
  display: flex;
  gap: clamp(12px, 2.2vw, 24px);
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

nav a:hover,
nav a[aria-current="page"] { color: var(--teal); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(70vh, 720px);
  display: grid;
  align-items: end;
  padding: clamp(86px, 12vw, 144px) clamp(18px, 5vw, 70px) clamp(46px, 7vw, 78px);
  color: #fff;
  background: var(--deep);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(17, 27, 25, 0.86) 0%, rgba(17, 27, 25, 0.6) 46%, rgba(17, 27, 25, 0.1) 76%);
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-note {
  position: absolute;
  z-index: 1;
  top: 18px;
  right: clamp(18px, 5vw, 70px);
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(15, 25, 22, 0.42);
  font-size: 11px;
  line-height: 1.4;
  backdrop-filter: blur(6px);
}

.hero-inner { max-width: 900px; }

.breadcrumb {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.breadcrumb a:hover { color: #8fe9df; }

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow { color: #ffd49a; }

h1 {
  max-width: 900px;
  margin: 0 0 18px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
  margin-bottom: 11px;
  color: #ffd49a;
  font-size: clamp(19px, 2.2vw, 27px);
  font-weight: 800;
  line-height: 1.25;
}

.hero-office .hero-inner,
.hero-office h1 {
  max-width: 1020px;
}

.hero-office h1 {
  font-size: clamp(38px, 5.4vw, 62px);
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 43px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  color: var(--deep);
  font-size: 21px;
  line-height: 1.3;
}

.lead {
  max-width: 800px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 6px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.16); }

.button.primary {
  color: #2b251c;
  border-color: #ffd49a;
  background: #ffd49a;
}

.summary-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.summary-item {
  position: relative;
  min-height: 118px;
  padding: 24px clamp(18px, 3vw, 34px);
  background: #fff;
  border-right: 1px solid var(--line);
}

.summary-item::before {
  content: "";
  position: absolute;
  top: 27px;
  left: clamp(10px, 1.6vw, 22px);
  width: 4px;
  height: 28px;
  border-radius: 3px;
  background: var(--amber);
}

.summary-item:nth-child(2)::before { background: var(--clay); }
.summary-item:nth-child(3)::before { background: var(--teal); }

.summary-item:last-child { border-right: 0; }

.summary-item strong {
  display: block;
  color: var(--deep);
  font-size: 21px;
}

.summary-item span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}

section {
  padding: clamp(52px, 7vw, 86px) clamp(18px, 5vw, 70px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro-grid,
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.muted,
.section-head p,
.info-card p,
.checklist,
.note { color: var(--muted); }

.feature-image {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 0;
}

.feature-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--deep);
  box-shadow: 0 22px 52px rgba(32, 49, 45, 0.13);
}

.feature-frame figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 34px 18px 15px;
  color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(180deg, transparent, rgba(18, 31, 27, 0.9));
  font-size: 12px;
}

.feature-frame figcaption strong {
  display: block;
  color: #fff;
  font-size: 16px;
}

.soft { background: linear-gradient(90deg, var(--mist), var(--warm)); }

.section-head {
  max-width: 830px;
  margin-bottom: 28px;
}

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

.info-card {
  position: relative;
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(32, 49, 45, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(32, 49, 45, 0.1);
}

.info-card .num {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-weight: 900;
}

.info-card:nth-child(2) .num { color: var(--clay); }
.info-card:nth-child(3) .num { color: var(--teal); }

.checklist {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.checklist li {
  position: relative;
  padding-left: 21px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clay);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  background: #fff;
}

.spec-table th,
.spec-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  color: #fff;
  background: var(--deep);
}

.spec-table tr:last-child td { border-bottom: 0; }
.spec-table tbody tr:nth-child(even) td { background: #fafbf9; }

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

.related a {
  min-height: 154px;
  padding: 22px;
  border-left: 4px solid var(--amber);
  background: #fff;
}

.related a { transition: transform 180ms ease, background 180ms ease; }
.related a:hover { transform: translateY(-3px); background: var(--warm); }

.related span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.cta {
  color: #fff;
  background: var(--deep);
}

.cta .section-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.cta p {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.cta .eyebrow { color: #ffd49a; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 24px clamp(18px, 5vw, 70px);
  color: rgba(255, 255, 255, 0.72);
  background: #18231f;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a:hover { color: #ffd49a; }

.mobile-contact-bar { display: none; }

@media (max-width: 900px) {
  .info-grid,
  .related { grid-template-columns: repeat(2, minmax(0, 1fr)); }

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

  .cta .section-inner {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }

  header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 10px;
  }

  header nav {
    width: 100%;
    flex-wrap: nowrap;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  header nav::-webkit-scrollbar { display: none; }
  header nav a { flex: 0 0 auto; }

  .hero {
    min-height: 68vh;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(17, 27, 25, 0.26) 0%, rgba(17, 27, 25, 0.92) 74%, rgba(17, 27, 25, 0.96) 100%);
  }

  .hero-movable .hero-image,
  .hero-homestay .hero-image,
  .hero-office .hero-image,
  .hero-company .hero-image { object-position: 65% center; }

  .visual-note { top: 14px; right: 14px; }

  .brand-copy strong { font-size: 17px; }
  .brand-copy small { display: none; }

  .summary-band,
  .info-grid,
  .related { grid-template-columns: 1fr; }

  .button { width: 100%; }

  .hero h1 span { font-size: 18px; }

  .spec-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .mobile-contact-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    min-height: calc(66px + env(safe-area-inset-bottom));
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    gap: 8px;
    border-top: 1px solid rgba(223, 229, 224, 0.94);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -12px 30px rgba(24, 35, 31, 0.14);
    backdrop-filter: blur(14px);
  }

  .mobile-contact-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--deep);
    background: #fff;
    font-size: 15px;
    font-weight: 900;
  }

  .mobile-contact-bar a:last-child {
    border-color: #ffd49a;
    color: #2b251c;
    background: #ffd49a;
  }
}

@media print { .mobile-contact-bar { display: none !important; } }
