/* Factory-side web — clean, mobile-first, no dependencies */

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
               "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
               Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: #fff;
  max-width: 720px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
  font-size: 1rem;
}

/* Headings */
h1 { font-size: 1.6rem; margin: 1.5rem 0 0.75rem; font-weight: 700; line-height: 1.3; }
h2 { font-size: 1.2rem; margin: 1.5rem 0 0.5rem; font-weight: 600; }
h3 { font-size: 1.05rem; margin: 1.2rem 0 0.4rem; font-weight: 600; }

/* Links */
a { color: #1a4d8c; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Sections */
section { margin: 1.5rem 0; }

/* Lists */
ul, ol { margin: 0.5rem 0 0.75rem 1.25rem; }
li { margin: 0.25rem 0; }

/* CTA block */
.cta {
  background: #f5f7fa;
  border-left: 3px solid #1a4d8c;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

/* Lead form (inside .cta) */
.cta form { margin: 1.25rem 0 0.5rem; }
.cta form .field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 0.75rem;
}
.cta form label { font-size: 0.9rem; font-weight: 600; }
.cta form input,
.cta form textarea {
  padding: 8px 10px;
  border: 1px solid #c5cbd3;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
}
.cta form input:focus-visible,
.cta form textarea:focus-visible {
  outline: 2px solid #1a4d8c;
  outline-offset: -1px;
  border-color: #1a4d8c;
}
.cta form textarea { min-height: 90px; resize: vertical; }
.cta form button[type="submit"] {
  background: #1a4d8c;
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
}
.cta form button[type="submit"]:hover { background: #133a6b; }

/* Language divider (between EN and 简 sections) */
.lang-divider {
  border: 0;
  border-top: 2px solid #e0e0e0;
  margin: 2.5rem 0;
}

/* Services list */
.service-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
}
.service-item:last-child { border-bottom: none; }
.service-name { font-weight: 600; }

/* Profile list */
.profile-item {
  padding: 0.5rem 0;
}

/* Navigation */
nav {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e0e0e0;
}
nav a { margin-right: 1rem; font-size: 0.9rem; }

/* Footer */
footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e0e0e0;
  font-size: 0.85rem;
  color: #666;
}
footer p { margin: 0.25rem 0; }

/* Sub-navigation (for section pages like /shows/) */
.sub-nav {
  margin: 0.5rem 0 1.5rem 0;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.9rem;
  color: #555;
}
.sub-nav a {
  margin-right: 0.5rem;
  color: #1a4d8c;
}

/* Note callouts */
.note {
  background: #fffbe6;
  border-left: 3px solid #fadb14;
  padding: 0.75rem 1rem;
  margin: 1rem 0;
  font-size: 0.9rem;
}

/* QR placeholder */
.qr-placeholder {
  width: 120px;
  height: 120px;
  background: #f0f0f0;
  border: 1px dashed #999;
  display: inline-block;
  text-align: center;
  line-height: 120px;
  color: #999;
  font-size: 0.8rem;
  margin: 0.5rem 0;
}

/* Mobile */
@media (max-width: 600px) {
  body { padding: 1rem 0.75rem; font-size: 0.95rem; }
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.1rem; }
  nav a { display: inline-block; margin: 0.25rem 0.5rem 0.25rem 0; }
}

/* Language toggle (top of every page) */
.lang-toggle {
  text-align: right;
  font-size: 0.85rem;
  padding-bottom: 0.75rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid #f0f0f0;
  color: #555;
}
.lang-toggle a {
  color: #1a4d8c;
  text-decoration: none;
}
.lang-toggle a:hover {
  text-decoration: underline;
}
.lang-toggle strong {
  color: #1a1a1a;
  font-weight: 600;
}
