:root {
  --v6-ink: #0a1930;
  --v6-muted: #5d6f84;
  --v6-line: #d8e2ec;
  --v6-soft: #f3f7fa;
  --v6-blue: #0878d1;
  --v6-orange: #f06423;
}

/* Frame the verified Xiqing project photo around the stage, not the lighting rig. */
.page-cases .case-spotlight-media {
  position: relative;
  aspect-ratio: 2 / 1;
  min-height: 0;
  border-radius: 6px;
  background: #081a2c;
}

.page-cases .case-spotlight-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top: 4px solid #1688e8;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(4, 18, 34, 0.08), transparent 28%, rgba(4, 18, 34, 0.08));
  pointer-events: none;
}

.page-cases .case-spotlight-media img {
  display: block;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center 74%;
  filter: saturate(0.96) contrast(1.04) brightness(1.02);
}

@media (max-width: 720px) {
  .page-cases .case-spotlight-media {
    aspect-ratio: 16 / 10;
  }

  .page-cases .case-spotlight-media img {
    object-position: center 70%;
  }
}

.v6-page { color: var(--v6-ink); background: #fff; }
.v6-page *, .v6-page *::before, .v6-page *::after { box-sizing: border-box; }
.v6-page h1, .v6-page h2, .v6-page h3, .v6-page p { overflow-wrap: anywhere; }
.v6-kicker { display: block; margin-bottom: 16px; color: var(--v6-blue); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.v6-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--v6-blue); font-weight: 800; text-decoration: none; }
.v6-arrow::after { content: "→"; transition: transform .2s ease; }
.v6-arrow:hover::after { transform: translateX(4px); }

.v6-hero {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #0b1c31;
}
.v6-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v6-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,18,34,.94) 0%, rgba(6,18,34,.78) 38%, rgba(6,18,34,.16) 72%, rgba(6,18,34,.04) 100%); }
.v6-hero-copy { position: relative; z-index: 1; width: min(760px, 92vw); margin-left: max(5vw, calc((100vw - 1500px) / 2)); padding: 100px 0 80px; color: #fff; }
.v6-hero-copy .crumbs { color: rgba(255,255,255,.7); }
.v6-hero-copy .v6-kicker { color: #63baf6; }
.v6-hero-copy h1 { margin: 0 0 24px; max-width: 720px; color: #fff; font-size: clamp(46px, 5.2vw, 78px); line-height: 1.08; }
.v6-hero-copy p { margin: 0 0 34px; max-width: 650px; color: rgba(255,255,255,.82); font-size: 18px; line-height: 1.85; }
.v6-hero .button.secondary { color: #fff; border-color: rgba(255,255,255,.5); background: rgba(0,0,0,.15); }

.v6-section { padding: 84px max(5vw, calc((100vw - 1500px) / 2)); }
.v6-section.alt { background: var(--v6-soft); }
.v6-section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 1.15fr); gap: 70px; align-items: end; margin-bottom: 42px; }
.v6-section-head h2 { margin: 0; font-size: clamp(34px, 3.6vw, 54px); line-height: 1.15; }
.v6-section-head p { margin: 0; max-width: 720px; color: var(--v6-muted); font-size: 17px; line-height: 1.8; }

.v6-scene-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.v6-scene { position: relative; min-height: 390px; grid-column: span 4; overflow: hidden; border-radius: 6px; background: #13253b; color: #fff; text-decoration: none; }
.v6-scene:first-child { grid-column: span 7; }
.v6-scene:nth-child(2) { grid-column: span 5; }
.v6-scene img { width: 100%; height: 100%; min-height: 390px; object-fit: cover; transition: transform .35s ease; }
.v6-scene:hover img { transform: scale(1.025); }
.v6-scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,17,31,.92), rgba(5,17,31,.05) 66%); }
.v6-scene-copy { position: absolute; z-index: 1; left: 26px; right: 26px; bottom: 24px; }
.v6-scene-copy span { color: #79c6fb; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.v6-scene-copy h3 { margin: 9px 0 8px; color: #fff; font-size: 27px; }
.v6-scene-copy p { margin: 0; max-width: 560px; color: rgba(255,255,255,.78); line-height: 1.65; }

.v6-chain { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--v6-line); border-bottom: 1px solid var(--v6-line); }
.v6-chain article { position: relative; min-height: 190px; padding: 30px 26px; border-right: 1px solid var(--v6-line); }
.v6-chain article:last-child { border-right: 0; }
.v6-chain span { color: var(--v6-blue); font-size: 13px; font-weight: 800; }
.v6-chain h3 { margin: 26px 0 10px; font-size: 23px; }
.v6-chain p { margin: 0; color: var(--v6-muted); line-height: 1.7; }

.v6-product-groups { display: grid; gap: 56px; }
.v6-product-group { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 46px; padding-top: 32px; border-top: 1px solid var(--v6-line); }
.v6-product-group-head span { color: var(--v6-blue); font-size: 12px; font-weight: 800; }
.v6-product-group-head h3 { margin: 9px 0 12px; font-size: 28px; }
.v6-product-group-head p { margin: 0; color: var(--v6-muted); line-height: 1.7; }
.v6-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.v6-product { min-width: 0; color: var(--v6-ink); text-decoration: none; background: #fff; border: 1px solid var(--v6-line); border-radius: 6px; overflow: hidden; }
.v6-product img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #edf3f7; }
.v6-product-copy { padding: 22px; }
.v6-product-copy small { color: var(--v6-blue); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.v6-product-copy h4 { margin: 8px 0; font-size: 22px; }
.v6-product-copy p { margin: 0; color: var(--v6-muted); line-height: 1.65; }

.v6-catalog-hero { display: grid; grid-template-columns: minmax(0, .78fr) minmax(520px, 1.22fr); min-height: 570px; background: var(--v6-soft); }
.v6-catalog-copy { display: flex; flex-direction: column; justify-content: center; padding: 80px 7vw; }
.v6-catalog-copy h1 { margin: 0 0 22px; font-size: clamp(46px, 4vw, 64px); line-height: 1.08; }
.v6-catalog-copy p { margin: 0 0 30px; max-width: 620px; color: var(--v6-muted); font-size: 18px; line-height: 1.8; }
.v6-catalog-visual img { width: 100%; height: 100%; min-height: 570px; object-fit: cover; }
.v6-jump { position: sticky; top: 84px; z-index: 5; display: flex; gap: 0; overflow-x: auto; padding: 0 max(5vw, calc((100vw - 1500px) / 2)); background: #fff; border-bottom: 1px solid var(--v6-line); }
.v6-jump a { flex: 0 0 auto; padding: 20px 24px; color: var(--v6-muted); font-weight: 700; text-decoration: none; border-bottom: 3px solid transparent; }
.v6-jump a:hover { color: var(--v6-blue); border-color: var(--v6-blue); }
.v6-catalog-group { padding: 78px max(5vw, calc((100vw - 1500px) / 2)); scroll-margin-top: 150px; }
.v6-catalog-group:nth-of-type(even) { background: var(--v6-soft); }
.v6-catalog-group-head { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr); gap: 60px; align-items: end; margin-bottom: 34px; }
.v6-catalog-group-head h2 { margin: 0; font-size: clamp(34px, 3.4vw, 50px); }
.v6-catalog-group-head p { margin: 0; max-width: 650px; color: var(--v6-muted); font-size: 17px; line-height: 1.8; }
.v6-catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.v6-catalog-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.v6-catalog-card { position: relative; min-width: 0; min-height: 460px; overflow: hidden; border-radius: 6px; color: #fff; text-decoration: none; background: #10233a; }
.v6-catalog-card img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; transition: transform .35s ease; }
.v6-catalog-card:hover img { transform: scale(1.025); }
.v6-catalog-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,16,29,.96), rgba(5,16,29,.08) 66%); }
.v6-catalog-card-copy { position: absolute; z-index: 1; left: 26px; right: 26px; bottom: 25px; }
.v6-catalog-card-copy small { color: #76c5fb; font-weight: 800; text-transform: uppercase; }
.v6-catalog-card-copy h3 { margin: 9px 0 9px; color: #fff; font-size: 27px; }
.v6-catalog-card-copy p { margin: 0; color: rgba(255,255,255,.78); line-height: 1.65; }

.v6-cta { display: flex; align-items: center; justify-content: space-between; gap: 50px; padding: 64px max(5vw, calc((100vw - 1500px) / 2)); color: #fff; background: #0b1c31; }
.v6-cta h2 { margin: 5px 0 10px; color: #fff; font-size: clamp(32px, 3vw, 46px); }
.v6-cta p { margin: 0; color: rgba(255,255,255,.72); }
.v6-cta .button.secondary { color: #fff; border-color: rgba(255,255,255,.45); background: transparent; }

@media (max-width: 1100px) {
  .v6-section-head, .v6-catalog-group-head { grid-template-columns: 1fr; gap: 18px; }
  .v6-product-group { grid-template-columns: 1fr; gap: 22px; }
  .v6-catalog-hero { grid-template-columns: 1fr; }
  .v6-catalog-visual img { min-height: 420px; }
  .v6-products, .v6-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .v6-hero { min-height: 620px; align-items: end; }
  .v6-hero > img { object-position: 62% center; }
  .v6-hero::after { background: linear-gradient(0deg, rgba(6,18,34,.96), rgba(6,18,34,.5)); }
  .v6-hero-copy { width: auto; margin: 0; padding: 88px 22px 38px; }
  .v6-hero-copy h1, .v6-catalog-copy h1 { font-size: 40px; }
  .v6-hero-copy p, .v6-catalog-copy p { font-size: 16px; }
  .v6-section, .v6-catalog-group { padding: 58px 20px; }
  .v6-scene-grid { display: grid; grid-template-columns: 1fr; }
  .v6-scene, .v6-scene:first-child, .v6-scene:nth-child(2) { grid-column: auto; min-height: 330px; }
  .v6-scene img { min-height: 330px; }
  .v6-chain { grid-template-columns: 1fr; }
  .v6-chain article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--v6-line); }
  .v6-chain article:last-child { border-bottom: 0; }
  .v6-products, .v6-catalog-grid, .v6-catalog-grid.two { grid-template-columns: 1fr; }
  .v6-catalog-copy { padding: 70px 20px 42px; }
  .v6-catalog-visual img { min-height: 320px; }
  .v6-jump { top: 66px; padding: 0 10px; }
  .v6-jump a { padding: 17px 14px; font-size: 14px; }
  .v6-catalog-card, .v6-catalog-card img { min-height: 390px; }
  .v6-cta { align-items: flex-start; flex-direction: column; padding: 52px 20px; }
}

/* Unified secondary-page refinement. Loaded after the legacy page styles. */
body:not(.home-page) main {
  color: var(--v6-ink);
  background: #fff;
}

body:not(.home-page) main :where(h1, h2, h3, h4, p, li, strong, span, a) {
  min-width: 0;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

body:not(.home-page) :where(.section, .product-detail-rich, .solution-detail-section) {
  padding-top: 76px !important;
  padding-bottom: 76px !important;
}

body:not(.home-page) :where(.section-title, .solution-section-head) {
  width: 100%;
  max-width: 900px;
  margin-bottom: 36px;
}

body:not(.home-page) :where(.section-title, .solution-section-head) h2 {
  margin: 8px 0 12px;
  font-size: clamp(34px, 3.4vw, 50px) !important;
  line-height: 1.15 !important;
}

body:not(.home-page) :where(.section-title, .solution-section-head) p {
  max-width: 760px;
  margin: 0;
  color: var(--v6-muted) !important;
  font-size: 17px;
  line-height: 1.8;
}

/* Product details: one product thesis, one image, then grouped evidence. */
body[class*="page-product-"]:not(.page-product-lingdong):not(.page-product-holographic):not(.page-product-tripod) .product-detail-v2 {
  display: grid !important;
  grid-template-columns: minmax(0, .82fr) minmax(560px, 1.18fr) !important;
  min-height: 560px !important;
  background: var(--v6-soft) !important;
  border-bottom: 1px solid var(--v6-line);
  overflow: hidden;
}

body[class*="page-product-"]:not(.page-product-lingdong):not(.page-product-holographic):not(.page-product-tripod) .product-detail-v2 > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px max(38px, calc((100vw - 1500px) / 2)) !important;
}

body[class*="page-product-"]:not(.page-product-lingdong):not(.page-product-holographic):not(.page-product-tripod) .product-detail-v2 h1 {
  max-width: 680px;
  margin: 10px 0 12px;
  font-size: clamp(44px, 4.6vw, 66px) !important;
  line-height: 1.06 !important;
}

body[class*="page-product-"]:not(.page-product-lingdong):not(.page-product-holographic):not(.page-product-tripod) .product-detail-v2 p {
  max-width: 650px;
  color: var(--v6-muted);
  font-size: 17px;
  line-height: 1.75;
}

body[class*="page-product-"]:not(.page-product-lingdong):not(.page-product-holographic):not(.page-product-tripod) .product-detail-v2 > img {
  display: block;
  width: 100% !important;
  height: 560px !important;
  min-height: 560px !important;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center;
  background: #eaf0f5;
}

body.page-product-dream-factory .product-detail-v2 > img {
  padding: clamp(28px, 4vw, 64px) !important;
  object-fit: contain !important;
}

body[class*="page-product-"] .product-detail-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  padding: 0 max(5vw, calc((100vw - 1500px) / 2)) !important;
  background: #fff !important;
  border-top: 1px solid var(--v6-line);
  border-bottom: 1px solid var(--v6-line);
}

body[class*="page-product-"] .product-detail-grid article {
  min-height: 176px !important;
  padding: 34px 30px !important;
  border: 0 !important;
  border-right: 1px solid var(--v6-line) !important;
  background: transparent !important;
}

body[class*="page-product-"] .product-detail-grid article:last-child { border-right: 0 !important; }
body[class*="page-product-"] .product-detail-grid h2 { margin: 0 0 12px; font-size: 23px !important; }
body[class*="page-product-"] .product-detail-grid p { margin: 0; color: var(--v6-muted); line-height: 1.7; }

body[class*="page-product-"] .product-detail-rich {
  padding-left: max(5vw, calc((100vw - 1500px) / 2)) !important;
  padding-right: max(5vw, calc((100vw - 1500px) / 2)) !important;
}

body[class*="page-product-"] .product-detail-rich:nth-of-type(even) { background: var(--v6-soft) !important; }

body[class*="page-product-"] :where(.detail-two-col, .industry-lane-grid) {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 20px !important;
}

body[class*="page-product-"] :where(.detail-panel, .detail-media-card, .industry-lane) {
  border: 1px solid var(--v6-line) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  overflow: hidden;
  background: #fff !important;
}

body[class*="page-product-"] .detail-panel { padding: 30px !important; }
body[class*="page-product-"] .detail-panel h3 { margin-top: 0; font-size: 25px; }
body[class*="page-product-"] .detail-panel li { color: var(--v6-muted); line-height: 1.7; }
body[class*="page-product-"] .detail-media-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

body[class*="page-product-"] .industry-lane { display: grid !important; grid-template-rows: 290px auto; }
body[class*="page-product-"] .industry-lane > img { width: 100%; height: 290px !important; object-fit: cover; }
body[class*="page-product-"] .industry-lane > div { padding: 28px !important; }

body[class*="page-product-"] .detail-flow {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 0 !important;
  border-top: 1px solid var(--v6-line);
  border-bottom: 1px solid var(--v6-line);
}

body[class*="page-product-"] .detail-flow article {
  min-height: 170px;
  padding: 28px 24px !important;
  border: 0 !important;
  border-right: 1px solid var(--v6-line) !important;
  background: transparent !important;
}

body[class*="page-product-"] .detail-flow article:last-child { border-right: 0 !important; }
body[class*="page-product-"] .detail-flow span { color: var(--v6-blue); font-size: 13px; font-weight: 800; }
body[class*="page-product-"] .detail-flow strong { display: block; margin-top: 28px; font-size: 21px; }

/* Solutions: use the same planning language on every detail page. */
.solution-detail-hero {
  display: grid !important;
  grid-template-columns: minmax(0, .82fr) minmax(560px, 1.18fr) !important;
  min-height: 560px !important;
  overflow: hidden;
  background: var(--v6-soft) !important;
}

.solution-detail-hero-copy { padding: 64px max(38px, calc((100vw - 1500px) / 2)) !important; }
.solution-detail-hero h1 { font-size: clamp(44px, 4.6vw, 66px) !important; line-height: 1.07 !important; }
.solution-detail-hero figure,
.solution-detail-hero figure img { width: 100%; height: 560px !important; min-height: 560px !important; }
.solution-detail-hero figure img { object-fit: cover; }

.solution-detail-nav {
  position: sticky;
  top: 80px;
  z-index: 4;
  background: rgba(255,255,255,.98);
}

.solution-story-grid { grid-template-columns: minmax(260px, .65fr) minmax(0, 1.35fr) !important; gap: 72px !important; }
.solution-point-list article,
.solution-outcome-row article { background: transparent !important; }
.solution-architecture img { border-radius: 6px; aspect-ratio: 16 / 10; object-fit: cover; }
.solution-product-line { gap: 18px !important; }
.solution-product-line a { border-radius: 6px; overflow: hidden; }
.solution-product-line img { margin: -28px -28px 22px; width: calc(100% + 56px); aspect-ratio: 16 / 10; }

/* Utility pages keep the same scale, spacing and visual hierarchy. */
:where(.page-cases, .page-content, .page-downloads, .page-contact, .page-about, .page-partner) .page-hero {
  min-height: 410px !important;
  padding-top: 70px !important;
  padding-bottom: 70px !important;
}

:where(.page-cases, .page-content, .page-downloads, .page-contact, .page-about, .page-partner) .page-hero h1 {
  max-width: 820px;
  font-size: clamp(44px, 4.6vw, 64px) !important;
  line-height: 1.08 !important;
}

body.lang-en .product-detail-v2 h1,
body.lang-ru .product-detail-v2 h1,
body.lang-en .solution-detail-hero h1,
body.lang-ru .solution-detail-hero h1 {
  max-width: 100%;
  font-size: clamp(38px, 3.7vw, 56px) !important;
  line-height: 1.08 !important;
}

body.lang-en .product-detail-v2 > div,
body.lang-ru .product-detail-v2 > div,
body.lang-en .solution-detail-hero-copy,
body.lang-ru .solution-detail-hero-copy { padding-right: 44px !important; }

@media (max-width: 1040px) {
  body[class*="page-product-"]:not(.page-product-lingdong):not(.page-product-holographic):not(.page-product-tripod) .product-detail-v2,
  .solution-detail-hero { grid-template-columns: 1fr !important; }

  body[class*="page-product-"]:not(.page-product-lingdong):not(.page-product-holographic):not(.page-product-tripod) .product-detail-v2 > div,
  .solution-detail-hero-copy { padding: 52px 28px !important; }

  body[class*="page-product-"]:not(.page-product-lingdong):not(.page-product-holographic):not(.page-product-tripod) .product-detail-v2 > img,
  .solution-detail-hero figure,
  .solution-detail-hero figure img { height: 430px !important; min-height: 430px !important; }

  body[class*="page-product-"] .detail-flow { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .solution-story-grid { grid-template-columns: 1fr !important; gap: 34px !important; }
}

@media (max-width: 760px) {
  body:not(.home-page) :where(.section, .product-detail-rich, .solution-detail-section) { padding: 54px 20px !important; }

  body[class*="page-product-"]:not(.page-product-lingdong):not(.page-product-holographic):not(.page-product-tripod) .product-detail-v2 h1,
  .solution-detail-hero h1,
  body.lang-en .product-detail-v2 h1,
  body.lang-ru .product-detail-v2 h1 { font-size: 38px !important; }

  body[class*="page-product-"]:not(.page-product-lingdong):not(.page-product-holographic):not(.page-product-tripod) .product-detail-v2 > img,
  .solution-detail-hero figure,
  .solution-detail-hero figure img { height: 300px !important; min-height: 300px !important; }

  body[class*="page-product-"] .product-detail-grid,
  body[class*="page-product-"] :where(.detail-two-col, .industry-lane-grid),
  body[class*="page-product-"] .detail-flow { grid-template-columns: 1fr !important; }

  body[class*="page-product-"] .product-detail-grid article,
  body[class*="page-product-"] .detail-flow article { min-height: 0 !important; border-right: 0 !important; border-bottom: 1px solid var(--v6-line) !important; }

  body[class*="page-product-"] .product-detail-grid article:last-child,
  body[class*="page-product-"] .detail-flow article:last-child { border-bottom: 0 !important; }

  .solution-detail-nav { top: 66px; display: flex !important; overflow-x: auto; padding: 0 8px !important; }
  .solution-detail-nav a { flex: 0 0 auto; padding: 17px 15px !important; }
}

/* Education digital platforms: software products are grouped by school workflow. */
.edu-platform-entry { background: #fff; }
.edu-platform-entry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--v6-line);
  border-bottom: 1px solid var(--v6-line);
}
.edu-platform-entry-grid > a {
  min-width: 0;
  padding: 0 22px 28px;
  border-right: 1px solid var(--v6-line);
  color: var(--v6-ink);
  text-decoration: none;
}
.edu-platform-entry-grid > a:first-child { padding-left: 0; }
.edu-platform-entry-grid > a:last-child { padding-right: 0; border-right: 0; }
.edu-platform-entry-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 22px;
  object-fit: cover;
  border-radius: 4px;
  background: #eaf1f7;
}
.edu-platform-entry-grid span,
.edu-platform-index {
  color: var(--v6-blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.edu-platform-entry-grid h3 { margin: 9px 0 8px; font-size: 24px; line-height: 1.25; }
.edu-platform-entry-grid p { margin: 0; color: var(--v6-muted); line-height: 1.7; }
.edu-platform-entry-action { display: flex; justify-content: flex-end; margin-top: 28px; }
.edu-catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.edu-catalog-grid .v6-catalog-card h3 { font-size: 25px; }

.edu-platform-page { color: var(--v6-ink); background: #fff; }
.edu-platform-hero {
  display: grid;
  grid-template-columns: minmax(420px, .78fr) minmax(640px, 1.22fr);
  min-height: 650px;
  background: #eef5fb;
}
.edu-platform-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 58px 72px max(5vw, calc((100vw - 1500px) / 2));
}
.edu-platform-hero-copy h1 {
  margin: 18px 0 22px;
  font-size: clamp(52px, 5vw, 76px);
  line-height: 1.04;
}
.edu-platform-hero-copy > p {
  max-width: 650px;
  margin: 0 0 32px;
  color: var(--v6-muted);
  font-size: 18px;
  line-height: 1.85;
}
.edu-platform-hero-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  min-width: 0;
  background: #fff;
}
.edu-platform-hero-media img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.edu-platform-jump {
  position: sticky;
  top: 80px;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0 max(5vw, calc((100vw - 1500px) / 2));
  border-bottom: 1px solid var(--v6-line);
  background: rgba(255,255,255,.98);
}
.edu-platform-jump a {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 2px 12px;
  padding: 22px 24px;
  border-right: 1px solid var(--v6-line);
  color: var(--v6-ink);
  text-decoration: none;
}
.edu-platform-jump a:first-child { border-left: 1px solid var(--v6-line); }
.edu-platform-jump span { grid-row: 1 / span 2; color: var(--v6-blue); font-size: 13px; font-weight: 800; }
.edu-platform-jump strong { font-size: 16px; }
.edu-platform-jump small { color: var(--v6-muted); font-size: 12px; }
.edu-platform-chapter {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(480px, .95fr);
  gap: clamp(44px, 6vw, 96px);
  align-items: center;
  padding: 92px max(5vw, calc((100vw - 1500px) / 2));
  border-bottom: 1px solid var(--v6-line);
}
.edu-platform-chapter:nth-of-type(even) { background: #f5f8fb; }
.edu-platform-chapter.reverse .edu-platform-media { order: 2; }
.edu-platform-media { min-width: 0; }
.edu-platform-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 24px 58px rgba(20,52,84,.14);
}
.edu-platform-copy h2 { margin: 13px 0 20px; font-size: clamp(38px, 3.8vw, 58px); line-height: 1.08; }
.edu-platform-lead { margin: 0 0 28px; color: var(--v6-muted); font-size: 18px; line-height: 1.85; }
.edu-platform-capabilities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--v6-line);
  border-left: 1px solid var(--v6-line);
}
.edu-platform-capabilities article { min-height: 132px; padding: 20px; border-right: 1px solid var(--v6-line); border-bottom: 1px solid var(--v6-line); }
.edu-platform-capabilities strong { display: block; margin-bottom: 8px; font-size: 17px; }
.edu-platform-capabilities p { margin: 0; color: var(--v6-muted); line-height: 1.65; }
.edu-platform-use { margin: 24px 0 0; color: var(--v6-muted); line-height: 1.75; }
.edu-platform-use b { color: var(--v6-ink); }
.edu-platform-position {
  margin: 0 0 24px;
  padding: 20px 22px;
  border-left: 3px solid var(--v6-blue);
  background: #edf5fc;
}
.edu-platform-position span { display: block; margin-bottom: 8px; color: var(--v6-blue); font-size: 12px; font-weight: 800; }
.edu-platform-position strong { display: block; margin-bottom: 8px; font-size: 18px; }
.edu-platform-position p { margin: 0; color: var(--v6-muted); line-height: 1.7; }
.edu-platform-system {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(280px, .62fr) minmax(0, 1.38fr);
  gap: 48px;
  align-items: end;
  margin-top: 6px;
  padding-top: 38px;
  border-top: 1px solid var(--v6-line);
}
.edu-platform-system h3 { margin: 10px 0 12px; font-size: 30px; }
.edu-platform-system > div > p { margin: 0; color: var(--v6-muted); line-height: 1.75; }
.edu-platform-system ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--v6-line); }
.edu-platform-system li { min-height: 138px; padding: 18px 16px; border-right: 1px solid var(--v6-line); border-bottom: 1px solid var(--v6-line); }
.edu-platform-system li:first-child { border-left: 1px solid var(--v6-line); }
.edu-platform-system li span { color: var(--v6-blue); font-size: 12px; font-weight: 800; }
.edu-platform-system li strong { display: block; margin: 18px 0 8px; font-size: 17px; }
.edu-platform-system li small { display: block; color: var(--v6-muted); font-size: 13px; line-height: 1.55; }
.edu-platform-delivery {
  display: grid;
  grid-template-columns: minmax(300px, .65fr) minmax(0, 1.35fr);
  gap: 72px;
  padding: 92px max(5vw, calc((100vw - 1500px) / 2));
  background: #0b1d33;
  color: #fff;
}
.edu-platform-delivery h2 { margin: 14px 0 18px; color: #fff; font-size: clamp(36px, 3.5vw, 52px); line-height: 1.12; }
.edu-platform-delivery > div > p { color: rgba(255,255,255,.68); line-height: 1.8; }
.edu-platform-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.18); }
.edu-platform-flow article { padding: 24px 20px; border-right: 1px solid rgba(255,255,255,.18); }
.edu-platform-flow article:last-child { border-right: 0; }
.edu-platform-flow span { color: #57b7f5; font-size: 13px; font-weight: 800; }
.edu-platform-flow strong { display: block; margin: 24px 0 10px; font-size: 20px; }
.edu-platform-flow p { margin: 0; color: rgba(255,255,255,.65); line-height: 1.65; }
.edu-platform-cta { margin: 0 !important; }

body.lang-en .edu-platform-copy h2,
body.lang-ru .edu-platform-copy h2 { font-size: clamp(34px, 3.1vw, 48px); }
body.lang-ru .edu-platform-hero-copy h1 {
  font-size: clamp(42px, 3.35vw, 58px);
  hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}
body.lang-en .edu-platform-jump strong,
body.lang-ru .edu-platform-jump strong { font-size: 14px; }

/* Company profile and brochure-sourced project highlights */
.footer-brand-block strong a { color: inherit; text-decoration: none; }
.footer-brand-block strong a:hover { color: var(--v6-blue); }
.about-company-profile { grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr) !important; }
.about-profile-facts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
  border-top: 1px solid var(--v6-line);
  border-left: 1px solid var(--v6-line);
}
.about-profile-facts div { min-height: 132px; padding: 26px 28px; border-right: 1px solid var(--v6-line); border-bottom: 1px solid var(--v6-line); }
.about-profile-facts strong { display: block; margin-bottom: 10px; color: var(--v6-blue); font-size: 34px; line-height: 1; }
.about-profile-facts span { color: var(--v6-muted); font-size: 14px; }
.about-location-band {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  align-items: end;
  padding: 74px max(5vw, calc((100vw - 1500px) / 2));
  background: #0b1d33;
  color: #fff;
}
.about-location-band h2 { margin: 12px 0 14px; color: #fff; font-size: clamp(34px, 3.6vw, 52px); }
.about-location-band p { max-width: 840px; margin: 0; color: rgba(255,255,255,.7); font-size: 18px; line-height: 1.75; }
.about-location-band .button.secondary { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.about-capability-section { padding: 96px max(5vw, calc((100vw - 1500px) / 2)) !important; }
.about-capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 46px; border-top: 1px solid var(--v6-line); border-left: 1px solid var(--v6-line); }
.about-capability-grid article { min-height: 220px; padding: 28px; border-right: 1px solid var(--v6-line); border-bottom: 1px solid var(--v6-line); }
.about-capability-grid span { color: var(--v6-blue); font-size: 12px; font-weight: 800; }
.about-capability-grid h3 { margin: 42px 0 12px; font-size: 24px; }
.about-capability-grid p { margin: 0; color: var(--v6-muted); line-height: 1.75; }
.about-industry-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 44px; border-top: 1px solid var(--v6-line); border-left: 1px solid var(--v6-line); }
.about-industry-grid a { min-height: 280px; padding: 38px; border-right: 1px solid var(--v6-line); border-bottom: 1px solid var(--v6-line); color: var(--v6-ink); text-decoration: none; }
.about-industry-grid a:first-child { background: #eef5fb; }
.about-industry-grid span { color: var(--v6-blue); font-size: 12px; font-weight: 800; }
.about-industry-grid h3 { margin: 70px 0 16px; font-size: 32px; }
.about-industry-grid p { margin: 0; color: var(--v6-muted); font-size: 16px; line-height: 1.8; }

.page-cases .case-page-hero .eyebrow { color: var(--v6-blue); }
.case-domain-section { padding: 94px max(5vw, calc((100vw - 1500px) / 2)) !important; }
.education-cases-section { background: #f4f8fb !important; }
.case-domain-head { display: flex; justify-content: space-between; gap: 48px; align-items: end; margin-bottom: 44px; }
.case-domain-head h2 { margin: 10px 0 0; font-size: clamp(38px, 4vw, 56px); }
.case-domain-head > p { max-width: 560px; margin: 0; color: var(--v6-muted); font-size: 17px; line-height: 1.8; }
.case-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.case-feature-card { overflow: hidden; border: 1px solid var(--v6-line); border-radius: 6px; background: #fff; }
.case-feature-card > img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #dfe7ef; }
.case-feature-card > div { padding: 28px; }
.case-feature-card h3 { margin: 12px 0 14px; font-size: 26px; line-height: 1.25; }
.case-feature-card p { min-height: 58px; margin: 0; color: var(--v6-muted); line-height: 1.75; }
.case-feature-card dl { display: grid; grid-template-columns: 1fr 1fr; margin: 24px 0 0; border-top: 1px solid var(--v6-line); }
.case-feature-card dl div { padding: 18px 16px 0 0; }
.case-feature-card dt { margin-bottom: 6px; color: var(--v6-muted); font-size: 12px; }
.case-feature-card dd { margin: 0; font-weight: 700; line-height: 1.45; }
.case-feature-card-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr); }
.case-feature-card-wide > img { height: 100%; min-height: 390px; aspect-ratio: auto; }
.case-feature-card-wide > div { display: flex; flex-direction: column; justify-content: center; }
.case-source-note { margin: 30px 0 0; color: var(--v6-muted); font-size: 13px; }
body.lang-en .case-feature-card h3,
body.lang-ru .case-feature-card h3 { font-size: 23px; }
body.lang-ru .about-v4-hero h1 { font-size: clamp(42px, 4vw, 62px) !important; }

@media (max-width: 1160px) {
  .edu-platform-entry-grid,
  .edu-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .edu-platform-entry-grid > a { padding: 24px; border-bottom: 1px solid var(--v6-line); }
  .edu-platform-entry-grid > a:first-child { padding-left: 24px; }
  .edu-platform-entry-grid > a:last-child { padding-right: 24px; }
  .edu-platform-hero { grid-template-columns: 1fr; }
  .edu-platform-hero-copy { padding: 64px 36px; }
  .edu-platform-hero-media { min-height: 560px; }
  .edu-platform-chapter { grid-template-columns: 1fr; }
  .edu-platform-chapter.reverse .edu-platform-media { order: 0; }
  .edu-platform-delivery { grid-template-columns: 1fr; gap: 36px; }
  .edu-platform-system { grid-template-columns: 1fr; gap: 24px; }
  .edu-platform-system ol { grid-template-columns: repeat(5, minmax(150px, 1fr)); overflow-x: auto; }
  .about-company-profile { grid-template-columns: 1fr !important; }
  .about-profile-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .edu-platform-entry-grid,
  .edu-catalog-grid { grid-template-columns: 1fr !important; }
  .edu-platform-entry-grid > a { border-right: 0; }
  .edu-platform-entry-action { justify-content: stretch; }
  .edu-platform-entry-action .button { width: 100%; text-align: center; }
  .edu-platform-hero { min-height: 0; }
  .edu-platform-hero-copy { padding: 48px 20px; }
  .edu-platform-hero-copy h1 { font-size: 44px; }
  .edu-platform-hero-media { min-height: 390px; }
  .edu-platform-jump { position: static; display: flex; overflow-x: auto; padding: 0 12px; }
  .edu-platform-jump a { flex: 0 0 230px; padding: 18px 16px; }
  .edu-platform-chapter { gap: 28px; padding: 56px 20px; }
  .edu-platform-copy h2,
  body.lang-en .edu-platform-copy h2,
  body.lang-ru .edu-platform-copy h2 { font-size: 36px; }
  .edu-platform-lead { font-size: 16px; }
  .edu-platform-capabilities { grid-template-columns: 1fr; }
  .edu-platform-capabilities article { min-height: 0; }
  .edu-platform-system { padding-top: 26px; }
  .edu-platform-system ol { display: flex; }
  .edu-platform-system li { flex: 0 0 180px; }
  .edu-platform-delivery { padding: 56px 20px; }
  .edu-platform-flow { grid-template-columns: 1fr 1fr; }
  .edu-platform-flow article { border-bottom: 1px solid rgba(255,255,255,.18); }
  .about-profile-facts,
  .about-capability-grid,
  .about-industry-grid,
  .case-feature-grid { grid-template-columns: 1fr; }
  .about-location-band { align-items: stretch; flex-direction: column; padding: 56px 20px; }
  .about-location-band .button { width: 100%; text-align: center; }
  .about-capability-section,
  .case-domain-section { padding: 58px 20px !important; }
  .about-capability-grid article { min-height: 0; }
  .about-industry-grid a { min-height: 230px; padding: 28px; }
  .about-industry-grid h3 { margin-top: 48px; }
  .case-domain-head { align-items: start; flex-direction: column; gap: 16px; }
  .case-feature-card > div { padding: 22px; }
  .case-feature-card h3 { font-size: 24px; }
  .case-feature-card p { min-height: 0; }
  .case-feature-card dl { grid-template-columns: 1fr; }
  .case-feature-card-wide { grid-column: auto; display: block; }
  .case-feature-card-wide > img { width: 100%; height: auto !important; min-height: 0; aspect-ratio: 16 / 9; object-fit: cover; }
}
