:root {
  --navy: #062e58;
  --navy-deep: #03264a;
  --ink: #082543;
  --blue: #008fd5;
  --blue-bright: #05a5e9;
  --pale: #eef4f8;
  --line: #dce5ec;
  --white: #fff;
  --shadow: 0 8px 26px rgba(2, 35, 68, 0.12);
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.52;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

body.is-loading {
  overflow: hidden;
}

body.is-transitioning {
  overflow: hidden;
}

html.is-page-transition-covering body {
  opacity: 0;
  transition: opacity 100ms ease-out;
}

html.is-page-transition-arrival body {
  opacity: 0;
}

html.is-page-transition-arrival.is-page-transition-revealing body {
  opacity: 1;
  transition: opacity 160ms ease-out;
}

.site-preloader {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--navy);
  background: #f7fafc;
  opacity: 1;
  visibility: visible;
  transition: opacity 520ms ease, visibility 520ms ease;
}

.site-preloader::before,
.site-preloader::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.site-preloader::before {
  display: none;
}

.site-preloader::after {
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy) 0 50%, var(--blue) 50% 100%);
}

.preloader-grid {
  display: none;
}

.preloader-grid::before,
.preloader-grid::after {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(4, 59, 103, 0.055);
  border-radius: inherit;
  content: "";
}

.preloader-grid::after {
  inset: 25%;
}

.preloader-content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 52px), 420px);
  display: grid;
  justify-items: center;
  text-align: center;
  animation: preloader-content-in 650ms cubic-bezier(0.22, 0.72, 0.25, 1) both;
  transition: opacity 420ms ease, transform 520ms cubic-bezier(0.22, 0.72, 0.25, 1);
}

.preloader-content img {
  width: 70px;
  height: 83px;
  margin-bottom: 22px;
  object-fit: contain;
  filter: drop-shadow(0 7px 13px rgba(2, 38, 72, 0.12));
}

.preloader-name {
  display: flex;
  align-items: baseline;
  color: var(--blue);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.preloader-name strong {
  margin-right: 3px;
  color: var(--navy);
}

.preloader-progress {
  width: 100%;
  height: 3px;
  margin: 25px 0 16px;
  overflow: hidden;
  background: #dce8ef;
}

.preloader-progress span {
  width: 45%;
  height: 100%;
  display: block;
  background: linear-gradient(90deg, var(--navy), var(--blue-bright));
  animation: preloader-progress 1.05s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.preloader-content p {
  margin: 0;
  color: #586d7f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.site-preloader.is-leaving {
  opacity: 0;
  visibility: hidden;
}

.site-preloader.is-leaving .preloader-content {
  opacity: 0;
  transform: translateY(-8px) scale(0.985);
}

@keyframes preloader-content-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes preloader-progress {
  from { transform: translateX(-115%); }
  to { transform: translateX(245%); }
}

@keyframes preloader-orbit {
  to { transform: rotate(360deg); }
}

img {
  display: block;
  width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: 82px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 0 rgba(4, 47, 88, 0.08);
  backdrop-filter: blur(12px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: 155px;
  height: auto;
  max-height: 72px;
  object-fit: contain;
}

.primary-nav {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 35px;
}

.primary-nav a {
  position: relative;
  padding: 26px 0 22px;
  color: #061d34;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 2px;
  background: var(--navy);
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transition: 180ms ease;
}

.primary-nav a:is(:hover, :focus-visible, .active)::after {
  opacity: 1;
  transform: scaleX(1);
}

.primary-nav a.nav-emergency {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  color: white;
  background: var(--blue);
  box-shadow: 0 5px 13px rgba(0, 111, 177, 0.2);
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.primary-nav a.nav-emergency::before {
  display: none;
}

.primary-nav a.nav-emergency svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.primary-nav a.nav-emergency::after {
  display: none;
}

.primary-nav a.nav-emergency:hover,
.primary-nav a.nav-emergency:focus-visible {
  color: white;
  background: #0077b6;
  box-shadow: 0 8px 18px rgba(0, 111, 177, 0.28);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
  transition: 180ms ease;
}

.hero {
  position: relative;
  min-height: clamp(480px, 64vh, 620px);
  overflow: hidden;
  background: var(--navy) url("assets/tera-hero.jpg") center 54% / cover no-repeat;
  color: var(--white);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 23, 43, 0.92) 0%, rgba(2, 29, 55, 0.7) 32%, rgba(2, 29, 55, 0.14) 62%, rgba(2, 29, 55, 0.08) 100%),
    linear-gradient(0deg, rgba(0, 17, 33, 0.25), transparent 45%);
}

.hero-grid {
  position: relative;
  min-height: clamp(480px, 64vh, 620px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 54px;
  align-items: center;
}

.hero-copy {
  max-width: 480px;
  padding: 24px 0;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(43px, 4.4vw, 57px);
  line-height: 0.88;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.hero h1 span,
.hero-panel h2 span,
.why-badge h3 span {
  color: var(--blue-bright);
}

.hero p {
  max-width: 405px;
  margin: 0 0 15px;
  font-size: 14px;
  line-height: 1.42;
}

.hero .hero-lead {
  margin-bottom: 17px;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.25;
}

.button {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 10px 22px;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, #0088cf, #05a6e5);
  box-shadow: 0 8px 18px rgba(0, 130, 196, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: linear-gradient(135deg, #007cc0, #008fce);
  box-shadow: 0 10px 25px rgba(0, 110, 176, 0.34);
}

.hero-copy .button {
  margin-top: 7px;
  min-width: 170px;
}

.hero-copy .button span,
.contact-form .button span {
  font-size: 26px;
  font-weight: 300;
  line-height: 0;
}

.hero-panel {
  align-self: center;
  padding: 19px 22px;
  border-radius: 10px;
  background: rgba(2, 42, 81, 0.96);
  box-shadow: var(--shadow);
}

.panel-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 13px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
}

.panel-icon svg {
  width: 36px;
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.hero-panel h2,
.why-badge h3 {
  margin: 0;
  font-size: 22px;
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.check-list {
  display: grid;
  gap: 7px;
  margin: 14px 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
}

.check-list li {
  position: relative;
  padding-left: 22px;
}

.check-list li::before {
  position: absolute;
  top: 0.18em;
  left: 0;
  width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #086eb0;
  content: "✓";
  color: white;
  font-size: 9px;
  font-weight: 900;
}

.panel-note {
  margin: 0;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 12px;
  line-height: 1.55;
}

.section {
  padding: 64px 0;
}

.services-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 34px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.section-intro h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-intro > p:not(.eyebrow) {
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.58;
}

.services-intro .button {
  margin-top: 3px;
}

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

.service-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #e2e8ed;
  border-radius: 6px;
  background: white;
  box-shadow: 0 5px 16px rgba(8, 40, 68, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 27px rgba(8, 40, 68, 0.12);
}

.card-image {
  height: 88px;
  overflow: hidden;
}

.card-image img {
  height: 100%;
  object-fit: cover;
}

.card-image-building img {
  object-position: 58% 62%;
}

.card-image-controls img {
  object-position: 70% 40%;
}

.card-icon {
  position: absolute;
  top: 57px;
  left: 18px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 5px solid white;
  border-radius: 50%;
  background: #f7f9fb;
  box-shadow: 0 2px 7px rgba(0, 27, 54, 0.12);
}

.card-icon svg {
  width: 31px;
  fill: none;
  stroke: #073770;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.card-body {
  min-height: 112px;
  padding: 22px 16px 13px;
}

.card-body h3 {
  margin: 0 0 8px;
  color: #092849;
  font-size: 14px;
  line-height: 1.15;
}

.card-body p {
  margin: 0;
  color: #172c3f;
  font-size: 10.8px;
  line-height: 1.48;
}

.approach {
  position: relative;
  overflow: hidden;
  padding: 58px 0;
  background: var(--navy-deep) url("assets/tera-hero.jpg") 22% 60% / cover no-repeat;
  color: white;
}

.approach-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 40, 76, 0.95), rgba(2, 45, 85, 0.95));
}

.approach-layout {
  position: relative;
  display: grid;
  grid-template-columns: 265px 1fr;
  gap: 38px;
  align-items: center;
}

.approach-intro .eyebrow {
  color: #16a7eb;
}

.approach-intro h2,
.approach-intro > p:not(.eyebrow) {
  color: white;
}

.approach-intro h2 {
  font-size: 25px;
}

.approach-intro > p:not(.eyebrow) {
  margin-bottom: 18px;
  font-size: 12.5px;
}

.approach-intro .button {
  min-height: 38px;
}

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

.process-step {
  position: relative;
  min-height: 210px;
  padding: 0 12px;
  border-left: 1px dotted rgba(255, 255, 255, 0.55);
  text-align: center;
}

.process-step:first-child {
  border-left: 0;
}

.step-number {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  margin: 0 auto 13px;
  border-radius: 50%;
  background: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.process-step svg {
  width: 51px;
  height: 51px;
  margin-bottom: 9px;
  fill: none;
  stroke: white;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.process-step h3 {
  min-height: 36px;
  margin: 0 0 7px;
  font-size: 13px;
  line-height: 1.22;
}

.process-step p {
  margin: 0;
  font-size: 10.5px;
  line-height: 1.45;
}

.why {
  padding-top: 64px;
  padding-bottom: 64px;
}

.why-top {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 32px;
  align-items: stretch;
}

.why-copy h2 {
  font-size: 25px;
}

.why-copy > p:not(.eyebrow) {
  max-width: 345px;
  margin-bottom: 15px;
  font-size: 12.5px;
}

.why-copy .button {
  min-height: 37px;
}

.why-visual {
  position: relative;
  min-height: 185px;
  overflow: hidden;
  border-radius: 8px;
}

.why-visual > img {
  height: 100%;
  object-fit: cover;
  object-position: 55% 63%;
}

.why-badge {
  position: absolute;
  inset: 0 0 0 auto;
  width: 245px;
  padding: 22px 25px;
  color: white;
  background: rgba(3, 42, 80, 0.97);
}

.panel-icon.small {
  width: 52px;
  height: 52px;
  margin-bottom: 10px;
}

.panel-icon.small svg {
  width: 35px;
}

.why-badge h3 {
  font-size: 23px;
}

.check-list.compact {
  gap: 6px;
  margin: 13px 0 0;
  font-size: 11px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 60px;
}

.value {
  min-height: 112px;
  display: grid;
  grid-template-columns: 43px 1fr;
  gap: 8px;
  padding: 0 14px;
  border-left: 1px solid var(--line);
}

.value:first-child {
  padding-left: 0;
  border-left: 0;
}

.value:last-child {
  padding-right: 0;
}

.value svg {
  width: 39px;
  fill: none;
  stroke: #0a3770;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.value h3 {
  margin: 0 0 6px;
  font-size: 12px;
  line-height: 1.25;
}

.value p {
  margin: 0;
  font-size: 9.8px;
  line-height: 1.4;
}

.recognition {
  overflow: hidden;
  padding: 48px 0;
  border-top: 1px solid var(--line);
  background: var(--pale);
}

.recognition-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: stretch;
}

.social-media-panel,
.standards-panel {
  min-width: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(2, 35, 68, 0.09);
}

.social-media-panel {
  padding: 24px;
  color: white;
  background: var(--navy-deep);
}

.social-media-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 16px;
}

.social-media-heading .eyebrow {
  margin-bottom: 5px;
}

.social-media-heading h2 {
  max-width: 360px;
  margin: 0;
  color: white;
  font-size: 24px;
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.social-media-link {
  padding-bottom: 3px;
  color: #8edcff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  white-space: nowrap;
}

.social-media-link:hover {
  color: white;
}

.facebook-feed {
  height: 300px;
  overflow: hidden;
  border-radius: 8px;
  background: white;
}

.facebook-feed iframe {
  width: 100%;
  height: 300px;
  display: block;
  border: 0;
}

.standards-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 0 18px;
  border: 1px solid rgba(8, 37, 67, 0.08);
  background: white;
}

.recognition-heading {
  margin-bottom: 20px;
  padding: 0 30px;
  text-align: left;
}

.recognition-heading .eyebrow {
  margin-bottom: 8px;
}

.recognition-heading h2 {
  max-width: 520px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(26px, 2.5vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.logo-ticker {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 10px 0 28px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.logo-ticker__track {
  --logo-ticker-distance: -50%;
  width: max-content;
  display: flex;
  animation: logo-ticker-scroll 22s linear infinite;
  will-change: transform;
}

.logo-ticker__group {
  display: flex;
  flex: none;
  align-items: center;
  gap: 18px;
  padding-right: 18px;
}

.logo-ticker__item {
  width: 166px;
  height: 100px;
  display: grid;
  flex: none;
  place-items: center;
  overflow: hidden;
  padding: 14px 22px;
  border: 1px solid rgba(8, 37, 67, 0.1);
  border-radius: 10px;
  background: white;
  box-shadow: 0 7px 18px rgba(2, 35, 68, 0.09);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.logo-ticker__item:is(:hover, :focus-visible) {
  border-color: rgba(0, 143, 213, 0.45);
  outline: none;
  box-shadow: 0 10px 24px rgba(2, 35, 68, 0.14);
  transform: translateY(-4px);
}

.logo-ticker__item:focus-visible {
  box-shadow: 0 0 0 3px rgba(5, 165, 233, 0.24), 0 10px 24px rgba(2, 35, 68, 0.14);
}

.logo-ticker__item img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 58px;
  place-self: center;
  object-fit: contain;
}

.logo-ticker__item:nth-child(1) img {
  max-width: 64px;
}

.logo-ticker__item:nth-child(2) img {
  max-width: 68px;
}

.logo-ticker__item:nth-child(3) img {
  max-width: 90px;
}

.logo-ticker__item:nth-child(4) img {
  max-width: 126px;
}

@keyframes logo-ticker-scroll {
  to {
    transform: translateX(var(--logo-ticker-distance));
  }
}

.contact {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  padding: 0;
  color: white;
  background: var(--navy-deep);
}

.contact::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0 30%, rgba(3, 38, 73, 0.28) 39%, rgba(3, 38, 73, 0.78) 49%, rgba(3, 38, 73, 1) 60%);
  content: "";
  pointer-events: none;
}

.contact-image {
  position: absolute;
  inset: 0 auto 0 0;
  width: 60%;
  background-color: #e8eef2;
  background-image: var(--contact-image, url("assets/commissioning.jpg"));
  background-position: var(--contact-position, 64% center);
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-mask-image: linear-gradient(90deg, #000 0 68%, rgba(0, 0, 0, 0.82) 78%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0 68%, rgba(0, 0, 0, 0.82) 78%, transparent 100%);
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 42% 58%;
  align-items: center;
  min-height: 500px;
}

.contact-directory {
  grid-column: 2;
  padding: 64px 0 58px 68px;
}

.contact-directory > .eyebrow {
  margin-bottom: 12px;
  color: #36b8ef;
}

.contact-directory > h2 {
  margin: 0 0 16px;
  color: white;
  font-size: clamp(30px, 3vw, 43px);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.contact-directory__intro {
  max-width: 610px;
  margin: 0 0 30px;
  color: #d5e2ec;
  font-size: 14px;
  line-height: 1.6;
}

.contact-primary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 30px;
}

.contact-primary > a {
  min-width: 0;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  padding-bottom: 18px;
  border-bottom: 2px solid rgba(54, 184, 239, 0.48);
  transition: border-color 180ms ease, transform 180ms ease;
}

.contact-primary > a:hover {
  border-color: #36b8ef;
  transform: translateY(-2px);
}

.contact-primary__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(54, 184, 239, 0.7);
  border-radius: 50%;
  color: #66c9f2;
}

.contact-primary__icon svg,
.contact-meta svg,
.contact-socials__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-primary small,
.contact-primary strong {
  display: block;
}

.contact-primary small {
  margin-bottom: 4px;
  color: #75ccef;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-primary strong {
  overflow-wrap: anywhere;
  color: white;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.contact-meta {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  padding: 21px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-meta__address {
  display: grid;
  grid-template-columns: 25px 1fr;
  align-items: center;
  gap: 11px;
  color: #d9e7f2;
  font-size: 12px;
  line-height: 1.45;
}

.contact-meta__address svg {
  width: 23px;
  height: 23px;
  color: #5ac4ef;
}

.contact-meta__address:hover {
  color: white;
}

.contact-meta__legal {
  display: grid;
  gap: 4px;
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-meta__legal p {
  margin: 0;
  color: #9eb2c4;
  font-size: 10px;
  letter-spacing: 0.03em;
}

.contact-meta__legal :is(a, strong) {
  color: white;
  font-weight: 700;
}

.contact-socials {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
}

.contact-socials__label {
  color: #d9e7f2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-socials__icons {
  display: flex;
  gap: 8px;
}

.contact-socials__icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: white;
  opacity: 0;
  transform: translateY(9px) scale(0.9);
  transition: color 200ms ease, background 200ms ease, border-color 200ms ease, box-shadow 220ms ease, opacity 360ms ease, transform 360ms cubic-bezier(0.22, 0.72, 0.25, 1);
}

.contact-socials__icon:nth-child(2) {
  transition-delay: 70ms;
}

.contact-socials__icon:nth-child(3) {
  transition-delay: 140ms;
}

.contact-socials__icon:nth-child(4) {
  transition-delay: 210ms;
}

.contact-socials__icon.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.contact-socials__icon.is-visible:hover {
  border-color: var(--blue-bright);
  color: white;
  background: var(--blue);
  box-shadow: 0 7px 18px rgba(5, 165, 233, 0.3);
  transform: translateY(-3px) scale(1.08);
}

.contact-socials__icon .icon-fill {
  fill: currentColor;
  stroke: none;
}

.contact-form {
  display: grid;
  gap: 7px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.contact-form label > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 3px;
  outline: 0;
  color: #092847;
  background: white;
  font-size: 12px;
  transition: box-shadow 160ms ease, border-color 160ms ease;
}

.contact-form input,
.contact-form select {
  height: 34px;
  padding: 6px 11px;
}

.contact-form textarea {
  min-height: 59px;
  padding: 8px 11px;
  resize: vertical;
}

.contact-form :is(input, select, textarea):focus {
  border-color: #2cb8f1;
  box-shadow: 0 0 0 3px rgba(33, 171, 229, 0.25);
}

.contact-form .is-invalid {
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 2px rgba(5, 165, 233, 0.22);
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.form-status {
  margin: 0;
  color: var(--white);
  font-size: 12px;
}

.contact-form .button {
  min-width: 160px;
  min-height: 39px;
  margin-left: auto;
}

.site-footer {
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #c7d6e4;
  background: #021c36;
  font-size: 10px;
}

/* Interior pages */
.page-hero {
  position: relative;
  min-height: 390px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: white;
  background-color: var(--navy);
  background-position: center;
  background-size: cover;
}

.page-hero::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 27, 52, 0.94) 0%, rgba(3, 41, 77, 0.77) 43%, rgba(3, 41, 77, 0.12) 78%);
  content: "";
}

.page-hero--services {
  background-image: url("assets/mechanical-services.jpg");
}

.page-hero--mechanical {
  background-image: url("assets/mechanical-services.jpg");
}

.page-hero--electrical {
  background-image: url("assets/solar-energy.jpg");
}

.page-hero--controls {
  background-image: url("assets/intelligent-controls.jpg");
  background-position: center 42%;
}

.page-hero--consultancy {
  background-image: url("assets/commissioning.jpg");
  background-position: center 35%;
}

.page-hero--approach {
  background-image: url("assets/intelligent-controls.jpg");
  background-position: center 43%;
}

.page-hero--why {
  background-image: url("assets/tera-hero.jpg");
  background-position: center 61%;
}

.page-hero--contact {
  min-height: 330px;
  background-image: url("assets/commissioning.jpg");
  background-position: center 38%;
}

.page-hero--careers {
  background-image: url("assets/mechanical-engineer-inspection.jpg");
  background-position: center 42%;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 650px) 240px;
  gap: 70px;
  align-items: center;
  padding-block: 48px;
}

.page-hero__copy h1 {
  max-width: 680px;
  margin: 0 0 16px;
  font-size: clamp(42px, 5vw, 62px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.page-hero__copy h1 span {
  color: var(--blue-bright);
}

.page-hero__copy > p:not(.eyebrow) {
  max-width: 600px;
  margin: 0;
  font-size: 17px;
  line-height: 1.52;
}

.page-hero .eyebrow {
  color: #4bc5f3;
}

.page-hero .eyebrow a:hover,
.page-hero .eyebrow a:focus-visible {
  color: white;
}

.hero-mini-panel {
  padding: 23px;
  border-radius: 8px;
  background: rgba(3, 43, 81, 0.95);
  box-shadow: var(--shadow);
}

.hero-mini-panel h2 {
  margin: 0 0 12px;
  font-size: 19px;
  line-height: 1.2;
}

.hero-mini-panel p {
  margin: 0;
  font-size: 12px;
}

.content-section {
  padding: 62px 0;
}

.content-section--pale {
  background: #f2f6f9;
}

.content-section--navy {
  color: white;
  background: var(--navy-deep);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.section-heading p:not(.eyebrow) {
  margin: 0;
  font-size: 15px;
}

.section-heading--light h2,
.section-heading--light p:not(.eyebrow) {
  color: white;
}

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

.pillar-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dfe8ee;
  border-radius: 7px;
  background: white;
  box-shadow: 0 7px 22px rgba(3, 36, 67, 0.08);
  animation: pillar-card-in 620ms cubic-bezier(0.2, 0.72, 0.25, 1) backwards;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.pillar-card:nth-child(2) { animation-delay: 80ms; }
.pillar-card:nth-child(3) { animation-delay: 160ms; }
.pillar-card:nth-child(4) { animation-delay: 240ms; }

.pillar-card:hover,
.pillar-card:focus-visible {
  border-color: rgba(0, 143, 213, 0.55);
  box-shadow: 0 17px 36px rgba(3, 36, 67, 0.15);
  transform: translateY(-7px);
}

@keyframes pillar-card-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.pillar-card img {
  height: 145px;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.72, 0.25, 1);
}

.pillar-card:hover img,
.pillar-card:focus-visible img {
  transform: scale(1.035);
}

.pillar-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.pillar-card__number {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  margin-bottom: 15px;
  border-radius: 50%;
  color: white;
  background: var(--blue);
  font-size: 12px;
  font-weight: 850;
}

.pillar-card h3 {
  margin: 0 0 9px;
  font-size: 18px;
  line-height: 1.2;
}

.pillar-card p {
  margin: 0 0 13px;
  font-size: 12px;
}

.mini-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #405264;
  font-size: 11px;
}

.mini-list li {
  position: relative;
  padding-left: 14px;
}

.mini-list li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  content: "";
}

.pillar-card__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  color: #0676aa;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pillar-card__link span {
  font-size: 18px;
  transition: transform 220ms ease;
}

.pillar-card:hover .pillar-card__link span,
.pillar-card:focus-visible .pillar-card__link span {
  transform: translateX(5px);
}

.pillar-card:hover .pillar-card__number,
.pillar-card:focus-visible .pillar-card__number {
  background: var(--navy);
  transform: scale(1.07);
}

.pillar-card__number {
  transition: background 220ms ease, transform 220ms ease;
}

.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
}

.split-feature--reverse .split-feature__image {
  order: 2;
}

.split-feature__image {
  min-height: 340px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.split-feature__image img {
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.split-feature__copy h2 {
  margin: 0 0 14px;
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.split-feature__copy > p {
  margin: 0 0 22px;
  font-size: 14px;
}

.service-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-columns li {
  position: relative;
  padding: 10px 0 10px 22px;
  border-bottom: 1px solid #e0e7ed;
  font-size: 13px;
}

.service-columns li::before {
  position: absolute;
  top: 14px;
  left: 0;
  color: var(--blue);
  content: "✓";
  font-weight: 900;
}

.numbered-values {
  display: grid;
  gap: 10px;
}

.numbered-value {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  overflow: hidden;
  border: 1px solid #dce5eb;
  border-radius: 6px;
  background: white;
}

.numbered-value__number {
  align-self: stretch;
  display: grid;
  place-items: center;
  color: white;
  background: var(--navy);
  font-size: 22px;
  font-weight: 800;
}

.numbered-value__copy {
  padding: 17px 20px;
}

.numbered-value h3 {
  margin: 0 0 4px;
  color: #07638f;
  font-size: 17px;
}

.numbered-value p {
  margin: 0;
  font-size: 12px;
}

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

.standard-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: center;
  padding: 20px;
  border: 1px solid #dce5eb;
  border-radius: 7px;
  color: var(--ink);
  background: white;
}

.standard-card__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--navy);
  font-size: 24px;
}

.standard-card h3 {
  margin: 0 0 4px;
  color: #07638f;
  font-size: 16px;
}

.standard-card p {
  margin: 0;
  font-size: 12px;
}

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

.purpose-card {
  padding: 28px;
  border-top: 4px solid var(--blue);
  border-radius: 6px;
  background: white;
  box-shadow: 0 8px 24px rgba(3, 36, 67, 0.08);
}

.purpose-card__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: white;
  background: var(--navy);
}

.purpose-card__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.purpose-card h2 {
  margin: 0 0 10px;
  color: #096b98;
  font-size: 22px;
}

.purpose-card .lead {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 750;
}

.purpose-card p:last-child {
  margin-bottom: 0;
  font-size: 12px;
}

.question-callout {
  max-width: 780px;
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 34px auto 0;
  padding: 18px 22px;
  border-radius: 6px;
  background: #e8f1f7;
}

.question-callout span {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--navy);
  border-radius: 50%;
  font-size: 23px;
  font-weight: 700;
}

.question-callout p {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.loxone-feature {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 72px 0 76px;
  color: white;
  background: #123d20 url("assets/loxone-installer-background.png") center / cover no-repeat;
}

.loxone-feature::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(5, 42, 18, 0.84) 0%, rgba(8, 55, 23, 0.7) 48%, rgba(17, 72, 28, 0.56) 100%),
    radial-gradient(circle at 78% 18%, rgba(126, 190, 68, 0.2), transparent 32%);
  content: "";
  pointer-events: none;
}

.loxone-feature::after {
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #b9e75e 0%, #78be44 48%, #3d8f28 100%);
  box-shadow: 2px 0 18px rgba(120, 190, 68, 0.38);
  content: "";
  pointer-events: none;
}

.loxone-feature__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(460px, 1.28fr);
  grid-template-areas:
    "heading visual"
    "button visual";
  gap: 30px 54px;
  align-items: center;
}

.loxone-feature__heading {
  grid-area: heading;
  align-self: end;
}

.loxone-feature__heading .eyebrow {
  color: #b9e75e;
}

.loxone-feature__heading h2 {
  max-width: 500px;
  margin: 0 0 17px;
  font-size: clamp(35px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.loxone-feature__heading h2 span {
  display: inline-block;
  color: #9ed85a;
  letter-spacing: -0.025em;
  text-shadow: 0 3px 18px rgba(89, 164, 44, 0.28);
}

.loxone-feature__heading > p:last-child {
  max-width: 470px;
  margin: 0;
  color: #e5eee2;
  font-size: 15px;
}

.loxone-feature__visual {
  grid-area: visual;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(190, 231, 157, 0.36);
  border-radius: 9px;
  background: #e8e8e8;
  box-shadow: 0 22px 50px rgba(3, 34, 14, 0.4);
}

.loxone-feature__visual img {
  aspect-ratio: 2342 / 1666;
  object-fit: cover;
}

.loxone-feature__button {
  grid-area: button;
  align-self: start;
  justify-self: start;
  min-width: 210px;
  border: 1px solid rgba(215, 248, 174, 0.52);
  background: linear-gradient(145deg, #a9df50 0%, #78be32 43%, #3e941f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    inset 0 -3px 5px rgba(35, 102, 12, 0.28),
    0 5px 0 #2d7418,
    0 12px 24px rgba(16, 70, 21, 0.34);
  text-shadow: 0 1px 1px rgba(22, 78, 12, 0.42);
}

.loxone-feature__button:hover,
.loxone-feature__button:focus-visible {
  background: linear-gradient(145deg, #b7e963 0%, #82c93b 43%, #439d23 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.54),
    inset 0 -3px 5px rgba(35, 102, 12, 0.24),
    0 6px 0 #2d7418,
    0 15px 28px rgba(16, 70, 21, 0.4);
}

.loxone-feature__button span {
  font-size: 18px;
  line-height: 1;
}

.cta-band {
  padding: 42px 0;
  color: white;
  background: linear-gradient(135deg, #043c6e, #061f3e);
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta-band h2 {
  margin: 0 0 5px;
  font-size: 28px;
}

.cta-band p {
  margin: 0;
  font-size: 13px;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 60px;
}

.emergency-callout {
  padding: 28px 0;
  color: white;
  background: linear-gradient(135deg, #087eb5, var(--navy-deep));
}

.emergency-callout__inner {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 22px;
  align-items: center;
}

.emergency-callout__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  font-size: 28px;
  font-weight: 900;
}

.emergency-callout .eyebrow {
  margin-bottom: 3px;
  color: #9bdcf8;
}

.emergency-callout h2 {
  margin: 0 0 3px;
  font-size: 24px;
  line-height: 1.15;
}

.emergency-callout__copy > p:last-child {
  margin: 0;
  font-size: 12px;
}

.emergency-callout__phone {
  min-width: 220px;
  display: grid;
  gap: 1px;
  padding: 13px 20px;
  border-radius: 4px;
  color: var(--navy);
  background: white;
  box-shadow: 0 7px 20px rgba(1, 25, 49, 0.22);
  font-size: 20px;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.emergency-callout__phone span {
  color: #5b6977;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.emergency-callout__phone:hover,
.emergency-callout__phone:focus-visible {
  box-shadow: 0 11px 26px rgba(1, 25, 49, 0.32);
  transform: translateY(-2px);
}

.contact-details h2 {
  margin: 0 0 15px;
  font-size: 34px;
  line-height: 1.1;
}

.contact-details > p {
  margin: 0 0 25px;
  font-size: 14px;
}

.contact-points {
  display: grid;
  gap: 14px;
}

.contact-point {
  padding: 17px;
  border-left: 3px solid var(--blue);
  background: #eef4f7;
}

.contact-point strong,
.contact-point span {
  display: block;
}

.contact-point strong {
  margin-bottom: 3px;
  font-size: 13px;
}

.contact-point span {
  color: #4c6072;
  font-size: 12px;
}

.contact-form--page {
  padding: 28px;
  border-radius: 8px;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.contact-form--page h2 {
  margin: 0 0 20px;
  color: white;
  font-size: 23px;
}

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

.careers-heading {
  position: sticky;
  top: 108px;
  margin-bottom: 0;
}

.career-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
  gap: 18px;
}

.career-card {
  min-width: 0;
  display: grid;
  overflow: hidden;
  padding: 0;
  border: 1px solid #dfe8ee;
  border-radius: 7px;
  color: var(--ink);
  background: white;
  box-shadow: 0 7px 22px rgba(3, 36, 67, 0.08);
  cursor: pointer;
  text-align: left;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.career-card:hover,
.career-card:focus-visible {
  border-color: rgba(0, 143, 213, 0.55);
  box-shadow: 0 17px 36px rgba(3, 36, 67, 0.15);
  transform: translateY(-6px);
}

.career-card__media {
  height: 180px;
  overflow: hidden;
}

.career-card__media img {
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.72, 0.25, 1);
}

.career-card:hover .career-card__media img,
.career-card:focus-visible .career-card__media img {
  transform: scale(1.04);
}

.career-card__body {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.career-card__meta {
  color: var(--blue);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.career-card__title {
  color: #092849;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.career-card__summary {
  color: #405264;
  font-size: 13px;
  line-height: 1.55;
}

.career-card__details {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.career-card__details span,
.job-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid #dce8ef;
  border-radius: 999px;
  color: #31485c;
  background: #f5f9fb;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.career-card__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid #e3ebf0;
  color: #0676aa;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.career-card__link span {
  font-size: 15px;
  transition: transform 220ms ease;
}

.career-card:hover .career-card__link span,
.career-card:focus-visible .career-card__link span {
  transform: translateX(5px);
}

.careers-apply-panel {
  position: relative;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(28px, 4vw, 46px);
  border-radius: 8px;
  color: white;
  background:
    linear-gradient(135deg, rgba(0, 143, 213, 0.22), transparent 44%),
    linear-gradient(145deg, #062e58 0%, #031f3f 100%);
  box-shadow: var(--shadow);
}

.careers-apply-panel::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), #54c7ef);
  content: "";
}

.careers-apply-panel .eyebrow {
  color: #68d2f7;
}

.careers-apply-panel h3 {
  max-width: 470px;
  margin: 0 0 24px;
  color: white;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.07;
  letter-spacing: 0;
}

.careers-apply-panel__items {
  display: grid;
  gap: 0;
}

.careers-apply-panel__items span {
  display: grid;
  grid-template-columns: minmax(116px, 0.42fr) 1fr;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: #d9e7f1;
  font-size: 13px;
  line-height: 1.45;
}

.careers-apply-panel__items strong {
  color: white;
  font-size: 12px;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

html.job-overlay-open,
body.job-overlay-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.job-overlay {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  opacity: 0;
  pointer-events: none;
  overscroll-behavior: contain;
  transition: opacity 180ms ease;
}

.job-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.job-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 20, 37, 0.72);
  backdrop-filter: blur(6px);
}

.job-modal {
  position: relative;
  width: min(100%, 980px);
  max-height: min(780px, calc(100vh - 56px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  overscroll-behavior: contain;
  border-radius: 8px;
  background: white;
  box-shadow: 0 24px 70px rgba(0, 16, 31, 0.34);
  transform: translateY(14px) scale(0.985);
  transition: transform 220ms cubic-bezier(0.2, 0.72, 0.25, 1);
}

.job-overlay.is-open .job-modal {
  transform: translateY(0) scale(1);
}

.job-modal__close {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: white;
  background: rgba(2, 29, 55, 0.36);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.job-modal__close:hover,
.job-modal__close:focus-visible {
  background: rgba(2, 29, 55, 0.68);
  transform: translateY(-1px);
}

.job-modal__close svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.job-modal__header {
  padding: 34px 78px 30px 34px;
  color: white;
  background:
    linear-gradient(90deg, rgba(2, 27, 52, 0.96), rgba(3, 51, 94, 0.78)),
    url("assets/mechanical-services.jpg") center / cover no-repeat;
}

.job-modal__header--heating {
  background:
    linear-gradient(90deg, rgba(2, 27, 52, 0.96), rgba(3, 51, 94, 0.78)),
    url("assets/mechanical-engineer-inspection.jpg") center / cover no-repeat;
}

.job-modal__header .eyebrow {
  color: #4bc5f3;
}

.job-modal__header h2 {
  margin: 0 0 12px;
  font-size: 42px;
  line-height: 1.02;
  letter-spacing: 0;
}

.job-modal__header p {
  max-width: 650px;
  margin: 0 0 22px;
  color: #e3eef5;
  font-size: 16px;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.job-tags span {
  border-color: rgba(255, 255, 255, 0.24);
  color: white;
  background: rgba(255, 255, 255, 0.11);
}

.job-modal__content {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 30px 34px 36px;
  -webkit-overflow-scrolling: touch;
}

.job-section {
  padding: 0 0 28px;
}

.job-section + .job-section {
  padding-top: 28px;
  border-top: 1px solid #e2ebf1;
}

.job-section h3 {
  margin: 0 0 13px;
  color: #092849;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: 0;
}

.job-section h4 {
  margin: 0 0 6px;
  color: #07638f;
  font-size: 14px;
}

.job-section p {
  margin: 0 0 13px;
  color: #34495c;
  font-size: 14px;
  line-height: 1.65;
}

.job-section p:last-child {
  margin-bottom: 0;
}

.job-section a:not(.button) {
  color: #0676aa;
  font-weight: 800;
}

.job-section .button {
  margin-top: 7px;
}

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

.job-detail-grid > div {
  padding: 17px;
  border-left: 3px solid var(--blue);
  background: #f2f7fa;
}

.job-check-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.job-check-list li {
  position: relative;
  padding-left: 22px;
  color: #34495c;
  font-size: 13px;
  line-height: 1.5;
}

.job-check-list li::before {
  position: absolute;
  top: 0.18em;
  left: 0;
  color: var(--blue);
  content: "✓";
  font-weight: 900;
}

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

.job-section--notice,
.job-section--important {
  margin-top: 2px;
  padding: 24px;
  border: 1px solid #dce8ef;
  border-radius: 7px;
  background: #f5f9fb;
}

.job-section--important {
  border-color: rgba(0, 143, 213, 0.26);
  background: #edf7fc;
}

@media (max-width: 920px) {
  .page-hero__inner {
    grid-template-columns: 1fr 210px;
    gap: 35px;
  }

  .pillar-grid,
  .purpose-grid,
  .career-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 800px) {
  .page-hero,
  .page-hero--contact {
    min-height: 520px;
  }

  .page-hero__inner,
  .split-feature,
  .contact-page-grid,
  .careers-layout {
    grid-template-columns: 1fr;
  }

  .careers-heading {
    position: static;
  }

  .page-hero__inner {
    gap: 24px;
  }

  .hero-mini-panel {
    max-width: 360px;
  }

  .split-feature--reverse .split-feature__image {
    order: initial;
  }

  .standard-grid {
    grid-template-columns: 1fr;
  }

  .loxone-feature__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "visual"
      "button";
    gap: 27px;
  }

  .loxone-feature__heading {
    max-width: 650px;
  }

  .emergency-callout__inner {
    grid-template-columns: 58px 1fr;
  }

  .emergency-callout__phone {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 590px) {
  .content-section {
    padding: 45px 0;
  }

  .page-hero__copy h1 {
    font-size: 43px;
  }

  .pillar-grid,
  .purpose-grid,
  .service-columns {
    grid-template-columns: 1fr;
  }

  .careers-apply-panel__items span {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .numbered-value {
    grid-template-columns: 46px 1fr;
  }

  .loxone-feature {
    padding: 51px 0 54px;
    background-position: 45% center;
  }

  .loxone-feature__heading h2 {
    font-size: 38px;
  }

  .loxone-feature__visual {
    border-radius: 6px;
  }

  .loxone-feature__button {
    width: 100%;
  }

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

  .cta-band .button {
    width: 100%;
  }
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
}

.footer-inner p {
  margin: 0;
  text-align: center;
}

.footer-credit {
  color: #c7d6e4;
  font-size: 10px;
  letter-spacing: 0.025em;
  white-space: nowrap;
}

.footer-credit span {
  color: #5fc7f0;
  font-weight: 700;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-inner a:hover {
  color: white;
}

.motion-card {
  opacity: 0;
  translate: 0 18px;
  will-change: opacity, translate;
}

.pillar-card.motion-card {
  animation: none;
}

.motion-card.is-revealed {
  animation: card-reveal 540ms cubic-bezier(0.2, 0.72, 0.25, 1) var(--card-reveal-delay, 0ms) forwards;
}

@keyframes card-reveal {
  to {
    opacity: 1;
    translate: 0 0;
  }
}

:is(.standard-card, .purpose-card, .numbered-value, .contact-point, .hero-panel, .hero-mini-panel, .question-callout) {
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

:is(.standard-card, .purpose-card, .numbered-value, .contact-point, .hero-panel, .hero-mini-panel, .question-callout):hover {
  border-color: rgba(0, 143, 213, 0.48);
  box-shadow: 0 14px 30px rgba(3, 36, 67, 0.13);
  transform: translateY(-4px);
}

:is(.process-step, .value) {
  transition: transform 220ms ease;
}

:is(.process-step, .value):hover {
  transform: translateY(-3px);
}

:is(.standard-card__icon, .purpose-card__icon, .card-icon) {
  transition: color 220ms ease, background 220ms ease, transform 260ms cubic-bezier(0.2, 0.72, 0.25, 1);
}

:is(.standard-card, .purpose-card, .service-card):hover :is(.standard-card__icon, .purpose-card__icon, .card-icon) {
  color: white;
  background: var(--blue);
  transform: scale(1.06) rotate(-3deg);
}

.numbered-value__number {
  transition: background 220ms ease;
}

.numbered-value:hover .numbered-value__number {
  background: var(--blue);
}

.service-card .card-image img {
  transition: transform 500ms cubic-bezier(0.2, 0.72, 0.25, 1);
}

.service-card:hover .card-image img {
  transform: scale(1.045);
}

:focus-visible {
  outline: 3px solid rgba(0, 165, 233, 0.65);
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  .primary-nav {
    gap: 26px;
  }

  .services-layout,
  .approach-layout {
    grid-template-columns: 245px 1fr;
  }
}

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

  .process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 25px;
  }

  .process-step:nth-child(4) {
    border-left: 0;
  }

  .values-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 26px;
  }

  .value:nth-child(4) {
    padding-left: 0;
    border-left: 0;
  }

}

@media (max-width: 800px) {
  .container {
    width: min(calc(100% - 36px), var(--container));
  }

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

  .social-media-panel {
    display: grid;
    grid-template-columns: minmax(210px, 0.55fr) minmax(0, 1fr);
    gap: 20px;
    align-items: center;
  }

  .social-media-heading {
    grid-template-columns: 1fr;
    align-content: center;
    margin-bottom: 0;
  }

  .social-media-link {
    justify-self: start;
  }

  .facebook-feed {
    width: 100%;
    max-width: 500px;
    justify-self: end;
  }

  .standards-panel {
    min-height: 285px;
  }

  .site-header {
    height: 74px;
  }

  .brand-logo {
    width: 132px;
    max-height: 64px;
  }

  .menu-toggle {
    display: block;
  }

  .menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .primary-nav {
    position: fixed;
    z-index: -1;
    top: 74px;
    right: 0;
    left: 0;
    height: calc(100vh - 74px);
    display: grid;
    align-content: start;
    gap: 0;
    padding: 28px 24px;
    background: white;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: 180ms ease;
  }

  .menu-open .primary-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav a {
    padding: 17px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }

  .primary-nav a::after {
    display: none;
  }

  .primary-nav a.nav-emergency {
    justify-content: center;
    margin-top: 16px;
    width: 48px;
    height: 48px;
    padding: 0;
    border-bottom: 0;
  }

  .hero,
  .hero-grid {
    min-height: 760px;
  }

  .hero {
    background-position: 65% center;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(2, 25, 47, 0.83), rgba(2, 31, 58, 0.82));
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    align-content: center;
    padding: 40px 0;
  }

  .hero-copy {
    padding: 0;
  }

  .hero h1 {
    font-size: clamp(45px, 12vw, 65px);
  }

  .hero-panel {
    width: min(100%, 330px);
  }

  .services-layout,
  .approach-layout,
  .why-top,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .services-intro,
  .approach-intro,
  .why-copy {
    max-width: 520px;
  }

  .approach-layout {
    gap: 35px;
  }

  .process-step {
    min-height: 220px;
  }

  .why-visual {
    min-height: 270px;
  }

  body[data-page="home"] .section,
  body[data-page="home"] .why {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  body[data-page="home"] .approach {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  body[data-page="home"] .contact {
    padding: 0;
  }

  .contact::after {
    background: linear-gradient(180deg, transparent 0 26%, rgba(3, 38, 73, 0.82) 38%, rgba(3, 38, 73, 1) 48%);
  }

  .contact-image {
    inset: 0 0 auto;
    width: 100%;
    height: 320px;
    background-position: 64% center;
    -webkit-mask-image: linear-gradient(180deg, #000 0 68%, rgba(0, 0, 0, 0.82) 78%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0 68%, rgba(0, 0, 0, 0.82) 78%, transparent 100%);
  }

  .contact-grid {
    min-height: 0;
    display: block;
  }

  .contact-directory {
    padding: 355px 0 56px;
  }
}

@media (max-width: 590px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .hero,
  .hero-grid {
    min-height: 790px;
  }

  .hero-copy p {
    font-size: 14px;
  }

  .hero .hero-lead {
    font-size: 17px;
  }

  .section {
    padding: 45px 0;
  }

  body[data-page="home"] .section,
  body[data-page="home"] .why {
    padding-top: 45px;
    padding-bottom: 45px;
  }

  body[data-page="home"] .approach {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  body[data-page="home"] .contact {
    padding: 0;
  }

  .recognition {
    padding: 38px 0;
  }

  .recognition-layout {
    gap: 18px;
  }

  .social-media-panel {
    display: block;
    padding: 18px;
  }

  .social-media-heading {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 16px;
  }

  .social-media-heading h2 {
    font-size: 22px;
  }

  .social-media-link {
    justify-self: start;
  }

  .facebook-feed,
  .facebook-feed iframe {
    height: 280px;
  }

  .facebook-feed {
    max-width: none;
  }

  .standards-panel {
    min-height: 265px;
    padding-top: 24px;
  }

  .recognition-heading {
    margin-bottom: 18px;
    padding: 0 20px;
  }

  .recognition-heading h2 {
    font-size: 29px;
  }

  .logo-ticker {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  }

  .logo-ticker__item {
    width: 148px;
    height: 92px;
    padding: 14px 20px;
  }

  .service-grid,
  .process-grid,
  .values-grid,
  .field-grid,
  .career-card-grid,
  .job-detail-grid,
  .job-check-list--columns {
    grid-template-columns: 1fr;
  }

  .career-card__media {
    height: 150px;
  }

  .job-overlay {
    padding: 12px;
  }

  .job-modal {
    max-height: calc(100vh - 24px);
  }

  .job-modal__header {
    padding: 28px 62px 24px 22px;
  }

  .job-modal__header h2 {
    font-size: 34px;
  }

  .job-modal__content {
    padding: 23px 22px 28px;
  }

  .job-section--notice,
  .job-section--important {
    padding: 19px;
  }

  .card-image {
    height: 145px;
  }

  .card-icon {
    top: 110px;
  }

  .process-step,
  .process-step:nth-child(n) {
    min-height: 0;
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 17px;
    padding: 19px 0;
    border-top: 1px dotted rgba(255, 255, 255, 0.45);
    border-left: 0;
    text-align: left;
  }

  .process-step:first-child {
    border-top: 0;
  }

  .step-number {
    grid-column: 1;
    margin: 0 auto 8px;
  }

  .process-step svg {
    grid-column: 1;
    grid-row: 2 / span 2;
    width: 44px;
  }

  .process-step h3,
  .process-step p {
    grid-column: 2;
  }

  .process-step h3 {
    min-height: 0;
  }

  .why-visual {
    min-height: 385px;
  }

  .why-visual > img {
    height: 190px;
  }

  .why-badge {
    inset: auto 0 0;
    width: 100%;
    height: 205px;
    display: grid;
    grid-template-columns: 62px 1fr;
    align-items: center;
  }

  .why-badge .check-list {
    grid-column: 2;
    margin-top: 6px;
  }

  .values-grid {
    gap: 0;
  }

  .value,
  .value:nth-child(n) {
    min-height: 0;
    padding: 20px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .contact {
    padding: 0;
  }

  .contact-image {
    height: 260px;
  }

  .contact-directory {
    padding: 295px 0 44px;
  }

  .contact-directory > h2 {
    font-size: 34px;
  }

  .contact-primary,
  .contact-meta {
    grid-template-columns: 1fr;
  }

  .contact-primary {
    gap: 18px;
  }

  .contact-meta {
    gap: 16px;
  }

  .contact-meta__legal {
    padding-top: 16px;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }

  .form-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-form .button {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 14px;
  }

  .footer-inner p {
    text-align: left;
  }

  .footer-nav {
    flex-wrap: wrap;
    gap: 10px 16px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .pillar-card {
    animation: none !important;
  }

  .motion-card {
    opacity: 1 !important;
    translate: none !important;
    animation: none !important;
  }

  .logo-ticker {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .logo-ticker__track {
    animation: none !important;
  }

  .logo-ticker__group[aria-hidden="true"] {
    display: none;
  }

  .preloader-grid,
  .preloader-content,
  .preloader-progress span {
    animation: none !important;
  }
}
