:root {
  --ink: #0d1726;
  --muted: #536176;
  --soft: #8391a4;
  --line: #dfe5ec;
  --surface: #f4f7fa;
  --white: #ffffff;
  --navy: #07111f;
  --navy-2: #0d1d31;
  --steel: #8fa9c4;
  --accent: #2f7de1;
  --accent-strong: #1f64c0;
  --gold: #d6b46a;
  --shadow: 0 20px 50px rgba(7, 17, 31, 0.12);

  /* header / menu tokens (shared scheme with other HRSG sites) */
  --hd-panel: #07111f;
  --hd-item: #0f1e33;
  --hd-text: #f3f7fc;
  --hd-soft: rgba(225, 234, 245, 0.6);
  --hd-line: rgba(180, 205, 230, 0.22);
  --hd-toggle-bg: rgba(255, 255, 255, 0.06);
  --hd-accent: #2f7de1;
  --hd-accent-ink: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
  background: var(--white);
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
p { margin: 0; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 14px;
  height: 76px;
  padding: 0 32px;
  color: var(--hd-text);
  background: rgba(7, 17, 31, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  transition: height 0.2s ease, background 0.2s ease;
}
.site-header.is-scrolled { height: 66px; background: rgba(7, 17, 31, 0.96); }
.brand { display: inline-grid; grid-template-columns: 7px auto; align-items: center; gap: 12px; min-width: 0; }
.brand-mark { width: 7px; height: 42px; background: linear-gradient(180deg, var(--steel), var(--accent)); }
.brand-copy { min-width: 0; }
.brand-copy strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 27px; line-height: 1; }
.brand-copy small { display: block; margin-top: 3px; color: rgba(255, 255, 255, 0.8); font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.desktop-nav { display: flex; justify-content: center; gap: 30px; min-width: 0; overflow: hidden; font-size: 15px; font-weight: 650; }
.desktop-nav a { position: relative; padding: 8px 0; white-space: nowrap; color: rgba(255, 255, 255, 0.88); }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.2s ease; }
.desktop-nav a:hover::after { transform: scaleX(1); }

.site-menu { position: relative; justify-self: end; }
.site-menu-toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px;
  color: var(--hd-text); font-size: 13px; font-weight: 800; white-space: nowrap; cursor: pointer;
  background: var(--hd-toggle-bg); border: 1px solid var(--hd-line); border-radius: 8px;
}
.site-menu-toggle i { font-size: 11px; transition: transform 0.2s ease; }
.site-menu.is-open .site-menu-toggle i { transform: rotate(180deg); }
.site-menu-panel {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 40;
  display: none; grid-template-columns: repeat(2, minmax(200px, 1fr)); gap: 6px;
  width: max-content; max-width: calc(100vw - 32px); padding: 10px;
  background: var(--hd-panel); border: 1px solid var(--hd-line); border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}
.site-menu.is-open .site-menu-panel { display: grid; }
.site-menu-panel a {
  display: grid; grid-template-columns: 22px 1fr; column-gap: 10px; align-items: center;
  padding: 10px 14px; color: var(--hd-text); background: var(--hd-item);
  border-left: 3px solid var(--site); border-radius: 6px;
}
.site-menu-panel a:hover { filter: brightness(1.12); }
.site-menu-panel i { grid-row: span 2; color: var(--site); font-size: 16px; }
.site-menu-panel span { font-size: 14px; font-weight: 750; }
.site-menu-panel small { color: var(--hd-soft); font-size: 11px; }

.language-toggle { display: flex; gap: 2px; width: 78px; padding: 3px; border: 1px solid var(--hd-line); border-radius: 999px; background: var(--hd-toggle-bg); }
.language-toggle button { width: 35px; height: 30px; color: rgba(255, 255, 255, 0.66); font-size: 12px; font-weight: 800; background: transparent; border: 0; border-radius: 999px; cursor: pointer; }
.language-toggle button.is-active { color: #fff; background: var(--accent); }

.menu-toggle { display: none; width: 44px; height: 44px; place-items: center; color: #fff; font-size: 20px; background: var(--hd-toggle-bg); border: 1px solid var(--hd-line); border-radius: 8px; cursor: pointer; }

.mobile-nav {
  position: fixed; z-index: 25; top: 74px; right: 12px; left: 12px;
  display: none; grid-template-columns: 1fr; gap: 8px;
  max-height: calc(100vh - 92px); max-height: calc(100dvh - 92px); overflow-y: auto;
  padding: 14px; color: var(--hd-text); background: var(--hd-panel);
  border: 1px solid var(--hd-line); border-radius: 12px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.mobile-nav.is-open { display: grid; }
.mobile-nav-title { margin: 6px 4px 0; color: var(--hd-soft); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.mobile-nav-group { display: grid; gap: 1px; overflow: hidden; border-radius: 10px; }
.mobile-nav-group a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 50px; padding: 0 16px; font-size: 15px; background: var(--hd-item); }
.mobile-nav-group a i { color: var(--hd-soft); font-size: 13px; }
.mobile-nav-sites { grid-template-columns: 1fr 1fr; gap: 6px; overflow: visible; }
.mobile-nav-sites a { justify-content: flex-start; border-left: 3px solid var(--site); border-radius: 8px; }
.mobile-nav-sites a i { color: var(--site); font-size: 15px; }
.mobile-nav-footer { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.mobile-nav-footer a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 12px; font-weight: 800; border-radius: 8px; }
.mobile-nav-mail { border: 1px solid var(--hd-line); background: var(--hd-item); }
.mobile-nav-contact { color: var(--hd-accent-ink); background: var(--hd-accent); }
body.nav-open { overflow: hidden; }
body.nav-open::before { content: ""; position: fixed; inset: 0; z-index: 20; background: rgba(1, 5, 12, 0.6); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; font-weight: 750; border-radius: 8px; border: 1px solid transparent; cursor: pointer; transition: transform 0.15s ease, background 0.15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { color: #fff; background: var(--accent); }
.btn.primary:hover { background: var(--accent-strong); }
.btn.secondary { color: #fff; border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.04); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(circle at 78% 20%, rgba(47, 125, 225, 0.32), transparent 42%),
    radial-gradient(circle at 10% 90%, rgba(143, 169, 196, 0.18), transparent 40%),
    linear-gradient(160deg, #06101d 0%, #0b1a2e 60%, #0d2038 100%);
}
.hero-grid {
  position: absolute; inset: 0; opacity: 0.35;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr); gap: 56px; align-items: center; width: min(1200px, calc(100% - 64px)); margin: 0 auto; padding: 150px 0 96px; }
.eyebrow { margin-bottom: 14px; color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.hero .eyebrow { color: #8cc0ff; }
.hero h1 { max-width: 760px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(36px, 4.6vw, 60px); font-weight: 700; }
html[lang="zh-CN"] .hero h1 { font-family: inherit; font-weight: 800; }
.hero-lede { max-width: 640px; margin-top: 22px; color: rgba(236, 243, 251, 0.82); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-card { padding: 28px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 14px; backdrop-filter: blur(10px); }
.hero-card-title { margin-bottom: 18px; color: rgba(255, 255, 255, 0.6); font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; overflow: hidden; border-radius: 10px; background: rgba(255, 255, 255, 0.12); }
.stats div { padding: 18px; background: #0b192b; }
.stats dt { font-family: Georgia, "Times New Roman", serif; font-size: 32px; font-weight: 700; line-height: 1.1; }
.stats dt small { font-family: inherit; font-size: 15px; font-weight: 600; }
.stats dd { margin: 6px 0 0; color: rgba(236, 243, 251, 0.72); font-size: 13px; line-height: 1.45; }
.hero-card-note { display: flex; gap: 8px; margin-top: 18px; color: rgba(236, 243, 251, 0.72); font-size: 13px; }
.hero-card-note i { color: #8cc0ff; }

/* ---------- sections ---------- */
.section { width: min(1200px, calc(100% - 64px)); margin: 0 auto; padding: 96px 0; }
.section.alt { width: 100%; padding-right: max(32px, calc((100% - 1200px) / 2)); padding-left: max(32px, calc((100% - 1200px) / 2)); background: var(--surface); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; letter-spacing: -0.01em; }
.section-head > p:not(.eyebrow) { margin-top: 16px; color: var(--muted); font-size: 17px; }

.service-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; }
.service-card { display: grid; align-content: start; gap: 14px; padding: 30px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.service-card.featured { color: #fff; background: linear-gradient(160deg, #0b1a2e, #13325a); border-color: transparent; }
.service-card > i { font-size: 30px; color: var(--accent); }
.service-card.featured > i { color: #8cc0ff; }
.service-card h3 { font-size: 22px; }
.service-card p { color: var(--muted); }
.service-card.featured p { color: rgba(236, 243, 251, 0.8); }
.service-card ul { display: grid; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; font-size: 15px; }
.service-card li { position: relative; padding-left: 22px; }
.service-card li::before { content: "\F26E"; position: absolute; left: 0; top: 1px; font-family: "bootstrap-icons"; color: var(--accent); }
.service-card.featured li::before { color: #8cc0ff; }

.industry-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.industry-grid article { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: box-shadow 0.2s ease, transform 0.2s ease; }
.industry-grid article:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.industry-grid i { font-size: 26px; color: var(--accent); }
.industry-grid h3 { margin-top: 14px; font-size: 18px; }
.industry-grid p { margin-top: 8px; color: var(--muted); font-size: 14px; }

.roles { margin-top: 44px; padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.roles h3 { font-size: 20px; }
.role-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.role-tabs button { min-height: 40px; padding: 0 16px; color: var(--muted); font-weight: 700; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; cursor: pointer; }
.role-tabs button.is-active { color: #fff; background: var(--navy-2); border-color: var(--navy-2); }
.role-panel { display: none; flex-wrap: wrap; gap: 8px; }
.role-panel.is-active { display: flex; }
.role-panel span { padding: 7px 12px; font-size: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }

.approach-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.approach-grid article { padding: 26px; border: 1px solid var(--line); border-radius: 12px; border-top: 4px solid var(--accent); }
.badge { display: inline-block; padding: 4px 12px; color: var(--accent-strong); font-size: 13px; font-weight: 800; background: rgba(47, 125, 225, 0.1); border-radius: 999px; }
.approach-grid h3 { margin-top: 14px; font-size: 19px; }
.approach-grid p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.method-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 24px; overflow: hidden; border-radius: 12px; background: var(--line); border: 1px solid var(--line); }
.method-strip div { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; padding: 22px; background: var(--surface); }
.method-strip i { grid-row: span 2; font-size: 24px; color: var(--accent); }
.method-strip strong { font-size: 16px; }
.method-strip span { color: var(--muted); font-size: 14px; }

.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.case-grid article { display: grid; align-content: start; gap: 10px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.case-tag { color: var(--accent-strong); font-size: 13px; font-weight: 800; }
.case-grid h3 { font-family: Georgia, "Times New Roman", serif; font-size: 26px; }
html[lang="zh-CN"] .case-grid h3 { font-family: inherit; }
.case-grid p:not(.case-tag) { color: var(--muted); font-size: 15px; }

.process { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.process li { padding: 22px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.process span { color: var(--accent); font-family: Georgia, serif; font-size: 22px; font-weight: 700; }
.process strong { display: block; margin-top: 8px; font-size: 16px; }
.process p { margin-top: 6px; color: var(--muted); font-size: 14px; }
.terms { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 26px; padding: 18px 22px; background: var(--surface); border-radius: 12px; }
.terms div { display: flex; align-items: center; gap: 10px; font-weight: 650; }
.terms i { color: var(--accent); font-size: 18px; }

.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.contact-copy h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; }
.contact-copy > p:not(.eyebrow) { margin-top: 16px; color: var(--muted); font-size: 17px; }
.contact-list { display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.contact-list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 16px; }
.contact-list i { color: var(--accent); font-size: 18px; }
.contact-list a { font-weight: 700; }
.contact-form { display: grid; gap: 16px; padding: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-height: 48px; padding: 10px 14px; color: var(--ink); font-size: 16px; background: #fff; border: 1px solid #cfd8e3; border-radius: 8px; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid rgba(47, 125, 225, 0.35); border-color: var(--accent); }
.contact-form .btn { width: 100%; }
.form-note { color: var(--soft); font-size: 13px; }

/* ---------- footer ---------- */
.site-footer { color: rgba(236, 243, 251, 0.78); background: var(--navy); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; width: min(1200px, calc(100% - 64px)); margin: 0 auto; padding: 40px 0 28px; }
.footer-brand strong { display: block; color: #fff; font-size: 18px; }
.footer-brand span { font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { width: min(1200px, calc(100% - 64px)); margin: 0 auto; padding: 18px 0 26px; font-size: 13px; color: rgba(236, 243, 251, 0.5); border-top: 1px solid rgba(255, 255, 255, 0.08); }

.mobile-cta { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .desktop-nav { display: none; }
  .site-header { grid-template-columns: minmax(0, 1fr) auto auto auto; }
  .menu-toggle { display: grid; }
  .industry-grid, .approach-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 961px) {
  .mobile-nav { top: 82px; right: 24px; left: auto; width: 420px; }
}
@media (max-width: 960px) {
  .site-header { grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; height: 66px; padding: 0 16px; }
  .site-header.is-scrolled { height: 62px; }
  .site-menu { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; padding: 120px 0 64px; }
  .service-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .section { width: calc(100% - 36px); padding: 64px 0; }
  .section.alt { padding: 64px 18px; }
  .hero-inner { width: calc(100% - 36px); padding: 104px 0 52px; }
  .hero-lede { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .section-head { margin-bottom: 30px; }
  .section-head > p:not(.eyebrow) { font-size: 16px; }
  .method-strip { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roles { padding: 22px; }
  .role-tabs { flex-wrap: nowrap; overflow-x: auto; margin-right: -22px; padding-right: 22px; scrollbar-width: none; }
  .role-tabs::-webkit-scrollbar { display: none; }
  .role-tabs button { flex: 0 0 auto; }
  .footer-inner, .footer-bottom { width: calc(100% - 36px); }

  .mobile-cta {
    position: fixed; right: 0; bottom: 0; left: 0; z-index: 17;
    display: grid; grid-template-columns: 1.5fr 1fr; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(7, 17, 31, 0.96); border-top: 1px solid var(--hd-line); backdrop-filter: blur(14px);
  }
  .mobile-cta a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; color: #fff; font-size: 15px; font-weight: 800; border: 1px solid var(--hd-line); border-radius: 10px; }
  .mobile-cta .mobile-cta-primary { background: var(--accent); border-color: var(--accent); }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  body.nav-open .mobile-cta { display: none; }
}
@media (max-width: 600px) {
  .industry-grid, .approach-grid { grid-template-columns: 1fr; }
  .industry-grid article { display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; padding: 18px; }
  .industry-grid i { grid-row: span 2; }
  .industry-grid h3 { margin-top: 0; font-size: 17px; }
  .industry-grid p { margin-top: 4px; }
  .process { grid-template-columns: 1fr; }
  .process li { display: grid; grid-template-columns: 40px 1fr; column-gap: 8px; padding: 16px; }
  .process span { grid-row: span 2; font-size: 20px; }
  .process strong { margin-top: 0; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 20px; }
  .stats dt { font-size: 28px; }
  .hero-card { padding: 20px; }
}
@media (max-width: 520px) {
  .site-header { padding: 0 12px; }
  .language-toggle { width: 72px; }
  .language-toggle button { width: 32px; height: 28px; }
  .mobile-nav-sites { grid-template-columns: 1fr; }
  .brand-copy strong { font-size: 24px; }
}
@media (max-width: 360px) {
  .site-header { gap: 8px; }
  .brand-copy small { max-width: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .industry-grid article { transition: none; }
}

/* ===== Meiguo.Green theme + extra sections ===== */
:root {
  --accent: #15936a;
  --accent-strong: #0e7a57;
  --steel: #8fd3b8;
  --hd-accent: #15936a;
}
.hero {
  background:
    radial-gradient(circle at 80% 18%, rgba(21, 147, 106, 0.35), transparent 42%),
    radial-gradient(circle at 8% 92%, rgba(143, 211, 184, 0.16), transparent 40%),
    linear-gradient(160deg, #04140f 0%, #0a2219 60%, #0d2b20 100%);
}
.hero .eyebrow, .service-card.featured > i, .service-card.featured li::before, .hero-card-note i { color: #8fe0bf; }
.service-card.featured { background: linear-gradient(160deg, #0a2219, #12513b); }
.stats div { background: #0b231a; }
.badge { color: var(--accent-strong); background: rgba(21, 147, 106, 0.1); }
.role-tabs button.is-active { background: #0d2b20; border-color: #0d2b20; }
html { scroll-padding-top: 120px; }

/* qualification bar */
.qual-bar { position: fixed; inset: 0 0 auto; z-index: 31; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 34px; padding: 6px 16px; color: #e8f6ef; font-size: 13px; background: #0e7a57; text-align: center; }
.qual-bar a { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.qual-bar i { color: #bff0dc; }
body.has-qual .site-header { top: 34px; }
body.has-qual .mobile-nav { margin-top: 34px; }
body.has-qual .hero-inner { padding-top: 176px; }

/* qualifications section */
.qual-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.qual-grid article { display: grid; align-content: start; gap: 8px; padding: 24px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; }
.qual-grid i { font-size: 26px; color: var(--accent); }
.qual-grid h3 { font-size: 17px; }
.qual-grid p { color: var(--muted); font-size: 14px; }
.qual-grid code { font-family: inherit; font-weight: 800; color: var(--ink); }
.notice { margin-top: 18px; padding: 16px 20px; color: var(--muted); font-size: 14px; background: #fff; border: 1px dashed #b8c7d6; border-radius: 10px; }
.notice strong { color: var(--ink); }

/* visa detail blocks */
.visa-detail { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 28px; align-items: start; }
.visa-detail + .visa-detail { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--line); }
.visa-detail h3 { font-size: 26px; font-weight: 800; }
.visa-detail .lead { margin-top: 12px; color: var(--muted); font-size: 16px; }
.req-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.req-list li { padding: 16px 18px; background: var(--surface); border-radius: 10px; }
.req-list strong { display: block; margin-bottom: 4px; }
.req-list span { color: var(--muted); font-size: 15px; }
.check-list { display: grid; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 26px; font-size: 15px; }
.check-list li::before { content: "\F26E"; position: absolute; left: 0; top: 1px; font-family: "bootstrap-icons"; color: var(--accent); font-weight: 700; }

/* founder */
.founder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 36px; color: #fff; background: linear-gradient(150deg, #0a2219, #12513b); border-radius: 16px; }
.founder h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.founder p { margin-top: 14px; color: rgba(236, 248, 242, 0.85); }
.founder .eyebrow { color: #8fe0bf; }
.path { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.path li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; padding: 14px 16px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 10px; }
.path b { display: grid; place-items: center; width: 32px; height: 32px; color: #04140f; font-size: 14px; background: #8fe0bf; border-radius: 50%; }

/* articles */
.article-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.article-list a { display: grid; grid-template-columns: 28px 1fr 18px; gap: 10px; align-items: center; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 10px; font-weight: 650; }
.article-list a:hover { border-color: var(--accent); }
.article-list i { color: var(--accent); }
.article-list .bi-arrow-up-right { color: var(--soft); }

/* faq */
.faq { display: grid; gap: 10px; }
.faq details { padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.faq summary { cursor: pointer; font-weight: 750; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin-top: 10px; color: var(--muted); }

@media (max-width: 960px) {
  .qual-grid { grid-template-columns: 1fr; }
  .visa-detail, .founder { grid-template-columns: 1fr; }
  .article-list { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .qual-bar { font-size: 12px; min-height: 30px; }
  body.has-qual .site-header { top: 30px; }
  body.has-qual .hero-inner { padding-top: 130px; }
  .founder { padding: 24px; }
}
@media (max-width: 520px) {
  .qual-bar .qb-long { display: none; }
}
.process.process-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1240px) { .process.process-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .process.process-4 { grid-template-columns: 1fr; } }
.qual-bar { white-space: nowrap; overflow: hidden; }
@media (max-width: 520px) {
  .qual-bar { gap: 6px; font-size: 11.5px; padding: 6px 10px; }
  .qual-bar .qb-label { display: none; }
}
