/* main.css — pages & sections */
/* Homepage layout */
.page--home {
  background: var(--color-white);
}

.btn-default.btn-dark {
  min-height: 40px;
  padding: 8px 24px;
  background: var(--color-main);
  border-color: var(--color-main);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 500;
  justify-content: center;
  gap: 0;
}

.btn-default.btn-white {
  min-height: 40px;
  min-width: 140px;
  padding: 8px 24px;
  background: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-main);
  font-size: 14px;
  font-weight: 500;
  justify-content: center;
  gap: 0;
}

/* Hero — full-width panel with edge gutter (Figma) */
#hero.home-hero,
.home-hero {
	width: 100%;
	max-width: 100vw;
	margin: 0;
	padding: calc(var(--header-height) + clamp(8px, 1.2vw, 24px))
	clamp(16px, 2.5vw, 40px)
	clamp(16px, 3vw, 40px);
	box-sizing: border-box;
	height: 100vh;
	min-height: fit-content;
	color: var(--color-white);
}

#hero.home-hero::before,
.home-hero::before {
  display: none;
}

.home-hero-panel {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  min-height: clamp(520px, 72vh, 656px);
	height: 100%;
  margin: 0;
  padding: 0;
  border-radius: clamp(16px, 2.5vw, 32px);
}

.home-hero-inner {
  position: relative;
  z-index: 1;
  padding: clamp(32px, 4vw, 48px);
	height: 100%;
}

.home-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-hero-bg .home-hero-video,
.inner-hero__bg .inner-hero__video,
.home-hero-bg .bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Solid/gradient tint above video — independent of the media file */
.inner-hero__color-filter {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--inner-hero-color-filter);
  mix-blend-mode: var(--inner-hero-color-filter-blend, normal);
  pointer-events: none;
}

/*
 * Per-page hero filter colours.
 * Each page class drives BOTH the solid colour-filter and the radial glow.
 * Video stays the same; only overlays change. Keep overlays light so media reads.
 */
.inner-hero {
  --inner-hero-color-filter: linear-gradient(
    125deg,
    rgba(28, 12, 48, 0.48) 0%,
    rgba(72, 28, 96, 0.28) 55%,
    rgba(18, 10, 40, 0.34) 100%
  );
  --inner-hero-color-filter-blend: normal;
  --inner-hero-radial: radial-gradient(
    circle at 30% 50%,
    rgba(170, 60, 156, 0.22) 0%,
    transparent 68%
  );
}

/* About — no solid/tint color-filter layer (video + shape/radial only) */
.page--about .inner-hero {
  --inner-hero-color-filter: none;
  --inner-hero-radial: radial-gradient(
    circle at 28% 48%,
    rgba(255, 100, 150, 0.24) 0%,
    transparent 70%
  );
}

.page--about .inner-hero__color-filter {
  display: none;
}

/* Services list — cool electric navy/cyan (no plum) */
.page--services .inner-hero {
  --inner-hero-color-filter: linear-gradient(
    120deg,
    rgba(6, 36, 92, 0.5) 0%,
    rgba(18, 90, 160, 0.3) 48%,
    rgba(8, 48, 88, 0.38) 100%
  );
  --inner-hero-radial: radial-gradient(
    circle at 32% 50%,
    rgba(40, 170, 255, 0.24) 0%,
    transparent 70%
  );
}

/* Service detail: video full-bleed + service image on right half, under L→R transparent gradient */
.page--service .inner-hero.inner-hero--with-media {
  --inner-hero-color-filter: linear-gradient(
    95deg,
    rgba(10, 40, 96, 0.72) 0%,
    rgba(16, 64, 130, 0.52) 24%,
    rgba(30, 80, 150, 0.28) 48%,
    rgba(40, 90, 160, 0.1) 68%,
    transparent 88%
  );
  --inner-hero-color-filter-blend: normal;
  --inner-hero-radial: radial-gradient(
    circle at 28% 50%,
    rgba(50, 160, 255, 0.18) 0%,
    transparent 65%
  );
}

.inner-hero--with-media .inner-hero__video {
  z-index: 0;
}

/* Right half of the panel, above the video */
.inner-hero--with-media .inner-hero__media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 50%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.55) 14%,
    #000 32%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.55) 14%,
    #000 32%
  );
}

/* Color filter sits above both video and image → solid left, transparent right */
.inner-hero--with-media .inner-hero__color-filter {
  z-index: 2;
}

.inner-hero--with-media .hero-overlay-shape {
  z-index: 3;
}

.inner-hero--with-media .hero-radial-overlay {
  z-index: 3;
}

.inner-hero--with-media .inner-hero__panel {
  min-height: 400px;
}

.inner-hero--with-media .inner-hero__lead {
  max-width: 480px;
}

@media (max-width: 991px) {
  .inner-hero--with-media .inner-hero__media {
    width: 48%;
  }
}

@media (max-width: 767px) {
  .page--service .inner-hero.inner-hero--with-media {
    --inner-hero-color-filter: linear-gradient(
      180deg,
      rgba(10, 40, 96, 0.7) 0%,
      rgba(16, 64, 130, 0.48) 42%,
      rgba(24, 72, 140, 0.22) 70%,
      rgba(30, 80, 150, 0.08) 100%
    );
  }

  .inner-hero--with-media .inner-hero__media {
    top: auto;
    left: 0;
    right: 0;
    width: 100%;
    height: 48%;
    -webkit-mask-image: linear-gradient(
      180deg,
      transparent 0%,
      rgba(0, 0, 0, 0.55) 18%,
      #000 40%
    );
    mask-image: linear-gradient(
      180deg,
      transparent 0%,
      rgba(0, 0, 0, 0.55) 18%,
      #000 40%
    );
  }

  .inner-hero--with-media .inner-hero__panel {
    min-height: 360px;
  }
}

/* Industries list + industry detail — teal */
.page--industries .inner-hero,
.page--industry .inner-hero {
  --inner-hero-color-filter: linear-gradient(
    120deg,
    rgba(4, 56, 64, 0.5) 0%,
    rgba(12, 100, 104, 0.3) 50%,
    rgba(8, 40, 52, 0.38) 100%
  );
  --inner-hero-radial: radial-gradient(
    circle at 30% 50%,
    rgba(40, 200, 180, 0.22) 0%,
    transparent 70%
  );
}

/* Products — magenta */
.page--products .inner-hero,
.page--product .inner-hero {
  --inner-hero-color-filter: linear-gradient(
    120deg,
    rgba(72, 8, 56, 0.5) 0%,
    rgba(140, 28, 100, 0.3) 50%,
    rgba(48, 8, 40, 0.38) 100%
  );
  --inner-hero-radial: radial-gradient(
    circle at 30% 48%,
    rgba(255, 70, 170, 0.22) 0%,
    transparent 70%
  );
}

/* Projects — steel / navy */
.page--projects .inner-hero,
.page--project .inner-hero {
  --inner-hero-color-filter: linear-gradient(
    120deg,
    rgba(12, 32, 72, 0.5) 0%,
    rgba(28, 72, 130, 0.3) 50%,
    rgba(16, 28, 56, 0.38) 100%
  );
  --inner-hero-radial: radial-gradient(
    circle at 30% 50%,
    rgba(70, 150, 255, 0.22) 0%,
    transparent 70%
  );
}

/* Blogs / legal pages using page--blog — warm plum-rose */
.page--blogs .inner-hero,
.page--blog .inner-hero {
  --inner-hero-color-filter: linear-gradient(
    120deg,
    rgba(80, 12, 40, 0.5) 0%,
    rgba(140, 36, 72, 0.3) 50%,
    rgba(48, 12, 32, 0.38) 100%
  );
  --inner-hero-radial: radial-gradient(
    circle at 30% 48%,
    rgba(255, 90, 130, 0.22) 0%,
    transparent 70%
  );
}

/* Contact — violet-indigo */
.page--contact .inner-hero {
  --inner-hero-color-filter: linear-gradient(
    120deg,
    rgba(36, 16, 96, 0.5) 0%,
    rgba(88, 40, 160, 0.3) 50%,
    rgba(28, 16, 64, 0.38) 100%
  );
  --inner-hero-radial: radial-gradient(
    circle at 32% 50%,
    rgba(150, 100, 255, 0.24) 0%,
    transparent 70%
  );
}

/* Partners — cyan-blue */
.page--partners .inner-hero {
  --inner-hero-color-filter: linear-gradient(
    120deg,
    rgba(8, 40, 80, 0.5) 0%,
    rgba(20, 90, 150, 0.3) 50%,
    rgba(12, 32, 64, 0.38) 100%
  );
  --inner-hero-radial: radial-gradient(
    circle at 30% 50%,
    rgba(50, 180, 255, 0.22) 0%,
    transparent 70%
  );
}

/* Clients — forest teal */
.page--clients .inner-hero {
  --inner-hero-color-filter: linear-gradient(
    120deg,
    rgba(8, 48, 40, 0.5) 0%,
    rgba(16, 96, 72, 0.3) 50%,
    rgba(12, 36, 36, 0.38) 100%
  );
  --inner-hero-radial: radial-gradient(
    circle at 30% 50%,
    rgba(60, 210, 150, 0.2) 0%,
    transparent 70%
  );
}

/* FAQ — amber-tinted */
.page--faq .inner-hero {
  --inner-hero-color-filter: linear-gradient(
    120deg,
    rgba(56, 24, 16, 0.48) 0%,
    rgba(110, 48, 28, 0.28) 48%,
    rgba(40, 16, 32, 0.38) 100%
  );
  --inner-hero-radial: radial-gradient(
    circle at 30% 50%,
    rgba(255, 140, 60, 0.2) 0%,
    transparent 70%
  );
}

/* 404 / error — near black wine (slightly denser for contrast) */
.page--error .inner-hero {
  --inner-hero-color-filter: linear-gradient(
    120deg,
    rgba(24, 8, 16, 0.56) 0%,
    rgba(56, 12, 28, 0.34) 50%,
    rgba(16, 8, 16, 0.46) 100%
  );
  --inner-hero-radial: radial-gradient(
    circle at 30% 50%,
    rgba(200, 40, 90, 0.2) 0%,
    transparent 68%
  );
}

.home-hero-bg .hero-overlay-shape,
.inner-hero__bg .hero-overlay-shape,
.home-cta-media .hero-overlay-shape {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.1) 40%,
    transparent 80%
  );
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.1) 40%,
    transparent 80%
  );
}

/* Inner pages: keep the shape texture but let more of the video through */
.inner-hero__bg .hero-overlay-shape {
  opacity: 0.28;
}

/* Home / CTA: original radial. Inner heroes: page-specific --inner-hero-radial */
.hero-radial-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: var(--gradient-hero-radial);
  pointer-events: none;
}

.inner-hero .hero-radial-overlay {
  background: var(--inner-hero-radial);
}

/* Inner page hero (About, Blogs, etc.) — mirrors home hero panel */
.inner-hero {
  width: 100%;
  max-width: 100vw;
  margin: 0;
  padding: calc(var(--header-height) + 16px) 24px 24px;
  box-sizing: border-box;
  color: var(--color-white);
}

.inner-hero__panel {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  padding: 64px 0;
  min-height: 400px;
  border-radius: 24px;
  display: grid;
  align-items: end;
}

.inner-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.inner-hero__panel > .container {
  position: relative;
  z-index: 4;
}

.inner-hero__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--color-white);
}

.inner-hero__lead {
  max-width: 560px;
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-white);
}


.home-hero .row {
  position: relative;
  z-index: 1;
}

.home-hero .hero-content {
	position: relative;
	z-index: 1;
	height: 100%;
	padding: 0;
	display: grid;
	align-content: space-between;
	gap: 24px;
}

.hero-visual {
	position: relative;
	z-index: 1;
	height: 100%;
	padding: 0;
	display: flex;
	align-items: end;
	justify-content: flex-end;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.hero-trust-avatars {
  display: flex;
  align-items: center;
}

.hero-trust-avatars img,
.hero-trust-google {
  width: 36px;
  height: 36px;
  margin-right: -16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  object-fit: cover;
}

.hero-trust-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0;
  background: var(--color-white);
  padding: 4px;
}

.hero-trust-google img {
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
}

.hero-trust-copy p {
  margin: 0;
  font-size: 12px;
  line-height: 1.3;
  color: var(--color-white);
}

.hero-trust-copy p + p {
  margin-top: 4px;
}

.hero-trust-copy i {
  color: #f3b000;
  font-size: 14px;
  vertical-align: middle;
}

.home-hero h1,
#hero.home-hero h1 {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
	font-size: clamp(32px, 4.1vw, 128px);
  font-weight: 400;
  line-height: 1.08;
  color: var(--color-white);
}

.home-hero .hero-buttons {
  margin-bottom: 24px;
  gap: 16px !important;
}

.home-hero .hero-buttons .btn-default {
	min-width: 176px;
  padding: 16px 24px;
  font-size: 16px;
}

.home-hero .hero-lead {
  max-width: 509px;
  margin: 0;
  font-size: clamp(16px, 2.5vw, 16px);
	font-weight: 300;
  line-height: 1.4;
  color: var(--color-white);
}

.hero-video-card {
	position: relative;
	width: min(100%, 352px);
	flex-shrink: 0;
}

.hero-video-slider {
  overflow: hidden;
}

.hero-video-slider .swiper-wrapper {
  border-radius: var(--radius-md);
}

.hero-video-slider .swiper-slide {
  height: auto;
}

.hero-video-slide {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 16 / 9;
}

.hero-video-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.hero-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--color-white);
  backdrop-filter: blur(5px);
  color: var(--color-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.hero-video-play i {
  font-size: 22px;
  margin-left: 2px;
}

.hero-video-slide:hover .hero-video-play {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(250, 250, 250, 0.95);
}

.hero-video-slide:hover img {
  transform: scale(1.03);
}

.hero-video-dots {
	position: static!important;
	display: flex;
	gap: 8px;
	margin-top: 8px;
}

.hero-video-dots .swiper-pagination-bullet {
  flex: 1;
  width: auto;
  height: 4px;
  margin: 0 !important;
  border-radius: 999px;
  opacity: 1;
  background: rgba(255, 255, 255, 0.28);
  position: relative;
  overflow: hidden;
}

.hero-video-dots .swiper-pagination-bullet::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-white);
  transform: scaleX(0);
  transform-origin: left center;
  border-radius: inherit;
}

.hero-video-dots .swiper-pagination-bullet.is-complete::after {
  transform: scaleX(1);
}

.hero-video-dots .swiper-pagination-bullet.is-progressing::after {
  animation: heroVideoBulletProgress 3s linear forwards;
}

.hero-video-slider:hover .hero-video-dots .swiper-pagination-bullet.is-progressing::after,
.hero-video-dots .swiper-pagination-bullet.is-progressing.is-paused::after {
  animation-play-state: paused;
}

@keyframes heroVideoBulletProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Hero video modal */
.hero-video-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.hero-video-modal[hidden] {
  display: none !important;
}

.hero-video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.82);
}

.hero-video-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 896px);
}

.hero-video-modal__close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
}

.hero-video-modal__frame-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
}

.hero-video-modal__frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
body.is-video-open {
  overflow: hidden;
}

/* Partners */
.partners-heading {
	font-size: 20px!important;
	letter-spacing: -1px;
	margin-bottom: 24px!important;
}

.partners-slider-wrap {
  position: relative;
}

.partners-slider-wrap::before,
.partners-slider-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(48px, 10vw, 144px);
  z-index: 2;
  pointer-events: none;
}

.partners-slider-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--color-bg) 0%, transparent 100%);
}

.partners-slider-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--color-bg) 0%, transparent 100%);
}

.partners-slider {
  overflow: visible;
  padding-block: 4px;
}

.partners-slider .swiper-wrapper {
  transition-timing-function: linear !important;
}

.partners-slider .swiper-slide {
  height: auto;
}

.partners-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-light);
}

.partners-slide img {
	max-width: 124px;
	max-height: 54px;
	width: 100%;
	object-fit: contain;
	/* filter: grayscale(100%); */
	opacity: 0.75;
	transition: filter 0.3s ease, opacity 0.3s ease;
}

.partners-slide:hover img {
  filter: none;
  opacity: 1;
}

/* About */
.home-about-copy .section-title {
  margin-bottom: 0;
}

.home-about-copy .section-title h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
}

.home-about-copy .section-title p {
  max-width: 509px;
  margin-bottom: 24px;
  font-size: 20px;
}

.home-about-actions .btn-default {
	min-width: 176px;
  padding: 16px 24px;
  font-size: 16px;
}

.home-about-media {
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 617 / 392;
  background: #9f9f9f;
}

.home-about-media img,
.home-about-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
	margin-top: 80px;
}

.home-stat {
  padding: 16px;
  border-radius: 16px;
	display: grid;
	justify-content: center;
	text-align: center;
}

.home-stat-value {
	margin: 0 0 8px;
	font-family: var(--font-display);
	font-size: 50px;
	letter-spacing: -1px;
	font-weight: 400;
	line-height: 1;
	color: var(--color-text-main);
}

.home-stat-value__inner {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
}

.home-stat-value .purecounter,
.home-stat-prefix,
.home-stat-suffix {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}

.home-stat-label {
  margin: 0;
  font-size: 20px;
  color: var(--color-text-body);
}

/* Products */
.products-slider {
  overflow: hidden;
}

.products-slider .swiper-slide {
  height: auto;
}

.home-services-slider .insight-card {
  height: 100%;
}

.home-services-slider .insight-card-media {
  display: block;
}

.home-products-actions {
  width: 100%;
}

.product-card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.product-card {
  height: 100%;
  transition: transform 0.35s ease;
}

.product-card:hover {
  transform: translateY(-4px);
}

/* 1:1 product media — catalogue, home featured, related */
.product-card-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  width: 100%;
  margin-bottom: 16px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.9) 0%, rgba(245, 246, 248, 0.95) 55%, rgba(236, 238, 242, 0.98) 100%);
  border: 1px solid rgba(15, 12, 22, 0.06);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.35s ease;
}

.product-card:hover .product-card-media {
  border-color: rgba(15, 12, 22, 0.1);
  box-shadow: 0 12px 32px rgba(15, 12, 22, 0.08);
}

.product-card-media img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
  transition: transform 0.45s cubic-bezier(0.19, 1, 0.22, 1);
}

.product-card:hover .product-card-media img {
  transform: scale(1.05);
}

.product-card-tag {
  display: inline-flex;
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-main);
}

.product-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--color-text-main);
  transition: color 0.25s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card:hover h3,
.product-card:hover h3 a,
.product-card-link:hover h3 {
  color: var(--color-primary);
}

.product-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-products-slider .product-card,
.product-card--catalog,
.product-card--featured {
  height: 100%;
}

.product-card--catalog .product-card-media,
.product-card--featured .product-card-media {
  margin-bottom: 16px;
}

.product-card-media .card-arrow-btn {
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
}

/* Card media arrow button */
.insight-card-media,
.product-card-media {
  position: relative;
}

/* CTA */
.home-cta-panel {
	position: relative;
	overflow: hidden;
	padding: 64px;
	border-radius: var(--radius-lg);
	background: var(--color-main);
	color: var(--color-white);
	width: 100%;
	align-content: end;
}

.home-cta-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.home-cta-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-cta-panel .row {
  position: relative;
  z-index: 3;
}

.home-cta-panel .d-flex.gap-2 {
  gap: 16px !important;
}

.home-cta-panel .btn-default {
  min-width: 176px;
  padding: 16px 24px;
  font-size: 16px;
}

.home-cta-panel h2 {
  margin-bottom: 24px;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.04;
  color: var(--color-white);
}

.home-cta-panel > .row > .col-lg-6 > p,
.home-cta-panel p {
  max-width: 509px;
  margin-bottom: 24px;
  font-size: 20px;
  line-height: 1.4;
  color: #cacaca;
}

.home-cta-quote {
  margin: 0;
  min-height: 133px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--color-main);
}

.home-cta-quote p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-main);
}

.home-cta-quote cite {
  display: block;
  font-style: normal;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Testimonials */
.home-testimonials-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: 4px;
  align-items: stretch;
}

.testimonials-slider {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.testimonials-slider .swiper-slide {
  height: auto;
}

.google-review-card,
.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 349px;
  padding: 24px;
  background: var(--color-white);
}

.google-review-card {
  align-items: center;
  text-align: center;
  gap: 8px;
}

.google-review-logo {
  width: 36px;
  height: auto;
}

.google-review-score {
  margin: 0;
  font-family: var(--font-display);
  font-size: 96px;
  font-weight: 500;
  line-height: 1;
  color: var(--color-text-main);
}

.google-review-stars {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--color-star);
}

.google-review-stars i {
  font-size: 22px;
  line-height: 1;
}

.google-review-count {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text-main);
}

.testimonial-card {
  justify-content: space-between;
  gap: 24px;
}

/* Long Google reviews: keep card height even with ellipsis */
.testimonial-card__quote,
.testimonial-card > p {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
  color: var(--color-text-main);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: calc(1.45em * 6);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.testimonial-author img,
.testimonial-author__initials {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-author__initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--color-white, #fff);
  background: var(--color-navy, #0a263a);
  user-select: none;
}

.testimonial-author h3 {
  margin: 0 0 2px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-main);
}

.testimonial-author p {
  margin: 0;
  font-size: 14px;
  color: var(--color-text-muted);
}

.home-testimonials .testimonials-nav {
  gap: 8px;
}

.home-testimonials .testimonials-prev,
.home-testimonials .testimonials-next {
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 50%;
	font-size: 22px;
	background: var(--color-white);
	color: var(--color-text-main);
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Card media arrow button */
.insight-card-media,
.product-card-media {
  position: relative;
}

.card-arrow-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
	opacity: 0;
  background: transparent;
  color: transparent;
  box-shadow: 0 0 0 rgba(15, 12, 22, 0.12);
  pointer-events: none;
  transition:
    opacity 0.5s cubic-bezier(0.19, 1, 0.22, 1),
    transform 0.5s cubic-bezier(0.19, 1, 0.22, 1),
    background 0.5s cubic-bezier(0.19, 1, 0.22, 1),
    color 0.5s cubic-bezier(0.19, 1, 0.22, 1),
    box-shadow 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.card-arrow-btn i {
  font-size: 20px;
  line-height: 1;
}

.insight-card:hover .card-arrow-btn,
.product-card:hover .card-arrow-btn {
	opacity: 1;
  transform: scale(1.08);
  background: var(--color-ink);
  color: var(--color-white);
  box-shadow: 0 8px 24px rgba(15, 12, 22, 0.2);
}

/* Insights */
.insight-card {
  height: 100%;
}

.insight-card-media {
  display: block;
	aspect-ratio: 16/9;
  width: 100%;
  margin-bottom: 24px;
  border-radius: var(--radius-lg);
  background: var(--color-primary-light);
  overflow: hidden;
}

button.insight-card-media.project-gallery-trigger {
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}

.insight-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.insight-card:hover .insight-card-media img {
  transform: scale(1.04);
}

.insight-card-category {
  display: inline-flex;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-main);
}

.insight-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
}

.insight-card h3 a {
  color: var(--color-text-main);
}

.insight-card h3 a:hover {
  color: var(--color-primary);
}

.insight-card > p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

@media (max-width: 1199px) {

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

  .home-testimonials-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  }
}

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

  .inner-hero__panel {
    min-height: auto;
    padding: 48px 0;
    border-radius: 16px;
  }

  .inner-hero {
    padding: calc(var(--header-height) + 8px) 16px 16px;
  }

  .inner-hero__panel > .container {
    padding: 32px 24px;
  }

  .inner-hero__title {
    font-size: 32px;
    margin-bottom: 16px;
  }

  .inner-hero__lead {
    font-size: 16px;
    max-width: none;
  }

  .home-hero-inner {
    padding: 32px 24px;
  }

  .home-hero .hero-content,
  .hero-visual {
    min-height: auto;
    gap: 16px;
  }

  .hero-visual {
    align-items: stretch;
  }

  .hero-video-card {
    width: 100%;
    max-width: 352px;
    margin-inline: auto;
  }

  .home-cta-panel {
    padding: 40px 24px;
  }

}

@media (max-width: 767px) {
  .home-hero,
  #hero.home-hero {
    height: auto;
    min-height: 0;
  }

  .home-hero-inner {
    padding: 24px 16px;
  }

  .home-hero .hero-lead {
    font-size: clamp(16px, 4vw, 16px);
  }

  .home-stats,
  .home-testimonials-layout {
    grid-template-columns: 1fr;
  }

  .home-stat-value {
    font-size: clamp(32px, 8vw, 40px);
  }

  .google-review-card,
  .testimonial-card {
    min-height: auto;
  }

  .google-review-score {
    font-size: 72px;
  }

  .home-cta-panel {
    min-height: auto;
  }

  .home-cta-quote {
    min-height: auto;
  }

  .product-gallery-main {
    min-height: 280px;
  }

  .product-detail-info .product-enquire-btn {
    min-height: 48px;
    font-size: 16px;
  }
}

/* About — Why we started */
.about-story {
  padding: 80px 0;
  background: var(--color-primary-light);
}

.about-story-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 8px;
}

.about-story-intro h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.3;
}

.about-story-intro p {
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
  color: var(--color-text-body);
}

.about-stats-cards {
  display: flex;
  gap: 24px;
  align-items: flex-end;
}

.about-stat-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 121px;
  padding: 16px;
  border-radius: 16px;
  background: var(--color-white);
  text-align: left;
}

.about-stat-card.is-tall { min-height: 295px; }
.about-stat-card.is-medium { min-height: 241px; }
.about-stat-card.is-short { min-height: 197px; }
.about-stat-card.is-shorter { min-height: 164px; }
.about-stat-card.is-shortest { min-height: 121px; }

.about-stat-card .value {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  line-height: 1;
  color: var(--color-text-main);
}

.about-stat-value__inner {
  display: inline-flex;
  align-items: baseline;
}

.about-stat-card .purecounter,
.about-stat-prefix,
.about-stat-suffix {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}

.about-stat-card .label {
  margin: 0;
  font-size: 16px;
  color: var(--color-text-body);
}

/* Mission / Vision blocks */
.about-pillars {
  padding: 80px 0;
}

.about-pillar .row {
  margin-bottom: 80px;
}

.about-values-head .row {
  margin-bottom: 24px;
}

.about-team {
  scroll-margin-top: calc(var(--header-height) + 32px);
}

.about-pillar h2,
.about-values-head h2 {
  margin: 0 0 24px;
  font-size: 36px;
  font-weight: 500;
}

.about-pillar p,
.about-values-head p {
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
  color: var(--color-text-body);
}

.about-pillar-media {
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 552 / 351;
  background: #9f9f9f;
}

.about-pillar-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.value-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--color-primary-light);
}

.value-card__icon {
  display: block;
  width: 53px;
  height: 53px;
  margin-bottom: 24px;
  font-size: 48px;
  line-height: 53px;
  color: var(--color-navy, #0a263a);
}

.value-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 500;
}

.value-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-muted);
}

/* Catalog filters — CSS-only (radio + :has) */
.catalog-filter-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.products-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 1200px;
}

.filter-pill {
	border: 1px solid #e2e2e2;
	border-radius: var(--radius-pill);
	padding: 8px 16px;
	min-height: 48px;
	min-width: 72px;
	background: var(--color-white);
	font-size: clamp(16px, 2vw, 16px);
	font-weight: 500;
	color: var(--color-main);
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.filter-pill:hover {
  border-color: var(--color-main);
}

.catalog-page:has(.catalog-filter-input:checked) .filter-pill {
  background: var(--color-white);
  border-color: #e2e2e2;
  color: var(--color-main);
}

.catalog-product-card,
.catalog-project-card,
.catalog-blog-card {
  height: 100%;
}

/* Product detail */
.products-page,
.projects-page,
.blogs-page,
.services-page,
.error-page {
  padding: calc(var(--header-height) + 128px) 0 48px;
}

.product-detail-page {
  padding: calc(var(--header-height) + 128px) 0 80px;
}

/* Catalog intro + highlight cards (products / projects / blogs) */
.catalog-intro__title {
  max-width: 768px;
  margin-bottom: 40px;
}

.catalog-intro__title h1 {
  margin-bottom: 16px;
}

.catalog-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.catalog-highlight {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border-radius: 16px;
  background: var(--color-primary-light, #f4f6f8);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.catalog-highlight--plain {
  background: transparent;
  border: 1px solid rgba(15, 23, 42, 0.08);
  height: 100%;
}

.catalog-highlight i {
  font-size: 24px;
  color: var(--color-main, var(--color-navy));
  line-height: 1;
}

.catalog-highlight__step {
  font-family: var(--font-display, inherit);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-main, var(--color-navy));
}

.catalog-highlight h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-text-main, inherit);
}

.catalog-highlight p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-body, #555);
}

.catalog-categories .product-card h3 {
  font-size: 16px;
}

.catalog-empty {
  margin: 0;
  padding: 32px;
  text-align: center;
  color: var(--color-text-body, #555);
  background: var(--color-primary-light, #f4f6f8);
  border-radius: var(--radius-lg);
}

.product-detail-subhead,
.project-detail-subhead {
  margin: 0 0 16px;
  font-size: 17px;
  font-weight: 600;
}

.product-detail-content,
.product-detail-extra {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.project-gallery-main img {
  max-height: none;
  width: 100%;
  height: auto;
  object-fit: cover;
  mix-blend-mode: normal;
}

.project-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
}

.project-gallery-thumb {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-primary-light, #f4f6f8);
  aspect-ratio: 4 / 3;
}

.project-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-related {
  padding-bottom: 32px;
}

.blog-detail-category {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-main, var(--color-navy));
}

.blog-detail-cta-box {
  margin-top: 40px;
  padding: 24px 24px;
  border-radius: var(--radius-lg);
  background: var(--color-primary-light, #f4f6f8);
}

.blog-detail-cta-box h2 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
}

.blog-detail-cta-box p {
  margin: 0 0 16px;
  color: var(--color-text-body, #555);
}

@media (max-width: 991px) {
  .catalog-highlights {
    grid-template-columns: 1fr;
  }

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

/* 404 page */
.error-page__panel {
  max-width: 640px;
  margin-inline: auto;
  padding: 48px 32px;
  border-radius: var(--radius-lg);
  background: var(--color-primary-light);
  text-align: center;
}

.error-page__code {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(64px, 14vw, 112px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--color-text-main);
}

.error-page__panel .section-title {
  margin-bottom: 32px;
}

.error-page__panel .section-title h1 {
  margin-bottom: 16px;
}

.error-page__panel .section-title p {
  margin: 0 auto;
  max-width: 576px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-text-body);
}

.error-page__actions {
  margin-top: 8px;
}

.product-breadcrumbs {
  display: block;
  padding: 0;
  margin-bottom: 24px;
  border-radius: 0;
  background: transparent;
}

.product-breadcrumbs ol {
  gap: 0;
  font-size: 16px;
	padding: 0;
}

.product-breadcrumbs a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.product-breadcrumbs a:hover {
  color: var(--color-text-main);
}

.product-breadcrumbs [aria-current="page"] {
  color: var(--color-text-main);
  font-weight: 500;
}

.product-breadcrumbs li + li::before {
  margin-inline: 8px;
  color: var(--color-text-muted);
}

.service-detail-body {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.service-detail-extra.industry-detail-extra {
  margin-top: 56px;
}

.service-related-products {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border, rgba(0, 0, 0, 0.08));
}

.service-related-projects {
  margin-top: 56px;
  padding-top: 32px;
  padding-bottom: 0;
  border-top: 1px solid var(--color-border, rgba(0, 0, 0, 0.08));
}

.service-detail-benefits {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border, rgba(0, 0, 0, 0.08));
}

.service-detail-benefits .catalog-highlight h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 500;
}

.service-detail-page .catalog-empty {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-body, #555);
}

.service-detail-extra {
  margin-top: 56px;
}

.service-detail-extra .section-title {
  margin-bottom: 24px;
}

/* Compact trail on blog posts (small type, clipped current title) */
.blog-detail-breadcrumbs {
  margin-bottom: 16px;
}

.blog-detail-breadcrumbs ol {
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0.01em;
  flex-wrap: nowrap;
  max-width: 100%;
  overflow: hidden;
}

.blog-detail-breadcrumbs li {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  flex-shrink: 0;
}

.blog-detail-breadcrumbs li[aria-current="page"] {
  flex-shrink: 1;
  max-width: min(224px, 40vw);
}

.blog-detail-breadcrumbs a {
  font-weight: 400;
}

.blog-detail-breadcrumbs [aria-current="page"] {
  font-weight: 400;
  color: var(--color-text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.blog-detail-breadcrumbs li + li::before {
  margin-inline: 8px;
  font-size: 11px;
  flex-shrink: 0;
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 992px) {
  .product-gallery {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    z-index: 1;
  }
}

.product-gallery-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 429px;
  border-radius: var(--radius-lg);
  background: var(--color-primary-light);
  overflow: hidden;
}

.product-gallery-main img {
  max-height: 297px;
  width: auto;
  object-fit: contain;
	mix-blend-mode: multiply;
}

.product-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
}

.product-gallery-thumb {
  margin: 0;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-primary-light, #f4f6f8);
  aspect-ratio: 1;
  cursor: pointer;
}

.product-gallery-thumb.is-active,
.product-gallery-thumb:hover {
  border-color: var(--color-main, var(--color-navy, #0f172a));
}

.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  mix-blend-mode: multiply;
}

.product-detail-info h1 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
}

.product-detail-brand-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin: 0 0 16px;
}

.product-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
}

.product-brand__logo {
  width: auto;
  height: 28px;
  max-width: 96px;
  object-fit: contain;
}

.product-brand__name {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-text-heading, #1a1a1a);
}

.product-service-link {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 24px;
  font-size: 14px;
}

.product-service-link a {
  color: var(--color-text-body);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.product-service-link a:hover {
  color: var(--color-text-heading, #1a1a1a);
}

.product-summary {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--color-text-body);
}

.product-description {
  margin: 0 0 24px;
}

.product-description p {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-body);
}

.product-description p:last-child {
  margin-bottom: 0;
}

.product-features {
  margin: 0 0 24px;
  padding-left: 24px;
  color: #383838;
}

.product-features li {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.45;
}

.product-detail-info .product-enquire-btn {
  width: 100%;
  min-height: 56px;
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 500;
}

.product-detail-about {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border, rgba(0, 0, 0, 0.08));
}

.product-detail-about .product-detail-subhead {
  margin: 0 0 16px;
}

.product-detail-about__body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-body);
}

.product-detail-about__body > *:first-child {
  margin-top: 0;
}

.product-detail-about__body > *:last-child {
  margin-bottom: 0;
}

.product-detail-about__features {
  margin-top: 24px;
}

.product-detail-about__features .product-detail-subhead {
  margin: 0 0 12px;
  font-size: 15px;
}

.product-detail-about__features .product-features {
  margin-bottom: 0;
}

.product-related {
  padding: 0 0 80px;
}

@media (max-width: 991px) {
  .about-story-intro {
    grid-template-columns: 1fr;
  }

  .about-pillar .row,
  .about-values-head .row {
    margin-bottom: 48px;
  }

  .about-stats-cards {
    flex-wrap: wrap;
  }

  .about-stat-card {
    flex: 1 1 calc(50% - 14px);
    min-height: 140px !important;
  }

}

@media (max-width: 575px) {
  .about-stat-card {
    flex: 1 1 100%;
  }

  .products-filters {
    gap: 8px;
  }

  .filter-pill {
    min-height: 40px;
    padding: 8px 16px;
  }

  .product-detail-page,
  .blog-detail-page {
    padding-top: calc(var(--header-height) + 32px);
  }

  .products-page,
  .projects-page,
  .blogs-page,
  .error-page {
    padding-top: calc(var(--header-height) + 32px);
  }
}



/* Accreditations slider */
.accreditations-slider {
  overflow: hidden;
  padding-block: 4px;
}

.accreditations-slider .swiper-slide {
  height: auto;
}

.accreditation-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 124px;
  padding: 4px 8px;
}

.accreditation-slide img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 124px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.accreditation-slide:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

@media (max-width: 768px) {
  .accreditation-slide {
    min-height: 40px;
  }

  .accreditation-slide img {
    height: 40px;
  }
}

/* Clients slider */
.clients-slider {
  overflow: hidden;
  padding-block: 4px;
}

.clients-slider .swiper-wrapper {
  transition-timing-function: linear;
}

.clients-slider .swiper-slide {
  height: auto;
}

.client-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 124px;
  padding: 4px 8px;
}

.client-slide img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 124px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.client-slide:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.clients-page {
  padding-top: calc(var(--header-height) + 32px);
}

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

.clients-grid-item {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-white);
}

.clients-grid-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 132px;
  padding: 16px;
}

.clients-grid-card img {
  width: 100%;
  max-width: 100%;
  height: 88px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .clients-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (min-width: 1200px) {
  .clients-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .client-slide {
    min-height: 40px;
  }

  .client-slide img {
    height: 40px;
  }
}

/* Team cards */
.team-card {
  height: 100%;
  border-radius: var(--radius-lg);
}

.team-card-media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-line);
}

.team-card-media picture {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.team-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(15, 12, 22, 0.05) 0%, rgba(15, 12, 22, 0.92) 100%);
  color: var(--color-white);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.55s cubic-bezier(0.19, 1, 0.22, 1),
    visibility 0.55s cubic-bezier(0.19, 1, 0.22, 1);
}

@media (hover: hover) {
  .team-card:hover .team-card-media img {
    transform: scale(1.04);
  }

  .team-card:hover .team-card-overlay {
    opacity: 1;
    visibility: visible;
  }
}

.team-card:focus-within .team-card-media img {
  transform: scale(1.04);
}

.team-card:focus-within .team-card-overlay {
  opacity: 1;
  visibility: visible;
}

@media (hover: none) {
  .team-card-overlay {
    opacity: 1;
    visibility: visible;
  }
}

.team-card-overlay h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-white);
}

.team-card-role {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.team-card-bio {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
}

/* Service, project & industry detail */
.service-detail-page,
.project-detail-page,
.industry-detail-page {
  padding: 80px 0;
}

.service-detail-media,
.project-detail-media,
.industry-detail-media {
  overflow: hidden;
  border-radius: 16px;
}

.service-detail-media img,
.project-detail-media img,
.industry-detail-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.service-detail-info h2,
.project-detail-info h2,
.industry-detail-info h2 {
	margin: 0 0 8px;
	font-family: var(--font-display, inherit);
	font-size: 32px;
	font-weight: 500;
	line-height: 1.25;
	color: var(--color-text-main, inherit);
}

.service-summary,
.project-summary,
.industry-summary {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.project-meta {
  display: grid;
  gap: 16px;
  margin: 0 0 24px;
}

.project-meta div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
}

.project-meta dt {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
}

.project-meta dd {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-main);
}

/* Blog detail */
.blog-detail-page {
  padding: calc(var(--header-height) + 128px) 0 80px;
}

.blog-detail-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.12;
  color: var(--color-text-main);
}

.blog-detail-excerpt {
  margin: 0 0 24px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--color-text-body);
}

.blog-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.blog-detail-meta time {
  font-weight: 500;
}

.blog-detail-meta__author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.blog-detail-meta__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.blog-detail-meta__author-name {
  font-weight: 500;
  color: var(--color-text-main, inherit);
}

.blog-detail-meta time::before {
  content: "·";
  margin-inline-end: 10px;
  color: var(--color-text-muted);
}

.blog-detail-media {
  margin-bottom: 32px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.blog-detail-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-detail-body p {
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text-body);
}

.blog-detail-body p:last-child {
  margin-bottom: 0;
}

.blog-detail-body h2 {
  margin: 32px 0 16px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-text-main);
}

.blog-detail-body h2:first-child {
  margin-top: 0;
}

.blog-detail-body ul {
  margin: 0 0 24px;
  padding-left: 24px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text-body);
}

.blog-detail-body li + li {
  margin-top: 8px;
}

.blog-detail-body a {
  color: var(--color-text-main);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-detail-body a:hover,
.blog-detail-body a:focus {
  color: var(--color-primary);
}

.blog-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
}

/* FAQ */
.faq-page-head {
  margin-bottom: 32px;
}

.faq-page-head h1,
.faq-page-head h2 {
  margin-bottom: 16px;
}

.faq-page-head p {
  max-width: 672px;
  margin: 0;
  color: var(--color-text-muted);
}

.faq-accordion {
  display: grid;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  overflow: hidden;
  transition: border-color var(--duration-base) var(--ease-default), box-shadow var(--duration-base) var(--ease-default);
}

.faq-item[open] {
  border-color: rgba(var(--color-blue-rgb), 0.35);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  position: relative;
  padding: 16px 48px 16px 24px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--color-text-main);
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
  color: var(--color-text-muted);
  transition: transform var(--duration-base) var(--ease-default), color var(--duration-base) var(--ease-default);
}

.faq-item[open] summary::after {
  content: "−";
  color: var(--color-primary);
}

.faq-item p {
  margin: 0;
  padding: 0 24px 24px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text-muted);
}

/* -----------------------------------------------------------------------------
 * Contact form — AJAX feedback (contact.php + assets/js/contact-form.js)
 * Shown after submit via api/form-submit.php; field errors injected by JS.
 * ----------------------------------------------------------------------------- */
.contact-form__status {
  margin-bottom: 16px;
  padding: 16px 16px;
  border-radius: var(--radius-sm, 8px);
  font-size: 15px;
}

.contact-form__status--success {
  background: color-mix(in srgb, var(--color-ok, #16a34a) 12%, transparent);
  color: var(--color-ok, #16a34a);
}

.contact-form__status--error {
  background: color-mix(in srgb, var(--color-bad, #dc2626) 12%, transparent);
  color: var(--color-bad, #dc2626);
}

.contact-form__field-error {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--color-bad, #dc2626);
}

.contact-faq {
  border-top: 1px solid var(--color-border);
}

.catalog-page--projects .insight-card {
  cursor: pointer;
}

/* Projects portfolio - work photos first */
.project-work-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
}

.project-work-card__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--color-primary-light);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}

.project-work-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.project-work-card:hover .project-work-card__media img {
  transform: scale(1.04);
}

.project-work-card__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--color-text-muted);
  font-size: 14px;
}

.project-work-card__count {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill, 999px);
  background: rgba(8, 8, 8, 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}

.project-work-card__count .bx {
  font-size: 16px;
}

.project-work-card:hover .card-arrow-btn {
  opacity: 1;
  transform: scale(1.08);
  background: var(--color-ink);
  color: var(--color-white);
  box-shadow: 0 8px 24px rgba(15, 12, 22, 0.2);
}

.project-work-card__thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 16px;
}

.project-work-card__thumb {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-primary-light);
}

.project-work-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-work-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.project-work-card__category {
  display: inline-flex;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-main);
}

.project-work-card__title {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
}

.project-work-card__title a {
  color: inherit;
  text-decoration: none;
}

.project-work-card__title a:hover {
  color: var(--color-main);
}

.project-work-card__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-text-muted, #5b6472);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

.project-work-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--color-text-muted, #5b6472);
}

.project-work-card__meta li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.project-work-card__meta .bx {
  font-size: 16px;
  color: var(--color-main);
}

.project-work-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: auto;
  padding-top: 12px;
}

.project-work-card__gallery-btn {
  appearance: none;
  border: 0;
  padding: 0;
  background: none;
  color: var(--color-main);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.project-work-card__gallery-btn:hover {
  color: var(--color-text-main, inherit);
}

.project-work-card__detail-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted, #5b6472);
  text-decoration: none;
}

.project-work-card__detail-link:hover {
  color: var(--color-main);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Project gallery modal */
.project-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-modal) + 20);
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.project-gallery-modal[hidden] {
  display: none !important;
}

.project-gallery-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.94);
}

.project-gallery-modal__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 24px 24px 16px;
  color: var(--color-white);
}

/* Header (title/meta) removed from UI — close floats over the stage */
.project-gallery-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 6;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  cursor: pointer;
  transition: background var(--duration-base) var(--ease-button);
}

.project-gallery-modal__close:hover,
.project-gallery-modal__close:focus-visible {
  background: rgba(255, 255, 255, 0.28);
}

.project-gallery-modal__stage {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 0;
}

.project-gallery-modal__facts li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.project-gallery-modal__facts .bx {
  font-size: 16px;
  opacity: 0.9;
}

.project-gallery-modal__foot {
  display: flex;
  justify-content: center;
  margin-top: 12px;
  padding-top: 12px;
}

.project-gallery-modal__foot[hidden] {
  display: none !important;
}

.project-gallery-modal__detail-link {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.project-gallery-modal__detail-link:hover {
  opacity: 0.88;
}

.project-gallery-modal__figure {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 100%;
  margin: 0;
}

.project-gallery-modal__viewport {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.project-gallery-modal__main {
  display: block;
  max-width: 100%;
  max-height: min(78vh, calc(100vh - 160px));
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 0.48s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.project-gallery-modal__main.is-leaving.is-forward {
  opacity: 0;
  transform: translate3d(-56px, 0, 0);
}

.project-gallery-modal__main.is-leaving.is-backward {
  opacity: 0;
  transform: translate3d(56px, 0, 0);
}

.project-gallery-modal__main.is-entering.is-forward:not(.is-visible) {
  opacity: 0;
  transform: translate3d(56px, 0, 0);
}

.project-gallery-modal__main.is-entering.is-backward:not(.is-visible) {
  opacity: 0;
  transform: translate3d(-56px, 0, 0);
}

.project-gallery-modal__counter {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  margin: 0;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.55);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
}

.project-gallery-modal__nav {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  cursor: pointer;
  transition: background var(--duration-base) var(--ease-button);
}

.project-gallery-modal__nav:hover,
.project-gallery-modal__nav:focus-visible {
  background: rgba(255, 255, 255, 0.22);
}

.project-gallery-modal__thumbs-wrap {
  display: flex;
  justify-content: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.project-gallery-modal__thumbs {
  display: inline-flex;
  justify-content: center;
  gap: 16px;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
}

.project-gallery-modal__thumb {
  flex: 0 0 auto;
  width: 88px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  cursor: pointer;
  opacity: 0.72;
  transition:
    opacity var(--duration-base) var(--ease-default),
    border-color var(--duration-base) var(--ease-default),
    transform var(--duration-base) var(--ease-button);
}

.project-gallery-modal__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-gallery-modal__thumb:hover,
.project-gallery-modal__thumb:focus-visible {
  opacity: 1;
}

.project-gallery-modal__thumb.is-active {
  opacity: 1;
  border-color: var(--color-white);
  transform: translateY(-2px);
}

body.is-project-gallery-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .project-gallery-modal__main {
    transition: none;
  }
}

@media (max-width: 767.98px) {
  .project-gallery-modal__panel {
    padding: 16px 16px 16px;
  }

  .project-gallery-modal__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }

  .project-gallery-modal__nav--prev {
    left: 4px;
  }

  .project-gallery-modal__nav--next {
    right: 4px;
  }

  .project-gallery-modal__stage {
    display: block;
  }

  .project-gallery-modal__main {
    max-height: min(58vh, calc(100vh - 224px));
  }

  .project-gallery-modal__thumb {
    width: 76px;
    height: 56px;
  }
}

/* Service / industry detail extras — 8px grid, px units */
.detail-extra-grid {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.detail-process {
  margin-top: 56px;
}

.detail-process .catalog-highlights--steps {
  margin-top: 24px;
}

/* Service detail media — stable frame for service image */
.service-detail-media {
  background: var(--color-ink, #0d0d0d);
  aspect-ratio: 6 / 4;
  border-radius: 16px;
}

.service-detail-media img,
.service-detail-media picture,
.service-detail-media picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Benefits strip + media (image on right) — industry & service */
.detail-extra-grid--industry,
.industry-detail-extra {
  display: block;
  margin-top: 64px;
  padding: 32px 0 0;
  border-top: 0;
}

.industry-detail-extra__media {
  overflow: hidden;
  border-radius: 16px;
  background: var(--color-soft-2, #f0f0f0);
  aspect-ratio: 6 / 4;
}

.industry-detail-extra__media img,
.industry-detail-extra__media picture,
.industry-detail-extra__media picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.industry-detail-extra__head {
  max-width: none;
  margin-bottom: 24px;
}

.industry-detail-extra__head h2 {
  margin: 0 0 8px;
  font-family: var(--font-display, inherit);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--color-text-main, inherit);
}

.industry-detail-extra__head p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-muted, #5b5b5b);
}

.industry-benefit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 16px;
  overflow: hidden;
  background: var(--color-white, #fff);
}

.industry-benefit-list__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px 24px;
  align-items: start;
  padding: 24px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(90deg, rgba(48, 134, 243, 0.04) 0%, transparent 42%);
}

.industry-benefit-list__item:last-child {
  border-bottom: 0;
}

.industry-benefit-list__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--color-ink, #0d0d0d);
  color: var(--color-white, #fff);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.industry-benefit-list__copy h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-text-main, inherit);
}

.industry-benefit-list__copy p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-body, #555);
}

/* Industry process timeline */
.detail-process--industry,
.industry-detail-process {
  margin-top: 64px;
  padding: 40px 24px 32px;
  border-radius: 16px;
  background:
    linear-gradient(165deg, rgba(15, 12, 22, 0.96) 0%, #1a2740 52%, #243b63 100%);
  color: var(--color-white, #fff);
}

.industry-detail-process__intro {
  max-width: 560px;
  margin: 0 auto 32px;
  text-align: center;
}

.industry-detail-process__intro h2 {
  margin: 0 0 8px;
  font-family: var(--font-display, inherit);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.25;
  color: #fff;
}

.industry-detail-process__intro p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
}

.industry-process-timeline {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 640px;
  display: grid;
  gap: 0;
}

.industry-process-timeline__step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0 24px;
  position: relative;
}

.industry-process-timeline__step:not(:last-child) .industry-process-timeline__marker::after {
  content: "";
  position: absolute;
  top: 48px;
  left: 50%;
  width: 2px;
  height: calc(100% - 24px);
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(48, 134, 243, 0.85), rgba(255, 255, 255, 0.15));
}

.industry-process-timeline__marker {
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 0;
}

.industry-process-timeline__marker span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #fff;
  color: var(--color-ink, #0d0d0d);
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 0 0 4px rgba(48, 134, 243, 0.35);
}

.industry-process-timeline__body {
  padding: 0 0 32px;
}

.industry-process-timeline__step:last-child .industry-process-timeline__body {
  padding-bottom: 0;
}

.industry-process-timeline__body h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
}

.industry-process-timeline__body p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}

.detail-body-block {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

/* Mobile / tablet — service & industry detail */
@media (max-width: 991px) {
  .service-detail-page,
  .project-detail-page,
  .industry-detail-page {
    padding: 48px 0;
  }

  .industry-detail-extra__media {
    aspect-ratio: 16 / 10;
    margin-top: 24px;
  }

  .industry-detail-extra__head h2,
  .industry-detail-process__intro h2 {
    font-size: 28px;
  }

  .service-detail-body,
  .service-detail-extra.industry-detail-extra,
  .service-related-products,
  .service-related-projects,
  .detail-extra-grid--industry,
  .industry-detail-extra,
  .detail-body-block {
    margin-top: 40px;
  }

  .service-related-products,
  .service-related-projects {
    padding-top: 24px;
  }
}

@media (max-width: 767px) {
  .service-detail-page,
  .project-detail-page,
  .industry-detail-page {
    padding: 40px 0;
  }

  .service-detail-info h2,
  .project-detail-info h2,
  .industry-detail-info h2 {
    font-size: 24px;
  }

  .industry-detail-extra__head h2,
  .industry-detail-process__intro h2 {
    font-size: 24px;
  }

  .industry-benefit-list__item {
    grid-template-columns: 40px 1fr;
    gap: 16px;
    padding: 16px;
  }

  .industry-detail-process {
    margin-top: 40px;
    padding: 32px 16px;
  }

  .industry-process-timeline__step {
    grid-template-columns: 40px 1fr;
    gap: 0 16px;
  }

  .section-title--with-action {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .section-title--with-action .section-title__action {
    align-self: flex-start;
    margin-bottom: 0;
  }

  .service-related-products .product-card-media,
  .service-related-products .product-card-media img {
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 575px) {
  .industry-detail-process {
    padding: 24px 16px;
  }

  .industry-benefit-list__item {
    padding: 16px;
  }

  .industry-benefit-list__copy h3 {
    font-size: 16px;
  }

  .industry-benefit-list__copy p {
    font-size: 14px;
  }
}

.project-result-list {
  margin: 0;
  padding-left: 24px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-body, #555);
}

.project-result-list li + li {
  margin-top: 8px;
}

.project-gallery-empty {
  display: grid;
  place-items: center;
  min-height: 280px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--color-primary-light, #f4f6f8);
  color: var(--color-text-muted);
  text-align: center;
}

button.project-gallery-thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 2px solid transparent;
  background: none;
  cursor: pointer;
}

button.project-gallery-thumb.is-active,
button.project-gallery-thumb:hover {
  border-color: var(--color-main, #0f172a);
}

/* ---------- Project detail (portfolio case study) ---------- */
.project-detail {
  padding: calc(var(--header-height) + 96px) 0 72px;
}

.project-detail__crumbs {
  margin-bottom: 28px;
}

.project-detail__hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.project-detail__kicker {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-detail__kicker a {
  color: var(--color-main, #0f172a);
  text-decoration: none;
}

.project-detail__kicker a:hover,
.project-detail__kicker a:focus-visible {
  text-decoration: underline;
}

.project-detail__title {
  margin: 0 0 16px;
  font-family: var(--font-display, inherit);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--color-text-main);
  letter-spacing: -0.02em;
}

.project-detail__lead {
  margin: 0 0 24px;
  max-width: 36rem;
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text-body, #555);
}

.project-detail__facts {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.project-detail__facts li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.4;
}

.project-detail__facts .bx {
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 20px;
  color: var(--color-main, #0f172a);
}

.project-detail__fact-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 2px;
}

.project-detail__fact-value {
  color: var(--color-text-main);
  font-weight: 500;
}

.project-detail__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

.project-detail__back {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-main);
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 23, 42, 0.25);
  padding-bottom: 2px;
}

.project-detail__back:hover,
.project-detail__back:focus-visible {
  border-bottom-color: var(--color-main);
}

.project-detail__gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.project-detail__gallery-main {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.04), rgba(15, 23, 42, 0.01)),
    var(--color-primary-light, #f4f6f8);
  aspect-ratio: 4 / 3;
  min-height: 280px;
}

.project-detail__gallery-main .product-gallery-main__img,
.project-detail__gallery-main img,
.project-detail__gallery-main picture {
  display: block;
  width: 100%;
  height: 100%;
}

.project-detail__gallery-main picture {
  position: absolute;
  inset: 0;
}

.project-detail__gallery-main img {
  object-fit: cover;
  max-height: none;
}

.project-detail__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 10px;
}

.project-detail__thumbs .project-gallery-thumb {
  aspect-ratio: 1;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  background: var(--color-primary-light, #f4f6f8);
}

.project-detail__panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 40px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.project-detail__panel-title {
  margin: 0 0 18px;
  font-family: var(--font-display, inherit);
  font-size: 22px;
  font-weight: 500;
  color: var(--color-text-main);
}

.project-detail__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-detail__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-body, #444);
}

.project-detail__list .bx {
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 18px;
  color: var(--color-main, #0f172a);
}

.project-detail__notes {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  max-width: 48rem;
}

.project-detail__body {
  margin-top: 8px;
}

.project-work-card--related .project-work-card__media {
  aspect-ratio: 4 / 3;
}

.project-work-card--related .project-work-card__body {
  padding-top: 14px;
}

@media (max-width: 991.98px) {
  .project-detail__hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .project-detail__gallery {
    order: -1;
  }

  .project-detail__gallery-main {
    aspect-ratio: 16 / 11;
  }

  .project-detail__panels {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }
}

/* ---------- Contact page ---------- */
.contact-page {
  padding: calc(var(--header-height) + 96px) 0 0;
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(16, 80, 160, 0.07), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(180, 40, 80, 0.05), transparent 50%),
    var(--color-white, #fff);
}

.contact-page__header {
  max-width: 40rem;
  margin-bottom: 40px;
}

.contact-page__eyebrow {
  margin: 12px 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.contact-page__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 500;
  line-height: 1.12;
  color: var(--color-text-main);
  letter-spacing: -0.02em;
}

.contact-page__lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text-body);
}

.contact-page__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
  padding-bottom: 56px;
}

.contact-page__channels {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-channel {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.15s ease;
}

.contact-channel:last-child {
  border-bottom: 0;
}

a.contact-channel:hover,
a.contact-channel:focus-visible {
  opacity: 0.85;
}

.contact-channel__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--color-main, #0f172a);
  background: color-mix(in srgb, var(--color-main, #0f172a) 8%, transparent);
}

.contact-channel__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.contact-channel__value {
  display: block;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--color-text-main);
}

.contact-page__social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 20px 0 0;
  font-size: 15px;
}

.contact-page__social-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.contact-page__social a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text-main);
  text-decoration: none;
  font-weight: 500;
}

.contact-page__social a:hover {
  text-decoration: underline;
}

.contact-page__hours {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text-muted);
  max-width: 28rem;
}

.contact-page__form-wrap {
  min-width: 0;
}

.contact-form {
  padding: clamp(24px, 3vw, 36px);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    0 1px 0 rgba(15, 23, 42, 0.03),
    0 24px 48px -28px rgba(15, 23, 42, 0.18);
}

.contact-form__title {
  margin: 0 0 6px;
  font-family: var(--font-display, inherit);
  font-size: 22px;
  font-weight: 500;
  color: var(--color-text-main);
}

.contact-form__hint {
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form__field--full {
  grid-column: 1 / -1;
}

.contact-page .contact-form .form-label {
  font-weight: 500;
  margin-bottom: 6px;
}

.contact-page .contact-form .form-control {
  border-radius: 10px;
  padding: 11px 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-page .contact-form .form-control:focus {
  border-color: color-mix(in srgb, var(--color-main, #0f172a) 45%, #fff);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-main, #0f172a) 12%, transparent);
  outline: none;
}

.contact-form__submit {
  margin-top: 8px;
  min-width: 160px;
}

.contact-page__fallback-panel {
  padding: 28px;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
}

.contact-page__fallback {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-text-body);
}

.contact-map {
  padding: 48px 0 80px;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.03));
}

.contact-map__head {
  margin-bottom: 20px;
  max-width: 40rem;
}

.contact-map__title {
  margin: 0 0 8px;
  font-family: var(--font-display, inherit);
  font-size: 24px;
  font-weight: 500;
  color: var(--color-text-main);
}

.contact-map__address {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.contact-map__frame {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: var(--color-primary-light, #f4f6f8);
  aspect-ratio: 21 / 10;
  min-height: 280px;
  max-height: 480px;
}

.contact-map__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contact-map__open {
  margin: 14px 0 0;
  font-size: 14px;
}

.contact-map__open a {
  color: var(--color-text-main);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-map__open a:hover,
.contact-map__open a:focus-visible {
  color: var(--color-main, #0f172a);
}

@media (max-width: 991.98px) {
  .contact-page__layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-page__aside {
    order: 2;
  }

  .contact-page__form-wrap {
    order: 1;
  }

  .contact-map__frame {
    aspect-ratio: 16 / 12;
    max-height: none;
  }
}

@media (max-width: 575.98px) {
  .contact-form__grid {
    grid-template-columns: 1fr;
  }

  .catalog-highlights {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 576px) and (max-width: 991.98px) {
  .catalog-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-highlights--steps {
    grid-template-columns: 1fr;
  }
}
