:root {
  --ink: #0A1628;
  --ink-2: #12233C;
  --navy: #163056;
  --jade: #14B8A6;
  --jade-2: #2DD4BF;
  --jade-deep: #0F766E;
  --gold: #D4B06A;
  --gold-2: #E8C98A;
  --paper: #F4F7F8;
  --paper-2: #E8EEF0;
  --white: #FFFFFF;
  --text: #2A3A4E;
  --muted: #6B7C90;
  --line: #DCE5EA;
  --shadow: 0 18px 50px rgba(10, 22, 40, 0.08);
  --radius: 20px;
  --nav-h: 76px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  -webkit-tap-highlight-color: rgba(20,184,166,.18);
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

header {
  position: fixed; inset: 0 0 auto; z-index: 80;
  height: var(--nav-h);
  transition: background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
header.scrolled, body.inner header {
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(255,255,255,.06);
  box-shadow: 0 8px 30px rgba(0,0,0,.18);
}
.nav {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.logo-slot {
  width: 44px; height: 44px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
}
.logo-slot:empty { display: none; }
.logo-slot img { width: 44px; height: 44px; object-fit: contain; }
.brand .name { font-size: 17px; font-weight: 650; letter-spacing: .12em; line-height: 1.2; }
.brand .name small {
  display: block; font-size: 10px; font-weight: 400;
  letter-spacing: .28em; color: #9BB0C8; margin-top: 2px;
}
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a {
  color: #C5D3E4; font-size: 14px; letter-spacing: .08em;
  padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,.06); }
.nav .cta {
  display: inline-flex; align-items: center;
  background: var(--jade); color: var(--ink);
  padding: 10px 20px; border-radius: 999px;
  font-size: 13px; font-weight: 650; letter-spacing: .08em;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.nav .cta:hover {
  background: var(--jade-2);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(20,184,166,.28);
}
.menu-btn {
  display: none; width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12); color: #fff;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.menu-btn span { display: block; width: 18px; height: 1.5px; background: #fff; transition: .25s; }
.menu-btn.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mobile-menu {
  display: none; position: fixed; inset: var(--nav-h) 0 0;
  background: rgba(10,22,40,.96); backdrop-filter: blur(16px);
  z-index: 70; padding: 28px 24px;
}
.mobile-menu.show { display: block; }
.mobile-menu a {
  display: block; color: #E8F0F8; font-size: 18px;
  padding: 16px 4px; border-bottom: 1px solid rgba(255,255,255,.06);
  letter-spacing: .12em;
}

.slider { position: relative; height: 100vh; min-height: 620px; overflow: hidden; background: #07111F; }
.slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease;
}
.slide.active { opacity: 1; z-index: 1; }
.slide::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(7,17,31,.88) 0%, rgba(10,22,40,.62) 48%, rgba(10,22,40,.38) 100%);
}
.hero-inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 20px) 0 80px; color: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; letter-spacing: .32em; color: var(--jade-2); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--jade); }
.hero-inner h1, .hero-inner .hero-title {
  font-size: clamp(32px, 4.8vw, 56px);
  line-height: 1.2; font-weight: 720; letter-spacing: .04em;
  margin-bottom: 22px; max-width: 780px;
}
.hero-inner h1 em, .hero-inner .hero-title em {
  font-style: normal;
  background: linear-gradient(90deg, var(--gold-2), var(--jade-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-inner .lead { font-size: 17px; color: #B7C7DA; max-width: 560px; margin-bottom: 36px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: .08em;
  transition: transform .2s, background .2s, box-shadow .2s, border-color .2s, color .2s;
}
.btn-primary {
  background: var(--jade); color: var(--ink);
  box-shadow: 0 12px 28px rgba(20,184,166,.25);
}
.btn-primary:hover { background: var(--jade-2); transform: translateY(-2px); }
.btn-ghost { border: 1px solid rgba(255,255,255,.28); color: #fff; }
.btn-ghost:hover { border-color: var(--jade); color: var(--jade-2); }
.btn-line { border: 1px solid var(--line); color: var(--ink); }
.btn-line:hover { border-color: var(--jade); color: var(--jade-deep); }
.trust {
  margin-top: 48px; display: flex; flex-wrap: wrap; gap: 10px 22px;
  font-size: 13px; color: #93A7BE; letter-spacing: .08em;
}
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust span::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--jade); box-shadow: 0 0 0 4px rgba(20,184,166,.18);
}
.slider-btn {
  position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2); color: #fff;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10,22,40,.35);
}
.slider-btn.prev { left: 18px; }
.slider-btn.next { right: 18px; }
.slider-btn:hover { background: var(--jade); color: var(--ink); border-color: var(--jade); }
.dots {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 28px;
  display: flex; justify-content: center; gap: 8px;
}
.dots button {
  width: 28px; height: 3px; background: rgba(255,255,255,.28); border-radius: 2px;
}
.dots button.on { background: var(--jade); }

.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); height: 200px; }
.photo-strip img { width: 100%; height: 200px; object-fit: cover; }

section { padding: 96px 0; }
.sec-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.sec-head.left { margin: 0 0 28px; text-align: left; }
.kicker { color: var(--jade-deep); font-size: 12px; letter-spacing: .32em; font-weight: 650; }
.dark .kicker { color: var(--jade-2); }
.sec-head h2 {
  font-size: clamp(28px, 3.4vw, 38px); color: var(--ink);
  letter-spacing: .06em; margin: 12px 0 14px; font-weight: 720;
}
.sec-head p { color: var(--muted); font-size: 15px; }
.paper { background: var(--paper); }

.page-hero {
  position: relative; min-height: 360px;
  padding: calc(var(--nav-h) + 72px) 0 72px;
  background-size: cover; background-position: center; color: #fff;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(7,17,31,.88), rgba(18,50,74,.72));
}
.page-hero .wrap { position: relative; }
.crumb { font-size: 13px; color: #93A7BE; letter-spacing: .12em; margin-bottom: 14px; }
.crumb a:hover { color: var(--jade-2); }
.page-hero h1 { font-size: clamp(28px, 4vw, 42px); letter-spacing: .08em; margin-bottom: 12px; }
.page-hero .sub { color: #B7C7DA; max-width: 560px; }

.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.about-photo { border-radius: var(--radius); overflow: hidden; height: 460px; box-shadow: var(--shadow); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-story h3 { font-size: 22px; color: var(--ink); margin-bottom: 16px; letter-spacing: .06em; }
.about-story p { margin-bottom: 16px; }
.culture {
  margin: 22px 0 8px; padding: 18px 20px;
  border-left: 3px solid var(--jade);
  background: linear-gradient(90deg, rgba(20,184,166,.08), transparent);
  border-radius: 0 12px 12px 0;
}
.culture b { display: block; color: var(--ink); font-size: 16px; letter-spacing: .16em; }
.culture span { font-size: 13px; color: var(--muted); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.value {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 20px;
}
.value h4 { color: var(--ink); margin-bottom: 8px; letter-spacing: .06em; }
.value p { font-size: 13px; color: var(--muted); }

.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.adv {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px 26px; transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative; overflow: hidden;
}
.adv::after {
  content: ""; position: absolute; right: -20px; top: -20px;
  width: 90px; height: 90px; border-radius: 50%;
  background: radial-gradient(circle, rgba(20,184,166,.12), transparent 70%);
}
.adv:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #B7E4DC; }
.adv .num { font-size: 12px; color: var(--gold); letter-spacing: .2em; font-weight: 700; }
.adv h3 { color: var(--ink); font-size: 18px; margin: 8px 0 10px; letter-spacing: .04em; }
.adv p { font-size: 13.5px; color: var(--muted); }
.adv-lg { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.adv-lg article {
  display: grid; grid-template-columns: 140px 1fr; gap: 22px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.adv-lg img { width: 140px; height: 140px; object-fit: cover; }
.adv-lg div { padding: 8px 8px 8px 0; }
.adv-lg h3 { margin: 6px 0 8px; color: var(--ink); }

.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.pcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: .25s; display: block;
}
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #B7E4DC; }
.pcard .cover { height: 220px; overflow: hidden; }
.pcard .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pcard:hover .cover img { transform: scale(1.06); }
.pcard .body { padding: 24px 26px 26px; }
.pcard .what {
  font-size: 12px; color: var(--jade-deep); letter-spacing: .16em;
  margin-bottom: 8px; font-weight: 650;
}
.pcard h3 { color: var(--ink); font-size: 20px; margin-bottom: 8px; }
.pcard p { font-size: 14px; color: var(--muted); }
.pcard .more { margin-top: 14px; color: var(--jade-deep); font-size: 13px; letter-spacing: .08em; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gcard {
  position: relative; height: 240px; border-radius: 18px; overflow: hidden; display: block;
}
.gcard img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gcard:hover img { transform: scale(1.08); }
.gcard .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 18px 16px;
  background: linear-gradient(transparent, rgba(7,17,31,.82)); color: #fff;
}
.gcard h3 { font-size: 16px; letter-spacing: .06em; }
.gcard p { font-size: 12px; color: #B7C7DA; }

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 22px 22px 20px; transition: .2s;
}
.svc:hover { border-color: #B7E4DC; transform: translateY(-3px); }
.svc .tag {
  display: inline-block; font-size: 11px; letter-spacing: .16em;
  color: var(--jade-deep); background: rgba(20,184,166,.1);
  padding: 3px 8px; border-radius: 999px; margin-bottom: 10px;
}
.svc h4 { color: var(--ink); font-size: 16px; margin-bottom: 6px; }
.svc p { font-size: 13px; color: var(--muted); }

.dark {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(20,184,166,.12), transparent 50%),
    linear-gradient(160deg, #07111F, #12324A);
  color: #fff;
}
.dark .sec-head h2 { color: #fff; }
.dark .sec-head p { color: #93A7BE; }
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; }
.flow::before {
  content: ""; position: absolute; top: 28px; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(20,184,166,.45), transparent);
}
.step { text-align: center; position: relative; }
.step .circle {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%;
  border: 1px solid rgba(20,184,166,.45); color: var(--jade-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; letter-spacing: .08em;
  background: rgba(10,22,40,.7); position: relative; z-index: 1;
}
.step h4 { font-size: 16px; margin-bottom: 6px; letter-spacing: .08em; }
.step p { font-size: 13px; color: #93A7BE; }
.process-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.process-split img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius); }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ncard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: .25s; display: block;
}
.ncard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ncard img { width: 100%; height: 180px; object-fit: cover; }
.ncard .body { padding: 20px 22px 22px; }
.ncard .date { font-size: 12px; color: var(--jade-deep); letter-spacing: .08em; }
.ncard h3 { color: var(--ink); font-size: 17px; margin: 8px 0; }
.ncard p { font-size: 13px; color: var(--muted); }
.article { max-width: 760px; margin: 0 auto; }
.article img.cover { width: 100%; height: 360px; object-fit: cover; border-radius: 18px; margin-bottom: 28px; }
.article h1 { color: var(--ink); font-size: 30px; margin: 8px 0 16px; }
.article .date { color: var(--muted); font-size: 13px; margin-bottom: 24px; }
.article .content { white-space: pre-wrap; color: var(--text); font-size: 16px; }

.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 40px; align-items: stretch; }
.contact-item {
  display: grid; grid-template-columns: 86px 1fr; gap: 12px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.contact-item:last-child { border-bottom: none; }
.contact-item .k { color: var(--muted); font-size: 13px; padding-top: 2px; }
.contact-item .v { color: var(--ink); font-size: 15px; }
.contact-item a { color: var(--jade-deep); }
.cta-panel, .form-panel {
  background: linear-gradient(145deg, var(--ink), #163A4A);
  color: #fff; border-radius: 24px; padding: 42px 38px;
  position: relative; overflow: hidden;
}
.cta-panel::after {
  content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%;
  right: -60px; bottom: -70px; background: radial-gradient(circle, rgba(20,184,166,.28), transparent 70%);
}
.cta-panel h3, .form-panel h3 { font-size: 26px; margin-bottom: 12px; letter-spacing: .06em; position: relative; }
.cta-panel p { color: #B7C7DA; font-size: 15px; margin-bottom: 28px; position: relative; max-width: 420px; }
.cta-panel .btn { background: var(--jade); color: var(--ink); position: relative; }
.cta-mail { margin-top: 14px; font-size: 13px; color: #93A7BE; position: relative; }
.cta-mail a { color: var(--gold-2); }
.form-row { margin-bottom: 14px; position: relative; }
.form-row label { display: block; font-size: 12px; letter-spacing: .12em; color: #93A7BE; margin-bottom: 6px; }
.form-row input, .form-row textarea {
  width: 100%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  color: #fff; border-radius: 12px; padding: 12px 14px; font-family: inherit; font-size: 14px;
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-panel .btn { background: var(--jade); color: var(--ink); margin-top: 8px; }
.flash { padding: 12px 16px; border-radius: 12px; margin-bottom: 16px; font-size: 14px; }
.flash.ok { background: rgba(20,184,166,.15); color: var(--jade-2); }
.flash.error { background: rgba(220,80,80,.15); color: #f0b4b4; }

.detail-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.detail-hero img { width: 100%; height: 380px; object-fit: cover; border-radius: var(--radius); }
.blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.block { background: var(--paper); border-radius: 16px; padding: 22px 24px; }
.block h3 { color: var(--ink); margin-bottom: 8px; font-size: 16px; }
.block p, .block li { font-size: 14px; color: var(--muted); }
.block ul { padding-left: 18px; }

footer {
  background: #07111F; color: #8495AF;
  padding: 48px 20px 28px; font-size: 13px; letter-spacing: .06em;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; text-align: left; margin-bottom: 28px; }
.foot-grid h4 { color: #fff; margin-bottom: 12px; letter-spacing: .12em; font-size: 14px; }
.foot-grid a { display: block; color: #8495AF; padding: 4px 0; }
.foot-grid a:hover { color: var(--gold-2); }
.foot-copy { text-align: center; border-top: 1px solid rgba(255,255,255,.06); padding-top: 20px; }
.top-btn { display: none !important; }

.side-rail {
  position: fixed; right: 0; top: 42%; z-index: 90;
  transform: translateY(-50%);
  width: 52px;
  background: #1aa3c4;
  box-shadow: -4px 8px 24px rgba(10,22,40,.16);
  display: flex; flex-direction: column;
}
.side-item { position: relative; }
.side-ico {
  width: 52px; height: 52px; color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  border-bottom: 1px solid rgba(255,255,255,.18);
  touch-action: manipulation;
}
.side-lab { display: none; }
.side-ico svg { width: 22px; height: 22px; }
.side-ico:hover, .side-item.open .side-ico { background: #148aa8; }
.side-pop {
  display: none; position: absolute; right: 52px; top: 0;
  min-width: 240px; background: #fff; color: var(--ink);
  border: 1px solid var(--line); box-shadow: 0 12px 32px rgba(10,22,40,.14);
  padding: 14px; text-align: left;
}
.side-item:hover .side-pop, .side-item.open .side-pop { display: block; }
.side-pop-title { font-size: 13px; color: var(--muted); margin-bottom: 10px; letter-spacing: .08em; }
.side-phone {
  display: block; padding: 10px 0; border-bottom: 1px dashed var(--line);
}
.side-phone:last-child { border-bottom: 0; }
.side-phone span { display: block; font-size: 12px; color: var(--muted); }
.side-phone b { font-size: 16px; color: var(--ink); letter-spacing: .04em; }
.side-hours { font-size: 15px; color: var(--ink); }
.qr-pop { min-width: 260px; }
.qr-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.qr-tab {
  flex: 1; padding: 8px 10px; border-radius: 8px;
  border: 1px solid var(--line); color: var(--ink); font-size: 13px;
  background: #fff;
}
.qr-tab.on { background: var(--jade); color: var(--ink); border-color: var(--jade); font-weight: 700; }
.qr-stage { text-align: center; }
.qr-one { display: none; margin: 0; }
.qr-one.on { display: block; }
.qr-one img {
  width: 220px; height: 220px; object-fit: contain;
  background: #fff; margin: 0 auto;
}
.qr-one figcaption { font-size: 12px; color: var(--muted); margin-top: 8px; }

.chat-panel {
  position: fixed; right: 64px; bottom: 24px; z-index: 91;
  width: min(360px, calc(100vw - 80px));
  height: min(520px, calc(100vh - 80px));
  background: #fff; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 22px 50px rgba(10,22,40,.18);
  display: flex; flex-direction: column;
}
.chat-panel[hidden] { display: none !important; }
.fp-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; background: var(--ink); color: #fff;
}
.fp-close { color: #fff; font-size: 22px; line-height: 1; width: 32px; height: 32px; }
.fp-body { padding: 14px; overflow: auto; }
.fp-tip { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.chat-log { flex: 1; min-height: 220px; display: flex; flex-direction: column; gap: 8px; }
.chat-empty { color: var(--muted); font-size: 13px; margin: auto; text-align: center; line-height: 1.7; }
.bubble { max-width: 86%; padding: 8px 12px; border-radius: 12px; font-size: 14px; white-space: pre-wrap; }
.bubble.visitor { align-self: flex-end; background: var(--jade); color: var(--ink); }
.bubble.admin, .bubble.ai { align-self: flex-start; background: var(--paper); color: var(--ink); }
.bubble.typing { color: var(--muted); font-style: italic; }
.chat-form { border-top: 1px solid var(--line); padding: 10px; }
.chat-send { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.chat-form input {
  width: 100%; border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px; font-size: 16px;
}
.chat-send button {
  background: var(--jade); color: var(--ink); border-radius: 10px;
  padding: 0 16px; font-weight: 700;
}
.article-body { white-space: pre-wrap; color: var(--text); font-size: 16px; }
.empty-dl {
  text-align: center; background: #fff; border: 1px dashed var(--line);
  border-radius: var(--radius); padding: 48px 24px; color: var(--muted);
}
.empty-dl h3 { color: var(--ink); margin-bottom: 10px; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .nav-links a { padding: 8px 8px; font-size: 13px; letter-spacing: .04em; }
  .nav .cta { padding: 9px 14px; }
}

@media (max-width: 980px) {
  :root { --nav-h: 60px; }
  .wrap { width: min(100% - 32px, 1180px); }
  .nav { gap: 12px; }
  .brand { gap: 8px; min-width: 0; }
  .brand .name { font-size: 15px; letter-spacing: .04em; }
  .brand .name small { letter-spacing: .12em; font-size: 9px; }
  .logo-slot, .logo-slot img { width: 36px; height: 36px; }
  .nav-links, .nav .cta { display: none; }
  .menu-btn { display: flex; flex-shrink: 0; }
  .mobile-menu {
    padding: 12px 20px calc(24px + env(safe-area-inset-bottom));
    overflow: auto;
  }
  .mobile-menu a {
    font-size: 17px; letter-spacing: .04em; padding: 14px 4px;
  }
  .mobile-menu .m-cta {
    margin-top: 16px; text-align: center; letter-spacing: .08em;
    background: var(--jade); color: var(--ink); font-weight: 700;
    border: 0; border-radius: 999px; padding: 14px;
  }
  .about-grid, .contact-grid, .detail-hero, .process-split, .adv-lg, .foot-grid, .blocks { grid-template-columns: 1fr; }
  .adv-grid, .svc-grid, .news-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .photo-strip { grid-template-columns: 1fr 1fr; height: auto; }
  .photo-strip img { height: 120px; }
  .flow { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .flow::before { display: none; }
  .adv-lg article { grid-template-columns: 1fr; }
  .adv-lg img { width: 100%; height: 180px; }
  .slider-btn { display: none; }
  .hero-inner h1, .hero-inner .hero-title { font-size: clamp(26px, 7vw, 36px); }
  .hero-inner .lead { font-size: 15px; }
  section { padding: 56px 0; }
  .sec-head { margin-bottom: 32px; }
  .about-photo { height: 240px; }
  .process-split img { height: 220px; }
  .detail-hero img { height: 220px; }
  .article img.cover { height: 200px; }
  .pcard:hover, .ncard:hover, .adv:hover, .svc:hover { transform: none; }
}

@media (max-width: 600px) {
  .wrap { width: min(100% - 28px, 1180px); }
  .brand .name small { display: none; }
  .adv-grid, .svc-grid, .card-grid, .news-grid, .gallery-grid, .values { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .cta-panel, .form-panel { padding: 28px 20px; border-radius: 18px; }
  .slider { min-height: 0; height: auto; }
  .slide {
    position: relative; opacity: 0; height: 0; overflow: hidden;
    pointer-events: none;
  }
  .slide.active {
    opacity: 1; height: auto; min-height: 72svh;
    pointer-events: auto;
  }
  .hero-inner {
    justify-content: flex-end;
    padding: calc(var(--nav-h) + 28px) 0 96px;
  }
  .hero-inner h1, .hero-inner .hero-title { margin-bottom: 12px; }
  .hero-inner .lead { margin-bottom: 22px; }
  .actions { flex-direction: column; }
  .actions .btn { width: 100%; }
  .trust { margin-top: 22px; gap: 8px 14px; font-size: 12px; }
  .page-hero { min-height: 0; padding: calc(var(--nav-h) + 36px) 0 36px; }
  .page-hero h1 { font-size: 26px; letter-spacing: .04em; }
  .contact-item { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
  .pcard .cover { height: 180px; }
  .pcard .body, .ncard .body { padding: 18px 16px 20px; }
  .gcard { height: 200px; }
  .article h1 { font-size: 22px; }
  .form-row input, .form-row textarea, .chat-form input { font-size: 16px; }
  footer { padding: 36px 16px calc(88px + env(safe-area-inset-bottom)); }
  .dots { bottom: 20px; }
  .side-lab {
    display: block; font-size: 10px; line-height: 1; letter-spacing: 0; color: #fff;
  }
  .side-rail {
    top: auto; bottom: 0; transform: none;
    width: 100%; flex-direction: row;
    height: calc(58px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    z-index: 92;
  }
  .side-item, .side-rail > .side-ico { flex: 1; }
  .side-ico {
    width: 100%; height: 58px; border-bottom: 0;
    border-right: 1px solid rgba(255,255,255,.18);
    gap: 4px;
  }
  .side-ico svg { width: 18px; height: 18px; }
  .side-ico:last-child { border-right: 0; }
  .side-pop {
    position: fixed; left: 0; right: 0; top: auto;
    bottom: calc(58px + env(safe-area-inset-bottom));
    min-width: 0; width: 100%;
    max-height: min(62vh, 480px); overflow: auto;
    border-radius: 16px 16px 0 0; border-left: 0; border-right: 0;
    padding: 16px 16px 20px; z-index: 93;
    box-shadow: 0 -12px 32px rgba(10,22,40,.18);
  }
  .qr-one img { width: min(240px, 72vw); height: min(240px, 72vw); }
  .chat-panel {
    right: 0; left: 0; bottom: calc(58px + env(safe-area-inset-bottom));
    width: 100%; height: min(68vh, 560px);
    border-radius: 16px 16px 0 0;
  }
}

@media (max-width: 980px), (hover: none) {
  .side-item:hover .side-pop { display: none !important; }
  .side-item.open .side-pop { display: block !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
