:root {
  --ink: #f3efe6;
  --muted: #aab3ad;
  --paper: #0b0f0e;
  --surface: #151b19;
  --surface-strong: #1c2421;
  --line: rgba(243, 239, 230, 0.14);
  --tomato: #d85a45;
  --tomato-dark: #b84434;
  --leaf: #69b88f;
  --gold: #d7ad5c;
  --charcoal: #101614;
  --shadow: 0 22px 56px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

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

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 clamp(20px, 5vw, 72px);
  color: #fff;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(11, 15, 14, 0.9);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: var(--tomato);
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
  font-size: 15px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.site-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  align-items: center;
  padding: 120px clamp(20px, 6vw, 88px) 70px;
  overflow: hidden;
  color: #fff;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("https://images.unsplash.com/photo-1528605248644-14dd04022da1?auto=format&fit=crop&w=1800&q=82");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 8, 8, 0.94), rgba(9, 13, 12, 0.7) 48%, rgba(9, 13, 12, 0.34)),
    linear-gradient(0deg, rgba(6, 8, 8, 0.42), rgba(6, 8, 8, 0.16));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

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

.hero .eyebrow {
  color: #f1c15d;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(52px, 9vw, 104px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 800;
}

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

.button-primary:hover {
  background: var(--tomato-dark);
}

.button-line {
  color: #07100c;
  background: var(--leaf);
}

.button-line:hover {
  background: #7bd5a5;
}

.button-wechat {
  color: #07100c;
  border: 0;
  background: var(--gold);
  cursor: pointer;
  font: inherit;
}

.button-wechat:hover {
  background: #e4c476;
}

.button-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.54);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.hero-panel {
  position: absolute;
  z-index: 3;
  right: clamp(20px, 6vw, 88px);
  bottom: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  width: min(620px, calc(100% - 40px));
  background: rgba(21, 27, 25, 0.94);
  box-shadow: var(--shadow);
  color: var(--ink);
  backdrop-filter: blur(16px);
}

.hero-panel div {
  padding: 18px 20px;
  border-right: 1px solid var(--line);
}

.hero-panel div:last-child {
  border-right: 0;
}

.hero-panel span,
.contact-card span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-panel strong,
.contact-card strong {
  display: block;
  font-size: 18px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.section {
  padding: clamp(74px, 9vw, 124px) clamp(20px, 6vw, 88px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.feature-grid,
.pricing-grid,
.article-grid,
.contact-grid,
.page-link-grid,
.info-grid,
.social-grid {
  display: grid;
  gap: 18px;
}

.page-hero {
  position: relative;
  min-height: 460px;
  display: grid;
  align-items: end;
  padding: 140px clamp(20px, 6vw, 88px) 76px;
  overflow: hidden;
  color: #fff;
  background-position: center;
  background-size: cover;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 8, 8, 0.94), rgba(9, 13, 12, 0.68)),
    linear-gradient(0deg, rgba(6, 8, 8, 0.36), rgba(6, 8, 8, 0.12));
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.page-hero-content p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
}

.pricing-hero {
  background-image: url("https://images.unsplash.com/photo-1559339352-11d035aa65de?auto=format&fit=crop&w=1800&q=82");
}

.recruit-hero {
  background-image: url("https://images.unsplash.com/photo-1559329007-40df8a9345d8?auto=format&fit=crop&w=1800&q=82");
}

.location-hero {
  background-image: url("https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=1800&q=82");
}

.articles-hero {
  background-image: url("https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=1800&q=82");
}

.contact-hero,
.legal-hero {
  background-image: url("https://images.unsplash.com/photo-1528605248644-14dd04022da1?auto=format&fit=crop&w=1800&q=82");
}

.page-link-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.page-link-card,
.info-card {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.page-link-card {
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.page-link-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.page-link-card span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--leaf);
  font-size: 13px;
  font-weight: 900;
}

.page-link-card p,
.info-card p,
.notice-panel p,
.legal-document p {
  color: var(--muted);
}

.home-service-media {
  background-image:
    linear-gradient(0deg, rgba(6, 8, 8, 0.36), rgba(6, 8, 8, 0.36)),
    url("https://images.unsplash.com/photo-1559339352-11d035aa65de?auto=format&fit=crop&w=1400&q=80");
}

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

.info-card h3 {
  color: var(--leaf);
}

.notice-panel {
  max-width: 900px;
  padding: 28px;
  border: 1px solid rgba(105, 184, 143, 0.28);
  border-radius: 8px;
  background: var(--surface-strong);
}

.notice-panel p {
  margin: 0;
}

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

.feature-card,
.price-card,
.article-card,
.contact-card,
.social-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-card {
  min-height: 230px;
  padding: 26px;
}

.feature-index,
.plan-label,
.article-meta {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--leaf);
  font-size: 13px;
  font-weight: 900;
}

.feature-card p,
.price-card li,
.split-content p,
.article-card p,
.contact-content p,
.site-footer p {
  color: var(--muted);
}

.pricing-section {
  background: #101513;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.price-card {
  position: relative;
  min-height: 390px;
  padding: 28px;
  overflow: hidden;
}

.price-card.featured {
  border-color: rgba(216, 90, 69, 0.52);
  box-shadow: var(--shadow);
}

.price-card.featured::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  content: "";
  background: var(--tomato);
}

.price {
  margin: 12px 0 22px;
  color: var(--tomato);
  font-size: 30px;
  font-weight: 900;
}

.plan-subtitle {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.price-card ul {
  display: grid;
  gap: 10px;
  min-height: 116px;
  margin: 0 0 24px;
  padding-left: 20px;
}

.text-link {
  color: var(--tomato);
  font-weight: 900;
}

.text-link:hover {
  color: var(--tomato-dark);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  min-height: 620px;
  background: var(--charcoal);
  color: #fff;
}

.split-media {
  min-height: 420px;
  background-position: center;
  background-size: cover;
}

.recruit-media {
  background-image:
    linear-gradient(0deg, rgba(6, 8, 8, 0.36), rgba(6, 8, 8, 0.36)),
    url("https://images.unsplash.com/photo-1559329007-40df8a9345d8?auto=format&fit=crop&w=1400&q=80");
}

.split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 7vw, 86px);
}

.steps {
  display: grid;
  gap: 14px;
  margin: 18px 0 28px;
}

.steps div {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: center;
}

.steps span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fff;
  background: var(--leaf);
  border-radius: 8px;
  font-weight: 900;
}

.steps p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.location-layout {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 22px;
}

.location-list {
  display: grid;
  gap: 12px;
}

.location-item {
  width: 100%;
  min-height: 92px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: left;
  color: var(--ink);
  background: var(--surface);
  cursor: pointer;
}

.location-item.is-active {
  border-color: rgba(105, 184, 143, 0.55);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
}

.location-item strong,
.location-item span {
  display: block;
}

.location-item span {
  margin-top: 4px;
  color: var(--muted);
}

.map-card {
  position: relative;
  min-height: 324px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(215, 173, 92, 0.12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(215, 173, 92, 0.12) 1px, transparent 1px),
    #121a17;
  background-size: 44px 44px;
}

.map-card::before {
  position: absolute;
  inset: 34px 40px;
  border: 2px solid rgba(105, 184, 143, 0.36);
  border-radius: 40% 48% 45% 38%;
  content: "";
}

.map-card p {
  position: absolute;
  left: 24px;
  bottom: 18px;
  margin: 0;
  color: var(--leaf);
  font-weight: 900;
}

.map-pin {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 4px solid var(--ink);
  border-radius: 50%;
  background: var(--tomato);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.34);
}

.pin-main {
  top: 46%;
  left: 50%;
}

.pin-east {
  top: 34%;
  right: 26%;
}

.pin-north {
  top: 22%;
  left: 32%;
}

.article-section {
  background: #0f1412;
}

.article-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-card {
  overflow: hidden;
}

.article-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.article-card div {
  padding: 22px;
}

.article-meta {
  margin-bottom: 10px;
  color: var(--gold);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 28px;
  padding: clamp(74px, 9vw, 124px) clamp(20px, 6vw, 88px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(6, 8, 8, 0.95), rgba(9, 13, 12, 0.86)),
    url("https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.contact-content {
  max-width: 520px;
}

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

.contact-card {
  padding: 22px;
  color: var(--ink);
  background: rgba(21, 27, 25, 0.92);
}

.contact-card-button,
.social-card-button {
  width: 100%;
  border: 1px solid var(--line);
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.social-section {
  background: #101513;
}

.social-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.social-card {
  min-height: 142px;
  padding: 24px;
  color: var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.social-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.social-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.social-card strong {
  display: block;
  font-size: 22px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.contact-card:hover {
  transform: translateY(-2px);
  transition: transform 160ms ease;
}

.contact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(54px, 7vw, 84px) clamp(20px, 6vw, 88px);
  color: #fff;
  background: var(--charcoal);
}

.contact-cta div {
  max-width: 760px;
}

.contact-cta p:not(.eyebrow) {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.contact-page-section {
  background:
    linear-gradient(90deg, rgba(6, 8, 8, 0.95), rgba(9, 13, 12, 0.86)),
    url("https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.legal-section {
  background: #0f1412;
}

.legal-document {
  max-width: 920px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.legal-document h2 {
  margin-top: 34px;
  font-size: clamp(24px, 3vw, 34px);
}

.legal-document h2:first-of-type {
  margin-top: 0;
}

.updated-date {
  margin-bottom: 28px;
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(20px, 6vw, 88px);
  background: #070a09;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  overflow-wrap: anywhere;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 800;
}

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

.quick-contact {
  position: fixed;
  z-index: 30;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(104px, 1fr));
  gap: 10px;
  max-width: calc(100% - 36px);
}

.quick-contact a,
.quick-contact button {
  display: grid;
  min-height: 54px;
  align-content: center;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(21, 27, 25, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.quick-contact span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.quick-contact strong {
  font-size: 15px;
  line-height: 1.2;
}

.quick-contact .line-link {
  color: #07100c;
  background: var(--leaf);
}

.quick-contact .line-link span {
  color: rgba(7, 16, 12, 0.7);
}

.quick-contact .wechat-link {
  color: #07100c;
  background: var(--gold);
}

.quick-contact .wechat-link span {
  color: rgba(7, 16, 12, 0.7);
}

@media (max-width: 980px) {
  .feature-grid,
  .pricing-grid,
  .article-grid,
  .location-layout,
  .contact-section,
  .split-section,
  .page-link-grid,
  .info-grid,
  .social-grid {
    grid-template-columns: 1fr;
  }

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

  .split-section {
    min-height: auto;
  }

  .split-media {
    min-height: 360px;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 42px;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 64px;
    padding-inline: 18px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 12px 18px 18px;
    color: var(--ink);
    background: rgba(11, 15, 14, 0.98);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.36);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: auto;
    padding-top: 104px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(6, 8, 8, 0.9), rgba(6, 8, 8, 0.5));
  }

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

  .hero-panel {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-panel div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-panel div:last-child {
    border-bottom: 0;
  }

  .section,
  .contact-section,
  .contact-cta {
    padding-inline: 18px;
  }

  .page-hero {
    min-height: 380px;
    padding: 112px 18px 56px;
  }

  .site-footer {
    flex-direction: column;
    padding-inline: 18px;
  }

  .quick-contact {
    left: 12px;
    right: 12px;
    bottom: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
  }

  .quick-contact a {
    min-height: 50px;
    padding: 9px 11px;
  }

  .quick-contact strong {
    font-size: 13px;
  }
}
