/*
Theme Name: MAGCOM Corporate
Theme URI: https://magcom24.pl
Author: MAGCOM
Description: Korporacyjny, wielojęzyczny motyw MAGCOM z edytowalnymi usługami, kompetencjami technologicznymi, kompleksową realizacją i portfolio.
Version: 5.4.0
Requires at least: 5.4
Requires PHP: 5.4
Text Domain: magcom
*/

:root {
  --navy-950: #030914;
  --navy-900: #06101f;
  --navy-850: #091729;
  --navy-800: #0c1d31;
  --blue: #1499ea;
  --blue-light: #50bdff;
  --white: #f6f9fc;
  --muted: #a8b8ca;
  --line: rgba(177, 205, 230, 0.18);
  --shell: min(1480px, calc(100% - 64px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  background: var(--navy-950);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--navy-950);
  color: var(--white);
  font-family: "Inter", Arial, Helvetica, sans-serif;
}

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.hero {
  position: relative;
  display: flex;
  min-height: 920px;
  height: max(100svh, 920px);
  overflow: hidden;
  isolation: isolate;
  flex-direction: column;
  background: var(--navy-950);
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(90deg, rgba(3, 9, 20, 0.98) 0%, rgba(3, 9, 20, 0.92) 28%, rgba(3, 9, 20, 0.28) 63%, rgba(3, 9, 20, 0.2) 100%),
    linear-gradient(0deg, rgba(3, 9, 20, 0.85) 0%, transparent 42%),
    url("/images/hero-data-center.webp");
  background-position: center;
  background-size: cover;
  transform: scale(1.015);
  animation: heroDrift 16s ease-in-out infinite alternate;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.17;
  background-image:
    linear-gradient(rgba(69, 161, 220, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69, 161, 220, 0.12) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(90deg, black, transparent 55%);
}

.hero-scan {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: -22%;
  width: 18%;
  opacity: 0.42;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(49, 180, 255, 0.06),
    rgba(49, 180, 255, 0.2),
    transparent
  );
  filter: blur(1px);
  transform: skewX(-16deg);
  animation: scanHero 8.5s 1.5s ease-in-out infinite;
}

.fiber-motion {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 80px;
  left: 0;
  height: 210px;
  overflow: hidden;
  pointer-events: none;
}

.fiber-path {
  position: absolute;
  left: -8%;
  width: 72%;
  height: 1px;
  opacity: 0.48;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(20, 153, 234, 0.2),
    rgba(80, 189, 255, 0.7),
    transparent
  );
  transform-origin: left center;
}

.fiber-path-one {
  bottom: 30px;
  transform: rotate(-5deg);
}

.fiber-path-two {
  bottom: 76px;
  transform: rotate(-8deg);
}

.fiber-path-three {
  bottom: 118px;
  transform: rotate(-11deg);
}

.fiber-path i {
  position: absolute;
  top: -3px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a9e2ff;
  box-shadow:
    0 0 10px #59bfff,
    0 0 28px rgba(20, 153, 234, 0.9);
  animation: lightTravel 5.8s linear infinite;
}

.fiber-path-two i {
  animation-delay: -2.1s;
  animation-duration: 7.2s;
}

.fiber-path-three i {
  animation-delay: -4.3s;
  animation-duration: 8.4s;
}

.site-header {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 300px 1fr auto;
  align-items: center;
  min-height: 106px;
  border-bottom: 1px solid var(--line);
  min-height: 87px;
}

.corporate-site .site-header::before {
  min-height: 93px;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 22px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border: 1px solid rgba(177, 205, 230, 0.22);
  background: rgba(3, 9, 20, 0.42);
  backdrop-filter: blur(10px);
}

.language-switcher a {
  display: grid;
  min-width: 35px;
  height: 30px;
  place-items: center;
  color: #8297aa;
  font-family: var(--font-geist-mono), monospace;
  font-size: 10px;
  font-weight: 620;
  letter-spacing: 0.08em;
  transition: 160ms ease;
}

.language-switcher a:hover,
.language-switcher a:focus-visible {
  color: white;
}

.language-switcher a[aria-current="page"] {
  background: rgba(20, 153, 234, 0.18);
  color: var(--blue-light);
  box-shadow: inset 0 0 0 1px rgba(20, 153, 234, 0.42);
}

.brand {
  display: inline-flex;
  width: 270px;
}

.brand img {
  width: 100%;
  height: auto;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(28px, 3.2vw, 58px);
}

.desktop-nav a {
  position: relative;
  padding: 42px 0 38px;
  color: rgba(246, 249, 252, 0.86);
  font-size: 15px;
  font-weight: 540;
}

.desktop-nav a::after {
  position: absolute;
  right: 100%;
  bottom: -1px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--blue);
  transition: right 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  right: 0;
}

.header-cta {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid rgba(20, 153, 234, 0.78);
  color: var(--blue-light);
  font-size: 14px;
  font-weight: 600;
  transition: 180ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: var(--blue);
  box-shadow: 0 10px 32px rgba(20, 153, 234, 0.24);
  color: white;
  transform: translateY(-2px);
}

.mobile-menu {
  display: none;
}

.hero-layout {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 72px;
  align-items: center;
  padding-block: 70px 56px;
}

.hero-copy {
  max-width: 860px;
  animation: riseIn 700ms ease both;
}

.hero-status {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin: 0 0 23px;
  padding: 8px 12px;
  border: 1px solid rgba(103, 175, 224, 0.22);
  background: rgba(4, 13, 25, 0.34);
  color: #8fa8bd;
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.hero-status span,
.portfolio-pulse {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #36b7ff;
  box-shadow: 0 0 14px rgba(54, 183, 255, 0.95);
  animation: statusBlink 1.8s ease-in-out infinite;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
  color: var(--blue-light);
  font-family: var(--font-geist-mono), monospace;
  font-size: 13px;
  font-weight: 560;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.eyebrow i {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 16px var(--blue);
}

.hero h1 {
  max-width: 840px;
  margin: 0;
  font-size: clamp(62px, 6.2vw, 100px);
  font-weight: 570;
  letter-spacing: -0.056em;
  line-height: 0.98;
}

.hero h1 strong {
  color: white;
  font-weight: 720;
}

.hero-lead {
  max-width: 670px;
  margin: 34px 0 0;
  color: #c0cedc;
  font-size: 19px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.button {
  display: inline-flex;
  min-height: 60px;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 0 26px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 620;
  transition: 180ms ease;
}

.button span {
  font-size: 22px;
  font-weight: 320;
}

.button-primary {
  background: linear-gradient(135deg, #0d86d1, #1aa7fb);
  box-shadow: 0 18px 46px rgba(0, 132, 215, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 22px 56px rgba(0, 153, 234, 0.36);
  transform: translateY(-2px);
}

.button-secondary {
  border-color: rgba(140, 190, 226, 0.52);
  background: rgba(3, 9, 20, 0.28);
  backdrop-filter: blur(8px);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--blue);
  background: rgba(20, 153, 234, 0.1);
  transform: translateY(-2px);
}

.hero-panel {
  align-self: center;
  border: 1px solid rgba(174, 209, 234, 0.38);
  background: rgba(4, 13, 25, 0.72);
  backdrop-filter: blur(12px);
  animation: riseIn 700ms 160ms ease both;
}

.panel-item {
  position: relative;
  min-height: 156px;
  overflow: hidden;
  padding: 28px 26px;
  border-bottom: 1px solid rgba(174, 209, 234, 0.24);
}

.panel-item::after {
  position: absolute;
  right: 100%;
  bottom: -1px;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--blue-light), transparent);
  animation: panelSignal 5s ease-in-out infinite;
}

.panel-item:nth-child(2)::after {
  animation-delay: 1.6s;
}

.panel-item:nth-child(3)::after {
  animation-delay: 3.2s;
}

.panel-item:last-child {
  border-bottom: 0;
}

.panel-index {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--blue);
  font-family: var(--font-geist-mono), monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.panel-item h2 {
  margin: 24px 0 8px;
  font-size: 21px;
  font-weight: 580;
  letter-spacing: -0.025em;
}

.panel-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.proof-bar {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 26px;
  border: 1px solid rgba(174, 209, 234, 0.42);
  background: rgba(4, 13, 25, 0.68);
  backdrop-filter: blur(16px);
}

.proof-bar > div {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 14px 26px;
  border-right: 1px solid rgba(174, 209, 234, 0.26);
}

.proof-bar > div:last-child {
  border-right: 0;
}

.proof-dot {
  display: block;
  width: 9px;
  height: 9px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(20, 153, 234, 0.8);
}

.proof-bar p {
  margin: 0;
  font-size: 15px;
  font-weight: 520;
}

.proof-bar small {
  display: block;
  margin-bottom: 3px;
  color: #6f849a;
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section {
  padding-block: 132px;
}

.competencies {
  background:
    radial-gradient(circle at 85% 10%, rgba(20, 153, 234, 0.12), transparent 30%),
    var(--navy-950);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 80px;
  align-items: end;
}

.section-label {
  margin: 0 0 20px;
  color: var(--blue);
  font-family: var(--font-geist-mono), monospace;
  font-size: 12px;
  font-weight: 560;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-heading h2,
.contact-preview h2 {
  margin: 0;
  font-size: clamp(42px, 4.3vw, 70px);
  font-weight: 560;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.section-heading > p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.delivery {
  position: relative;
  padding-bottom: 70px;
}

.delivery::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: -20vw;
  width: 70vw;
  height: 680px;
  content: "";
  background: radial-gradient(circle, rgba(20, 153, 234, 0.11), transparent 68%);
  pointer-events: none;
}

.delivery-heading {
  margin-bottom: 58px;
}

.delivery-track {
  position: relative;
  height: 38px;
  margin-inline: 10px;
}

.delivery-track > span {
  position: absolute;
  top: 18px;
  right: 0;
  left: 0;
  height: 1px;
  overflow: hidden;
  background: rgba(177, 205, 230, 0.18);
}

.delivery-track > span::after {
  position: absolute;
  top: 0;
  left: -20%;
  width: 22%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--blue-light), transparent);
  animation: trackFlow 5.5s linear infinite;
}

.delivery-track > i {
  position: absolute;
  top: 14px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: var(--navy-950);
  box-shadow: 0 0 18px rgba(20, 153, 234, 0.72);
}

.delivery-track > i:nth-of-type(1) {
  left: 0;
}

.delivery-track > i:nth-of-type(2) {
  left: 33.333%;
}

.delivery-track > i:nth-of-type(3) {
  left: 66.666%;
}

.delivery-track > i:nth-of-type(4) {
  right: 0;
}

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.delivery-grid article {
  min-height: 430px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11, 28, 48, 0.45), rgba(4, 13, 25, 0.05));
  transition:
    background 220ms ease,
    transform 220ms ease;
}

.delivery-grid article:hover {
  background: linear-gradient(180deg, rgba(20, 153, 234, 0.12), rgba(4, 13, 25, 0.12));
  transform: translateY(-4px);
}

.delivery-number {
  display: flex;
  width: 45px;
  height: 45px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(20, 153, 234, 0.42);
  color: var(--blue-light);
  font-family: var(--font-geist-mono), monospace;
  font-size: 11px;
}

.delivery-grid h3 {
  margin: 50px 0 18px;
  font-size: 25px;
  font-weight: 570;
  letter-spacing: -0.035em;
}

.delivery-grid article > p {
  min-height: 112px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.delivery-grid ul {
  padding: 22px 0 0;
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.delivery-grid li {
  position: relative;
  padding: 5px 0 5px 15px;
  color: #b9c8d6;
  font-size: 12px;
  line-height: 1.5;
}

.delivery-grid li::before {
  position: absolute;
  top: 12px;
  left: 0;
  width: 5px;
  height: 1px;
  content: "";
  background: var(--blue);
}

.competency-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 76px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.competency-card {
  min-height: 410px;
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: 220ms ease;
}

.competency-card:hover {
  background: linear-gradient(180deg, rgba(20, 153, 234, 0.11), rgba(20, 153, 234, 0.02));
  transform: translateY(-4px);
}

.card-number {
  color: var(--blue);
  font-family: var(--font-geist-mono), monospace;
  font-size: 12px;
}

.competency-card h3 {
  margin: 70px 0 20px;
  font-size: 27px;
  font-weight: 570;
  letter-spacing: -0.035em;
}

.competency-card p {
  min-height: 120px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.66;
}

.competency-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 32px 0 0;
  list-style: none;
}

.competency-card li {
  padding: 7px 10px;
  border: 1px solid rgba(143, 183, 213, 0.22);
  color: #bfd0df;
  font-size: 11px;
}

.capability-feature {
  padding-block: 132px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(20, 153, 234, 0.06), transparent 45%),
    var(--navy-850);
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(440px, 0.75fr);
  gap: clamp(60px, 7vw, 120px);
  align-items: center;
}

.feature-image {
  position: relative;
  min-height: 590px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(157, 198, 227, 0.2);
  background: var(--navy-950);
}

.feature-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, transparent 55%, rgba(3, 9, 20, 0.86)),
    linear-gradient(90deg, rgba(20, 153, 234, 0.1), transparent 42%);
}

.feature-image img {
  width: 100%;
  height: 590px;
  object-fit: cover;
  transition: transform 700ms ease;
}

.feature-image:hover img {
  transform: scale(1.025);
}

.feature-image figcaption {
  position: absolute;
  z-index: 1;
  right: 34px;
  bottom: 32px;
  left: 34px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: white;
  font-size: 16px;
  font-weight: 560;
}

.feature-image figcaption span {
  color: var(--blue-light);
  font-family: var(--font-geist-mono), monospace;
  font-size: 10px;
  font-weight: 540;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-copy h2 {
  margin: 0;
  font-size: clamp(42px, 4.5vw, 70px);
  font-weight: 560;
  letter-spacing: -0.05em;
  line-height: 1.04;
}

.feature-lead {
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.technical-list {
  margin: 40px 0;
  border-top: 1px solid var(--line);
}

.technical-list > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.technical-list dt {
  color: #668097;
  font-family: var(--font-geist-mono), monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.technical-list dd {
  margin: 0;
  color: #d4e1ec;
  font-size: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  color: var(--blue-light);
  font-size: 15px;
  font-weight: 580;
  transition: gap 180ms ease;
}

.text-link:hover {
  gap: 32px;
  color: white;
}

.projects-heading {
  margin-bottom: 42px;
}

.portfolio-instruction {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 34px;
  color: #7f95a9;
  font-family: var(--font-geist-mono), monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.portfolio-card {
  display: flex;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #06101f;
  color: var(--white);
  font: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  flex-direction: column;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.portfolio-card:hover,
.portfolio-card:focus-visible {
  border-color: rgba(80, 189, 255, 0.58);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
  transform: translateY(-5px);
}

.portfolio-image {
  position: relative;
  display: block;
  height: 340px;
  overflow: hidden;
  background: #071425;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 700ms ease,
    filter 300ms ease;
}

.portfolio-card:hover .portfolio-image img,
.portfolio-card:focus-visible .portfolio-image img {
  filter: saturate(1.08) brightness(1.04);
  transform: scale(1.035);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 9, 20, 0.08), rgba(3, 9, 20, 0.78)),
    linear-gradient(90deg, rgba(5, 16, 31, 0.26), transparent 55%);
}

.portfolio-number {
  position: absolute;
  top: 22px;
  left: 22px;
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(155, 208, 241, 0.44);
  background: rgba(3, 9, 20, 0.52);
  color: var(--blue-light);
  font-family: var(--font-geist-mono), monospace;
  font-size: 10px;
  backdrop-filter: blur(8px);
}

.portfolio-open {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-size: 12px;
  font-weight: 580;
}

.portfolio-open i {
  display: flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(155, 208, 241, 0.46);
  color: var(--blue-light);
  font-size: 15px;
  font-style: normal;
  transition: 180ms ease;
}

.portfolio-card:hover .portfolio-open i {
  border-color: var(--blue);
  background: var(--blue);
  color: white;
}

.portfolio-content {
  display: flex;
  flex: 1;
  padding: 28px;
  flex-direction: column;
}

.portfolio-meta {
  margin-bottom: 14px;
  color: var(--blue);
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  line-height: 1.6;
  text-transform: uppercase;
}

.portfolio-content > strong {
  max-width: 640px;
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 560;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.portfolio-summary {
  max-width: 640px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 28px;
}

.portfolio-tags i {
  padding: 6px 9px;
  border: 1px solid rgba(142, 184, 216, 0.22);
  color: #9fb4c7;
  font-size: 9px;
  font-style: normal;
}

.project-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
  background: rgba(0, 5, 12, 0.88);
  backdrop-filter: blur(18px);
  animation: modalFade 180ms ease both;
}

.project-modal-panel {
  position: relative;
  width: min(1160px, 100%);
  margin: auto;
  overflow: hidden;
  border: 1px solid rgba(150, 198, 231, 0.32);
  background: #071321;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.62);
  animation: modalRise 260ms ease both;
}

.modal-close {
  position: absolute;
  z-index: 4;
  top: 18px;
  right: 18px;
  display: flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(182, 215, 238, 0.42);
  border-radius: 0;
  background: rgba(3, 9, 20, 0.7);
  color: white;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.modal-close span {
  margin-top: -3px;
  font-size: 28px;
  font-weight: 260;
}

.modal-close:hover,
.modal-close:focus-visible {
  border-color: var(--blue);
  background: var(--blue);
}

.modal-hero {
  position: relative;
  height: min(58vw, 590px);
  min-height: 420px;
  overflow: hidden;
}

.modal-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 9, 20, 0.12), rgba(3, 9, 20, 0.9)),
    linear-gradient(90deg, rgba(3, 9, 20, 0.78), transparent 72%);
}

.modal-title {
  position: absolute;
  right: 44px;
  bottom: 42px;
  left: 44px;
}

.modal-title p {
  margin: 0 0 16px;
  color: var(--blue-light);
  font-family: var(--font-geist-mono), monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.modal-title h3 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(42px, 5.2vw, 72px);
  font-weight: 570;
  letter-spacing: -0.052em;
  line-height: 1.02;
}

.modal-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.modal-metrics > div {
  padding: 26px 32px;
  border-right: 1px solid var(--line);
}

.modal-metrics > div:last-child {
  border-right: 0;
}

.modal-metrics small,
.modal-label {
  display: block;
  margin: 0 0 12px;
  color: #6f899e;
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.modal-metrics strong {
  font-size: 22px;
  font-weight: 570;
}

.modal-body {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  padding: 64px 54px 34px;
}

.modal-copy {
  margin: 0;
  color: #b6c5d3;
  font-size: 16px;
  line-height: 1.75;
}

.modal-body ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.modal-body li {
  position: relative;
  padding: 10px 0 10px 22px;
  border-bottom: 1px solid var(--line);
  color: #c6d4df;
  font-size: 14px;
  line-height: 1.5;
}

.modal-body li::before {
  position: absolute;
  top: 19px;
  left: 0;
  width: 7px;
  height: 1px;
  content: "";
  background: var(--blue);
}

.modal-result {
  grid-column: 1 / -1;
  padding: 28px 30px;
  border-left: 2px solid var(--blue);
  background: rgba(20, 153, 234, 0.065);
}

.modal-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 30px 54px 54px;
}

.modal-gallery figure {
  margin: 0;
  border: 1px solid var(--line);
  background: #081725;
}

.modal-gallery figure > img,
.gallery-placeholder {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.gallery-placeholder {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(20, 153, 234, 0.08), transparent 60%),
    repeating-linear-gradient(
      -45deg,
      rgba(156, 194, 221, 0.035) 0,
      rgba(156, 194, 221, 0.035) 1px,
      transparent 1px,
      transparent 12px
    ),
    #071421;
}

.gallery-placeholder i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(80, 189, 255, 0.4), transparent);
  transform-origin: center;
}

.gallery-placeholder i:nth-child(1) {
  transform: translate(-50%, -50%) rotate(-18deg);
}

.gallery-placeholder i:nth-child(2) {
  transform: translate(-50%, -50%) rotate(18deg);
}

.gallery-placeholder i:nth-child(3) {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 20px rgba(20, 153, 234, 0.9);
  transform: translate(-50%, -50%);
}

.modal-gallery figcaption {
  display: flex;
  min-height: 68px;
  align-items: center;
  gap: 13px;
  padding: 14px 16px;
  color: #b5c5d2;
  font-size: 11px;
}

.modal-gallery figcaption small {
  color: var(--blue);
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 28px 54px;
  border-top: 1px solid var(--line);
  background: #050f1c;
}

.modal-footer p {
  margin: 0;
  color: #6e8498;
  font-size: 11px;
}

.modal-footer a {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  color: var(--blue-light);
  font-size: 13px;
  font-weight: 580;
}

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

.project-hero {
  position: relative;
  height: min(64vw, 720px);
  min-height: 480px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
}

.project-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 50%, rgba(3, 9, 20, 0.78));
}

.project-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-hero figcaption {
  position: absolute;
  z-index: 1;
  right: 42px;
  bottom: 38px;
  left: 42px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.project-hero figcaption p {
  margin: 0;
  font-size: 27px;
  font-weight: 580;
}

.project-hero figcaption span {
  color: #c2cfda;
  font-size: 14px;
}

.project-list {
  border-top: 1px solid var(--line);
}

.project-list article {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) minmax(320px, 0.45fr);
  gap: 32px;
  align-items: center;
  padding-block: 38px;
  border-bottom: 1px solid var(--line);
  transition: 180ms ease;
}

.project-list article:hover {
  padding-inline: 16px;
  background: rgba(20, 153, 234, 0.05);
}

.project-number {
  color: var(--blue);
  font-family: var(--font-geist-mono), monospace;
  font-size: 12px;
}

.project-type {
  margin: 0 0 10px;
  color: var(--blue-light);
  font-family: var(--font-geist-mono), monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-list h3 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(22px, 2.1vw, 32px);
  font-weight: 540;
  letter-spacing: -0.03em;
}

.project-list dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 0;
}

.project-list dl div {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.project-list dt {
  margin-bottom: 8px;
  color: #688198;
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-list dd {
  margin: 0;
  color: #d3e0ea;
  font-size: 14px;
}

.about {
  padding-block: 132px;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 78% 28%, rgba(20, 153, 234, 0.16), transparent 33%),
    linear-gradient(135deg, #071425, #091b30);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
}

.about-statement h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(44px, 5vw, 78px);
  font-weight: 560;
  letter-spacing: -0.052em;
  line-height: 1.02;
}

.about-copy {
  align-self: end;
}

.about-copy p {
  margin: 0 0 22px;
  color: #bdcbd8;
  font-size: 17px;
  line-height: 1.72;
}

.equipment-rail {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 42px;
  border: 1px solid rgba(175, 207, 231, 0.24);
}

.equipment-rail > div {
  min-height: 122px;
  padding: 25px 28px;
  border-right: 1px solid rgba(175, 207, 231, 0.24);
}

.equipment-rail > div:last-child {
  border-right: 0;
}

.equipment-rail small {
  display: block;
  margin-bottom: 18px;
  color: #738ba1;
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.equipment-rail strong {
  color: white;
  font-size: 18px;
  font-weight: 620;
  letter-spacing: 0.02em;
}

.process-heading {
  margin-bottom: 76px;
}

.process-list {
  display: grid;
  padding: 0;
  margin: 0;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.process-list li {
  position: relative;
  min-height: 300px;
  padding: 30px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-list li::before {
  position: absolute;
  top: -3px;
  left: -1px;
  width: 54px;
  height: 5px;
  content: "";
  background: var(--blue);
  box-shadow: 0 0 24px rgba(20, 153, 234, 0.7);
}

.process-list span {
  color: var(--blue);
  font-family: var(--font-geist-mono), monospace;
  font-size: 11px;
}

.process-list h3 {
  margin: 90px 0 15px;
  font-size: 24px;
  font-weight: 560;
  letter-spacing: -0.03em;
}

.process-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.contact-section {
  position: relative;
  overflow: hidden;
  padding-block: 132px;
  border-top: 1px solid var(--line);
  background: #06111f;
  isolation: isolate;
}

.contact-glow {
  position: absolute;
  z-index: -1;
  top: -280px;
  right: -180px;
  width: 760px;
  height: 760px;
  border: 1px solid rgba(20, 153, 234, 0.18);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 153, 234, 0.22), transparent 64%);
  box-shadow:
    0 0 0 90px rgba(20, 153, 234, 0.025),
    0 0 0 180px rgba(20, 153, 234, 0.018);
}

.contact-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.52fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 70px;
}

.contact-intro .section-label {
  grid-column: 1 / -1;
  margin-bottom: -46px;
}

.contact-intro h2 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(48px, 6vw, 92px);
  font-weight: 560;
  letter-spacing: -0.058em;
  line-height: 0.98;
}

.contact-intro > p:last-child {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.38fr) minmax(0, 1fr);
  gap: 32px;
  align-items: stretch;
}

.contact-card {
  display: flex;
  padding: 36px;
  margin: 0;
  border: 1px solid rgba(174, 209, 234, 0.32);
  background: rgba(6, 18, 33, 0.72);
  font-style: normal;
  backdrop-filter: blur(12px);
  flex-direction: column;
}

.contact-card > p:first-child,
.form-kicker {
  margin: 0 0 34px;
  color: #6f879d;
  font-family: var(--font-geist-mono), monospace;
  font-size: 10px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contact-card > a {
  margin-bottom: 22px;
  color: white;
  font-size: clamp(23px, 2.1vw, 30px);
  font-weight: 560;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

.contact-card > a:hover {
  color: var(--blue-light);
}

.contact-card > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.contact-card .contact-card-copy {
  margin: 0 0 auto;
  color: #9db0c1;
  font-size: 14px;
  line-height: 1.72;
}

.contact-card span {
  color: #6f879d;
  font-size: 11px;
}

.contact-card strong {
  color: #d7e3ec;
  font-size: 12px;
  font-weight: 540;
}

.contact-form-panel {
  padding: 36px;
  border: 1px solid rgba(174, 209, 234, 0.22);
  background: rgba(3, 12, 23, 0.54);
}

.inquiry-form {
  display: block;
}

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

.form-grid label {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 9px;
}

.form-grid label > span {
  color: #90a4b7;
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid rgba(174, 209, 234, 0.22);
  border-radius: 0;
  outline: 0;
  background: rgba(5, 17, 31, 0.82);
  color: white;
  font: inherit;
  transition: 160ms ease;
}

.form-grid input,
.form-grid select {
  height: 52px;
  padding: 0 15px;
}

.form-grid textarea {
  min-height: 140px;
  padding: 15px;
  resize: vertical;
  line-height: 1.5;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: rgba(80, 189, 255, 0.78);
  box-shadow: 0 0 0 3px rgba(20, 153, 234, 0.1);
}

.form-grid select {
  color-scheme: dark;
}

.form-grid textarea::placeholder {
  color: #60778c;
}

.form-message {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 26px;
}

.form-actions p {
  max-width: 470px;
  margin: 0;
  color: #6f879d;
  font-size: 10px;
  line-height: 1.6;
}

.form-actions .button {
  flex: 0 0 auto;
  border: 0;
  cursor: pointer;
}

footer {
  padding-block: 34px;
  border-top: 1px solid var(--line);
  background: #030914;
}

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

.footer-brand img {
  width: 230px;
  height: auto;
}

.footer-grid p {
  margin: 0;
  color: #6e8297;
  font-size: 11px;
}

.footer-grid p:last-child {
  text-align: right;
}

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: 4px;
}

@keyframes scanHero {
  0%,
  22% {
    left: -24%;
    opacity: 0;
  }
  35% {
    opacity: 0.42;
  }
  72% {
    opacity: 0.18;
  }
  100% {
    left: 116%;
    opacity: 0;
  }
}

@keyframes lightTravel {
  0% {
    left: 0;
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

@keyframes statusBlink {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.82);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes panelSignal {
  0%,
  38% {
    right: 100%;
    left: 0;
    opacity: 0;
  }
  50% {
    right: 0;
    opacity: 1;
  }
  62%,
  100% {
    right: 0;
    left: 100%;
    opacity: 0;
  }
}

@keyframes trackFlow {
  to {
    left: 102%;
  }
}

@keyframes modalFade {
  from {
    opacity: 0;
  }
}

@keyframes modalRise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.99);
  }
}

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

@keyframes heroDrift {
  to {
    transform: scale(1.04);
  }
}

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

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

@media (max-width: 1120px) {
  :root {
    --shell: min(calc(100% - 40px), 1000px);
  }

  .site-header {
    grid-template-columns: 230px 1fr auto;
  }

  .brand {
    width: 220px;
  }

  .desktop-nav {
    gap: 24px;
  }

  .header-cta {
    display: none;
  }

  .header-tools {
    gap: 0;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 34px;
  }

  .hero h1 {
    font-size: clamp(58px, 7vw, 78px);
  }

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

  .delivery-track {
    display: none;
  }

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

  .feature-grid {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }

  .feature-image,
  .feature-image img {
    min-height: 520px;
    height: 520px;
  }

  .project-list article {
    grid-template-columns: 50px minmax(0, 1fr) 280px;
  }

  .contact-layout {
    grid-template-columns: minmax(290px, 0.42fr) minmax(0, 1fr);
    gap: 22px;
  }

  .contact-intro {
    gap: 50px;
  }

  .modal-body {
    gap: 40px;
    padding-inline: 40px;
  }

  .modal-gallery {
    padding-inline: 40px;
  }
}

@media (max-width: 780px) {
  :root {
    --shell: calc(100% - 32px);
  }

  .hero {
    min-height: auto;
    height: auto;
  }

  .hero-image {
    background-image:
      linear-gradient(180deg, rgba(3, 9, 20, 0.62), rgba(3, 9, 20, 0.9) 45%, var(--navy-950) 78%),
      url("/images/hero-data-center.webp");
    background-position: 67% top;
  }

  .hero-scan {
    display: none;
  }

  .fiber-motion {
    bottom: 320px;
    height: 130px;
    opacity: 0.62;
  }

  .site-header {
    display: flex;
    min-height: 84px;
    justify-content: space-between;
  }

  .brand {
    width: 210px;
  }

  .desktop-nav,
  .header-tools {
    display: none;
  }

  .mobile-menu {
    position: relative;
    display: block;
  }

  .mobile-menu summary {
    display: flex;
    width: 44px;
    height: 44px;
    cursor: pointer;
    list-style: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid var(--line);
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu summary span {
    display: block;
    width: 18px;
    height: 1px;
    background: white;
  }

  .mobile-menu nav {
    position: absolute;
    top: 54px;
    right: 0;
    display: flex;
    width: 230px;
    padding: 16px;
    border: 1px solid var(--line);
    background: rgba(5, 14, 27, 0.98);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
    flex-direction: column;
  }

  .mobile-menu .language-switcher {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 10px;
  }

  .mobile-menu nav a {
    padding: 14px;
    border-bottom: 1px solid var(--line);
  }

  .mobile-menu .language-switcher a {
    min-width: 0;
    padding: 7px;
  }

  .hero-layout {
    display: block;
    padding-block: 115px 70px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .eyebrow {
    gap: 9px;
    font-size: 10px;
  }

  .hero h1 {
    font-size: clamp(48px, 14vw, 68px);
  }

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

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
    justify-content: space-between;
  }

  .hero-panel {
    display: grid;
    margin-top: 68px;
    grid-template-columns: 1fr;
  }

  .panel-item {
    min-height: 130px;
  }

  .proof-bar {
    margin-bottom: 16px;
    grid-template-columns: 1fr;
  }

  .proof-bar > div {
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-bar > div:last-child {
    border-bottom: 0;
  }

  .section {
    padding-block: 90px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .delivery {
    padding-bottom: 44px;
  }

  .delivery-heading {
    margin-bottom: 48px;
  }

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

  .delivery-grid article {
    min-height: auto;
  }

  .delivery-grid article > p {
    min-height: auto;
  }

  .competency-grid {
    grid-template-columns: 1fr;
    margin-top: 52px;
  }

  .competency-card {
    min-height: auto;
  }

  .competency-card h3 {
    margin-top: 46px;
  }

  .competency-card p {
    min-height: auto;
  }

  .capability-feature {
    padding-block: 90px;
  }

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

  .feature-image,
  .feature-image img {
    min-height: 430px;
    height: 430px;
  }

  .feature-copy {
    order: -1;
  }

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

  .portfolio-image {
    height: 270px;
  }

  .portfolio-content {
    padding: 22px;
  }

  .project-modal {
    padding: 0;
  }

  .project-modal-panel {
    min-height: 100svh;
    border: 0;
  }

  .modal-close {
    position: fixed;
  }

  .modal-hero {
    min-height: 440px;
    height: 62svh;
  }

  .modal-title {
    right: 22px;
    bottom: 28px;
    left: 22px;
  }

  .modal-title h3 {
    font-size: clamp(38px, 11vw, 54px);
  }

  .modal-metrics {
    grid-template-columns: 1fr;
  }

  .modal-metrics > div {
    padding: 18px 22px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .modal-metrics > div:last-child {
    border-bottom: 0;
  }

  .modal-body {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 52px 22px 26px;
  }

  .modal-result {
    grid-column: auto;
    padding: 24px 22px;
  }

  .modal-gallery {
    grid-template-columns: 1fr;
    padding: 20px 22px 40px;
  }

  .modal-gallery figure > img,
  .gallery-placeholder {
    height: 240px;
  }

  .modal-footer {
    align-items: flex-start;
    padding: 26px 22px;
    flex-direction: column;
  }

  .project-hero {
    min-height: 460px;
  }

  .project-hero img {
    object-position: 67% center;
  }

  .project-hero figcaption {
    right: 22px;
    bottom: 22px;
    left: 22px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .project-list article {
    grid-template-columns: 36px 1fr;
    gap: 18px;
  }

  .project-list dl {
    grid-column: 2;
    margin-top: 16px;
  }

  .about {
    padding-block: 90px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .equipment-rail {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 22px;
  }

  .equipment-rail > div:nth-child(2) {
    border-right: 0;
  }

  .equipment-rail > div:nth-child(-n+2) {
    border-bottom: 1px solid rgba(175, 207, 231, 0.24);
  }

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

  .process-list li {
    min-height: 240px;
  }

  .process-list h3 {
    margin-top: 62px;
  }

  .contact-section {
    padding-block: 90px;
  }

  .contact-intro {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 48px;
  }

  .contact-intro .section-label {
    grid-column: auto;
    margin-bottom: 0;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .contact-card {
    padding: 26px;
  }

  .contact-card > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-form-panel {
    padding: 26px;
  }

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

  .form-message {
    grid-column: auto;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-grid p:last-child {
    text-align: left;
  }
}

/* Corporate Engineering direction */

.corporate-site {
  background: #f4f7fa;
  color: #004c85;
}

.corporate-site .hero {
  min-height: 920px;
  height: max(100svh, 920px);
  background:
    linear-gradient(90deg, #f7fafc 0%, #f7fafc 48%, rgba(247, 250, 252, 0.72) 63%, rgba(247, 250, 252, 0.12) 100%),
    #edf3f7;
}

.corporate-site .hero-image {
  opacity: 0.96;
  background-image:
    linear-gradient(90deg, #f7fafc 0%, rgba(247, 250, 252, 0.94) 18%, rgba(247, 250, 252, 0.08) 62%),
    linear-gradient(0deg, rgba(240, 246, 250, 0.28), transparent 52%),
    url("/images/hero-data-center.webp");
  background-position: 58% center;
  filter: saturate(0.78) contrast(0.98) brightness(1.08);
}

.corporate-site .hero-grid {
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(21, 99, 151, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 99, 151, 0.09) 1px, transparent 1px);
  mask-image: linear-gradient(90deg, black, transparent 60%);
}

.corporate-site .hero-scan {
  opacity: 0.22;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(20, 153, 234, 0.04),
    rgba(20, 153, 234, 0.17),
    transparent
  );
}

.corporate-topbar {
  position: relative;
  z-index: 12;
  border-bottom: 1px solid #d9e3eb;
  background: rgba(232, 239, 245, 0.94);
  color: #526a80;
}

.corporate-topbar .shell {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.corporate-topbar .shell > div {
  display: flex;
  align-items: center;
  gap: 13px;
}

.corporate-topbar span,
.corporate-topbar a {
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.corporate-topbar i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--blue);
}

.corporate-topbar a {
  color: #0d5480;
  font-weight: 620;
}

.corporate-site .site-header {
  min-height: 92px;
  grid-template-columns: 255px 1fr auto;
  border-bottom: 1px solid #dce6ed;
}

.corporate-site .site-header::before {
  position: absolute;
  z-index: -1;
  inset: 0 -100vw;
  content: "";
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(17, 50, 78, 0.04);
  backdrop-filter: blur(14px);
}

.corporate-site .brand {
  width: 238px;
}

.corporate-site .desktop-nav {
  gap: clamp(17px, 1.65vw, 30px);
}

.corporate-site .desktop-nav a {
  padding: 37px 0 34px;
  color: #20384f;
  font-size: 15px;
}

.corporate-site .desktop-nav a:hover,
.corporate-site .desktop-nav a:focus-visible {
  color: #087dbd;
}

.corporate-site .header-tools {
  gap: 14px;
}

.corporate-site .language-switcher {
  border-color: #d4e0e8;
  background: #f4f8fb;
}

.corporate-site .language-switcher a {
  color: #71879a;
}

.corporate-site .language-switcher a:hover,
.corporate-site .language-switcher a:focus-visible {
  color: #0b2038;
}

.corporate-site .language-switcher a[aria-current="page"] {
  background: #e1f2fc;
  color: #087ebd;
  box-shadow: inset 0 0 0 1px rgba(20, 153, 234, 0.28);
}

.corporate-site .header-cta {
  border-color: var(--blue);
  background: var(--blue);
  color: white;
}

.corporate-site .hero-layout {
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 68px;
  padding-block: 58px 42px;
}

.corporate-site .hero-copy {
  max-width: 820px;
}

.corporate-site .hero-status {
  border-color: #cddce7;
  background: rgba(255, 255, 255, 0.72);
  color: #5e7488;
}

.corporate-site .eyebrow {
  color: #087ebd;
}

.corporate-site .hero h1 {
  color: #004c85;
  font-size: clamp(60px, 5.75vw, 92px);
}

.corporate-site .hero h1 strong {
  color: #087ebd;
}

.corporate-site .hero-lead {
  max-width: 690px;
  color: #496176;
}

.corporate-site .button-secondary {
  border-color: #9db4c6;
  background: rgba(255, 255, 255, 0.64);
  color: #17354f;
}

.corporate-site .button-secondary:hover,
.corporate-site .button-secondary:focus-visible {
  border-color: #087ebd;
  background: white;
  color: #087ebd;
}

.corporate-site .hero-panel {
  border-color: rgba(35, 92, 132, 0.18);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 70px rgba(20, 54, 80, 0.12);
  backdrop-filter: blur(18px);
}

.corporate-site .panel-item {
  border-color: #d6e2ea;
}

.corporate-site .panel-item h2 {
  color: #0b2038;
}

.corporate-site .panel-item p {
  color: #61778a;
}

.corporate-site .panel-index {
  color: #087ebd;
}

.corporate-site .proof-bar {
  margin-bottom: 24px;
  border-color: #d4e0e8;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 55px rgba(17, 50, 78, 0.09);
  backdrop-filter: blur(14px);
}

.corporate-site .proof-bar > div {
  border-color: #d9e4eb;
}

.corporate-site .proof-bar p {
  color: #1c354c;
}

.corporate-site .proof-bar small {
  color: #7890a3;
}

.corporate-site .delivery,
.corporate-site .service-showcase,
.corporate-site .industries-section,
.corporate-site .©,
.corporate-site .projects,
.corporate-site .process {
  color: #0b2038;
}

.corporate-site .delivery{
  background: #f4f7fa;
}

.corporate-site .section-heading > p {
  color: #5b7184;
}

.corporate-site .delivery-track > span {
  background: #cfdae3;
}

.corporate-site .delivery-track > i {
  background: #f4f7fa;
}

.corporate-site .delivery-grid {
  border-color: #d5e0e8;
}

.corporate-site .delivery-grid article {
  border-color: #d5e0e8;
  background: rgba(255, 255, 255, 0.72);
}

.corporate-site .delivery-grid article:hover {
  background: white;
  box-shadow: 0 18px 50px rgba(20, 54, 80, 0.1);
}

.corporate-site .delivery-grid h3 {
  color: #0b2038;
}

.corporate-site .delivery-grid article > p {
  color: #5c7183;
}

.corporate-site .delivery-grid ul {
  border-color: #d8e2e9;
}

.corporate-site .delivery-grid li {
  color: #38536a;
}

.service-showcase {
  max-width: none;
  width: 100%;
}

.corporate-site .technology-hub,
.service-showcase{
  background: #fff;
}

.service-instruction {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 40px 0 28px;
  color: #6c8295;
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.service-instruction > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 14px rgba(20, 153, 234, 0.65);
}

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

.service-card {
  overflow: hidden;
  border: 1px solid #d4dfe7;
  background: #f7fafc;
  box-shadow: 0 10px 40px rgba(18, 52, 78, 0.04);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.service-card:hover,
.service-card[open] {
  border-color: rgba(20, 153, 234, 0.48);
  box-shadow: 0 24px 70px rgba(18, 52, 78, 0.12);
  transform: translateY(-4px);
}

.service-card > summary {
  display: grid;
  cursor: pointer;
  list-style: none;
  grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1fr);
}

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

.service-image {
  position: relative;
  display: block;
  min-height: 330px;
  overflow: hidden;
  background: #0a1c2f;
}

.service-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 44%, rgba(3, 14, 26, 0.68));
}

.service-image img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  transition: transform 700ms ease;
}

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

.service-index {
  position: absolute;
  z-index: 1;
  top: 20px;
  left: 20px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(210, 235, 249, 0.54);
  background: rgba(5, 20, 34, 0.48);
  color: #82d0ff;
  font-family: var(--font-geist-mono), monospace;
  font-size: 10px;
  backdrop-filter: blur(9px);
}

.service-summary {
  display: flex;
  min-width: 0;
  padding: 30px;
  flex-direction: column;
}

.service-summary > small {
  margin-bottom: 27px;
  color: #168bc9;
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-summary > strong {
  color: #0c2239;
  font-size: clamp(25px, 2.1vw, 34px);
  font-weight: 590;
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.service-summary > span:not(.service-tags, .service-open) {
  margin-top: 18px;
  color: #5a7185;
  font-size: 14px;
  line-height: 1.65;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 24px;
}

.service-tags i {
  padding: 6px 8px;
  border: 1px solid #d3e0e9;
  color: #557086;
  font-size: 9px;
  font-style: normal;
}

.service-open {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 22px;
  color: #087ebd;
  font-size: 12px;
  font-weight: 620;
}

.service-open i {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid #add1e6;
  font-size: 18px;
  font-style: normal;
  transition: transform 220ms ease;
}

.service-card[open] .service-open i {
  transform: rotate(45deg);
}

.service-details {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr auto;
  gap: 28px;
  align-items: center;
  padding: 26px 30px;
  border-top: 1px solid #d4e0e8;
  background: white;
}

.service-details ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-details li {
  position: relative;
  padding: 5px 0 5px 16px;
  color: #38546a;
  font-size: 12px;
  line-height: 1.45;
}

.service-details li::before {
  position: absolute;
  top: 12px;
  left: 0;
  width: 6px;
  height: 2px;
  content: "";
  background: var(--blue);
}

.service-details > p {
  margin: 0;
  color: #667c8e;
  font-size: 12px;
  line-height: 1.62;
}

.service-details > a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border: 1px solid var(--blue);
  color: #087ebd;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}

.corporate-proof {
  padding-block: 122px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(20, 153, 234, 0.2), transparent 32%),
    linear-gradient(135deg, #06111f, #0b2036);
  color: white;
}

.corporate-proof-heading {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px 80px;
  align-items: end;
  margin-bottom: 65px;
}

.corporate-proof-heading .section-label {
  grid-column: 1 / -1;
  margin-bottom: -10px;
}

.corporate-proof-heading h2 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(44px, 4.8vw, 76px);
  font-weight: 560;
  letter-spacing: -0.052em;
  line-height: 1.02;
}

.corporate-proof-heading > p:last-child {
  margin: 0 0 5px;
  color: #9db0c2;
  font-size: 16px;
  line-height: 1.72;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(177, 205, 230, 0.2);
  border-left: 1px solid rgba(177, 205, 230, 0.2);
}

.metric-grid article {
  position: relative;
  min-height: 235px;
  padding: 26px;
  border-right: 1px solid rgba(177, 205, 230, 0.2);
  border-bottom: 1px solid rgba(177, 205, 230, 0.2);
}

.metric-grid small {
  color: #4db5ef;
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
}

.metric-grid strong {
  display: block;
  margin: 42px 0 18px;
  color: white;
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 590;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.metric-grid p {
  max-width: 230px;
  margin: 0;
  color: #9fb1c2;
  font-size: 12px;
  line-height: 1.55;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 70px;
  border-top: 1px solid #d5e0e7;
  border-left: 1px solid #d5e0e7;
}

.industry-grid article {
  min-height: 315px;
  padding: 28px;
  border-right: 1px solid #d5e0e7;
  border-bottom: 1px solid #d5e0e7;
  background: #f7fafc;
  transition:
    background 200ms ease,
    transform 200ms ease;
}

.industry-grid article:hover {
  background: white;
  box-shadow: 0 18px 50px rgba(18, 52, 78, 0.08);
  transform: translateY(-4px);
}

.industry-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #168bc9;
  font-family: var(--font-geist-mono), monospace;
}

.industry-code span {
  font-size: 24px;
  font-weight: 670;
  letter-spacing: -0.04em;
}

.industry-code i {
  font-size: 9px;
  font-style: normal;
}

.industry-grid h3 {
  margin: 90px 0 18px;
  color: #0d233a;
  font-size: 24px;
  font-weight: 580;
  letter-spacing: -0.035em;
}

.industry-grid p {
  margin: 0;
  color: #617689;
  font-size: 13px;
  line-height: 1.65;
}

.technology-heading {
  margin-bottom: 64px;
}

.technology-layout {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 26px;
}

.technology-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  border-top: 1px solid #d3dfe7;
  border-left: 1px solid #d3dfe7;
}

.technology-grid article {
  position: relative;
  display: flex;
  min-height: 176px;
  padding: 25px;
  border-right: 1px solid #d3dfe7;
  border-bottom: 1px solid #d3dfe7;
  background: white;
  flex-direction: column;
  justify-content: space-between;
}

.technology-grid small {
  color: #73899c;
  font-family: var(--font-geist-mono), monospace;
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.technology-grid strong {
  color: #0b2038;
  font-size: clamp(24px, 2.6vw, 38px);
  font-weight: 660;
  letter-spacing: -0.04em;
}

.technology-grid article > span {
  position: absolute;
  right: 22px;
  bottom: 22px;
  color: #1598e4;
}

.certificate-card {
  display: grid;
  min-height: 378px;
  padding: 36px;
  grid-template-columns: 116px 1fr;
  gap: 30px;
  align-items: center;
  background:
    radial-gradient(circle at 15% 20%, rgba(51, 181, 255, 0.22), transparent 28%),
    #07182a;
  color: white;
}

.certificate-mark {
  position: relative;
  display: grid;
  width: 110px;
  height: 110px;
  place-items: center;
  border: 1px solid rgba(91, 193, 252, 0.45);
  border-radius: 50%;
}

.certificate-mark::before,
.certificate-mark::after {
  position: absolute;
  border: 1px solid rgba(91, 193, 252, 0.18);
  border-radius: 50%;
  content: "";
}

.certificate-mark::before {
  inset: 10px;
}

.certificate-mark::after {
  inset: 22px;
}

.certificate-mark span {
  z-index: 1;
  color: #80d2ff;
  font-family: var(--font-geist-mono), monospace;
  font-size: 18px;
  font-weight: 650;
}

.certificate-mark i {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6ecaff;
  box-shadow: 0 0 16px rgba(110, 202, 255, 0.9);
  animation: statusBlink 1.8s ease-in-out infinite;
}

.certificate-card small {
  color: #56bdf8;
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.certificate-card h3 {
  margin: 18px 0;
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 570;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.certificate-card p {
  margin: 0;
  color: #a6b8c8;
  font-size: 13px;
  line-height: 1.7;
}

.certificate-card a {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-top: 26px;
  color: #6ecaff;
  font-size: 12px;
  font-weight: 620;
}

.corporate-site .projects {
  max-width: none;
  width: 100%;
  padding-inline: max(32px, calc((100vw - 1480px) / 2));
  border-top: 1px solid #d8e2e9;
}

.corporate-site .portfolio-instruction {
  color: #6a8194;
}

.corporate-site .about {
  border-color: rgba(177, 205, 230, 0.18);
}

.corporate-site .about-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.corporate-site .process-list {
  border-color: #d5e0e7;
}

.corporate-site .process-list li {
  border-color: #d5e0e7;
  background: #f7fafc;
}

.corporate-site .process-list h3 {
  color: #0b2038;
}

.corporate-site .process-list p {
  color: #5d7285;
}

.corporate-site footer {
  padding-block: 0;
  border-top: 0;
  background: #020b14;
}

.corporate-footer {
  color: white;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 0.65fr 0.9fr;
  gap: 72px;
  padding-block: 72px 62px;
}

.footer-intro p {
  max-width: 340px;
  margin: 26px 0 0;
  color: #7f95a9;
  font-size: 13px;
  line-height: 1.7;
}

.corporate-site .footer-brand img {
  width: 250px;
}

.footer-column {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
}

.footer-column > strong {
  margin-bottom: 8px;
  color: #4db7f3;
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-column > a,
.footer-column > p {
  margin: 0;
  color: #91a4b5;
  font-size: 12px;
  line-height: 1.55;
}

.footer-column > a:hover {
  color: white;
}

.footer-contact .language-switcher {
  margin-top: 15px;
  border-color: rgba(177, 205, 230, 0.18);
  background: #071522;
}

.footer-contact .language-switcher a {
  color: #71879a;
}

.footer-contact .language-switcher a[aria-current="page"] {
  background: rgba(20, 153, 234, 0.18);
  color: #67c4f8;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 35px;
  align-items: center;
  padding-block: 25px;
  border-top: 1px solid rgba(177, 205, 230, 0.13);
}

.footer-bottom p,
.footer-bottom a {
  margin: 0;
  color: #5f7487;
  font-size: 9px;
}

.footer-bottom a:hover {
  color: #72c8f8;
}

@media (max-width: 1240px) {
  .corporate-site .site-header {
    grid-template-columns: 220px 1fr auto;
  }

  .corporate-site .brand {
    width: 205px;
  }

  .corporate-site .desktop-nav {
    gap: 15px;
  }

  .corporate-site .desktop-nav a {
    font-size: 15px;
  }

  .corporate-site .header-cta {
    display: none;
  }

  .service-card > summary {
    grid-template-columns: 220px 1fr;
  }

  .service-image,
  .service-image img {
    min-height: 350px;
  }

  .footer-main {
    gap: 42px;
  }
}

@media (max-width: 1000px) {

  .corporate-site .site-header {grid-template-columns: 170px 1fr auto;}
  .corporate-site .brand {width: 170px;}
  .corporate-site .desktop-nav a {font-size: 13px;}
  .language-switcher a {min-width: 25px;}

  .corporate-site .header-tools {
    margin-left: auto;
  }

  .corporate-site .mobile-menu summary {
    border-color: #cddbe5;
  }

  .corporate-site .mobile-menu summary span {
    background: #0b2038;
  }

  .corporate-site .mobile-menu nav {
    background: rgba(255, 255, 255, 0.98);
    border-color: #d4dfe7;
    color: #0b2038;
  }

  .corporate-site .mobile-menu nav a {
    border-color: #dbe4eb;
  }

  .corporate-site .language-switcher a {border: 0 none;}

  .service-grid,
  .technology-layout {
    grid-template-columns: 1fr;
  }

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

  .footer-main {
    grid-template-columns: 1.25fr 1fr 1fr;
  }

  .footer-contact {
    grid-column: 2 / -1;
  }

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

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

  .corporate-topbar .shell {
    min-height: 52px;
  }

  .corporate-topbar .shell > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .corporate-topbar i,
  .corporate-topbar .shell > div span:first-child {
    display: none;
  }

  .corporate-topbar a {
    font-size: 8px;
  }

  .corporate-site .site-header {
    grid-template-columns: 1fr auto;
    min-height: 82px;
    position: fixed;
    padding-left: 16px;
    padding-right: 16px;
    width: 100%;
  }

  .corporate-site .site-header::before {min-height: 82px;}

  .corporate-site .brand {
    width: 198px;
  }

  .corporate-site .header-tools {
    display: none;
  }

  .corporate-site .mobile-menu {
    margin-left: auto;
  }

  .corporate-site .hero-image {
    opacity: 0.96;
    background-image:
      linear-gradient(180deg, rgba(247, 250, 252, 0.38), rgba(247, 250, 252, 0.92) 52%, #f7fafc 84%),
      url("/images/hero-data-center.webp");
    background-position: 68% top;
  }

  .corporate-site .hero-layout {
    padding-block: 120px 60px;
  }

  .corporate-topbar{display: none;}

  .corporate-site .hero h1 {
    font-size: clamp(48px, 13vw, 66px);
  }

  .corporate-site .hero-panel {
    background: rgba(255, 255, 255, 0.88);
  }

  .corporate-site .proof-bar {
    margin-bottom: 18px;
  }

  .corporate-site .proof-bar > div {
    border-color: #d9e4eb;
  }

  .service-showcase,
  .corporate-site .projects {
    padding-inline: 16px;
  }

  .service-card > summary {
    grid-template-columns: 1fr;
  }

  .service-image,
  .service-image img {
    min-height: 255px;
    height: 255px;
  }

  .service-summary {
    min-height: 330px;
    padding: 24px;
  }

  .service-details {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .service-details > a {
    justify-content: space-between;
  }

  .corporate-proof-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .corporate-proof-heading .section-label {
    grid-column: auto;
    margin-bottom: 0;
  }

  .metric-grid,
  .industry-grid,
  .technology-grid {
    grid-template-columns: 1fr;
  }

  .metric-grid article {
    min-height: 205px;
  }

  .industry-grid article {
    min-height: 250px;
  }

  .industry-grid h3 {
    margin-top: 58px;
  }

  .certificate-card {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .certificate-mark {
    width: 86px;
    height: 86px;
  }

  .corporate-site .about-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-contact {
    grid-column: auto;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* WordPress integration */
:root {
  --font-geist-sans: "Inter";
  --font-geist-mono: "Inter";
}

.admin-bar .corporate-topbar {
  margin-top: 32px;
}

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

.technology-grid article p {
  max-width: 78%;
  margin: 10px 0 0;
  color: #6a7f90;
  font-size: 11px;
  line-height: 1.5;
}

.project-modal .modal-body {
  color: #c6d4df;
}

.project-modal .modal-body > section > p:not(.modal-label) {
  margin: 0;
  color: #b6c5d3;
  line-height: 1.75;
}

.project-modal .modal-body > section:nth-child(3) {
  grid-column: 1 / -1;
  padding: 28px 30px;
  border-left: 2px solid var(--blue);
  background: rgba(20, 153, 234, 0.065);
}

.project-modal .modal-gallery {
  display: block;
  grid-column: 1 / -1;
  padding: 0;
}

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

.gallery-grid img,
.gallery-placeholders span {
  width: 100%;
  height: 210px;
  border: 1px solid var(--line);
  object-fit: cover;
}

.gallery-placeholders span {
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(20, 153, 234, 0.08), transparent 60%),
    repeating-linear-gradient(-45deg, rgba(156, 194, 221, 0.035) 0, rgba(156, 194, 221, 0.035) 1px, transparent 1px, transparent 12px),
    #071421;
  color: #7890a4;
  text-align: center;
}

.project-modal .modal-body > .button {
  grid-column: 1 / -1;
  justify-self: start;
}

.contact-notice {
  margin: 24px 0;
  padding: 16px 20px;
  border-left: 3px solid var(--blue);
  background: rgba(20, 153, 234, 0.08);
  color: #d9efff;
}

.contact-notice.is-error {
  border-color: #ff6b6b;
  background: rgba(255, 107, 107, 0.08);
}

.magcom-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 782px) {
  .admin-bar .corporate-topbar {
    margin-top: 46px;
  }
}

@media (max-width: 680px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img,
  .gallery-placeholders span {
    height: 190px;
  }
}

/* Expandable industries */
.industry-card {
  min-width: 0;
  border-right: 1px solid #d5e0e7;
  border-bottom: 1px solid #d5e0e7;
  background: #f7fafc;
  transition:
    background 200ms ease,
    box-shadow 200ms ease,
    transform 200ms ease;
}

.industry-card:hover,
.industry-card:focus-within,
.industry-card[open] {
  background: white;
  box-shadow: 0 18px 50px rgba(18, 52, 78, 0.08);
  transform: translateY(-4px);
}

.industry-card > summary {
  position: relative;
  min-height: 315px;
  padding: 28px 28px 74px;
  cursor: pointer;
  list-style: none;
}

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

.industry-card > summary h3 {
  margin: 82px 0 18px;
}

.industry-card > summary > p {
  margin: 0;
  color: #617689;
  font-size: 13px;
  line-height: 1.65;
}

.industry-open {
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: 34px;
  height: 34px;
  border: 1px solid #b9cedc;
}

.industry-open i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1px;
  background: #168bc9;
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.industry-open i:last-child {
  transform: translate(-50%, -50%) rotate(90deg);
}

.industry-card[open] .industry-open i:last-child {
  transform: translate(-50%, -50%) rotate(0deg);
}

.industry-details {
  padding: 0 28px 30px;
  border-top: 1px solid #d5e0e7;
}

.industry-details p {
  margin: 0;
  padding-top: 24px;
  color: #445f73;
  font-size: 13px;
  line-height: 1.72;
}

.industry-details a {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  color: #087ebd;
  font-size: 11px;
  font-weight: 650;
}

/* More compact portfolio cards; modal photography stays large. */
.portfolio-image {
  height: 285px;
}

@media (max-width: 780px) {
  .industry-card > summary {
    min-height: 250px;
  }

  .industry-card > summary h3 {
    margin-top: 54px;
  }

  .portfolio-image {
    height: 220px;
  }
}

/* Stronger, fully editable company statement */
.corporate-site .about {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 16%, rgba(23, 165, 245, 0.25), transparent 30%),
    linear-gradient(135deg, #03101d 0%, #071b2f 54%, #0b2a45 100%);
}

.corporate-site .about::before {
  position: absolute;
  right: -2vw;
  bottom: -0.22em;
  content: "MAGCOM";
  color: rgba(124, 202, 247, 0.045);
  font-size: clamp(130px, 20vw, 330px);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.8;
  pointer-events: none;
}

.corporate-site .about-grid {
  position: relative;
  z-index: 1;
  align-items: start;
  gap: 70px 90px;
}

.corporate-site .about-statement h2 {
  color: #fff;
}

.about-highlight {
  padding-left: 24px;
  border-left: 3px solid var(--blue);
  color: #fff !important;
  font-size: clamp(23px, 2.2vw, 34px) !important;
  font-weight: 520;
  letter-spacing: -0.035em;
  line-height: 1.28 !important;
}

.about-description {
  max-width: 680px;
  margin-top: 30px !important;
  color: #9fb3c5 !important;
  font-size: 15px !important;
}

.about-points {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(177, 205, 230, 0.22);
  border-left: 1px solid rgba(177, 205, 230, 0.22);
}

.about-points > div {
  min-height: 128px;
  padding: 26px;
  border-right: 1px solid rgba(177, 205, 230, 0.22);
  border-bottom: 1px solid rgba(177, 205, 230, 0.22);
  background: rgba(255, 255, 255, 0.025);
}

.about-points span {
  display: block;
  margin-bottom: 26px;
  color: var(--blue-light);
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
}

.about-points strong {
  color: #d8e7f2;
  font-size: 15px;
  font-weight: 560;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .about-points {
    grid-template-columns: 1fr;
  }

  .about-points > div {
    min-height: 100px;
  }
}

@media (max-width: 480px) {
  .brand img {width: 80%;}
  .corporate-site .site-header, .corporate-site .site-header::before {min-height: 60px;}
  .mobile-menu nav {top: 52px;}
  .section-heading h2, .contact-preview h2, .about-statement h2, .contact-intro h2, .corporate-proof-heading h2{font-size: clamp(32px, 2.1vw, 70px);}
}
