/* ==========================================================================
   麻豆传媒官网red - 整站样式表
   政府信息风 · 深蓝灰系 · 严谨网格
   ========================================================================== */

/* ==========================================================================
   Base — 基础样式
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #333333;
  background-color: #f5f7fa;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 12px;
  font-weight: 600;
  line-height: 1.4;
  color: #1f3a5f;
}

h1 {
  font-size: 28px;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 18px;
}

p {
  margin: 0 0 12px;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: #2e6da4;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #e67e22;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

figure {
  margin: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  padding: 10px 14px;
  text-align: left;
  border: 1px solid #d9e1ec;
}

th {
  background-color: #1f3a5f;
  color: #ffffff;
  font-weight: 600;
}

td {
  background-color: #ffffff;
}

details {
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  background-color: #ffffff;
  margin-bottom: 10px;
}

summary {
  cursor: pointer;
  padding: 12px 16px;
  font-weight: 600;
  color: #1f3a5f;
  list-style: none;
  position: relative;
  padding-right: 32px;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #2e6da4;
}

details[open] summary::after {
  content: "−";
}

details p {
  padding: 0 16px 14px;
  margin: 0;
  font-size: 14px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Layout — 全站骨架
   ========================================================================== */

.site-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-header {
  background-color: #1f3a5f;
  border-bottom: 3px solid #e67e22;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.site-nav .nav-list {
  display: flex;
  gap: 4px;
}

.site-nav .nav-list li a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  color: #d9e1ec;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.site-nav .nav-list li a:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.12);
}

.site-nav .nav-list li a.is-current {
  color: #ffffff;
  background-color: #2e6da4;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 1px;
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
}

.site-main.inner-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  width: 100%;
}

/* ==========================================================================
   Layout — 内页三栏栅格
   ========================================================================== */

.layout-shell.sidebar-left {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 260px;
  gap: 24px;
  align-items: start;
}

.layout-shell.sidebar-left > .sidebar-left-aside,
.layout-shell.sidebar-left > .sidebar-left-panel,
.layout-shell.sidebar-left > aside.sidebar-left {
  grid-column: 1;
}

.layout-shell.sidebar-left > .main-content,
.layout-shell.sidebar-left > .content-main,
.layout-shell.sidebar-left > .updates-content,
.layout-shell.sidebar-left > .main-content-panel {
  grid-column: 2;
  min-width: 0;
}

.layout-shell.sidebar-left > .sidebar-right,
.layout-shell.sidebar-left > aside.sidebar-right {
  grid-column: 3;
  min-width: 0;
}

/* 通用 page-layout 三栏（standards / faq / cooperation） */
.page-layout.sidebar-left {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 260px;
  gap: 24px;
  align-items: start;
}

.page-layout.sidebar-left > .layout-aside.aside-left,
.page-layout.sidebar-left > .sidebar-left-panel,
.page-layout.sidebar-left > .layout-sidebar {
  grid-column: 1;
}

.page-layout.sidebar-left > .layout-main,
.page-layout.sidebar-left > .main-content-panel {
  grid-column: 2;
  min-width: 0;
}

.page-layout.sidebar-left > .layout-aside.aside-right,
.page-layout.sidebar-left > .sidebar-right-panel,
.page-layout.sidebar-left > .layout-aside {
  grid-column: 3;
  min-width: 0;
}

/* 首页三栏 */
.home-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: start;
}

.home-grid > .main-column {
  grid-column: 2;
  min-width: 0;
}

.home-grid > .sidebar-left {
  grid-column: 1;
  min-width: 0;
}

.home-grid > .sidebar-right {
  grid-column: 3;
  min-width: 0;
}

/* ==========================================================================
   Components — 面包屑 / 页面标题
   ========================================================================== */

.breadcrumb {
  font-size: 13px;
  color: #666666;
  margin-bottom: 16px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.breadcrumb ol li::after {
  content: "/";
  margin: 0 4px;
  color: #999999;
}

.breadcrumb ol li:last-child::after {
  content: "";
}

.breadcrumb a {
  color: #2e6da4;
}

.breadcrumb-current {
  color: #666666;
}

.breadcrumb-sep {
  margin: 0 6px;
  color: #999999;
}

.page-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid #d9e1ec;
}

.page-title {
  margin-bottom: 8px;
}

.page-description {
  font-size: 15px;
  color: #555555;
  max-width: 760px;
  margin-bottom: 0;
}

/* ==========================================================================
   Components — 按钮
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  min-height: 44px;
  text-decoration: none;
}

.btn-primary {
  background-color: #e67e22;
  color: #ffffff;
  border: 1px solid #e67e22;
}

.btn-primary:hover {
  background-color: #d06e12;
  border-color: #d06e12;
  color: #ffffff;
}

.btn-secondary {
  background-color: transparent;
  color: #1f3a5f;
  border: 1px solid #1f3a5f;
}

.btn-secondary:hover {
  background-color: #1f3a5f;
  color: #ffffff;
}

/* ==========================================================================
   Components — 侧栏通用
   ========================================================================== */

.sidebar-inner,
.aside-card,
.aside-block,
.side-block,
.side-box,
.related-card,
.sidebar-card {
  background-color: #ffffff;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 20px;
}

.sidebar-inner h2,
.aside-card h2,
.aside-block h2,
.side-block h2,
.side-box h2,
.related-card h2,
.sidebar-card h2 {
  font-size: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d9e1ec;
  margin-bottom: 14px;
}

.sidebar-nav li,
.aside-nav-list li,
.sidebar-list li,
.side-links li,
.sidebar-links li,
.category-tree li,
.archive-list li,
.related-links li {
  margin-bottom: 2px;
}

.sidebar-nav li a,
.aside-nav-list li a,
.sidebar-list li a,
.side-links li a,
.sidebar-links li a,
.category-tree li a,
.archive-list li a {
  display: block;
  padding: 8px 10px;
  font-size: 14px;
  color: #333333;
  border-left: 3px solid transparent;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.sidebar-nav li a:hover,
.aside-nav-list li a:hover,
.sidebar-list li a:hover,
.side-links li a:hover,
.sidebar-links li a:hover,
.category-tree li a:hover,
.archive-list li a:hover {
  border-left-color: #e67e22;
  background-color: #f5f7fa;
  color: #1f3a5f;
}

.sidebar-note {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #d9e1ec;
  font-size: 13px;
  color: #666666;
}

.sidebar-note p {
  margin-bottom: 6px;
}

/* ==========================================================================
   Components — 卡片（服务 / 案例）
   ========================================================================== */

.service-card {
  background-color: #ffffff;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  box-shadow: 0 4px 16px rgba(31, 58, 95, 0.12);
  transform: translateY(-3px);
}

.service-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.service-card h3 {
  padding: 14px 16px 4px;
  margin-bottom: 4px;
  font-size: 17px;
}

.service-card p {
  padding: 0 16px;
  font-size: 14px;
  color: #555555;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 8px;
}

.service-card a {
  display: inline-block;
  padding: 0 16px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #e67e22;
}

.service-card a::after {
  content: " →";
}

/* 首页服务焦点区四列 */
.service-card-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* 服务页四列 */
.service-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

/* 案例卡片（首页） */
.case-card {
  background-color: #ffffff;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.case-card:hover {
  box-shadow: 0 4px 16px rgba(31, 58, 95, 0.12);
  transform: translateY(-3px);
}

.case-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.case-card h3 {
  padding: 12px 14px 4px;
  font-size: 16px;
  margin-bottom: 4px;
}

.case-card p {
  padding: 0 14px 14px;
  font-size: 13px;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 0;
}

.case-card-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.more-cases {
  margin-top: 16px;
  text-align: right;
}

/* ==========================================================================
   Components — 流程步骤
   ========================================================================== */

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}

.process-step {
  background-color: #ffffff;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  padding: 20px 16px;
  position: relative;
}

.process-step h3 {
  font-size: 16px;
  margin-bottom: 6px;
  padding-top: 28px;
}

.process-step h3::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 14px;
  left: 16px;
  font-size: 22px;
  font-weight: 700;
  color: #2e6da4;
}

.process-step p {
  font-size: 14px;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 0;
}

/* 服务页流程步骤（含 step-num） */
.service-process-entry .process-step {
  padding: 16px;
}

.service-process-entry .step-num {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #2e6da4;
  margin-bottom: 6px;
}

.service-process-entry .process-step h3 {
  padding-top: 0;
}

.service-process-entry .process-step h3::before {
  content: none;
}

/* ==========================================================================
   Components — 更新徽标 / 状态徽章
   ========================================================================== */

.update-badge,
.status-badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 3px;
  margin-right: 8px;
  vertical-align: 1px;
}

.badge-new,
.status-add {
  background-color: #e8f5e9;
  color: #2e7d32;
}

.badge-adjust,
.status-adjust {
  background-color: #fff3e0;
  color: #e65100;
}

.badge-fix,
.status-fix {
  background-color: #e3f2fd;
  color: #1565c0;
}

/* ==========================================================================
   Components — FAQ
   ========================================================================== */

.faq-item {
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  background-color: #ffffff;
  margin-bottom: 10px;
}

.faq-item summary {
  cursor: pointer;
  padding: 12px 40px 12px 16px;
  font-weight: 600;
  color: #1f3a5f;
  list-style: none;
  position: relative;
  font-size: 15px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #2e6da4;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 16px 14px;
  margin: 0;
  font-size: 14px;
  color: #555555;
}

/* ==========================================================================
   Components — 相关链接条
   ========================================================================== */

.related-links {
  max-width: 1200px;
  margin: 24px auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.related-links-label {
  font-size: 14px;
  font-weight: 600;
  color: #1f3a5f;
}

.related-links-item {
  font-size: 14px;
  color: #2e6da4;
  padding: 6px 14px;
  background-color: #ffffff;
  border: 1px solid #d9e1ec;
  border-radius: 4px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.related-links-item:hover {
  border-color: #e67e22;
  color: #e67e22;
}

/* ==========================================================================
   Components — 页脚
   ========================================================================== */

.site-footer {
  background-color: #1f3a5f;
  color: #d9e1ec;
  margin-top: 40px;
}

.footer-columns {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 20px 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}

.footer-brand-name {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 14px;
  color: #a8b8cc;
  line-height: 1.6;
  margin-bottom: 0;
}

.footer-nav h2,
.footer-info h2 {
  font-size: 15px;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.footer-nav li,
.footer-info li {
  margin-bottom: 6px;
}

.footer-nav a,
.footer-info a {
  font-size: 14px;
  color: #a8b8cc;
}

.footer-nav a:hover,
.footer-info a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 14px 20px;
  text-align: center;
}

.footer-bottom p {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 13px;
  color: #8a9bb0;
}

/* ==========================================================================
   Pages — 首页
   ========================================================================== */

.home-main {
  background-color: #f5f7fa;
}

/* 首屏 hero */
.hero-section {
  background-color: #ffffff;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.hero-content h1 {
  font-size: 24px;
  margin-bottom: 10px;
}

.hero-slogan {
  font-size: 16px;
  font-weight: 600;
  color: #2e6da4;
  margin-bottom: 8px;
}

.hero-description {
  font-size: 14px;
  color: #555555;
  line-height: 1.7;
  margin-bottom: 16px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
}

/* 服务焦点区 */
.services-focus {
  margin-bottom: 32px;
}

.services-focus h2,
.process-preview h2,
.cases-preview h2,
.quick-services h2,
.hot-cases h2,
.latest-updates h2,
.faq-summary h2 {
  font-size: 18px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #d9e1ec;
}

/* 流程预览 */
.process-preview {
  margin-bottom: 32px;
}

.process-preview .process-steps {
  grid-template-columns: repeat(4, 1fr);
}

/* 案例预览 */
.cases-preview {
  margin-bottom: 16px;
}

/* 首页左侧栏 */
.quick-services,
.hot-cases {
  background-color: #ffffff;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  padding: 18px;
  margin-bottom: 20px;
}

.quick-service-list li {
  margin-bottom: 10px;
}

.quick-service-list li a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  background-color: #f5f7fa;
  border: 1px solid #e0e6ee;
  border-radius: 4px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.quick-service-list li a:hover {
  border-color: #2e6da4;
  background-color: #eef2f7;
}

.quick-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.quick-text {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1f3a5f;
  margin-bottom: 2px;
}

.quick-desc {
  display: block;
  font-size: 12px;
  color: #777777;
  line-height: 1.4;
}

.hot-case-list li {
  margin-bottom: 8px;
}

.hot-case-list li a {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 6px 0;
  font-size: 14px;
  color: #333333;
}

.hot-case-list li a:hover {
  color: #e67e22;
}

.hot-thumb {
  width: 40px;
  height: 30px;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
}

.hot-title {
  line-height: 1.4;
}

/* 首页右侧栏 */
.latest-updates,
.faq-summary {
  background-color: #ffffff;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  padding: 18px;
  margin-bottom: 20px;
}

.update-list li {
  padding: 8px 0;
  border-bottom: 1px dashed #e0e6ee;
  font-size: 14px;
}

.update-list li:last-child {
  border-bottom: none;
}

.update-list time {
  display: block;
  font-size: 12px;
  color: #999999;
  margin-top: 2px;
}

.schedule-tip {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #d9e1ec;
}

.schedule-tip a {
  font-size: 14px;
  font-weight: 600;
  color: #e67e22;
}

.faq-summary .faq-item {
  margin-bottom: 8px;
}

.faq-summary .faq-item summary {
  font-size: 14px;
  padding: 10px 36px 10px 12px;
}

.faq-entry {
  margin-top: 8px;
  font-size: 14px;
}

/* 合作引导横幅 */
.cooperation-banner {
  max-width: 1200px;
  margin: 32px auto 0;
  padding: 28px 24px;
  background-color: #1f3a5f;
  border-radius: 6px;
  text-align: center;
}

.cooperation-banner h2 {
  color: #ffffff;
  font-size: 20px;
  margin-bottom: 8px;
}

.cooperation-banner p {
  color: #a8b8cc;
  font-size: 15px;
  margin-bottom: 16px;
}

/* ==========================================================================
   Pages — 服务概览
   ========================================================================== */

.service-cards-section {
  margin-bottom: 32px;
}

.service-detail-block {
  background-color: #ffffff;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 20px;
  scroll-margin-top: 80px;
}

.service-detail-block h2 {
  padding-bottom: 10px;
  border-bottom: 1px solid #d9e1ec;
  margin-bottom: 14px;
}

.service-detail-content p {
  font-size: 14px;
  color: #555555;
  margin-bottom: 10px;
}

.service-comparison-section {
  margin-bottom: 32px;
}

.table-wrapper {
  overflow-x: auto;
  background-color: #ffffff;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 12px;
}

.table-wrapper table {
  min-width: 600px;
}

.service-process-entry {
  background-color: #ffffff;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 32px;
}

.service-process-entry .process-steps {
  margin: 16px 0;
}

.related-cases-entry {
  background-color: #ffffff;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 24px;
}

.case-link-list li {
  padding: 8px 0;
  border-bottom: 1px dashed #e0e6ee;
}

.case-link-list li:last-child {
  border-bottom: none;
}

.case-link-list a {
  font-size: 14px;
  font-weight: 500;
}

/* 服务页侧栏 */
.sidebar-faq {
  margin-bottom: 20px;
}

.sidebar-recommend .recommend-card {
  background-color: #f5f7fa;
  border: 1px solid #e0e6ee;
  border-radius: 4px;
  padding: 14px;
  margin-bottom: 12px;
}

.recommend-card h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.recommend-card p {
  font-size: 13px;
  color: #666666;
  margin-bottom: 8px;
}

.recommend-card a {
  font-size: 13px;
  font-weight: 600;
  color: #e67e22;
}

/* ==========================================================================
   Pages — 排期规划
   ========================================================================== */

.schedule-intro {
  background-color: #ffffff;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 24px;
}

.schedule-figure {
  margin-top: 16px;
}

.schedule-figure img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 4px;
}

.schedule-figure figcaption {
  font-size: 13px;
  color: #888888;
  padding-top: 8px;
  text-align: center;
}

.schedule-stages {
  margin-bottom: 32px;
}

.stage-block {
  background-color: #ffffff;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  padding: 20px 24px;
  margin-bottom: 16px;
  scroll-margin-top: 80px;
}

.stage-block h3 {
  font-size: 17px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e0e6ee;
  margin-bottom: 12px;
}

.stage-block p {
  font-size: 14px;
  color: #555555;
  margin-bottom: 8px;
}

.stage-block strong {
  color: #1f3a5f;
}

.period-table-section {
  background-color: #ffffff;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 24px;
}

.period-table-section .table-wrapper {
  padding: 0;
  border: none;
}

.period-table {
  min-width: 520px;
}

.schedule-cta {
  background-color: #eef2f7;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  padding: 24px;
  text-align: center;
}

.schedule-cta p {
  margin-bottom: 0;
}

.schedule-cta a {
  margin: 0 8px;
}

/* ==========================================================================
   Pages — 创作团队
   ========================================================================== */

.team-hero-image {
  margin-bottom: 24px;
}

.team-hero-image img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 6px;
}

.team-hero-image figcaption {
  font-size: 13px;
  color: #888888;
  padding-top: 8px;
  text-align: center;
}

.team-roles {
  margin-bottom: 32px;
}

.role-card {
  background-color: #ffffff;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  padding: 20px 24px;
  margin-bottom: 16px;
  scroll-margin-top: 80px;
}

.role-card h3 {
  font-size: 17px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e0e6ee;
  margin-bottom: 12px;
  position: relative;
  padding-left: 16px;
}

.role-card h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 4px;
  height: 20px;
  background-color: #e67e22;
  border-radius: 2px;
}

.role-card p {
  font-size: 14px;
  color: #555555;
  margin-bottom: 8px;
}

.collaboration-mechanism {
  background-color: #ffffff;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 24px;
}

.collaboration-mechanism p {
  font-size: 14px;
  color: #555555;
}

.collaboration-steps {
  margin-bottom: 24px;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step-item {
  background-color: #ffffff;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  padding: 20px 16px;
  text-align: center;
}

.step-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: #1f3a5f;
}

.step-item p {
  font-size: 14px;
  color: #555555;
  margin-bottom: 0;
  line-height: 1.6;
}

.team-cases-link {
  background-color: #eef2f7;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 24px;
}

.team-cases-link p {
  margin-bottom: 0;
}

.team-cases-link a {
  margin: 0 8px;
}

/* 团队页侧栏 */
.side-nav {
  background-color: #ffffff;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 20px;
}

.side-nav h2 {
  font-size: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d9e1ec;
  margin-bottom: 14px;
}

.side-nav ul li a {
  display: block;
  padding: 8px 10px;
  font-size: 14px;
  color: #333333;
  border-left: 3px solid transparent;
}

.side-nav ul li a:hover {
  border-left-color: #e67e22;
  background-color: #f5f7fa;
  color: #1f3a5f;
}

.related-card {
  background-color: #ffffff;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 16px;
}

.related-card h2 {
  font-size: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d9e1ec;
  margin-bottom: 14px;
}

.related-card ul li {
  margin-bottom: 8px;
}

.related-card ul li a {
  font-size: 14px;
  color: #2e6da4;
  font-weight: 500;
}

/* ==========================================================================
   Pages — 案例档案
   ========================================================================== */

.cases-layout .sidebar-left {
  background-color: #ffffff;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  padding: 20px;
}

.cases-layout .sidebar-left h2 {
  font-size: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d9e1ec;
  margin-bottom: 14px;
}

.category-tree li a {
  border-left: 3px solid transparent;
  padding: 8px 10px;
  display: block;
  font-size: 14px;
  color: #333333;
}

.category-tree li a:hover {
  border-left-color: #e67e22;
  background-color: #f5f7fa;
  color: #1f3a5f;
}

.case-group {
  margin-bottom: 32px;
}

.case-group h2 {
  font-size: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #d9e1ec;
  margin-bottom: 8px;
}

.group-intro {
  font-size: 14px;
  color: #666666;
  margin-bottom: 16px;
}

.case-item {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
  background-color: #ffffff;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 16px;
  align-items: start;
}

.case-media img {
  width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 4px;
}

.case-content h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.case-tag {
  display: inline-block;
  background-color: #eef2f7;
  color: #2e6da4;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 8px;
}

.case-content p {
  font-size: 14px;
  color: #555555;
  margin-bottom: 6px;
}

.case-point {
  font-size: 13px;
  color: #777777;
  border-left: 3px solid #e67e22;
  padding-left: 10px;
}

/* 无图案例 */
.case-item:has(> .case-content:only-child) {
  grid-template-columns: 1fr;
}

/* 分页 */
.pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 24px 0;
}

.page-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  background-color: #1f3a5f;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
}

.pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  background-color: #ffffff;
  border: 1px solid #d9e1ec;
  border-radius: 4px;
  font-size: 14px;
  color: #2e6da4;
}

.pagination a:hover {
  border-color: #e67e22;
  color: #e67e22;
}

.related-services {
  margin-top: 24px;
}

.service-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.service-links .related-card {
  margin-bottom: 0;
}

.related-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.related-card p {
  font-size: 14px;
  color: #555555;
  margin-bottom: 8px;
}

.related-card a {
  font-size: 14px;
  font-weight: 600;
  color: #e67e22;
}

/* 案例页右侧栏 */
.cases-layout .sidebar-right .side-block {
  background-color: #ffffff;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 16px;
}

.side-block h2 {
  font-size: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d9e1ec;
  margin-bottom: 14px;
}

.side-block ul li {
  margin-bottom: 6px;
}

.side-block ul li a {
  font-size: 14px;
  color: #2e6da4;
}

/* ==========================================================================
   Pages — 制作规范
   ========================================================================== */

.standards-section {
  background-color: #ffffff;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 20px;
  scroll-margin-top: 80px;
}

.standards-section h2 {
  font-size: 19px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d9e1ec;
  margin-bottom: 14px;
}

.standards-section > p {
  font-size: 14px;
  color: #555555;
}

.content-media-inline {
  margin: 16px 0;
}

.content-media-inline img {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  border-radius: 4px;
}

.content-media-inline figcaption {
  font-size: 13px;
  color: #888888;
  padding-top: 6px;
  text-align: center;
}

.standard-block {
  background-color: #f5f7fa;
  border: 1px solid #e0e6ee;
  border-radius: 4px;
  padding: 16px;
  margin-bottom: 12px;
}

.standard-block h3 {
  font-size: 15px;
  margin-bottom: 6px;
  color: #1f3a5f;
}

.standard-block p {
  font-size: 14px;
  color: #555555;
  margin-bottom: 0;
}

.table-wrap {
  overflow-x: auto;
  margin: 16px 0;
  border: 1px solid #d9e1ec;
  border-radius: 4px;
}

.delivery-table {
  min-width: 560px;
}

.faq-entry .faq-item {
  margin-bottom: 10px;
}

/* 规范页侧栏 */
.layout-aside.aside-left .aside-block,
.layout-aside.aside-right .aside-block {
  background-color: #ffffff;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 16px;
}

.aside-block h2 {
  font-size: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d9e1ec;
  margin-bottom: 14px;
}

.aside-right .aside-block p {
  font-size: 14px;
  color: #555555;
  background-color: #fdf3e7;
  border-left: 3px solid #e67e22;
  padding: 12px;
  border-radius: 0 4px 4px 0;
}

/* ==========================================================================
   Pages — 更新动态
   ========================================================================== */

.recent-summary {
  background-color: #ffffff;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 24px;
  border-left: 4px solid #e67e22;
}

.recent-summary h2 {
  font-size: 18px;
  margin-bottom: 8px;
}

.recent-summary p {
  font-size: 14px;
  color: #555555;
  margin-bottom: 0;
}

.update-log {
  background-color: #ffffff;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 24px;
}

.update-log > h2 {
  font-size: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid #d9e1ec;
  margin-bottom: 16px;
}

.log-group {
  margin-bottom: 20px;
}

.log-group h3 {
  font-size: 16px;
  margin-bottom: 10px;
  padding-left: 12px;
  border-left: 3px solid #2e6da4;
}

.log-list li {
  padding: 8px 0;
  border-bottom: 1px dashed #e0e6ee;
  font-size: 14px;
  color: #555555;
}

.log-list li:last-child {
  border-bottom: none;
}

.log-list time {
  display: block;
  font-size: 12px;
  color: #999999;
  margin-top: 2px;
}

.version-history {
  background-color: #ffffff;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 24px;
}

.version-history h2 {
  font-size: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid #d9e1ec;
  margin-bottom: 16px;
}

.version-list li {
  display: grid;
  grid-template-columns: 90px 110px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px dashed #e0e6ee;
}

.version-list li:last-child {
  border-bottom: none;
}

.version-tag {
  font-weight: 700;
  color: #1f3a5f;
  font-size: 14px;
}

.version-list time {
  font-size: 13px;
  color: #888888;
}

.version-list p {
  font-size: 14px;
  color: #555555;
  margin: 0;
}

.update-media {
  margin-top: 20px;
}

.update-media img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 6px;
}

.update-media figcaption {
  font-size: 13px;
  color: #888888;
  padding-top: 8px;
  text-align: center;
}

/* 更新页侧栏 */
.archive-module {
  background-color: #ffffff;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 16px;
}

.archive-module h2 {
  font-size: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d9e1ec;
  margin-bottom: 14px;
}

.related-module {
  background-color: #ffffff;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  padding: 20px;
}

.related-module h2 {
  font-size: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d9e1ec;
  margin-bottom: 14px;
}

.related-module .related-links li {
  margin-bottom: 8px;
}

.related-module .related-links a {
  font-size: 14px;
  color: #2e6da4;
  font-weight: 500;
}

/* ==========================================================================
   Pages — 常见问题
   ========================================================================== */

.faq-category {
  background-color: #ffffff;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 20px;
  scroll-margin-top: 80px;
}

.faq-category h2 {
  font-size: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid #d9e1ec;
  margin-bottom: 16px;
}

.faq-category .faq-item {
  margin-bottom: 10px;
}

.faq-cta-card {
  background-color: #1f3a5f;
  border-radius: 6px;
  padding: 28px 24px;
  text-align: center;
  margin-bottom: 24px;
}

.faq-cta-card h2 {
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 8px;
}

.faq-cta-card p {
  color: #a8b8cc;
  font-size: 14px;
  margin-bottom: 16px;
}

.faq-cta-card .btn-primary {
  background-color: #e67e22;
  border-color: #e67e22;
  color: #ffffff;
}

/* FAQ页侧栏 */
.sidebar-left-panel {
  background-color: #ffffff;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  padding: 20px;
}

.sidebar-left-panel h2 {
  font-size: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d9e1ec;
  margin-bottom: 14px;
}

.side-card {
  background-color: #f5f7fa;
  border: 1px solid #e0e6ee;
  border-radius: 4px;
  padding: 16px;
  margin-top: 16px;
}

.side-card h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

.side-card p {
  font-size: 13px;
  color: #555555;
  margin-bottom: 8px;
}

.text-link {
  font-size: 14px;
  font-weight: 600;
  color: #e67e22;
}

.sidebar-right-panel .side-box {
  background-color: #ffffff;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 16px;
}

.side-figure img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 4px;
}

.side-figure figcaption {
  font-size: 13px;
  color: #888888;
  padding-top: 6px;
  text-align: center;
}

/* ==========================================================================
   Pages — 合作指引
   ========================================================================== */

.cooperation-section {
  background-color: #ffffff;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 20px;
  scroll-margin-top: 80px;
}

.cooperation-section h2 {
  font-size: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid #d9e1ec;
  margin-bottom: 16px;
}

.step-block {
  background-color: #f5f7fa;
  border: 1px solid #e0e6ee;
  border-radius: 4px;
  padding: 16px;
  margin-bottom: 12px;
}

.step-block h3 {
  font-size: 16px;
  margin-bottom: 6px;
  color: #1f3a5f;
}

.step-block p {
  font-size: 14px;
  color: #555555;
  margin-bottom: 6px;
}

.step-note {
  font-size: 13px;
  color: #777777;
  border-left: 3px solid #e67e22;
  padding-left: 10px;
  margin-bottom: 0;
}

.checklist-wrap {
  background-color: #f5f7fa;
  border: 1px solid #e0e6ee;
  border-radius: 4px;
  padding: 16px;
}

.checklist {
  list-style: none;
}

.checklist li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 14px;
  color: #333333;
  border-bottom: 1px dashed #d9e1ec;
}

.checklist li:last-child {
  border-bottom: none;
}

.checklist li::before {
  content: "□";
  position: absolute;
  left: 4px;
  top: 8px;
  font-size: 16px;
  color: #2e6da4;
}

/* 合作页侧栏 */
.layout-sidebar .sidebar-card {
  background-color: #ffffff;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 16px;
}

.layout-sidebar .sidebar-card h2 {
  font-size: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d9e1ec;
  margin-bottom: 14px;
}

.layout-aside .sidebar-card {
  background-color: #ffffff;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 16px;
}

.layout-aside .sidebar-card h2 {
  font-size: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d9e1ec;
  margin-bottom: 14px;
}

.layout-aside .sidebar-card .faq-item {
  margin-bottom: 8px;
}

/* ==========================================================================
   Pages — 404
   ========================================================================== */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  min-height: 60vh;
}

.error-panel {
  background-color: #ffffff;
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  padding: 48px 40px;
  text-align: center;
  max-width: 560px;
  width: 100%;
}

.error-code {
  font-size: 72px;
  font-weight: 700;
  color: #1f3a5f;
  line-height: 1;
  margin-bottom: 16px;
}

.error-panel h1 {
  font-size: 22px;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: #555555;
  margin-bottom: 24px;
}

.error-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   Responsive — 1200px
   ========================================================================== */

@media (max-width: 1200px) {
  .home-grid {
    grid-template-columns: 200px minmax(0, 1fr) 260px;
    gap: 16px;
  }

  .layout-shell.sidebar-left,
  .page-layout.sidebar-left {
    grid-template-columns: 200px minmax(0, 1fr) 240px;
    gap: 16px;
  }
}

/* ==========================================================================
   Responsive — 992px
   ========================================================================== */

@media (max-width: 992px) {
  .home-grid {
    grid-template-columns: 1fr;
  }

  .home-grid > .main-column {
    grid-column: 1;
    order: 1;
  }

  .home-grid > .sidebar-left {
    grid-column: 1;
    order: 2;
  }

  .home-grid > .sidebar-right {
    grid-column: 1;
    order: 3;
  }

  .layout-shell.sidebar-left,
  .page-layout.sidebar-left {
    grid-template-columns: 1fr;
  }

  .layout-shell.sidebar-left > .sidebar-left-aside,
  .layout-shell.sidebar-left > .sidebar-left-panel,
  .layout-shell.sidebar-left > aside.sidebar-left,
  .layout-shell.sidebar-left > .main-content,
  .layout-shell.sidebar-left > .content-main,
  .layout-shell.sidebar-left > .updates-content,
  .layout-shell.sidebar-left > .main-content-panel,
  .layout-shell.sidebar-left > .sidebar-right,
  .layout-shell.sidebar-left > aside.sidebar-right,
  .page-layout.sidebar-left > .layout-aside.aside-left,
  .page-layout.sidebar-left > .sidebar-left-panel,
  .page-layout.sidebar-left > .layout-sidebar,
  .page-layout.sidebar-left > .layout-main,
  .page-layout.sidebar-left > .main-content-panel,
  .page-layout.sidebar-left > .layout-aside.aside-right,
  .page-layout.sidebar-left > .sidebar-right-panel,
  .page-layout.sidebar-left > .layout-aside {
    grid-column: 1;
  }

  .layout-shell.sidebar-left > .main-content,
  .layout-shell.sidebar-left > .content-main,
  .layout-shell.sidebar-left > .updates-content,
  .layout-shell.sidebar-left > .main-content-panel,
  .page-layout.sidebar-left > .layout-main,
  .page-layout.sidebar-left > .main-content-panel {
    order: 1;
  }

  .layout-shell.sidebar-left > .sidebar-left-aside,
  .layout-shell.sidebar-left > .sidebar-left-panel,
  .layout-shell.sidebar-left > aside.sidebar-left,
  .page-layout.sidebar-left > .layout-aside.aside-left,
  .page-layout.sidebar-left > .sidebar-left-panel,
  .page-layout.sidebar-left > .layout-sidebar {
    order: 2;
  }

  .layout-shell.sidebar-left > .sidebar-right,
  .layout-shell.sidebar-left > aside.sidebar-right,
  .page-layout.sidebar-left > .layout-aside.aside-right,
  .page-layout.sidebar-left > .sidebar-right-panel,
  .page-layout.sidebar-left > .layout-aside {
    order: 3;
  }

  .footer-columns {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .hero-section {
    grid-template-columns: 1fr;
  }

  .case-item {
    grid-template-columns: 140px minmax(0, 1fr);
  }

  .case-media img {
    width: 140px;
    height: 100px;
  }

  .service-links {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Responsive — 768px
   ========================================================================== */

@media (max-width: 768px) {
  .header-inner {
    min-height: 56px;
    padding: 0 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background-color: #1f3a5f;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .site-nav .nav-list {
    display: none;
    flex-direction: column;
    padding: 12px 16px;
    gap: 0;
  }

  .site-nav .nav-list.is-open {
    display: flex;
  }

  .site-nav .nav-list li a {
    padding: 12px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
  }

  .site-nav .nav-list li:last-child a {
    border-bottom: none;
  }

  .site-main.inner-main {
    padding: 16px;
  }

  .service-card-list,
  .service-card-grid {
    grid-template-columns: 1fr;
  }

  .case-card-list {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .process-preview .process-steps {
    grid-template-columns: 1fr;
  }

  .step-list {
    grid-template-columns: 1fr;
  }

  .case-item {
    grid-template-columns: 1fr;
  }

  .case-media img {
    width: 100%;
    height: 160px;
  }

  .case-item:has(> .case-media) {
    grid-template-columns: 1fr;
  }

  .version-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-brand {
    grid-column: 1;
  }

  .cooperation-banner {
    margin: 24px 16px 0;
    padding: 24px 16px;
  }

  .related-links {
    padding: 0 16px;
  }

  .service-links {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .error-panel {
    padding: 32px 20px;
  }

  .error-code {
    font-size: 56px;
  }
}

/* ==========================================================================
   Responsive — 480px
   ========================================================================== */

@media (max-width: 480px) {
  .brand-name {
    font-size: 17px;
  }

  .home-grid {
    padding: 16px;
  }

  .hero-section {
    padding: 16px;
  }

  .hero-content h1 {
    font-size: 20px;
  }

  .hero-media img {
    height: 180px;
  }

  .service-card img {
    height: 140px;
  }

  .case-card img {
    height: 120px;
  }

  .page-header {
    margin-bottom: 20px;
    padding-bottom: 14px;
  }

  .page-title {
    font-size: 22px;
  }

  .page-description {
    font-size: 14px;
  }

  .service-detail-block,
  .stage-block,
  .role-card,
  .standards-section,
  .faq-category,
  .cooperation-section {
    padding: 16px;
  }

  .schedule-cta a {
    display: block;
    margin: 8px 0;
  }

  .team-cases-link a {
    display: block;
    margin: 8px 0;
  }

  .table-wrapper {
    padding: 8px;
  }

  .table-wrapper table,
  .period-table,
  .delivery-table {
    min-width: 480px;
  }

  .footer-columns {
    padding: 24px 16px 16px;
  }

  .footer-bottom {
    padding: 12px 16px;
  }

  .related-links {
    gap: 8px;
  }

  .related-links-item {
    font-size: 13px;
    padding: 6px 10px;
  }

  .error-actions {
    flex-direction: column;
  }

  .error-actions .btn {
    width: 100%;
  }
}
