/* 清恋传媒 · 官网样式（桌面端 / 移动端共用，单文件减少请求） */

:root {
  --ink: #17131f;
  --ink-2: #211c2e;
  --ink-3: #2d2539;
  --brand: #d6336c;
  --brand-2: #a92251;
  --gold: #d8a44a;
  --paper: #faf8fb;
  --paper-2: #f3eff6;
  --line: #e8e3ee;
  --text: #241f2e;
  --muted: #79717f;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 24px 50px -28px rgba(33, 28, 46, .5);
  --shell: 1200px;
  --head-h: 68px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 600; }
p { margin: 0; }
::selection { background: rgba(214, 51, 108, .16); }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 24px; }
.serif { font-family: "Songti SC", "STSong", "Noto Serif SC", Georgia, serif; }

/* 焦点可见性 */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------------- 顶部导航 ---------------- */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250, 248, 251, .86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(232, 227, 238, .9);
  transition: box-shadow .2s;
}
.site-head.is-scrolled { box-shadow: 0 10px 30px -22px rgba(33, 28, 46, .6); }
.head-inner {
  height: var(--head-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, var(--brand), var(--gold));
  color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 1px;
  display: grid; place-items: center;
}
.brand-txt { display: flex; flex-direction: column; line-height: 1.2; }
.brand-txt strong { font-size: 15px; letter-spacing: 2px; }
.brand-txt small { font-size: 10px; color: var(--muted); letter-spacing: 2.4px; }

.nav { display: flex; align-items: center; gap: 26px; font-size: 14px; }
.nav > a { color: #4a4354; padding: 6px 0; position: relative; transition: color .18s; }
.nav > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform .22s;
}
.nav > a:hover, .nav > a.is-active { color: var(--ink); }
.nav > a:hover::after, .nav > a.is-active::after { transform: scaleX(1); }
.nav-admin {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px !important; border-radius: 30px;
  border: 1px dashed rgba(216, 164, 74, .7);
  color: #8a6a2c !important; font-size: 12.5px; letter-spacing: .5px;
  background: rgba(216, 164, 74, .08);
}
.nav-admin::after { display: none; }
.nav-admin:hover { background: rgba(216, 164, 74, .18); }
.nav-admin svg { width: 13px; height: 13px; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; position: relative;
}
.nav-toggle span {
  position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px;
  background: var(--ink); transition: .22s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 29px; }
body.nav-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 26px; border-radius: 999px;
  border: 1px solid transparent; font-size: 15px; font-weight: 500;
  transition: transform .18s, box-shadow .18s, background .18s, color .18s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(120deg, var(--brand), #e0588a);
  color: #fff; box-shadow: 0 14px 26px -14px rgba(214, 51, 108, .8);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 34px -16px rgba(214, 51, 108, .85); }
.btn-ghost { border-color: rgba(255, 255, 255, .32); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-line { border-color: var(--line); background: #fff; color: var(--text); }
.btn-line:hover { border-color: var(--brand); color: var(--brand); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------------- 首屏 ---------------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 120% at 78% 8%, #3a2b4d 0%, #211c2e 45%, #15111d 100%);
  color: #fff;
  padding: clamp(56px, 9vw, 108px) 0 clamp(64px, 9vw, 112px);
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.hero::before {
  width: 520px; height: 520px; right: -160px; top: -180px;
  background: radial-gradient(circle, rgba(214, 51, 108, .55), transparent 62%);
  filter: blur(10px);
}
.hero::after {
  width: 420px; height: 420px; left: -140px; bottom: -220px;
  background: radial-gradient(circle, rgba(216, 164, 74, .28), transparent 65%);
}
.hero-inner { position: relative; z-index: 1; max-width: 720px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11.5px; letter-spacing: 3.4px; color: rgba(255, 255, 255, .62);
  text-transform: uppercase; margin-bottom: 22px;
}
.hero-eyebrow::before {
  content: ""; width: 34px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.hero h1 {
  font-family: "Songti SC", "STSong", "Noto Serif SC", Georgia, serif;
  font-size: clamp(40px, 6.4vw, 74px); font-weight: 600; letter-spacing: 4px;
  line-height: 1.1;
}
.hero h1 em {
  font-style: normal; display: block; font-size: clamp(15px, 1.6vw, 19px);
  letter-spacing: 6px; color: var(--gold); margin-top: 14px; font-family: inherit;
}
.hero-lead {
  margin-top: 22px; font-size: clamp(15px, 1.5vw, 17px);
  color: rgba(255, 255, 255, .74); max-width: 540px;
}
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.hero-tags span {
  padding: 6px 14px; border-radius: 999px; font-size: 13px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .82);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-stats {
  position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 14px 48px;
  margin-top: 52px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .12);
}
.hero-stat b {
  font-family: "Songti SC", Georgia, serif;
  font-size: 30px; font-weight: 600; display: block; letter-spacing: 1px;
}
.hero-stat span { font-size: 12.5px; color: rgba(255, 255, 255, .55); letter-spacing: 1.4px; }

/* ---------------- 通用区块 ---------------- */
.sec { padding: clamp(52px, 7vw, 92px) 0; }
.sec-alt { background: linear-gradient(180deg, #fff, var(--paper)); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(26px, 4vw, 42px); }
.sec-eyebrow { font-size: 11.5px; letter-spacing: 3px; color: var(--brand); font-weight: 600; text-transform: uppercase; }
.sec-title {
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: clamp(26px, 3.4vw, 38px); letter-spacing: 2px; margin-top: 10px;
}
.sec-desc { color: var(--muted); font-size: 14.5px; margin-top: 10px; max-width: 560px; }
.sec-more { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-size: 14px; flex: none; }
.sec-more:hover { gap: 10px; }
.sec-more::after { content: "→"; transition: transform .18s; }

/* ---------------- 服务卡片 ---------------- */
.grid-svc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; transition: transform .22s, box-shadow .22s, border-color .22s;
  position: relative; overflow: hidden;
}
.svc::after {
  content: ""; position: absolute; inset: auto auto -40% -10%;
  width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 51, 108, .1), transparent 70%);
  opacity: 0; transition: opacity .22s;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(214, 51, 108, .28); }
.svc:hover::after { opacity: 1; }
.svc-no { font-size: 12px; letter-spacing: 2px; color: var(--gold); font-weight: 600; }
.svc-name { margin-top: 14px; font-size: 19px; letter-spacing: 1px; }
.svc-desc { margin-top: 8px; font-size: 13.5px; color: var(--muted); line-height: 1.75; }

/* ---------------- 活动卡片 ---------------- */
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.event-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .22s, box-shadow .22s;
}
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.event-cover {
  position: relative; aspect-ratio: 16 / 10; background: var(--paper-2); overflow: hidden;
}
.event-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; opacity: 0; }
.event-cover img.is-loaded { opacity: 1; }
.event-card:hover .event-cover img { transform: scale(1.05); }
.event-cover .ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: "Songti SC", Georgia, serif; font-size: 26px; letter-spacing: 4px;
  color: #b9aec6; background: linear-gradient(135deg, #f6f1f8, #efe8f3);
}
.event-chip {
  position: absolute; left: 14px; top: 14px; z-index: 1;
  padding: 4px 12px; border-radius: 999px; font-size: 12px;
  background: rgba(23, 19, 31, .72); color: #fff; backdrop-filter: blur(6px);
  letter-spacing: .6px;
}
.event-chip.past { background: rgba(216, 164, 74, .92); color: #3a2a08; }
.event-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.event-date {
  font-size: 12.5px; color: var(--brand); letter-spacing: .6px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.event-title { font-size: 17.5px; letter-spacing: .5px; line-height: 1.45; }
.event-sum {
  font-size: 13.5px; color: var(--muted); line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.event-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--muted); }
.event-foot .go { color: var(--brand); }

/* ---------------- 照片墙 ---------------- */
.gallery { columns: 3; column-gap: 16px; }
.gallery figure {
  margin: 0 0 16px; break-inside: avoid; position: relative; border-radius: var(--radius-sm);
  overflow: hidden; background: var(--paper-2); cursor: zoom-in;
}
.gallery img { width: 100%; height: auto; opacity: 0; transition: opacity .4s, transform .4s; }
.gallery img.is-loaded { opacity: 1; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 26px 14px 12px; font-size: 12.5px;
  color: #fff; background: linear-gradient(transparent, rgba(20, 17, 26, .78));
  opacity: 0; transition: opacity .22s;
}
.gallery figure:hover figcaption { opacity: 1; }

/* ---------------- 流程 ---------------- */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: flow; }
.flow-item {
  position: relative; padding: 28px 24px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
}
.flow-no {
  font-family: "Songti SC", Georgia, serif; font-size: 34px; color: rgba(214, 51, 108, .18);
  line-height: 1; letter-spacing: 2px;
}
.flow-name { margin-top: 12px; font-size: 17px; }
.flow-desc { margin-top: 6px; font-size: 13.5px; color: var(--muted); }

/* ---------------- 咨询 / 联系 ---------------- */
.contact-wrap {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px;
  background: linear-gradient(120deg, var(--ink-2), #35273f);
  border-radius: 26px; padding: clamp(28px, 4vw, 52px); color: #fff;
  position: relative; overflow: hidden;
}
.contact-wrap::after {
  content: ""; position: absolute; right: -80px; top: -90px; width: 300px; height: 300px;
  border-radius: 50%; background: radial-gradient(circle, rgba(214, 51, 108, .45), transparent 65%);
}
.contact-main { position: relative; z-index: 1; }
.contact-main h3 {
  font-family: "Songti SC", Georgia, serif; font-size: clamp(24px, 3vw, 32px); letter-spacing: 2px;
}
.contact-main p { margin-top: 14px; color: rgba(255, 255, 255, .68); font-size: 14.5px; max-width: 440px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.contact-side {
  position: relative; z-index: 1; border-left: 1px solid rgba(255, 255, 255, .12);
  padding-left: clamp(18px, 3vw, 34px); display: flex; flex-direction: column; gap: 16px;
}
.contact-row { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.contact-row b { display: block; font-size: 12px; letter-spacing: 1.6px; color: rgba(255, 255, 255, .45); font-weight: 500; }
.contact-row span { color: rgba(255, 255, 255, .9); }

/* ---------------- 页脚 ---------------- */
.site-foot { background: #14101b; color: rgba(255, 255, 255, .62); padding: 54px 0 30px; font-size: 13.5px; }
.foot-top { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; padding-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.foot-brand strong { color: #fff; font-size: 17px; letter-spacing: 3px; display: block; }
.foot-brand p { margin-top: 10px; max-width: 340px; line-height: 1.8; }
.foot-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.foot-col b { display: block; color: rgba(255, 255, 255, .92); font-size: 12px; letter-spacing: 2px; margin-bottom: 12px; font-weight: 500; }
.foot-col a { display: block; padding: 4px 0; transition: color .18s; }
.foot-col a:hover { color: #fff; }
.foot-bottom {
  display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between;
  padding-top: 22px; font-size: 12.5px;
}
.admin-entry {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 15px; border-radius: 999px; font-size: 12.5px;
  border: 1px dashed rgba(216, 164, 74, .55); color: #d8b478;
  background: rgba(216, 164, 74, .06); transition: .2s;
}
.admin-entry:hover { color: #f0cd8e; border-color: rgba(216, 164, 74, .9); background: rgba(216, 164, 74, .14); }
.admin-entry svg { width: 13px; height: 13px; }
.admin-entry em { font-style: normal; opacity: .55; font-size: 11px; }

/* ---------------- 列表页 ---------------- */
.page-hero {
  background: var(--ink-2); color: #fff; padding: clamp(40px, 6vw, 72px) 0 clamp(34px, 5vw, 56px);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -120px; top: -140px; width: 380px; height: 380px;
  border-radius: 50%; background: radial-gradient(circle, rgba(214, 51, 108, .38), transparent 65%);
}
.page-hero .crumb { font-size: 12.5px; color: rgba(255, 255, 255, .45); letter-spacing: 1px; }
.page-hero h1 {
  font-family: "Songti SC", Georgia, serif; font-size: clamp(28px, 4vw, 44px);
  letter-spacing: 3px; margin-top: 14px; position: relative; z-index: 1;
}
.page-hero p { margin-top: 12px; color: rgba(255, 255, 255, .66); font-size: 14.5px; max-width: 560px; }

.filters {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  margin-bottom: 26px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 18px; border-radius: 999px; font-size: 13.5px;
  border: 1px solid var(--line); background: #fff; color: #524a5e; transition: .18s;
}
.chip:hover { border-color: rgba(214, 51, 108, .4); color: var(--brand); }
.chip.is-active { background: var(--ink-2); border-color: var(--ink-2); color: #fff; }
.search-box { position: relative; }
.search-box input {
  width: 240px; height: 42px; padding: 0 16px 0 40px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; font-size: 14px; outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.search-box input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(214, 51, 108, .1); }
.search-box svg { position: absolute; left: 14px; top: 13px; width: 16px; height: 16px; color: var(--muted); }

.load-more { display: flex; justify-content: center; margin-top: 34px; }
.list-meta { font-size: 13px; color: var(--muted); margin-bottom: 16px; }

.empty {
  text-align: center; padding: 60px 20px; border: 1px dashed var(--line);
  border-radius: var(--radius); background: #fff;
}
.empty b { display: block; font-size: 16px; color: #4a4354; margin-bottom: 8px; }
.empty span { font-size: 13.5px; color: var(--muted); }

/* ---------------- 详情页 ---------------- */
.article { max-width: 860px; margin: 0 auto; }
.article-head { padding: clamp(28px, 4vw, 44px) 0 0; }
.article h1 {
  font-family: "Songti SC", Georgia, serif; font-size: clamp(26px, 3.6vw, 40px);
  letter-spacing: 2px; margin-top: 14px;
}
.article-meta {
  display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px;
  font-size: 13.5px; color: var(--muted); padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.article-meta b { color: var(--text); font-weight: 500; }
.article-cover { margin-top: 26px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.article-cover img { width: 100%; height: auto; }
.article-lead {
  margin-top: 28px; padding: 18px 22px; border-left: 3px solid var(--brand);
  background: #fff; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: #4a4354; font-size: 15px;
}
.article-body { margin-top: 26px; font-size: 16px; line-height: 1.95; color: #322b3d; }
.article-body p { margin: 0 0 18px; }
.article-gallery { margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.article-gallery figure {
  margin: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; background: var(--paper-2);
  aspect-ratio: 4 / 3;
}
.article-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; opacity: 0; }
.article-gallery img.is-loaded { opacity: 1; }
.article-gallery figure:hover img { transform: scale(1.04); }
.article-nav {
  margin-top: 46px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: 14px;
}
.article-nav a { color: var(--muted); max-width: 46%; transition: color .18s; }
.article-nav a:hover { color: var(--brand); }
.article-nav b { display: block; color: var(--text); font-size: 15px; margin-top: 4px; font-weight: 500; }
.article-back { display: inline-flex; align-items: center; gap: 6px; margin: 30px 0 0; color: var(--brand); font-size: 14px; }

/* ---------------- 骨架屏 ---------------- */
.skel { position: relative; overflow: hidden; background: #efeaf3; border-radius: var(--radius); }
.skel::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .65), transparent);
  transform: translateX(-100%); animation: shimmer 1.3s infinite;
}
@keyframes shimmer { to { transform: translateX(100%); } }
.skel-card { height: 320px; }

/* ---------------- 灯箱 ---------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 80; display: none;
  background: rgba(12, 9, 16, .94); padding: 4vh 4vw;
  align-items: center; justify-content: center;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lightbox-close {
  position: absolute; top: 18px; right: 20px; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .08);
  color: #fff; font-size: 20px; line-height: 1;
}
.lightbox-cap {
  position: absolute; bottom: 22px; left: 0; right: 0; text-align: center;
  color: rgba(255, 255, 255, .7); font-size: 13px;
}

/* ---------------- 动效 / 响应式 ---------------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1080px) {
  .grid-svc { grid-template-columns: repeat(2, 1fr); }
  .event-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { columns: 2; }
  .flow { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  :root { --head-h: 62px; }
  .shell { padding: 0 18px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--head-h) 0 auto 0; z-index: 39;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(250, 248, 251, .98); border-bottom: 1px solid var(--line);
    padding: 10px 18px 22px; box-shadow: 0 30px 50px -30px rgba(33, 28, 46, .6);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .22s;
    max-height: calc(100vh - var(--head-h)); overflow-y: auto;
  }
  body.nav-open .nav { transform: none; opacity: 1; pointer-events: auto; }
  .nav > a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav > a::after { display: none; }
  .nav-admin { margin-top: 14px; justify-content: center; border-bottom: none !important; }
  .hero-stats { gap: 12px 30px; }
  .hero-stat b { font-size: 24px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-side { border-left: none; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 20px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .filters { flex-direction: column; align-items: stretch; }
  .search-box input { width: 100%; }
  .article-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-svc, .event-grid, .flow { grid-template-columns: 1fr; }
  .gallery { columns: 1; }
  .hero { padding-top: 44px; }
  .hero h1 { letter-spacing: 2px; }
  .hero-actions .btn { flex: 1; min-width: 140px; }
  .site-foot { padding-top: 40px; }
  .foot-cols { gap: 30px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .article-nav { flex-direction: column; }
  .article-nav a { max-width: 100%; }
  .event-cover { aspect-ratio: 16 / 9; }
}
