:root {
  --blue: #1c6eb7;
  --blue-2: #1090d4;
  --blue-3: #294c98;
  --brand-gradient: linear-gradient(135deg, #294c98 0%, #1c6eb7 50%, #1090d4 100%);
  --ink: #122033;
  --muted: #5d6b7d;
  --gray-900: #26313f;
  --gray-800: #344153;
  --gray-700: #4a5666;
  --gray-300: #d8dee7;
  --gray-100: #f2f4f7;
  --gray-050: #f7f8fa;
  --whatsapp: #25d366;
  --wechat: #07c160;
  --line: #d9e7fb;
  --soft: #f4f8ff;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(15, 46, 92, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  min-width: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 50;
  padding: 10px 14px;
  color: var(--white);
  background: var(--blue);
  border-radius: 4px;
}

.skip-link:focus {
  top: 16px;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  height: 3px;
  background: transparent;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--brand-gradient);
  box-shadow: 0 0 18px rgba(16, 110, 234, 0.38);
}

.topline {
  color: var(--white);
  background: var(--brand-gradient);
  font-size: 13px;
}

.topline__inner {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.topline a,
.topline span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  opacity: 0.95;
}

.topline__social {
  margin-left: auto;
  display: flex;
  gap: 13px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(217, 231, 251, 0.85);
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(16, 49, 96, 0.08);
}

.nav-shell {
  height: 86px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: var(--blue);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 0;
  line-height: 1;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand span {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  color: transparent;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand span::after {
  content: "ENGINEERING SERVICES";
  color: var(--gray-700);
  background: none;
  -webkit-text-fill-color: var(--gray-700);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.4px;
  line-height: 1;
}

.bi-whatsapp,
.social-link--whatsapp i {
  color: var(--whatsapp);
}

.bi-wechat,
.social-link--wechat i {
  color: var(--wechat);
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  color: var(--gray-900);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--blue);
  transition: transform 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  color: var(--white);
  background: var(--blue);
  border-radius: 4px;
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 10px 22px rgba(16, 110, 234, 0.18);
}

.search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--blue-3);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 18px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.search-toggle:hover {
  color: #fff;
  background: var(--blue);
  transform: translateY(-2px);
}

.site-search[hidden] {
  display: none;
}

.site-search {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: start center;
  padding: 90px 20px 20px;
  background: rgba(4, 16, 32, 0.58);
  backdrop-filter: blur(10px);
}

.site-search__panel {
  position: relative;
  width: min(760px, 100%);
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.28);
}

.site-search__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  color: var(--blue-3);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.site-search__panel h2 {
  max-width: 610px;
  margin: 0 0 18px;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.05;
}

.site-search__field {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
}

.site-search__field input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.site-search__results {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.site-search__results a {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.site-search__results a:hover {
  transform: translateY(-2px);
  border-color: #a8ccff;
}

.site-search__results strong {
  color: var(--blue-3);
}

.site-search__results span {
  color: var(--muted);
  font-size: 13px;
}

.search-empty {
  margin: 0;
  padding: 14px;
  color: var(--gray-700);
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  color: var(--blue);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 24px;
}

.service-strip {
  border-top: 1px solid rgba(217, 231, 251, 0.72);
  background: rgba(255, 255, 255, 0.95);
}

.service-strip__inner {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  overflow-x: auto;
  scrollbar-width: none;
}

.service-strip__inner::-webkit-scrollbar {
  display: none;
}

.service-strip a {
  flex: 0 0 auto;
  padding: 7px 11px;
  color: var(--gray-800);
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 900;
}

.service-strip a:hover,
.service-strip a.is-active {
  color: var(--gray-900);
  background: var(--soft);
  border-color: var(--line);
}

.hero {
  position: relative;
  min-height: 600px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #eaf4ff;
}

.hero__media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.82) 44%, rgba(255, 255, 255, 0.30) 100%),
    url("../img/hero-bg.jpg") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -24% 44%;
  height: 380px;
  background: linear-gradient(90deg, rgba(16, 110, 234, 0.18), rgba(8, 168, 232, 0.08));
  transform: skewY(-8deg);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.72fr);
  gap: 56px;
  align-items: center;
  padding: 54px 0 74px;
}

.eyebrow {
  display: block;
  gap: 8px;
  width: auto;
  max-width: 100%;
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 2px;
  margin-right: 8px;
  vertical-align: middle;
  background: linear-gradient(90deg, var(--blue), var(--blue-2));
}

.hero h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(34px, 4.7vw, 54px);
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: break-word;
  text-wrap: balance;
}

#mission-word {
  display: inline-block;
  color: var(--blue);
}

.hero__lead {
  max-width: 680px;
  margin: 18px 0 0;
  color: #415064;
  font-size: clamp(18px, 2vw, 22px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-weight: 900;
  font-size: 14px;
}

.btn-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 18px 34px rgba(16, 110, 234, 0.23);
}

.btn-primary:hover {
  background: var(--blue-3);
}

.btn-secondary {
  color: var(--blue-3);
  background: rgba(255, 255, 255, 0.9);
  border-color: #b7d3fa;
}

.hero__signals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero__signals span {
  padding: 8px 12px;
  color: var(--blue-3);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
}

.command-panel {
  background: rgba(255, 255, 255, 0.90);
  border: 1px solid rgba(217, 231, 251, 0.92);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.command-panel__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 10px;
  padding: 16px 20px;
  color: var(--white);
  background: var(--brand-gradient);
}

.command-panel__head strong {
  grid-column: 2;
  font-size: 20px;
}

.status-dot {
  width: 11px;
  height: 11px;
  margin-top: 7px;
  background: #42f08a;
  border-radius: 999px;
  box-shadow: 0 0 0 6px rgba(66, 240, 138, 0.18);
}

.command-panel__body {
  padding: 18px;
}

.risk-card {
  padding: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.risk-card span,
.risk-card small {
  display: block;
  color: var(--muted);
}

.risk-card strong {
  display: block;
  margin: 6px 0 8px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.1;
}

.risk-meter {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.risk-meter span {
  position: relative;
  display: block;
  height: 30px;
  overflow: hidden;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.risk-meter span::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--level);
  background: linear-gradient(90deg, rgba(16, 110, 234, 0.18), rgba(8, 168, 232, 0.32));
}

.risk-meter b {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding-left: 11px;
  color: var(--blue-3);
  font-size: 12px;
}

.scope-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 16px 0;
}

.scope-chip {
  min-height: 38px;
  color: var(--blue-3);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-weight: 800;
}

.scope-chip.is-active {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.mini-timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.mini-timeline div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.mini-timeline span {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 4px;
  font-weight: 900;
}

.mini-timeline p {
  margin: 0;
  font-weight: 800;
}

.bet-studio {
  position: relative;
  min-height: 500px;
  padding: 28px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 255, 0.90)),
    radial-gradient(circle at 18% 14%, rgba(16, 144, 212, 0.18), transparent 34%),
    radial-gradient(circle at 86% 22%, rgba(74, 86, 102, 0.16), transparent 28%);
  border: 1px solid rgba(216, 222, 231, 0.96);
  border-radius: var(--radius);
  box-shadow: 0 30px 90px rgba(15, 46, 92, 0.18);
  transform-style: preserve-3d;
}

.bet-studio::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(52, 65, 83, 0.11);
  border-radius: 18px;
  pointer-events: none;
}

.engineering-3d__viewport {
  position: relative;
  min-height: 310px;
  padding: 44px 8px 12px;
  perspective: 1200px;
  display: grid;
  place-items: center;
}

.engineering-3d__model {
  position: relative;
  width: min(390px, 100%);
  height: 258px;
  transform-style: preserve-3d;
  transform: rotateX(60deg) rotateZ(-35deg);
  filter: drop-shadow(0 42px 34px rgba(20, 36, 58, 0.28));
  animation: modelBreathe 7s ease-in-out infinite;
}

.engineering-axis,
.mep-path,
.engineering-plate,
.engineering-tower,
.bet-node,
.engineering-shadow {
  transform-style: preserve-3d;
}

.engineering-shadow {
  position: absolute;
  left: 54px;
  top: 120px;
  width: 300px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(18, 32, 51, 0.28), rgba(18, 32, 51, 0.04) 64%, transparent 72%);
  transform: translateZ(-42px);
  filter: blur(4px);
}

.engineering-axis {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(28, 110, 183, 0.68), transparent);
  transform-origin: left center;
}

.engineering-axis--x {
  width: 290px;
  transform: translate3d(-42%, -50%, 0);
}

.engineering-axis--y {
  width: 230px;
  transform: translate3d(-46%, -50%, 0) rotateZ(90deg);
}

.engineering-axis--z {
  width: 160px;
  background: linear-gradient(90deg, transparent, rgba(52, 65, 83, 0.54), transparent);
  transform: translate3d(-14%, -50%, 64px) rotateZ(42deg);
}

.engineering-plate {
  position: absolute;
  left: 76px;
  top: 64px;
  width: 238px;
  height: 132px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(224, 232, 242, 0.34));
  border: 1px solid rgba(41, 76, 152, 0.14);
  box-shadow: 0 28px 72px rgba(15, 46, 92, 0.22);
}

.engineering-plate::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: -16px;
  height: 16px;
  transform-origin: top;
  transform: skewX(-36deg);
  background: linear-gradient(90deg, rgba(52, 65, 83, 0.22), rgba(28, 110, 183, 0.12));
  border-radius: 0 0 9px 9px;
}

.engineering-plate--roof {
  transform: translateZ(78px);
}

.engineering-plate--base {
  transform: translateZ(0);
}

.engineering-tower {
  position: absolute;
  width: 76px;
  height: 76px;
  background: linear-gradient(135deg, rgba(41, 76, 152, 0.22), rgba(16, 144, 212, 0.15));
  border: 1px solid rgba(28, 110, 183, 0.22);
  border-radius: 8px;
  box-shadow: 0 30px 70px rgba(28, 110, 183, 0.24);
}

.engineering-tower::before,
.engineering-tower::after {
  content: "";
  position: absolute;
  background: linear-gradient(180deg, rgba(41, 76, 152, 0.34), rgba(16, 144, 212, 0.16));
  border: 1px solid rgba(28, 110, 183, 0.12);
}

.engineering-tower::before {
  left: 100%;
  top: 10px;
  width: 18px;
  height: 76px;
  transform-origin: left top;
  transform: skewY(38deg);
  border-radius: 0 8px 8px 0;
}

.engineering-tower::after {
  left: 10px;
  top: 100%;
  width: 76px;
  height: 18px;
  transform-origin: left top;
  transform: skewX(38deg);
  border-radius: 0 0 8px 8px;
}

.engineering-tower span {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transform: translateZ(58px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(16, 144, 212, 0.14));
  border: 1px solid rgba(28, 110, 183, 0.20);
}

.engineering-tower--core {
  left: 157px;
  top: 88px;
}

.engineering-tower--mep {
  left: 76px;
  top: 124px;
  transform: translateZ(22px);
}

.engineering-tower--ssi {
  right: 62px;
  top: 54px;
  transform: translateZ(40px);
}

.mep-path {
  position: absolute;
  height: 10px;
  border-radius: 999px;
  background: var(--brand-gradient);
  box-shadow: 0 10px 18px rgba(16, 144, 212, 0.20), inset 0 -3px 0 rgba(38, 49, 63, 0.18);
  opacity: 0.88;
}

.mep-path--air {
  left: 34px;
  top: 76px;
  width: 210px;
  transform: translateZ(78px) rotateZ(10deg);
}

.mep-path--power {
  right: 42px;
  bottom: 66px;
  width: 178px;
  background: linear-gradient(90deg, #344153, #1c6eb7);
  transform: translateZ(92px) rotateZ(-18deg);
}

.mep-path--water {
  left: 106px;
  bottom: 40px;
  width: 168px;
  background: linear-gradient(90deg, #1090d4, #d8dee7);
  transform: translateZ(52px) rotateZ(34deg);
}

.bet-node {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 118px;
  height: 74px;
  color: #fff;
  background: var(--brand-gradient);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 7px;
  font-weight: 900;
  box-shadow: 0 34px 70px rgba(28, 110, 183, 0.30), inset 0 -7px 0 rgba(20, 36, 58, 0.16);
  transform: translateZ(126px) rotateX(0deg);
  animation: nodeFloat 5.6s ease-in-out infinite;
}

.bet-node--mep { left: 0; top: 24px; }
.bet-node--ssi { right: -6px; top: 10px; animation-delay: 0.4s; }
.bet-node--cfd { left: 34px; bottom: 14px; animation-delay: 0.8s; }
.bet-node--bim { right: 44px; bottom: 0; animation-delay: 1.2s; }

.bet-studio__content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(217, 231, 251, 0.92);
  border-radius: 7px;
  backdrop-filter: blur(10px);
}

.bet-studio__content h2 {
  margin: 0;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.08;
}

.bet-studio__content p {
  margin: 0;
  color: var(--muted);
}

.bet-studio__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0;
}

.bet-studio__metrics div {
  padding: 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.bet-studio__metrics dt {
  color: var(--blue);
  font-weight: 900;
}

.bet-studio__metrics dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

@keyframes nodeFloat {
  0%, 100% { translate: 0 0 0; }
  50% { translate: 0 -10px 18px; }
}

@keyframes modelBreathe {
  0%, 100% { transform: rotateX(60deg) rotateZ(-35deg) translateZ(0); }
  50% { transform: rotateX(57deg) rotateZ(-31deg) translateZ(12px); }
}

.metrics {
  position: relative;
  z-index: 2;
  margin-top: -34px;
}

.metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.metrics article {
  min-height: 128px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.metrics article:last-child {
  border-right: 0;
}

.metrics strong {
  display: block;
  color: var(--blue);
  font-size: 42px;
  line-height: 1;
}

.metrics span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.diagnostic-strip {
  padding: 46px 0 0;
}

.diagnostic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.diagnostic-grid article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(15, 46, 92, 0.06);
}

.diagnostic-grid span {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--white);
  background: var(--blue);
  border-radius: 4px;
  font-weight: 900;
}

.diagnostic-grid strong {
  font-size: 18px;
}

.diagnostic-grid p {
  margin: 0;
  color: var(--muted);
}

.section,
.split-section,
.method,
.contact-section {
  padding: 110px 0;
  scroll-margin-top: 96px;
}

#contact {
  scroll-margin-top: 178px;
}

#contact-direct {
  scroll-margin-top: 178px;
}

.section-tight {
  padding-top: 28px;
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(247, 248, 250, 0.98), rgba(242, 244, 247, 0.92)),
    radial-gradient(circle at 10% 0%, rgba(41, 76, 152, 0.08), transparent 28%);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-head--left {
  margin-left: 0;
  text-align: left;
}

.section-head--row {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  text-align: left;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-head p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 900;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}

.filters--compact {
  margin: 0;
  justify-content: flex-end;
}

.filter-btn,
.project-filter {
  min-height: 42px;
  padding: 0 16px;
  color: var(--blue-3);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-weight: 900;
}

.filter-btn.is-active,
.project-filter.is-active {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.expertise-card {
  display: grid;
  gap: 14px;
  min-height: 100%;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.expertise-card:hover {
  transform: translateY(-4px);
  border-color: #a8ccff;
  box-shadow: 0 18px 46px rgba(15, 46, 92, 0.10);
}

.expertise-card {
  position: relative;
  overflow: hidden;
}

.expertise-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 58%, rgba(16, 110, 234, 0.08));
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.expertise-card:hover::after {
  opacity: 1;
}

.expertise-card__icon {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  background: #eaf4ff;
  border-radius: 6px;
  font-size: 24px;
}

.expertise-card h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
}

.expertise-card p {
  margin: 0;
  color: var(--muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 6px 9px;
  color: var(--blue-3);
  background: var(--soft);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--blue);
  font-weight: 900;
}

.service-hub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-hub-card {
  position: relative;
  min-height: 100%;
  display: grid;
  gap: 14px;
  padding: 28px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(15, 46, 92, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-hub-card:hover {
  transform: translateY(-5px);
  border-color: #a8ccff;
  box-shadow: 0 24px 60px rgba(15, 46, 92, 0.13);
}

.service-hub-card > i {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--brand-gradient);
  border-radius: 6px;
  font-size: 25px;
}

.service-hub-card span {
  position: absolute;
  right: 22px;
  top: 18px;
  color: rgba(16, 110, 234, 0.14);
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
}

.service-hub-card h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
}

.service-hub-card p {
  margin: 0;
  color: var(--muted);
}

.service-hub-card strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--blue);
}

.engineering-index {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 34px;
  align-items: start;
}

.engineering-index__intro {
  position: sticky;
  top: 122px;
  padding: 34px;
  color: var(--white);
  background: var(--brand-gradient);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.engineering-index__intro .eyebrow {
  color: var(--white);
}

.engineering-index__intro .eyebrow::before {
  background: var(--white);
}

.engineering-index__intro h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
}

.engineering-index__intro p {
  color: #eef7ff;
}

.service-directory {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.service-directory-card {
  display: grid;
  gap: 12px;
  min-height: 100%;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(15, 46, 92, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.service-directory-card__media {
  display: block;
  margin: -12px -12px 4px;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid rgba(216, 222, 231, 0.86);
  background: var(--gray-100);
}

.service-directory-card__media img {
  width: 100%;
  aspect-ratio: 1.75;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.02);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.service-directory-card:hover .service-directory-card__media img {
  transform: scale(1.05);
  filter: saturate(1.08) contrast(1.04);
}

.service-directory-card:hover {
  transform: translateY(-4px);
  border-color: #a8ccff;
}

.service-directory-card i {
  color: var(--blue);
  font-size: 28px;
}

.service-directory-card h3 {
  margin: 0;
  font-size: 21px;
}

.service-directory-card p {
  margin: 0;
  color: var(--muted);
}

.service-directory-card strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--blue);
}

.signature-band {
  padding: 44px 0;
  color: var(--white);
  background: var(--brand-gradient);
}

.signature-band__grid {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, 0.7fr);
  gap: 22px;
  align-items: center;
}

.signature-band h2 {
  margin: 0;
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.06;
}

.signature-band p {
  color: #ecf7ff;
}

.signature-stat {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.10);
}

.signature-stat strong {
  display: block;
  font-size: 34px;
  line-height: 1;
}

.signature-stat span {
  color: #ecf7ff;
  font-weight: 800;
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.editorial-card {
  display: grid;
  gap: 12px;
  min-height: 100%;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(15, 46, 92, 0.07);
}

.editorial-card img {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
  border-radius: 5px;
}

.editorial-card span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.editorial-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.editorial-card p {
  margin: 0;
  color: var(--muted);
}

.editorial-card strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--blue);
}

.deliverable-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.deliverable-tabs {
  display: grid;
  gap: 10px;
}

.deliverable-tab {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 16px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-weight: 900;
  text-align: left;
}

.deliverable-tab i {
  color: var(--blue);
}

.deliverable-tab.is-active {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.deliverable-tab.is-active i {
  color: var(--white);
}

.deliverable-panel {
  min-height: 360px;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.deliverable-panel h3 {
  margin: 0 0 12px;
  font-size: 30px;
}

.deliverable-panel p {
  color: var(--muted);
}

.deliverable-panel ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.deliverable-panel li {
  display: flex;
  gap: 10px;
  padding: 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-weight: 800;
}

.deliverable-panel li i {
  color: var(--blue);
}

.split-section {
  background:
    linear-gradient(90deg, #071d36 0%, rgba(7, 29, 54, 0.92) 48%, rgba(7, 29, 54, 0.76) 100%),
    url("../img/testimonials-bg.jpg") center / cover no-repeat;
  color: var(--white);
}

.split-section .eyebrow,
.split-section .section-head p {
  color: #dceaff;
}

.split-grid,
.contact-grid,
.faq-grid,
.method__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1fr);
  gap: 54px;
  align-items: start;
}

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.check-list p {
  display: flex;
  gap: 10px;
  margin: 0;
  color: #eef6ff;
  font-weight: 700;
}

.check-list i {
  color: #66d7ff;
}

.fire-board {
  padding: 28px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.fire-board__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-weight: 900;
  font-size: 20px;
}

.fire-board__title i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #06223f;
  background: #66d7ff;
  border-radius: 5px;
}

.compliance-step {
  position: relative;
  padding: 18px 18px 18px 28px;
  border-left: 2px solid rgba(255, 255, 255, 0.26);
}

.compliance-step::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 24px;
  width: 12px;
  height: 12px;
  background: #66d7ff;
  border-radius: 999px;
}

.compliance-step strong,
.compliance-step span {
  display: block;
}

.compliance-step strong {
  margin-bottom: 4px;
  font-size: 18px;
}

.compliance-step span {
  color: #d7e9ff;
}

.sector-grid,
.method-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.sector-card,
.method-card {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.standard-grid,
.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.standard-card,
.insight-card {
  min-height: 100%;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(15, 46, 92, 0.07);
}

.standard-card {
  border-top: 4px solid var(--blue);
}

.standard-card span,
.insight-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--blue);
  border-radius: 4px;
  font-weight: 900;
}

.standard-card h3,
.insight-card h3 {
  margin: 0 0 12px;
  font-size: 21px;
}

.standard-card p,
.insight-card p {
  margin: 0;
  color: var(--muted);
}

.insight-card {
  background: linear-gradient(180deg, #fff, #f9fbff);
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.is-enhanced .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(22px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.sector-card i {
  color: var(--blue);
  font-size: 28px;
}

.sector-card h3,
.method-card h3 {
  margin: 16px 0 10px;
  font-size: 20px;
}

.sector-card p,
.method-card p {
  margin: 0;
  color: var(--muted);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.project-grid--masonry {
  grid-auto-flow: dense;
}

.project-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 248, 250, 0.94));
  border: 1px solid rgba(216, 222, 231, 0.98);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(15, 46, 92, 0.10);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 32px 80px rgba(15, 46, 92, 0.18);
}

.project-grid--masonry .project-card:nth-child(1),
.project-grid--masonry .project-card:nth-child(6) {
  grid-column: span 2;
}

.project-card__media {
  position: relative;
  overflow: hidden;
}

.project-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 42%, rgba(18, 32, 51, 0.58)),
    linear-gradient(135deg, rgba(41, 76, 152, 0.18), rgba(16, 144, 212, 0.08));
  opacity: 0.72;
  pointer-events: none;
}

.project-card img {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
  background: var(--soft);
  transition: transform 0.42s ease, filter 0.42s ease;
}

.project-grid--masonry .project-card:nth-child(1) img,
.project-grid--masonry .project-card:nth-child(6) img {
  aspect-ratio: 2.15;
}

.project-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.03);
}

.project-card__body {
  padding: 20px;
}

.project-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.project-card__meta span {
  padding: 6px 8px;
  color: var(--gray-800);
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 900;
}

.project-card__type {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 8px 0;
  font-size: 20px;
}

.project-card p {
  margin: 0 0 16px;
  color: var(--muted);
}

.project-card button {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  bottom: 16px;
  width: calc(100% - 32px);
  min-height: 42px;
  color: var(--white);
  background: rgba(38, 49, 63, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  font-weight: 900;
  opacity: 0;
  transform: translateY(12px);
  backdrop-filter: blur(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.project-card:hover button,
.project-card:focus-within button {
  opacity: 1;
  transform: translateY(0);
}

.project-card button:hover {
  background: var(--blue-3);
}

.reference-lead {
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.reference-lead img {
  width: 100%;
  aspect-ratio: 1.05;
  object-fit: cover;
  border-radius: 6px;
}

.reference-lead strong {
  display: block;
  color: var(--gray-900);
  font-size: 24px;
  line-height: 1.08;
}

.reference-lead span {
  display: block;
  margin-top: 10px;
  color: var(--gray-700);
}

.reference-lead small {
  display: block;
  margin-top: 14px;
  color: var(--blue-3);
  font-weight: 900;
}

.reference-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.reference-kpis span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  color: var(--gray-800);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--gray-300);
  border-radius: 5px;
  font-weight: 800;
}

.reference-kpis strong {
  color: var(--blue-3);
}

.reference-gallery {
  position: relative;
  overflow: hidden;
}

.reference-gallery::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(135deg, rgba(52, 65, 83, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
}

.reference-gallery > * {
  position: relative;
}

.reference-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(242, 244, 247, 0.94), rgba(255, 255, 255, 0.94)),
    linear-gradient(135deg, rgba(41, 76, 152, 0.10), rgba(16, 144, 212, 0.08));
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  box-shadow: 0 18px 54px rgba(15, 46, 92, 0.10);
}

.reference-cta h2,
.reference-cta p {
  margin: 0;
}

.reference-cta h2 {
  font-size: clamp(26px, 3.5vw, 42px);
  line-height: 1.08;
}

.method {
  background:
    linear-gradient(120deg, rgba(244, 248, 255, 0.96), rgba(255, 255, 255, 0.96)),
    url("../img/about.jpg") center / cover no-repeat;
}

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

.method-card strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: var(--blue);
  border-radius: 4px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  color: var(--ink);
  background: transparent;
  border: 0;
  font-weight: 900;
  text-align: left;
}

.faq-item i {
  color: var(--blue);
  transition: transform 0.2s ease;
}

.faq-item.is-open i {
  transform: rotate(180deg);
}

.faq-item p {
  display: none;
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.faq-item.is-open p {
  display: block;
}

.contact-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(41, 76, 152, 0.98), rgba(16, 144, 212, 0.90)),
    url("../img/portfolio/IGH.jpg") center / cover no-repeat;
}

.contact-card {
  padding: 34px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}

.contact-card h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

.contact-card p {
  color: #e8f2ff;
}

.contact-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0;
}

.need-btn {
  min-height: 40px;
  padding: 0 13px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 4px;
  font-weight: 800;
}

.need-btn.is-active {
  color: var(--blue-3);
  background: var(--white);
}

.contact-lines {
  display: grid;
  gap: 10px;
}

.contact-lines a,
.contact-lines span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f4fbff;
}

.wechat-qr-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 18px;
  padding: 14px;
  color: var(--gray-900);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 7px;
  box-shadow: 0 18px 44px rgba(15, 46, 92, 0.16);
}

.wechat-qr-card img {
  width: 88px;
  height: 88px;
  padding: 6px;
  background: #fff;
  border-radius: 6px;
  object-fit: contain;
}

.wechat-qr-card strong {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-900);
}

.wechat-qr-card small {
  display: block;
  margin-top: 4px;
  color: var(--gray-700);
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 30px;
  color: var(--ink);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #2d3a4a;
  font-size: 13px;
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfdff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(16, 110, 234, 0.16);
  border-color: var(--blue);
}

.location-section {
  padding: 82px 0;
  background:
    linear-gradient(135deg, rgba(242, 244, 247, 0.94), rgba(255, 255, 255, 0.96)),
    radial-gradient(circle at 86% 14%, rgba(16, 144, 212, 0.14), transparent 28%);
}

.location-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 28px;
  align-items: stretch;
}

.location-card,
.map-frame {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  box-shadow: 0 18px 54px rgba(15, 46, 92, 0.10);
}

.location-card {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 34px;
}

.location-card h2,
.location-card p {
  margin: 0;
}

.location-card h2 {
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.08;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.map-frame {
  min-height: 420px;
  overflow: hidden;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.footer {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #eef1f5 0%, #d8dee7 100%),
    radial-gradient(circle at 85% 8%, rgba(16, 144, 212, 0.16), transparent 32%);
  color: var(--gray-800);
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(41, 76, 152, 0.08), rgba(16, 144, 212, 0.05)),
    linear-gradient(135deg, rgba(41, 76, 152, 0.08) 1px, transparent 1px);
  background-size: auto, 42px 42px;
  pointer-events: none;
}

.footer > * {
  position: relative;
}

.footer-logo-banner {
  padding: 36px 0 0;
}

.footer-logo-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 154px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(247, 248, 250, 0.98), rgba(216, 222, 231, 0.92)),
    linear-gradient(135deg, rgba(41, 76, 152, 0.08), rgba(16, 144, 212, 0.06));
  border: 1px solid rgba(190, 199, 212, 0.95);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(15, 46, 92, 0.14);
}

.footer-logo-banner img {
  width: min(210px, 48vw);
  height: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
  mix-blend-mode: normal;
}

.footer-logo-banner h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
}

.footer-logo-banner p {
  margin: 8px 0 0;
  color: #eaf4ff;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 42px;
  padding: 56px 0;
}

.brand--footer {
  color: var(--white);
}

.footer p {
  max-width: 410px;
}

.footer strong,
.footer a,
.footer span {
  display: block;
}

.footer strong {
  margin-bottom: 14px;
  color: var(--gray-900);
}

.footer a,
.footer span {
  margin-top: 8px;
}

.footer .social-link {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid rgba(52, 65, 83, 0.14);
  font-size: 13px;
}

.project-modal {
  width: min(900px, calc(100% - 36px));
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.project-modal::backdrop {
  background: rgba(6, 26, 50, 0.72);
}

.project-modal img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.project-modal__content {
  padding: 28px;
}

.project-modal__content span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.project-modal__content h3 {
  margin: 8px 0 10px;
  font-size: 30px;
}

.project-modal__content p {
  color: var(--muted);
}

.project-modal__content ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.project-modal__content li {
  padding: 7px 10px;
  color: var(--blue-3);
  background: var(--soft);
  border-radius: 4px;
  font-weight: 800;
  font-size: 12px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 4px;
  z-index: 1;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 72px;
  background:
    var(--page-motif, linear-gradient(100deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.88) 52%, rgba(234, 244, 255, 0.78) 100%)),
    url("../img/hero-bg.jpg") center / cover no-repeat;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background-image: var(--page-pattern, linear-gradient(135deg, rgba(41, 76, 152, 0.10) 1px, transparent 1px));
  background-size: var(--page-pattern-size, 42px 42px);
  mask-image: linear-gradient(90deg, transparent, #000 26%, #000 82%, transparent);
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -36% 48%;
  height: 320px;
  background: linear-gradient(90deg, var(--page-glow-a, rgba(16, 110, 234, 0.18)), var(--page-glow-b, rgba(8, 168, 232, 0.08)));
  transform: skewY(-8deg);
}

body.theme-mep {
  --page-motif: linear-gradient(100deg, rgba(255,255,255,.96), rgba(242,244,247,.88) 54%, rgba(234,244,255,.76));
  --page-pattern: linear-gradient(90deg, rgba(41,76,152,.16) 1px, transparent 1px), linear-gradient(0deg, rgba(41,76,152,.12) 1px, transparent 1px);
  --page-pattern-size: 38px 38px;
}

body.theme-cvcd {
  --page-motif: linear-gradient(100deg, rgba(255,255,255,.96), rgba(235,247,252,.88) 52%, rgba(234,244,255,.76));
  --page-pattern: radial-gradient(circle at 12px 12px, rgba(16,144,212,.20) 2px, transparent 3px);
  --page-pattern-size: 32px 32px;
}

body.theme-electric {
  --page-motif: linear-gradient(100deg, rgba(255,255,255,.97), rgba(243,245,248,.90) 50%, rgba(232,240,255,.78));
  --page-pattern: linear-gradient(135deg, transparent 0 42%, rgba(41,76,152,.16) 42% 45%, transparent 45% 100%);
  --page-pattern-size: 54px 54px;
}

body.theme-plomberie {
  --page-motif: linear-gradient(100deg, rgba(255,255,255,.96), rgba(238,247,250,.88) 50%, rgba(232,243,251,.78));
  --page-pattern: radial-gradient(ellipse at center, rgba(16,144,212,.16) 0 28%, transparent 30%);
  --page-pattern-size: 46px 28px;
}

body.theme-prevention {
  --page-motif: linear-gradient(100deg, rgba(255,255,255,.96), rgba(247,248,250,.90) 54%, rgba(237,243,252,.78));
  --page-pattern: linear-gradient(45deg, rgba(52,65,83,.14) 25%, transparent 25% 50%, rgba(41,76,152,.12) 50% 75%, transparent 75%);
  --page-pattern-size: 46px 46px;
}

body.theme-ssi {
  --page-motif: linear-gradient(100deg, rgba(255,255,255,.96), rgba(242,244,247,.88) 50%, rgba(235,244,255,.78));
  --page-pattern: linear-gradient(90deg, rgba(41,76,152,.16) 2px, transparent 2px), linear-gradient(0deg, rgba(16,144,212,.12) 2px, transparent 2px);
  --page-pattern-size: 58px 58px;
}

body.theme-isi {
  --page-motif: linear-gradient(100deg, rgba(255,255,255,.96), rgba(245,247,250,.88) 48%, rgba(232,244,255,.80));
  --page-pattern: radial-gradient(circle at 50% 50%, transparent 0 35%, rgba(41,76,152,.16) 36% 39%, transparent 40%);
  --page-pattern-size: 76px 76px;
}

body.theme-bim {
  --page-motif: linear-gradient(100deg, rgba(255,255,255,.96), rgba(243,246,250,.88) 52%, rgba(236,245,255,.78));
  --page-pattern: linear-gradient(30deg, rgba(41,76,152,.14) 12%, transparent 12% 88%, rgba(16,144,212,.10) 88%);
  --page-pattern-size: 64px 36px;
}

body.theme-performance,
body.theme-renewables {
  --page-motif: linear-gradient(100deg, rgba(255,255,255,.96), rgba(241,246,247,.90) 50%, rgba(232,247,249,.78));
  --page-pattern: linear-gradient(120deg, rgba(16,144,212,.14) 0 12%, transparent 12% 44%, rgba(41,76,152,.12) 44% 56%, transparent 56%);
  --page-pattern-size: 70px 70px;
}

.page-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.54fr);
  gap: 48px;
  align-items: center;
}

.page-hero__grid > *,
.pillar-layout > *,
.footer-logo-banner__inner > * {
  min-width: 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.breadcrumb a {
  color: var(--blue);
}

.page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1;
  overflow-wrap: anywhere;
}

.page-hero__lead {
  max-width: 760px;
  margin: 20px 0 0;
  color: #415064;
  font-size: clamp(18px, 2vw, 22px);
}

.page-hero__proof {
  display: grid;
  gap: 12px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.page-hero__proof strong {
  font-size: 22px;
}

.page-hero__proof span {
  color: var(--muted);
}

.page-hero__proof a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 900;
}

.pillar-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.toc-card {
  position: sticky;
  top: 118px;
  display: grid;
  gap: 10px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(15, 46, 92, 0.06);
}

.toc-card strong {
  color: var(--ink);
  font-size: 15px;
}

.toc-card a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.toc-card a:hover {
  color: var(--blue);
}

.toc-card a.is-active {
  color: var(--blue);
  transform: translateX(4px);
}

.pillar-content {
  display: grid;
  gap: 26px;
}

.content-panel {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(15, 46, 92, 0.05);
  scroll-margin-top: 110px;
}

.content-panel h2 + .internal-link-grid {
  margin-top: 26px;
}

.content-panel h2,
.content-panel h3 {
  margin: 0;
  line-height: 1.12;
}

.content-panel h2 {
  font-size: clamp(27px, 3.4vw, 38px);
}

.content-panel h3 {
  font-size: 22px;
}

.content-panel p {
  color: var(--muted);
}

.content-panel p:last-child {
  margin-bottom: 0;
}

.tech-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.tech-list li {
  display: flex;
  gap: 10px;
  padding: 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-weight: 800;
}

.tech-list i {
  color: var(--blue);
}

.two-col-list {
  grid-template-columns: repeat(2, 1fr);
}

.proof-grid,
.internal-link-grid,
.faq-tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.proof-card,
.internal-link-card,
.faq-tech-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.proof-card {
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.proof-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  color: var(--white);
  background: var(--blue);
  border-radius: 4px;
  font-weight: 900;
}

.proof-card h3,
.internal-link-card h3,
.faq-tech-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.proof-card p,
.internal-link-card p,
.faq-tech-card p {
  margin: 0;
  color: var(--muted);
}

.technical-matrix {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.technical-matrix article {
  padding: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.technical-matrix span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.technical-matrix strong {
  display: block;
  color: var(--ink);
  line-height: 1.2;
}

.technical-matrix p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.process-lane {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.process-step {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  color: #fff;
  background: var(--brand-gradient);
  border-radius: 6px;
  font-weight: 900;
}

.process-step h3 {
  margin: 0 0 6px;
}

.process-step p {
  margin: 0;
  color: var(--muted);
}

.mission-console {
  position: relative;
  transform-style: preserve-3d;
}

.mission-console__steps {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.mission-console__steps li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 11px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(190, 214, 246, 0.9);
  border-radius: 7px;
  font-weight: 800;
  line-height: 1.35;
}

.mission-console__steps b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #fff;
  background: var(--brand-gradient);
  border-radius: 5px;
}

.mission-console__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.mission-console__chips span,
.differentiator-band span {
  display: inline-flex;
  padding: 8px 10px;
  color: var(--blue-3);
  background: rgba(234, 244, 255, 0.92);
  border: 1px solid rgba(168, 204, 255, 0.82);
  border-radius: 5px;
  font-size: 12px;
  font-weight: 900;
}

.numbered-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.numbered-feature-card {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(15, 46, 92, 0.08);
  transform-style: preserve-3d;
}

.numbered-feature-card > span {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--brand-gradient);
  border-radius: 6px;
  font-weight: 900;
}

.numbered-feature-card h3,
.phase-card h3,
.interface-grid h3,
.application-grid strong {
  margin: 0;
  color: var(--ink);
}

.numbered-feature-card p,
.phase-card p,
.interface-grid p,
.application-grid span {
  margin: 0;
  color: var(--muted);
}

.numbered-feature-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--ink);
  font-weight: 800;
}

.phase-roadmap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 24px;
  counter-reset: phase;
}

.phase-card {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 22px;
  min-height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.phase-card::before {
  content: "";
  position: absolute;
  top: 36px;
  right: -15px;
  width: 16px;
  height: 2px;
  background: linear-gradient(90deg, #1c6eb7, #1090d4);
}

.phase-card:last-child::before {
  display: none;
}

.phase-card span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.interface-grid,
.application-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.interface-grid article,
.application-grid article {
  display: grid;
  gap: 10px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.interface-grid article:hover,
.application-grid article:hover {
  transform: translateY(-4px);
  border-color: #a8ccff;
  box-shadow: 0 16px 40px rgba(15, 46, 92, 0.10);
}

.interface-grid i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--brand-gradient);
  border-radius: 6px;
  font-size: 20px;
}

.deliverable-table {
  display: grid;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.deliverable-table [role="row"] {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1.3fr;
}

.deliverable-table [role="row"] > * {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.deliverable-table [role="row"]:last-child > * {
  border-bottom: 0;
}

.deliverable-table [role="row"] > *:last-child {
  border-right: 0;
}

.deliverable-table strong {
  color: #fff;
  background: var(--brand-gradient);
}

.deliverable-table span {
  color: var(--muted);
  background: #fff;
}

.deliverable-table span:first-child {
  color: var(--ink);
  font-weight: 900;
}

.differentiator-band {
  display: grid;
  gap: 18px;
  padding: clamp(26px, 4vw, 42px);
  color: #fff;
  background: var(--brand-gradient);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(28, 110, 183, 0.28);
  transform-style: preserve-3d;
}

.differentiator-band h2,
.differentiator-band p {
  margin: 0;
  color: #fff;
}

.differentiator-band > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.simulation-visual-3d {
  overflow: hidden;
}

.stack-3d {
  position: relative;
  display: grid;
  gap: 10px;
  margin-top: 20px;
  perspective: 800px;
}

.stack-3d span {
  display: block;
  padding: 12px 16px;
  color: #fff;
  background: var(--brand-gradient);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 7px;
  font-weight: 900;
  transform: rotateX(10deg) rotateY(-12deg);
  box-shadow: 0 14px 34px rgba(28, 110, 183, 0.18);
  animation: stackFloat 4.5s ease-in-out infinite;
}

.stack-3d span:nth-child(2) { animation-delay: 0.35s; transform: rotateX(8deg) rotateY(10deg) translateX(12px); }
.stack-3d span:nth-child(3) { animation-delay: 0.7s; transform: rotateX(12deg) rotateY(-8deg) translateX(24px); }
.stack-3d span:nth-child(4) { animation-delay: 1.05s; transform: rotateX(8deg) rotateY(12deg) translateX(36px); }

@keyframes stackFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

.mep-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.mep-detail-card {
  display: grid;
  gap: 14px;
  min-height: 100%;
  padding: 28px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 38px rgba(15, 46, 92, 0.07);
}

.mep-detail-card > i {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--brand-gradient);
  border-radius: 6px;
  font-size: 24px;
}

.mep-detail-card h3 {
  margin: 0;
  font-size: 23px;
}

.mep-detail-card p {
  margin: 0;
  color: var(--muted);
}

.mep-detail-card ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.mep-detail-card li {
  display: flex;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.mep-detail-card li i {
  color: var(--blue);
}

.internal-link-card {
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.tilt-3d {
  will-change: transform;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.tilt-3d.is-tilting {
  box-shadow: 0 26px 70px rgba(15, 46, 92, 0.16);
}

.internal-link-card:hover {
  transform: translateY(-4px);
  border-color: #a8ccff;
}

.internal-link-card strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--blue);
}

.cta-band {
  padding: 42px;
  color: var(--white);
  background: var(--brand-gradient);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cta-band h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
}

.cta-band p {
  max-width: 760px;
  color: #eaf4ff;
}

.cta-band .btn-secondary {
  color: var(--blue-3);
  background: var(--white);
}

@media (max-width: 1180px) {
  .nav-cta {
    display: none;
  }
}

@media (max-width: 1080px) {

  .main-nav {
    gap: 14px;
    font-size: 13px;
  }

  .hero__grid,
  .split-grid,
  .contact-grid,
  .location-grid,
  .faq-grid,
  .method__grid,
  .engineering-index {
    grid-template-columns: 1fr;
  }

  .command-panel {
    max-width: 620px;
  }

  .bet-studio {
    max-width: 720px;
    margin: 0 auto;
  }

  .expertise-grid,
  .project-grid,
  .service-hub-grid,
  .service-directory,
  .editorial-grid,
  .technical-matrix,
  .numbered-feature-grid,
  .phase-roadmap,
  .interface-grid,
  .application-grid,
  .mep-detail-grid,
  .proof-grid,
  .internal-link-grid,
  .faq-tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .diagnostic-grid,
  .standard-grid,
  .insight-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .deliverable-layout {
    grid-template-columns: 1fr;
  }

  .page-hero__grid,
  .pillar-layout {
    grid-template-columns: 1fr;
  }

  .toc-card {
    position: static;
  }

  .engineering-index__intro {
    position: static;
  }

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

  .reference-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .topline__inner {
    justify-content: center;
    flex-wrap: wrap;
    padding: 8px 0;
  }

  .topline__social {
    margin-left: 0;
  }

  .nav-shell {
    height: 74px;
    gap: 14px;
  }

  .search-toggle {
    margin-left: auto;
  }

  .main-nav {
    position: fixed;
    top: 158px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 22px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 0;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    margin-left: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero__grid {
    padding: 70px 0 96px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(30px, 8vw, 38px);
    line-height: 1.08;
  }

  .hero__lead {
    max-width: 100%;
    font-size: 17px;
  }

  .bet-studio {
    min-height: auto;
  }

  .engineering-3d__viewport {
    min-height: 220px;
    overflow: hidden;
  }

  .bet-studio__metrics {
    grid-template-columns: 1fr;
  }

  .metrics {
    margin-top: -38px;
  }

  .metrics__grid,
  .diagnostic-grid,
  .expertise-grid,
  .project-grid,
  .project-grid--masonry,
  .service-hub-grid,
  .service-directory,
  .editorial-grid,
  .technical-matrix,
  .numbered-feature-grid,
  .phase-roadmap,
  .interface-grid,
  .application-grid,
  .mep-detail-grid,
  .sector-grid,
  .method-steps,
  .standard-grid,
  .insight-grid,
  .proof-grid,
  .internal-link-grid,
  .faq-tech-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .project-grid--masonry .project-card:nth-child(1),
  .project-grid--masonry .project-card:nth-child(6) {
    grid-column: span 1;
  }

  .project-card button {
    position: static;
    width: 100%;
    margin-top: 14px;
    color: var(--blue-3);
    background: var(--soft);
    border-color: var(--line);
    opacity: 1;
    transform: none;
  }

  .reference-lead {
    grid-template-columns: 1fr;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 340px;
  }

  .metrics article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metrics article:last-child {
    border-bottom: 0;
  }

  .section,
  .split-section,
  .method,
  .contact-section,
  .page-hero {
    padding: 76px 0;
  }

  .section-head--row,
  .footer__bottom {
    display: grid;
  }

  .filters--compact {
    justify-content: flex-start;
  }

  .deliverable-panel ul {
    grid-template-columns: 1fr;
  }

  .two-col-list {
    grid-template-columns: 1fr;
  }

  .signature-band__grid {
    grid-template-columns: 1fr;
  }

  .footer-logo-banner__inner,
  .process-step {
    grid-template-columns: 1fr;
  }

  .phase-card::before {
    display: none;
  }

  .deliverable-table,
  .deliverable-table [role="row"],
  .deliverable-table [role="row"] > * {
    display: block;
  }

  .deliverable-table [role="row"] {
    border-bottom: 1px solid var(--line);
  }

  .deliverable-table [role="row"]:last-child {
    border-bottom: 0;
  }

  .deliverable-table [role="row"] > * {
    border-right: 0;
  }

  .stack-3d span,
  .stack-3d span:nth-child(2),
  .stack-3d span:nth-child(3),
  .stack-3d span:nth-child(4) {
    transform: none;
  }
}

@media (max-width: 540px) {
  .shell {
    width: min(100% - 28px, 1160px);
  }

  .topline__inner a,
  .topline__inner span {
    flex: 1 1 100%;
    justify-content: center;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .service-strip__inner {
    gap: 5px;
  }

  .service-strip a {
    padding: 6px 8px;
    font-size: 11px;
  }

  .brand {
    font-size: 22px;
    min-width: 0;
  }

  .brand span {
    overflow-wrap: anywhere;
    letter-spacing: 0.08em;
  }

  .brand span::after {
    font-size: 8px;
    letter-spacing: 1.25px;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .hero__actions,
  .btn {
    width: 100%;
  }

  .hero .eyebrow {
    font-size: 11px;
  }

  .nav-shell {
    gap: 10px;
  }

  .search-toggle,
  .nav-toggle {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
  }

  .scope-list {
    grid-template-columns: 1fr;
  }

  .bet-studio {
    padding: 18px;
  }

  .engineering-3d__viewport {
    min-height: 190px;
  }

  .engineering-3d__model {
    width: 300px;
    height: 220px;
    transform: rotateX(60deg) rotateZ(-32deg) scale(0.82);
  }

  .wechat-qr-card {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .wechat-qr-card img {
    width: 72px;
    height: 72px;
  }

  .bet-node {
    width: 92px;
    height: 58px;
    font-size: 12px;
  }

  .bet-node--mep { left: 4px; top: 20px; }
  .bet-node--ssi { right: 0; top: 18px; }
  .bet-node--cfd { left: 32px; bottom: 20px; }
  .bet-node--bim { right: 28px; bottom: 14px; }

  .site-search {
    padding: 72px 14px 14px;
  }

  .site-search__panel {
    padding: 22px;
  }

  .contact-form,
  .contact-card,
  .fire-board,
  .deliverable-panel,
  .content-panel,
  .cta-band,
  .numbered-feature-card,
  .differentiator-band {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@supports (content-visibility: auto) {
  .section,
  .split-section,
  .method,
  .contact-section {
    content-visibility: auto;
    contain-intrinsic-size: 900px;
  }
}

/* TEEMLAN final experience layer */
body {
  animation: teemlanPageIn 520ms ease both;
}

body.is-page-leaving {
  opacity: 0.86;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

@keyframes teemlanPageIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand .brand-lockup,
.brand--footer .brand-lockup {
  display: grid;
  gap: 2px;
  line-height: 1;
}

.brand .brand-lockup::after,
.brand--footer .brand-lockup::after {
  display: none;
}

.brand .brand-lockup strong,
.brand--footer .brand-lockup strong {
  font-size: 1.36rem;
  letter-spacing: 0.34em;
  font-weight: 900;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand .brand-lockup small,
.brand--footer .brand-lockup small {
  color: var(--gray-700);
  font-size: 0.58rem;
  letter-spacing: 0.42em;
  font-weight: 900;
}

.brand img,
.footer-logo-banner img {
  transition: transform 420ms cubic-bezier(.2,.8,.2,1), filter 420ms ease;
  transform-origin: center;
}

.brand.is-logo-focus img,
.brand:hover img,
.footer-logo-banner.is-logo-focus img {
  transform: scale(1.065) rotate(-1.5deg);
  filter: drop-shadow(0 18px 28px rgba(16, 110, 183, 0.28));
}

body.theme-fluides-medical {
  --page-motif: linear-gradient(135deg, rgba(16, 144, 212, 0.12), rgba(255,255,255,0) 42%),
    repeating-radial-gradient(circle at 18% 20%, rgba(28,110,183,.12) 0 2px, transparent 2px 18px);
}

body.theme-fluides-process {
  --page-motif: linear-gradient(135deg, rgba(41, 76, 152, 0.14), rgba(255,255,255,0) 44%),
    repeating-linear-gradient(60deg, rgba(16,144,212,.1) 0 7px, transparent 7px 24px);
}

.metrics__grid--strong article {
  background:
    linear-gradient(145deg, rgba(255,255,255,.95), rgba(247,248,250,.9)),
    radial-gradient(circle at top right, rgba(16,144,212,.16), transparent 42%);
}

.founder-word {
  padding: 76px 0;
  background:
    linear-gradient(180deg, #f7f8fa 0%, #ffffff 100%),
    radial-gradient(circle at 12% 20%, rgba(16,144,212,.12), transparent 34%);
}

.founder-word__grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 34px;
  align-items: center;
}

.founder-word__portrait,
.founder-word__content,
.testimonial-card {
  border: 1px solid rgba(28, 110, 183, 0.14);
  background: rgba(255,255,255,.88);
  box-shadow: 0 24px 70px rgba(15, 46, 92, 0.12);
  border-radius: var(--radius);
}

.founder-word__portrait {
  display: grid;
  place-items: center;
  padding: 34px;
  min-height: 300px;
}

.founder-word__portrait img {
  width: min(190px, 56vw);
  height: auto;
  filter: drop-shadow(0 24px 34px rgba(16, 110, 183, 0.24));
}

.founder-word__portrait span {
  color: var(--gray-700);
  font-weight: 900;
  margin-top: 18px;
}

.founder-word__content {
  padding: clamp(28px, 4vw, 54px);
}

.founder-word__content h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.06;
}

.founder-word__content p {
  color: var(--gray-700);
  font-size: 1.08rem;
}

.founder-word__content strong {
  color: var(--blue);
}

.testimonials-section {
  position: relative;
  padding: 92px 0;
  background:
    linear-gradient(120deg, rgba(41,76,152,.94), rgba(28,110,183,.9) 50%, rgba(16,144,212,.86)),
    url("../img/testimonials-bg.jpg") center / cover no-repeat;
  color: var(--white);
  overflow: hidden;
}

.testimonials-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.08) 0 1px, transparent 1px 18px);
  pointer-events: none;
}

.testimonials-layout {
  position: relative;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 34px;
  align-items: start;
}

.testimonials-section .eyebrow,
.testimonials-section h2,
.testimonials-section p {
  color: var(--white);
}

.testimonials-section code {
  color: var(--white);
  background: rgba(255,255,255,.16);
  padding: 2px 6px;
  border-radius: 5px;
}

.testimonial-grid {
  display: grid;
  gap: 18px;
}

.testimonial-card {
  color: var(--ink);
  padding: 26px;
  transform-style: preserve-3d;
}

.testimonial-card i {
  color: var(--blue);
  font-size: 1.8rem;
}

.testimonial-card p {
  color: var(--gray-700);
  margin: 14px 0;
}

.testimonial-card strong {
  display: block;
  color: var(--ink);
}

.testimonial-card span {
  color: var(--blue);
  font-weight: 800;
}

.project-card__media--slider {
  background: #eaf1f8;
}

.project-card__slides,
.project-modal__media {
  position: relative;
  width: 100%;
  height: 100%;
}

.project-card__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  animation: projectSlide calc(max(var(--slides), 1) * 4.2s) infinite;
  animation-delay: calc(var(--slide-index) * 4.2s);
}

.project-card[style*="--slides:1"] .project-card__slide {
  animation: none;
  opacity: 1;
}

@keyframes projectSlide {
  0%, 8% {
    opacity: 0;
    transform: scale(1.08);
  }
  13%, 36% {
    opacity: 1;
    transform: scale(1.01);
  }
  42%, 100% {
    opacity: 0;
    transform: scale(1);
  }
}

.project-card__count {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  color: var(--blue);
  font-size: .78rem;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(15,46,92,.14);
}

.project-modal__media {
  min-height: 420px;
  background: #eaf1f8;
  overflow: hidden;
}

.project-modal__media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.modal-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--blue);
  box-shadow: 0 14px 30px rgba(15,46,92,.18);
  cursor: pointer;
}

.modal-nav--prev {
  left: 16px;
}

.modal-nav--next {
  right: 16px;
}

.modal-gallery {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 3;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.modal-gallery button {
  width: 34px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  cursor: pointer;
}

.modal-gallery button.is-active {
  background: var(--brand-gradient);
}

#contact-direct {
  scroll-margin-top: 112px;
}

.contact-lines {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.contact-lines a,
.contact-lines span {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 13px;
  border: 1px solid rgba(28,110,183,.14);
  border-radius: var(--radius);
  background: rgba(247,248,250,.86);
  color: var(--gray-800);
  font-weight: 800;
}

.contact-lines .bi-whatsapp,
.wechat-qr-card .bi-wechat {
  font-size: 1.2rem;
}

.wechat-qr-card {
  align-items: center;
  background:
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(242,244,247,.92)),
    radial-gradient(circle at top right, rgba(7,193,96,.16), transparent 38%);
}

.wechat-qr-card img {
  border: 8px solid var(--white);
  box-shadow: 0 20px 40px rgba(15,46,92,.16);
}

.technical-matrix article,
.proof-card,
.mep-detail-card,
.service-directory-card {
  transform-style: preserve-3d;
}

@media (max-width: 900px) {
  .founder-word__grid,
  .testimonials-layout {
    grid-template-columns: 1fr;
  }

  .contact-lines {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand .brand-lockup strong {
    font-size: 1.02rem;
    letter-spacing: .22em;
  }

  .brand .brand-lockup small {
    font-size: .48rem;
    letter-spacing: .28em;
  }

  .project-modal__media,
  .project-modal__media img {
    min-height: 280px;
  }
}

/* TEEMLAN refinement layer - navigation, references, technical pages and contact */
body {
  animation-duration: 180ms;
}

body.is-page-leaving {
  transform: translateY(3px);
  transition-duration: 90ms;
}

.nav-shell {
  gap: 10px;
}

.main-nav {
  gap: 12px;
  font-size: 13px;
}

.nav-cta {
  white-space: nowrap;
}

.search-toggle {
  flex: 0 0 auto;
}

.service-strip__inner {
  flex-wrap: wrap;
  justify-content: center;
  min-height: auto;
  padding-top: 8px;
  padding-bottom: 8px;
  overflow: visible;
  row-gap: 7px;
}

.service-strip a {
  white-space: nowrap;
}

.project-card__media--slider {
  min-height: 245px;
  aspect-ratio: 1.35;
  background:
    linear-gradient(135deg, rgba(41, 76, 152, .12), rgba(16, 144, 212, .08)),
    #eaf1f8;
}

.project-grid--masonry .project-card:nth-child(1) .project-card__media--slider,
.project-grid--masonry .project-card:nth-child(6) .project-card__media--slider {
  aspect-ratio: 2.15;
}

.project-card__slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.project-card__slide {
  display: block;
}

.reference-cta {
  align-items: start;
}

.reference-cta .eyebrow {
  margin-bottom: 15px;
}

.reference-cta h2 {
  margin-bottom: 18px;
}

.reference-cta p:not(.eyebrow) {
  max-width: 880px;
  line-height: 1.82;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.download-card {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 260px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(28, 110, 183, .14);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(247,248,250,.92)),
    radial-gradient(circle at top right, rgba(16,144,212,.14), transparent 42%);
  box-shadow: 0 22px 58px rgba(15, 46, 92, .10);
  transform-style: preserve-3d;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.download-card:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 144, 212, .32);
  box-shadow: 0 32px 74px rgba(15, 46, 92, .16);
}

.download-card i {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--white);
  background: var(--brand-gradient);
  border-radius: 6px;
  font-size: 1.35rem;
}

.download-card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}

.download-card p {
  margin: 0 0 18px;
  color: var(--gray-700);
}

.download-card a {
  align-self: end;
  color: var(--blue-3);
  font-weight: 900;
}

.tech-demand-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.tech-demand-strip a,
.tech-demand-strip span {
  min-height: 86px;
  padding: 16px;
  color: var(--gray-900);
  background: rgba(255,255,255,.88);
  border: 1px solid var(--gray-300);
  border-radius: 7px;
  font-weight: 900;
  box-shadow: 0 14px 36px rgba(15, 46, 92, .08);
}

body.theme-fluides-medical .page-hero,
body.theme-fluides-process .page-hero {
  background:
    linear-gradient(120deg, rgba(247,248,250,.94), rgba(255,255,255,.88)),
    var(--page-motif);
}

body.theme-fluides-medical .page-hero::before,
body.theme-fluides-process .page-hero::before {
  opacity: .22;
}

body.theme-fluides-medical .page-hero__lead,
body.theme-fluides-process .page-hero__lead,
body.theme-fluides-medical .breadcrumb,
body.theme-fluides-process .breadcrumb {
  color: var(--gray-700);
}

.contact-card h2 {
  font-size: clamp(2rem, 3.4vw, 3.15rem);
}

.contact-card > p {
  line-height: 1.7;
}

.contact-lines {
  gap: 8px;
}

.contact-lines a,
.contact-lines span {
  min-height: 46px;
  padding: 10px 11px;
  border-radius: 7px;
  font-size: .9rem;
  line-height: 1.25;
}

.wechat-qr-card {
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  margin-top: 14px;
  padding: 12px;
  border-radius: 8px;
}

.wechat-qr-card img {
  width: 82px;
  height: 82px;
  border-width: 6px;
}

.wechat-qr-card strong {
  font-size: .95rem;
}

.wechat-qr-card small {
  font-size: .82rem;
  line-height: 1.45;
}

.footer {
  background:
    linear-gradient(180deg, #f5f6f8, #e7ebf0);
  color: var(--gray-900);
}

.footer .brand-lockup strong {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer .brand-lockup small,
.footer p,
.footer span,
.footer a {
  color: var(--gray-700);
}

.footer a:hover {
  color: var(--blue-3);
}

.footer-logo-banner {
  background:
    radial-gradient(circle at center, rgba(255,255,255,.94), rgba(231,235,240,.92) 65%),
    linear-gradient(135deg, #f6f7f9, #dfe5ec);
}

@media (max-width: 1120px) {
  .main-nav {
    gap: 9px;
    font-size: 12px;
  }

  .download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .service-strip__inner {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-right: 18px;
  }

  .download-grid,
  .tech-demand-strip {
    grid-template-columns: 1fr;
  }

  .project-grid--masonry .project-card:nth-child(1),
  .project-grid--masonry .project-card:nth-child(6) {
    grid-column: span 1;
  }

  .project-card__media--slider,
  .project-grid--masonry .project-card:nth-child(1) .project-card__media--slider,
  .project-grid--masonry .project-card:nth-child(6) .project-card__media--slider {
    aspect-ratio: 1.2;
    min-height: 230px;
  }
}

/* TEEMLAN laws/downloads and contact compact pass */
.contact-lines {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.contact-lines a,
.contact-lines span {
  min-height: 40px;
  padding: 8px 10px;
  font-size: .82rem;
  border-radius: 6px;
}

.wechat-qr-card {
  grid-template-columns: 70px minmax(0, 1fr);
  max-width: 430px;
  gap: 10px;
  margin-top: 10px;
  padding: 10px;
}

.wechat-qr-card img {
  width: 70px;
  height: 70px;
  border-width: 4px;
}

.wechat-qr-card strong {
  font-size: .88rem;
}

.wechat-qr-card small {
  font-size: .76rem;
}

.law-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.law-card {
  position: relative;
  min-height: 248px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255,255,255,.97), rgba(247,248,250,.92)),
    radial-gradient(circle at top right, rgba(16,144,212,.13), transparent 42%);
  border: 1px solid rgba(28, 110, 183, .16);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(15, 46, 92, .10);
  transform-style: preserve-3d;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.law-card:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 144, 212, .34);
  box-shadow: 0 28px 70px rgba(15, 46, 92, .16);
}

.law-card span {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--brand-gradient);
  border-radius: 6px;
  font-weight: 900;
}

.law-card h3 {
  margin: 4px 0 0;
  font-size: 1.02rem;
  line-height: 1.22;
}

.law-card p {
  margin: 0;
  color: var(--gray-700);
  font-size: .9rem;
}

.law-card small {
  color: var(--gray-800);
  font-weight: 900;
}

.law-card a {
  align-self: end;
  color: var(--blue-3);
  font-weight: 900;
}

.download-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.download-faq-item {
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(247,248,250,.92));
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(15, 46, 92, .08);
}

.download-faq-item summary {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--gray-900);
  font-weight: 900;
  cursor: pointer;
}

.download-faq-item summary::-webkit-details-marker {
  display: none;
}

.download-faq-item summary span {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--brand-gradient);
  border-radius: 6px;
  font-size: .78rem;
}

.download-faq-item p {
  margin: 14px 0 10px;
  color: var(--gray-700);
  line-height: 1.65;
}

.download-faq-item a {
  color: var(--blue-3);
  font-weight: 900;
}

.footer-logo-banner__inner {
  display: flex;
  justify-content: center;
}

.footer-banner-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(28, 110, 183, .12);
  border-radius: 10px;
  box-shadow: 0 18px 44px rgba(15, 46, 92, .08);
}

.footer-banner-brand img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.footer-banner-brand .brand-lockup strong,
.brand--footer .brand-lockup strong,
.brand .brand-lockup strong {
  letter-spacing: .34em;
}

.footer-banner-brand .brand-lockup small,
.brand--footer .brand-lockup small,
.brand .brand-lockup small {
  letter-spacing: .42em;
}

@media (max-width: 1120px) {
  .law-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .download-faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .law-grid,
  .download-faq-grid {
    grid-template-columns: 1fr;
  }

  .contact-lines {
    grid-template-columns: 1fr;
  }

  .footer-banner-brand {
    flex-direction: column;
    text-align: center;
  }
}

/* TEEMLAN 2026-06 contact, performance, references and footer refinement */
.site-header {
  transition: box-shadow .22s ease;
}

.service-strip {
  transform-origin: top;
  transition: transform .18s ease, opacity .18s ease, max-height .18s ease, border-color .18s ease;
  will-change: transform, opacity;
}

.site-header.is-strip-hidden .service-strip {
  max-height: 0;
  opacity: 0;
  transform: translateY(-12px);
  border-color: transparent;
  pointer-events: none;
}

.hero {
  min-height: 560px;
  align-items: start;
}

.hero__grid {
  padding-top: clamp(28px, 4vw, 44px);
  padding-bottom: clamp(56px, 7vw, 78px);
}

.btn-documents-associated,
.technical-matrix + .btn {
  margin-top: 26px;
}

.footer-logo-banner {
  padding: 26px 0;
  background:
    radial-gradient(circle at center, rgba(255,255,255,.98), rgba(232,236,242,.92) 68%),
    linear-gradient(135deg, #f7f8fa, #d9dee6);
  border-top: 1px solid rgba(216, 222, 231, .88);
  border-bottom: 1px solid rgba(216, 222, 231, .88);
}

.footer-logo-banner__inner--solo {
  justify-content: center;
  align-items: center;
}

.footer-logo-link {
  display: inline-grid;
  place-items: center;
  padding: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.74);
  box-shadow: 0 22px 56px rgba(15, 46, 92, .11);
}

.footer-logo-only {
  width: clamp(96px, 10vw, 132px);
  height: auto;
  object-fit: contain;
}

.footer-logo-banner .brand-lockup,
.footer-logo-banner .footer-banner-brand {
  display: none !important;
}

.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.footer-contact-item i {
  flex: 0 0 auto;
  width: 22px;
  color: var(--blue-3);
  font-size: 1.02rem;
}

.footer-contact-item .bi-whatsapp,
.footer-contact-item.social-link--whatsapp i {
  color: var(--whatsapp);
}

.references-page .project-grid--masonry {
  grid-auto-flow: dense;
  align-items: stretch;
}

.project-card {
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(247,248,250,.94)),
    radial-gradient(circle at top right, rgba(16,144,212,.10), transparent 42%);
}

.project-card__media--slider {
  min-height: 300px;
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid rgba(216, 222, 231, .82);
}

.project-grid--masonry .project-card:nth-child(1) .project-card__media--slider,
.project-grid--masonry .project-card:nth-child(6) .project-card__media--slider {
  min-height: 340px;
  aspect-ratio: 21 / 10;
}

.project-card__media--slider::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(18,32,51,.04), rgba(18,32,51,.42)),
    linear-gradient(135deg, rgba(41,76,152,.16), transparent 44%);
  pointer-events: none;
}

.project-card__slide {
  object-position: center;
  filter: saturate(1.04) contrast(1.02);
}

.project-card__slide.is-missing {
  display: none;
}

.project-card__count {
  left: 16px;
  top: 16px;
  z-index: 3;
}

.project-card__dots {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 3;
  display: flex;
  gap: 7px;
}

.project-card__dots span {
  width: 24px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.56);
  box-shadow: 0 8px 18px rgba(15,46,92,.15);
}

.project-card__dots span.is-active {
  background: var(--brand-gradient);
}

.project-card button {
  z-index: 4;
  opacity: 1;
  transform: none;
  right: 16px;
  bottom: 16px;
  background: rgba(41, 76, 152, .92);
  backdrop-filter: blur(8px);
}

.project-card button i {
  margin-right: 6px;
}

.project-card__body {
  min-height: 228px;
}

.reference-cta {
  gap: 30px;
}

.reference-cta .eyebrow,
.reference-cta h2,
.reference-cta p {
  margin-bottom: 18px;
}

.reference-cta p:not(.eyebrow) {
  margin-top: 10px;
  line-height: 1.95;
}

.contact-page-hero,
.performance-hero,
.assistance-hero {
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(247,248,250,.96), rgba(255,255,255,.88)),
    radial-gradient(circle at 14% 18%, rgba(16,144,212,.14), transparent 34%),
    radial-gradient(circle at 86% 16%, rgba(41,76,152,.12), transparent 30%);
}

.contact-command,
.energy-orbit,
.site-control-3d {
  position: relative;
  min-height: 360px;
  padding: 28px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255,255,255,.92), rgba(242,244,247,.86)),
    radial-gradient(circle at 20% 16%, rgba(16,144,212,.18), transparent 36%);
  border: 1px solid rgba(28,110,183,.16);
  border-radius: var(--radius);
  box-shadow: 0 28px 82px rgba(15,46,92,.16);
  transform-style: preserve-3d;
}

.contact-command {
  display: grid;
  align-content: end;
  gap: 14px;
}

.contact-command__icon {
  position: absolute;
  top: 34px;
  right: 34px;
  width: 92px;
  height: 92px;
  display: inline-grid;
  place-items: center;
  color: var(--white);
  background: var(--brand-gradient);
  border-radius: 8px;
  font-size: 2.3rem;
  box-shadow: 0 32px 70px rgba(28,110,183,.24);
  transform: perspective(700px) rotateX(14deg) rotateY(-18deg);
}

.contact-command strong,
.energy-orbit strong,
.site-control-3d strong {
  color: var(--gray-900);
  font-size: 1.35rem;
  line-height: 1.14;
}

.contact-command p,
.contact-command a {
  max-width: 330px;
  margin: 0;
  color: var(--gray-700);
}

.contact-command a {
  color: var(--blue-3);
  font-weight: 900;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: start;
}

.contact-card--page,
.contact-form--page {
  min-height: 100%;
}

.contact-lines--page {
  grid-template-columns: 1fr;
}

.wechat-qr-card--page {
  max-width: none;
  grid-template-columns: 96px minmax(0, 1fr);
}

.wechat-qr-card--page img {
  width: 96px;
  height: 96px;
}

.contact-request-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.energy-orbit {
  display: grid;
  place-items: center;
  min-height: 420px;
  perspective: 900px;
}

.energy-orbit__core {
  position: relative;
  z-index: 2;
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--brand-gradient);
  border-radius: 50%;
  box-shadow: 0 36px 82px rgba(28,110,183,.28), inset 0 -10px 0 rgba(18,32,51,.16);
  animation: energyCoreFloat 5.4s ease-in-out infinite;
}

.energy-orbit__core i {
  font-size: 2rem;
}

.energy-orbit span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 128px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  color: var(--gray-900);
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(28,110,183,.16);
  border-radius: 6px;
  font-weight: 900;
  box-shadow: 0 20px 48px rgba(15,46,92,.12);
  transform:
    rotate(calc(var(--i) * 72deg))
    translateX(150px)
    rotate(calc(var(--i) * -72deg));
}

.technical-matrix--energy article i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--white);
  background: var(--brand-gradient);
  border-radius: 6px;
}

.site-control-3d {
  min-height: 420px;
  perspective: 1000px;
}

.site-control-3d__layer {
  position: absolute;
  left: 16%;
  right: 16%;
  height: 120px;
  border: 1px solid rgba(28,110,183,.18);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255,255,255,.82), rgba(216,222,231,.45));
  box-shadow: 0 34px 74px rgba(15,46,92,.16);
  transform-style: preserve-3d;
}

.site-control-3d__layer.layer-a {
  top: 92px;
  transform: rotateX(58deg) rotateZ(-28deg) translateZ(18px);
}

.site-control-3d__layer.layer-b {
  top: 154px;
  transform: rotateX(58deg) rotateZ(-28deg) translateZ(-28px);
}

.site-control-3d__node {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 136px;
  height: 96px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--brand-gradient);
  border-radius: 8px;
  box-shadow: 0 34px 76px rgba(28,110,183,.28);
  transform: translate(-50%, -50%) perspective(800px) rotateX(20deg) rotateY(-18deg);
}

.site-control-3d__node i {
  font-size: 2rem;
}

.site-control-3d > span {
  position: absolute;
  padding: 10px 12px;
  color: var(--gray-900);
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(28,110,183,.16);
  border-radius: 6px;
  font-weight: 900;
  box-shadow: 0 20px 48px rgba(15,46,92,.11);
}

.site-control-3d > span:nth-of-type(1) { left: 28px; bottom: 46px; }
.site-control-3d > span:nth-of-type(2) { right: 34px; bottom: 112px; }
.site-control-3d > span:nth-of-type(3) { left: 42%; top: 32px; }

@keyframes energyCoreFloat {
  0%, 100% { transform: translateY(0) rotateX(0); }
  50% { transform: translateY(-10px) rotateX(8deg); }
}

@media (max-width: 980px) {
  .contact-page-grid,
  .contact-request-grid {
    grid-template-columns: 1fr;
  }

  .energy-orbit span {
    transform:
      rotate(calc(var(--i) * 72deg))
      translateX(118px)
      rotate(calc(var(--i) * -72deg));
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: auto;
  }

  .project-card__media--slider,
  .project-grid--masonry .project-card:nth-child(1) .project-card__media--slider,
  .project-grid--masonry .project-card:nth-child(6) .project-card__media--slider {
    min-height: 240px;
    aspect-ratio: 1.2;
  }

  .footer-logo-only {
    width: 104px;
  }

  .energy-orbit,
  .site-control-3d,
  .contact-command {
    min-height: 320px;
  }

  .energy-orbit span {
    width: 104px;
    font-size: .78rem;
    transform:
      rotate(calc(var(--i) * 72deg))
      translateX(96px)
      rotate(calc(var(--i) * -72deg));
  }
}

/* TEEMLAN 2026-06 refinement pass: smoother navigation, premium references and portal */
.service-strip {
  transition: transform .28s cubic-bezier(.2,.8,.2,1), opacity .28s ease, max-height .28s ease, border-color .28s ease;
}

.references-page .reference-gallery {
  background:
    linear-gradient(180deg, #f7f8fa, #fff),
    radial-gradient(circle at 14% 10%, rgba(16,144,212,.10), transparent 34%);
}

.references-page .project-grid--masonry {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.references-page .project-card--showcase {
  position: relative;
  grid-column: span 4;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid rgba(216,222,231,.92);
  background: #111827;
  box-shadow: 0 24px 70px rgba(15, 46, 92, .14);
}

.references-page .project-card--showcase:nth-child(1),
.references-page .project-card--showcase:nth-child(6) {
  grid-column: span 8;
}

.references-page .project-card--showcase .project-card__media--slider,
.references-page .project-grid--masonry .project-card--showcase:nth-child(1) .project-card__media--slider,
.references-page .project-grid--masonry .project-card--showcase:nth-child(6) .project-card__media--slider {
  position: absolute;
  inset: 0;
  min-height: 100%;
  aspect-ratio: auto;
  border: 0;
}

.references-page .project-card--showcase .project-card__media--slider::before {
  background:
    linear-gradient(180deg, rgba(5,12,24,.04) 0%, rgba(5,12,24,.08) 38%, rgba(5,12,24,.86) 100%),
    linear-gradient(135deg, rgba(41,76,152,.26), transparent 48%);
}

.references-page .project-card--showcase .project-card__body {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  min-height: 0;
  padding: 20px;
  color: #fff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  backdrop-filter: blur(14px);
}

.references-page .project-card--showcase .project-card__type,
.references-page .project-card--showcase h3,
.references-page .project-card--showcase p {
  color: #fff;
}

.references-page .project-card--showcase .project-card__type {
  text-transform: none;
  letter-spacing: 0;
  opacity: .82;
}

.references-page .project-card--showcase .project-card__meta span {
  color: #fff;
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.24);
}

.references-page .project-card--showcase button {
  top: 18px;
  right: 18px;
  bottom: auto;
  left: auto;
  background: rgba(255,255,255,.92);
  color: var(--blue-3);
}

.references-page .project-card--showcase .project-card__count {
  color: var(--blue-3);
}

.energy-dashboard-3d {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
  perspective: 1100px;
}

.energy-dashboard-3d__screen {
  position: relative;
  width: min(430px, 100%);
  min-height: 300px;
  padding: 22px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.94), rgba(238,243,249,.84)),
    radial-gradient(circle at 82% 14%, rgba(16,144,212,.18), transparent 36%);
  border: 1px solid rgba(28,110,183,.18);
  border-radius: 10px;
  box-shadow: 0 40px 90px rgba(15,46,92,.18), inset 0 1px 0 rgba(255,255,255,.84);
  transform: rotateX(58deg) rotateZ(-28deg) translateY(18px);
  transform-style: preserve-3d;
}

.energy-dashboard-3d__screen::after {
  content: "";
  position: absolute;
  inset: auto 20px -22px 20px;
  height: 22px;
  background: linear-gradient(90deg, rgba(52,65,83,.26), rgba(16,144,212,.16));
  transform-origin: top;
  transform: skewX(-34deg);
  border-radius: 0 0 8px 8px;
}

.energy-dashboard-3d__top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--gray-700);
  font-size: .78rem;
}

.energy-dashboard-3d__top strong,
.energy-dashboard-3d__top span {
  font-weight: 800;
  letter-spacing: 0;
}

.energy-gauge {
  position: absolute;
  left: 32px;
  bottom: 34px;
  width: 122px;
  height: 122px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--blue-2) var(--v), rgba(216,222,231,.9) 0);
  box-shadow: inset 0 0 0 14px rgba(255,255,255,.78), 0 26px 54px rgba(15,46,92,.16);
}

.energy-gauge span {
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  background: #fff;
}

.energy-gauge strong,
.energy-gauge small {
  position: relative;
  z-index: 1;
  color: var(--blue-3);
}

.energy-gauge small {
  margin-top: 36px;
  color: var(--gray-700);
  font-size: .72rem;
}

.energy-bars {
  position: absolute;
  right: 34px;
  bottom: 38px;
  height: 130px;
  display: flex;
  align-items: end;
  gap: 13px;
}

.energy-bars span {
  width: 28px;
  height: var(--h);
  border-radius: 6px 6px 2px 2px;
  background: var(--brand-gradient);
  box-shadow: 0 16px 28px rgba(28,110,183,.18);
}

.energy-dashboard-3d__grid {
  position: absolute;
  left: 34px;
  right: 34px;
  top: 66px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.energy-dashboard-3d__grid span,
.energy-dashboard-3d__chips span {
  padding: 8px;
  color: var(--gray-900);
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(28,110,183,.14);
  border-radius: 6px;
  font-size: .78rem;
  font-weight: 800;
  text-align: center;
}

.energy-dashboard-3d__base {
  position: absolute;
  inset: auto 16% 28px;
  height: 72px;
  background: radial-gradient(ellipse, rgba(18,32,51,.20), rgba(18,32,51,.03) 68%, transparent 72%);
  filter: blur(4px);
}

.energy-dashboard-3d__chips {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.energy-dashboard-3d__chips span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 18px 40px rgba(15,46,92,.10);
}

.contact-card--page {
  display: grid;
  gap: 16px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(247,248,250,.94));
}

.contact-card--page .contact-eyebrow-soft,
.contact-form-pro .eyebrow {
  color: var(--blue-3);
  text-transform: none;
  font-size: .92rem;
  font-weight: 700;
}

.contact-card--page h2,
.contact-form-pro h2 {
  margin: 0;
  color: var(--gray-900);
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  letter-spacing: 0;
}

.contact-card__intro,
.contact-form__head span {
  margin: 0;
  color: var(--gray-700);
  line-height: 1.72;
}

.contact-lines--page a,
.contact-lines--page span {
  min-height: 50px;
  padding: 13px 14px;
  font-weight: 400;
  background: #fff;
}

.contact-lines--page i {
  width: 22px;
  color: var(--blue-3);
}

.contact-lines--page .bi-whatsapp {
  color: var(--whatsapp);
}

.wechat-qr-card--page span {
  display: block;
  color: var(--gray-900);
  font-weight: 700;
}

.wechat-qr-card--page strong {
  font-weight: 700;
}

.contact-form-pro {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(242,246,251,.94)),
    radial-gradient(circle at top right, rgba(16,144,212,.13), transparent 40%);
}

.contact-form-pro::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--brand-gradient);
}

.contact-form__head {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.form-grid-pro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form-pro label {
  display: grid;
  gap: 7px;
  color: var(--gray-800);
  font-weight: 650;
}

.contact-form-pro label span {
  color: var(--gray-700);
  font-size: .9rem;
}

.contact-form-pro input,
.contact-form-pro select,
.contact-form-pro textarea {
  min-height: 48px;
  padding: 12px 13px;
  color: var(--gray-900);
  background: #fff;
  border: 1px solid rgba(216,222,231,.96);
  border-radius: 6px;
  outline: 0;
}

.contact-form-pro input:focus,
.contact-form-pro select:focus,
.contact-form-pro textarea:focus {
  border-color: rgba(16,144,212,.65);
  box-shadow: 0 0 0 4px rgba(16,144,212,.10);
}

.message-field {
  margin-top: 14px;
}

.form-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 16px 0 20px;
}

.form-proof-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  color: var(--blue-3);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: .84rem;
  font-weight: 750;
}

.assistance-page .site-control-3d__node strong {
  color: #fff;
}

.assistance-value-panel {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 28px;
  align-items: stretch;
}

.assistance-value-panel__intro,
.assistance-value-grid article,
.portal-panel {
  background:
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(247,248,250,.94));
  border: 1px solid rgba(216,222,231,.96);
  border-radius: var(--radius);
  box-shadow: 0 20px 54px rgba(15,46,92,.09);
}

.assistance-value-panel__intro {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: clamp(26px, 4vw, 46px);
}

.assistance-value-panel__intro h2,
.portal-panel h2 {
  margin: 0;
  line-height: 1.12;
}

.assistance-value-panel__intro p:not(.eyebrow),
.portal-panel p {
  margin: 0;
  color: var(--gray-700);
  line-height: 1.85;
}

.assistance-value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.assistance-value-grid article {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
}

.assistance-value-grid i {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: var(--brand-gradient);
  border-radius: 7px;
}

.assistance-value-grid h3 {
  margin: 0;
  font-size: 1.08rem;
}

.assistance-value-grid p {
  margin: 0;
  color: var(--gray-700);
  line-height: 1.72;
}

.portal-section,
.portal-home-section {
  background:
    linear-gradient(180deg, #fff, #f7f8fa);
}

.portal-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
  align-items: center;
  padding: clamp(26px, 4vw, 46px);
  overflow: hidden;
  position: relative;
}

.portal-panel::before {
  content: "";
  position: absolute;
  inset: -30% -8% auto auto;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(16,144,212,.14), transparent 62%);
}

.portal-stack {
  position: relative;
  display: grid;
  gap: 12px;
  transform-style: preserve-3d;
}

.portal-stack span {
  padding: 16px 18px;
  color: var(--gray-900);
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(28,110,183,.16);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(15,46,92,.10);
  font-weight: 850;
  transform: perspective(800px) rotateY(-12deg) translateX(calc(var(--n, 0) * 1px));
}

.portal-stack span:nth-child(2) { margin-left: 22px; }
.portal-stack span:nth-child(3) { margin-left: 44px; }
.portal-stack span:nth-child(4) { margin-left: 66px; }

.technical-matrix--regulatory strong,
.download-faq-item summary,
.download-card h3 {
  text-transform: none;
  letter-spacing: 0;
}

.cookie-consent {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 90;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(216,222,231,.96);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(15,46,92,.20);
  transform: translateY(120%);
  opacity: 0;
  transition: opacity .22s ease, transform .22s ease;
}

.cookie-consent.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-consent strong {
  color: var(--gray-900);
}

.cookie-consent p {
  margin: 4px 0 0;
  color: var(--gray-700);
  font-size: .9rem;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.cookie-consent button {
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  color: var(--blue-3);
  font-weight: 800;
}

.cookie-consent button[data-cookie-choice="accepted"] {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

@media (max-width: 1080px) {
  .references-page .project-card--showcase {
    grid-column: span 6;
  }

  .references-page .project-card--showcase:nth-child(1),
  .references-page .project-card--showcase:nth-child(6) {
    grid-column: span 12;
  }

  .assistance-value-panel,
  .portal-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 740px) {
  .references-page .project-grid--masonry {
    grid-template-columns: 1fr;
  }

  .references-page .project-card--showcase,
  .references-page .project-card--showcase:nth-child(1),
  .references-page .project-card--showcase:nth-child(6) {
    grid-column: 1;
  }

  .references-page .project-card--showcase {
    min-height: 520px;
  }

  .form-grid-pro,
  .assistance-value-grid,
  .cookie-consent {
    grid-template-columns: 1fr;
  }

  .cookie-consent__actions {
    justify-content: stretch;
  }

  .cookie-consent button {
    flex: 1 1 auto;
  }
}

/* TEEMLAN precise correction pass: stable navigation, image-first references, clear contact, fluid assistance */
.site-header.is-strip-hidden .service-strip,
.site-header .service-strip {
  max-height: none !important;
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
}

.service-strip {
  transition: border-color .18s ease, box-shadow .18s ease !important;
}

.references-page .reference-gallery {
  background: linear-gradient(180deg, #f4f6f9 0%, #fff 46%, #f8fafc 100%);
}

.reference-featured-showcase {
  margin: 12px 0 32px;
}

.reference-featured-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, .75fr);
  gap: 0;
  overflow: hidden;
  min-height: 500px;
  background: #fff;
  border: 1px solid rgba(216,222,231,.96);
  border-radius: 8px;
  box-shadow: 0 32px 92px rgba(15,46,92,.14);
}

.reference-featured-card__media {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 160px;
  grid-template-rows: repeat(3, 1fr);
  gap: 10px;
  min-height: 500px;
  padding: 12px;
  background: linear-gradient(135deg, #e9edf4, #f8fafc);
}

.reference-featured-card__media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 6px;
  filter: saturate(1.03) contrast(1.02);
  box-shadow: 0 18px 42px rgba(15,46,92,.12);
}

.reference-featured-card__media img.is-main {
  grid-row: 1 / -1;
}

.reference-featured-card.is-single .reference-featured-card__media {
  grid-template-columns: 1fr;
}

.reference-featured-card.is-single .reference-featured-card__media img.is-main {
  grid-column: 1 / -1;
}

.reference-featured-card__media img:not(.is-main) {
  min-height: 145px;
}

.reference-featured-card__media img.is-missing {
  visibility: hidden;
}

.reference-featured-card__media span {
  position: absolute;
  left: 28px;
  bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  color: #fff;
  background: rgba(18,32,51,.76);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 6px;
  backdrop-filter: blur(10px);
  font-size: .9rem;
}

.reference-featured-card__content {
  position: relative;
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(28px, 4vw, 50px);
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,248,250,.96)),
    linear-gradient(135deg, rgba(41,76,152,.06), rgba(16,144,212,.04));
}

.reference-featured-card__content::before {
  content: "";
  position: absolute;
  inset: 24px auto 24px 0;
  width: 4px;
  background: var(--brand-gradient);
}

.reference-featured-card__content h3 {
  margin: 0;
  color: var(--gray-900);
  font-size: clamp(1.85rem, 3vw, 3rem);
  line-height: 1.04;
}

.reference-featured-card__content p:not(.eyebrow) {
  margin: 0;
  color: var(--gray-700);
  line-height: 1.82;
}

.reference-featured-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.reference-featured-card__meta span {
  padding: 8px 10px;
  color: var(--gray-800);
  background: #fff;
  border: 1px solid rgba(216,222,231,.96);
  border-radius: 6px;
  font-size: .86rem;
  font-weight: 600;
}

.references-page .project-grid--masonry {
  gap: 22px;
}

.references-page .project-card--showcase {
  min-height: 430px;
  border-radius: 8px;
  transform: translateZ(0);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.references-page .project-card--showcase:hover {
  transform: translateY(-4px);
  box-shadow: 0 34px 96px rgba(15,46,92,.18);
}

.references-page .project-card--showcase .project-card__body {
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: grid;
  gap: 8px;
}

.references-page .project-card--showcase h3 {
  margin: 0;
  line-height: 1.12;
}

.references-page .reference-cta {
  align-items: center;
  gap: 28px;
}

.references-page .reference-cta h2 {
  margin-top: 12px;
  margin-bottom: 18px;
}

.references-page .reference-cta p:not(.eyebrow) {
  margin-top: 0;
  line-height: 1.9;
}

.energy-lab-3d {
  position: relative;
  min-height: 450px;
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.energy-lab-3d__plate {
  position: relative;
  width: min(440px, 100%);
  height: 315px;
  transform-style: preserve-3d;
  transform: rotateX(60deg) rotateZ(-34deg);
  background:
    linear-gradient(145deg, #f8fafc, #e5eaf1),
    repeating-linear-gradient(90deg, rgba(28,110,183,.08) 0 1px, transparent 1px 38px);
  border: 1px solid rgba(28,110,183,.16);
  border-radius: 10px;
  box-shadow: 0 38px 88px rgba(15,46,92,.20), inset 0 1px 0 rgba(255,255,255,.92);
  animation: energyPlateBreath 4.8s ease-in-out infinite;
}

.energy-lab-3d__plate::before {
  content: "";
  position: absolute;
  inset: 26px;
  border: 1px dashed rgba(28,110,183,.22);
  border-radius: 8px;
}

.energy-lab-3d__building {
  position: absolute;
  left: 92px;
  top: 72px;
  width: 145px;
  height: 145px;
  transform: translateZ(70px);
  background: linear-gradient(145deg, var(--blue-1), var(--blue-3));
  border-radius: 8px;
  box-shadow: 24px 24px 0 rgba(18,32,51,.10), 0 30px 48px rgba(28,110,183,.20);
}

.energy-lab-3d__building::before,
.energy-lab-3d__building::after {
  content: "";
  position: absolute;
  background: linear-gradient(145deg, rgba(255,255,255,.80), rgba(255,255,255,.38));
  border-radius: 4px;
}

.energy-lab-3d__building::before {
  left: 24px;
  right: 24px;
  top: 24px;
  height: 18px;
}

.energy-lab-3d__building::after {
  left: 24px;
  bottom: 24px;
  width: 74px;
  height: 18px;
}

.energy-lab-3d__building span {
  position: absolute;
  width: 18px;
  height: 18px;
  background: rgba(255,255,255,.68);
  border-radius: 4px;
}

.energy-lab-3d__building span:nth-child(1) { left: 26px; top: 62px; }
.energy-lab-3d__building span:nth-child(2) { left: 62px; top: 62px; }
.energy-lab-3d__building span:nth-child(3) { left: 98px; top: 62px; }
.energy-lab-3d__building span:nth-child(4) { left: 98px; bottom: 24px; }

.energy-lab-3d__tower {
  position: absolute;
  display: grid;
  place-items: center;
  gap: 4px;
  width: 78px;
  height: 78px;
  color: var(--blue-3);
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(28,110,183,.18);
  border-radius: 8px;
  box-shadow: 0 20px 42px rgba(15,46,92,.14);
  transform: translateZ(55px);
}

.energy-lab-3d__tower i {
  font-size: 1.35rem;
}

.energy-lab-3d__tower small {
  color: var(--gray-800);
  font-weight: 700;
  letter-spacing: 0;
}

.energy-lab-3d__tower--cvc { left: 268px; top: 52px; }
.energy-lab-3d__tower--elec { left: 270px; top: 172px; }
.energy-lab-3d__tower--gtb { left: 46px; top: 212px; }

.energy-lab-3d__flow {
  position: absolute;
  height: 3px;
  background: linear-gradient(90deg, rgba(41,76,152,.12), var(--blue-3));
  border-radius: 999px;
  transform: translateZ(42px);
  overflow: hidden;
}

.energy-lab-3d__flow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.88), transparent);
  animation: energyFlowRun 2.4s linear infinite;
}

.flow-a { left: 218px; top: 96px; width: 78px; transform: translateZ(42px) rotate(9deg); }
.flow-b { left: 210px; top: 205px; width: 86px; transform: translateZ(42px) rotate(-8deg); }
.flow-c { left: 74px; top: 196px; width: 96px; transform: translateZ(42px) rotate(52deg); }

.energy-lab-3d__kpi {
  position: absolute;
  right: 34px;
  bottom: 28px;
  display: grid;
  gap: 4px;
  min-width: 108px;
  padding: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-1), var(--blue-3));
  border-radius: 8px;
  box-shadow: 0 24px 46px rgba(28,110,183,.20);
  transform: translateZ(78px);
}

.energy-lab-3d__kpi strong,
.energy-lab-3d__kpi span,
.energy-lab-3d__kpi em {
  font-style: normal;
  letter-spacing: 0;
}

.energy-lab-3d__shadow {
  position: absolute;
  inset: auto 11% 30px;
  height: 82px;
  background: radial-gradient(ellipse, rgba(18,32,51,.22), rgba(18,32,51,.04) 68%, transparent 72%);
  filter: blur(5px);
}

.energy-lab-3d__legend {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
}

.energy-lab-3d__legend span {
  padding: 8px 10px;
  color: var(--gray-800);
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(216,222,231,.96);
  border-radius: 6px;
  font-size: .84rem;
  font-weight: 650;
  box-shadow: 0 14px 34px rgba(15,46,92,.08);
}

@keyframes energyPlateBreath {
  0%, 100% { transform: rotateX(60deg) rotateZ(-34deg) translateY(0); }
  50% { transform: rotateX(60deg) rotateZ(-34deg) translateY(-7px); }
}

@keyframes energyFlowRun {
  from { transform: translateX(-110%); }
  to { transform: translateX(110%); }
}

.contact-directory-card,
.request-console {
  border-radius: 8px;
  border: 1px solid rgba(216,222,231,.96);
  background: linear-gradient(180deg, #fff, #f8fafc);
  box-shadow: 0 24px 70px rgba(15,46,92,.10);
}

.contact-directory-card {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: clamp(24px, 4vw, 40px);
}

.contact-directory-card h2,
.request-console h2 {
  margin: 0;
  color: var(--gray-900);
  letter-spacing: 0;
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
}

.contact-directory-card__intro,
.request-console__head p:not(.eyebrow) {
  margin: 0;
  color: var(--gray-700);
  line-height: 1.82;
  font-weight: 400;
}

.contact-directory {
  display: grid;
  gap: 10px;
}

.contact-directory__row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 62px;
  padding: 12px;
  color: var(--gray-850);
  background: #fff;
  border: 1px solid rgba(216,222,231,.96);
  border-radius: 7px;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.contact-directory__row:hover {
  transform: translateY(-2px);
  border-color: rgba(28,110,183,.30);
  box-shadow: 0 16px 38px rgba(15,46,92,.08);
}

.contact-directory__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--brand-gradient);
  border-radius: 7px;
}

.contact-directory__icon--whatsapp {
  background: var(--whatsapp);
}

.contact-directory__row small,
.contact-directory__row em {
  display: block;
  font-style: normal;
  letter-spacing: 0;
}

.contact-directory__row small {
  color: var(--gray-600);
  font-size: .78rem;
  font-weight: 500;
}

.contact-directory__row em {
  margin-top: 3px;
  color: var(--gray-850);
  font-weight: 500;
  line-height: 1.35;
}

.contact-wechat-clean {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  background: #fff;
  border: 1px solid rgba(216,222,231,.96);
  border-radius: 8px;
}

.contact-wechat-clean img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  border-radius: 6px;
}

.contact-wechat-clean span,
.contact-wechat-clean small {
  display: block;
  letter-spacing: 0;
}

.contact-wechat-clean span {
  color: var(--gray-850);
  font-weight: 500;
}

.contact-wechat-clean .bi-wechat {
  color: #07c160;
}

.contact-wechat-clean small {
  margin-top: 6px;
  color: var(--gray-600);
  line-height: 1.55;
}

.request-console {
  position: relative;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: clamp(24px, 4vw, 42px);
  overflow: hidden;
}

.request-console::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--brand-gradient);
}

.request-console__head {
  display: grid;
  gap: 10px;
}

.request-console__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.request-console .need-btn {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 6px;
  border: 1px solid rgba(216,222,231,.96);
  background: #fff;
  color: var(--gray-800);
  font-weight: 600;
}

.request-console .need-btn.is-active,
.request-console .need-btn:hover {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.request-console label {
  display: grid;
  gap: 7px;
  color: var(--gray-800);
  font-weight: 500;
}

.request-console label span {
  color: var(--gray-700);
  font-size: .9rem;
  font-weight: 500;
}

.request-console input,
.request-console select,
.request-console textarea {
  min-height: 48px;
  padding: 12px 13px;
  color: var(--gray-900);
  background: #fff;
  border: 1px solid rgba(216,222,231,.96);
  border-radius: 6px;
  outline: 0;
}

.request-console input:focus,
.request-console select:focus,
.request-console textarea:focus {
  border-color: rgba(16,144,212,.65);
  box-shadow: 0 0 0 4px rgba(16,144,212,.10);
}

.assistance-flow-panel {
  display: grid;
  grid-template-columns: minmax(260px, .86fr) minmax(0, 1.14fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: stretch;
}

.assistance-flow-panel__intro,
.assistance-flow-list article {
  background: linear-gradient(180deg, #fff, #f8fafc);
  border: 1px solid rgba(216,222,231,.96);
  border-radius: 8px;
  box-shadow: 0 22px 58px rgba(15,46,92,.09);
}

.assistance-flow-panel__intro {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(28px, 4vw, 50px);
}

.assistance-flow-panel__intro h2 {
  margin: 0;
  line-height: 1.12;
}

.assistance-flow-panel__intro p:not(.eyebrow) {
  margin: 0;
  color: var(--gray-700);
  line-height: 1.95;
}

.assistance-flow-list {
  display: grid;
  gap: 16px;
}

.assistance-flow-list article {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: clamp(20px, 2.7vw, 28px);
}

.assistance-flow-list article > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--brand-gradient);
  border-radius: 7px;
  font-weight: 800;
}

.assistance-flow-list h3 {
  margin: 0 0 8px;
  color: var(--gray-900);
  line-height: 1.2;
}

.assistance-flow-list p {
  margin: 0;
  color: var(--gray-700);
  line-height: 1.82;
}

.assistance-page .site-control-3d__node strong {
  color: #fff !important;
  text-shadow: 0 1px 12px rgba(0,0,0,.18);
}

.technical-matrix--regulatory strong,
.technical-matrix--regulatory span,
.technical-matrix--regulatory p,
.technical-matrix--regulatory h3 {
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.cookie-consent {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  border-radius: 8px;
  border-color: rgba(28,110,183,.18);
  box-shadow: 0 26px 82px rgba(15,46,92,.20);
}

.cookie-consent strong {
  font-weight: 650;
  letter-spacing: 0;
}

.cookie-consent button[data-cookie-choice="declined"] {
  color: var(--gray-700);
}

.cookie-consent button[data-cookie-choice="accepted"] {
  background: var(--brand-gradient);
  border-color: transparent;
}

.is-enhanced body,
body.is-page-ready {
  transition: opacity .12s ease;
}

body.is-page-leaving {
  opacity: .92;
}

@media (prefers-reduced-motion: reduce) {
  .energy-lab-3d__plate,
  .energy-lab-3d__flow::after,
  .project-card__slide,
  .reference-featured-card,
  .reveal {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 1040px) {
  .reference-featured-card,
  .assistance-flow-panel {
    grid-template-columns: 1fr;
  }

  .reference-featured-card__media {
    grid-template-columns: 1fr 130px;
    min-height: 420px;
  }
}

@media (max-width: 740px) {
  .reference-featured-card {
    min-height: 0;
  }

  .reference-featured-card__media {
    grid-template-columns: 1fr;
    min-height: 320px;
  }

  .reference-featured-card__media img:not(.is-main) {
    display: none;
  }

  .reference-featured-card__content {
    padding: 24px;
  }

  .energy-lab-3d {
    min-height: 360px;
    overflow: hidden;
  }

  .energy-lab-3d__plate {
    width: 330px;
    height: 260px;
    transform: rotateX(58deg) rotateZ(-34deg) scale(.86);
  }

  .energy-lab-3d__building {
    left: 70px;
    top: 66px;
    width: 116px;
    height: 116px;
  }

  .energy-lab-3d__tower {
    width: 64px;
    height: 64px;
  }

  .energy-lab-3d__tower--cvc { left: 210px; top: 48px; }
  .energy-lab-3d__tower--elec { left: 212px; top: 154px; }
  .energy-lab-3d__tower--gtb { left: 36px; top: 184px; }

  .contact-wechat-clean,
  .assistance-flow-list article {
    grid-template-columns: 1fr;
  }

  .cookie-consent {
    grid-template-columns: 1fr;
    left: 12px;
    right: 12px;
    width: calc(100% - 24px);
  }
}

/* TEEMLAN requested refinement: portal signature, GHD-inspired project case studies, footer logo */
.portal-home-section--signature {
  background:
    linear-gradient(180deg, #fff 0%, #f4f6f9 100%);
}

.portal-signature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  padding: clamp(34px, 5vw, 62px);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(244,246,249,.96)),
    radial-gradient(circle at 92% 10%, rgba(16,144,212,.12), transparent 34%);
  border: 1px solid rgba(216,222,231,.96);
  border-radius: 8px;
  box-shadow: 0 32px 90px rgba(15,46,92,.12);
}

.portal-signature::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(28,110,183,.08);
  border-radius: 8px;
  pointer-events: none;
}

.portal-signature__content {
  position: relative;
  display: grid;
  gap: 22px;
}

.portal-signature__content h2 {
  margin: 0;
  color: var(--gray-900);
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.portal-signature__content p:not(.eyebrow) {
  margin: 0;
  color: var(--gray-700);
  max-width: 720px;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 2.05;
}

.portal-signature__console {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(18,32,51,.96), rgba(41,76,152,.94)),
    var(--brand-gradient);
  border-radius: 8px;
  box-shadow: 0 36px 80px rgba(15,46,92,.22);
}

.portal-signature__console::before {
  content: "TEEMLAN PORTAL";
  display: block;
  padding: 0 4px 10px;
  color: rgba(255,255,255,.72);
  font-size: .82rem;
  letter-spacing: .08em;
}

.portal-signature__console article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-areas:
    "num title"
    "num text";
  column-gap: 16px;
  row-gap: 7px;
  padding: 18px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 7px;
  backdrop-filter: blur(10px);
}

.portal-signature__console article span {
  grid-area: num;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--blue-3);
  background: #fff;
  border-radius: 6px;
  font-weight: 800;
}

.portal-signature__console article strong {
  grid-area: title;
  color: #fff;
  font-size: 1.08rem;
  letter-spacing: 0;
}

.portal-signature__console article small {
  grid-area: text;
  color: rgba(255,255,255,.78);
  font-size: .92rem;
  line-height: 1.75;
}

.contact-directory-card h2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.contact-directory-card h2 .bi-whatsapp {
  color: var(--whatsapp);
  font-size: .92em;
}

.contact-wechat-clean {
  grid-template-columns: 92px auto;
}

.contact-wechat-clean div {
  align-self: center;
}

.brand--footer-logo {
  width: fit-content;
  color: inherit;
}

.brand--footer-logo img {
  width: min(142px, 42vw);
  height: auto;
  display: block;
  filter: none;
}

.footer__grid > div:first-child p {
  margin-top: 18px;
}

.footer-logo-banner {
  display: none !important;
}

.ghd-reference-hero {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: center;
  padding: clamp(90px, 11vw, 150px) 0 clamp(70px, 9vw, 120px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(18,32,51,.92), rgba(41,76,152,.82)),
    linear-gradient(135deg, var(--blue-1), var(--blue-3));
  overflow: hidden;
}

.ghd-reference-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,.08) 1px, transparent 1px),
    radial-gradient(circle at 82% 18%, rgba(16,144,212,.28), transparent 34%);
  background-size: 54px 54px, auto;
}

.ghd-reference-hero .shell {
  position: relative;
}

.ghd-reference-hero .breadcrumb,
.ghd-reference-hero .breadcrumb a,
.ghd-reference-hero .breadcrumb span,
.ghd-reference-hero .eyebrow {
  color: rgba(255,255,255,.82);
}

.ghd-reference-hero__wrap {
  max-width: 760px;
  margin: 46px auto 0;
  text-align: center;
}

.ghd-reference-hero__wrap h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(4rem, 10vw, 8.5rem);
  line-height: .86;
  letter-spacing: 0;
}

.ghd-reference-hero__desc {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.ghd-reference-hero__desc h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.55rem, 3vw, 2.6rem);
  line-height: 1.12;
}

.ghd-reference-hero__desc p {
  margin: 0 auto;
  max-width: 680px;
  color: rgba(255,255,255,.82);
  line-height: 1.9;
}

.ghd-featured-project {
  padding: clamp(58px, 7vw, 92px) 0;
  background: #fff;
}

.ghd-featured-project h2,
.ghd-project-results__head h2 {
  margin: 0;
  color: var(--gray-900);
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.ghd-featured-project__content {
  display: grid;
  grid-template-columns: minmax(300px, .92fr) minmax(0, 1.08fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  margin-top: 34px;
}

.ghd-featured-project figure {
  margin: 0;
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #e5eaf1;
  border-radius: 0;
}

.ghd-featured-project figure::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(18,32,51,.34));
}

.ghd-featured-project img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ghd-featured-project__content > div {
  display: grid;
  gap: 20px;
}

.ghd-featured-project__content h3 {
  margin: 0;
  color: var(--gray-900);
  font-size: clamp(1.65rem, 3vw, 2.9rem);
  line-height: 1.08;
}

.ghd-featured-project__content p:not(.eyebrow) {
  margin: 0;
  color: var(--gray-700);
  line-height: 1.95;
}

.ghd-project-results {
  padding: clamp(58px, 7vw, 96px) 0;
  background: #f4f6f9;
}

.ghd-project-results__head {
  display: grid;
  gap: 12px;
  margin-bottom: 32px;
}

.ghd-project-results__layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(26px, 4vw, 54px);
  align-items: start;
}

.ghd-filter-panel {
  position: sticky;
  top: 154px;
  display: grid;
  gap: 18px;
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(216,222,231,.96);
}

.ghd-filter-panel h3 {
  margin: 0;
  color: var(--gray-900);
  font-size: 1.25rem;
}

.ghd-filter-panel__group {
  display: grid;
  gap: 9px;
}

.ghd-filter-panel__group > span:not(.anchor-target) {
  color: var(--gray-600);
  font-size: .82rem;
}

.ghd-filter-panel button {
  min-height: 44px;
  padding: 0 12px;
  color: var(--gray-850);
  background: #fff;
  border: 1px solid rgba(216,222,231,.96);
  text-align: left;
  font-weight: 600;
}

.ghd-filter-panel button.is-active,
.ghd-filter-panel button:hover {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.ghd-results-count {
  margin-bottom: 18px;
  color: var(--gray-700);
  font-size: .95rem;
}

.ghd-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.ghd-project-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  background: #fff;
  border: 1px solid rgba(216,222,231,.96);
  transition: transform .22s ease, box-shadow .22s ease;
}

.ghd-project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 70px rgba(15,46,92,.12);
}

.ghd-project-card figure {
  margin: 0;
  aspect-ratio: 1.08;
  overflow: hidden;
  background: #e5eaf1;
}

.ghd-project-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .32s ease;
}

.ghd-project-card:hover img {
  transform: scale(1.035);
}

.ghd-project-card__body {
  display: grid;
  align-content: start;
  gap: 11px;
  padding: 22px;
}

.ghd-project-card__body i {
  color: var(--blue-3);
  font-style: normal;
  font-size: .86rem;
}

.ghd-project-card__body > span {
  color: var(--gray-600);
  font-size: .86rem;
}

.ghd-project-card__body h3 {
  margin: 0;
  color: var(--gray-900);
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
  line-height: 1.24;
}

.ghd-project-card__body p {
  margin: 0;
  color: var(--gray-700);
  line-height: 1.72;
}

.ghd-project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 3px;
}

.ghd-project-card__tags small {
  padding: 6px 8px;
  color: var(--gray-700);
  background: #f4f6f9;
  border: 1px solid rgba(216,222,231,.96);
  font-size: .76rem;
}

.ghd-project-card button {
  width: fit-content;
  margin-top: 8px;
  padding: 0;
  color: var(--blue-3);
  background: transparent;
  border: 0;
  font-weight: 800;
}

@media (max-width: 1080px) {
  .portal-signature,
  .ghd-featured-project__content,
  .ghd-project-results__layout {
    grid-template-columns: 1fr;
  }

  .ghd-filter-panel {
    position: static;
  }

  .ghd-filter-panel__group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ghd-filter-panel__group > span:not(.anchor-target) {
    grid-column: 1 / -1;
  }

  .ghd-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .portal-signature {
    padding: 24px;
  }

  .portal-signature__console article,
  .ghd-filter-panel__group,
  .ghd-project-grid {
    grid-template-columns: 1fr;
  }

  .portal-signature__console article {
    grid-template-areas:
      "num"
      "title"
      "text";
  }

  .ghd-reference-hero {
    min-height: auto;
  }
}

/* TEEMLAN requested refinement: readable performance energy, portal cards, technical demand, social footer */
.section,
.split-section,
.method,
.contact-section {
  content-visibility: visible !important;
  contain-intrinsic-size: auto !important;
  scroll-margin-top: 230px;
}

.contact-directory__row.social-link--whatsapp .contact-directory__icon {
  color: #fff;
  background: #25d366;
  border-color: rgba(37, 211, 102, .42);
  box-shadow: 0 16px 32px rgba(37, 211, 102, .24);
}

.contact-directory__row.social-link--whatsapp .contact-directory__icon i {
  color: #fff !important;
}

.fx-marquee + .metrics {
  margin-top: clamp(28px, 4vw, 52px);
}

#faq-elec h2 {
  margin-bottom: clamp(28px, 4vw, 46px);
}

#faq-elec .faq-grid {
  gap: clamp(16px, 2vw, 24px);
}

#faq-elec .faq-grid article {
  position: relative;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

#faq-elec .faq-grid article::after {
  content: "";
  position: absolute;
  inset: auto -42px -58px auto;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(16,144,212,.16), transparent 68%);
  pointer-events: none;
}

#faq-elec .faq-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(28,110,183,.32);
  box-shadow: 0 22px 52px rgba(15,46,92,.12);
}

.performance-visual-pro {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
  perspective: 1100px;
}

.performance-visual-pro__screen {
  position: relative;
  width: min(520px, 100%);
  min-height: 340px;
  padding: 24px;
  overflow: hidden;
  color: var(--gray-900);
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(244,247,251,.92)),
    repeating-linear-gradient(90deg, rgba(28,110,183,.07) 0 1px, transparent 1px 42px);
  border: 1px solid rgba(28,110,183,.18);
  border-radius: 10px;
  box-shadow:
    0 34px 80px rgba(15,46,92,.16),
    inset 0 1px 0 rgba(255,255,255,.96);
  transform: rotateX(8deg) rotateY(-10deg);
  transform-style: preserve-3d;
}

.performance-visual-pro__screen::before {
  content: "";
  position: absolute;
  inset: 74px 32px 48px;
  border: 1px dashed rgba(28,110,183,.18);
  border-radius: 8px;
}

.performance-visual-pro__screen::after {
  content: "";
  position: absolute;
  inset: auto 10% -28px;
  height: 56px;
  background: radial-gradient(ellipse, rgba(18,32,51,.20), transparent 68%);
  filter: blur(4px);
}

.performance-visual-pro__top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid rgba(216,222,231,.95);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(15,46,92,.08);
}

.performance-visual-pro__top span {
  color: var(--blue-2);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .04em;
}

.performance-visual-pro__top strong {
  color: var(--gray-800);
  font-size: .9rem;
  font-weight: 700;
}

.performance-visual-pro__building {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 54%;
  display: grid;
  place-items: center;
  gap: 8px;
  width: 150px;
  height: 132px;
  color: #fff;
  background: var(--brand-gradient);
  border-radius: 10px;
  box-shadow: 18px 20px 0 rgba(41,76,152,.10), 0 24px 50px rgba(28,110,183,.22);
  transform: translate(-50%, -50%) translateZ(72px);
}

.performance-visual-pro__building i {
  font-size: 2.4rem;
}

.performance-visual-pro__building span {
  padding: 5px 9px;
  color: #fff;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
}

.performance-visual-pro__flow {
  position: absolute;
  z-index: 1;
  height: 4px;
  background: linear-gradient(90deg, rgba(41,76,152,.12), var(--blue-3));
  border-radius: 999px;
  overflow: hidden;
}

.performance-visual-pro__flow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.95), transparent);
  animation: energyFlowRun 2.2s linear infinite;
}

.performance-visual-pro__flow--one {
  left: 90px;
  top: 174px;
  width: 310px;
}

.performance-visual-pro__flow--two {
  left: 150px;
  top: 246px;
  width: 245px;
  transform: rotate(-18deg);
}

.performance-visual-pro__metric {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 5px;
  min-width: 128px;
  padding: 14px;
  color: var(--gray-900);
  background: #fff;
  border: 1px solid rgba(216,222,231,.98);
  border-radius: 8px;
  box-shadow: 0 22px 46px rgba(15,46,92,.12);
  transform: translateZ(82px);
}

.performance-visual-pro__metric small,
.performance-visual-pro__metric strong {
  letter-spacing: 0;
}

.performance-visual-pro__metric small {
  color: var(--gray-700);
  font-size: .78rem;
  font-weight: 700;
}

.performance-visual-pro__metric strong {
  color: var(--blue-2);
  font-size: 1.35rem;
}

.performance-visual-pro__metric--audit { left: 34px; top: 110px; }
.performance-visual-pro__metric--roi { right: 28px; top: 112px; }
.performance-visual-pro__metric--mep { right: 54px; bottom: 34px; }

.performance-visual-pro__legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.performance-visual-pro__legend span {
  padding: 9px 12px;
  color: var(--gray-800);
  background: #fff;
  border: 1px solid rgba(216,222,231,.95);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 750;
  box-shadow: 0 12px 28px rgba(15,46,92,.08);
}

.performance-page .technical-matrix--energy article {
  color: var(--gray-900);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,249,252,.96));
  border: 1px solid rgba(216,222,231,.98);
  box-shadow: 0 22px 50px rgba(15,46,92,.08);
}

.performance-page .technical-matrix--energy article h3,
.performance-page .technical-matrix--energy article p {
  color: var(--gray-900);
  letter-spacing: 0;
}

.performance-page .technical-matrix--energy article p {
  color: var(--gray-700);
  line-height: 1.8;
}

.energy-deliverables-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.energy-deliverables-grid article {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  min-height: 190px;
  padding: 24px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(246,248,251,.95));
  border: 1px solid rgba(216,222,231,.98);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(15,46,92,.08);
}

.energy-deliverables-grid article::after {
  content: "";
  position: absolute;
  inset: auto -40px -62px auto;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(16,144,212,.14), transparent 66%);
}

.energy-deliverables-grid article span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--brand-gradient);
  border-radius: 8px;
  font-weight: 900;
  box-shadow: 0 18px 34px rgba(28,110,183,.22);
}

.energy-deliverables-grid article h3 {
  margin: 0 0 12px;
  color: var(--gray-900);
}

.energy-deliverables-grid article p {
  margin: 0 0 10px;
  color: var(--gray-700);
  line-height: 1.78;
}

.energy-deliverables-grid article strong {
  color: var(--blue-2);
}

.portal-signature__console {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(245,248,252,.96));
  border: 1px solid rgba(216,222,231,.98);
  box-shadow: 0 30px 70px rgba(15,46,92,.12);
}

.portal-signature__console::before {
  grid-column: 1 / -1;
  padding: 0 2px 4px;
  color: var(--blue-2);
  font-weight: 900;
}

.portal-signature__console article {
  min-height: 156px;
  background: #fff;
  border: 1px solid rgba(216,222,231,.98);
  border-left: 4px solid var(--blue-3);
  box-shadow: 0 18px 42px rgba(15,46,92,.07);
  backdrop-filter: none;
}

.portal-signature__console article span {
  color: #fff;
  background: var(--brand-gradient);
}

.portal-signature__console article strong {
  color: var(--gray-900);
}

.portal-signature__console article small {
  color: var(--gray-700);
  line-height: 1.95;
}

.technical-demand-showcase {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.technical-demand-card {
  position: relative;
  display: grid;
  gap: 14px;
  min-height: 230px;
  padding: 22px;
  overflow: hidden;
  color: var(--gray-900);
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(245,248,252,.96));
  border: 1px solid rgba(216,222,231,.98);
  border-radius: 8px;
  box-shadow: 0 22px 52px rgba(15,46,92,.08);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.technical-demand-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--brand-gradient);
}

.technical-demand-card::after {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -54px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(16,144,212,.16), transparent 66%);
}

.technical-demand-card:hover {
  transform: translateY(-5px);
  border-color: rgba(28,110,183,.32);
  box-shadow: 0 30px 70px rgba(15,46,92,.14);
}

.technical-demand-card > span {
  color: var(--blue-2);
  font-size: .82rem;
  font-weight: 900;
}

.technical-demand-card i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--brand-gradient);
  border-radius: 8px;
  font-size: 1.2rem;
  box-shadow: 0 16px 32px rgba(28,110,183,.20);
}

.technical-demand-card h3 {
  margin: 0;
  color: var(--gray-900);
  font-size: 1.04rem;
  line-height: 1.35;
}

.technical-demand-card p {
  margin: 0;
  color: var(--gray-700);
  line-height: 1.78;
}

.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.footer-social-links a {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  color: var(--blue-2);
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(216,222,231,.88);
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(15,46,92,.08);
}

.footer-social-links a:hover {
  color: #fff;
  background: var(--brand-gradient);
}

@media (max-width: 1040px) {
  .technical-demand-showcase,
  .energy-deliverables-grid,
  .portal-signature__console {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .performance-visual-pro {
    min-height: 380px;
  }

  .performance-visual-pro__screen {
    transform: rotateX(5deg) rotateY(-4deg);
  }
}

@media (max-width: 720px) {
  .technical-demand-showcase,
  .energy-deliverables-grid,
  .portal-signature__console,
  .energy-deliverables-grid article {
    grid-template-columns: 1fr;
  }

  .performance-visual-pro__screen {
    min-height: 370px;
    padding: 18px;
    transform: none;
  }

  .performance-visual-pro__metric {
    min-width: 112px;
  }

  .performance-visual-pro__metric--audit { left: 18px; top: 114px; }
  .performance-visual-pro__metric--roi { right: 16px; top: 114px; }
  .performance-visual-pro__metric--mep { right: 22px; bottom: 28px; }
}

/* Correctifs ciblés - accueil, services et contact */
.hero__grid {
  padding-top: clamp(10px, 1.7vw, 24px);
  align-items: start;
}

.hero__content {
  padding-top: clamp(8px, 1.4vw, 18px);
}

#services .engineering-index {
  grid-template-columns: minmax(280px, .82fr) minmax(320px, 1.18fr);
}

#services .service-directory {
  grid-column: 1 / -1;
  margin-top: clamp(22px, 3vw, 34px);
}

.services-signature-visual {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  padding: clamp(24px, 3vw, 34px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(242,248,255,.86)),
    linear-gradient(135deg, rgba(41,76,152,.16), rgba(16,144,212,.12));
  border: 1px solid rgba(170, 204, 255, .72);
  border-radius: var(--radius);
  box-shadow: 0 28px 70px rgba(15, 46, 92, .12);
  transform-style: preserve-3d;
}

.services-signature-visual::before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(41, 76, 152, .12);
  border-radius: 12px;
  background-image:
    linear-gradient(rgba(28, 110, 183, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 110, 183, .06) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
}

.services-signature-visual__stage {
  position: relative;
  min-height: 255px;
  perspective: 900px;
  transform: rotateX(58deg) rotateZ(-35deg);
  transform-style: preserve-3d;
}

.services-signature-visual__stage::after {
  content: "";
  position: absolute;
  left: 13%;
  right: 9%;
  bottom: 18px;
  height: 42px;
  background: radial-gradient(ellipse at center, rgba(15, 46, 92, .25), transparent 68%);
  transform: rotateX(70deg);
  filter: blur(4px);
}

.services-orbit {
  position: absolute;
  inset: 46px 52px;
  border: 1px solid rgba(28, 110, 183, .25);
  border-radius: 999px;
  transform: translateZ(12px);
}

.services-orbit--b {
  inset: 72px 78px;
  border-color: rgba(16, 144, 212, .34);
  transform: translateZ(34px) rotate(16deg);
}

.services-core,
.services-cube {
  position: absolute;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
}

.services-core {
  left: 50%;
  top: 50%;
  width: 76px;
  height: 76px;
  color: #fff;
  background: var(--brand-gradient);
  border-radius: 14px;
  box-shadow: 0 22px 40px rgba(28, 110, 183, .34);
  transform: translate(-50%, -50%) translateZ(68px);
  font-size: 1.8rem;
}

.services-cube {
  width: 96px;
  height: 60px;
  padding: 10px;
  color: #fff;
  background: linear-gradient(135deg, #294C98, #1C6EB7 52%, #1090D4);
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 10px;
  box-shadow: 0 22px 34px rgba(15, 46, 92, .22);
  transform: translateZ(42px);
}

.services-cube::after {
  content: "";
  position: absolute;
  inset: auto 8px -13px 8px;
  height: 16px;
  background: rgba(15, 46, 92, .18);
  filter: blur(9px);
  transform: rotateX(68deg);
}

.services-cube i {
  font-size: 1.08rem;
  margin-bottom: 4px;
}

.services-cube strong {
  color: #fff;
  font-family: "Sora", "Segoe UI", Roboto, Arial, sans-serif;
  font-size: .82rem;
  letter-spacing: 0;
}

.services-cube--mep { left: 6%; top: 44%; }
.services-cube--ssi { right: 7%; top: 22%; }
.services-cube--cfd { left: 31%; bottom: 8%; }
.services-cube--bim { right: 16%; bottom: 10%; }
.services-cube--fluides { left: 17%; top: 10%; }
.services-cube--elec { right: 32%; top: 2%; }

.services-signature-visual__caption {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
  padding-top: 18px;
  color: var(--gray-700);
  border-top: 1px solid rgba(41, 76, 152, .12);
}

.services-signature-visual__caption span {
  color: var(--blue);
  font-weight: 800;
}

.services-signature-visual__caption strong {
  color: var(--gray-900);
  font-size: 1.18rem;
}

.contact-page .contact-page-hero {
  padding-top: clamp(46px, 4.8vw, 64px);
  padding-bottom: clamp(46px, 5vw, 68px);
}

.contact-page .contact-command strong {
  color: #fff !important;
}

.contact-page .hero__actions {
  margin-top: clamp(20px, 2.2vw, 26px);
}

@media (prefers-reduced-motion: no-preference) {
  .services-signature-visual__stage {
    animation: servicesFloat3d 7s ease-in-out infinite;
  }

  .services-orbit--a {
    animation: servicesOrbitA 14s linear infinite;
  }

  .services-orbit--b {
    animation: servicesOrbitB 18s linear infinite reverse;
  }
}

@keyframes servicesFloat3d {
  0%, 100% { transform: rotateX(58deg) rotateZ(-35deg) translate3d(0, 0, 0); }
  50% { transform: rotateX(56deg) rotateZ(-32deg) translate3d(0, -6px, 10px); }
}

@keyframes servicesOrbitA {
  to { transform: translateZ(12px) rotate(360deg); }
}

@keyframes servicesOrbitB {
  to { transform: translateZ(34px) rotate(376deg); }
}

@media (max-width: 1040px) {
  #services .engineering-index {
    grid-template-columns: 1fr;
  }

  #services .service-directory {
    grid-column: auto;
  }

  .services-signature-visual {
    min-height: 330px;
  }
}

@media (max-width: 720px) {
  .hero__grid {
    padding-top: 44px;
  }

  .services-signature-visual__stage {
    min-height: 235px;
    transform: rotateX(56deg) rotateZ(-33deg) scale(.88);
  }

  .services-cube {
    width: 86px;
    height: 56px;
  }

  .contact-page .contact-page-hero {
    padding-top: 44px;
  }
}

/* Compactage demandé - pages internes et grille Services */
.page-hero {
  padding-top: clamp(30px, 3.2vw, 48px);
  padding-bottom: clamp(54px, 6vw, 70px);
}

.contact-page .contact-page-hero {
  padding-top: clamp(30px, 3.2vw, 48px);
  padding-bottom: clamp(44px, 4.8vw, 64px);
}

.page-hero .breadcrumb {
  margin-bottom: clamp(20px, 2.5vw, 30px);
}

#services .service-directory {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 16px);
}

#services .service-directory-card {
  gap: 8px;
  padding: clamp(13px, 1.35vw, 16px);
  border-radius: 10px;
}

#services .service-directory-card__media {
  margin: -7px -7px 1px;
  border-radius: 6px;
}

#services .service-directory-card__media img {
  aspect-ratio: 2.45;
}

#services .service-directory-card i {
  font-size: 21px;
}

#services .service-directory-card h3 {
  font-size: clamp(16.5px, 1.15vw, 18px);
  line-height: 1.22;
}

#services .service-directory-card p {
  font-size: .89rem;
  line-height: 1.48;
}

#services .service-directory-card strong {
  font-size: .91rem;
}

@media (max-width: 1040px) {
  #services .service-directory {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  #services .service-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .page-hero,
  .contact-page .contact-page-hero {
    padding-top: 34px;
  }

  .page-hero .breadcrumb {
    margin-bottom: 18px;
  }

  #services .service-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  #services .service-directory {
    grid-template-columns: 1fr;
  }
}

/* Finition demandée - haut de page, services et cookies */
.page-hero {
  padding-top: clamp(14px, 1.6vw, 22px);
}

.contact-page .contact-page-hero {
  padding-top: clamp(14px, 1.6vw, 22px);
}

.page-hero .breadcrumb {
  margin-bottom: clamp(14px, 1.8vw, 22px);
}

#services .engineering-index__intro {
  position: static;
  top: auto;
  z-index: 2;
}

.services-signature-visual {
  min-height: 410px;
}

.services-signature-visual__stage {
  min-height: 288px;
  perspective: 920px;
  transform: none !important;
  animation: none !important;
}

.services-orbit {
  inset: 48px 42px;
  transform: none !important;
}

.services-orbit--b {
  inset: 76px 72px;
}

.services-core {
  width: 82px;
  height: 82px;
  transform: translate(-50%, -50%) perspective(760px) rotateX(12deg) rotateY(-16deg);
}

.services-cube {
  width: 112px;
  height: 66px;
  transform: perspective(760px) rotateX(12deg) rotateY(-14deg);
}

.services-cube strong {
  font-size: .9rem;
}

.services-cube--mep { left: 4%; top: 45%; }
.services-cube--ssi { right: 5%; top: 24%; }
.services-cube--cfd { left: 28%; bottom: 7%; }
.services-cube--bim { right: 15%; bottom: 9%; }
.services-cube--fluides { left: 15%; top: 9%; }
.services-cube--elec { right: 31%; top: 3%; }

.cookie-consent-trigger {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  color: var(--blue);
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(168, 204, 255, .9);
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(15, 46, 92, .12);
  font-weight: 800;
  cursor: pointer;
}

.cookie-consent-trigger:hover {
  color: #fff;
  background: var(--brand-gradient);
}

@media (max-width: 720px) {
  .page-hero,
  .contact-page .contact-page-hero {
    padding-top: 18px;
  }

  .services-signature-visual {
    min-height: 360px;
  }

  .services-signature-visual__stage {
    min-height: 250px;
  }

  .services-cube {
    width: 94px;
    height: 58px;
  }
}

/* Corrections finales - blog, téléchargements, recherche et contact */
.service-strip {
  background: #F2F2F2 !important;
  border-top: 1px solid rgba(216, 222, 231, .9) !important;
  border-bottom: 1px solid rgba(216, 222, 231, .9) !important;
  box-shadow: 0 14px 28px rgba(15, 46, 92, .035);
}

.service-strip__inner {
  background: transparent !important;
}

.service-strip a {
  background: rgba(255, 255, 255, .45);
  border: 1px solid transparent;
}

.service-strip a:hover,
.service-strip a.is-active {
  background: #fff;
  border-color: rgba(28, 110, 183, .24);
  box-shadow: 0 12px 28px rgba(15, 46, 92, .08);
}

.technical-doc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.65vw, 20px);
}

.technical-doc-card {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 100%;
  padding: clamp(20px, 2.2vw, 28px);
  border: 1px solid rgba(216, 222, 231, .92);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(246, 249, 253, .96)),
    radial-gradient(circle at 90% 0%, rgba(16, 144, 212, .15), transparent 32%);
  box-shadow: 0 24px 70px rgba(15, 46, 92, .09);
  transform-style: preserve-3d;
}

.technical-doc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(41, 76, 152, .11), transparent 32%),
    linear-gradient(135deg, transparent 0 68%, rgba(16, 144, 212, .12) 68% 100%);
  opacity: .82;
}

.technical-doc-card::after {
  content: "";
  position: absolute;
  right: -58px;
  top: -58px;
  width: 138px;
  height: 138px;
  border: 1px solid rgba(16, 144, 212, .22);
  border-radius: 999px;
  box-shadow: inset 0 0 0 16px rgba(16, 144, 212, .045);
  transform: translateZ(-10px);
}

.technical-doc-card > * {
  position: relative;
  z-index: 1;
}

.technical-doc-card > .bi {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--brand-gradient);
  border-radius: 8px;
  box-shadow: 0 16px 30px rgba(28, 110, 183, .24);
}

.technical-doc-card__number {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 800;
}

.technical-doc-card__number::after {
  content: "";
  width: 42px;
  height: 2px;
  background: var(--brand-gradient);
  border-radius: 999px;
}

.technical-doc-card h3 {
  margin: 0;
  color: var(--gray-900);
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
  line-height: 1.25;
  letter-spacing: 0;
}

.technical-doc-card p {
  margin: 0;
  color: var(--gray-700);
  font-size: .95rem;
  line-height: 1.72;
}

.technical-doc-card a {
  align-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: var(--blue-2);
  font-weight: 800;
}

.technical-doc-card:hover {
  border-color: rgba(16, 144, 212, .38);
  box-shadow: 0 34px 90px rgba(15, 46, 92, .13);
}

.technical-doc-card--wide {
  grid-column: span 2;
}

.site-search__panel {
  max-height: min(84vh, 780px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(28, 110, 183, .48) rgba(242, 242, 242, .96);
}

.site-search__panel::-webkit-scrollbar,
.site-search__results::-webkit-scrollbar {
  width: 8px;
}

.site-search__panel::-webkit-scrollbar-thumb,
.site-search__results::-webkit-scrollbar-thumb {
  background: rgba(28, 110, 183, .48);
  border-radius: 999px;
}

.site-search__results {
  max-height: clamp(280px, 38vh, 430px);
  overflow-y: auto;
  padding-right: 4px;
}

.site-search__results a {
  grid-template-columns: 44px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff, #f8fafc);
}

.site-search__results a:nth-child(2n) .site-search__ico {
  background: linear-gradient(135deg, #1C6EB7, #1090D4);
}

.site-search__results a:nth-child(3n) .site-search__ico {
  background: linear-gradient(135deg, #294C98, #1C6EB7);
}

.site-search__ico {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff !important;
  background: var(--brand-gradient);
  border-radius: 9px;
  box-shadow: 0 14px 28px rgba(28, 110, 183, .18);
}

.site-search__body {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.site-search__go {
  color: var(--blue);
}

.site-search__suggest button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
}

.site-search__suggest button i {
  color: var(--blue-2);
}

.contact-page .contact-desk {
  padding-top: clamp(28px, 3vw, 42px);
  padding-bottom: clamp(34px, 4vw, 54px);
}

.contact-page .contact-page-grid {
  grid-template-columns: minmax(260px, .74fr) minmax(0, 1.26fr);
  gap: clamp(14px, 2vw, 22px);
}

.contact-page .contact-directory-card,
.contact-page .request-console {
  padding: clamp(18px, 2vw, 24px);
  border-radius: 10px;
}

.contact-page .contact-directory-card {
  gap: 12px;
}

.contact-page .contact-directory-card h2,
.contact-page .request-console h2 {
  font-size: clamp(1.35rem, 2vw, 1.82rem);
}

.contact-page .contact-directory-card__intro,
.contact-page .request-console__head p:not(.eyebrow) {
  line-height: 1.58;
  font-size: .96rem;
}

.contact-page .contact-directory {
  gap: 8px;
}

.contact-page .contact-directory__row {
  gap: 10px;
  padding: 10px 12px;
  min-height: auto;
}

.contact-page .contact-directory__icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.contact-page .contact-wechat-clean {
  grid-template-columns: 78px minmax(0, 1fr);
  padding: 10px;
  gap: 10px;
}

.contact-page .contact-wechat-clean img {
  width: 78px;
  height: 78px;
}

.contact-page .request-console__head {
  gap: 5px;
  margin-bottom: 10px;
}

.contact-page .request-console__chips {
  gap: 7px;
  margin-bottom: 12px;
}

.contact-page .request-console .need-btn {
  padding: 8px 11px;
  font-size: .78rem;
}

.contact-page .form-grid-pro {
  gap: 10px;
}

.contact-page .request-console label {
  gap: 5px;
}

.contact-page .request-console input,
.contact-page .request-console select,
.contact-page .request-console textarea {
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 8px;
}

.contact-page .request-console textarea {
  min-height: 92px;
}

.contact-page .message-field {
  margin: 10px 0 12px;
}

.whatsapp-pulse-cta {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 82;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 15px;
  color: #fff;
  background: #25D366;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  box-shadow: 0 22px 48px rgba(37, 211, 102, .28), 0 10px 28px rgba(15, 46, 92, .18);
  font-weight: 850;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 18px, 0) scale(.94);
  transition: opacity .28s ease, transform .28s ease, filter .2s ease;
}

.whatsapp-pulse-cta i {
  font-size: 1.08rem;
}

.whatsapp-pulse-cta.is-visible,
.whatsapp-pulse-cta:hover,
.whatsapp-pulse-cta:focus-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
}

.whatsapp-pulse-cta::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(37, 211, 102, .34);
  border-radius: inherit;
  animation: whatsappPulseRing 2.2s ease-out infinite;
}

@keyframes whatsappPulseRing {
  0% { opacity: .72; transform: scale(.9); }
  100% { opacity: 0; transform: scale(1.18); }
}

@media (max-width: 980px) {
  .technical-doc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .technical-doc-card--wide {
    grid-column: 1 / -1;
  }

  .contact-page .contact-page-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .technical-doc-grid {
    grid-template-columns: 1fr;
  }

  .whatsapp-pulse-cta {
    right: 12px;
    bottom: 72px;
    padding: 10px 12px;
    font-size: .88rem;
  }
}
