/* ==========================================================================
   例繁科技 - 企业官网样式表
   结构：变量 / 基础 / 顶栏 / 头部导航 / 主视觉 / 通用组件 / 首页区块 / 内页 / 页脚 / 响应式
   ========================================================================== */

/* ---------- 1. 变量 ---------- */
:root {
  --brand: #c7000b;
  --brand-dark: #9e0009;
  --brand-light: #e0000f;
  --ink: #111111;
  --text: #333333;
  --muted: #6b7280;
  --line: #e6e8eb;
  --bg: #ffffff;
  --bg-soft: #f5f6f8;
  --bg-dark: #0d1117;
  --radius: 4px;
  --max: 1280px;
  --header-h: 72px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .06);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, .12);
  --shadow-lg: 0 18px 48px rgba(0, 0, 0, .18);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. 基础 ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--brand); }

img { max-width: 100%; display: block; border: 0; }

h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 600; line-height: 1.3; }
p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .25s var(--ease);
  white-space: nowrap;
}

.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: rgba(255, 255, 255, .85); color: var(--ink); }

.btn-line-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-line-light:hover { background: #fff; color: var(--ink); }

.link-more { color: var(--brand); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.link-more::after { content: "→"; transition: transform .25s var(--ease); }
.link-more:hover::after { transform: translateX(4px); }

/* ---------- 3. 顶部工具条 ---------- */
.topbar {
  background: #000;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  height: 36px;
}
.topbar .container { display: flex; align-items: center; justify-content: flex-end; height: 100%; gap: 22px; }
.topbar a { color: rgba(255, 255, 255, .72); }
.topbar a:hover { color: #fff; }
.topbar .divider { width: 1px; height: 12px; background: rgba(255, 255, 255, .25); }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; }
.lang-switch b { color: #fff; font-weight: 500; }

/* ---------- 4. 头部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.nav-inner { display: flex; align-items: center; height: var(--header-h); gap: 28px; }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo svg { display: block; }
.logo-mark { display: block; height: 46px; width: auto; }
.logo-text { font-size: 21px; font-weight: 700; color: var(--ink); letter-spacing: .5px; }
.logo-text span { color: var(--brand); }

.main-nav { display: flex; align-items: stretch; height: 100%; margin-left: 8px; }
.main-nav > li { position: relative; display: flex; align-items: center; }
.main-nav > li > a {
  display: flex;
  align-items: center;
  height: var(--header-h);
  padding: 0 18px;
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
  position: relative;
}
.main-nav > li > a::after {
  content: "";
  position: absolute;
  left: 18px; right: 18px; bottom: 0;
  height: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transition: transform .25s var(--ease);
}
.main-nav > li:hover > a::after,
.main-nav > li.active > a::after { transform: scaleX(1); }
.main-nav > li:hover > a { color: var(--brand); }

.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.icon-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 0; background: transparent; cursor: pointer; border-radius: 50%;
  color: var(--ink); transition: background .25s var(--ease);
}
.icon-btn:hover { background: var(--bg-soft); color: var(--brand); }

/* 下拉大菜单 */
.mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 560px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--brand);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 34px;
  opacity: 0;
  visibility: hidden;
  transition: all .25s var(--ease);
}
.main-nav > li:hover .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega.narrow { min-width: 300px; grid-template-columns: 1fr; }
.mega a { display: block; padding: 7px 0; font-size: 14px; color: var(--text); }
.mega a:hover { color: var(--brand); padding-left: 6px; }
.mega .mega-title { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; grid-column: 1 / -1; }

/* 移动端汉堡 */
.nav-toggle { display: none; }

/* ---------- 5. 主视觉轮播 ---------- */
.hero { position: relative; height: 620px; overflow: hidden; background: #000; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .9s var(--ease);
  background-size: cover;
  background-position: center;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 12, .9) 0%, rgba(2, 6, 12, .8) 40%, rgba(2, 6, 12, .46) 72%, rgba(2, 6, 12, .22) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 620px;
  color: #fff;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255, 255, 255, .8); margin-bottom: 18px;
}
.hero-eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--brand); }
.hero-title { font-size: 48px; color: #fff; line-height: 1.2; margin-bottom: 20px; font-weight: 700; text-shadow: 0 2px 16px rgba(0, 0, 0, .62); }
.hero-desc { font-size: 17px; color: rgba(255, 255, 255, .92); margin-bottom: 34px; line-height: 1.8; text-shadow: 0 1px 12px rgba(0, 0, 0, .75); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-slide .hero-content > * { opacity: 0; transform: translateY(24px); }
.hero-slide.is-active .hero-content > * { animation: heroIn .8s var(--ease) forwards; }
.hero-slide.is-active .hero-content > *:nth-child(1) { animation-delay: .15s; }
.hero-slide.is-active .hero-content > *:nth-child(2) { animation-delay: .3s; }
.hero-slide.is-active .hero-content > *:nth-child(3) { animation-delay: .45s; }
.hero-slide.is-active .hero-content > *:nth-child(4) { animation-delay: .6s; }
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }

.hero-nav {
  position: absolute; bottom: 34px; left: 0; right: 0; z-index: 3;
}
.hero-nav .container { display: flex; align-items: center; gap: 18px; }
.hero-dots { display: flex; gap: 10px; }
.hero-dots button {
  width: 34px; height: 3px; border: 0; padding: 0; cursor: pointer;
  background: rgba(255, 255, 255, .35); transition: background .3s var(--ease), width .3s var(--ease);
}
.hero-dots button.is-active { background: #fff; width: 54px; }
.hero-arrows { margin-left: auto; display: flex; gap: 10px; }
.hero-arrows button {
  width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .45);
  background: rgba(0, 0, 0, .2); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s var(--ease);
}
.hero-arrows button:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- 6. 通用区块 ---------- */
.section { padding: 88px 0; }
.section.soft { background: var(--bg-soft); }
.section.tight { padding: 64px 0; }

.section-head { margin-bottom: 46px; max-width: 760px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.row { display: flex; align-items: flex-end; justify-content: space-between; max-width: none; gap: 24px; }
.section-eyebrow { color: var(--brand); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; margin-bottom: 12px; }
.section-title { font-size: 34px; margin-bottom: 14px; }
.section-sub { color: var(--muted); font-size: 16px; }

/* 卡片网格 */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* 现场照片墙 */
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.photo-grid figure {
  position: relative; margin: 0; overflow: hidden; border-radius: var(--radius);
  background: var(--bg-soft); line-height: 0;
}
.photo-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .7s var(--ease); }
.photo-grid figure:hover img { transform: scale(1.06); }
.photo-grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px;
  font-size: 13px; line-height: 1.4; color: #fff;
  background: linear-gradient(to top, rgba(8, 10, 14, .78), rgba(8, 10, 14, 0));
}
.photo-note { margin-top: 20px; font-size: 13px; color: var(--muted); text-align: center; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-tag {
  align-self: flex-start;
  font-size: 12px; color: var(--brand); background: rgba(199, 0, 11, .08);
  padding: 3px 10px; border-radius: 2px; letter-spacing: .5px;
}
.card-title { font-size: 19px; line-height: 1.4; }
.card-desc { color: var(--muted); font-size: 14px; flex: 1; }
.card-desc strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; }
.card-foot { font-size: 13px; color: var(--muted); display: flex; align-items: center; justify-content: space-between; }

/* 统计数字 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-num { font-size: 44px; font-weight: 700; color: var(--ink); line-height: 1; }
.stat-num span { color: var(--brand); font-size: 26px; }
.stat-label { color: var(--muted); margin-top: 10px; font-size: 15px; }

/* 横向滚动轨道（案例） */
.rail-wrap { position: relative; }
.rail {
  display: flex; gap: 26px; overflow-x: auto; scroll-behavior: smooth;
  padding: 6px 2px 22px; scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { flex: 0 0 360px; }
.rail-ctrl { display: flex; gap: 10px; }
.rail-ctrl button {
  width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: var(--ink);
  transition: all .25s var(--ease);
}
.rail-ctrl button:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* 深色横幅 */
.band {
  position: relative;
  color: #fff;
  background: #0d1117 center/cover no-repeat;
  padding: 90px 0;
  overflow: hidden;
}
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 10, 18, .92), rgba(6, 10, 18, .55)); }
.band .container { position: relative; z-index: 2; }
.band-title { font-size: 40px; color: #fff; margin-bottom: 16px; }
.band-desc { color: rgba(255, 255, 255, .78); font-size: 17px; max-width: 620px; margin-bottom: 30px; }

/* 选项卡 */
.tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--line); margin-bottom: 34px; }
.tabs button {
  border: 0; background: transparent; cursor: pointer; padding: 14px 4px; margin-right: 26px;
  font-size: 17px; color: var(--muted); font-weight: 500; position: relative;
}
.tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--brand); transform: scaleX(0); transition: transform .25s var(--ease); }
.tabs button.is-active { color: var(--ink); }
.tabs button.is-active::after { transform: scaleX(1); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* 列表型资讯 */
.news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.news-item {
  padding: 28px 30px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px;
  transition: background .3s var(--ease);
}
.news-item:nth-child(3n) { border-right: 0; }
.news-item:hover { background: var(--bg-soft); }
.news-item .tag { font-size: 12px; color: var(--brand); font-weight: 600; letter-spacing: .5px; }
.news-item h3 { font-size: 18px; line-height: 1.5; }
.news-item:hover h3 { color: var(--brand); }
.news-meta { font-size: 13px; color: var(--muted); display: flex; gap: 16px; flex-wrap: wrap; }

/* 面包屑 & 内页头 */
.page-hero {
  background: #0d1117 center/cover no-repeat;
  color: #fff; padding: 90px 0 70px; position: relative; overflow: hidden;
}
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 10, 18, .93) 0%, rgba(6, 10, 18, .78) 55%, rgba(6, 10, 18, .62) 100%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: 42px; margin-bottom: 14px; text-shadow: 0 2px 12px rgba(0, 0, 0, .4); }
.page-hero p { color: rgba(255, 255, 255, .8); max-width: 680px; font-size: 16px; }
.breadcrumb { font-size: 13px; color: rgba(255, 255, 255, .65); margin-bottom: 20px; }
.breadcrumb a { color: rgba(255, 255, 255, .65); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { margin: 0 8px; }

/* 布局：侧边 + 内容 */
.layout-split { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.side-menu { position: sticky; top: calc(var(--header-h) + 24px); border-left: 2px solid var(--line); }
.side-menu a { display: block; padding: 12px 20px; color: var(--text); font-size: 15px; }
.side-menu a:hover { color: var(--brand); }
.side-menu a.is-active { color: var(--brand); font-weight: 600; border-left: 2px solid var(--brand); margin-left: -2px; }

/* 图文左右 */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature:nth-child(even) .feature-media { order: 2; }
.feature-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.feature-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature-body h3 { font-size: 26px; margin-bottom: 16px; }
.feature-body p { color: var(--muted); margin-bottom: 20px; }
.feature-list { display: grid; gap: 12px; margin-bottom: 26px; }
.feature-list li { padding-left: 26px; position: relative; color: var(--text); }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; background: var(--brand); }

/* 时间轴 */
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding-bottom: 34px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -32px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); }
.timeline .year { font-size: 20px; font-weight: 700; color: var(--ink); }
.timeline p { color: var(--muted); margin-top: 6px; }

/* 表单 */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; color: var(--ink); font-weight: 500; }
.field input, .field select, .field textarea {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px;
  font-size: 15px; font-family: inherit; color: var(--text); background: #fff;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(199, 0, 11, .1);
}
.form-tip { font-size: 13px; color: var(--muted); }

/* 联系信息块 */
.info-card { display: flex; gap: 16px; padding: 24px; background: var(--bg-soft); border-radius: var(--radius); }
.info-card .ic { flex: 0 0 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: #fff; color: var(--brand); border-radius: 50%; }
.info-card h4 { font-size: 16px; margin-bottom: 4px; }
.info-card p { color: var(--muted); font-size: 14px; }
.info-card p a { color: var(--brand); font-weight: 600; white-space: nowrap; }
.info-card p a:hover { text-decoration: underline; }

/* ---------- 7. 页脚 ---------- */
.site-footer { background: #0b0e13; color: rgba(255, 255, 255, .62); padding: 64px 0 0; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 34px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand .logo-text { color: #fff; }
.footer-brand p { margin: 18px 0; font-size: 14px; color: rgba(255, 255, 255, .55); max-width: 300px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .7); }
.footer-social a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.footer-col li { margin-bottom: 11px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 26px 0; flex-wrap: wrap; font-size: 13px; color: rgba(255, 255, 255, .5); }
.footer-bottom a { color: rgba(255, 255, 255, .5); }
.footer-bottom a:hover { color: #fff; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-copy { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; }
.footer-copy .icp { color: rgba(255, 255, 255, .45); }
.footer-copy .icp:hover { color: #fff; text-decoration: underline; }

/* 返回顶部 */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 800;
  width: 46px; height: 46px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--brand); color: #fff; box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .3s var(--ease);
}
.to-top.is-show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand-dark); }

/* ---------- 8. 滚动进入动画 ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
  .hero-slide .hero-content > * { opacity: 1; transform: none; }
  .hero-slide::after { background: linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.72) 45%, rgba(0,0,0,.82) 100%); }
}

/* ---------- 9. 响应式 ---------- */
@media (max-width: 1080px) {
  .main-nav > li > a { padding: 0 12px; font-size: 14px; }
  .hero-title { font-size: 40px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1.4fr repeat(2, 1fr); row-gap: 40px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-inner { gap: 12px; }
  .logo-mark { height: 38px; }
  .logo-text { font-size: 18px; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 12px 20px 40px; margin: 0; overflow-y: auto;
    transform: translateX(100%); transition: transform .3s var(--ease); height: auto;
  }
  .main-nav.is-open { transform: none; }
  .main-nav > li { display: block; }
  .main-nav > li > a { height: auto; padding: 16px 4px; border-bottom: 1px solid var(--line); }
  .main-nav > li > a::after { display: none; }
  .mega {
    position: static; transform: none; opacity: 1; visibility: visible;
    min-width: 0; box-shadow: none; border-top: 0; padding: 6px 4px 16px;
    grid-template-columns: repeat(2, 1fr); display: none;
  }
  .main-nav > li.is-expanded .mega { display: grid; }
  .nav-actions .btn-primary { display: none; }

  .hero { height: auto; min-height: 520px; }
  .hero-content { max-width: 100%; padding: 90px 24px 120px; }
  .hero-title { font-size: 32px; }
  .hero-desc { font-size: 15px; line-height: 1.75; }
  .hero-desc br { display: none; }
  .hero-slide::after { background: linear-gradient(180deg, rgba(0,0,0,.68) 0%, rgba(0,0,0,.78) 45%, rgba(0,0,0,.88) 100%); }
  .section { padding: 56px 0; }
  .section-title { font-size: 26px; }
  .section-head.row { flex-direction: column; align-items: flex-start; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .photo-grid figcaption { font-size: 11.5px; padding: 16px 8px 6px; }
  .news-list { grid-template-columns: 1fr; }
  .news-item { border-right: 0; }
  .layout-split { grid-template-columns: 1fr; gap: 24px; }
  .side-menu { position: static; border-left: 0; border-top: 1px solid var(--line); display: flex; overflow-x: auto; }
  .side-menu a { white-space: nowrap; }
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature:nth-child(even) .feature-media { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .form-grid { grid-template-columns: 1fr; }
  .band-title { font-size: 28px; }
  .page-hero h1 { font-size: 30px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .rail > * { flex-basis: 280px; }
}