:root {
  --orange: #db6a02;
  --blue: #002c42;
  --white: #ffffff;
  --text: #0d2430;
  --muted: #4c5f6a;
  --light-bg: #f4f7f9;
  --border: #d9e1e6;
  --shadow: 0 14px 40px rgba(0, 44, 66, 0.1);
  --radius: 14px;
  --header-h: 80px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: "Gloriola";
  src: url("../fonts/GloriolaStd.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Gloriola";
  src: url("../fonts/GloriolaStd-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Gloriola";
  src: url("../fonts/GloriolaStd-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Gloriola", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

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

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 82px 0;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--blue);
  margin-bottom: 14px;
  line-height: 1.2;
}

.section-text {
  max-width: 760px;
  color: var(--muted);
}

.highlight {
  color: var(--orange);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 22px;
  min-height: 48px;
  font-weight: 600;
  border: 2px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.btn::after {
  content: "→";
  margin-left: 8px;
  transition: transform .2s ease;
}

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

.btn:hover::after {
  transform: translateX(2px);
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(219, 106, 2, 0.3);
}

.btn-secondary {
  background: var(--blue);
  color: var(--white);
}

.btn-outline {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.46);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.62);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: rgba(0, 44, 66, 0.35);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 5px 28px rgba(0, 44, 66, 0.12);
}

.header .container {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo img {
  height: 44px;
  width: auto;
  transition: transform .28s ease, filter .28s ease;
}

.logo:hover img {
  transform: translateY(-1px) scale(1.03) rotate(-0.8deg);
  filter: brightness(1.04);
}

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

.nav > a,
.drop-toggle {
  color: var(--white);
  font-weight: 600;
  font-size: .95rem;
}

.header.scrolled .nav > a,
.header.scrolled .drop-toggle {
  color: var(--blue);
}

.nav > a.active {
  color: var(--orange);
}

.drop {
  position: relative;
}

.drop-toggle {
  background: none;
  border: 0;
  cursor: pointer;
}

.drop-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 240px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 10px;
  display: none;
}

.drop-menu a {
  display: block;
  padding: 10px;
  border-radius: 8px;
  color: var(--blue);
}

.drop-menu a:hover,
.drop-menu a.active {
  background: #eef5f8;
  color: var(--orange);
}

.drop.open .drop-menu {
  display: block;
}

@media (min-width: 821px) {
  .drop.open .drop-menu {
    display: none;
  }

  .drop:hover .drop-menu {
    display: block;
  }
}

.mobile-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--white);
  font-size: 1.6rem;
}

.header.scrolled .mobile-toggle {
  color: var(--blue);
}

.hero {
  position: relative;
  min-height: 68vh;
  color: var(--white);
  margin-top: var(--header-h);
  display: grid;
  align-items: center;
  overflow: hidden;
}

.home-page .hero {
  margin-top: 0;
  background: var(--blue);
}

.home-page .hero-bg {
  --parallax-y: 0px;
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 1) 88%);
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 1) 88%);
  transform: translateY(var(--parallax-y));
}

.home-page .hero-content {
  text-align: left;
  margin: 0;
  max-width: 680px;
  position: relative;
}

.home-page .hero .container {
  display: block;
}

.home-page .hero-content::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  left: -80px;
  top: -60px;
  background:
    radial-gradient(circle, rgba(219, 106, 2, 0.3) 0%, rgba(219, 106, 2, 0) 65%),
    radial-gradient(circle at 70% 70%, rgba(0, 44, 66, 0.35) 0%, rgba(0, 44, 66, 0) 68%);
  filter: blur(10px);
  z-index: -1;
  pointer-events: none;
  animation: glowDrift 9s ease-in-out infinite alternate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 44, 66, 0.87), rgba(0, 44, 66, 0.58));
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 60px 0;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero p {
  max-width: 650px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, .9);
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  flex-wrap: nowrap;
}

.hero-buttons .btn-contact {
  margin-top: 0;
}

.hero-buttons .btn,
.hero-buttons .btn-primary,
.hero-buttons .btn-glass {
  height: 50px;
  min-height: 50px;
  padding: 0 24px;
  line-height: 1;
  font-size: 0.95rem;
  border: 2px solid transparent;
  border-radius: 999px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-buttons .btn-primary {
  border-color: transparent;
}

.hero-buttons .btn-glass {
  border-color: rgba(255, 255, 255, 0.46);
}

.home-page .hero-buttons .btn-primary {
  animation: breathingCta 3.8s ease-in-out infinite;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 44, 66, 0.06);
  transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.card h3 {
  color: var(--blue);
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  font-size: .95rem;
}

.card-content .btn {
  margin-top: 25px;
}

.btn-contact {
  margin-top: 25px;
}

.cta .btn-contact {
  position: relative;
  overflow: hidden;
}

.cta .btn-contact::before {
  content: "";
  position: absolute;
  top: -35%;
  left: -160%;
  width: 70%;
  height: 170%;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.38) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-18deg);
  animation: ctaSweep 6.5s ease-in-out infinite;
  pointer-events: none;
}

.cta .btn-contact {
  margin-top: 0;
}

.home-pillars .section-title {
  color: var(--white);
}

.blue-block {
  background: var(--blue);
  color: var(--white);
}

.blue-block .section-title,
.blue-block h3 {
  color: var(--white);
}

.blue-block .section-text,
.blue-block p,
.blue-block li {
  color: rgba(255, 255, 255, .86);
}

.list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 20px;
  margin-top: 16px;
}

.list li {
  list-style: none;
  position: relative;
  padding-left: 18px;
}

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

.page-hero {
  margin-top: 0;
  padding: calc(90px + var(--header-h)) 0 60px;
  background: var(--blue);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 44, 66, 0.87), rgba(0, 44, 66, 0.58));
  z-index: 1;
}

.page-hero-bg {
  --parallax-y: 0px;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 1) 72%);
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 1) 72%);
  transform: translateY(var(--parallax-y));
  z-index: 0;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero p {
  color: rgba(255, 255, 255, .86);
  max-width: 780px;
}

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

.split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split img.stijn-photo {
  box-shadow: none;
  max-height: 450px;
  width: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
}

.stijn-photo-underline {
  border-bottom: 1px solid var(--blue);
}

.cta {
  border-radius: var(--radius);
  padding: 30px;
  background: var(--light-bg);
  border: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer {
  background: var(--blue);
  color: var(--white);
  padding: 54px 0 24px;
  margin-top: 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.footer-nav,
.footer-services {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

@media (max-width: 1100px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

  .footer-nav,
  .footer-services {
    width: 100%;
  }
}

.footer h4 {
  margin-bottom: 6px;
  color: var(--orange);
}

.footer-brand-text {
  margin-top: 50px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .2);
  padding-top: 15px;
  color: rgba(255, 255, 255, .78);
  font-size: .9rem;
}

.map-wrap {
  margin-top: 22px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
}

.map-full {
  width: 100%;
  margin-top: 30px;
}

.map-full iframe {
  width: 100%;
  height: 470px;
  border: 0;
  display: block;
}

.prefooter-services {
  background: var(--white);
  padding: 24px 0 18px;
  border-top: 1px solid var(--blue);
}

.prefooter-services.no-top-line {
  border-top: 0;
  border-bottom: 1px solid var(--blue);
}

.service-icons-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 34px;
  flex-wrap: wrap;
}

.service-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s ease;
}

.service-icon-link:hover {
  transform: translateY(-8px);
}

.service-icon-link img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.prefooter-contactbar {
  background: var(--orange);
  color: var(--white);
  padding: 14px 0;
}

.prefooter-contactbar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  font-weight: 600;
  flex-wrap: wrap;
}

.bolt-sep {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes glowDrift {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.85;
  }
  100% {
    transform: translate(18px, 10px) scale(1.06);
    opacity: 1;
  }
}

@keyframes breathingCta {
  0%, 100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 10px 24px rgba(219, 106, 2, 0.28);
  }
  50% {
    transform: translateY(-1px) scale(1.015);
    box-shadow: 0 14px 30px rgba(219, 106, 2, 0.38);
  }
}

@keyframes ctaSweep {
  0%, 72%, 100% {
    left: -160%;
    opacity: 0;
  }
  78% {
    opacity: 1;
  }
  90% {
    left: 190%;
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .hero-content::before,
  .home-page .hero-buttons .btn-primary,
  .home-page .hero-bg,
  .cta .btn-contact::before {
    animation: none;
  }
}

@media (max-width: 980px) {
  .page-hero {
    padding: calc(56px + var(--header-h)) 0 56px;
  }

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

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

@media (max-width: 980px) {
  .cta {
    text-align: center;
    justify-content: center;
  }

  .cta > div {
    width: 100%;
  }

  .cta .btn-contact {
    margin-top: 25px;
    align-self: center;
  }

  .home-page .hero .container {
    padding-top: calc(var(--header-h) + 18px);
  }

  .mobile-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 4%;
    gap: 14px;
  }

  .nav > a,
  .nav .drop-toggle {
    color: var(--blue);
  }

  .nav.open {
    display: flex;
  }

  .drop.open .drop-menu {
    display: none;
  }

  .drop-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    margin-top: 8px;
    display: none !important;
  }
}

@media (max-width: 640px) {
  .prefooter-contactbar .container {
    font-size: 0.82rem;
    gap: 8px;
    flex-wrap: nowrap;
  }

  .bolt-sep {
    width: 14px;
    height: 14px;
  }

  .home-page .hero {
    min-height: 54vh;
  }

  .home-page .hero-content {
    padding: 38px 0;
  }

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