/* --------------------------------------------------------------------------
   Base layout and shared visibility
   -------------------------------------------------------------------------- */

[hidden] {
  display: none !important;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

body > .min-h-screen,
header,
main,
footer,
section {
  width: 100%;
  min-width: 0;
}

.container-page {
  min-width: 0;
  max-width: min(var(--container-7xl), 100vw);
}

body.nav-open {
  overflow: hidden;
}

/* Database-rendered services and article content */

.article-copy {
  color: var(--foreground);
  font-size: 1.05rem;
  line-height: 1.85;
}

.article-copy p {
  margin: 0 0 1.4rem;
}

/* --------------------------------------------------------------------------
   Mobile navigation drawer
   -------------------------------------------------------------------------- */

.mobile-nav {
  position: fixed;
  inset: 0;
  height: 100vh;
  height: 100dvh;
  z-index: 80;
}

.mobile-nav__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgb(15 23 42 / 0.62);
  backdrop-filter: blur(3px);
}

.mobile-nav__panel {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(88vw, 23rem);
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: var(--background);
  box-shadow: -24px 0 64px rgb(15 23 42 / 0.2);
  padding: 1.25rem;
  animation: mobile-panel-in 180ms ease-out both;
}

.mobile-nav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.mobile-nav__title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.mobile-nav__close,
.contact-shortcuts__close {
  display: inline-grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--background);
  color: var(--foreground);
  font-size: 1.65rem;
  line-height: 1;
}

.mobile-nav__links {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 0;
}

.mobile-nav__links a {
  border-radius: 0.75rem;
  color: var(--foreground);
  font-weight: 650;
  padding: 0.8rem 0.9rem;
}

.mobile-nav__links a:hover,
.mobile-nav__links a[aria-current="page"] {
  color: var(--brand);
  background: var(--muted);
}

.mobile-nav__quote {
  display: block;
  border-radius: 999px;
  background: var(--brand);
  color: var(--brand-foreground);
  font-weight: 700;
  padding: 0.85rem 1rem;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Floating contact shortcuts
   -------------------------------------------------------------------------- */

.contact-shortcuts {
  position: fixed;
  right: 1.25rem;
  bottom: 5.25rem;
  z-index: 70;
  width: min(calc(100vw - 2.5rem), 21rem);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: var(--card);
  color: var(--foreground);
  box-shadow: 0 24px 70px rgb(15 23 42 / 0.24);
  padding: 1.25rem;
  animation: contact-panel-in 160ms ease-out both;
}

.contact-shortcuts__close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 2rem;
  height: 2rem;
  font-size: 1.25rem;
}

.contact-shortcuts strong {
  display: block;
  padding-right: 2rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
}

.contact-shortcuts p {
  margin: 0.4rem 0 1rem;
  color: var(--muted-foreground);
  font-size: 0.85rem;
  line-height: 1.55;
}

.contact-shortcuts a {
  display: block;
  margin-top: 0.55rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.7rem 0.9rem;
  color: var(--foreground);
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
}

.contact-shortcuts a:first-of-type {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--brand-foreground);
}

/* --------------------------------------------------------------------------
   Product catalogue controls
   -------------------------------------------------------------------------- */

.catalogue-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 18rem) auto;
  gap: 0.5rem 1rem;
  align-items: end;
  margin-bottom: 1rem;
}

.catalogue-field {
  display: grid;
  gap: 0.45rem;
}

.catalogue-tools label {
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 700;
}

.catalogue-tools input,
.catalogue-tools select {
  width: 100%;
  min-height: 3rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--foreground);
  padding: 0.7rem 1rem;
  outline: none;
}

.catalogue-tools input:focus,
.catalogue-tools select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgb(223 34 37 / 0.16);
}

.catalogue-status {
  color: var(--muted-foreground);
  font-size: 0.8rem;
  white-space: nowrap;
  padding-bottom: 0.85rem;
}

.catalogue-empty {
  border: 1px dashed var(--border);
  border-radius: 1rem;
  margin-top: 1.5rem;
  padding: 2.5rem 1rem;
  text-align: center;
}

.catalogue-empty strong,
.catalogue-empty span {
  display: block;
}

.catalogue-empty span {
  margin-top: 0.35rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   FAQ feedback and shared notifications
   -------------------------------------------------------------------------- */

.faq-answer {
  animation: faq-answer-in 150ms ease-out both;
}

.site-toast {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  z-index: 100;
  width: max-content;
  max-width: calc(100vw - 2rem);
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--ink);
  color: var(--ink-foreground);
  box-shadow: 0 16px 50px rgb(15 23 42 / 0.25);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  font-weight: 650;
  text-align: center;
  animation: toast-in 180ms ease-out both;
}

.site-toast--leaving {
  opacity: 0;
  transition: opacity 200ms ease;
}

a[aria-disabled="true"] {
  opacity: 0.55;
}

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

@keyframes mobile-panel-in {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

@keyframes contact-panel-in {
  from { opacity: 0; transform: translateY(0.5rem) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes faq-answer-in {
  from { opacity: 0; transform: translateY(-0.25rem); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes toast-in {
  from { opacity: 0; transform: translate(-50%, 0.5rem); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* --------------------------------------------------------------------------
   Responsive and accessibility preferences
   -------------------------------------------------------------------------- */

@media (min-width: 1024px) {
  .mobile-nav {
    display: none !important;
  }
}

@media (max-width: 639px) {
  .catalogue-tools {
    grid-template-columns: 1fr;
  }

  [data-content-filters="products"] {
    display: none;
  }

  .catalogue-status {
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav__panel,
  .contact-shortcuts,
  .faq-answer,
  .site-toast {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   2026 industrial positioning and quotation experience
   -------------------------------------------------------------------------- */

:root {
  --industrial-navy: #07131f;
  --industrial-steel: #122638;
  --industrial-line: rgb(148 163 184 / 0.22);
  --industrial-green: #159447;
}

.industrial-header {
  position: sticky;
  top: 0;
  z-index: 60;
  align-self: flex-start;
  flex-shrink: 0;
  width: 100%;
  border-bottom: 1px solid var(--border);
  background: rgb(255 255 255 / 0.96);
  box-shadow: 0 12px 34px rgb(7 19 31 / 0.07);
}

.industrial-topbar {
  background: var(--industrial-navy);
  color: white;
}

.industrial-topbar .container-page,
.industrial-footer__bottom .container-page {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.industrial-topbar .container-page {
  min-height: 2.25rem;
  font-size: 0.73rem;
  letter-spacing: 0.06em;
}

.industrial-topbar p {
  color: rgb(255 255 255 / 0.68);
  text-transform: uppercase;
}

.industrial-topbar a:hover {
  color: var(--brand);
}

.industrial-nav {
  display: flex;
  min-height: 4.75rem;
  align-items: center;
  gap: 1.4rem;
}

.industrial-brand {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: 0.75rem;
}

.industrial-brand img {
  width: auto;
  height: 6.25rem;
  object-fit: contain;
}

.industrial-brand span,
.industrial-brand strong,
.industrial-brand small {
  display: block;
}

.industrial-brand strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.93rem;
  line-height: 1.1;
}

.industrial-brand small {
  margin-top: 0.18rem;
  color: var(--muted-foreground);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.industrial-nav > nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  margin-left: auto;
}

.industrial-nav > nav a {
  border-radius: 0.5rem;
  padding: 0.55rem 0.63rem;
  color: #27384a;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.industrial-nav > nav a:hover,
.industrial-nav > nav a[aria-current="page"] {
  background: var(--muted);
  color: var(--brand);
}

.industrial-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.industrial-nav__actions a {
  border-radius: 999px;
  padding: 0.7rem 0.9rem;
  font-size: 0.74rem;
  font-weight: 800;
  white-space: nowrap;
}

.industrial-nav__whatsapp {
  border: 1px solid #bbebcb;
  color: #08742f;
}

.industrial-nav__quote {
  background: var(--brand);
  color: white;
  box-shadow: 0 10px 28px rgb(225 20 37 / 0.2);
}

.industrial-menu-button {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: white;
  padding: 0.7rem;
}

.industrial-menu-button span {
  display: block;
  height: 2px;
  margin: 0.24rem 0;
  background: var(--industrial-navy);
}

.industrial-button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.78rem 1.2rem;
  font-size: 0.83rem;
  font-weight: 800;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.industrial-button:hover {
  transform: translateY(-2px);
}

.industrial-button--primary {
  background: var(--brand);
  color: white;
  box-shadow: 0 12px 30px rgb(225 20 37 / 0.22);
}

.industrial-button--dark {
  background: var(--industrial-navy);
  color: white;
}

.industrial-button--outline-light {
  border-color: rgb(255 255 255 / 0.38);
  background: rgb(255 255 255 / 0.06);
  color: white;
}

.industrial-button--whatsapp {
  border-color: #c3efd0;
  background: #e8f9ed;
  color: #08742f;
}

.industrial-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--industrial-navy);
  color: white;
}

.industrial-hero__background,
.industrial-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.industrial-hero__background {
  object-fit: cover;
  opacity: 0.44;
}

.industrial-hero__overlay {
  z-index: -1;
  background: linear-gradient(90deg, rgb(7 19 31 / 0.98) 0%, rgb(7 19 31 / 0.9) 52%, rgb(7 19 31 / 0.52) 100%);
}

.industrial-hero__grid {
  display: grid;
  min-height: 37rem;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.52fr);
  align-items: center;
  gap: 4rem;
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.industrial-hero__eyebrow,
.industrial-page-hero__eyebrow,
.section-kicker,
.quality-section__eyebrow {
  color: var(--brand);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.industrial-hero h1 {
  max-width: 53rem;
  margin-top: 1rem;
  font-size: clamp(2.8rem, 4.8vw, 4.65rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.industrial-hero h1 span {
  color: var(--brand);
}

.industrial-hero h1 [data-hero-typewriter] {
  color: white;
}

.industrial-hero h1 .hero-headline__primary,
.industrial-hero h1 .hero-typewriter__character--primary {
  color: white;
}

.industrial-hero h1 .hero-headline__accent,
.industrial-hero h1 .hero-typewriter__character--accent {
  color: var(--brand);
}

.hero-typewriter__character {
  position: relative;
  opacity: 0;
}

.hero-typewriter__character.is-visible {
  opacity: 1;
}

.hero-typewriter__character.is-cursor::after {
  position: absolute;
  top: 0.1em;
  left: 100%;
  height: 0.85em;
  border-left: 2px solid currentColor;
  animation: hero-cursor-blink 700ms step-end infinite;
  content: "";
}

@keyframes hero-cursor-blink {
  50% { opacity: 0; }
}

.industrial-hero__lead {
  max-width: 44rem;
  margin-top: 1.4rem;
  color: rgb(255 255 255 / 0.75);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  line-height: 1.75;
}

.industrial-search {
  display: flex;
  max-width: 42rem;
  margin-top: 2rem;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 0.8rem;
  background: white;
  padding: 0.34rem;
  box-shadow: 0 25px 55px rgb(0 0 0 / 0.25);
}

.industrial-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--industrial-navy);
  padding: 0.75rem 0.9rem;
  outline: 0;
}

.industrial-search button {
  border-radius: 0.55rem;
  background: var(--brand);
  color: white;
  padding: 0.75rem 1.15rem;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-industries,
.industrial-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-industries {
  align-items: center;
  margin-top: 1.25rem;
}

.hero-industries span {
  color: rgb(255 255 255 / 0.62);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-industries span:not(:last-child)::after {
  margin-left: 0.55rem;
  color: var(--brand);
  content: "•";
}

.industrial-hero__actions {
  margin-top: 1.7rem;
}

.industrial-hero__product {
  position: relative;
  transform: rotate(1.2deg);
}

.industrial-hero__product::before {
  position: absolute;
  inset: -1rem;
  z-index: -1;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: 1.8rem;
  content: "";
}

.industrial-hero__product-image {
  position: relative;
  overflow: hidden;
  min-height: 20rem;
  border-radius: 1.3rem 1.3rem 0 0;
  background: #f4f6f7;
}

.industrial-hero__product-image img {
  width: 100%;
  height: 20rem;
  object-fit: contain;
  padding: 2rem;
}

.industrial-hero__product-image span {
  position: absolute;
  top: 1rem;
  left: 1rem;
  border-radius: 999px;
  background: var(--brand);
  color: white;
  padding: 0.45rem 0.7rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.industrial-hero__product-specs {
  display: grid;
  gap: 0.3rem;
  border-top: 4px solid var(--brand);
  border-radius: 0 0 1.3rem 1.3rem;
  background: white;
  color: var(--industrial-navy);
  padding: 1.25rem;
}

.industrial-hero__product-specs span {
  color: var(--muted-foreground);
  font-size: 0.72rem;
}

.hero-carousel__viewport {
  height: 20rem;
  touch-action: pan-y;
}

.hero-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(100%);
  transition: transform 650ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 500ms ease;
  pointer-events: none;
}

.hero-carousel__slide.is-before {
  transform: translateX(-100%);
}

.hero-carousel__slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.hero-carousel__slide img {
  display: block;
  height: 100%;
}

.hero-carousel__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  border-top: 1px solid #e0e7ee;
  padding-top: 0.75rem;
}

.hero-carousel__controls button {
  display: grid;
  min-width: 2.75rem;
  min-height: 2.75rem;
  place-items: center;
  border: 1px solid #dce4ed;
  border-radius: 0.6rem;
  background: #f4f7fa;
  color: #28425c;
}

.hero-carousel__controls button:hover {
  border-color: var(--brand);
}

.hero-carousel__dots {
  display: flex;
  flex: 1;
  min-width: 6.4rem;
  justify-content: center;
}

.hero-carousel__dots button {
  min-width: 1.6rem;
  border: 0;
  background: transparent;
}

.hero-carousel__dots button::after {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: #b3c0cf;
  transition: background 180ms ease, width 180ms ease;
  content: "";
}

.hero-carousel__dots button[aria-current="true"]::after {
  width: 0.85rem;
  background: var(--brand);
}

.hero-carousel__controls .hero-carousel__pause {
  min-width: 3.75rem;
  padding: 0.5rem;
  font-size: 0.68rem;
  font-weight: 750;
}

.hero-carousel__pause[aria-pressed="true"] {
  border-color: var(--brand);
  color: var(--brand);
}

.hero-carousel__announcement {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

@media (prefers-reduced-motion: reduce) {
  .hero-carousel__slide,
  .hero-carousel__dots button::after {
    transition: none;
  }

  .hero-typewriter__character {
    opacity: 1;
  }

  .hero-typewriter__character.is-cursor::after {
    display: none;
    animation: none;
  }
}

.capability-band {
  background: var(--brand);
  color: white;
}

.capability-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.capability-band__grid > div,
.capability-band__grid > a {
  display: grid;
  gap: 0.15rem;
  min-height: 5.2rem;
  align-content: center;
  border-right: 1px solid rgb(255 255 255 / 0.2);
  color: white;
  padding: 1rem 1.4rem;
  transition: background 160ms ease;
}

.capability-band__grid > div:first-child,
.capability-band__grid > a:first-child {
  border-left: 1px solid rgb(255 255 255 / 0.2);
}

.capability-band__grid > a:hover {
  background: rgb(7 19 31 / 0.14);
}

.capability-band strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
}

.capability-band span {
  color: rgb(255 255 255 / 0.72);
  font-size: 0.69rem;
}

.industry-strip {
  border-bottom: 1px solid var(--border);
  background: #f3f6f8;
  padding: 1.6rem 0;
}

.industry-strip .container-page {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.industry-strip__label {
  color: var(--muted-foreground);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.industry-strip__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
}

.industry-strip__items span {
  border-left: 3px solid var(--brand);
  background: white;
  padding: 0.5rem 0.7rem;
  color: #34465a;
  font-size: 0.74rem;
  font-weight: 750;
}

.core-products,
.company-profile,
.quote-layout,
.reference-notice,
.engineering-panel {
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.section-heading h2,
.company-profile h2,
.quote-contact h2,
.reference-notice h2,
.engineering-panel h2,
.industrial-cta h2 {
  margin-top: 0.55rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.04;
}

.section-heading > a {
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
}

.core-products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.core-products__grid > a {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: white;
  box-shadow: 0 18px 42px rgb(7 19 31 / 0.06);
  transition: transform 180ms ease, border-color 180ms ease;
}

.core-products__grid > a:hover {
  transform: translateY(-5px);
  border-color: var(--brand);
}

.core-products__grid img {
  width: 100%;
  height: 13rem;
  border-bottom: 1px solid var(--border);
  background: #f3f5f6;
  object-fit: contain;
  padding: 1rem;
}

.core-products__grid > a > div {
  position: relative;
  min-height: 11rem;
  padding: 1.25rem;
}

.core-products__grid > a > div > span {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: #dce3e8;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
}

.core-products__grid h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
}

.core-products__grid p {
  margin-top: 0.65rem;
  color: var(--muted-foreground);
  font-size: 0.78rem;
  line-height: 1.65;
}

.specification-section {
  background: var(--industrial-navy);
  color: white;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.specification-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.specification-section h2 {
  max-width: 35rem;
  margin-top: 0.7rem;
  font-size: clamp(2.2rem, 4.3vw, 4rem);
  line-height: 1.04;
}

.specification-section__grid > div:first-child > p:not(.section-kicker) {
  margin: 1.1rem 0 1.6rem;
  color: rgb(255 255 255 / 0.65);
  line-height: 1.75;
}

.specification-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--industrial-line);
  border-left: 1px solid var(--industrial-line);
}

.specification-list > div {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.2rem 0.8rem;
  border-right: 1px solid var(--industrial-line);
  border-bottom: 1px solid var(--industrial-line);
  padding: 1.35rem;
}

.specification-list span {
  grid-row: 1 / 3;
  color: var(--brand);
  font-size: 0.7rem;
  font-weight: 800;
}

.specification-list strong {
  font-size: 0.88rem;
}

.specification-list small {
  color: rgb(255 255 255 / 0.55);
  font-size: 0.7rem;
}

.quality-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #f2f5f7;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.quality-section__title {
  max-width: 47rem;
  margin-top: 0.65rem;
  font-size: clamp(2rem, 3.6vw, 3.3rem);
  line-height: 1.05;
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.8rem;
  margin-top: 2.2rem;
}

.quality-grid > div {
  position: relative;
  min-height: 10rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  background: white;
  padding: 1.25rem;
}

.quality-grid > div::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 2.6rem;
  height: 0.24rem;
  background: var(--brand);
  content: "";
}

.quality-grid strong,
.quality-grid span {
  display: block;
}

.quality-grid strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.93rem;
}

.quality-grid span {
  margin-top: 0.55rem;
  color: var(--muted-foreground);
  font-size: 0.72rem;
  line-height: 1.6;
}

.engineering-panel {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  align-items: center;
  gap: clamp(3rem, 8vw, 7rem);
}

.engineering-panel p:not(.section-kicker),
.company-profile__copy > p:not(.section-kicker),
.reference-notice > div:first-child > p:not(.section-kicker) {
  max-width: 42rem;
  margin-top: 1rem;
  color: var(--muted-foreground);
  line-height: 1.8;
}

.engineering-panel .industrial-button,
.company-profile .industrial-button,
.reference-notice .industrial-button {
  margin-top: 1.6rem;
}

.engineering-panel > img {
  width: 100%;
  max-height: 25rem;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: #f4f6f7;
  object-fit: contain;
  padding: 1.5rem;
}

.industrial-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 3rem;
  overflow: hidden;
  margin-bottom: 6rem;
  border-radius: 1.4rem;
  background: var(--industrial-steel);
  color: white;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.industrial-cta p:not(.section-kicker) {
  max-width: 47rem;
  margin-top: 0.8rem;
  color: rgb(255 255 255 / 0.65);
  line-height: 1.7;
}

.industrial-cta > div:last-child {
  display: grid;
  gap: 0.7rem;
}

.industrial-page-hero {
  position: relative;
  overflow: hidden;
  background: var(--industrial-navy);
  color: white;
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}

.industrial-page-hero::after {
  position: absolute;
  top: -8rem;
  right: -4rem;
  width: 26rem;
  height: 26rem;
  border: 5rem solid rgb(225 20 37 / 0.09);
  border-radius: 50%;
  content: "";
}

.industrial-page-hero h1 {
  max-width: 60rem;
  margin-top: 0.75rem;
  font-size: clamp(2.8rem, 6.4vw, 5.5rem);
  line-height: 0.98;
}

.industrial-page-hero .container-page > p:last-child {
  max-width: 48rem;
  margin-top: 1.1rem;
  color: rgb(255 255 255 / 0.68);
  font-size: 1.02rem;
  line-height: 1.75;
}

.company-profile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(19rem, 0.82fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.company-profile__visual {
  position: relative;
}

.company-profile__visual > img {
  width: 100%;
  min-height: 26rem;
  border-radius: 1.25rem;
  background: #f3f5f6;
  object-fit: contain;
  padding: 2rem;
}

.company-profile__note {
  position: absolute;
  right: -1rem;
  bottom: -1rem;
  display: grid;
  gap: 0.2rem;
  max-width: 18rem;
  border-left: 4px solid var(--brand);
  border-radius: 0.7rem;
  background: var(--industrial-navy);
  color: white;
  box-shadow: 0 20px 55px rgb(7 19 31 / 0.25);
  padding: 1rem 1.2rem;
}

.company-profile__note span {
  color: rgb(255 255 255 / 0.6);
  font-size: 0.7rem;
}

.reference-notice {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 7rem);
}

.supply-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.supply-gallery figure {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  background: #f3f5f6;
}

.supply-gallery img {
  width: 100%;
  height: 12rem;
  object-fit: contain;
  padding: 1rem;
}

.supply-gallery figcaption {
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  border-radius: 999px;
  background: var(--industrial-navy);
  color: white;
  padding: 0.35rem 0.6rem;
  font-size: 0.66rem;
  font-weight: 800;
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(17rem, 0.68fr) minmax(0, 1.32fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 5rem);
}

.quote-contact {
  position: sticky;
  top: 9rem;
}

.contact-method {
  display: grid;
  gap: 0.2rem;
  margin-top: 0.7rem;
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  background: white;
  padding: 1rem;
}

.contact-method:first-of-type {
  margin-top: 1.5rem;
}

.contact-method--whatsapp {
  border-color: #bde9ca;
  background: #f0fbf3;
}

.contact-method strong {
  font-size: 0.82rem;
}

.contact-method span,
.quote-contact__note {
  color: var(--muted-foreground);
  font-size: 0.71rem;
}

.quote-contact__note {
  margin-top: 1.2rem;
  line-height: 1.65;
}

.quote-form {
  position: relative;
  display: grid;
  gap: 1.15rem;
  border: 1px solid var(--border);
  border-top: 4px solid var(--brand);
  border-radius: 1rem;
  background: white;
  box-shadow: 0 25px 60px rgb(7 19 31 / 0.08);
  padding: clamp(1.3rem, 4vw, 2.5rem);
}

.quote-form__heading h2 {
  margin-top: 0.35rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.quote-form__heading > p:last-child {
  margin-top: 0.4rem;
  color: var(--muted-foreground);
  font-size: 0.73rem;
}

.quote-form__honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

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

.quote-form label:not(.form-consent) {
  display: grid;
  gap: 0.4rem;
  color: #24384b;
  font-size: 0.73rem;
  font-weight: 800;
}

.quote-form input:not([type="checkbox"]),
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 3rem;
  border: 1px solid var(--border);
  border-radius: 0.65rem;
  background: #fbfcfd;
  color: var(--foreground);
  padding: 0.75rem 0.85rem;
  font: inherit;
  font-weight: 500;
  outline: 0;
}

.quote-form textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgb(225 20 37 / 0.12);
}

.file-upload {
  border: 1px dashed #9dadba;
  border-radius: 0.8rem;
  background: #f6f8f9;
  padding: 1rem;
}

.file-upload small {
  color: var(--muted-foreground);
  font-weight: 500;
}

.file-upload input {
  background: white !important;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--muted-foreground);
  font-size: 0.7rem;
  line-height: 1.5;
}

.form-consent input {
  margin-top: 0.16rem;
}

.quote-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.form-status {
  min-height: 1rem;
  color: var(--muted-foreground);
  font-size: 0.75rem;
}

.form-status.is-success {
  color: #08742f;
  font-weight: 750;
}

.form-status.is-error {
  color: var(--brand);
  font-weight: 750;
}

.product-spec-line {
  display: grid;
  grid-template-columns: minmax(5.2rem, auto) 1fr;
  gap: 0.45rem;
  margin-top: 0.35rem;
  line-height: 1.45;
}

.product-spec-line::before {
  color: #526579;
  content: attr(data-spec-label) ":";
  font-weight: 800;
}

/* Product catalogue cards lead with the requested specification order. */
.catalogue-product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dfe5eb;
  border-radius: 1rem;
  background: #fff;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.catalogue-product-card:hover {
  transform: translateY(-2px);
  border-color: #d4b3bb;
  box-shadow: 0 12px 32px rgb(11 24 38 / 0.08);
}

.catalogue-product-card__body {
  padding: 1.2rem 1.2rem 0.7rem;
}

.catalogue-product-card h3 {
  min-height: 2.7rem;
  color: #152a40;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  font-weight: 750;
  line-height: 1.3;
}

.catalogue-product-card h3 a:hover {
  color: var(--brand);
}

.catalogue-product-card .product-spec-line {
  grid-template-columns: minmax(5rem, 7.2rem) minmax(0, 1fr);
  gap: 0.65rem;
  margin-top: 0.6rem;
  border-top: 1px solid #e8edf2;
  padding-top: 0.6rem;
  color: #35475a;
  font-size: 0.7rem;
  line-height: 1.55;
}

.catalogue-product-card .product-spec-line::before {
  content: none;
}

.catalogue-product-card .product-spec-line strong {
  color: #657588;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.catalogue-product-card__media {
  position: relative;
  display: grid;
  width: calc(100% - 2.4rem);
  aspect-ratio: 4 / 3;
  place-items: center;
  overflow: hidden;
  align-self: center;
  border: 1px solid #e4e9ee;
  border-radius: 0.8rem;
  background: #f5f7f8;
}

.catalogue-product-card__media img,
.catalogue-product-card__media .catalogue-product-card__image {
  position: absolute;
  inset: 1rem;
  display: block;
  width: calc(100% - 2rem);
  height: calc(100% - 2rem);
  max-width: none;
  max-height: none;
  object-fit: contain !important;
  object-position: center;
  padding: 0;
}

.catalogue-product-card__applications {
  display: grid;
  grid-template-columns: minmax(5rem, 7.2rem) minmax(0, 1fr);
  gap: 0.65rem;
  margin: 0.8rem 1.2rem 0;
  border-top: 1px solid #e8edf2;
  padding-top: 0.65rem;
  color: #35475a;
  font-size: 0.68rem;
  line-height: 1.55;
}

.catalogue-product-card__applications strong {
  color: #657588;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.catalogue-product-card__badges {
  position: absolute;
  z-index: 1;
  top: 0.6rem;
  left: 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.catalogue-product-card__badge {
  border-radius: 999px;
  background: #152a40;
  color: white;
  padding: 0.32rem 0.5rem;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.catalogue-product-card__badge--featured {
  background: var(--brand);
}

.catalogue-product-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding: 1rem 1.2rem 1.2rem;
}

.catalogue-product-card__stock {
  color: #08742f;
  font-size: 0.68rem;
  font-weight: 800;
}

.catalogue-product-card__stock.is-out-of-stock {
  color: #748193;
}

.catalogue-product-card__footer > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.catalogue-product-card__footer a {
  display: inline-flex;
  min-height: 2.25rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #dbe3ec;
  border-radius: 999px;
  color: #243d58;
  padding: 0.45rem 0.7rem;
  font-size: 0.62rem;
  font-weight: 800;
}

.catalogue-product-card__footer a:last-child {
  border-color: var(--brand);
  background: var(--brand);
  color: white;
}

.catalogue-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #0b1826;
  color: white;
}

.catalogue-intro::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 88% 8%, rgb(60 83 108 / 0.35), transparent 60%), linear-gradient(90deg, transparent 69%, rgb(255 255 255 / 0.025) 69%, rgb(255 255 255 / 0.025) 70%, transparent 70%);
  content: "";
}

.catalogue-intro__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(32rem, 1.12fr);
  align-items: center;
  gap: clamp(2rem, 4.5vw, 4.75rem);
  padding-top: 3.75rem;
  padding-bottom: 3.75rem;
}

.catalogue-intro__copy {
  min-width: 0;
}

.catalogue-intro__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #ff6370;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.catalogue-intro__eyebrow::before {
  width: 1.65rem;
  height: 2px;
  background: var(--brand);
  content: "";
}

.catalogue-intro h1 {
  margin-top: 1.1rem;
  font-size: clamp(2.65rem, 4.25vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.catalogue-intro h1 span {
  color: #f0f4f8;
}

.catalogue-intro__lead {
  max-width: 35rem;
  margin-top: 1.15rem;
  color: #adbac9;
  font-size: 0.95rem;
  line-height: 1.75;
}

.catalogue-intro__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.65rem;
  margin-top: 1.6rem;
}

.catalogue-intro__actions .industrial-button {
  min-height: 2.95rem;
  gap: 0.9rem;
  border-radius: 0.6rem;
  box-shadow: none;
}

.catalogue-intro__quote {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid #506074;
  color: #e3eaf2;
  font-size: 0.76rem;
  font-weight: 750;
}

.catalogue-intro__quote:hover {
  border-color: #ff6370;
  color: white;
}

.catalogue-intro__feature {
  position: relative;
  min-width: 0;
  margin: 0;
}

.catalogue-intro__feature::before {
  position: absolute;
  inset: 1.15rem -0.9rem -0.9rem 1.15rem;
  z-index: -1;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 1.15rem;
  content: "";
}

.catalogue-intro__feature-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: 1rem;
  background: #162738;
  box-shadow: 0 1.5rem 4rem rgb(0 0 0 / 0.32);
}

.catalogue-intro__feature-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(8 18 29 / 0.04) 42%, rgb(8 18 29 / 0.92) 100%);
  content: "";
  pointer-events: none;
}

.catalogue-intro__feature img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.catalogue-intro__feature-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgb(255 255 255 / 0.32);
  border-radius: 999px;
  background: rgb(9 24 39 / 0.84);
  padding: 0.5rem 0.75rem;
  color: white;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  backdrop-filter: blur(0.45rem);
}

.catalogue-intro__feature-badge i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #ff3346;
  box-shadow: 0 0 0 0.22rem rgb(225 20 37 / 0.2);
}

.catalogue-intro__feature-caption {
  position: absolute;
  right: 1.25rem;
  bottom: 1.2rem;
  left: 1.25rem;
  z-index: 2;
  display: grid;
  gap: 0.25rem;
}

.catalogue-intro__feature-caption span {
  color: #ff7a86;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.catalogue-intro__feature-caption strong {
  color: white;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  line-height: 1.2;
}

.catalogue-intro__feature-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0.35rem 0;
  color: #8f9daf;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalogue-intro__feature-meta span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.catalogue-intro__feature-meta span:first-child::before {
  width: 1.75rem;
  height: 1px;
  background: #e11425;
  content: "";
}

.catalogue-sectors {
  border-bottom: 1px solid #dde4ec;
  background: #f4f6f9;
  padding: 1.1rem 0;
}

.catalogue-sectors .container-page,
.catalogue-sectors .container-page > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.catalogue-sectors .container-page {
  justify-content: space-between;
  gap: 1rem 2rem;
}

.catalogue-sectors p {
  color: #667486;
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.catalogue-sectors span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #33465c;
  padding: 0.25rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 650;
}

.catalogue-sectors span::before {
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: var(--brand);
  content: "";
}

.product-spec-guide {
  background: #fafbfc;
  padding: 1.8rem 0 0;
}

.product-spec-guide__panel {
  overflow: hidden;
  border: 1px solid #e1e6ed;
  border-radius: 0.95rem;
  background: white;
  box-shadow: 0 8px 28px rgb(11 24 38 / 0.035);
}

.product-spec-guide__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  border-bottom: 1px solid #edf0f4;
  padding: 1.2rem 1.4rem;
}

.product-spec-guide__heading p {
  color: #8b3441;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-spec-guide__heading h2 {
  margin-top: 0.3rem;
  color: var(--industrial-navy);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.12rem;
  font-weight: 750;
}

.product-spec-guide__heading > span {
  color: #748193;
  font-size: 0.68rem;
}

.product-spec-guide__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.product-spec-guide__item {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  border-right: 1px solid #edf0f4;
  padding: 1.2rem 1.4rem 1.35rem;
}

.product-spec-guide__item:last-child {
  border-right: 0;
}

.product-spec-guide__item svg {
  box-sizing: content-box;
  width: 1.15rem;
  height: 1.15rem;
  margin-bottom: 0.85rem;
  border: 1px solid #f4e0e4;
  border-radius: 0.55rem;
  background: #fff6f7;
  color: #b73346;
  padding: 0.5rem;
}

.product-spec-guide__item strong {
  color: #21364d;
  font-size: 0.73rem;
  font-weight: 750;
}

.product-spec-guide__item span {
  margin-top: 0.3rem;
  color: #748193;
  font-size: 0.7rem;
  line-height: 1.6;
}

#product-catalogue {
  scroll-margin-top: 8rem;
}

.industrial-footer {
  margin-top: auto;
  background: var(--industrial-navy);
  color: white;
}

.industrial-footer__grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 0.75fr);
  gap: 3rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.industrial-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.industrial-footer__brand img {
  width: auto;
  height: 2.8rem;
  border-radius: 0.25rem;
}

.industrial-footer__grid > div:first-child > p {
  max-width: 31rem;
  margin-top: 1rem;
  color: rgb(255 255 255 / 0.58);
  font-size: 0.78rem;
  line-height: 1.75;
}

.industrial-footer h2 {
  margin-bottom: 1rem;
  color: rgb(255 255 255 / 0.85);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.industrial-footer__grid > div:not(:first-child) > a,
.industrial-footer__grid > div:not(:first-child) > span {
  display: block;
  margin-top: 0.58rem;
  color: rgb(255 255 255 / 0.55);
  font-size: 0.73rem;
  line-height: 1.45;
}

.industrial-footer__grid a:hover {
  color: var(--brand);
}

.industrial-footer__bottom {
  border-top: 1px solid rgb(255 255 255 / 0.1);
}

.industrial-footer__bottom .container-page {
  min-height: 3.8rem;
  color: rgb(255 255 255 / 0.38);
  font-size: 0.66rem;
}

/* Engineering services: a consistent, scope-led overview. */
.services-intro {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 90% 0, #243a51, transparent 65%), #0b1826;
  color: white;
}

.services-intro__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-top: 3.75rem;
  padding-bottom: 3.75rem;
}

.services-intro h1 {
  margin-top: 1rem;
  font-size: clamp(2.6rem, 4.4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.services-intro__tagline {
  margin-top: 0.8rem;
  color: #c1cddd;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  letter-spacing: -0.025em;
}

.services-intro__lead {
  max-width: 37rem;
  margin-top: 1rem;
  color: #adbac9;
  font-size: 0.93rem;
  line-height: 1.8;
}

.services-intro__process {
  border: 1px solid rgb(255 255 255 / 0.13);
  border-radius: 1rem;
  background: rgb(255 255 255 / 0.035);
  padding: 1.4rem 1.5rem;
}

.services-intro__process > p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
  color: #a9b8c9;
  padding-bottom: 1rem;
  font-size: 0.6rem;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.services-intro__process > p > span {
  color: #ff6370;
  font-size: 1rem;
}

.services-intro__process ol {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.25rem;
  list-style: none;
}

.services-intro__process li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.services-intro__process li > span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 2.25rem;
  place-items: center;
  border: 1px solid #5d4351;
  border-radius: 0.6rem;
  background: #322c3b;
  color: #ff8793;
  font-size: 0.67rem;
  font-weight: 750;
}

.services-intro__process li:not(:last-child)::after {
  position: absolute;
  top: 2.25rem;
  left: 1.1rem;
  width: 1px;
  height: 1.2rem;
  background: #445164;
  content: "";
}

.services-intro__process strong,
.services-intro__process small {
  display: block;
}

.services-intro__process strong {
  color: #eef3f8;
  font-size: 0.78rem;
  font-weight: 700;
}

.services-intro__process small {
  margin-top: 0.2rem;
  color: #8e9fb3;
  font-size: 0.65rem;
}

.services-project-cta {
  background: #0b1826;
  color: white;
  padding: 3.25rem 0;
}

.services-project-cta .container-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
}

.services-project-cta h2 {
  margin-top: 0.65rem;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.1;
}

.services-project-cta p:not(.section-kicker) {
  max-width: 39rem;
  margin-top: 0.8rem;
  color: #9eafc2;
  font-size: 0.85rem;
  line-height: 1.8;
}

.services-project-cta .industrial-button {
  gap: 0.75rem;
  border-radius: 0.65rem;
  box-shadow: none;
}

#engineering-services {
  scroll-margin-top: 8rem;
}

/* Clients & projects portfolio */
.portfolio-intro {
  background: radial-gradient(ellipse at 90% 0, #293e56, transparent 65%), #0b1826;
  color: white;
}

.portfolio-intro__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-top: 3.75rem;
  padding-bottom: 3.75rem;
}

.portfolio-intro h1 {
  margin-top: 1rem;
  font-size: clamp(2.6rem, 4.3vw, 4rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.portfolio-intro__tagline {
  margin-top: 0.7rem;
  color: #becbdc;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

.portfolio-intro__lead {
  max-width: 36rem;
  margin-top: 1rem;
  color: #a9b9cc;
  font-size: 0.93rem;
  line-height: 1.8;
}

.portfolio-intro__directory {
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 1rem;
  background: rgb(255 255 255 / 0.035);
  padding: 1.4rem;
}

.portfolio-intro__directory > p {
  margin-bottom: 0.7rem;
  color: #9eafc3;
  font-size: 0.6rem;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.portfolio-intro__directory > a {
  display: flex;
  min-height: 5rem;
  align-items: center;
  gap: 0.9rem;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  color: #e4ebf4;
  padding: 0.9rem 0;
}

.portfolio-intro__directory > a:hover {
  color: #ff8793;
}

.portfolio-intro__directory > a > span {
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  flex: 0 0 2.2rem;
  place-items: center;
  border: 1px solid #615062;
  border-radius: 0.6rem;
  color: #ff8793;
  font-size: 0.65rem;
}

.portfolio-intro__directory strong,
.portfolio-intro__directory small {
  display: block;
}

.portfolio-intro__directory strong {
  font-size: 0.84rem;
  font-weight: 750;
}

.portfolio-intro__directory small {
  margin-top: 0.2rem;
  color: #90a2b8;
  font-size: 0.66rem;
}

.portfolio-intro__directory i {
  margin-left: auto;
  color: #91a3b9;
  font-style: normal;
}

.portfolio-content {
  background: #f7f9fc;
  padding-top: 1.75rem;
}

.portfolio-demo-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  border: 1px solid #eadfc6;
  border-radius: 0.85rem;
  background: #fffaf0;
  padding: 1rem 1.2rem;
}

.portfolio-demo-notice > span {
  display: grid;
  width: 1.6rem;
  height: 1.6rem;
  flex: 0 0 1.6rem;
  place-items: center;
  border: 1px solid #c9a669;
  border-radius: 50%;
  color: #987134;
  font-size: 0.75rem;
  font-weight: 750;
}

.portfolio-demo-notice strong {
  color: #71552e;
  font-size: 0.78rem;
}

.portfolio-demo-notice p {
  max-width: 65rem;
  margin-top: 0.25rem;
  color: #8b795a;
  font-size: 0.73rem;
  line-height: 1.7;
}

.portfolio-projects {
  padding-top: 3rem;
  padding-bottom: 4.5rem;
}

.portfolio-section-lead {
  max-width: 42rem;
  margin-top: 0.85rem;
  color: #758397;
  font-size: 0.88rem;
  line-height: 1.7;
}

.portfolio-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.portfolio-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.portfolio-tabs button {
  min-height: 2.8rem;
  border: 1px solid #dfe5ed;
  border-radius: 0.6rem;
  background: white;
  color: #64758a;
  padding: 0.65rem 1rem;
  font-size: 0.73rem;
  font-weight: 750;
  transition: background 160ms ease, color 160ms ease;
}

.portfolio-tabs button[aria-pressed="true"] {
  border-color: #152a40;
  background: #152a40;
  color: white;
}

.portfolio-sector-filter {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #64758a;
  font-size: 0.7rem;
  font-weight: 750;
}

.portfolio-sector-filter select {
  min-height: 2.8rem;
  min-width: 10rem;
  border: 1px solid #dfe5ed;
  border-radius: 0.6rem;
  background: white;
  color: #334a65;
  padding: 0.55rem 0.75rem;
  font-size: 0.75rem;
}

.portfolio-result {
  margin-top: 0.9rem;
  margin-bottom: 1rem;
  color: #8a98aa;
  font-size: 0.7rem;
}

.portfolio-project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 1.4rem;
}

.project-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dee5ee;
  border-radius: 1rem;
  background: white;
  box-shadow: 0 5px 22px rgb(11 24 38 / 0.025);
}

.project-card__media {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #e5ebf2;
  background: #eff3f8;
}

.project-card__media img,
.project-card__placeholder {
  display: block;
  width: 100%;
  height: 14rem;
  object-fit: contain;
  padding: 1.2rem;
}

.project-card[data-sample="false"] .project-card__media img {
  object-fit: cover;
  padding: 0;
}

.project-card__placeholder {
  display: grid;
  place-items: center;
  background: repeating-linear-gradient(45deg, transparent, transparent 15px, #e6ecf3 15px, #e6ecf3 16px);
  color: #6f8198;
  font-size: 0.8rem;
}

.project-card__media > div:not(.project-card__placeholder) {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  left: 0.85rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.project-status,
.portfolio-sample-label {
  display: inline-flex;
  align-items: center;
  border: 1px solid #dbe4ef;
  border-radius: 0.4rem;
  background: #edf2f8;
  color: #415a75;
  padding: 0.4rem 0.6rem;
  font-size: 0.6rem;
  font-weight: 750;
  letter-spacing: 0.035em;
}

.project-status--current {
  border-color: #b6dfcf;
  background: #e8f7f0;
  color: #267456;
}

.portfolio-sample-label {
  border-color: #ead8b5;
  background: #fff9ed;
  color: #91713c;
}

.project-card__media figcaption {
  border-top: 1px solid #e5ebf2;
  background: #f9fbfd;
  color: #7f8ea1;
  padding: 0.5rem 1rem;
  font-size: 0.62rem;
  line-height: 1.5;
}

.project-card__body {
  padding: 1.6rem;
}

.project-card__sector,
.client-reference__sector {
  color: #b73346;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.project-card h3 {
  margin-top: 0.6rem;
  color: #162d45;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.project-card__summary {
  margin-top: 0.85rem;
  color: #738297;
  font-size: 0.83rem;
  line-height: 1.8;
}

.project-card dl {
  display: grid;
  grid-template-columns: 4.75rem minmax(0, 1fr);
  gap: 0.4rem 0.7rem;
  margin-top: 1.1rem;
  border-top: 1px solid #e8edf3;
  padding-top: 1rem;
  font-size: 0.74rem;
  line-height: 1.65;
}

.project-card dt {
  color: #91a0b2;
}

.project-card dd {
  color: #465e79;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.project-card details {
  margin-top: 1rem;
  border-top: 1px solid #e8edf3;
  border-bottom: 1px solid #e8edf3;
}

.project-card summary {
  display: flex;
  min-height: 2.9rem;
  align-items: center;
  justify-content: space-between;
  color: #4f6580;
  font-size: 0.73rem;
  font-weight: 750;
  list-style: none;
  cursor: pointer;
}

.project-card summary::-webkit-details-marker {
  display: none;
}

.project-card summary span {
  font-size: 1.1rem;
}

.project-card details[open] summary span {
  transform: rotate(45deg);
}

.project-card details ul {
  display: grid;
  gap: 0.5rem;
  padding-bottom: 1rem;
  color: #71849c;
  font-size: 0.76rem;
  line-height: 1.6;
  list-style: none;
}

.project-card details li::before {
  margin-right: 0.6rem;
  color: #b73346;
  content: "✓";
}

.project-card__enquiry {
  display: flex;
  min-height: 2.8rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  border: 1px solid #dce5ee;
  border-radius: 0.6rem;
  background: #f3f6fa;
  color: #284563;
  padding: 0.7rem 0.9rem;
  font-size: 0.73rem;
  font-weight: 750;
}

.project-card__enquiry:hover {
  border-color: #152a40;
  background: #152a40;
  color: white;
}

.portfolio-clients {
  border-top: 1px solid #e5eaf1;
  background: white;
  padding: 4rem 0 4.5rem;
}

.client-reference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.client-reference {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid #e0e7ef;
  border-radius: 0.85rem;
  background: #fafbfd;
  padding: 1.5rem;
}

.client-reference__top {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.client-reference__top .portfolio-sample-label {
  align-self: flex-end;
}

.client-reference__monogram,
.client-reference__logo {
  display: grid;
  width: 100%;
  height: 7.5rem;
  place-items: center;
  border: 1px solid #dce5f0;
  border-radius: 0.75rem;
  background: #eaf0f8;
  color: #54708f;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  object-fit: contain;
  padding: 0.85rem;
}

.client-reference__logo {
  display: block;
  background: white;
}

.client-reference h3 {
  margin-top: 0.6rem;
  color: #243e5b;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
}

.client-reference > p:not(.client-reference__sector) {
  margin-top: 0.75rem;
  margin-bottom: 1.3rem;
  color: #7e8da1;
  font-size: 0.8rem;
  line-height: 1.75;
}

.client-reference__status {
  margin-top: auto;
  border-top: 1px solid #e6ebf2;
  color: #71849c;
  padding-top: 0.9rem;
  font-size: 0.7rem;
  font-weight: 750;
}

.portfolio-empty {
  border: 1px dashed #cdd9e7;
  border-radius: 0.75rem;
  color: #71849c;
  padding: 2rem;
  font-size: 0.85rem;
  text-align: center;
}

#portfolio-projects,
#portfolio-clients {
  scroll-margin-top: 8rem;
}

/* Homepage featured engineering services */
.home-services {
  position: relative;
  overflow: hidden;
  border-top: 1px solid #e5eaf0;
  background: linear-gradient(135deg, #f6f8fb 0%, #fff 54%, #f5f7fa 100%);
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.home-services::before {
  position: absolute;
  top: 0;
  left: 1rem;
  width: 4.2rem;
  height: 0.2rem;
  background: #d51e2b;
  content: "";
}

.home-services__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.home-services__heading > div {
  max-width: 48rem;
}

.home-services__heading h2 {
  margin-top: 0.35rem;
  color: #152a40;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  line-height: 1.08;
}

.home-services__heading > div > p:last-child {
  max-width: 43rem;
  margin-top: 0.65rem;
  color: #718092;
  font-size: 0.84rem;
  line-height: 1.65;
}

.home-services__all {
  display: inline-flex;
  min-height: 2.9rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  border: 1px solid #d51e2b;
  border-radius: 0.4rem;
  background: #d51e2b;
  color: #fff;
  padding: 0.7rem 1rem;
  font-size: 0.74rem;
  font-weight: 800;
  transition: background 160ms ease, transform 160ms ease;
}

.home-services__all:hover {
  transform: translateY(-2px);
  border-color: #ae1420;
  background: #ae1420;
}

.home-services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.home-services__status {
  grid-column: 1 / -1;
  min-height: 9rem;
  display: grid;
  place-items: center;
  border: 1px dashed #cad4df;
  border-radius: 0.85rem;
  background: rgb(255 255 255 / 0.72);
  color: #65768a;
  padding: 2rem;
  font-size: 0.82rem;
  text-align: center;
}

.home-services__status--error {
  border-color: #e7c4c8;
  color: #8d3941;
}

.home-service-card {
  display: grid;
  min-width: 0;
  grid-template-rows: 1fr auto auto;
  align-content: stretch;
  overflow: hidden;
  border: 1px solid #dfe5ec;
  border-radius: 0.85rem;
  background: #fff;
  box-shadow: 0 8px 24px rgb(19 42 66 / 0.045);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.home-service-card:hover {
  transform: translateY(-4px);
  border-color: #d3b5ba;
  box-shadow: 0 20px 42px rgb(19 42 66 / 0.1);
}

.home-service-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  margin: 0;
  aspect-ratio: 16 / 9;
  background: #f2f5f8;
}

.home-service-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 350ms ease;
}

.home-service-card:hover .home-service-card__media img {
  transform: scale(1.035);
}

.home-service-card__meta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.25rem;
}

.home-service-card__number {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  color: #d51e2b;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.home-service-card__number::after {
  width: 2rem;
  height: 1px;
  background: linear-gradient(90deg, #d51e2b, transparent);
  content: "";
}

.home-service-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.1rem 1.2rem 1.15rem;
}

.home-service-card__eyebrow {
  overflow: hidden;
  max-width: 100%;
  color: #c3202c;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-service-card h3 {
  margin-top: 0.45rem;
  color: #153d6b;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.home-service-card h3 a:hover {
  color: #d51e2b;
}

.home-service-card__body > p:not(.home-service-card__eyebrow) {
  margin-top: 0.65rem;
  color: #718092;
  font-size: 0.76rem;
  line-height: 1.65;
}

.home-service-card__actions {
  border-top: 1px solid #e5eaf0;
  padding: 0.2rem 1.2rem 0.7rem;
}

.home-service-card__link {
  display: inline-flex;
  min-height: 2.3rem;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0;
  border-bottom: 1px solid #174b85;
  color: #174b85;
  font-size: 0.68rem;
  font-weight: 800;
}

.home-service-card__link:hover {
  color: #d51e2b;
  border-color: #d51e2b;
}

@media (max-width: 900px) {
  .home-services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .home-services__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .home-services__grid {
    grid-template-columns: 1fr;
  }

  .home-service-card__media {
    aspect-ratio: 1.75 / 1;
  }

  .home-service-card__body {
    padding: 1rem;
  }
}

/* Clean homepage product showcase */
.home-products {
  background: white;
  padding: clamp(4rem, 7vw, 6.5rem) 0;
}

.home-products__heading > div > p:last-child {
  max-width: 43rem;
  margin-top: 0.8rem;
  color: var(--muted-foreground);
  font-size: 0.9rem;
  line-height: 1.7;
}

.home-products__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.home-product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 0.95rem;
  background: white;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.home-product-card:hover {
  transform: translateY(-3px);
  border-color: rgb(225 20 37 / 0.45);
  box-shadow: 0 18px 45px rgb(7 19 31 / 0.08);
}

.home-product-card__media {
  position: relative;
  display: grid;
  height: 14rem;
  overflow: hidden;
  place-items: center;
  border-bottom: 1px solid var(--border);
  background: #f5f7f8;
  padding: 1.35rem;
}

.home-product-card__media img {
  position: absolute;
  inset: 1.35rem;
  width: calc(100% - 2.7rem);
  height: calc(100% - 2.7rem);
  object-fit: contain;
  transition: transform 200ms ease;
}

.home-product-card:hover .home-product-card__media img {
  transform: scale(1.025);
}

.home-product-card__media span {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 1;
  border: 1px solid #bde7c9;
  border-radius: 999px;
  background: #e9f8ed;
  color: #08742f;
  padding: 0.35rem 0.55rem;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.2rem;
}

.home-product-card__category {
  color: var(--brand);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-product-card h3 {
  min-height: 2.7rem;
  margin-top: 0;
  color: var(--industrial-navy);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  font-weight: 750;
  line-height: 1.3;
}

.home-product-card h3 a:hover {
  color: var(--brand);
}

.home-product-card dl {
  display: grid;
  grid-template-columns: 5.1rem minmax(0, 1fr);
  margin-top: 0.65rem;
}

.home-product-card dt,
.home-product-card dd {
  border-top: 1px solid var(--border);
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

.home-product-card dt {
  color: var(--muted-foreground);
  font-size: 0.63rem;
  font-weight: 700;
  padding-right: 0.65rem;
  text-transform: uppercase;
}

.home-product-card dd {
  color: #35475a;
  font-size: 0.68rem;
  font-weight: 650;
  line-height: 1.5;
  white-space: normal;
}

.home-product-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-top: auto;
  padding: 1.1rem 1.2rem 1.2rem;
}

.home-product-card__actions a {
  display: grid;
  min-height: 2.6rem;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 0.55rem;
  color: var(--industrial-navy);
  font-size: 0.7rem;
  font-weight: 800;
}

.home-product-card__actions a:last-child {
  border-color: var(--brand);
  background: var(--brand);
  color: white;
}

.home-products__footer {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2.2rem;
}

.mobile-actions {
  display: none;
}

@media (max-width: 1180px) {
  .industrial-brand small {
    display: none;
  }

  .industrial-nav > nav a {
    padding-inline: 0.45rem;
    font-size: 0.72rem;
  }

  .industrial-nav__whatsapp {
    display: none;
  }
}

@media (max-width: 1023px) {
  body {
    padding-bottom: 4.25rem;
  }

  .industrial-topbar .container-page {
    justify-content: center;
  }

  .industrial-topbar a,
  .industrial-brand span,
  .industrial-nav > nav,
  .industrial-nav__actions {
    display: none;
  }

  .industrial-nav {
    min-height: 4.1rem;
    justify-content: space-between;
  }

  .industrial-brand img {
    height: 6.25rem;
  }

  .industrial-menu-button {
    display: block;
  }

  .industrial-hero__grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .industrial-hero__product {
    display: block;
    width: 100%;
    max-width: 27rem;
    margin-inline: auto;
    transform: none;
  }

  .industrial-hero__product-image,
  .hero-carousel__viewport {
    height: 15rem;
    min-height: 15rem;
  }

  .hero-carousel__slide img {
    padding: 1.5rem;
  }

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

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

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

  .product-spec-guide__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-spec-guide__item {
    border-bottom: 1px solid #edf0f4;
  }

  .product-spec-guide__item:nth-child(3n) {
    border-right: 0;
  }

  .product-spec-guide__item:nth-last-child(-n + 3) {
    border-bottom: 0;
  }

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

  .industrial-footer__grid > div:last-child {
    grid-column: 2 / 4;
  }

  .mobile-actions {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 75;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgb(255 255 255 / 0.12);
    background: var(--industrial-navy);
    box-shadow: 0 -12px 35px rgb(7 19 31 / 0.22);
    padding: 0.42rem max(0.42rem, env(safe-area-inset-right)) calc(0.42rem + env(safe-area-inset-bottom)) max(0.42rem, env(safe-area-inset-left));
  }

  .mobile-actions a {
    display: grid;
    min-height: 3rem;
    place-items: center;
    border-right: 1px solid rgb(255 255 255 / 0.12);
    color: white;
    font-size: 0.68rem;
    font-weight: 800;
    white-space: nowrap;
  }

  .mobile-actions a:last-child {
    border: 0;
    border-radius: 0.45rem;
    background: var(--brand);
  }

  .mobile-actions a:first-child {
    color: #63df8a;
  }
}

@media (max-width: 767px) {
  .portfolio-intro__layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 2.75rem;
    padding-bottom: 2.5rem;
  }

  .portfolio-project-grid,
  .client-reference-grid {
    grid-template-columns: 1fr;
  }

  .project-card__body {
    padding: 1.2rem;
  }

  .portfolio-tabs button {
    padding: 0.65rem 0.8rem;
    font-size: 0.68rem;
  }

  .portfolio-sector-filter {
    width: 100%;
  }

  .portfolio-sector-filter select {
    flex: 1;
  }

  #portfolio-projects,
  #portfolio-clients {
    scroll-margin-top: 5.5rem;
  }

  .services-intro__layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 2.75rem;
    padding-bottom: 2.5rem;
  }

  .services-intro h1 {
    font-size: clamp(2.5rem, 8.5vw, 3.5rem);
  }

  .services-intro__process ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.3rem 1rem;
  }

  .services-intro__process li {
    align-items: flex-start;
    gap: 0.65rem;
  }

  .services-intro__process li::after {
    display: none;
  }

  .services-project-cta .container-page {
    grid-template-columns: 1fr;
  }

  #engineering-services {
    scroll-margin-top: 5.5rem;
  }

  .catalogue-intro__layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 2.75rem;
    padding-bottom: 2.5rem;
  }

  .catalogue-intro h1 {
    max-width: 100%;
    font-size: clamp(2rem, 8.5vw, 2.75rem);
    overflow-wrap: anywhere;
  }

  .catalogue-intro__lead {
    font-size: 0.88rem;
  }

  .catalogue-intro__feature {
    width: 100%;
  }

  .catalogue-intro__feature::before {
    inset: 0.75rem -0.45rem -0.55rem 0.75rem;
  }

  .catalogue-intro__feature-media {
    border-radius: 0.8rem;
  }

  .catalogue-intro__feature-caption {
    right: 0.9rem;
    bottom: 0.85rem;
    left: 0.9rem;
  }

  .catalogue-intro__feature-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .catalogue-sectors .container-page {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.7rem;
  }

  .catalogue-sectors span {
    padding: 0.15rem 0.4rem 0.15rem 0;
    font-size: 0.65rem;
  }

  #product-catalogue {
    scroll-margin-top: 5.5rem;
  }

  .industrial-topbar p {
    font-size: 0.6rem;
    letter-spacing: 0.035em;
  }

  .industrial-hero h1 {
    font-size: clamp(2.35rem, 10.8vw, 3.3rem);
    line-height: 1.01;
  }

  .industrial-hero__eyebrow {
    max-width: 20rem;
    font-size: 0.62rem;
    letter-spacing: 0.13em;
    line-height: 1.6;
  }

  .industrial-search {
    display: grid;
    border-radius: 0.75rem;
  }

  .industrial-search button {
    min-height: 2.8rem;
  }

  .industrial-hero__actions .industrial-button {
    width: 100%;
  }

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

  .capability-band__grid > div:nth-child(3),
  .capability-band__grid > a:nth-child(3) {
    border-left: 1px solid rgb(255 255 255 / 0.2);
  }

  .capability-band__grid > div:nth-child(-n + 2),
  .capability-band__grid > a:nth-child(-n + 2) {
    border-bottom: 1px solid rgb(255 255 255 / 0.2);
  }

  .industry-strip .container-page,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .industry-strip__items {
    justify-content: flex-start;
  }

  .core-products__grid,
  .specification-section__grid,
  .company-profile,
  .reference-notice,
  .quote-layout,
  .engineering-panel,
  .industrial-cta {
    grid-template-columns: 1fr;
  }

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

  .quote-contact {
    position: static;
  }

  .industrial-cta {
    margin-right: 1rem;
    margin-bottom: 4rem;
    margin-left: 1rem;
  }

  .industrial-cta > div:last-child {
    grid-template-columns: 1fr;
  }

  .industrial-footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 1.5rem;
  }

  .industrial-footer__grid > div:first-child,
  .industrial-footer__grid > div:last-child {
    grid-column: 1 / -1;
  }

  .industrial-footer__bottom .container-page {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
  }

  .home-products__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .home-products__footer .industrial-button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .services-intro__process {
    padding: 1.2rem;
  }

  .services-intro__process li {
    flex-direction: column;
  }

  .services-intro__process strong {
    font-size: 0.74rem;
  }

  .core-products__grid,
  .home-products__grid,
  .form-grid--two,
  .quality-grid,
  .specification-list {
    grid-template-columns: 1fr;
  }

  .core-products__grid img {
    height: 12rem;
  }

  .quality-grid > div {
    min-height: auto;
  }

  .supply-gallery img {
    height: 9rem;
  }

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

  .product-spec-guide__heading {
    padding: 1rem 1.1rem;
  }

  .product-spec-guide__item {
    border-right: 1px solid #edf0f4;
    border-bottom: 1px solid #edf0f4;
    padding: 1.1rem;
  }

  .product-spec-guide__item:nth-child(3n) {
    border-right: 1px solid #edf0f4;
  }

  .product-spec-guide__item:nth-child(2n) {
    border-right: 0;
  }

  .product-spec-guide__item:nth-last-child(-n + 3) {
    border-bottom: 1px solid #edf0f4;
  }

  .product-spec-guide__item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .quote-form__actions .industrial-button {
    width: 100%;
  }
}

/* Services page refresh: industry rail, split hero and six visual service cards. */
.services-icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.services-industries {
  border-bottom: 1px solid #dce4ed;
  background: #f3f6fa;
  padding: 0.75rem 0 0.55rem;
}

.services-industries .container-page {
  display: grid;
  gap: 0.35rem;
}

.services-industries > .container-page > p {
  color: #244467;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.services-industries__list {
  display: grid;
  grid-template-columns: repeat(11, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.services-industries__list li {
  display: flex;
  min-width: 0;
  min-height: 3.25rem;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  border-right: 1px solid #d7e0ea;
  color: #183b63;
  padding: 0.15rem 0.3rem;
  text-align: center;
}

.services-industries__list li:last-child {
  border-right: 0;
}

.services-industries__list svg {
  width: 1.4rem;
  height: 1.4rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.services-industries__list li:nth-child(2) svg {
  color: #d6202b;
  fill: #d6202b;
  stroke: #d6202b;
}

.services-industries__list span {
  font-size: clamp(0.54rem, 0.7vw, 0.67rem);
  font-weight: 650;
  line-height: 1.25;
}

.services-intro {
  position: relative;
  overflow: hidden;
  background: #f7f9fc;
  color: #17253a;
}

.services-intro__layout {
  position: static;
  display: flex;
  min-height: 20rem;
  align-items: center;
  padding-top: 2.1rem;
  padding-bottom: 2.1rem;
}

.services-intro__copy {
  position: relative;
  z-index: 2;
  width: min(59%, 39rem);
  padding: 0.35rem 0;
}

.services-intro__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #d51e2b;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.services-intro__eyebrow::after {
  width: 3.3rem;
  height: 1px;
  background: #d51e2b;
  content: "";
}

.services-intro h1 {
  max-width: 40rem;
  margin-top: 1rem;
  color: #151d2d;
  font-size: clamp(2.65rem, 4.8vw, 4.1rem);
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.services-intro h1 span {
  display: block;
  color: #174b85;
}

.services-intro__lead {
  max-width: 34rem;
  margin-top: 0.9rem;
  color: #526780;
  font-size: 0.9rem;
  line-height: 1.6;
}

.services-intro__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.4rem 2rem;
  margin-top: 1.15rem;
}

.services-intro__actions .industrial-button {
  min-height: 2.75rem;
  border-radius: 0.35rem;
  padding-right: 1.3rem;
  padding-left: 1.3rem;
  font-size: 0.75rem;
}

.services-intro__link {
  display: inline-flex;
  min-height: 2.4rem;
  align-items: center;
  gap: 0.55rem;
  border-bottom: 1px solid #174b85;
  color: #174b85;
  font-size: 0.74rem;
  font-weight: 750;
}

.services-intro__visual {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(54vw, 54rem);
  margin: 0;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
  background: #d8e5f1;
}

.services-intro__visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #f7f9fc 0%, rgb(247 249 252 / 0.82) 9%, rgb(247 249 252 / 0.08) 43%, transparent 65%);
  content: "";
}

.services-intro__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% center;
}

.service-directory {
  background: var(--background);
  padding: clamp(2rem, 4vw, 3.25rem) 0 clamp(2.5rem, 4vw, 3.5rem);
}

.service-directory > .container-page > .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.service-directory__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 1.1rem;
}

.service-card {
  display: grid;
  min-width: 0;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto;
  align-items: stretch;
  row-gap: 0.9rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
  padding: 1.15rem;
  box-shadow: 0 5px 18px rgb(31 25 24 / 0.055);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--brand) 24%, var(--border));
  box-shadow: 0 12px 28px rgb(31 25 24 / 0.09);
}

.service-card__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.service-card__top {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  align-items: center;
  gap: 0.85rem;
}

.service-card__icon {
  display: grid;
  width: 3.4rem;
  height: 3.4rem;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 0.8rem;
  background: var(--accent);
  color: var(--brand);
}

.service-card__icon svg {
  box-sizing: border-box;
  width: 1.65rem;
  height: 1.65rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  padding: 0;
}

.service-card__icon--red svg {
  fill: var(--brand);
  stroke: var(--brand);
}

.service-card__number {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.service-card__number::after {
  width: 2.8rem;
  height: 1px;
  background: linear-gradient(90deg, var(--brand), transparent);
  content: "";
}

.service-card h2 {
  margin-top: 0.35rem;
  color: var(--foreground);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.25rem, 1.5vw, 1.65rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.service-card h2 a:hover {
  color: var(--brand);
}

.service-card__content > p {
  display: -webkit-box;
  min-height: 0;
  margin-top: 0.8rem;
  overflow: hidden;
  color: var(--muted-foreground);
  font-size: 0.84rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.service-card__features {
  display: grid;
  gap: 0.42rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.service-card__features li {
  position: relative;
  color: var(--muted-foreground);
  padding-left: 1.35rem;
  font-size: 0.78rem;
  line-height: 1.4;
}

.service-card__features li::before {
  position: absolute;
  top: 0.08rem;
  left: 0;
  display: grid;
  width: 0.92rem;
  height: 0.92rem;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: var(--brand-foreground);
  content: "✓";
  font-size: 0.62rem;
  font-weight: 800;
}

.service-card__sectors {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding-top: 0.65rem;
}

.service-card__sectors h3 {
  color: var(--foreground);
  font-size: 0.72rem;
  font-weight: 750;
}

.service-card__sectors > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.7rem;
  margin-top: 0.4rem;
}

.service-card__sectors span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--muted-foreground);
  font-size: 0.68rem;
  line-height: 1.25;
  white-space: nowrap;
}

.service-card__sectors span + span {
  border-left: 1px solid var(--border);
  padding-left: 0.65rem;
}

.service-card__sectors svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--industrial-navy, var(--foreground));
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.service-card__actions {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0;
}

.service-card__details {
  display: inline-flex;
  min-height: 2.6rem;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  border-bottom: 1px solid var(--brand);
  color: var(--industrial-navy, var(--foreground));
  font-size: 0.78rem;
  font-weight: 750;
  white-space: nowrap;
}

.service-card__quote {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: 0.45rem;
  margin: 0;
  border: 1px solid var(--brand);
  border-radius: 999px;
  background: var(--brand);
  color: var(--brand-foreground);
  padding: 0.65rem 1rem;
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
}

.service-card__quote:hover {
  border-color: var(--destructive);
  background: var(--destructive);
  color: var(--brand-foreground);
}

.service-card__media {
  position: relative;
  min-width: 0;
  aspect-ratio: 16 / 10;
  margin: 0;
  overflow: hidden;
  border-radius: 0.75rem;
  background: var(--accent);
}

.service-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.industrial-supply-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(15rem, 1fr) auto;
  align-items: center;
  gap: 1.2rem;
  margin-top: 1.1rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
  padding: 1.15rem;
}

.industrial-supply-panel .section-kicker {
  color: var(--brand);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.industrial-supply-panel h2 {
  margin-top: 0.2rem;
  color: var(--foreground);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.industrial-supply-panel > div > p:last-child {
  margin-top: 0.3rem;
  color: var(--muted-foreground);
  font-size: 0.8rem;
  line-height: 1.5;
}

.industrial-supply-panel ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.industrial-supply-panel li {
  color: var(--muted-foreground);
  font-size: 0.75rem;
}

.industrial-supply-panel li::before {
  margin-right: 0.35rem;
  color: var(--brand);
  content: "•";
  font-weight: 800;
}

@media (max-width: 1050px) {
  .services-industries__list {
    grid-template-columns: repeat(11, minmax(5.25rem, 1fr));
    overflow-x: auto;
  }

  .service-card {
    padding: 1rem;
  }

  .service-card__top {
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 0.65rem;
  }

  .service-card__icon {
    width: 2.9rem;
    height: 2.9rem;
  }

  .industrial-supply-panel {
    grid-template-columns: minmax(0, 1fr) minmax(12rem, 1fr);
  }

  .industrial-supply-panel > .service-card__quote {
    grid-column: 2;
    justify-self: end;
  }
}

@media (max-width: 820px) {
  .service-directory > .container-page {
    width: min(calc(100% - 2rem), 48rem);
    max-width: 48rem;
    margin-inline: auto;
  }

  .services-industries > .container-page,
  .services-intro__layout,
  .services-project-cta > .container-page {
    width: min(calc(100% - 2rem), 48rem);
    max-width: 48rem;
    margin-inline: auto;
  }

  .service-directory__list {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 1.2rem;
  }

  .service-card__content > p {
    font-size: 0.88rem;
  }

  .service-card__features li {
    font-size: 0.8rem;
  }
}

@media (max-width: 600px) {
  .service-directory > .container-page,
  .services-industries > .container-page,
  .services-intro__layout,
  .services-project-cta > .container-page {
    width: min(calc(100% - 1rem), 38rem);
    max-width: 38rem;
  }

  .service-card {
    padding: 1rem;
  }

  .service-card__top {
    grid-template-columns: 2.75rem minmax(0, 1fr);
    gap: 0.45rem;
  }

  .service-card__icon {
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 0.7rem;
  }

  .service-card__icon svg {
    width: 1.3rem;
    height: 1.3rem;
  }

  .service-card h2 {
    font-size: 1.12rem;
  }

  .service-card__content > p {
    margin-top: 0.65rem;
    font-size: 0.82rem;
  }

  .service-card__features {
    gap: 0.35rem;
    margin-top: 0.65rem;
  }

  .service-card__features li {
    padding-left: 1.25rem;
    font-size: 0.82rem;
  }

  .service-card__features li::before {
    width: 0.78rem;
    height: 0.78rem;
    font-size: 0.52rem;
  }

  .service-card__sectors {
    padding-top: 0.45rem;
  }

  .service-card__sectors span {
    font-size: 0.56rem;
  }

  .service-card__sectors span + span {
    padding-left: 0.45rem;
  }

  .service-card__sectors svg {
    width: 0.85rem;
    height: 0.85rem;
  }

  .service-card__actions {
    gap: 0.55rem;
  }

  .service-card__details {
    min-height: 2.35rem;
    font-size: 0.7rem;
  }

  .service-card__quote {
    min-height: 2.3rem;
    width: auto;
    margin-top: 0;
    padding: 0.45rem 0.7rem;
    font-size: 0.64rem;
  }

  .service-card__sectors span + span {
    border-left: 0;
  }

  .industrial-supply-panel {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1rem;
  }

  .industrial-supply-panel ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .industrial-supply-panel > .service-card__quote {
    grid-column: auto;
    justify-self: stretch;
  }
}

@media (max-width: 420px) {
  .service-card__media {
    aspect-ratio: 16 / 9;
  }

  .service-card__actions {
    flex-wrap: wrap;
  }
}

/* --------------------------------------------------------------------------
   Product detail — image-led industrial specification sheet
   -------------------------------------------------------------------------- */

.product-detail {
  --product-navy: #062c49;
  --product-blue: #0b527c;
  --product-pale: #edf5fa;
  background: #fff;
  color: #10283a;
}

.product-masthead {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgb(3 34 57 / 0.98), rgb(4 45 74 / 0.9)),
    url("../images/hero-yellow-pipes.jpg") center 42% / cover;
  color: #fff;
}

.product-masthead::after {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgb(255 255 255 / 0.045) 1px, transparent 1px);
  background-size: 5rem 100%;
  content: "";
  pointer-events: none;
}

.product-masthead__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 3rem;
  padding-top: 1.1rem;
  padding-bottom: 1.6rem;
}

.product-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  color: rgb(255 255 255 / 0.64);
  font-size: 0.7rem;
}

.product-breadcrumb a:hover {
  color: #fff;
}

.product-masthead__eyebrow {
  margin-top: 1.2rem;
  color: #77c5e9;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.product-masthead h1 {
  margin-top: 0.15rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 700;
  line-height: 1;
}

.product-masthead__inner > div > p:last-child {
  max-width: 42rem;
  margin-top: 0.5rem;
  color: rgb(255 255 255 / 0.76);
  font-size: 0.84rem;
}

.product-masthead__proofs {
  display: flex;
  gap: 1.25rem;
  padding-bottom: 0.2rem;
}

.product-masthead__proofs li {
  display: grid;
  grid-template-columns: 2rem auto;
  grid-template-rows: auto auto;
  column-gap: 0.55rem;
  min-width: 8.5rem;
}

.product-masthead__proofs li > span {
  grid-row: 1 / 3;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 0.3);
  border-radius: 50%;
  color: #8ad7f7;
  font-size: 0.85rem;
  font-weight: 800;
}

.product-masthead__proofs strong,
.product-masthead__proofs small {
  display: block;
  white-space: nowrap;
}

.product-masthead__proofs strong {
  font-size: 0.68rem;
}

.product-masthead__proofs small {
  color: rgb(255 255 255 / 0.55);
  font-size: 0.58rem;
}

.product-detail__body {
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}

.product-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.92fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.product-gallery__stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid #d5e0e7;
  border-radius: 0.7rem;
  background: #eaf0f3;
}

.product-gallery__stage > img.product-gallery__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: opacity 120ms ease;
}

.product-gallery__stage > img.is-changing {
  opacity: 0.35;
}

.product-gallery__label,
.product-gallery__count {
  position: absolute;
  bottom: 0.75rem;
  border-radius: 0.25rem;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product-gallery__label {
  left: 0.75rem;
  background: var(--brand);
  padding: 0.36rem 0.5rem;
}

.product-gallery__count {
  right: 0.75rem;
  background: rgb(2 25 42 / 0.78);
  padding: 0.36rem 0.55rem;
}

.product-gallery__nav {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) 2rem;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.65rem;
}

.product-gallery__nav > button {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid #d5e0e7;
  border-radius: 50%;
  background: #f3f7f9;
  color: var(--product-navy);
  cursor: pointer;
  font-size: 1.3rem;
}

.product-gallery__nav > button:hover,
.product-gallery__nav > button:focus-visible {
  border-color: var(--product-blue);
  outline: none;
}

.product-gallery__thumbs {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.15rem;
  scrollbar-width: thin;
}

.product-gallery__thumb {
  width: 5.4rem;
  height: 3.7rem;
  flex: 0 0 auto;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 0.35rem;
  background: #edf2f5;
  cursor: pointer;
  padding: 0.12rem;
}

.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  border-radius: 0.2rem;
  object-fit: cover;
}

.product-gallery__thumb.is-active,
.product-gallery__thumb:focus-visible {
  border-color: var(--brand);
  outline: none;
}

.product-summary {
  padding-top: 0.2rem;
}

.product-summary__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.product-summary__badges span {
  border-radius: 999px;
  background: var(--product-pale);
  color: var(--product-blue);
  padding: 0.35rem 0.6rem;
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product-summary__badges span:not(:first-child) {
  background: #fee8e8;
  color: var(--brand);
}

.product-summary h2 {
  margin-top: 0.8rem;
  color: var(--product-navy);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.product-summary__stock {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.7rem;
  color: #168550;
  font-size: 0.72rem;
  font-weight: 800;
}

.product-summary__stock > span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0.2rem rgb(22 133 80 / 0.12);
}

.product-summary__stock.is-unavailable {
  color: #7a858e;
}

.product-summary__description {
  margin-top: 1rem;
  color: #526774;
  font-size: 0.83rem;
  line-height: 1.7;
}

.product-highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
  margin-top: 1.35rem;
  padding: 0.9rem 0;
  border-top: 1px solid #dfe7ec;
  border-bottom: 1px solid #dfe7ec;
}

.product-highlights div {
  display: grid;
  justify-items: center;
  text-align: center;
}

.product-highlights span {
  display: grid;
  width: 2.15rem;
  height: 2.15rem;
  place-items: center;
  margin-bottom: 0.35rem;
  border-radius: 50%;
  background: var(--product-navy);
  color: #fff;
  font-size: 0.9rem;
}

.product-highlights small,
.product-highlights strong {
  display: block;
  font-size: 0.58rem;
  line-height: 1.25;
}

.product-highlights small {
  color: #84929b;
}

.product-highlights strong {
  color: var(--product-navy);
}

.product-summary__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 1.3rem;
}

.product-action {
  display: flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 0.4rem;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  transition: transform 150ms ease, filter 150ms ease;
}

.product-action:hover {
  filter: brightness(0.94);
  transform: translateY(-1px);
}

.product-action--primary {
  background: var(--brand);
}

.product-action--whatsapp {
  background: #16a365;
}

.product-summary__note {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.9rem;
  color: #758690;
  font-size: 0.65rem;
  line-height: 1.45;
}

.product-summary__note span {
  color: #168550;
  font-weight: 900;
}

.product-information {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 1rem;
  margin-top: 2.6rem;
}

.product-information__panel,
.product-applications {
  border: 1px solid #d8e3e9;
  border-radius: 0.55rem;
  background: #fff;
  padding: 1.25rem;
}

.product-information__panel--advantages {
  background: linear-gradient(135deg, #f8fbfd, #eaf4f9);
}

.product-section-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid #dce6eb;
}

.product-section-title > span {
  display: grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--product-navy);
  color: #fff;
  font-size: 0.8rem;
}

.product-section-title p {
  color: var(--brand);
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-section-title h2 {
  color: var(--product-navy);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.product-specifications {
  margin-top: 0.7rem;
}

.product-specifications > div {
  display: grid;
  grid-template-columns: minmax(7.5rem, 0.38fr) minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.58rem 0.65rem;
  font-size: 0.68rem;
}

.product-specifications > div:nth-child(odd) {
  background: #f1f6f9;
}

.product-specifications dt {
  color: #647782;
  font-weight: 700;
}

.product-specifications dd {
  color: #173a51;
  font-weight: 650;
  line-height: 1.45;
}

.product-advantages {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.85rem;
}

.product-advantages li {
  display: grid;
  grid-template-columns: 1.8rem minmax(0, 1fr);
  gap: 0.55rem;
  align-items: start;
}

.product-advantages li > span {
  display: grid;
  width: 1.65rem;
  height: 1.65rem;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 900;
}

.product-advantages strong,
.product-advantages small {
  display: block;
}

.product-advantages strong {
  color: #173a51;
  font-size: 0.7rem;
}

.product-advantages small {
  margin-top: 0.12rem;
  color: #6e818d;
  font-size: 0.61rem;
  line-height: 1.35;
}

.product-information__empty {
  margin-top: 0.9rem;
  color: #6d7f89;
  font-size: 0.72rem;
  line-height: 1.6;
}

.product-applications {
  margin-top: 1rem;
}

.product-applications__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.product-applications__grid article {
  min-width: 0;
  border: 1px solid #dfe7ec;
  border-radius: 0.4rem;
  background: #f7fafc;
  padding: 0.9rem;
}

.product-applications__grid article > span {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 0.35rem;
  background: var(--product-pale);
  color: var(--product-blue);
  font-size: 0.9rem;
}

.product-applications__grid h3 {
  margin-top: 0.65rem;
  color: var(--product-navy);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.25;
}

.product-applications__grid p {
  margin-top: 0.25rem;
  color: #73848e;
  font-size: 0.59rem;
  line-height: 1.4;
}

.product-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  overflow: hidden;
  margin-top: 1rem;
  border-radius: 0.55rem;
  background:
    linear-gradient(90deg, rgb(3 36 59 / 0.98), rgb(3 47 77 / 0.78)),
    url("../images/pipes-real.jpg") center / cover;
  color: #fff;
  padding: 1.5rem 1.7rem;
}

.product-cta p {
  color: #78c7eb;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-cta h2 {
  margin-top: 0.2rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.25rem, 2.3vw, 2rem);
  font-weight: 700;
}

.product-cta div > span {
  display: block;
  max-width: 45rem;
  margin-top: 0.3rem;
  color: rgb(255 255 255 / 0.7);
  font-size: 0.65rem;
}

.product-cta__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 0.55rem;
}

.product-cta__actions a {
  border: 1px solid rgb(255 255 255 / 0.5);
  border-radius: 0.35rem;
  padding: 0.72rem 0.9rem;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
}

.product-cta__actions a:first-child {
  border-color: var(--brand);
  background: var(--brand);
}

.product-related {
  margin-top: 2.6rem;
  padding-top: 2rem;
  border-top: 1px solid #d8e3e9;
}

.product-related__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.product-related__heading p {
  color: var(--brand);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-related__heading h2 {
  margin-top: 0.22rem;
  color: var(--product-navy);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.product-related__heading > a {
  flex: 0 0 auto;
  color: var(--product-blue);
  font-size: 0.72rem;
  font-weight: 800;
}

.product-related__heading > a:hover {
  color: var(--brand);
}

.product-related__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

@media (max-width: 960px) {
  .product-masthead__inner {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .product-masthead__proofs {
    overflow-x: auto;
  }

  .product-overview,
  .product-information {
    grid-template-columns: 1fr;
  }

  .product-overview {
    gap: 1.5rem;
  }

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

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

  .product-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .product-detail-header nav a:last-child {
    display: none;
  }

  .product-masthead__inner {
    padding-bottom: 1.25rem;
  }

  .product-masthead__proofs {
    gap: 1rem;
    padding-bottom: 0.4rem;
  }

  .product-masthead__proofs li {
    min-width: 8rem;
  }

  .product-detail__body {
    padding-top: 1rem;
  }

  .product-gallery__stage {
    aspect-ratio: 1.16 / 1;
  }

  .product-summary h2 {
    font-size: 2.25rem;
  }

  .product-highlights {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 1rem;
  }

  .product-summary__actions,
  .product-applications__grid {
    grid-template-columns: 1fr;
  }

  .product-specifications > div {
    grid-template-columns: 1fr;
    gap: 0.18rem;
  }

  .product-cta {
    margin-inline: -1rem;
    border-radius: 0;
    padding: 1.35rem 1rem;
  }

  .product-cta__actions {
    width: 100%;
    flex-direction: column;
  }

  .product-cta__actions a {
    text-align: center;
  }

  .product-related {
    margin-top: 2rem;
  }

  .product-related__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
  }

  .product-related__grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Service detail — polished engineering brief
   -------------------------------------------------------------------------- */

.service-view {
  --service-navy: #062b47;
  --service-blue: #0a557f;
  --service-pale: #eef6fa;
  background: #fff;
  color: #143148;
}

.service-view-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 77% 20%, rgb(35 129 174 / 0.22), transparent 24rem),
    linear-gradient(120deg, #041d31 0%, #073655 100%);
  color: #fff;
}

.service-view-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(90deg, rgb(255 255 255 / 0.035) 1px, transparent 1px),
    linear-gradient(rgb(255 255 255 / 0.025) 1px, transparent 1px);
  background-size: 5rem 5rem;
  content: "";
}

.service-view-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  padding-top: 1.15rem;
  color: rgb(255 255 255 / 0.57);
  font-size: 0.7rem;
}

.service-view-breadcrumb a:hover {
  color: #fff;
}

.service-view-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(26rem, 1.08fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  min-height: 36rem;
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
}

.service-view-hero__grid > *,
.service-view-section-heading > *,
.service-view-scope__grid > * {
  min-width: 0;
}

.service-view-eyebrow {
  color: var(--brand);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.service-view-hero__title {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-top: 0.8rem;
}

.service-view-hero__title > span {
  display: grid;
  width: 3.1rem;
  height: 3.1rem;
  flex: 0 0 auto;
  place-items: center;
  margin-top: 0.3rem;
  border: 1px solid rgb(255 255 255 / 0.25);
  border-radius: 50%;
  background: rgb(255 255 255 / 0.08);
  color: #7cd0f2;
  font-size: 1.3rem;
}

.service-view-hero h1 {
  max-width: 38rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.service-view-hero__lead {
  max-width: 39rem;
  margin-top: 1.4rem;
  color: rgb(255 255 255 / 0.72);
  font-size: 1rem;
  line-height: 1.75;
}

.service-view-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.7rem;
}

.service-view-button {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  border: 1px solid rgb(255 255 255 / 0.28);
  border-radius: 0.35rem;
  padding: 0.8rem 1.15rem;
  font-size: 0.76rem;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease;
}

.service-view-button:hover {
  transform: translateY(-2px);
}

.service-view-button--primary {
  border-color: var(--brand);
  background: var(--brand);
}

.service-view-button--outline {
  background: rgb(255 255 255 / 0.06);
}

.service-view-assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.1rem;
  margin-top: 1.5rem;
  color: rgb(255 255 255 / 0.65);
  font-size: 0.66rem;
  font-weight: 650;
}

.service-view-assurances li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.service-view-assurances span {
  color: #5ed39a;
  font-weight: 900;
}

.service-view-hero__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.3 / 1;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 0.8rem;
  background: #f1f5f7;
  box-shadow: 0 2rem 5rem rgb(0 0 0 / 0.23);
}

.service-view-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.service-view-hero__placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--service-blue);
  font-size: 6rem;
}

.service-view-hero__media figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 0.45rem;
  background: rgb(3 31 51 / 0.9);
  color: #fff;
  padding: 0.75rem 0.85rem;
  backdrop-filter: blur(9px);
}

.service-view-hero__media figcaption > span {
  display: grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
}

.service-view-hero__media small,
.service-view-hero__media strong {
  display: block;
}

.service-view-hero__media small {
  color: #8acdea;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-view-hero__media strong {
  margin-top: 0.08rem;
  font-size: 0.72rem;
}

.service-view-deliverables,
.service-view-process {
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

.service-view-section-heading {
  display: grid;
  grid-template-columns: minmax(18rem, 0.9fr) minmax(20rem, 1.1fr);
  gap: 3rem;
  align-items: end;
}

.service-view-section-heading h2,
.service-view-scope h2,
.service-view-cta h2 {
  margin-top: 0.35rem;
  color: var(--service-navy);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.service-view-section-heading > p {
  max-width: 38rem;
  color: #667985;
  font-size: 0.88rem;
  line-height: 1.75;
}

.service-view-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 2.2rem;
}

.service-view-feature-grid li {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  min-height: 7.5rem;
  border: 1px solid #dce6ec;
  border-radius: 0.55rem;
  background: #fff;
  padding: 1.15rem;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.service-view-feature-grid li:hover {
  border-color: #9fc0d2;
  box-shadow: 0 0.8rem 2rem rgb(5 45 72 / 0.07);
  transform: translateY(-2px);
}

.service-view-feature-grid li > span {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border-radius: 50%;
  background: var(--service-pale);
  color: var(--service-blue);
  font-size: 0.7rem;
  font-weight: 900;
}

.service-view-feature-grid strong,
.service-view-feature-grid small {
  display: block;
}

.service-view-feature-grid strong {
  color: var(--service-navy);
  font-size: 0.88rem;
  line-height: 1.45;
}

.service-view-feature-grid small {
  margin-top: 0.35rem;
  color: #7b8c96;
  font-size: 0.68rem;
  line-height: 1.5;
}

.service-view-inputs {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
  border-left: 0.25rem solid var(--brand);
  border-radius: 0.35rem;
  background: #f4f8fa;
  padding: 1rem 1.15rem;
}

.service-view-inputs > span {
  color: var(--service-navy);
  font-size: 0.8rem;
  font-weight: 800;
}

.service-view-inputs p {
  color: #71838e;
  font-size: 0.7rem;
  line-height: 1.5;
}

.service-view-inputs a {
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.service-view-empty {
  margin-top: 2rem;
  border: 1px solid #dce6ec;
  border-radius: 0.55rem;
  padding: 1.2rem;
  color: #71838e;
}

.service-view-scope {
  border-block: 1px solid #d9e6ed;
  background:
    radial-gradient(circle at 90% 10%, rgb(10 85 127 / 0.08), transparent 26rem),
    #f0f7fa;
}

.service-view-scope__grid {
  display: grid;
  grid-template-columns: minmax(19rem, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(3rem, 8vw, 6.5rem);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

.service-view-scope__intro > p:not(.service-view-eyebrow) {
  margin-top: 1.25rem;
  color: #647985;
  font-size: 0.87rem;
  line-height: 1.75;
}

.service-view-scope__marker {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.5rem;
  border-top: 1px solid #cadce6;
  padding-top: 1.25rem;
}

.service-view-scope__marker > span {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--service-navy);
  color: #fff;
}

.service-view-scope__marker strong,
.service-view-scope__marker small {
  display: block;
}

.service-view-scope__marker strong {
  color: var(--service-navy);
  font-size: 0.75rem;
}

.service-view-scope__marker small {
  margin-top: 0.12rem;
  color: #7a8e99;
  font-size: 0.64rem;
}

.service-view-scope__list {
  position: relative;
  display: grid;
  gap: 0;
  counter-reset: service-scope;
}

.service-view-scope__list::before {
  position: absolute;
  top: 1.7rem;
  bottom: 1.7rem;
  left: 1.25rem;
  width: 1px;
  background: #b9d0dc;
  content: "";
}

.service-view-scope__list li {
  position: relative;
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
  padding: 0.72rem 0;
}

.service-view-scope__list li > span {
  z-index: 1;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 0.3rem solid #f0f7fa;
  border-radius: 50%;
  background: var(--service-blue);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 900;
}

.service-view-scope__list li p {
  border: 1px solid #d4e2e9;
  border-radius: 0.45rem;
  background: rgb(255 255 255 / 0.82);
  color: #4f6877;
  padding: 0.9rem 1rem;
  font-size: 0.75rem;
  line-height: 1.6;
}

.service-view-process__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2.2rem;
  border: 1px solid #dce5eb;
  border-radius: 0.65rem;
  background: #fff;
}

.service-view-process__steps li {
  position: relative;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 0.9rem;
  min-height: 10rem;
  padding: 1.35rem;
}

.service-view-process__steps li + li {
  border-left: 1px solid #dce5eb;
}

.service-view-process__steps li > span {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border-radius: 50%;
  background: var(--service-navy);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
}

.service-view-process__steps small {
  color: var(--brand);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-view-process__steps h3 {
  margin-top: 0.25rem;
  color: var(--service-navy);
  font-size: 0.9rem;
  font-weight: 800;
}

.service-view-process__steps p {
  margin-top: 0.5rem;
  color: #71838d;
  font-size: 0.7rem;
  line-height: 1.55;
}

.service-view-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  overflow: hidden;
  margin-bottom: 3.5rem;
  border-radius: 0.7rem;
  background:
    linear-gradient(90deg, rgb(3 35 57 / 0.98), rgb(4 50 80 / 0.8)),
    url("../images/hero-yellow-pipes.jpg") center / cover;
  color: #fff;
  padding: clamp(1.5rem, 4vw, 2.4rem);
}

.service-view-cta h2 {
  max-width: 48rem;
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
}

.service-view-cta div:first-child > span {
  display: block;
  max-width: 42rem;
  margin-top: 0.65rem;
  color: rgb(255 255 255 / 0.66);
  font-size: 0.75rem;
}

.service-view-cta > div:last-child {
  display: flex;
  flex: 0 0 auto;
  gap: 0.6rem;
}

.service-view-cta a {
  border: 1px solid rgb(255 255 255 / 0.35);
  border-radius: 0.35rem;
  padding: 0.8rem 1rem;
  font-size: 0.7rem;
  font-weight: 800;
  text-align: center;
}

.service-view-cta a:first-child {
  border-color: var(--brand);
  background: var(--brand);
}

@media (max-width: 960px) {
  .service-view-hero__grid,
  .service-view-scope__grid {
    grid-template-columns: 1fr;
  }

  .service-view-hero__grid {
    min-height: 0;
  }

  .service-view-hero__media {
    width: min(100%, 42rem);
    max-width: 100%;
  }

  .service-view-section-heading {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-view-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .service-view-header nav a:last-child {
    display: none;
  }

  .service-view-hero__grid {
    gap: 2rem;
    padding-top: 2rem;
    padding-bottom: 2.5rem;
  }

  .service-view-hero__title {
    display: block;
  }

  .service-view-hero__title > span {
    width: 2.6rem;
    height: 2.6rem;
    margin-bottom: 0.8rem;
  }

  .service-view-hero h1 {
    font-size: clamp(2.4rem, 13vw, 3.5rem);
  }

  .service-view-hero__actions,
  .service-view-button {
    width: 100%;
    max-width: 100%;
  }

  .service-view-hero__media {
    aspect-ratio: 1 / 0.86;
  }

  .service-view-hero__media figcaption {
    right: 0.6rem;
    bottom: 0.6rem;
    left: 0.6rem;
  }

  .service-view-feature-grid,
  .service-view-process__steps {
    grid-template-columns: 1fr;
  }

  .service-view-inputs {
    grid-template-columns: 1fr;
  }

  .service-view-process__steps li + li {
    border-top: 1px solid #dce5eb;
    border-left: 0;
  }

  .service-view-cta {
    margin-inline: -1rem;
    margin-bottom: 0;
    border-radius: 0;
  }

  .service-view-cta > div:last-child,
  .service-view-cta a {
    width: 100%;
  }

  .service-view-cta > div:last-child {
    flex-direction: column;
  }
}

.service-detail-scope {
  border-block: 1px solid var(--border);
  background: var(--background);
}

.service-detail-scope__intro {
  max-width: 54rem;
}

.service-detail-scope__intro h2 {
  color: var(--industrial-navy, var(--foreground));
}

.service-detail-scope__intro > p:last-child {
  max-width: 49rem;
  font-size: 1rem;
  line-height: 1.75;
}

.service-detail-scope__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.75rem;
  padding: 0;
  list-style: none;
}

.service-detail-scope__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  background: var(--card);
  color: var(--muted-foreground);
  padding: 1rem 1.1rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.service-detail-scope__list li > span:first-child {
  display: grid;
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 1.25rem;
  place-items: center;
  margin-top: 0.08rem;
  border-radius: 50%;
  background: var(--brand);
  color: var(--brand-foreground);
  font-size: 0.78rem;
  font-weight: 800;
}

@media (max-width: 640px) {
  .service-detail-scope__list {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Projects page — image-led portfolio layout
   -------------------------------------------------------------------------- */

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.portfolio-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #f4f9fd;
  color: #08143d;
}

.portfolio-intro::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #f7fbfe 0%, rgb(247 251 254 / 0.96) 33%, rgb(247 251 254 / 0.56) 61%, rgb(247 251 254 / 0.18) 100%);
  content: "";
}

.portfolio-intro__background {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -2;
  width: 63%;
  height: 100%;
  object-fit: cover;
  object-position: center 57%;
  opacity: 0.62;
  filter: saturate(0.72) contrast(0.86) brightness(1.13);
}

.portfolio-intro__layout {
  display: flex;
  min-height: 18.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding-top: 3.4rem;
  padding-bottom: 3.4rem;
}

.portfolio-intro__copy {
  width: min(100%, 47rem);
}

.portfolio-intro__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.portfolio-intro__eyebrow span {
  width: 5.5rem;
  height: 2px;
  background: var(--brand);
}

.portfolio-intro h1 {
  margin-top: 0.85rem;
  color: #07113c;
  font-size: clamp(3.15rem, 5vw, 4.55rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.portfolio-intro__lead {
  max-width: 45rem;
  margin-top: 0.7rem;
  color: #435674;
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  line-height: 1.45;
}

.portfolio-intro__quote {
  display: inline-flex;
  min-width: 19.5rem;
  min-height: 3.75rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border: 1px solid rgb(255 255 255 / 0.9);
  border-radius: 0.8rem;
  background: var(--brand);
  box-shadow: 0 14px 28px rgb(225 20 37 / 0.17);
  color: white;
  padding: 0.9rem 1.5rem;
  font-size: 0.93rem;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.portfolio-intro__quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgb(225 20 37 / 0.24);
}

.portfolio-intro__quote span {
  font-size: 1.35rem;
  font-weight: 400;
}

.portfolio-content {
  background: linear-gradient(180deg, #f8fbfe 0%, #fff 38rem);
  padding-top: 0;
}

.portfolio-projects {
  padding-top: 2rem;
  padding-bottom: 5rem;
}

.portfolio-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}

.portfolio-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.portfolio-tabs button {
  min-height: 3.15rem;
  border: 1px solid #d7e1ec;
  border-radius: 0.65rem;
  background: rgb(255 255 255 / 0.92);
  color: #1d3554;
  padding: 0.7rem 1.45rem;
  font-size: 0.84rem;
  font-weight: 650;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.portfolio-tabs button:hover {
  border-color: #9fb1c4;
}

.portfolio-tabs button[aria-pressed="true"] {
  border-color: #0b456b;
  background: #0b456b;
  box-shadow: 0 7px 18px rgb(11 69 107 / 0.18);
  color: white;
}

.portfolio-tabs button span {
  color: inherit;
  font-weight: 700;
}

.portfolio-sector-filter {
  display: flex;
  flex: 0 1 23rem;
  align-items: center;
  gap: 1rem;
  color: #1d3554;
  font-size: 0.82rem;
  font-weight: 650;
}

.portfolio-sector-filter select {
  width: 100%;
  min-width: 13rem;
  min-height: 3.15rem;
  border: 1px solid #d7e1ec;
  border-radius: 0.65rem;
  background-color: rgb(255 255 255 / 0.94);
  color: #1d3554;
  padding: 0.65rem 2.5rem 0.65rem 1rem;
  font-size: 0.84rem;
}

.portfolio-result {
  margin: 0.85rem 0 1.15rem;
  color: #7a8ca5;
  font-size: 0.78rem;
}

.portfolio-demo-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
  border: 1px solid #e8dec8;
  border-radius: 0.7rem;
  background: rgb(255 251 241 / 0.85);
  padding: 0.75rem 1rem;
}

.portfolio-demo-notice > span {
  display: grid;
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 1.35rem;
  place-items: center;
  border: 1px solid #c9a669;
  border-radius: 50%;
  color: #987134;
  font-size: 0.65rem;
  font-weight: 800;
}

.portfolio-demo-notice strong {
  color: #71552e;
  font-size: 0.7rem;
}

.portfolio-demo-notice p {
  max-width: none;
  margin-top: 0.1rem;
  color: #8b795a;
  font-size: 0.67rem;
  line-height: 1.55;
}

.portfolio-project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 1.55rem;
}

.project-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dce6f0;
  border-radius: 1rem;
  background: white;
  box-shadow: 0 12px 28px rgb(18 45 71 / 0.055);
}

.project-card__media {
  position: relative;
  overflow: hidden;
  border: 0;
  background: #e9f0f6;
}

.project-card__media img,
.project-card__placeholder,
.project-card[data-sample="false"] .project-card__media img {
  display: block;
  width: 100%;
  height: clamp(14rem, 21vw, 18rem);
  object-fit: contain !important;
  object-position: center;
  padding: 1rem;
  transition: opacity 180ms ease;
}

.project-card:hover .project-card__media img {
  opacity: 0.96;
}

.project-card__placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #dce6ef, #f3f7fa);
  color: #647890;
}

.project-card__media > div:not(.project-card__placeholder) {
  position: absolute;
  top: 1rem;
  right: 1rem;
  left: 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.55rem;
}

.project-status,
.portfolio-sample-label {
  display: inline-flex;
  min-height: 2.2rem;
  align-items: center;
  border: 0;
  border-radius: 0.55rem;
  background: rgb(33 57 80 / 0.88);
  box-shadow: 0 5px 14px rgb(0 0 0 / 0.12);
  color: white;
  padding: 0.45rem 0.8rem;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0;
  backdrop-filter: blur(6px);
}

.project-status::before {
  width: 0.42rem;
  height: 0.42rem;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: currentcolor;
  content: "";
}

.project-status--current {
  background: rgb(0 153 75 / 0.92);
  color: white;
}

.portfolio-sample-label {
  border: 1px solid rgb(255 255 255 / 0.52);
  background: rgb(255 255 255 / 0.86);
  box-shadow: none;
  color: #76571f;
}

.project-card__media figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  border: 0;
  background: linear-gradient(0deg, rgb(7 19 31 / 0.72), transparent);
  color: rgb(255 255 255 / 0.9);
  padding: 1.8rem 1rem 0.55rem;
  font-size: 0.58rem;
  line-height: 1.35;
}

.project-card__body {
  padding: 1.55rem 2rem 1rem;
}

.project-card__sector,
.client-reference__sector {
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-card__sector::before {
  margin-right: 0.55rem;
  content: "▥";
  font-size: 1.05rem;
  line-height: 0;
}

.project-card h3 {
  margin-top: 0.55rem;
  color: #092d4d;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.45rem, 2.15vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.project-card__summary {
  min-height: 3.25rem;
  margin-top: 0.6rem;
  color: #60728e;
  font-size: 0.89rem;
  line-height: 1.55;
}

.project-card dl {
  position: relative;
  display: grid;
  grid-template-columns: minmax(6.5rem, auto) minmax(0, 1fr) minmax(7rem, auto) minmax(0, 1fr);
  gap: 0.08rem 0.55rem;
  margin-top: 1.25rem;
  border-top: 1px solid #dfe7ef;
  padding: 0.9rem 0 1rem;
  font-size: 0.73rem;
  line-height: 1.45;
}

.project-card dl::after {
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  left: 51%;
  width: 1px;
  background: #e2e9f0;
  content: "";
}

.project-card dt,
.project-card dd {
  min-width: 0;
}

.project-card dt {
  position: relative;
  color: #71829a;
  padding-left: 1.7rem;
}

.project-card dt::before {
  position: absolute;
  top: 0.04rem;
  left: 0;
  color: #365675;
  content: "◉";
  font-size: 0.95rem;
}

.project-card dt:nth-of-type(2)::before {
  content: "⌖";
}

.project-card dt:nth-of-type(n+3)::before {
  content: "□";
}

.project-card dd {
  color: #102f4f;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.project-card dt:nth-of-type(1),
.project-card dd:nth-of-type(1) {
  grid-row: 1;
}

.project-card dt:nth-of-type(2),
.project-card dd:nth-of-type(2) {
  grid-row: 2;
}

.project-card dt:nth-of-type(3),
.project-card dd:nth-of-type(3) {
  grid-row: 1;
}

.project-card dt:nth-of-type(4),
.project-card dd:nth-of-type(4) {
  grid-row: 2;
}

.project-card dt:nth-of-type(-n+2) {
  grid-column: 1;
}

.project-card dd:nth-of-type(-n+2) {
  grid-column: 2;
}

.project-card dt:nth-of-type(n+3) {
  grid-column: 3;
}

.project-card dd:nth-of-type(n+3) {
  grid-column: 4;
}

.project-card details {
  margin-top: 0;
  border-top: 1px solid #dfe7ef;
  border-bottom: 0;
}

.project-card summary {
  display: flex;
  min-height: 3.45rem;
  align-items: center;
  justify-content: space-between;
  color: var(--brand);
  font-size: 0.85rem;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

.project-card summary::-webkit-details-marker {
  display: none;
}

.project-card summary span {
  font-size: 1.25rem;
  transition: transform 160ms ease;
}

.project-card details[open] summary span {
  transform: rotate(90deg);
}

.project-card__scope {
  border-top: 1px solid #edf1f5;
  padding: 1rem 0 0.2rem;
}

.project-card__scope h4 {
  color: #173a59;
  font-size: 0.75rem;
  font-weight: 800;
}

.project-card details ul {
  display: grid;
  gap: 0.42rem;
  padding: 0.7rem 0 0.35rem;
  color: #64778f;
  font-size: 0.75rem;
  line-height: 1.55;
  list-style: none;
}

.project-card details li::before {
  margin-right: 0.55rem;
  color: var(--brand);
  content: "✓";
}

.project-card__enquiry {
  display: flex;
  min-height: 2.8rem;
  align-items: center;
  justify-content: space-between;
  margin: 0.75rem 0 0;
  border: 1px solid #dce5ee;
  border-radius: 0.55rem;
  background: #f3f7fa;
  color: #284563;
  padding: 0.65rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 750;
}

.project-card__enquiry:hover {
  border-color: #0b456b;
  background: #0b456b;
  color: white;
}

/* Legacy static fallback cards keep their enquiry after the scope element. */
.project-card__body > details + .project-card__enquiry {
  display: none;
}

.portfolio-clients {
  border-top: 1px solid #e0e8f0;
  background: #f8fafc;
}

@media (max-width: 980px) {
  .portfolio-intro__layout {
    min-height: 17rem;
  }

  .portfolio-intro__quote {
    min-width: 16rem;
  }

  .portfolio-toolbar {
    align-items: flex-end;
    flex-direction: column;
  }

  .portfolio-tabs,
  .portfolio-sector-filter {
    width: 100%;
  }

  .portfolio-sector-filter {
    flex-basis: auto;
    justify-content: flex-end;
  }

  .portfolio-sector-filter select {
    max-width: 18rem;
  }

  .project-card dl {
    grid-template-columns: minmax(5.5rem, auto) minmax(0, 1fr);
  }

  .project-card dl::after {
    display: none;
  }

  .project-card dt:nth-of-type(n),
  .project-card dd:nth-of-type(n) {
    grid-row: auto;
  }

  .project-card dt:nth-of-type(n) {
    grid-column: 1;
  }

  .project-card dd:nth-of-type(n) {
    grid-column: 2;
  }
}

@media (max-width: 767px) {
  .portfolio-intro::after {
    background: linear-gradient(90deg, #f7fbfe 0%, rgb(247 251 254 / 0.92) 72%, rgb(247 251 254 / 0.72) 100%);
  }

  .portfolio-intro__background {
    width: 100%;
    opacity: 0.27;
  }

  .portfolio-intro__layout {
    min-height: 24rem;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 1.75rem;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .portfolio-intro h1 {
    font-size: clamp(2.75rem, 13vw, 3.8rem);
  }

  .portfolio-intro__lead {
    font-size: 1rem;
  }

  .portfolio-intro__quote {
    width: 100%;
    min-width: 0;
  }

  .portfolio-projects {
    padding-top: 1.35rem;
    padding-bottom: 3.5rem;
  }

  .portfolio-toolbar {
    align-items: stretch;
  }

  .portfolio-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .portfolio-tabs button {
    width: 100%;
    min-height: 3rem;
    padding: 0.65rem 0.85rem;
    font-size: 0.75rem;
  }

  .portfolio-sector-filter {
    align-items: stretch;
    flex-direction: column;
    gap: 0.45rem;
  }

  .portfolio-sector-filter select {
    max-width: none;
  }

  .portfolio-project-grid,
  .client-reference-grid {
    grid-template-columns: 1fr;
  }

  .project-card__media img,
  .project-card__placeholder,
  .project-card[data-sample="false"] .project-card__media img {
    height: 14rem;
  }

  .project-card__body {
    padding: 1.3rem 1.25rem 0.8rem;
  }

  .project-card__summary {
    min-height: 0;
  }
}

@media (max-width: 420px) {
  .project-card__media > div:not(.project-card__placeholder) {
    right: 0.7rem;
    left: 0.7rem;
  }

  .project-status,
  .portfolio-sample-label {
    padding: 0.4rem 0.55rem;
    font-size: 0.61rem;
  }
}
