:root {
  --ink: #07182d;
  --navy: #06172b;
  --navy-2: #0d2748;
  --blue: #0d63b7;
  --sky: #4aa7ff;
  --muted: #657384;
  --soft: #f3f7fb;
  --surface: #ffffff;
  --line: rgba(7, 24, 45, 0.12);
  --shadow: 0 24px 60px rgba(6, 23, 43, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 34px));
  min-height: 58px;
  padding: 10px 18px;
  background: rgba(5, 18, 41, 0.76);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: linear-gradient(135deg, #0f77d8, #7dc4ff);
  color: #ffffff;
  border-radius: 8px;
  font-size: 0.9rem;
}

.brand-text {
  font-size: 0.88rem;
  letter-spacing: 0.18em;
}

.site-menu,
.footer-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-menu a,
.footer-menu a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.site-menu > li:last-child > a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 10px 17px;
  background: #ffffff;
  border-radius: 999px;
  color: var(--navy);
  font-weight: 800;
}

.site-menu a:hover,
.footer-menu a:hover {
  color: #ffffff;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #ffffff;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 0.98;
}

p {
  margin-top: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  background: #ffffff;
  color: var(--ink);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.tech-hero {
  position: relative;
  min-height: 680px;
  padding: 130px 0 70px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 17, 32, 0.96) 0%, rgba(5, 17, 32, 0.78) 46%, rgba(5, 17, 32, 0.42) 100%),
    url("https://www.vinci-facilities.be/app/uploads/sites/130/2025/07/CPE-1-scaled.jpg") center/cover;
  color: #ffffff;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 50%, rgba(36, 118, 204, 0.26), transparent 34%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(40px, 7vw, 110px);
  align-items: end;
}

.hero-copyblock {
  max-width: 650px;
}

.hero-copyblock .eyebrow {
  color: #7ec2ff;
}

.hero-copyblock h1 {
  margin-bottom: 20px;
  font-size: clamp(3.2rem, 7vw, 6.9rem);
  letter-spacing: 0;
}

.hero-copyblock p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-stats {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.dot-grid {
  display: grid;
  grid-template-columns: repeat(4, 8px);
  gap: 7px;
}

.dot-grid span {
  width: 8px;
  height: 8px;
  background: #63b8ff;
  border-radius: 50%;
}

.hero-stats article {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stats strong {
  display: block;
  margin-bottom: 4px;
  font-size: 2.15rem;
  line-height: 1;
}

.hero-stats p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.quick-links {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: -38px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.quick-links a {
  min-height: 88px;
  padding: 20px 22px;
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.93rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.quick-links a:last-child {
  border-right: 0;
}

.quick-links span {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section {
  padding-block: 105px;
}

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

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 52px;
  align-items: end;
}

.section-heading h2,
.cert-panel h2,
.cta-band h2 {
  margin-bottom: 0;
  font-size: clamp(2.125rem, 4.4vw, 3.625rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.section-heading p,
.cert-panel p,
.cta-band p {
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.75;
}

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

.service-card {
  position: relative;
  display: flex;
  min-height: 420px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 28px;
  background: var(--navy);
  border-radius: 30px;
  box-shadow: 0 18px 40px rgba(6, 23, 43, 0.12);
  color: #ffffff;
}

.service-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(6, 23, 43, 0.1), rgba(6, 23, 43, 0.9));
}

.service-card > * {
  position: relative;
}

.service-card span,
.value-grid span {
  color: #62b8ff;
  font-size: 0.75rem;
  font-weight: 800;
}

.service-card h3 {
  margin: 12px 0;
  font-size: 1.56rem;
  line-height: 1.05;
}

.service-card p,
.service-card li {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.55;
}

.service-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
}

.heat-card {
  background: url("https://www.vinci-facilities.be/app/uploads/sites/130/2025/07/CPE-1-scaled.jpg") center/cover;
}

.support-card {
  background: url("https://www.vinci-facilities.be/app/uploads/sites/130/2024/05/vinci-kruibeke-6046-2.jpg") center/cover;
}

.dark-card {
  background: url("https://www.vinci-facilities.be/app/uploads/sites/130/2025/07/CPE-1-scaled.jpg") center/cover;
}

.blue-card {
  background: linear-gradient(160deg, #0b2a4d, #0b57a0);
}

.timeline-band {
  padding: clamp(82px, 10vw, 130px) 0;
  background:
    radial-gradient(circle at 92% 14%, rgba(22, 103, 189, 0.36), transparent 28%),
    var(--navy);
  color: #ffffff;
}

.timeline-band .section-heading p {
  color: rgba(255, 255, 255, 0.7);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.07);
}

.timeline article {
  min-height: 230px;
  padding: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

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

.timeline strong {
  display: block;
  margin-bottom: 18px;
  color: #77bdff;
  font-size: 1.75rem;
}

.timeline b {
  display: block;
  margin-bottom: 8px;
}

.timeline span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
}

.knowhow-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 78px);
  align-items: center;
}

.image-panel {
  overflow: hidden;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  aspect-ratio: 1.22 / 1;
  object-fit: cover;
}

.knowhow-section h2 {
  margin-bottom: 28px;
  font-size: clamp(2.125rem, 4.4vw, 3.625rem);
  letter-spacing: -0.055em;
}

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

.value-grid article {
  min-height: 168px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.value-grid h3 {
  margin: 12px 0 8px;
  font-size: 1.15rem;
}

.value-grid p,
.experience-grid p,
.sector-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.sectors-section {
  background: var(--soft);
}

.sector-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-template-rows: 250px 250px;
  gap: 18px;
}

.sector-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  background: var(--navy);
  border-radius: 28px;
  color: #ffffff;
}

.sector-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.large-sector {
  grid-row: span 2;
  min-height: 518px;
  background:
    linear-gradient(180deg, rgba(6, 23, 43, 0.18), rgba(6, 23, 43, 0.92)),
    url("https://www.vinci-facilities.be/app/uploads/sites/130/2025/07/CPE-1-scaled.jpg") center/cover;
}

.photo-sector {
  background:
    linear-gradient(180deg, rgba(6, 23, 43, 0.18), rgba(6, 23, 43, 0.86)),
    url("https://www.vinci-facilities.be/app/uploads/sites/130/2024/05/vinci-kruibeke-6046-2.jpg") center/cover;
}

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

.experience-grid article {
  min-height: 285px;
  padding: 32px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 28px;
}

.experience-grid span {
  display: block;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.experience-grid h3 {
  margin: 24px 0 12px;
  font-size: 1.56rem;
  line-height: 1.05;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.tag-row span {
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.cert-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: 36px;
  margin-bottom: clamp(76px, 10vw, 120px);
  padding: 48px;
  background: var(--navy);
  border-radius: 34px;
  color: #ffffff;
}

.cert-panel p {
  color: rgba(255, 255, 255, 0.68);
}

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

.cert-grid a {
  min-height: 112px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
  text-decoration: none;
}

.cta-band {
  padding: clamp(70px, 9vw, 115px) 0;
  background: linear-gradient(135deg, #092342, #0e5a9f);
  color: #ffffff;
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}

.cta-band p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.72);
}

.content-page {
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 72px);
  background: #ffffff;
}

.page-layout,
.archive-page {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.page-hero {
  margin-bottom: clamp(36px, 6vw, 72px);
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 5rem);
}

.page-hero p,
.entry-content p {
  color: var(--muted);
}

.featured-image {
  margin: 0 0 48px;
}

.featured-image img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.entry-content {
  width: min(900px, 100%);
  font-size: 1.05rem;
}

.entry-content > * {
  margin-bottom: 24px;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 42px;
}

.wp-block-gallery {
  gap: 18px;
}

.post-list {
  display: grid;
  gap: 22px;
}

.post-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.post-card a {
  text-decoration: none;
}

.post-meta {
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 36px clamp(20px, 5vw, 72px);
  background: #030b16;
  color: #ffffff;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.62);
}

.site-footer .footer-brand {
  color: #ffffff;
}

@media (max-width: 980px) {
  .hero-grid,
  .split-heading,
  .knowhow-section,
  .cert-panel,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .service-cards,
  .quick-links,
  .timeline,
  .experience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 70px;
    right: 20px;
    left: 20px;
    display: none;
    padding: 22px;
    background: var(--navy);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: block;
  }

  .site-menu {
    display: grid;
    gap: 16px;
  }

  .tech-hero {
    min-height: auto;
    padding-bottom: 84px;
  }

  .hero-stats {
    max-width: 420px;
  }

  .quick-links,
  .service-cards,
  .timeline,
  .sector-grid,
  .experience-grid,
  .value-grid,
  .cert-grid {
    grid-template-columns: 1fr;
  }

  .timeline article {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

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

  .large-sector {
    grid-row: auto;
    min-height: 260px;
  }

  .site-footer {
    display: grid;
  }

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

@media (max-width: 520px) {
  .wrap {
    width: min(100% - 28px, 1180px);
  }

  .hero-copyblock h1 {
    font-size: 3rem;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }
}

/* Live page-id-79 carries page-level CSS. These overrides align its desktop
   service and sector sections with the Vercel reference sizing. */
body.page-id-79 .head {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) !important;
  gap: 52px !important;
  align-items: end !important;
  margin-bottom: 48px !important;
}

body.page-id-79 .head h2,
body.page-id-79 #services .head h2,
body.page-id-79 #sectors .head h2 {
  margin: 10px 0 0 !important;
  font-size: clamp(34px, 4.4vw, 58px) !important;
  line-height: 1 !important;
  letter-spacing: -0.055em !important;
}

body.page-id-79 .copy {
  font-size: 18px !important;
  line-height: 1.75 !important;
}

body.page-id-79 .cards {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

body.page-id-79 .card {
  min-height: 420px !important;
  border-radius: 30px !important;
}

body.page-id-79 .card div {
  padding: 28px !important;
}

body.page-id-79 .card h3 {
  margin: 12px 0 !important;
  font-size: 25px !important;
  line-height: 1.05 !important;
  letter-spacing: -0.025em !important;
}

body.page-id-79 .card p,
body.page-id-79 .card li {
  font-size: 16px !important;
  line-height: 1.55 !important;
}

body.page-id-79 .solid {
  padding: 30px !important;
}

body.page-id-79 .solid div {
  padding: 0 !important;
}

body.page-id-79 .sectors {
  grid-template-columns: 1.2fr 0.8fr 0.8fr !important;
  grid-template-rows: 250px 250px !important;
  gap: 18px !important;
}

body.page-id-79 .sector {
  min-height: 250px !important;
  padding: 28px !important;
  border-radius: 28px !important;
}

body.page-id-79 .sector:first-child {
  grid-row: span 2 !important;
  min-height: 518px !important;
}

body.page-id-79 .sector h3 {
  margin: 0 0 8px !important;
  font-size: 25px !important;
  line-height: 1.05 !important;
}

body.page-id-79 .sector p {
  font-size: 16px !important;
  line-height: 1.55 !important;
}

body.page-id-79 .btn {
  padding: 16px 22px !important;
  border-radius: 999px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

@media (max-width: 920px) {
  body.page-id-79 .head {
    grid-template-columns: 1fr !important;
  }

  body.page-id-79 .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.page-id-79 .sectors {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
  }

  body.page-id-79 .sector,
  body.page-id-79 .sector:first-child {
    min-height: 300px !important;
    grid-row: auto !important;
  }
}

@media (max-width: 620px) {
  body.page-id-79 .cards {
    grid-template-columns: 1fr !important;
  }
}
