﻿:root {
  --primary-blue: #0a2540;
  --primary-green: #00d084;
  --primary-green-dark: #00b370;
  --light-bg: #f4f7f9;
  --white: #ffffff;
  --text-zh: #222222;
  --text-th: #5a6b7c;
  --border: #e5eaef;
  --shadow: 0 18px 40px rgba(10, 37, 64, 0.08);
  --container: min(1250px, calc(100% - 48px));
  --transition: all 0.3s ease;
  --hero-image: url('../images/other/hero_pattern.svg');
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Noto Sans SC', 'Prompt', 'Segoe UI', sans-serif; color: var(--text-zh); background: var(--white); }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.gsb-container { width: var(--container); margin: 0 auto; }
.gsb-section { padding: 84px 0; }
.lang-zh, .zh-text { display: block; color: var(--text-zh); }
.lang-th, .th-text { display: block; color: var(--text-th); margin-top: 6px; font-size: 0.92em; font-weight: 400; line-height: 1.6; }
.lang-inline { display: inline; }
.lang-inline.lang-th { margin-left: 8px; margin-top: 0; }
.lang-block + .lang-block { margin-top: 8px; }
.section-title-wrap { text-align: center; margin-bottom: 52px; }
.section-title { margin: 0; color: var(--primary-blue); font-size: clamp(2.1rem, 4vw, 2.8rem); font-weight: 800; }
.site-header { position: sticky; top: 0; z-index: 999; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(12px); box-shadow: 0 2px 18px rgba(0,0,0,0.05); }
.site-nav { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; justify-content: center; background: var(--primary-green); border-radius: 14px; padding: 10px 16px; }
.brand img { width: 164px; height: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a, .nav-join-btn { text-align: center; font-weight: 600; color: var(--primary-blue); background: transparent; border: 0; cursor: pointer; padding: 0; }
.nav-links a .th-text, .nav-join-btn .th-text { margin-top: 2px; font-size: 0.78em; }
.nav-links a:hover, .nav-links a.active, .nav-links a:hover .th-text, .nav-links a.active .th-text, .nav-join-btn:hover { color: var(--primary-green); }
.nav-join-btn { background: var(--primary-green); color: #fff; padding: 10px 18px; border-radius: 8px; }
.nav-join-btn .th-text { color: rgba(255,255,255,0.92); }
.menu-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--border); background: #fff; border-radius: 12px; padding: 10px; }
.menu-toggle span { display: block; height: 2px; background: var(--primary-blue); margin: 6px 0; }
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; justify-content: center; color: #fff; overflow: hidden; background:
  linear-gradient(rgba(12, 49, 82, 0.82), rgba(12, 49, 82, 0.84)),
  radial-gradient(circle at 50% 20%, rgba(255,255,255,.08), rgba(255,255,255,0) 42%),
  var(--hero-image) center/cover no-repeat; }
.hero::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(circle at 15% 20%, rgba(255,255,255,.05), transparent 30%),
  radial-gradient(circle at 80% 18%, rgba(255,255,255,.05), transparent 28%),
  radial-gradient(circle at 50% 60%, rgba(255,255,255,.03), transparent 42%);
  pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 0; align-items: center; padding: 58px 0; }
.hero-grid-simple { grid-template-columns: 1fr; }
.hero-grid-centered { justify-items: center; }
.badge { display: inline-flex; background: rgba(0,208,132,.12); color: #fff; border: 1px solid rgba(0,208,132,.25); border-radius: 999px; padding: 8px 16px; font-size: 13px; letter-spacing: .08em; }
.hero-copy-centered { max-width: 980px; text-align: center; margin: 0 auto; }
.hero-title-zh { margin: 0; color: #fff; font-size: clamp(3.1rem, 4.2vw, 4rem); font-weight: 800; line-height: 1.22; letter-spacing: -.03em; }
.hero-title-th { margin-top: 22px; color: #00d084; font-size: clamp(2.15rem, 3.2vw, 2.85rem); font-weight: 700; line-height: 1.45; }
.hero-subtitle-wrap { margin-top: 28px; max-width: 860px; }
.hero-subtitle-centered { margin-left: auto; margin-right: auto; }
.hero-subtitle-zh { margin: 0 0 10px; color: #ffffff; font-size: 1rem; font-weight: 500; line-height: 1.85; }
.hero-subtitle-th { margin: 0; color: rgba(255,255,255,.92); font-size: .95rem; font-weight: 500; line-height: 1.8; }
.hero-actions { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.hero-actions-centered { justify-content: center; margin-top: 38px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 0 30px; border-radius: 8px; font-weight: 700; transition: var(--transition); }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary-green); color: #ffffff; }
.btn-secondary { border: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.92); background: rgba(255,255,255,.06); }
.hero-main-btn { min-width: 360px; padding: 0 36px; box-shadow: 0 10px 25px rgba(0, 208, 132, .18); }
.btn .th-inline { color: inherit; opacity: .72; font-weight: 500; margin-left: 10px; }
.info-card, .stat-card, .content-box, .portfolio-item, .modal-content, .job-item, .notice-success, .notice-error { background: var(--white); border-radius: 18px; box-shadow: var(--shadow); }
.hero-panel-source { display: grid; gap: 18px; }
.hero-info-card { padding: 26px; color: var(--primary-blue); border-radius: 22px; }
.hero-panel-heading { margin: 0 0 18px; font-size: 1.25rem; color: var(--primary-blue); }
.hero-panel-inline-th { color: var(--text-th); font-weight: 500; }
.info-grid, .stats-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hero-info-grid { gap: 14px; }
.stats-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
.stat-card { padding: 20px; }
.hero-stat-card { padding: 22px 20px; border-radius: 20px; background: linear-gradient(180deg, #ffffff, #fafbfd); }
.hero-stat-card strong { display: block; font-size: 2rem; color: var(--primary-blue); margin-bottom: 8px; }
.hero-stat-card .zh-text { font-size: 1rem; color: #48637c; }
.hero-stat-card .th-text { font-size: .95rem; margin-top: 2px; color: #58728c; }
.hero-stats-strip { gap: 14px; }
.hero-mini-card { border-radius: 18px; padding: 22px 20px; }
.hero-mini-card strong { display: block; font-size: 2rem; color: var(--primary-blue); margin-bottom: 6px; }
.hero-mini-card span { display: block; color: #56708a; font-size: .98rem; }
.about-grid, .contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; align-items: stretch; }
.content-box { padding: 40px; border-top: 4px solid var(--primary-blue); }
.content-box.vision { border-top-color: var(--primary-green); background: var(--light-bg); }
.content-box h3 { margin: 0 0 22px; font-size: 1.8rem; color: var(--primary-blue); padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.bilingual-p p { margin: 0 0 18px; line-height: 1.9; }
.services-section { background: var(--light-bg); }
.service-block { margin-bottom: 56px; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.service-intro { padding: 38px 46px; border-bottom: 1px solid var(--border); }
.service-intro h3 { margin: 0 0 18px; color: var(--primary-blue); font-size: 2rem; }
.service-copy p { margin: 0; }
.portfolio-grid { padding: 28px 36px 36px; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; background: #fafafa; }
.portfolio-item { overflow: hidden; border: 1px solid var(--border); cursor: pointer; transition: var(--transition); }
.portfolio-item:hover { transform: translateY(-4px); border-color: var(--primary-green); }
.portfolio-img { height: 200px; background-position: center; background-size: cover; }
.portfolio-info { padding: 20px; }
.portfolio-info h4 { margin: 0 0 12px; font-size: 1.1rem; color: var(--primary-blue); }
.portfolio-info p { margin: 0 0 8px; }
.empty-card { padding: 28px; border: 1px dashed var(--border); border-radius: 14px; background: #fff; color: var(--text-th); }
.modal { display: none; position: fixed; inset: 0; background: rgba(10,37,64,.9); z-index: 3000; padding: 24px; overflow-y: auto; }
.modal.open { display: block; }
.modal-content { position: relative; max-width: 980px; margin: 3vh auto; overflow: hidden; }
.modal-body.portfolio { display: grid; grid-template-columns: 1fr 1fr; }
.modal-gallery { min-height: 420px; background-position: center; background-size: cover; }
.modal-details { padding: 40px; }
.modal-details h3 { margin: 0 0 22px; color: var(--primary-blue); font-size: 1.6rem; border-bottom: 1px solid var(--border); padding-bottom: 14px; }
.detail-row { margin-bottom: 16px; }
.detail-row strong { display: block; color: var(--primary-blue); margin-bottom: 6px; }
.close-modal { position: absolute; top: 14px; right: 18px; width: 42px; height: 42px; border: 0; border-radius: 50%; font-size: 28px; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; z-index: 3; }
.close-modal-dark { background: var(--light-bg); color: var(--primary-blue); }
.careers-content { max-width: 860px; }
.modal-body.careers { padding: 48px; max-height: 82vh; overflow-y: auto; }
.modal-body.careers h2 { margin: 0 0 24px; color: var(--primary-blue); font-size: 2rem; }
.careers-intro { margin: 0 0 22px; }
.job-list { display: grid; gap: 20px; }
.job-item { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 24px; border: 1px solid var(--border); background: #fafafa; }
.job-item h4 { margin: 0 0 8px; font-size: 1.25rem; color: var(--primary-blue); }
.job-item p { margin: 0 0 8px; }
.salary { color: #e74c3c; font-weight: 700; }
.apply-btn { display: inline-flex; justify-content: center; align-items: center; min-width: 140px; min-height: 48px; padding: 0 22px; border-radius: 8px; background: var(--primary-green); color: #fff; font-weight: 700; }
.apply-btn:hover { background: var(--primary-green); }
.apply-btn .lang-th { color: rgba(255,255,255,.88); }
.contact-info .info-item { margin-bottom: 24px; }
.contact-info strong { display: block; margin-bottom: 6px; color: var(--primary-blue); font-size: 1.05rem; }
.contact-form { background: var(--white); padding: 30px; border-radius: 18px; box-shadow: var(--shadow); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 8px; color: var(--primary-blue); font-weight: 600; }
.form-control { width: 100%; padding: 13px 15px; border: 1px solid #ccd5dd; border-radius: 10px; }
.form-control:focus { border-color: var(--primary-green); outline: none; }
textarea.form-control { min-height: 130px; resize: vertical; }
.submit-btn { width: 100%; min-height: 52px; border: 0; border-radius: 10px; background: var(--primary-green); color: #fff; font-weight: 700; cursor: pointer; }
.site-footer { padding: 28px 0 50px; }
.footer-bar { display: flex; justify-content: space-between; gap: 14px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-th); }
.back-top { position: fixed; right: 22px; bottom: 24px; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--primary-blue); color: #fff; opacity: 0; pointer-events: none; transition: var(--transition); box-shadow: var(--shadow); }
.back-top.visible { opacity: 1; pointer-events: auto; }
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%) translateY(16px); background: var(--primary-blue); color: #fff; border-radius: 999px; padding: 12px 18px; opacity: 0; transition: var(--transition); }
.toast.visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.notice-success, .notice-error { padding: 14px 16px; margin-bottom: 16px; }
.notice-success { border-left: 4px solid var(--primary-green); }
.notice-error { border-left: 4px solid #d9534f; }
.gsb-empty-state { padding: 60px 0; text-align: center; }
@media (max-width: 1080px) {
  .hero-grid, .about-grid, .contact-grid, .modal-body.portfolio { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .site-nav { min-height: 76px; flex-wrap: wrap; padding: 12px 0; }
  .menu-toggle { display: inline-block; }
  .nav-links { display: none; width: 100%; flex-direction: column; align-items: flex-start; padding: 12px 0 4px; }
  .nav-links.open { display: flex; }
  .nav-links a, .nav-join-btn { text-align: left; }
  .hero { min-height: auto; }
  .gsb-section { padding: 68px 0; }
  .job-item { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .gsb-container { width: min(100% - 24px, 1250px); }
  .hero-title-zh { font-size: 2.15rem; line-height: 1.28; }
  .hero-title-th { font-size: 1.55rem; line-height: 1.55; }
  .hero-actions, .footer-bar { flex-direction: column; }
  .hero-subtitle-zh, .hero-subtitle-th { font-size: .9rem; }
  .hero-main-btn { min-width: 0; width: 100%; }
  .btn { width: 100%; }
  .portfolio-grid, .info-grid, .stats-strip { grid-template-columns: 1fr; }
  .service-intro, .portfolio-grid, .content-box, .modal-details, .modal-body.careers, .contact-form { padding-left: 20px; padding-right: 20px; }
  .modal { padding: 14px; }
  .modal-gallery { min-height: 260px; }
}





