/* =========================================================
   大诚网络 · 内页样式
   网站建设服务页 / 案例列表 / 案例详情
   依赖 main.css 中的设计变量与基础组件
   ========================================================= */

/* ---------- 1. Shared page hero ---------- */
.page-hero {
  position: relative;
  padding: 44px 0 76px;
  background: linear-gradient(180deg, #F8FBFF 0%, #EAF2FC 100%);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(19, 39, 67, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 39, 67, .055) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 85% 70% at 55% 35%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 55% 35%, #000 25%, transparent 78%);
  pointer-events: none;
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  right: -60px;
  top: -160px;
  border-radius: 50%;
  background: rgba(31, 94, 255, .16);
  filter: blur(90px);
  pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero--compact { padding: 34px 0 54px; }
.page-hero__inner {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 64px;
  align-items: center;
  margin-top: 26px;
}
.page-hero__content { max-width: 650px; }
.page-hero h1 {
  margin-top: 16px;
  font-size: clamp(34px, 3.9vw, 52px);
  line-height: 1.16;
  letter-spacing: -.035em;
  font-weight: 800;
  color: var(--ink);
}
.page-hero h1 .mark { display: inline; }
.page-hero__lead {
  margin-top: 20px;
  max-width: 590px;
  font-size: 16px;
  line-height: 1.85;
  color: #3B4D63;
}
.page-hero__lead strong { color: var(--ink); font-weight: 600; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.page-hero__chips { display: flex; flex-wrap: wrap; gap: 9px 20px; margin-top: 24px; font-size: 12.5px; color: #43566D; }
.page-hero__chips li { display: inline-flex; align-items: center; gap: 6px; }
.page-hero__chips .icon { width: 14px; height: 14px; color: #0B9C7E; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--muted-2);
}
.breadcrumb a { transition: color .2s; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { color: #B5C2D2; }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 500; }

.pstat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 52px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(19, 39, 67, .1);
}
.pstat strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
  line-height: 1.15;
}
.pstat strong small { font-size: 12px; font-weight: 600; color: var(--brand); margin-left: 2px; }
.pstat span { display: block; margin-top: 3px; font-size: 11.5px; color: var(--muted); }

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ---------- 2. Delivery card in service hero ---------- */
.deliver-card {
  position: relative;
  background: #fff;
  border: 1px solid #D9E5F3;
  border-radius: 20px;
  box-shadow: 0 30px 70px rgba(11, 26, 48, .14);
  overflow: hidden;
}
.deliver-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  background: #F8FAFD;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  color: var(--muted-2);
}
.deliver-card__head span:last-child { color: #0B7B65; display: inline-flex; align-items: center; gap: 5px; }
.deliver-card__head i { width: 5px; height: 5px; border-radius: 50%; background: #1EC495; }
.deliver-card__media { position: relative; height: 190px; overflow: hidden; }
.deliver-card__media img { width: 100%; height: 100%; object-fit: cover; }
.deliver-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 18, 34, .05), rgba(7, 18, 34, .62)); }
.deliver-card__media-label { position: absolute; left: 20px; bottom: 16px; z-index: 2; color: #fff; }
.deliver-card__media-label small { display: block; font-size: 8.5px; letter-spacing: .18em; color: rgba(255, 255, 255, .65); }
.deliver-card__media-label strong { display: block; margin-top: 3px; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.deliver-card__body { padding: 18px 20px 20px; }
.deliver-list { display: flex; flex-direction: column; }
.deliver-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 12.5px;
  color: #405168;
}
.deliver-list li:last-child { border-bottom: 0; }
.deliver-list li span:last-child { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 600; color: #0B7B65; }
.deliver-list .icon { width: 12px; height: 12px; }
.deliver-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 20px;
  background: var(--soft);
  border-top: 1px solid var(--line);
  font-size: 10.5px;
  color: var(--muted);
}
.deliver-card__foot strong { color: var(--ink); font-weight: 600; }

.page-section { padding: 88px 0; }
.page-section--soft { background: var(--soft); }
.page-section--tight { padding: 64px 0; }

/* ---------- 3. Value / approach cards ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: #CBD9E9; }
.value-card__top { display: flex; align-items: center; justify-content: space-between; }
.value-card__num { font-size: 10px; font-weight: 700; letter-spacing: .14em; color: var(--muted-2); }
.value-card__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
}
.value-card__icon .icon { width: 18px; height: 18px; }
.value-card h3 { margin-top: 18px; font-size: 17px; font-weight: 700; color: var(--ink); }
.value-card p { margin-top: 8px; font-size: 13px; line-height: 1.8; color: var(--muted); }

/* ---------- 4. Service type cards ---------- */
.type-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.type-card {
  display: flex;
  gap: 18px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.type-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #C9D8EA; }
.type-card--wide { grid-column: 1 / -1; }
.type-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  flex-shrink: 0;
}
.type-card__icon .icon { width: 21px; height: 21px; }
.type-card h3 { font-size: 18px; font-weight: 700; color: var(--ink); }
.type-card p { margin-top: 6px; font-size: 13px; line-height: 1.8; color: var(--muted); }
.type-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.type-tags span { padding: 3px 8px; border-radius: 4px; background: var(--soft); font-size: 10px; color: #50627A; }
.type-card__link { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; align-self: flex-end; font-size: 11.5px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.type-card__link .icon { width: 13px; height: 13px; }
.type-card:hover .type-card__link { color: var(--brand); }

/* ---------- 5. Deliverables ---------- */
.deliver-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.deliver-item {
  display: flex;
  gap: 14px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.deliver-item__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--teal-soft);
  color: #078F77;
  flex-shrink: 0;
}
.deliver-item__icon .icon { width: 17px; height: 17px; }
.deliver-item h3 { font-size: 14px; font-weight: 700; color: var(--ink); }
.deliver-item p { margin-top: 4px; font-size: 11.5px; line-height: 1.65; color: var(--muted); }

/* ---------- 6. Standards (dark) ---------- */
.standard-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 10%, rgba(31, 94, 255, .26), transparent 45%),
    var(--ink);
}
.standard-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 66px 66px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, #000, transparent 78%);
  pointer-events: none;
}
.standard-section > .container { position: relative; }
.standard-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 40px; }
.standard-head p { max-width: 430px; font-size: 13.5px; line-height: 1.85; color: rgba(255, 255, 255, .62); }
.standard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.standard-card {
  padding: 24px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  transition: background .25s, border-color .25s;
}
.standard-card:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .18); }
.standard-card__icon { color: #6FECD3; }
.standard-card__icon .icon { width: 22px; height: 22px; }
.standard-card h3 { margin-top: 14px; font-size: 15px; font-weight: 600; color: #fff; }
.standard-card p { margin-top: 6px; font-size: 12px; line-height: 1.8; color: rgba(255, 255, 255, .58); }
.standard-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  padding: 13px 16px;
  border-radius: 8px;
  background: rgba(76, 224, 194, .08);
  border: 1px solid rgba(76, 224, 194, .18);
  font-size: 11px;
  color: #8CE8D5;
}
.standard-foot .icon { width: 14px; height: 14px; }

/* ---------- 7. Case toolbar & listing ---------- */
.case-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}
.case-count { font-size: 11.5px; color: var(--muted); }
.case-count strong { color: var(--ink); font-weight: 600; }
.case-grid--listing { row-gap: 24px; }

/* ---------- 8. CTA band ---------- */
.cta-band {
  position: relative;
  padding: 64px 0;
  background:
    radial-gradient(circle at 15% 15%, rgba(31, 94, 255, .26), transparent 45%),
    #081426;
  overflow: hidden;
  color: #fff;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000, transparent 80%);
}
.cta-band > .container { position: relative; z-index: 1; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 44px; }
.cta-band h2 { margin-top: 12px; font-size: clamp(26px, 3vw, 36px); line-height: 1.3; letter-spacing: -.025em; font-weight: 800; }
.cta-band p { margin-top: 10px; max-width: 560px; font-size: 13.5px; line-height: 1.85; color: rgba(255, 255, 255, .6); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 10px; flex-shrink: 0; }

/* ---------- 9. Case detail ---------- */
.case-detail-hero {
  position: relative;
  padding: 34px 0 0;
  background: linear-gradient(180deg, #F8FBFF 0%, #F2F7FD 100%);
}
.case-detail-head { max-width: 940px; margin-top: 26px; }
.case-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.case-tags span {
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--brand-soft);
  color: #1746C9;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .02em;
}
.case-tags span:nth-child(even) { background: var(--teal-soft); color: #076352; }
.case-detail-title {
  margin-top: 16px;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.15;
  letter-spacing: -.035em;
  font-weight: 800;
  color: var(--ink);
}
.case-detail-title span { display: block; margin-top: 6px; font-size: .46em; font-weight: 600; letter-spacing: .12em; color: var(--muted-2); }
.case-detail-lead { margin-top: 18px; max-width: 780px; font-size: 16px; line-height: 1.85; color: #3B4D63; }
.case-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
  padding: 20px 0;
  border-top: 1px solid rgba(19, 39, 67, .1);
  border-bottom: 1px solid rgba(19, 39, 67, .1);
}
.case-meta-item dt { font-size: 10.5px; color: var(--muted-2); letter-spacing: .04em; }
.case-meta-item dd { margin-top: 4px; font-size: 12.5px; font-weight: 500; color: var(--ink); line-height: 1.6; }
.case-cover {
  position: relative;
  height: 520px;
  margin-top: 34px;
  border-radius: 22px 22px 0 0;
  overflow: hidden;
  box-shadow: 0 -10px 40px rgba(11, 26, 48, .08);
}
.case-cover img { width: 100%; height: 100%; object-fit: cover; }
.case-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 18, 34, .04) 45%, rgba(7, 18, 34, .72) 100%); }
.case-cover__body { position: absolute; left: 34px; right: 34px; bottom: 28px; z-index: 2; color: #fff; }
.case-cover__body small { font-size: 9px; letter-spacing: .2em; color: rgba(255, 255, 255, .65); }
.case-cover__body p { margin-top: 5px; font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.case-cover__badge {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(8px);
  font-size: 10px;
  color: #fff;
  letter-spacing: .03em;
}

.case-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 64px;
  align-items: start;
  padding: 72px 0 88px;
}
.case-article { max-width: 780px; }
.case-article h2 {
  margin-top: 48px;
  font-size: 27px;
  line-height: 1.35;
  letter-spacing: -.02em;
  font-weight: 800;
  color: var(--ink);
}
.case-article > h2:first-child, .article-section:first-child h2 { margin-top: 0; }
.case-article h3 { margin-top: 24px; font-size: 17px; font-weight: 700; color: var(--ink); }
.case-article p { margin-top: 14px; font-size: 14.5px; line-height: 1.95; color: #3B4D63; }
.case-article p strong { color: var(--ink); font-weight: 600; }
.case-article ul { display: flex; flex-direction: column; gap: 9px; margin-top: 14px; }
.case-article ul li { position: relative; padding-left: 20px; font-size: 14px; line-height: 1.8; color: #3B4D63; }
.case-article ul li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }
.challenge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.challenge-card { padding: 18px; background: var(--soft); border: 1px solid var(--line); border-radius: 12px; }
.challenge-card span { font-size: 9.5px; font-weight: 700; letter-spacing: .1em; color: #55677C; }
.challenge-card h3 { margin-top: 6px; font-size: 13.5px; font-weight: 600; }
.challenge-card p { margin-top: 5px; font-size: 11.5px; line-height: 1.7; color: var(--muted); }
.strategy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.strategy-item { padding: 18px; border-top: 2px solid var(--brand); background: #F9FBFE; border-radius: 0 0 10px 10px; }
.strategy-item span { font-size: 9.5px; font-weight: 700; letter-spacing: .1em; color: var(--brand); }
.strategy-item h3 { margin-top: 6px; font-size: 13.5px; font-weight: 600; }
.strategy-item p { margin-top: 5px; font-size: 11.5px; line-height: 1.7; color: var(--muted); }

.case-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.case-gallery figure { position: relative; height: 230px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.case-gallery figure.is-wide { grid-column: 1 / -1; height: 330px; }
.case-gallery img { width: 100%; height: 100%; object-fit: cover; }
.case-gallery figcaption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(7, 18, 34, .65);
  backdrop-filter: blur(4px);
  font-size: 9.5px;
  color: #fff;
  letter-spacing: .03em;
}
.case-result {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
  padding: 24px;
  border-radius: 14px;
  background: var(--soft);
  border: 1px solid var(--line);
}
.case-result strong { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: var(--brand); line-height: 1.1; }
.case-result span { display: block; margin-top: 4px; font-size: 10.5px; color: var(--muted); }
.case-quote {
  margin-top: 24px;
  padding: 24px;
  border-left: 3px solid var(--brand);
  background: #F7FAFF;
  border-radius: 0 12px 12px 0;
}
.case-quote p { margin: 0; font-size: 14px; line-height: 1.9; color: #34465C; }
.case-quote cite { display: block; margin-top: 12px; font-style: normal; font-size: 10.5px; color: var(--muted-2); }

.case-aside { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 16px; }
.aside-card { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); }
.aside-card h3 { padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--ink); }
.aside-facts { margin-top: 4px; }
.aside-facts div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 11px; }
.aside-facts div:last-child { border-bottom: 0; }
.aside-facts dt { color: var(--muted-2); }
.aside-facts dd { color: #2E4057; font-weight: 500; text-align: right; }
.aside-cta { background: linear-gradient(150deg, #102B4E, #0A1729); border-color: rgba(255, 255, 255, .1); color: #fff; }
.aside-cta h3 { border-color: rgba(255, 255, 255, .1); color: #fff; }
.aside-cta p { margin-top: 12px; font-size: 11.5px; line-height: 1.75; color: rgba(255, 255, 255, .6); }
.aside-cta .btn { margin-top: 16px; }
.aside-cta .aside-note { display: flex; align-items: center; gap: 5px; margin-top: 12px; font-size: 9.5px; color: rgba(255, 255, 255, .45); }
.aside-cta .icon { width: 12px; height: 12px; }

.related-section { padding: 76px 0; background: var(--soft); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.project-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 44px; }
.project-nav a { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 10px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.project-nav a:hover { border-color: #C5D5E8; box-shadow: var(--shadow-sm); }
.project-nav span { font-size: 9.5px; letter-spacing: .1em; color: var(--muted-2); }
.project-nav strong { font-size: 13px; font-weight: 600; color: var(--ink); }
.project-nav a:last-child { text-align: right; }

/* ---------- 10. Responsive ---------- */
@media (max-width: 1180px) {
  .page-hero__inner { gap: 40px; }
  .case-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 44px; }
}

@media (max-width: 1024px) {
  .page-hero { padding: 34px 0 60px; }
  .page-hero__inner { grid-template-columns: 1fr; gap: 40px; margin-top: 22px; }
  .page-hero__content { max-width: 720px; }
  .page-hero__visual { width: min(100%, 560px); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .standard-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .standard-grid { grid-template-columns: repeat(2, 1fr); }
  .deliver-grid { grid-template-columns: repeat(2, 1fr); }
  .case-layout { grid-template-columns: 1fr; gap: 40px; padding: 56px 0 72px; }
  .case-aside { position: static; display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .case-aside .aside-card { height: 100%; }
  .case-cover { height: 420px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid .case-card:last-child { display: none; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; gap: 26px; }
}

@media (max-width: 768px) {
  .page-section { padding: 64px 0; }
  .page-hero h1 { font-size: clamp(30px, 8vw, 40px); }
  .page-hero__lead { font-size: 14.5px; }
  .page-hero__actions .btn { flex: 1 1 100%; }
  .pstat-row { gap: 20px 32px; }
  .pstat strong { font-size: 24px; }
  .value-grid { grid-template-columns: 1fr; }
  .type-grid { grid-template-columns: 1fr; }
  .type-card--wide { grid-column: auto; }
  .deliver-grid { grid-template-columns: 1fr; }
  .standard-grid { grid-template-columns: 1fr; }
  .case-toolbar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .case-meta-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .case-cover { height: 300px; border-radius: 16px 16px 0 0; }
  .case-cover__body { left: 20px; right: 20px; bottom: 18px; }
  .case-cover__body p { font-size: 17px; }
  .case-cover__badge { top: 14px; right: 14px; }
  .case-layout { padding: 44px 0 60px; }
  .case-article h2 { margin-top: 38px; font-size: 23px; }
  .challenge-grid, .strategy-grid { grid-template-columns: 1fr; }
  .case-gallery { grid-template-columns: 1fr; }
  .case-gallery figure, .case-gallery figure.is-wide { grid-column: auto; height: 220px; }
  .case-result { padding: 18px; }
  .case-result strong { font-size: 24px; }
  .case-aside { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .related-grid .case-card:last-child { display: flex; }
  .project-nav { grid-template-columns: 1fr; }
  .project-nav a:last-child { text-align: left; }
  .cta-band { padding: 50px 0; }
  .cta-band__actions .btn { flex: 1 1 100%; }
}

@media (max-width: 560px) {
  .page-hero { padding-bottom: 46px; }
  .pstat-row { padding-top: 18px; margin-top: 22px; }
  .pstat { flex: 1 1 40%; }
  .case-detail-title { font-size: 30px; }
  .case-detail-title span { font-size: .5em; }
  .case-meta-grid { grid-template-columns: 1fr 1fr; }
  .case-cover { height: 230px; }
  .case-cover__body p { font-size: 15px; }
  .case-cover__body small { display: none; }
  .case-gallery figure, .case-gallery figure.is-wide { height: 190px; }
  .related-section { padding: 54px 0; }
  .deliver-card__media { height: 160px; }
  .deliver-item { padding: 18px; }
}

/* =========================================================
   11. Maintenance page
   ========================================================= */
.health-card {
  background: #fff;
  border: 1px solid #D9E5F3;
  border-radius: 20px;
  box-shadow: 0 30px 70px rgba(11, 26, 48, .14);
  overflow: hidden;
}
.health-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 20px;
  background: #F8FAFD;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  color: var(--muted-2);
}
.health-card__head span:last-child { display: inline-flex; align-items: center; gap: 5px; color: #0B7B65; }
.health-card__head i { width: 5px; height: 5px; border-radius: 50%; background: #1EC495; box-shadow: 0 0 0 3px rgba(30, 196, 149, .14); }
.health-card__body { padding: 22px; }
.health-score { display: flex; align-items: center; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.health-score__ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 94px;
  height: 94px;
  flex-shrink: 0;
  border-radius: 50%;
  background: conic-gradient(#12B886 calc(var(--score) * 1%), #EAF0F7 0);
}
.health-score__ring::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #fff; }
.health-score__ring div { position: relative; z-index: 1; text-align: center; line-height: 1.1; }
.health-score__ring strong { display: block; font-size: 29px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.health-score__ring span { display: block; margin-top: 3px; font-size: 8px; letter-spacing: .08em; color: var(--muted-2); }
.health-score__meta h3 { font-size: 16px; font-weight: 700; color: var(--ink); }
.health-score__meta p { margin-top: 4px; font-size: 11px; line-height: 1.6; color: var(--muted); }
.health-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.health-tags span { padding: 3px 7px; border-radius: 4px; background: var(--teal-soft); color: #076352; font-size: 8.5px; font-weight: 600; }
.health-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 15px; }
.health-metrics div { padding: 9px 11px; border-radius: 8px; background: var(--soft); }
.health-metrics span { display: block; font-size: 9px; color: var(--muted-2); }
.health-metrics strong { display: block; margin-top: 2px; font-size: 14px; font-weight: 700; color: var(--ink); }
.health-rows { margin-top: 6px; }
.health-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 10.5px; color: #405168; }
.health-row:last-child { border-bottom: 0; }
.health-row span:last-child { display: inline-flex; align-items: center; gap: 4px; color: #0B7B65; font-size: 9.5px; font-weight: 600; }
.health-row .icon { width: 11px; height: 11px; }
.health-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  background: var(--soft);
  border-top: 1px solid var(--line);
  font-size: 9.5px;
  color: var(--muted);
}
.health-card__foot strong { color: var(--ink); font-weight: 600; }

.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan-card--featured {
  background: radial-gradient(circle at 100% 0%, rgba(31, 94, 255, .32), transparent 48%), var(--ink);
  border-color: rgba(255, 255, 255, .1);
  color: #fff;
}
.plan-card__tag {
  align-self: flex-start;
  padding: 4px 9px;
  border-radius: 100px;
  background: var(--brand-soft);
  color: #1746C9;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
}
.plan-card--featured .plan-card__tag { background: rgba(76, 224, 194, .14); color: #82EAD6; }
.plan-card h3 { margin-top: 14px; font-size: 20px; font-weight: 700; color: var(--ink); }
.plan-card--featured h3 { color: #fff; }
.plan-card > p { margin-top: 6px; font-size: 12.5px; line-height: 1.75; color: var(--muted); }
.plan-card--featured > p { color: rgba(255, 255, 255, .62); }
.plan-card ul { display: flex; flex-direction: column; gap: 9px; margin: 18px 0 24px; }
.plan-card li { display: flex; align-items: flex-start; gap: 7px; font-size: 11.5px; line-height: 1.65; color: #405168; }
.plan-card--featured li { color: rgba(255, 255, 255, .72); }
.plan-card li .icon { width: 12px; height: 12px; margin-top: 3px; color: var(--teal); flex-shrink: 0; }
.plan-card--featured li .icon { color: #6FECD3; }
.plan-card .btn { margin-top: auto; }
.plan-card__suit { margin-top: 14px; font-size: 9.5px; color: var(--muted-2); }
.plan-card--featured .plan-card__suit { color: rgba(255, 255, 255, .62); }

.care-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.care-step { position: relative; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.care-step::before { content: ""; position: absolute; top: -1px; left: 24px; width: 36px; height: 2px; background: var(--brand); }
.care-step span { font-size: 10px; font-weight: 700; letter-spacing: .12em; color: var(--brand); }
.care-step h3 { margin-top: 8px; font-size: 15px; font-weight: 700; color: var(--ink); }
.care-step p { margin-top: 5px; font-size: 11.5px; line-height: 1.7; color: var(--muted); }
.care-step em { display: inline-block; margin-top: 10px; font-style: normal; font-size: 9.5px; color: var(--muted-2); }

.cross-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cross-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.cross-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: #C9D8EA; }
.cross-card--active { border-color: #B9CDFF; background: linear-gradient(150deg, #F5F9FF, #fff); }
.cross-card__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: var(--brand-soft); color: var(--brand); flex-shrink: 0; }
.cross-card__icon .icon { width: 20px; height: 20px; }
.cross-card h3 { font-size: 16px; font-weight: 700; color: var(--ink); }
.cross-card p { margin-top: 5px; font-size: 12px; line-height: 1.7; color: var(--muted); }
.cross-card__link { display: inline-flex; align-items: center; gap: 5px; margin-top: 9px; font-size: 11px; font-weight: 600; color: var(--brand); }
.cross-card__link .icon { width: 12px; height: 12px; }

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

/* =========================================================
   12. Operation page
   ========================================================= */
.growth-card {
  background: #fff;
  border: 1px solid #D9E5F3;
  border-radius: 20px;
  box-shadow: 0 30px 70px rgba(11, 26, 48, .14);
  overflow: hidden;
}
.growth-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 20px;
  background: #F8FAFD;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  color: var(--muted-2);
}
.growth-card__head span:last-child { font-weight: 500; letter-spacing: .02em; }
.growth-card__body { padding: 20px; }
.growth-overview { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.growth-overview small { display: block; font-size: 9.5px; color: var(--muted-2); letter-spacing: .04em; }
.growth-overview strong { display: block; margin-top: 4px; font-size: 33px; line-height: 1.05; font-weight: 800; letter-spacing: -.035em; color: var(--ink); }
.growth-overview strong em { font-style: normal; font-size: 14px; color: #0B7B65; margin-left: 4px; }
.growth-overview span { display: block; margin-top: 4px; font-size: 9.5px; color: var(--muted); }
.growth-legend { display: flex; gap: 10px; font-size: 8.5px; color: var(--muted-2); }
.growth-legend i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); margin-right: 3px; }
.growth-legend span:last-child i { background: #9BB9FF; }
.growth-chart { position: relative; height: 108px; margin-top: 14px; }
.growth-chart svg { width: 100%; height: 100%; overflow: visible; }
.growth-chart__labels { display: flex; justify-content: space-between; margin-top: 6px; font-size: 8px; color: var(--muted-2); }
.growth-channels { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.growth-channels div { display: flex; align-items: center; justify-content: space-between; padding: 7px 9px; border-radius: 6px; background: var(--soft); font-size: 9px; color: var(--muted); }
.growth-channels strong { color: var(--ink); font-size: 10px; }
.growth-card__foot { padding: 10px 20px; background: var(--soft); border-top: 1px solid var(--line); font-size: 8.5px; color: var(--muted-2); }

.report-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.report-card { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.report-card span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--brand-soft); color: var(--brand); }
.report-card span .icon { width: 16px; height: 16px; }
.report-card h3 { margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--ink); }
.report-card p { margin-top: 5px; font-size: 11px; line-height: 1.7; color: var(--muted); }

@media (max-width: 1024px) {
  .plan-grid { grid-template-columns: 1fr 1fr; }
  .plan-grid .plan-card:last-child { grid-column: 1 / -1; }
  .care-steps { grid-template-columns: repeat(2, 1fr); }
  .standard-grid--four { grid-template-columns: repeat(2, 1fr); }
  .report-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .plan-grid { grid-template-columns: 1fr; }
  .plan-grid .plan-card:last-child { grid-column: auto; }
  .care-steps { grid-template-columns: 1fr; }
  .cross-grid { grid-template-columns: 1fr; }
  .standard-grid--four { grid-template-columns: 1fr; }
  .report-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .health-card__body { padding: 16px; }
  .health-score { gap: 13px; }
  .health-score__ring { width: 78px; height: 78px; }
  .health-score__ring strong { font-size: 24px; }
  .growth-overview { flex-direction: column; align-items: flex-start; gap: 8px; }
  .growth-channels { grid-template-columns: 1fr; }
  .report-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   13. Basic services page
   ========================================================= */
.stack-card {
  background: #fff;
  border: 1px solid #D9E5F3;
  border-radius: 20px;
  box-shadow: 0 30px 70px rgba(11, 26, 48, .14);
  overflow: hidden;
}
.stack-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 20px;
  background: #F8FAFD;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  color: var(--muted-2);
}
.stack-card__head span:last-child { display: inline-flex; align-items: center; gap: 5px; color: #0B7B65; }
.stack-card__head i { width: 5px; height: 5px; border-radius: 50%; background: #1EC495; box-shadow: 0 0 0 3px rgba(30, 196, 149, .14); }
.stack-card__body { padding: 20px; }
.stack-domain {
  position: relative;
  padding: 16px 18px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 88% 16%, rgba(76, 224, 194, .26), transparent 45%),
    linear-gradient(135deg, #0D2441, #153C72);
  color: #fff;
  overflow: hidden;
}
.stack-domain small { display: block; font-size: 8.5px; letter-spacing: .17em; color: rgba(255, 255, 255, .55); }
.stack-domain strong { display: block; margin-top: 4px; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.stack-domain__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 3px 8px;
  border-radius: 100px;
  background: rgba(76, 224, 194, .16);
  border: 1px solid rgba(76, 224, 194, .28);
  font-size: 8.5px;
  color: #8CE8D5;
}
.stack-list { margin-top: 8px; }
.stack-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 2px;
  border-bottom: 1px dashed var(--line);
  font-size: 11.5px;
  color: #405168;
}
.stack-list li:last-child { border-bottom: 0; }
.stack-list li > span:first-child { display: inline-flex; align-items: center; gap: 7px; }
.stack-list .icon { width: 13px; height: 13px; color: var(--brand); }
.stack-ok { display: inline-flex; align-items: center; gap: 4px; font-size: 9.5px; font-weight: 600; color: #0B7B65; }
.stack-ok .icon { width: 11px; height: 11px; color: #0B7B65; }
.stack-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  background: var(--soft);
  border-top: 1px solid var(--line);
  font-size: 9.5px;
  color: var(--muted);
}
.stack-card__foot strong { color: var(--ink); font-weight: 600; }

.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.catalog-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.catalog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #C9D8EA; }
.catalog-card__head { display: flex; align-items: center; justify-content: space-between; }
.catalog-card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand);
}
.catalog-card__icon .icon { width: 20px; height: 20px; }
.catalog-card__num { font-size: 9.5px; font-weight: 700; letter-spacing: .12em; color: var(--muted-2); }
.catalog-card h3 { margin-top: 16px; font-size: 18px; font-weight: 700; color: var(--ink); }
.catalog-card p { margin-top: 6px; font-size: 12.5px; line-height: 1.8; color: var(--muted); }
.catalog-card ul { display: flex; flex-direction: column; gap: 7px; margin: 16px 0 20px; }
.catalog-card li { display: flex; align-items: flex-start; gap: 6px; font-size: 11px; line-height: 1.6; color: #405168; }
.catalog-card li .icon { width: 12px; height: 12px; margin-top: 3px; color: var(--teal); flex-shrink: 0; }
.catalog-card__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  transition: color .2s;
}
.catalog-card__link .icon { width: 13px; height: 13px; }
.catalog-card:hover .catalog-card__link { color: var(--brand); }

/* =========================================================
   14. About page
   ========================================================= */
.about-photo {
  position: relative;
  height: 430px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(11, 26, 48, .18);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transition: transform 1.2s var(--ease); }
.about-photo:hover img { transform: scale(1.035); }
.about-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 18, 34, .02) 50%, rgba(7, 18, 34, .72) 100%); }
.about-photo__caption { position: absolute; left: 26px; right: 26px; bottom: 24px; z-index: 2; color: #fff; }
.about-photo__caption small { font-size: 8.5px; letter-spacing: .18em; color: rgba(255, 255, 255, .6); }
.about-photo__caption p { margin-top: 4px; font-size: 18px; font-weight: 600; }
.about-photo__badge {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 100px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(8px);
  font-size: 9px;
  letter-spacing: .08em;
  color: #fff;
}

.about-story { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: start; }
.about-story__content p { margin-top: 16px; font-size: 14px; line-height: 1.95; color: #3B4D63; }
.about-story__points { display: flex; flex-direction: column; gap: 16px; margin-top: 26px; }
.about-story__points li { display: flex; gap: 11px; font-size: 12.5px; line-height: 1.7; color: var(--muted); }
.about-story__points span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--teal-soft); color: #078F77; flex-shrink: 0; }
.about-story__points .icon { width: 12px; height: 12px; }
.about-story__facts { padding: 26px; background: #F8FAFD; border: 1px solid var(--line); border-radius: 16px; }

.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 36px; }
.timeline::before { content: ""; position: absolute; top: 5px; left: 6px; right: 6px; height: 1px; background: linear-gradient(90deg, var(--brand), rgba(31, 94, 255, .1)); }
.timeline__item { position: relative; padding-top: 28px; }
.timeline__item::before { content: ""; position: absolute; top: 0; left: 0; width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); box-shadow: 0 0 0 4px #fff; }
.timeline__year { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--brand); }
.timeline__item h3 { margin-top: 6px; font-size: 15px; font-weight: 700; color: var(--ink); }
.timeline__item p { margin-top: 5px; font-size: 11.5px; line-height: 1.7; color: var(--muted); }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.team-card { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.team-card__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); }
.team-card__icon .icon { width: 19px; height: 19px; }
.team-card h3 { margin-top: 15px; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.team-card p { margin-top: 5px; font-size: 11px; line-height: 1.7; color: var(--muted); }

/* =========================================================
   15. News list
   ========================================================= */
.news-feature {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  margin-bottom: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.news-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #CFDCEC; }
.news-feature__media { position: relative; min-height: 330px; overflow: hidden; }
.news-feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.news-feature:hover .news-feature__media img { transform: scale(1.04); }
.news-feature__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 18, 34, .02), rgba(7, 18, 34, .35)); }
.news-feature__body { display: flex; flex-direction: column; padding: 36px; }
.news-feature__body .news-card__tag { font-size: 10px; }
.news-feature h2 { margin-top: 10px; font-size: 25px; line-height: 1.45; letter-spacing: -.02em; font-weight: 800; color: var(--ink); }
.news-feature p { margin-top: 10px; font-size: 13px; line-height: 1.8; color: var(--muted); }
.news-feature__meta { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 22px; font-size: 10px; color: var(--muted-2); }
.news-feature__more { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 600; }
.news-feature__more .icon { width: 13px; height: 13px; }

.news-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 30px 0 22px; }
.news-list-title { margin-bottom: 16px; font-size: 20px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.news-toolbar .case-filter { margin-bottom: 0; }
.news-grid--listing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-grid--listing .news-card h3 { font-size: 16px; }
.news-grid--listing .news-card__body { padding-right: 56px; }
.news-grid--listing .news-card.is-hidden { display: none; }
.news-card--lead { grid-column: span 2; flex-direction: row; }
.news-card--lead .news-card__visual { width: 47%; height: auto; min-height: 268px; flex-shrink: 0; }
.news-card--lead .news-card__body { width: 53%; padding: 30px 58px 28px 30px; }
.news-card--lead h3 { margin-top: 10px; font-size: 21px; line-height: 1.5; }
.news-card--lead p { font-size: 13px; }
.news-card--lead .news-card__meta { padding-top: 18px; }
.news-card--lead .news-card__arrow { right: 22px; bottom: 22px; }

.article-related { padding: 72px 0; background: var(--soft); }

.article-section + .article-section { margin-top: 8px; }
.article-toc { display: flex; flex-direction: column; margin-top: 8px; }
.article-toc a {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 11px;
  line-height: 1.55;
  color: var(--muted);
  transition: color .2s;
}
.article-toc a:last-child { border-bottom: 0; }
.article-toc a span { font-size: 8.5px; font-weight: 700; color: var(--brand); letter-spacing: .05em; padding-top: 2px; }
.article-toc a:hover, .article-toc a.is-active { color: var(--brand); }

/* =========================================================
   17. Contact page
   ========================================================= */
.contact-page-hero { padding: 40px 0 76px; }
.contact-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 470px;
  gap: 64px;
  align-items: start;
  margin-top: 26px;
}
.contact-hero__intro h1 {
  margin-top: 16px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.16;
  letter-spacing: -.035em;
  font-weight: 800;
  color: var(--ink);
}
.contact-hero__lead {
  margin-top: 18px;
  max-width: 560px;
  font-size: 15.5px;
  line-height: 1.9;
  color: #3B4D63;
}
.contact-hero__lead strong { color: var(--ink); font-weight: 600; }
.channel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.channel-card {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.channel-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: #C9D8EA; }
.channel-card__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--brand-soft);
  color: var(--brand);
  flex-shrink: 0;
}
.channel-card__icon .icon { width: 16px; height: 16px; }
.channel-card div { display: flex; flex-direction: column; min-width: 0; }
.channel-card small { font-size: 9.5px; color: var(--muted-2); letter-spacing: .04em; }
.channel-card strong { margin-top: 2px; font-size: 12.5px; font-weight: 600; color: var(--ink); line-height: 1.5; word-break: break-all; }
.channel-card span { margin-top: 2px; font-size: 9.5px; color: var(--muted); line-height: 1.5; }
.contact-hero__note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 18px;
  padding: 11px 13px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .66);
  border: 1px solid rgba(223, 232, 242, .9);
  font-size: 10.5px;
  line-height: 1.7;
  color: var(--muted);
}
.contact-hero__note .icon { width: 13px; height: 13px; color: #0B9C7E; margin-top: 2px; }
.contact-hero__qr {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.contact-hero__qr .qr-box { width: 96px; height: 96px; border: 1px solid var(--line); }
.contact-hero__qr p { font-size: 11px; line-height: 1.6; color: var(--muted); }
.contact-hero__qr p strong { display: block; font-size: 12px; color: var(--ink); }

.contact-page-hero .contact-form { max-width: 100%; }

.care-steps--three { grid-template-columns: repeat(3, 1fr); }

.visit-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
}
.visit-info h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.3; letter-spacing: -.025em; font-weight: 800; color: var(--ink); }
.visit-info > p { margin-top: 14px; font-size: 13.5px; line-height: 1.9; color: var(--muted); }
.visit-list { display: flex; flex-direction: column; margin-top: 24px; }
.visit-list div { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.visit-list dt { font-size: 11px; color: var(--muted-2); }
.visit-list dd { font-size: 12px; line-height: 1.7; color: #2E4057; }
.visit-list dd strong { color: var(--ink); }
.visit-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

@media (max-width: 1180px) {
  .contact-hero__grid { grid-template-columns: minmax(0, 1fr) 420px; gap: 40px; }
  .visit-grid { gap: 40px; }
}

@media (max-width: 1024px) {
  .contact-hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-page-hero .contact-form { position: static; max-width: 640px; }
  .channel-grid { max-width: 640px; }
  .visit-grid { grid-template-columns: 1fr; gap: 34px; }
  .visit-grid .about-photo { height: 320px; }
  .care-steps--three { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .contact-page-hero { padding-bottom: 56px; }
  .channel-grid { grid-template-columns: 1fr; }
  .care-steps--three { grid-template-columns: 1fr; }
  .visit-grid .about-photo { height: 270px; }
  .contact-hero__qr { align-items: flex-start; }
}

@media (max-width: 560px) {
  .contact-hero__grid { margin-top: 18px; }
  .contact-hero__intro h1 { font-size: 32px; }
  .visit-list div { grid-template-columns: 72px 1fr; gap: 12px; }
}

/* =========================================================
   18. Legal pages
   ========================================================= */
.legal-hero {
  position: relative;
  padding: 36px 0 46px;
  background: linear-gradient(180deg, #F8FBFF 0%, #F1F6FD 100%);
  border-bottom: 1px solid rgba(223, 232, 242, .8);
  overflow: hidden;
}
.legal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(19, 39, 67, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 39, 67, .045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 80% 80% at 40% 30%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 40% 30%, #000, transparent 75%);
  pointer-events: none;
}
.legal-hero > .container { position: relative; }
.legal-hero h1 {
  margin-top: 16px;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.2;
  letter-spacing: -.03em;
  font-weight: 800;
  color: var(--ink);
}
.legal-hero p {
  margin-top: 12px;
  max-width: 700px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}
.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 20px;
  font-size: 11px;
  color: var(--muted-2);
}
.legal-meta span { display: inline-flex; align-items: center; gap: 5px; }
.legal-meta .icon { width: 12px; height: 12px; }

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 64px;
  align-items: start;
  padding: 64px 0 88px;
}
.legal-content { max-width: 780px; }
.legal-content h2 {
  margin: 38px 0 12px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 21px;
  line-height: 1.4;
  letter-spacing: -.01em;
  font-weight: 700;
  color: var(--ink);
}
.legal-content h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-content h3 { margin: 20px 0 8px; font-size: 15px; font-weight: 700; color: var(--ink); }
.legal-content p { margin-top: 10px; font-size: 13.5px; line-height: 1.95; color: #405168; }
.legal-content ul { display: flex; flex-direction: column; gap: 7px; margin-top: 10px; }
.legal-content li { position: relative; padding-left: 18px; font-size: 13.5px; line-height: 1.8; color: #405168; }
.legal-content li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 4px; height: 4px; border-radius: 50%; background: #9DB4D2; }
.legal-content a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.legal-note {
  margin-top: 22px;
  padding: 15px 17px;
  border-left: 3px solid var(--brand);
  border-radius: 0 8px 8px 0;
  background: #F5F9FF;
  font-size: 12px;
  line-height: 1.8;
  color: #405168;
}
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 16px; }
.legal-toc .aside-card { padding: 22px; }
.legal-toc .article-toc a { font-size: 10.5px; }
.legal-contact-card { background: var(--soft); }
.legal-contact-card p { margin-top: 8px; font-size: 11px; line-height: 1.7; color: var(--muted); }
.legal-contact-card a { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 11px; color: var(--ink); font-weight: 500; }
.legal-contact-card .icon { width: 13px; height: 13px; color: var(--brand); }

@media (max-width: 1024px) {
  .legal-layout { grid-template-columns: 1fr; gap: 36px; padding: 48px 0 64px; }
  .legal-toc { position: static; display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .legal-toc .aside-card:first-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .legal-content h2 { font-size: 19px; }
  .legal-toc { grid-template-columns: 1fr; }
}

/* =========================================================
   16. Responsive additions
   ========================================================= */
@media (max-width: 1024px) {
  .catalog-grid { grid-template-columns: 1fr 1fr; }
  .about-story { grid-template-columns: 1fr; gap: 36px; }
  .about-photo { height: 360px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 26px; }
  .timeline::before { display: none; }
  .news-feature { grid-template-columns: 1fr; }
  .news-feature__media { min-height: 280px; max-height: 320px; }
  .news-grid--listing { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .catalog-grid { grid-template-columns: 1fr; }
  .about-photo { height: 300px; }
  .about-story__facts { padding: 20px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 22px; }
  .timeline__item { padding-left: 24px; padding-top: 0; }
  .timeline__item::before { top: 4px; }
  .news-feature__body { padding: 24px; }
  .news-feature h2 { font-size: 21px; }
  .news-toolbar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .news-grid--listing { grid-template-columns: 1fr; }
  .news-card--lead { grid-column: auto; flex-direction: column; }
  .news-card--lead .news-card__visual { width: 100%; min-height: 200px; height: 200px; }
  .news-card--lead .news-card__body { width: 100%; padding: 22px 56px 22px 22px; }
  .news-card--lead h3 { font-size: 18px; }
}

@media (max-width: 560px) {
  .team-grid { grid-template-columns: 1fr; }
  .about-photo { height: 240px; }
  .news-feature__media { min-height: 200px; }
}

/* CMS dynamic additions */
.pagination-wrap{margin-top:28px}
.pagination-wrap .pagination{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin:0;padding:0;list-style:none}
.pagination-wrap .pagination li{list-style:none}
.pagination-wrap .pagination a,.pagination-wrap .pagination span{display:inline-flex;min-width:38px;height:38px;align-items:center;justify-content:center;padding:0 10px;border:1px solid #e5ebf3;border-radius:9px;background:#fff;color:#34465c;font-size:14px;text-decoration:none}
.pagination-wrap .pagination .active span{background:#1f5eff;border-color:#1f5eff;color:#fff}
.pagination-wrap .pagination .disabled span{opacity:.45}
.form-field.has-error input,.form-field.has-error select,.form-field.has-error textarea{border-color:#dc2626!important;box-shadow:0 0 0 3px rgba(220,38,38,.08)}
.form-field .field-error{display:block;color:#c0392b;font-size:12px;margin-top:5px;min-height:1px}
.form-success[hidden]{display:none!important}
@media (max-width:760px){.contact__grid{grid-template-columns:1fr!important}.form-row{grid-template-columns:1fr!important}}
