:root {
  --accent: #1e50ae;
  --text: #333;
  --muted: #666;
  --bg: #f8fafc;
  --border: #e2e8f0;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: "Segoe UI", "Microsoft YaHei", sans-serif; color: var(--text); background: #fff; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }
.site-header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 64px; }
.brand-lockup { flex: 0 1 auto; min-width: 0; }
.logo { font-weight: 700; color: var(--accent); text-decoration: none; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-lockup { display: flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; color: inherit; }
.brand-icon { flex-shrink: 0; width: 40px; height: 40px; display: block; line-height: 0; }
.brand-icon svg { width: 100%; height: 100%; display: block; }
.brand-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.brand-name { font-size: 18px; font-weight: 700; color: #333; white-space: nowrap; }
.brand-accent { color: var(--accent); }
.brand-tagline {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}
.brand-logo { flex-shrink: 0; height: 52px; width: auto; max-width: 180px; object-fit: contain; display: block; }
.brand-has-logo { gap: 0; }
.site-title { font-size: 20px; font-weight: 700; color: #333; white-space: nowrap; }
nav a { color: var(--text); text-decoration: none; }
nav a:hover { color: var(--accent); }
.header-nav {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  justify-content: flex-end;
  flex-wrap: nowrap;
  margin-left: auto;
  gap: 1.25rem;
  min-width: 0;
}
.header-nav .nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 0;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}
.header-nav .nav-link:hover { color: var(--accent); }
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-dropdown-trigger {
  margin: 0;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 8.5rem;
  padding: 0.35rem 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  z-index: 20;
}
.nav-dropdown-item {
  display: block;
  margin: 0;
  padding: 0.45rem 0.85rem;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
}
.nav-dropdown-item:hover { background: var(--bg); color: var(--accent); }
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { display: block; }
.hero { min-height: 420px; background: center/cover no-repeat #1e293b; color: #fff; display: flex; align-items: center; position: relative; padding: 4rem 0; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.35); }
.hero-inner { position: relative; z-index: 1; text-align: center; padding: 2rem 0; }
.hero h1 { margin: 0 0 1rem; }
.hero-headline { display: block; font-size: clamp(28px, 4vw, 36px); font-weight: 700; line-height: 1.35; }
.hero-subline { display: block; margin-top: 0.5rem; font-size: clamp(18px, 2.5vw, 24px); font-weight: 400; }
.hero .sub { font-size: 18px; opacity: 0.95; }
.hero-motto, .hero .motto { max-width: 780px; margin: 1rem auto 0; line-height: 1.8; opacity: 0.95; font-size: 14px; }
.hero-actions { margin-top: 1.5rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-outline { display: inline-block; padding: 0.65rem 1.5rem; border-radius: 4px; border: 1px solid rgba(255,255,255,0.85); color: #fff; text-decoration: none; }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.section-heading { font-size: 22px; margin: 0 0 1.25rem; color: var(--text); }
.section-lead { color: var(--muted); margin: -0.5rem 0 1.25rem; }
.section-head-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.link-more { color: var(--accent); text-decoration: none; font-size: 14px; }
.link-more:hover { text-decoration: underline; }
.portal-section { padding: 2.5rem 0; position: relative; z-index: 1; background: #fff; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.filter-sub { margin-top: 0.5rem; }
.filter-chip { display: inline-block; padding: 0.35rem 0.85rem; border-radius: 999px; border: 1px solid var(--border); color: var(--text); text-decoration: none; font-size: 13px; }
.filter-chip.active, .filter-chip:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.filter-chip.chip-hot.active { background: #c2410c; border-color: #c2410c; }
.case-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.case-grid-compact { grid-template-columns: 1fr; }
.case-card { display: block; border: 1px solid var(--border); border-radius: 8px; padding: 1rem 1.1rem; text-decoration: none; color: inherit; transition: box-shadow 0.15s; }
.case-card:hover { box-shadow: 0 4px 16px rgba(30,80,174,0.08); border-color: #c7d7f5; }
.case-card h3 { margin: 0.5rem 0; font-size: 16px; font-weight: 600; line-height: 1.45; }
.case-card p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.case-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; font-size: 12px; }
.case-industry { color: var(--muted); }
.case-highlight { display: inline-block; margin-top: 0.5rem; font-size: 12px; color: #c2410c; }
.badge { display: inline-block; padding: 0.15rem 0.5rem; border-radius: 4px; font-size: 11px; background: var(--bg); color: var(--muted); }
.badge-cert { background: #e8f0fe; color: var(--accent); }
.badge-cat-criminal { background: #fee2e2; color: #991b1b; }
.badge-cat-penalty { background: #ffedd5; color: #9a3412; }
.badge-cat-training { background: #dbeafe; color: #1e40af; }
.badge-cat-policy { background: #ede9fe; color: #5b21b6; }
.badge-cat-standard { background: #ecfdf5; color: #047857; }
.badge-cat-media { background: #fce7f3; color: #9d174d; }
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.cert-card { display: block; border: 1px solid var(--border); border-radius: 8px; padding: 1.25rem; text-decoration: none; color: inherit; }
.cert-card:hover { border-color: var(--accent); }
.cert-code { display: inline-block; font-weight: 700; color: var(--accent); margin-bottom: 0.35rem; }
.cert-card strong { display: block; margin-bottom: 0.35rem; }
.cert-card p { margin: 0; font-size: 13px; color: var(--muted); }
.cert-fee { display: block; margin-top: 0.75rem; font-size: 13px; color: var(--accent); }
.schedule-item { border: 1px solid var(--border); border-radius: 8px; padding: 1rem 1.25rem; margin-bottom: 0.75rem; }
.schedule-item h3 { margin: 0.5rem 0 0.35rem; font-size: 17px; }
.schedule-meta { margin: 0.25rem 0; font-size: 14px; color: var(--muted); }
.schedule-item-compact { display: grid; grid-template-columns: auto 1fr auto auto; gap: 0.75rem 1rem; align-items: center; }
.btn-sm { padding: 0.4rem 1rem; font-size: 13px; }
.pyramid { max-width: 520px; margin: 1.5rem auto 1rem; display: flex; flex-direction: column; gap: 0.5rem; text-align: center; }
.pyramid-level { padding: 0.75rem 1rem; border-radius: 6px; font-size: 14px; }
.level-pipa { background: #fef3c7; }
.level-pipca { background: #dbeafe; margin: 0 1.5rem; }
.level-pipp { background: #dcfce7; margin: 0 3rem; }
.table-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare-table th, .compare-table td { border: 1px solid var(--border); padding: 0.65rem 0.85rem; text-align: left; }
.compare-table th { background: var(--bg); }
.pricing-cert-block { border-bottom: 1px solid var(--border); padding: 1.25rem 0; }
.pricing-cert-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.pricing-fee { margin-left: auto; color: var(--accent); font-weight: 600; }
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.info-item { border: 1px solid var(--border); border-radius: 6px; padding: 0.85rem 1rem; }
.info-item label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 0.35rem; }
.feature-list { display: grid; gap: 0.75rem; }
.feature-item { border-left: 3px solid var(--accent); padding-left: 0.85rem; }
.highlight-list { padding-left: 1.25rem; line-height: 1.8; color: var(--muted); }
.curriculum-day { border: 1px solid var(--border); border-radius: 8px; padding: 1rem; margin-bottom: 0.75rem; }
.curriculum-slot label { font-size: 12px; color: var(--muted); }
.module-list { line-height: 1.8; color: var(--muted); }
.breadcrumb { margin: 0 0 1rem; font-size: 13px; }
.breadcrumb-list { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0; margin: 0; padding: 0; list-style: none; }
.breadcrumb-item { display: inline-flex; align-items: center; max-width: 100%; color: var(--muted); }
.breadcrumb-item:not(:last-child)::after { content: "/"; margin: 0 0.45rem; color: #cbd5e1; user-select: none; }
.breadcrumb-item a { color: var(--muted); text-decoration: none; }
.breadcrumb-item a:hover { color: var(--accent); text-decoration: underline; }
.breadcrumb-item [aria-current="page"] { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.case-detail h1 { margin: 0 0 0.75rem; font-size: 26px; }
.case-detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 0 0 1rem; font-size: 13px; }
.case-alert { background: #fff7ed; border: 1px solid #fed7aa; padding: 0.75rem 1rem; border-radius: 6px; margin-bottom: 1rem; color: #9a3412; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.empty-hint { color: var(--muted); padding: 2rem 0; text-align: center; }
.cert-fieldset { border: 1px solid var(--border); border-radius: 6px; padding: 0.75rem 1rem; display: grid; gap: 0.5rem; }
.cert-fieldset legend { padding: 0 0.35rem; font-size: 14px; }
.register-form { width: 100%; max-width: 520px; margin: 0 auto; }
.form-error { color: #b91c1c; font-size: 14px; }
.form-error.hidden { display: none; }
.card-link { text-decoration: none; color: inherit; display: block; transition: box-shadow 0.15s; }
.card-link:hover { box-shadow: 0 4px 16px rgba(30,80,174,0.08); border-color: #c7d7f5; }
.contact-info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 2rem; }
.contact-info-grid label { font-size: 12px; color: var(--muted); }
.material-list { display: grid; gap: 0.75rem; margin-bottom: 2rem; }
.material-item { border: 1px solid var(--border); border-radius: 8px; padding: 1rem; }
@media (max-width: 768px) {
  .cert-grid, .info-grid, .contact-info-grid { grid-template-columns: 1fr; }
  .schedule-item-compact { grid-template-columns: 1fr; }
  .level-pipca, .level-pipp { margin: 0; }
}
.section { padding: 3rem 0; }
.section.portal-section:has(> .filter-bar:first-child) { padding-top: 4.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card { border: 1px solid var(--border); border-radius: 8px; padding: 1rem; background: #fff; }
.card img { max-width: 100%; height: auto; }
.stats-visual {
  background: center/cover no-repeat #fff;
  padding: 0;
}
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  min-height: 92px;
  padding: 0 12.5%;
  margin: 0;
}
.stat-item {
  text-align: center;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.65rem 0.5rem;
}
.stat-item:last-child { border-right: none; }
.stat-value {
  font-size: 30px;
  font-weight: 700;
  color: #333;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.stat-unit { font-size: 14px; font-weight: 400; margin-left: 1px; }
.stat-label { font-size: 13px; color: #666; margin-top: 0.15rem; line-height: 1.3; }
.stat-label-en { font-size: 11px; color: #999; margin-top: 0.1rem; line-height: 1.2; font-family: Arial, "Segoe UI", sans-serif; }
.stat { text-align: center; padding: 1rem; }
.stat strong { display: block; font-size: 28px; color: var(--accent); }
.article-row { display: block; padding: 1rem 0; border-bottom: 1px solid var(--border); text-decoration: none; color: inherit; }
.tag { color: var(--accent); font-size: 12px; }
.muted { color: var(--muted); }
.consult-form { width: 100%; max-width: 520px; margin: 0 auto; display: grid; gap: 0.75rem; }
.consult-form label { display: grid; gap: 0.35rem; font-size: 14px; }
.consult-form .cert-fieldset label { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; }
.consult-form .cert-fieldset input[type="checkbox"] { width: auto; flex-shrink: 0; margin: 0; padding: 0; border: 0; border-radius: 0; }
.consult-form input, .consult-form textarea { padding: 0.5rem 0.65rem; border: 1px solid var(--border); border-radius: 4px; font: inherit; }
.consult-form button { padding: 0.65rem 1rem; background: var(--accent); color: #fff; border: 0; border-radius: 4px; cursor: pointer; }
.site-footer { background: #191919; color: #666; min-height: 84px; margin-top: 3rem; font-size: 12px; line-height: 1.8; }
.site-footer a { color: #888; text-decoration: none; }
.site-footer a:hover { color: #aaa; text-decoration: underline; }
.footer-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 84px; padding: 1rem 1.25rem; text-align: center; gap: 0.35rem; }
.footer-copy, .footer-meta { margin: 0; color: #666; }
.header-actions { margin-left: 0; flex-shrink: 0; display: flex; align-items: center; gap: 0.5rem; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}
body.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 14;
  background: rgba(15, 23, 42, 0.45);
}
.mobile-nav-overlay[hidden] { display: none; }
.btn-sm { padding: 0.4rem 0.9rem; font-size: 13px; }
.btn-accent { background: #2563eb; color: #fff; text-decoration: none; border-radius: 4px; display: inline-block; }
.btn-light { background: #fff; color: #0f172a; text-decoration: none; border-radius: 4px; display: inline-block; }
.btn-outline-light { border: 1px solid #64748b; color: #e2e8f0; text-decoration: none; border-radius: 4px; display: inline-block; padding: 0.4rem 0.9rem; }
.btn-outline-dark { border: 1px solid var(--border); color: var(--text); text-decoration: none; border-radius: 4px; display: inline-block; padding: 0.65rem 1.5rem; background: #fff; }
.pyramid-level small { display: block; margin-top: 0.25rem; opacity: 0.85; font-size: 12px; }
.download-card { border: 1px solid var(--border); border-radius: 12px; padding: 2rem; max-width: 640px; }
.download-url-box { margin: 1rem 0; padding: 0.75rem 1rem; background: var(--bg); border-radius: 6px; word-break: break-all; }
.download-url-label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 0.35rem; }
.download-tip { font-size: 13px; margin-top: 0.75rem; }
.steps-list { line-height: 2; color: var(--muted); padding-left: 1.25rem; }
.advantage-grid-simple { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 2rem; }
.material-head { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.35rem; }
.badge-free { background: #dcfce7; color: #166534; }
.material-hint { font-size: 13px; margin: 0.5rem 0 0; }
.modal { position: fixed; inset: 0; background: rgba(15,23,42,0.55); display: flex; align-items: center; justify-content: center; z-index: 100; padding: 1rem; }
.modal.hidden { display: none; }
.modal-panel { background: #fff; border-radius: 12px; padding: 1.5rem; width: min(480px, 100%); max-height: 90vh; overflow: auto; }
.legal-prose h2 { font-size: 20px; margin-top: 1.5rem; }
.legal-prose h3 { font-size: 16px; margin-top: 1rem; }
.legal-table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 14px; }
.legal-table td { border: 1px solid var(--border); padding: 0.5rem 0.65rem; }
.tpl-container { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }
.page-title-bar { padding: 2.5rem 0 1rem; background: var(--bg); }
.page-title-bar h1 { margin: 0; font-size: 28px; line-height: 1.35; }
.page-title-bar .section-lead { margin: 0.5rem 0 0; }
.page-banner { position: relative; flex-shrink: 0; height: 473px; overflow: hidden; background: #eee; isolation: isolate; }
.page-banner.compact { height: 182px; }
.banner-track { display: grid; grid-template: 1fr / 1fr; width: 100%; height: 100%; min-height: 0; overflow: hidden; }
.banner-slide { grid-area: 1 / 1; width: 100%; height: 100%; min-height: 0; min-width: 0; overflow: hidden; opacity: 0; transition: opacity 0.8s ease; pointer-events: none; }
.banner-slide.active { opacity: 1; z-index: 1; pointer-events: auto; }
.banner-slide img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; display: block; }
.page-banner:not(.carousel) .banner-track { display: block; }
.page-banner:not(.carousel) .banner-slide { opacity: 1; pointer-events: auto; }
.banner-arrow { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); width: 40px; height: 40px; border: none; border-radius: 50%; background: rgba(0, 0, 0, 0.35); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.banner-prev { left: 16px; }
.banner-next { right: 16px; }
.banner-dots { position: absolute; left: 50%; bottom: 18px; z-index: 2; transform: translateX(-50%); display: flex; gap: 8px; }
.banner-dot { width: 10px; height: 10px; padding: 0; border: none; border-radius: 50%; background: rgba(255, 255, 255, 0.55); cursor: pointer; }
.banner-dot.active { background: #fff; }
.features { padding: 2.25rem 0; background: #fff; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-card { padding: 0.375rem 0.45rem 0.675rem; display: flex; flex-direction: column; align-items: center; text-align: center; border-right: 1px solid #f0f0f0; }
.feature-card:last-child { border-right: none; }
.feature-card img { display: block; width: auto; height: 72px; max-width: 100%; margin: 0 auto 0.15rem; object-fit: contain; }
.feature-card h3 { font-size: 12px; line-height: 27px; font-weight: 400; margin: 0; }
.feature-card p { margin: 0; color: #999; font-size: 11px; line-height: 24px; max-width: 7.5rem; }
.eyebrow { margin: 0 0 0.35rem; color: var(--accent); font-size: 16px; line-height: 30px; }
.btn-pill { border-radius: 20px; padding: 0.75rem 2rem; letter-spacing: 0.05em; font-size: 13px; }
.about { padding: 4.5rem 0 5rem; background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-copy h2 { font-size: 24px; margin: 0 0 1rem; }
.about-text { color: #999; font-size: 14px; line-height: 2; margin: 0 0 1.75rem; }
.about-media { display: flex; justify-content: center; align-items: center; }
.about-media img { width: auto; max-width: 240px; height: auto; max-height: 240px; display: block; border-radius: 4px; object-fit: contain; }
.legal { background: center/cover no-repeat; }
.legal-overlay { background: rgba(255, 255, 255, 0.92); padding-block: 4.5rem; }
.legal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.legal-copy h2 { font-size: 24px; margin: 0 0 0.75rem; }
.legal-copy .desc { margin: 0; color: #999; font-size: 14px; line-height: 30px; }
.legal-copy .thumb { margin-top: 1.5rem; width: 100%; max-width: 280px; height: auto; display: block; object-fit: contain; }
.legal-news-list { list-style: none; padding: 0; margin: 0; }
.legal-news-list .news-list-item { border-bottom: 1px solid #eee; }
.legal-news-list .news-list-item:last-child { border-bottom: none; }
.legal-news-list .news-list-link { display: block; padding: 18px 0; color: inherit; text-decoration: none; }
.contact-strip { background: #191919; padding: 2rem 0; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; text-align: center; }
.contact-grid p { margin: 0; color: #666; font-size: 14px; line-height: 1.8; }
.cases-home { padding: 4.5rem 0; background: #fff; }
.cases-desc { max-width: 720px; font-size: 13px; line-height: 1.7; margin: -0.5rem 0 1.5rem; color: var(--muted); }
.news-list { list-style: none; padding: 0; margin: 0; }
.news-list-wrap { margin-top: 0.5rem; }
.news-list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.news-list-title { font-size: 16px; font-weight: 400; line-height: 30px; color: #333; }
.case-thumb-link:hover .news-list-title { color: var(--accent); }
.news-list-date { flex-shrink: 0; font-size: 14px; line-height: 30px; color: #999; }
.news-list-summary { margin: 0; font-size: 14px; line-height: 22px; color: #999; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-list-style1 .news-list-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 32px; row-gap: 44px; }
.news-list-style1 .news-list-item { border-bottom: none; }
.news-list-style1 .news-list-link { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0; height: 100%; color: inherit; text-decoration: none; }
.news-list-style1 .news-list-media { flex-shrink: 0; width: 100%; aspect-ratio: 554 / 344; overflow: hidden; background: #f5f5f5; border-radius: 4px; }
.news-list-style1 .news-list-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.news-list-style1 .news-list-body { flex: 1; min-width: 0; padding-top: 12px; }
.news-list-style1 .news-list-head { flex-direction: column; align-items: flex-start; gap: 4px; margin-bottom: 8px; }
.news-list-style1 .news-list-title { font-size: 14px; line-height: 22px; }
.news-list-style1 .news-list-date { font-size: 12px; line-height: 18px; }
.news-list-style1 .news-list-summary { font-size: 12px; line-height: 20px; }
.case-meta-inline { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.5rem; }
.btn-outline-header { border: 1px solid var(--border); color: var(--text); text-decoration: none; border-radius: 4px; display: inline-block; margin-right: 0.35rem; }
.btn-outline-header:hover { border-color: var(--accent); color: var(--accent); }
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.service-grid-compact { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.service-card { display: block; border: 1px solid var(--border); border-radius: 10px; padding: 1.25rem; text-decoration: none; color: inherit; transition: box-shadow 0.15s, border-color 0.15s; }
.service-card:hover { border-color: var(--accent); box-shadow: 0 4px 16px rgba(30,80,174,0.08); }
.service-card h3 { margin: 0 0 0.5rem; font-size: 17px; color: var(--accent); }
.service-card p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.6; }
.service-link { display: inline-block; margin-top: 0.75rem; font-size: 13px; color: var(--accent); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.mobile-action-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 20; background: #fff; border-top: 1px solid var(--border); grid-template-columns: repeat(4, 1fr); padding: 0.35rem 0 calc(0.35rem + env(safe-area-inset-bottom)); box-shadow: 0 -4px 16px rgba(15,23,42,0.06); }
.mobile-action-item { display: flex; align-items: center; justify-content: center; padding: 0.65rem 0.25rem; text-decoration: none; color: var(--text); font-size: 12px; }
.mobile-action-primary { color: var(--accent); font-weight: 600; }
body { padding-bottom: 0; }
@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid, .legal-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .legal-copy .thumb { margin-left: auto; margin-right: auto; }
  .news-list-style1 .news-list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  body { padding-bottom: 56px; }
  .mobile-action-bar { display: grid; }
  .header-actions .btn-outline-header { display: none; }
  .header-actions { display: none; }
  .nav-toggle { display: flex; }
  .header-inner { gap: 0.75rem; }
  .brand-name { font-size: 16px; }
  .brand-tagline { max-width: 140px; font-size: 10px; }
  .brand-icon { width: 36px; height: 36px; }
  .site-header { z-index: 16; }
  .header-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    position: fixed;
    top: 64px;
    right: 0;
    bottom: 0;
    width: min(320px, 88vw);
    margin: 0;
    padding: 0.75rem 0;
    gap: 0;
    background: #fff;
    border-left: 1px solid var(--border);
    box-shadow: -8px 0 24px rgba(15, 23, 42, 0.08);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 15;
    -webkit-overflow-scrolling: touch;
  }
  body.nav-open .header-nav { transform: translateX(0); }
  .header-nav .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.85rem 1.25rem;
    font-size: 15px;
    white-space: normal;
    border-bottom: 1px solid var(--border);
  }
  .nav-dropdown { display: block; width: 100%; }
  .nav-dropdown-trigger::after {
    content: "";
    width: 8px;
    height: 8px;
    margin-left: 0.5rem;
    border-right: 2px solid var(--muted);
    border-bottom: 2px solid var(--muted);
    transform: rotate(45deg);
    transition: transform 0.2s;
    flex-shrink: 0;
  }
  .nav-dropdown.open .nav-dropdown-trigger::after { transform: rotate(-135deg); }
  .nav-dropdown-menu {
    display: none;
    position: static;
    min-width: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: var(--bg);
  }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu { display: none; }
  .nav-dropdown.open .nav-dropdown-menu,
  .nav-dropdown.open:focus-within .nav-dropdown-menu { display: block; }
  .nav-dropdown-item {
    padding: 0.75rem 1.25rem 0.75rem 2rem;
    white-space: normal;
    border-bottom: 1px solid var(--border);
  }
  .nav-dropdown-item:last-child { border-bottom: none; }
}
.consult-form select { padding: 0.5rem 0.65rem; border: 1px solid var(--border); border-radius: 4px; font: inherit; }
.prose p { line-height: 1.8; color: var(--muted); }
@media (max-width: 768px) {
  .grid-3, .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { min-height: auto; padding: 1rem 1.25rem; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(0, 0, 0, 0.06); }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(0, 0, 0, 0.06); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }
  .stat-value { font-size: 24px; }
  .advantage-grid-simple { grid-template-columns: 1fr; }
  .page-banner { height: 240px; }
  .page-banner.compact { height: 110px; }
  .banner-arrow { width: 32px; height: 32px; font-size: 22px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-card { border-right: none; border-bottom: 1px solid #f0f0f0; }
  .feature-card:nth-child(odd) { border-right: 1px solid #f0f0f0; }
  .hero { min-height: 280px; padding: 2rem 0; }
  .hero-motto, .hero .motto { font-size: 13px; }
  .hero-actions { gap: 0.65rem; }
  .hero-actions .btn-outline { padding: 0.55rem 1rem; font-size: 14px; }
  .about { padding: 2.5rem 0; }
  .about-grid { gap: 1.5rem; }
  .about-media img { max-width: 180px; max-height: 180px; }
  .legal-overlay { padding-block: 2.5rem; }
  .legal-grid { gap: 1.5rem; }
  .cases-home { padding: 2.5rem 0; }
  .section { padding: 2rem 0; }
  .section.portal-section:has(> .filter-bar:first-child) { padding-top: 3rem; }
  .page-title-bar { padding: 1.5rem 0 0.75rem; }
  .page-title-bar h1 { font-size: 22px; }
  .case-detail h1 { font-size: 20px; }
  .site-footer { margin-top: 2rem; }
  .container, .tpl-container { padding: 0 1rem; }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card:nth-child(odd) { border-right: none; }
  .news-list-style1 .news-list-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr; }
  .stat-item:nth-child(odd) { border-right: none; }
  .stat-item:not(:last-child) { border-bottom: 1px solid rgba(0, 0, 0, 0.06); }
  .stat-item:nth-last-child(-n+2) { border-bottom: 1px solid rgba(0, 0, 0, 0.06); }
  .stat-item:last-child { border-bottom: none; }
  .brand-tagline { display: none; }
  .about-media img { max-width: 140px; max-height: 140px; }
  .pricing-cert-head { flex-direction: column; align-items: flex-start; }
  .pricing-fee { margin-left: 0; }
}
