/* LINGDAO — minimalist, responsive, image-free static website */
:root {
  color-scheme: light;
  --paper: #f7f8f5;
  --surface: #ffffff;
  --ink: #172522;
  --muted: #66736f;
  --line: #dce3de;
  --accent: #28675b;
  --accent-soft: #e8f0eb;
  --content-width: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.chinese { font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif; }
a { color: inherit; }
.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  background: rgba(247, 248, 245, .94);
  border-bottom: 1px solid rgba(220, 227, 222, .9);
  backdrop-filter: blur(14px);
}
.header-inner {
  width: min(var(--content-width), calc(100% - 64px));
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.logo {
  color: var(--ink);
  text-decoration: none;
  /* Keep the Latin wordmark identical on both language pages. */
  font-family: Arial, Helvetica, sans-serif;
  font-size: 29px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .055em;
}
.header-nav { display: flex; align-items: center; gap: 26px; }
/* Keep the right side of the header typographically consistent on both pages. */
.header-nav, .language, .contact-link {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.2;
}
.language {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  transition: color .2s ease;
}
.language:hover, .language:focus-visible, .language.active { color: var(--accent); }
.language.active { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.contact-link {
  color: #fff;
  background: var(--ink);
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  padding: 11px 21px;
  margin-left: 5px;
  transition: background .2s ease, transform .2s ease;
}
.contact-link:hover { background: var(--accent); transform: translateY(-1px); }
a:focus-visible { outline: 3px solid #8ab7a7; outline-offset: 4px; border-radius: 3px; }
.content { width: min(var(--content-width), calc(100% - 64px)); margin: 0 auto; }
.services, .control, .meetings, .contacts { padding: 82px 0; }
.services { background: var(--surface); }
.control { background: var(--accent-soft); }
.meetings { background: var(--paper); }
.contacts { background: var(--surface); border-top: 1px solid var(--line); }
.services h1, .section-title {
  max-width: 850px;
  font-size: clamp(32px, 4.1vw, 52px);
  line-height: 1.16;
  font-weight: 650;
  letter-spacing: -.035em;
  margin: 0 0 48px;
}
.chinese .section-title { letter-spacing: 0; line-height: 1.28; }

/* Reserve the same heading space in both languages to prevent layout jumps. */
.services h1 {
  min-height: calc(2 * 1.16em);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 46px;
  row-gap: 42px;
}
.service-item {
  min-height: 118px;
  padding: 17px 0 0;
  border-top: 1px solid rgba(23, 37, 34, .28);
}
.service-item h2, .service-item h3 {
  color: var(--ink);
  font-size: 23px;
  line-height: 1.3;
  font-weight: 620;
  letter-spacing: -.02em;
  margin: 0 0 9px;
}
.service-item p { color: var(--muted); font-size: 16px; line-height: 1.65; margin: 0; max-width: 330px; }
.control .service-item { border-color: rgba(40, 103, 91, .35); }
.control .section-title { margin-bottom: 46px; }
.control .service-item h3 { color: var(--accent); }
.meetings .section-title { margin-bottom: 34px; }
.meeting-list {
  list-style: none;
  max-width: 960px;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.meeting-list li {
  position: relative;
  padding: 19px 12px;
  border-bottom: 1px solid var(--line);
  color: #34423e;
  font-size: 18px;
  line-height: 1.55;
}
.contacts-title {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.2;
  letter-spacing: -.03em;
  font-weight: 650;
  margin: 0 0 42px;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 72px;
  max-width: 980px;
}
.contact-item {
  min-height: 132px;
  padding: 23px 0 25px;
  border-top: 1px solid var(--line);
}
.contact-item h3 {
  color: var(--accent);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.contact-item p { color: var(--muted); font-size: 16px; line-height: 1.65; margin: 0; }
.contact-item a { text-decoration: none; color: var(--ink); transition: color .2s ease; }
.contact-item a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 1500px) { .services, .control, .meetings, .contacts { padding-top: 96px; padding-bottom: 96px; } }
@media (max-width: 800px) {
  .header-inner, .content { width: calc(100% - 48px); }
  .header-inner { min-height: 76px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; }
  .services, .control, .meetings, .contacts { padding: 64px 0; }
  .services h1, .section-title { margin-bottom: 36px; }
  .contact-grid { gap: 0 38px; }
}
@media (max-width: 560px) {
  html { scroll-padding-top: 78px; }
  .header-inner, .content { width: calc(100% - 36px); }
  .header-inner { min-height: 70px; gap: 12px; }
  .logo { font-size: 24px; }
  .header-nav { gap: 13px; }
  .header-nav, .language, .contact-link { font-size: 12px; }
  .contact-link { padding: 9px 13px; margin-left: 0; }
  .services, .control, .meetings, .contacts { padding: 52px 0; }
  .services h1, .section-title { font-size: 34px; margin-bottom: 32px; }
  .services h1 { min-height: calc(3 * 1.16em); }
  .service-grid { grid-template-columns: 1fr; gap: 24px; }
  .service-item { min-height: auto; padding-top: 13px; }
  .service-item h2, .service-item h3 { font-size: 21px; }
  .service-item p { font-size: 15px; }
  .meeting-list li { font-size: 16px; padding: 17px 0; }
  .contacts-title { font-size: 34px; margin-bottom: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-item { min-height: auto; padding: 19px 0 21px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
