/* 成都云玺科技 · 官网改版 v2 — 品牌 / 杂志感 */
:root {
  --ink: #0A1424;
  --ink-2: #12233D;
  --ink-3: #1C3355;
  --paper: #EFEAE2;
  --paper-2: #FAF7F1;
  --surface: #FFFFFF;
  --accent: #1A4CFF;
  --accent-soft: #DCE6FF;
  --gold: #B8922E;
  --gold-soft: #F3EBD4;
  --muted: #5B6578;
  --line: #D5CFC3;
  --line-dark: rgba(255, 255, 255, 0.14);
  --radius: 4px;
  --radius-sm: 3px;
  --shadow: 0 18px 40px rgba(10, 20, 36, 0.10);
  --shadow-sm: 0 6px 18px rgba(10, 20, 36, 0.06);
  --container: 1120px;
  --header-h: 72px;
  --font: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;
  --serif: Georgia, "Songti SC", "Times New Roman", serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  margin: 0 0 0.55em;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

h1 { font-size: clamp(2.15rem, 5.2vw, 3.55rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.02em; }

p { margin: 0 0 1em; color: var(--ink); }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: 0.4em; }

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

/* Header — light masthead */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(250, 247, 241, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0 28%, var(--gold) 28% 42%, transparent 42% 100%);
  opacity: 0.85;
}

.site-header .inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}

.brand:hover { text-decoration: none; }

.brand img {
  height: 40px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  border-left: 1px solid var(--line);
  padding-left: 12px;
}

.brand-text strong {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-text span {
  font-family: var(--serif);
  font-size: 11px;
  font-style: italic;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-desktop a {
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 10px 12px;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.nav-desktop a:hover {
  color: var(--accent);
  text-decoration: none;
  border-bottom-color: var(--accent);
}

.nav-desktop a.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pill-external {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 999px;
}

.pill-external:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  text-decoration: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.nav-mobile {
  display: none;
  border-bottom: 1px solid var(--ink);
  background: var(--paper-2);
  padding: 8px 24px 16px;
}

.nav-mobile.is-open { display: block; }

.nav-mobile a {
  display: block;
  padding: 14px 8px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.nav-mobile a.is-active,
.nav-mobile a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* Hero — magazine cover, balanced 2-col */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 65% at 78% 45%, rgba(26, 76, 255, 0.22), transparent 58%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #fff;
  padding: 56px 0 52px;
  border-bottom: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 60% 70% at 75% 45%, #000 5%, transparent 70%);
  pointer-events: none;
  opacity: 0.45;
}

.hero .container { position: relative; z-index: 1; }

.hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: stretch;
}

.hero-copy { min-width: 0; padding-top: 8px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13.5px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.72);
  margin-bottom: 18px;
}

.hero-eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--gold);
}

.hero h1 {
  color: #fff;
  max-width: 12em;
  margin-bottom: 16px;
  font-weight: 800;
  font-size: clamp(1.85rem, 3.6vw, 2.95rem);
}

.hero-lead {
  color: rgba(255,255,255,0.78);
  font-size: 15.5px;
  max-width: 34em;
  margin-bottom: 24px;
  border-left: 2px solid var(--gold);
  padding-left: 14px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

/* Right visual + index overlay */
.hero-visual {
  margin: 0;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  /* border: 1px solid rgba(255,255,255,0.12); */
  background: var(--ink);
  min-height: 360px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.28);
}

.hero-visual > img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.hero-panel {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  /* border: 1px solid rgba(255,255,255,0.14); */
  background: rgba(10, 20, 36, 0.62);
  backdrop-filter: blur(8px);
  padding: 10px 12px 8px;
}

.hero-panel-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.42);
  margin-bottom: 4px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.hero-panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 10px;
}

.hero-panel-list li { margin: 0; }

.hero-panel-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 2px;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.15s ease, padding-left 0.15s ease;
}

.hero-panel-list li:nth-last-child(-n+2) a { border-bottom: none; }

.hero-panel-list a:hover {
  color: #fff;
  padding-left: 4px;
  text-decoration: none;
}

.hero-panel-list .idx {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--gold);
  letter-spacing: 0.06em;
  min-width: 1.4em;
}

.hero-panel-list .name {
  flex: 1;
  font-weight: 600;
  font-size: 12.5px;
  line-height: 1.3;
}

.hero-panel-list .go {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,0.35);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span {
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.8);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  background: rgba(255,255,255,0.03);
  border-radius: 999px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover { background: #0f3ad6; border-color: #0f3ad6; color: #fff; }

.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.22);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.16);
  color: #fff;
  border-color: rgba(255,255,255,0.45);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}

.btn-secondary:hover { background: var(--paper-2); border-color: var(--accent); color: var(--accent); }

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span {
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.88);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  background: rgba(255,255,255,0.04);
}

/* Page hero */
.page-hero {
  background:
    radial-gradient(ellipse 50% 80% at 90% 20%, rgba(26, 76, 255, 0.22), transparent 55%),
    linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #fff;
  padding: 48px 0 44px;
  border-bottom: none;
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 12px;
  max-width: 16em;
}

.page-hero p {
  color: rgba(255,255,255,0.72);
  max-width: 36em;
  margin: 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}

.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: 0.4; }

/* Sections — editorial bands */
.section { padding: 78px 0; }

.section-alt {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-dark {
  background: var(--ink);
  color: rgba(255,255,255,0.88);
  border-top: 1px solid var(--ink);
}

.section-dark h2,
.section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.72); }

.section-head {
  margin-bottom: 40px;
  max-width: 42em;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.section-dark .section-head { border-bottom-color: var(--line-dark); }

.eyebrow {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-dark .eyebrow { color: #E0C56A; }

.section-head h2 { margin-bottom: 10px; }
.section-head p { color: var(--muted); margin: 0; font-size: 16px; }
.section-dark .section-head p { color: rgba(255,255,255,0.62); }

/* Cards — soft editorial tiles, no heavy dark frames */
.grid {
  display: grid;
  gap: 20px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px 22px;
  box-shadow: none;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

a.card {
  color: inherit;
  text-decoration: none;
}

a.card:hover {
  transform: translateY(-2px);
  border-color: #b9c8ef;
  box-shadow: 0 10px 28px rgba(10, 20, 36, 0.07);
  text-decoration: none;
}

.card-icon {
  width: auto;
  height: auto;
  border: none;
  background: transparent;
  color: var(--accent);
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  padding: 0;
}

.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14.5px; flex: 1; }

.card-link {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

a.card:hover .card-link { color: var(--ink); }

.card-media {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--paper);
  aspect-ratio: 16 / 10;
  margin: 0 0 16px;
  border: 1px solid var(--line);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card .card-media { aspect-ratio: 4 / 3; }

/* News list — light hairlines */
.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.news-list li + li { border-top: 1px solid var(--line); }

.news-list a {
  display: flex;
  gap: 20px;
  align-items: baseline;
  justify-content: space-between;
  padding: 16px 20px;
  color: var(--ink);
  text-decoration: none;
}

.news-list a:hover {
  background: var(--paper-2);
  color: var(--ink);
}

.news-list a:hover time { color: var(--muted); }

.news-list .title { font-weight: 600; flex: 1; font-size: 16px; }

.news-list time {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  letter-spacing: 0.04em;
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-2);
  min-height: 220px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.split-media img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  object-position: center;
}

.article .split-media img,
.article img {
  max-height: 480px;
  object-fit: contain;
  object-position: center;
  background: var(--paper-2);
  border-color: var(--line);
}

.value-grid .card h3 { font-size: 1.05rem; }

/* Content pages */
.content-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 24px;
  align-items: start;
}

.side-nav {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}

.side-nav .side-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  padding: 6px 10px 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}

.side-nav a {
  display: block;
  padding: 10px 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-left: 2px solid transparent;
  border-radius: 0 6px 6px 0;
}

.side-nav a:hover,
.side-nav a.is-active {
  background: var(--surface);
  color: var(--accent);
  border-left-color: var(--accent);
  text-decoration: none;
}

.article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
}

.article h2 {
  margin-top: 1.8em;
  padding-top: 0.5em;
  border-top: 1px solid var(--line);
}

.article h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.article .lead {
  font-size: 17px;
  color: var(--ink);
}

.article img {
  margin: 16px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2em;
  display: grid;
  gap: 10px;
}

.feature-list li {
  margin: 0;
  padding: 13px 16px 13px 42px;
  background: var(--paper-2);
  border-left: 3px solid var(--accent-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14.5px;
  position: relative;
}

.feature-list li::before {
  content: "→";
  position: absolute;
  left: 16px;
  top: 12px;
  color: var(--accent);
  font-weight: 700;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.contact-block dl {
  margin: 0;
  display: grid;
  gap: 16px;
}

.contact-block dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-block dd {
  margin: 0;
  font-weight: 600;
  font-size: 15.5px;
}

/* CTA band — soft, no hard ink frame */
.cta-band {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 36px 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cta-band h2 { color: #fff; margin: 0 0 8px; }
.cta-band p { color: rgba(255,255,255,0.68); margin: 0; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 52px 0 0;
  border-top: none;
}

.site-footer::before {
  content: "";
  display: block;
  height: 3px;
  margin-bottom: 36px;
  background: linear-gradient(90deg, var(--accent), var(--gold) 40%, transparent 75%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(4, 1fr);
  gap: 28px;
  padding-bottom: 40px;
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-size: 18px;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.footer-brand p {
  color: rgba(255,255,255,0.55);
  font-size: 13.5px;
  margin: 0 0 14px;
}

.footer-col h3 {
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
  font-weight: 600;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-dark);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col a {
  color: rgba(255,255,255,0.58);
  font-size: 13.5px;
  text-decoration: none;
  display: inline-block;
  padding: 5px 0;
}

.footer-col a:hover { color: #fff; text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 18px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(255,255,255,0.42);
  letter-spacing: 0.03em;
}

.footer-bottom a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
}

.footer-bottom a:hover { color: #fff; }

.back-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--paper-2);
  color: var(--ink);
  box-shadow: none;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, background 0.15s ease;
  z-index: 90;
  font-weight: 800;
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.back-top:hover { background: var(--ink); color: var(--paper-2); }

.text-muted { color: var(--muted); }
.mt-0 { margin-top: 0; }
.mb-24 { margin-bottom: 24px; }
.mb-36 { margin-bottom: 36px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .content-layout { grid-template-columns: 1fr; }
  .side-nav { position: static; display: flex; flex-wrap: wrap; gap: 4px; }
  .side-nav .side-title { width: 100%; border-bottom: none; margin-bottom: 4px; }
  .side-nav a { flex: 0 0 auto; border-left: none; border-bottom: 2px solid transparent; border-radius: 6px; }
  .side-nav a:hover,
  .side-nav a.is-active { border-left: none; border-bottom-color: transparent; }
  .hero-layout { grid-template-columns: 1fr; gap: 24px; }
  .hero-visual { min-height: 260px; }
  .hero-visual > img { min-height: 260px; max-height: 320px; }
  .hero-panel { position: relative; left: 0; right: 0; bottom: 0; margin-top: 0; }
}

@media (max-width: 768px) {
  .nav-desktop { display: none !important; }
  .nav-actions .pill-external { display: none; }
  .menu-toggle { display: inline-flex !important; }
  .brand-text span { display: none; }
  .brand-text { border-left: none; padding-left: 0; }
  .container { width: min(100% - 32px, var(--container)); }
  .hero { padding: 48px 0 40px; }
  .section { padding: 52px 0; }
  .grid-2,
  .grid-3,
  .grid-4,
  .split,
  .contact-grid { grid-template-columns: 1fr; }
  .article { padding: 24px 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .cta-band { padding: 28px 22px; }
  .news-list a { flex-direction: column; gap: 6px; }
  .hero-panel { min-height: 0; }
  .menu-toggle { border-color: var(--line); background: var(--surface); }
}

@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
  h1 { font-size: 1.9rem; }
}
