/* HKGAFA v6.0 - International Government / Institutional Style */
:root {
  --red: #8B0000;
  --red-bright: #B22222;
  --red-light: #d4453a;
  --navy: #1a3a6c;
  --navy-light: #2c5494;
  --gold: #c9a84c;
  --gold-light: #dfc477;
  --white: #ffffff;
  --off-white: #f7f6f3;
  --cream: #faf8f4;
  --gray-50: #f8f9fa;
  --gray-100: #e9ecef;
  --gray-200: #dee2e6;
  --gray-300: #ced4da;
  --gray-500: #6c757d;
  --gray-700: #495057;
  --gray-900: #212529;
  --text: #2c3e50;
  --text-light: #5a6a7a;
  --font-serif: 'Noto Serif TC', 'Songti SC', 'SimSun', Georgia, serif;
  --font-sans: 'Noto Sans TC', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.12);
  --radius: 6px;
  --radius-lg: 12px;
  --header-h: 72px;
  --topbar-h: 36px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--text);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--navy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.text-center { text-align: center; }

/* Topbar */
.topbar { background: var(--navy); color: rgba(255,255,255,.85); font-size: 12px; height: var(--topbar-h); display: flex; align-items: center; border-bottom: 1px solid rgba(255,255,255,.12); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.topbar-left span { margin-right: 8px; }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-right a { color: rgba(255,255,255,.7); font-size: 14px; }
.topbar-right a:hover { color: var(--gold); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 9000; background: var(--white); border-bottom: 3px solid var(--red); height: var(--header-h) !important; box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); max-width: 1240px; margin: 0 auto; padding: 0 32px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--gray-900); text-decoration: none; }
.brand img { height: 40px !important; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { color: var(--red); font-family: var(--font-serif); font-size: 18px; font-weight: 700; letter-spacing: 2px; }
.brand-en { color: var(--navy); font-size: 10px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; }

.nav-menu { display: flex; align-items: center; gap: 0; flex-wrap: nowrap; }
.nav-menu > a { color: var(--gray-700); padding: 10px 16px; font-size: 14px; font-weight: 500; text-decoration: none; position: relative; transition: color .2s; white-space: nowrap; }
.nav-menu > a::after { content: ''; position: absolute; bottom: 0; left: 16px; right: 16px; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .25s; }
.nav-menu > a:hover, .nav-menu > a.active { color: var(--red); }
.nav-menu > a:hover::after, .nav-menu > a.active::after { transform: scaleX(1); }

.nav-dropdown { position: relative; display: inline-block; }
.nav-dropdown > a { display: flex; align-items: center; gap: 4px; color: var(--gray-700); padding: 10px 16px; text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap; }
.nav-dropdown > a:hover { color: var(--red); }
.dropdown-panel { position: absolute; top: 100%; left: 0; min-width: 180px; background: var(--white); padding: 8px 0; margin-top: 4px; border-radius: var(--radius); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s ease; box-shadow: var(--shadow-lg); border-top: 3px solid var(--red); z-index: 100; }
.nav-dropdown:hover .dropdown-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-panel a { display: block; padding: 10px 20px; color: var(--gray-700); text-decoration: none; font-size: 13px; }
.dropdown-panel a:hover { background: var(--off-white); color: var(--red); }

.nav-toggle { display: none; background: none; border: 0; color: var(--gray-900); font-size: 22px; cursor: pointer; }
.btn-consult { background: var(--red); color: var(--white) !important; padding: 10px 22px !important; border-radius: var(--radius); font-weight: 700; font-size: 13px; text-decoration: none; letter-spacing: .5px; transition: background .2s; white-space: nowrap; }
.btn-consult:hover { background: var(--red-bright); color: var(--white) !important; }
main { padding-top: 0; }

/* Buttons */
.btn-primary-gov { display: inline-flex; align-items: center; gap: 8px; background: var(--red); color: var(--white); padding: 14px 32px; border-radius: var(--radius); font-weight: 700; font-size: 15px; text-decoration: none; letter-spacing: .5px; transition: all .25s; border: 2px solid var(--red); cursor: pointer; }
.btn-primary-gov:hover { background: var(--red-bright); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-md); border-color: var(--red-bright); }
.btn-primary-gov.btn-large { padding: 16px 40px; font-size: 16px; }
.btn-outline-gov { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--red); padding: 14px 32px; border-radius: var(--radius); font-weight: 700; font-size: 15px; text-decoration: none; letter-spacing: .5px; transition: all .25s; border: 2px solid var(--red); }
.btn-outline-gov:hover { background: var(--red); color: var(--white); }
.btn-link-gov { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); font-weight: 600; font-size: 14px; text-decoration: none; transition: color .2s; }
.btn-link-gov:hover { color: var(--red); }

/* Section Headings */
.section-head { margin-bottom: 48px; }
.section-kicker { display: inline-block; font-family: var(--font-sans); font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--red); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--gold); }
.section-title { font-family: var(--font-serif); font-size: 32px; font-weight: 700; color: var(--gray-900); line-height: 1.3; margin-bottom: 16px; }
.section-desc { font-size: 15px; color: var(--text-light); line-height: 1.8; max-width: 640px; }
.section-desc-wide { font-size: 15px; color: var(--text-light); line-height: 1.8; max-width: 800px; margin: 0 auto; }
.section-head.text-center { text-align: center; }
.section-head.text-center .section-desc, .section-head.text-center .section-desc-wide { margin-left: auto; margin-right: auto; }

/* Hero */
.hero-section { position: relative; min-height: 540px; display: flex; align-items: center; overflow: hidden; background: var(--navy); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.4) saturate(.8); }
.hero-mask { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,58,108,.92) 0%, rgba(139,0,0,.6) 60%, rgba(26,58,108,.8) 100%); }
.hero-inner { position: relative; z-index: 2; padding: 80px 32px; max-width: 720px; }
.hero-badge { display: inline-block; font-size: 11px; letter-spacing: 4px; font-weight: 700; color: var(--gold); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid rgba(201,168,76,.4); }
.hero-title { font-family: var(--font-serif); font-size: 42px; font-weight: 900; color: var(--white); line-height: 1.25; margin-bottom: 22px; }
.hero-title > span { display: block; }
.hero-title-sub { display: block; font-size: 28px; font-weight: 600; color: var(--gold-light); margin-top: 8px; }
.hero-desc { font-size: 16px; color: rgba(255,255,255,.85); line-height: 1.8; margin-bottom: 32px; max-width: 580px; }

/* Hero2 */
.hero2-section { padding: 80px 0; background: var(--off-white); }
.hero2-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero2-left h2 { font-family: var(--font-serif); font-size: 36px; font-weight: 700; color: var(--red); margin-bottom: 8px; }
.hero2-left h3 { font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: var(--navy); margin-bottom: 16px; }
.hero2-left p { font-size: 15px; color: var(--text-light); line-height: 1.8; margin-bottom: 24px; }
.hero2-right img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; height: 380px; object-fit: cover; }

/* Features */
.features-section { padding: 80px 0; background: var(--white); border-bottom: 1px solid var(--gray-100); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.feature-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 36px 28px; text-align: center; transition: all .3s; position: relative; overflow: hidden; }
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--red), var(--navy)); transform: scaleX(0); transition: transform .3s; transform-origin: left; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon { font-size: 36px; color: var(--red); margin-bottom: 20px; }
.feature-card h3 { font-family: var(--font-serif); font-size: 18px; font-weight: 700; color: var(--gray-900); margin-bottom: 12px; }
.feature-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* About */
.about-section { padding: 80px 0; background: var(--off-white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-left { position: relative; padding-top: 20px; padding-left: 20px; }
.years-badge { position: absolute; top: -8px; left: -8px; z-index: 2; background: var(--red); color: var(--white); padding: 18px 22px; border-radius: var(--radius); text-align: center; line-height: 1.2; box-shadow: var(--shadow-md); min-width: 110px; }
.years-num { display: inline-block; font-family: var(--font-serif); font-size: 38px; font-weight: 900; vertical-align: top; }
.years-unit { display: inline-block; font-size: 20px; font-weight: 700; vertical-align: top; margin-top: 6px; }
.years-desc { display: block; font-size: 11px; opacity: .9; margin-top: 6px; }
.about-img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; height: 440px; object-fit: cover; }
.about-right { padding-left: 16px; }
.about-points { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.point { display: flex; gap: 12px; align-items: flex-start; }
.point-bullet { color: var(--red); font-size: 18px; margin-top: 2px; flex-shrink: 0; }
.point h4, .point h5 { font-family: var(--font-serif); font-size: 16px; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.point p { font-size: 13px; color: var(--text-light); line-height: 1.6; }

/* Stats */
.stats-section { padding: 60px 0; background: var(--navy); color: var(--white); position: relative; }
.stats-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--red), var(--gold), var(--red)); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-card { padding: 24px; border-right: 1px solid rgba(255,255,255,.12); }
.stat-card:last-child { border-right: 0; }
.stat-icon { font-size: 30px; color: var(--gold); margin-bottom: 14px; }
.stat-num { font-family: var(--font-serif); font-size: 46px; font-weight: 900; color: var(--white); margin-bottom: 8px; line-height: 1; }
.stat-label { font-size: 13px; color: rgba(255,255,255,.75); letter-spacing: .5px; }

/* Services Home */
.services-section { padding: 80px 0; background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card { border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; transition: all .3s; background: var(--white); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card-img { width: 100%; height: 200px; overflow: hidden; position: relative; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; }
.service-card-img .service-card-icon { position: absolute; top: 12px; left: 12px; width: 44px; height: 44px; background: rgba(139,0,0,.95); color: var(--white); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 0; }
.service-card-body { padding: 24px; }
.service-card-body h3 { font-family: var(--font-serif); font-size: 18px; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.service-card-body p { font-size: 13px; color: var(--text-light); line-height: 1.7; margin-bottom: 16px; }
.service-more { font-size: 13px; font-weight: 600; color: var(--navy); }
.service-more:hover { color: var(--red); }

/* Why */
.why-section { padding: 80px 0; background: var(--off-white); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.why-left { padding-right: 16px; }
.why-points { list-style: none; padding: 0; margin: 24px 0; display: flex; flex-direction: column; gap: 12px; }
.why-points li { display: flex; gap: 12px; align-items: flex-start; background: var(--white); padding: 14px 18px; border-radius: var(--radius); border-left: 4px solid var(--red); box-shadow: var(--shadow-sm); font-size: 14px; color: var(--gray-700); line-height: 1.7; }
.why-points li i { color: var(--red); font-size: 18px; margin-top: 2px; flex-shrink: 0; }
.why-right img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; height: 440px; object-fit: cover; }

/* Warning */
.warning-section { padding: 80px 0; background: var(--white); border-top: 1px solid var(--gray-100); }
.warning-head { margin-bottom: 48px; text-align: center; }
.warning-head .section-kicker { color: var(--red-bright); }
.warning-head h2 { font-family: var(--font-serif); font-size: 32px; font-weight: 700; color: var(--red); margin-bottom: 10px; }
.warning-head h3 { font-family: var(--font-serif); font-size: 20px; font-weight: 600; color: var(--gray-700); }
.warning-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 40px; }
.warning-item { background: var(--off-white); border-radius: var(--radius-lg); padding: 28px 22px; border-top: 4px solid var(--red); transition: all .3s; }
.warning-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.warning-num { font-family: var(--font-serif); font-size: 32px; font-weight: 900; color: var(--red); margin-bottom: 10px; }
.warning-text { font-size: 14px; color: var(--gray-700); line-height: 1.7; }
.warning-images { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; }
.warning-images img { width: 100%; height: 180px; object-fit: cover; border-radius: var(--radius); }
.warning-footer { text-align: center; padding: 32px; background: linear-gradient(135deg, var(--red), var(--red-bright)); border-radius: var(--radius-lg); color: var(--white); }
.warning-final { font-family: var(--font-serif); font-size: 22px; font-weight: 700; margin: 0; }

/* Team */
.team-section { padding: 80px 0; background: var(--off-white); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.team-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: all .3s; }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-photo { width: 100%; height: 280px; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-family: var(--font-serif); font-size: 17px; font-weight: 700; color: var(--gray-900); padding: 16px 20px 4px; margin: 0; }
.team-card h4 { font-size: 12px; color: var(--red); padding: 0 20px 12px; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; margin: 0; }
.team-card p { font-size: 13px; color: var(--text-light); padding: 0 20px 20px; line-height: 1.7; margin: 0; }
.ta-name { font-family: var(--font-serif); font-size: 15px; font-weight: 700; color: var(--gray-900); }
.ta-role { font-size: 11px; color: var(--red); letter-spacing: 1px; text-transform: uppercase; }

/* Testimonial */
.testimonial-section { padding: 80px 0; background: var(--white); }
.testimonial-head { margin-bottom: 48px; text-align: center; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial-card { background: var(--cream); border-left: 4px solid var(--red); padding: 32px 28px; border-radius: 0 var(--radius-lg) var(--radius-lg) 0; position: relative; }
.testimonial-quote { font-size: 40px; color: var(--gold); opacity: .4; line-height: 1; margin-bottom: 12px; }
.testimonial-text { font-size: 14px; color: var(--text); line-height: 1.8; font-style: italic; margin-bottom: 16px; }
.testimonial-author { display: flex; gap: 12px; align-items: center; }
.testimonial-author img { width: 44px; height: 44px; object-fit: cover; border-radius: 50%; flex-shrink: 0; }
.testimonial-author .ta-name { font-family: var(--font-serif); font-size: 13px; font-weight: 700; color: var(--navy); }

/* Partners */
.partners-section { padding: 60px 0; background: var(--off-white); border-top: 1px solid var(--gray-100); }
.partners-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; align-items: center; }
.partner-card { padding: 20px; background: var(--white); border-radius: var(--radius); text-align: center; transition: all .3s; }
.partner-card:hover { box-shadow: var(--shadow-md); }
.partner-card img { max-height: 60px; margin: 0 auto; filter: grayscale(.4); transition: filter .3s; }
.partner-card:hover img { filter: grayscale(0); }

/* Page Hero (inner pages) */
.page-hero { position: relative; min-height: 280px; display: flex; align-items: center; overflow: hidden; background: var(--navy); }
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.35) saturate(.7); }
.page-hero-bg .hero-mask { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,58,108,.9) 0%, rgba(139,0,0,.7) 100%); }
.page-hero-inner { position: relative; z-index: 2; padding: 60px 32px; text-align: center; width: 100%; }
.page-hero-inner .section-kicker { color: var(--gold); border-bottom-color: var(--gold); }
.page-hero-inner .section-title { color: var(--white); font-size: 38px; }
.page-hero-inner .section-desc { color: rgba(255,255,255,.85); margin: 0 auto; }

/* Inner Section */
.inner-section { padding: 80px 0; background: var(--white); }
.inner-section:nth-child(even) { background: var(--off-white); }
.mission-section { background: var(--off-white); }

/* About page */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 0; }
.intro-grid.reverse { grid-template-areas: "text img"; }
.intro-grid.reverse .intro-img { grid-area: img; }
.intro-grid.reverse .intro-text { grid-area: text; }
.intro-img img { width: 100%; height: 380px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.intro-text h3 { font-family: var(--font-serif); font-size: 28px; font-weight: 700; color: var(--gray-900); margin-bottom: 18px; }
.intro-text p { font-size: 15px; color: var(--text-light); line-height: 1.9; margin-bottom: 14px; }

/* Values */
.values-section { padding: 80px 0; background: var(--white); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-card { background: var(--off-white); padding: 32px 24px; text-align: center; border-radius: var(--radius-lg); border-top: 4px solid var(--gold); transition: all .3s; }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-top-color: var(--red); }
.value-icon { font-size: 38px; color: var(--red); margin-bottom: 16px; }
.value-card h4 { font-family: var(--font-serif); font-size: 17px; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; }
.value-card p { font-size: 13px; color: var(--text-light); line-height: 1.7; }

/* CTA */
.cta-section { padding: 70px 0; background: linear-gradient(135deg, var(--red) 0%, var(--red-bright) 100%); color: var(--white); text-align: center; }
.cta-section .section-title { color: var(--white); margin-bottom: 14px; }
.cta-section .section-desc { color: rgba(255,255,255,.92); margin: 0 auto 26px; }
.cta-section .btn-primary-gov { background: var(--white); color: var(--red); border-color: var(--white); }
.cta-section .btn-primary-gov:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }

/* Service page */
.service-list-section { padding: 60px 0; background: var(--white); }
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding: 50px 0; border-bottom: 1px solid var(--gray-200); }
.service-row:last-child { border-bottom: 0; }
.service-row.reverse { grid-template-areas: "text img"; }
.service-row.reverse .service-row-img { grid-area: img; }
.service-row.reverse .service-row-text { grid-area: text; }
.service-row-img { position: relative; }
.service-row-img img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.service-row-text { padding: 0 8px; }
.service-row-icon { display: inline-flex; width: 56px; height: 56px; background: var(--red); color: var(--white); border-radius: var(--radius); align-items: center; justify-content: center; font-size: 24px; margin-bottom: 18px; position: absolute; top: 16px; left: 16px; }
.service-row-text h3 { font-family: var(--font-serif); font-size: 26px; font-weight: 700; color: var(--gray-900); margin-bottom: 14px; }
.service-row-text p { font-size: 15px; color: var(--text-light); line-height: 1.9; margin-bottom: 14px; }
.service-row-text p.service-detail { display: block; font-size: 14px; color: var(--text-light); padding: 12px 16px; background: var(--off-white); border-left: 3px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; margin-bottom: 18px; }
.service-row-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.srtag { background: var(--off-white); border: 1px solid var(--gray-200); color: var(--gray-700); font-size: 12px; padding: 6px 14px; border-radius: 100px; }

/* Process */
.process-section { padding: 80px 0; background: var(--off-white); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.process-step { background: var(--white); padding: 28px 22px; border-radius: var(--radius-lg); text-align: center; border-top: 4px solid var(--red); position: relative; }
.process-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); transition: all .3s; }
.process-num { display: inline-flex; width: 48px; height: 48px; background: var(--red); color: var(--white); border-radius: 50%; align-items: center; justify-content: center; font-family: var(--font-serif); font-size: 20px; font-weight: 900; margin-bottom: 16px; }
.process-step h4 { font-family: var(--font-serif); font-size: 17px; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.process-step p { font-size: 13px; color: var(--text-light); line-height: 1.7; }

/* Team list */
.team-list-section { padding: 60px 0; background: var(--white); }
.team-list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.team-list-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; transition: all .3s; }
.team-list-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-list-photo { width: 100%; height: 320px; overflow: hidden; }
.team-list-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-list-body { padding: 24px; }
.team-list-body h3 { font-family: var(--font-serif); font-size: 19px; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.team-list-body h4 { font-size: 12px; color: var(--red); letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; margin-bottom: 14px; }
.team-list-body p { font-size: 14px; color: var(--text-light); line-height: 1.7; margin-bottom: 12px; }
.team-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.ttag { background: var(--off-white); color: var(--navy); border: 1px solid var(--gray-200); font-size: 11px; padding: 4px 10px; border-radius: 100px; }

/* News list */
.news-list-section { padding: 60px 0; background: var(--white); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; transition: all .3s; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-card-img { width: 100%; height: 200px; overflow: hidden; position: relative; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card-img .news-cat { position: absolute; top: 12px; left: 12px; background: var(--red); color: var(--white); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 3px; letter-spacing: 1px; }
.news-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.news-cat { display: inline-block; background: var(--red); color: var(--white); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 3px; letter-spacing: 1px; margin-bottom: 12px; align-self: flex-start; }
.news-card-body h3 { font-family: var(--font-serif); font-size: 17px; font-weight: 700; color: var(--gray-900); line-height: 1.4; margin-bottom: 10px; }
.news-card-body p { font-size: 13px; color: var(--text-light); line-height: 1.7; margin-bottom: 14px; flex: 1; }
.news-meta { display: flex; gap: 14px; font-size: 12px; color: var(--gray-500); margin-bottom: 12px; }
.news-meta i { margin-right: 4px; color: var(--red); }
.news-more { font-size: 13px; font-weight: 600; color: var(--navy); align-self: flex-start; }
.news-more:hover { color: var(--red); }

/* FAQ */
.faq-section { padding: 60px 0; background: var(--off-white); }
.faq-accordion { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border-left: 4px solid var(--red); }
.faq-q { padding: 18px 24px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; transition: background .2s; }
.faq-q:hover { background: var(--off-white); }
.faq-num { font-family: var(--font-serif); font-size: 16px; font-weight: 900; color: var(--red); flex-shrink: 0; }
.faq-qtext { flex: 1; font-family: var(--font-serif); font-size: 16px; font-weight: 700; color: var(--gray-900); }
.faq-toggle { font-size: 20px; color: var(--gray-500); transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-toggle { transform: rotate(45deg); color: var(--red); }
.faq-a { padding: 0 24px; max-height: 0; overflow: hidden; transition: all .35s ease; font-size: 14px; color: var(--text-light); line-height: 1.8; }
.faq-item.open .faq-a { padding: 0 24px 20px; max-height: 600px; }

/* Contact */
.contact-intro-section { padding: 50px 0; background: var(--white); }
.contact-info-section { padding: 30px 0 70px; background: var(--white); }
.contact-info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cinfo-card { background: var(--off-white); padding: 30px 24px; border-radius: var(--radius-lg); text-align: center; border-top: 4px solid var(--red); transition: all .3s; }
.cinfo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cinfo-icon { font-size: 32px; color: var(--red); margin-bottom: 14px; }
.cinfo-card h4 { font-family: var(--font-serif); font-size: 16px; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; }
.cinfo-card p { font-size: 13px; color: var(--text-light); line-height: 1.7; }
.contact-form-section { padding: 70px 0; background: var(--off-white); }
.contact-form-grid { max-width: 720px; margin: 0 auto; }
.contact-form-img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.contact-form-box { background: var(--white); padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.gov-form .form-group { margin-bottom: 18px; }
.gov-form label { display: block; font-size: 13px; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.gov-form input, .gov-form select, .gov-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--gray-300); border-radius: var(--radius); font-size: 14px; font-family: var(--font-sans); transition: border-color .2s; }
.gov-form input:focus, .gov-form select:focus, .gov-form textarea:focus { outline: 0; border-color: var(--red); }
.form-success { color: #2d7a3a; padding: 12px 16px; background: #e7f7eb; border-radius: var(--radius); margin-bottom: 16px; }
.wa-cta-section { padding: 60px 0; background: linear-gradient(135deg, var(--navy), var(--navy-light)); color: var(--white); text-align: center; }
.wa-cta-section .section-title { color: var(--white); }
.wa-cta-section .section-desc { color: rgba(255,255,255,.9); margin: 0 auto 22px; }

/* Legal pages (privacy/terms) */
.legal-container { max-width: 920px; }
.legal-section { padding: 60px 0; background: var(--white); }
.legal-head { margin-bottom: 32px; padding-bottom: 24px; border-bottom: 2px solid var(--gold); }
.legal-head h1, .legal-head h2 { font-family: var(--font-serif); font-size: 30px; font-weight: 700; color: var(--gray-900); margin-bottom: 12px; }
.legal-meta { display: flex; gap: 18px; font-size: 12px; color: var(--gray-500); }
.legal-meta i { margin-right: 4px; color: var(--red); }
.legal-img { margin-bottom: 24px; }
.legal-img img { width: 100%; max-height: 280px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.legal-block { margin-bottom: 28px; padding-left: 18px; border-left: 3px solid var(--red); }
.legal-block h3 { font-family: var(--font-serif); font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.legal-block p { font-size: 14px; color: var(--text); line-height: 1.9; margin-bottom: 10px; }
.legal-block ul, .legal-block ol { padding-left: 20px; margin: 10px 0; }
.legal-block li { font-size: 14px; color: var(--text); line-height: 1.8; margin-bottom: 4px; }
.legal-body { font-size: 14px; color: var(--text); line-height: 1.9; }
.legal-related { margin-top: 40px; padding: 24px; background: var(--off-white); border-radius: var(--radius-lg); border-left: 4px solid var(--red); }
.legal-related h4 { font-family: var(--font-serif); font-size: 16px; font-weight: 700; color: var(--gray-900); margin-bottom: 12px; }

/* Footer */
.site-footer { background: var(--gray-900); color: rgba(255,255,255,.8); padding: 60px 0 0; border-top: 4px solid var(--red); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 40px; }
.footer-col h5 { font-family: var(--font-serif); color: var(--white); font-size: 15px; font-weight: 700; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.15); position: relative; }
.footer-col h5::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 40px; height: 2px; background: var(--red); }
.footer-brand-text { font-family: var(--font-serif); color: var(--white); font-size: 18px; font-weight: 700; margin-bottom: 10px; letter-spacing: 1px; }
.footer-brand-en { color: var(--gold); font-size: 10px; letter-spacing: 2px; margin-bottom: 16px; }
.footer-desc { font-size: 13px; line-height: 1.8; color: rgba(255,255,255,.65); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: rgba(255,255,255,.7); font-size: 13px; text-decoration: none; transition: color .2s; }
.footer-col ul a:hover { color: var(--gold); }
.footer-col p { font-size: 13px; color: rgba(255,255,255,.7); line-height: 1.7; margin-bottom: 8px; }
.footer-col p i { color: var(--gold); margin-right: 6px; }
.footer-disclaimer { background: rgba(0,0,0,.3); padding: 20px 0; font-size: 12px; color: rgba(255,255,255,.55); line-height: 1.7; }
.footer-disclaimer strong { color: var(--gold); display: block; margin-bottom: 6px; }
.footer-bottom { background: #0a0a0a; padding: 16px 0; text-align: center; font-size: 12px; color: rgba(255,255,255,.5); }

/* Topbar hide on mobile */
@media (max-width: 1280px) {
  .nav-menu > a { padding: 8px 9px; font-size: 13px; }
  .nav-dropdown > a { padding: 8px 9px; font-size: 13px; }
  .btn-consult { padding: 8px 12px !important; font-size: 12px; }
  .brand-en { display: none; }
  .brand-name { font-size: 15px; letter-spacing: 1px; }
  .brand img { height: 36px !important; }
  .header-inner { padding: 0 20px; gap: 8px; }
}
@media (max-width: 1150px) {
  .nav-menu > a { padding: 8px 6px; font-size: 12px; letter-spacing: 0; }
  .nav-dropdown > a { padding: 8px 6px; font-size: 12px; }
  .btn-consult { padding: 7px 10px !important; font-size: 11px; }
  .btn-consult span { display: none; }
}
@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav-menu { position: fixed; top: var(--header-h); left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; padding: 12px 20px; transform: translateY(-150%); transition: transform .3s ease; box-shadow: var(--shadow-lg); border-bottom: 2px solid var(--red); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav-menu.open { transform: translateY(0); }
  .nav-menu > a { padding: 14px 0; border-bottom: 1px solid var(--gray-100); }
  .nav-menu > a:last-child { border-bottom: 0; }
  .nav-menu > a::after { display: none; }
  .nav-dropdown { width: 100%; }
  .dropdown-panel { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 20px; background: transparent; border-top: 0; min-width: auto; }
  .dropdown-panel a { color: var(--gray-500); padding: 8px 0; }
  .topbar { display: none; }
}

@media (max-width: 900px) {
  .hero2-grid, .about-grid, .why-grid, .intro-grid, .intro-grid.reverse { grid-template-columns: 1fr; gap: 32px; }
  .about-img, .hero2-right img, .why-right img, .intro-img img { height: 260px; }
  .intro-grid.reverse { grid-template-areas: none; }
  .features-grid, .services-grid, .testimonial-grid, .news-grid, .team-list-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .team-grid, .warning-grid, .stats-grid, .values-grid, .contact-info-grid, .process-grid, .partners-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .service-row { grid-template-columns: 1fr; gap: 30px; }
  .service-row.reverse { grid-template-areas: "img" "text"; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-title, .section-title { font-size: 28px !important; }
  .hero-title-sub { font-size: 22px; }
  .stat-num { font-size: 32px; }
  .stat-card { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 24px; }
  .warning-images { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .features-grid, .services-grid, .testimonial-grid, .news-grid, .team-list-grid, .team-grid, .warning-grid, .stats-grid, .values-grid, .contact-info-grid, .process-grid, .partners-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 60px 18px; }
  .hero-title { font-size: 24px !important; }
  .section-title { font-size: 22px !important; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .warning-images { grid-template-columns: 1fr; }
}

/* Common utilities */
section { position: relative; }

/* ===== Patch v6.0.2: missing classes ===== */

/* Footer extra classes (use h4 not h5) */
.footer-col h4 { font-family: var(--font-serif); color: var(--white); font-size: 15px; font-weight: 700; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.15); position: relative; }
.footer-col h4::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 40px; height: 2px; background: var(--red); }
.footer-col h4 i { color: var(--gold); margin-right: 6px; }
.footer-brand-row { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.footer-logo { width: 44px; height: 44px; object-fit: contain; }
.footer-name { font-family: var(--font-serif); color: var(--white); font-size: 16px; font-weight: 700; letter-spacing: 1px; }
.footer-en { color: var(--gold); font-size: 10px; letter-spacing: 1.5px; margin-top: 2px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.7); line-height: 1.7; margin-bottom: 10px; }
.footer-wa { display: inline-flex; align-items: center; gap: 8px; background: #25D366; color: #fff !important; padding: 10px 18px; border-radius: var(--radius); font-size: 13px; font-weight: 600; text-decoration: none; margin-top: 12px; transition: background .2s; }
.footer-wa:hover { background: #1faa55; color: #fff !important; }

/* Float WA button (fixed corner) */
.float-wa {
  position: fixed; right: 24px; bottom: 24px; z-index: 8000;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff !important; font-size: 28px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,.45);
  transition: transform .2s, box-shadow .2s; text-decoration: none;
}
.float-wa:hover { transform: scale(1.08); box-shadow: 0 8px 28px rgba(37,211,102,.6); color: #fff !important; }

/* FAQ-page why section (4-card grid) */
.why-faq-section { padding: 70px 0; background: var(--white); }
.why-faq-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.wf-card { background: var(--off-white); padding: 32px 22px; text-align: center; border-radius: var(--radius-lg); border-top: 4px solid var(--gold); transition: all .3s; }
.wf-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-top-color: var(--red); }
.wf-icon { font-size: 36px; color: var(--red); margin-bottom: 14px; }
.wf-card h4 { font-family: var(--font-serif); font-size: 17px; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.wf-card p { font-size: 13px; color: var(--text-light); line-height: 1.7; }

/* Page hero - h1/p variant (without section-title wrapper) */
.page-hero-inner h1 { font-family: var(--font-serif); font-size: 38px; font-weight: 700; color: var(--white); margin-bottom: 14px; line-height: 1.3; }
.page-hero-inner > p { font-size: 16px; color: rgba(255,255,255,.85); max-width: 700px; margin: 0 auto; line-height: 1.8; }

/* CTA section direct h2/p variant */
.cta-section h2 { font-family: var(--font-serif); font-size: 32px; font-weight: 700; color: var(--white); margin-bottom: 14px; }
.cta-section h3 { font-family: var(--font-serif); font-size: 20px; font-weight: 500; color: rgba(255,255,255,.92); margin-bottom: 16px; }
.cta-section p { font-size: 15px; color: rgba(255,255,255,.92); max-width: 680px; margin: 0 auto 24px; line-height: 1.8; }

/* Hero2 right image fallback if no img */
.hero2-right { min-height: 280px; }

/* Better section spacing for inner pages on mobile */
.page-inner main { padding-top: 0; }

/* Editor toolbar push body */
/* 編輯模式下 sticky header 不被工具欄遮住 */
body.edit-mode .site-header { top: 46px; }
body.edit-mode .topbar { position: relative; z-index: 1; }

@media (max-width: 768px) {
  body.edit-mode .site-header { top: 76px; }
}

/* Responsive patches */
@media (max-width: 1100px) {
  .why-faq-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .why-faq-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .float-wa { right: 16px; bottom: 16px; width: 50px; height: 50px; font-size: 24px; }
  .page-hero-inner h1 { font-size: 26px; }
  .cta-section h2 { font-family: var(--font-serif); font-size: 24px; }
  .hero-inner { padding: 60px 24px; }
  .topbar-left { font-size: 11px; }
  .topbar-right span { display: none; }
}
@media (max-width: 560px) {
  .why-faq-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .page-hero-inner h1 { font-size: 22px; }
  .cta-section h2 { font-size: 20px; }
  .header-inner { padding: 0 16px; }
  .brand-en { display: none; }
  .brand img { height: 32px !important; }
  .brand-name { font-size: 15px; }
  .stats-grid { grid-template-columns: 1fr 1fr !important; }
  .stat-card { border-right: 0 !important; border-bottom: 1px solid rgba(255,255,255,.1); }
}
