/* ==========================
   Root Variables & Base
========================== */
:root {
  --primary: #cc1010;
  --primary-dark: #a50d0d;
  --primary-light: #e63030;
  --black: #0a0a0a;
  --surface: #141414;
  --card: #1c1c1c;
  --white: #ffffff;
  --text: #f0f0f0;
  --text-muted: #9ca3af;
  --border: #2a2a2a;
  --success: #22c55e;
  --gold: #f59e0b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--black);
  position: relative;
  isolation: isolate;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* ==========================
   Global Background Texture
========================== */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 0.8)),
    url("../assets/images/content/barts-upload-hq-fleet.png") center / cover no-repeat;
  opacity: 0.15;
  filter: saturate(0.82) contrast(1.04);
  transform: scale(1.03);
}

body > * {
  position: relative;
  z-index: 1;
}

body.loaded {
  opacity: 1;
}

body.no-scroll {
  overflow: hidden;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

h1,
h2,
h3 {
  font-weight: 900;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

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

main {
  min-height: 60vh;
}

section {
  position: relative;
  padding: 5rem 0;
}

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

.home-page .container {
  width: min(1140px, 88%);
}

.divider-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  border: 0;
  margin: 0;
}

.text-muted {
  color: var(--text-muted);
}

.section-label {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: var(--primary);
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.2rem;
}

.section-subtitle {
  max-width: 64ch;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
}

/* ==========================
   Accessibility
========================== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 1200;
  background: var(--primary);
  color: var(--white);
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* ==========================
   Buttons
========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.72rem 1.2rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease,
    box-shadow 0.25s ease, color 0.25s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(204, 16, 16, 0.35);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--primary-dark);
  box-shadow: 0 8px 24px rgba(204, 16, 16, 0.45);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--card);
  border-color: var(--border);
  color: var(--text);
}

.btn-dark:hover,
.btn-dark:focus-visible {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-whatsapp {
  background: var(--success);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(34, 197, 94, 0.35);
}

.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  background: #16a34a;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.42);
}

/* ==========================
   Header & Navigation
========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: linear-gradient(180deg, rgba(36, 36, 36, 0.9), rgba(26, 26, 26, 0.9));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  background: linear-gradient(180deg, rgba(34, 34, 34, 0.97), rgba(24, 24, 24, 0.97));
  border-bottom: 1px solid var(--primary);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 84px;
}

.logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.logo-wrap img {
  height: 48px;
  width: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-left: auto;
}

.nav-link {
  position: relative;
  color: var(--text-muted);
  font-weight: 600;
  padding: 0.35rem 0;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--white);
}

.nav-link.active {
  color: var(--white);
  font-weight: 700;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.2rem;
  height: 2px;
  background: var(--primary);
}

.nav-cta {
  margin-left: 1rem;
  white-space: nowrap;
}

.nav-cta.active-cta {
  background: var(--primary-dark);
  box-shadow: 0 8px 24px rgba(204, 16, 16, 0.45);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 8px;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--primary);
  margin: 5px 0;
  border-radius: 2px;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: stretch;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-panel {
  margin-left: auto;
  width: min(420px, 100%);
  background: var(--black);
  border-left: 1px solid var(--primary);
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}

.mobile-menu.open .mobile-menu-panel {
  transform: translateX(0);
}

.mobile-menu-head {
  display: flex;
  justify-content: flex-end;
}

.mobile-close {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  min-height: 44px;
  padding: 0.6rem 0.9rem;
  cursor: pointer;
}

.mobile-nav {
  display: grid;
  gap: 0.6rem;
  margin: 2rem 0;
}

.mobile-nav .nav-link {
  color: var(--white);
  font-size: 1.55rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.mobile-nav .nav-link.active {
  color: var(--primary);
}

.mobile-menu .nav-cta {
  margin: 0;
}

/* ==========================
   Hero
========================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 0 4rem;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 2rem;
}

.hero-watermark {
  position: absolute;
  top: 3rem;
  right: -8vw;
  width: min(40vw, 620px);
  opacity: 0.04;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 55ch;
}

.hero-label {
  display: inline-block;
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary);
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  margin-bottom: 1.2rem;
}

.hero p {
  color: var(--text-muted);
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
  background: #3d0505;
  border-radius: 20px;
  border: 1px solid rgba(204, 16, 16, 0.45);
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.95) saturate(1.08) contrast(1.04);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(10, 10, 10, 0.12), rgba(61, 5, 5, 0.18));
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 1.8rem;
  transform: translateX(-50%);
  color: var(--primary);
}

.scroll-indicator svg {
  width: 22px;
  height: 22px;
}

/* ==========================
   Stats
========================== */
.stats-bar {
  background: var(--primary);
  padding: 1.6rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-item {
  position: relative;
  text-align: center;
  padding: 0.5rem 1rem;
}

.stat-item + .stat-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: rgba(255, 255, 255, 0.45);
}

.stat-number {
  display: block;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 900;
  line-height: 1.1;
}

.stat-label {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
}

/* ==========================
   Cards & Grids
========================== */
.services-grid,
.team-grid,
.projects-grid,
.cert-grid {
  display: grid;
  gap: 1.3rem;
}

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

.projects-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.team-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cert-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.project-card,
.team-card,
.cert-card,
.info-panel,
.contact-form,
.timeline-wrap,
.testimonial-slide {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.service-card,
.project-card,
.team-card,
.cert-card {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover,
.project-card:hover,
.team-card:hover,
.cert-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.service-card {
  border-top: 3px solid var(--primary);
  padding: 1.4rem;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(204, 16, 16, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1rem;
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  margin-bottom: 0.7rem;
  font-size: 1.2rem;
}

.service-card p {
  color: var(--text-muted);
}

.more-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline transparent;
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s ease;
}

.more-link:hover,
.more-link:focus-visible {
  text-decoration-color: var(--primary);
}

/* ==========================
   Why Barts
========================== */
.why-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1fr 1fr;
}

.usp-list {
  display: grid;
  gap: 1rem;
}

.usp-item {
  border-left: 3px solid var(--primary);
  background: var(--card);
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 1rem 1rem 1rem 1.15rem;
}

.usp-item h3 {
  margin-bottom: 0.35rem;
  font-size: 1.15rem;
}

.usp-item p {
  margin: 0;
  color: var(--text-muted);
}

.why-block {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #3d0505;
  border: 1px solid rgba(204, 16, 16, 0.4);
  min-height: 320px;
  padding: 1.5rem;
  overflow: hidden;
}

.why-block-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.25), rgba(10, 10, 10, 0.7));
}

.why-block-photo.why-block-clean::after {
  display: none;
}

.why-block-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.58;
}

.why-block-photo.why-block-clean .why-block-image {
  opacity: 1;
}

.why-highlight {
  position: relative;
  z-index: 1;
  color: var(--white);
  text-align: center;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.3;
}

/* ==========================
   Testimonials
========================== */
.testimonial-carousel {
  position: relative;
}

.testimonial-track {
  display: flex;
  transition: transform 0.45s ease;
}

.testimonial-slide {
  min-width: 100%;
  padding: 1.4rem;
  border-left: 3px solid var(--primary);
}

.stars {
  color: var(--gold);
  letter-spacing: 0.15em;
  margin-bottom: 0.8rem;
}

.testimonial-name {
  margin: 0;
  font-weight: 700;
}

.testimonial-city {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.carousel-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid var(--primary);
  background: transparent;
  cursor: pointer;
}

.carousel-dot.active {
  background: var(--primary);
}

/* ==========================
   Page Hero
========================== */
.page-hero {
  padding: 8rem 0 3.5rem;
  border-bottom: 1px solid var(--border);
}

.page-hero .accent-line {
  width: 110px;
  height: 4px;
  background: var(--primary);
  border-radius: 999px;
  margin-top: 0.8rem;
}

/* ==========================
   Filters & Projects
========================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.7rem;
}

.filter-btn {
  min-height: 44px;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-btn:hover,
.filter-btn:focus-visible {
  color: var(--primary);
  border-color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.project-card {
  cursor: pointer;
  overflow: hidden;
}

.project-card.hidden {
  display: none;
}

.project-image {
  position: relative;
  aspect-ratio: 16 / 9;
  height: auto;
  background: linear-gradient(140deg, var(--primary-dark), var(--black));
  display: grid;
  place-items: center;
  padding: 0;
  overflow: hidden;
}

.project-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: none;
}

.project-image::after {
  display: none;
}

.project-body {
  padding: 1.1rem 1.15rem 1.2rem;
}

.project-category {
  display: inline-flex;
  margin-bottom: 0.8rem;
  background: rgba(204, 16, 16, 0.25);
  color: var(--white);
  border: 1px solid rgba(204, 16, 16, 0.6);
}

.project-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.45rem;
}

.project-body p {
  color: var(--text-muted);
  margin: 0;
}

/* ==========================
   Modal
========================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1400;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.open {
  display: flex;
}

.modal-card {
  position: relative;
  width: min(760px, 100%);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
}

.modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.modal-image {
  position: relative;
  aspect-ratio: 4 / 3;
  height: auto;
  border-radius: 12px;
  margin-bottom: 1rem;
  background: var(--black);
  overflow: hidden;
  display: grid;
  place-items: center;
}

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

.modal-image-fallback {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--white);
}

.modal-text {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

/* ==========================
   Timeline
========================== */
.timeline-wrap {
  padding: 1.4rem;
}

.timeline {
  position: relative;
  padding-left: 1.2rem;
  border-left: 2px solid var(--primary);
}

.timeline-item {
  position: relative;
  padding-left: 1.1rem;
  padding-bottom: 1.3rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -0.48rem;
  top: 0.1rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
}

.timeline-year {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

/* ==========================
   Team & Certifications
========================== */
.team-card,
.cert-card {
  padding: 1.2rem;
}

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

.photo-card {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.photo-card-link {
  display: block;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.photo-card-link:hover,
.photo-card-link:focus-visible {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.photo-card figcaption,
.photo-card .photo-card-caption {
  display: block;
  padding: 0.95rem 1rem 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.photo-card-link .photo-card-caption {
  position: relative;
  padding-right: 2.1rem;
}

.photo-card-link .photo-card-caption::after {
  content: "→";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  opacity: 0.75;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.photo-card-link:hover .photo-card-caption::after,
.photo-card-link:focus-visible .photo-card-caption::after {
  opacity: 1;
  transform: translate(3px, -50%);
}

.photo-card-overlay {
  position: relative;
  overflow: hidden;
}

.photo-card-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.08) 30%, rgba(10, 10, 10, 0.78) 100%);
  transition: background 0.25s ease;
}

.photo-overlay-content {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.95rem;
  z-index: 1;
  display: grid;
  gap: 0.2rem;
}

.photo-overlay-title {
  color: var(--white);
  font-weight: 800;
  font-size: 1.03rem;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.photo-overlay-cta {
  color: rgba(240, 240, 240, 0.9);
  font-size: 0.86rem;
  letter-spacing: 0.03em;
}

.photo-card-overlay:hover::before,
.photo-card-overlay:focus-visible::before {
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.06) 26%, rgba(10, 10, 10, 0.7) 100%);
}

.photo-card-overlay:hover .photo-overlay-cta,
.photo-card-overlay:focus-visible .photo-overlay-cta {
  color: var(--white);
}

/* ==========================
   Barts Op Locatie Page
========================== */
.location-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.location-nav .btn {
  min-height: 40px;
  font-size: 0.82rem;
}

.location-topic {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.4rem;
  align-items: stretch;
  scroll-margin-top: 110px;
}

.location-topic + .location-topic {
  margin-top: 1.4rem;
}

.location-topic-media {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.location-topic-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.location-topic-content {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: 16px;
  padding: 1.25rem;
}

.location-topic-content h3 {
  margin-bottom: 0.7rem;
}

.location-topic-content p {
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.location-topic-note {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(204, 16, 16, 0.1);
  border: 1px solid rgba(204, 16, 16, 0.35);
  color: var(--text);
  font-size: 0.95rem;
}

.avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: linear-gradient(140deg, var(--primary), var(--primary-dark));
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
}

.team-card h3,
.cert-card h3 {
  margin-bottom: 0.3rem;
}

.team-card p,
.cert-card p {
  margin: 0;
  color: var(--text-muted);
}

/* ==========================
   Contact
========================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.4rem;
}

.contact-form,
.info-panel {
  padding: 1.3rem;
}

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

.form-group {
  display: grid;
  gap: 0.4rem;
}

.form-group label {
  font-weight: 600;
}

.form-group input:not([type="checkbox"]),
.form-group textarea,
.form-group select {
  width: 100%;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #101010;
  color: var(--text);
  padding: 0.7rem 0.85rem;
  font: inherit;
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.checkbox-row input {
  margin-top: 0.2rem;
}

.checkbox-row input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-height: 18px;
  padding: 0;
  border-radius: 5px;
  border: 1px solid var(--border);
  background: #0f0f0f;
  display: grid;
  place-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

.checkbox-row input[type="checkbox"]::after {
  content: "";
  width: 8px;
  height: 5px;
  border: 2px solid var(--white);
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg) scale(0);
  transform-origin: center;
  transition: transform 0.15s ease;
  margin-top: -1px;
}

.checkbox-row input[type="checkbox"]:checked {
  background: var(--primary);
  border-color: var(--primary);
}

.checkbox-row input[type="checkbox"]:checked::after {
  transform: rotate(-45deg) scale(1);
}

.checkbox-row input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.error-text {
  min-height: 1.2em;
  color: var(--primary-light);
  font-size: 0.85rem;
}

.form-success {
  display: none;
  margin-top: 1rem;
  border: 1px solid var(--success);
  background: rgba(34, 197, 94, 0.14);
  color: var(--success);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  font-weight: 600;
}

.form-success.show {
  display: block;
}

.info-list {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.info-list strong {
  display: block;
  color: var(--white);
}

/* Subtiele extra ruimte onder de belknop in contact info */
.info-panel .btn-whatsapp {
  margin-bottom: 0.9rem;
}

/* Google Maps Embed */
.maps-wrapper {
  position: relative;
  width: 100%;
  height: 420px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 0 0 1px rgba(204, 16, 16, 0.2), 0 8px 32px rgba(0, 0, 0, 0.4);
}

.maps-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: invert(90%) hue-rotate(180deg) saturate(0.9) brightness(0.85);
}

.maps-wrapper:hover iframe {
  filter: invert(85%) hue-rotate(180deg) saturate(1) brightness(0.9);
  transition: filter 0.3s ease;
}

.maps-address-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.maps-address-bar svg {
  color: var(--primary);
  flex-shrink: 0;
}

.maps-address-bar strong {
  color: var(--text);
}

.maps-address-bar + .maps-wrapper {
  border-radius: 0 0 12px 12px;
}

.maps-open-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.maps-open-link:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

/* ==========================
   Footer
========================== */
.site-footer {
  background: #050505;
  border-top: 4px solid var(--primary);
  padding-top: 2.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 1.3rem;
}

.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 8px;
  padding: 4px 10px;
  margin-bottom: 0.9rem;
}

.footer-logo-wrap img {
  height: 40px;
  width: auto;
}

.footer-title {
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.footer-links {
  display: grid;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--white);
}

.social-links {
  display: flex;
  gap: 0.7rem;
  margin-top: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--primary);
  border-color: var(--primary);
}

.social-link svg {
  width: 19px;
  height: 19px;
}

.footer-bottom {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
}

.footer-bottom-content {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-bottom-content a:hover,
.footer-bottom-content a:focus-visible {
  color: var(--white);
}

/* ==========================
   Klantenportaal
========================== */
.portal-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.4rem;
}

.portal-benefits {
  display: grid;
  gap: 0.7rem;
  margin: 0 0 1.2rem;
}

.portal-benefits li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--text);
}

.portal-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.56rem;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--primary);
}

.portal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.portal-panel {
  padding: 1.3rem;
}

.portal-panel h3 {
  margin-bottom: 0.9rem;
  font-size: 1.45rem;
}

.portal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.95rem;
}

.portal-tab {
  min-height: 44px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.portal-tab:hover,
.portal-tab:focus-visible {
  color: var(--text);
  border-color: var(--primary);
}

.portal-tab.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.portal-tab-panel {
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: 12px;
  background: var(--surface);
  padding: 1rem;
}

.portal-tab-panel h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.portal-tab-panel p {
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.portal-panel-list {
  display: grid;
  gap: 0.45rem;
}

.portal-panel-list li {
  color: var(--text);
  padding-left: 1rem;
  position: relative;
}

.portal-panel-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
}

.portal-stamp {
  margin: 0.85rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.portal-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.portal-step-card {
  position: relative;
  padding: 1.3rem;
}

.portal-step-number {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: rgba(204, 16, 16, 0.17);
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 0.7rem;
}

.portal-step-card p {
  color: var(--text-muted);
  margin: 0;
}

.portal-shortcut-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem;
}

.portal-shortcut-card {
  padding: 1.3rem;
}

.portal-shortcut-card h3 {
  margin-bottom: 0.75rem;
}

.shortcut-flow {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
}

.shortcut-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.34rem 0.66rem;
  color: var(--text);
}

.shortcut-chip svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.shortcut-chip span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.shortcut-arrow {
  color: var(--primary);
  font-weight: 700;
  opacity: 0.88;
}

.shortcut-steps {
  margin: 0;
  padding-left: 1.2rem;
  list-style: decimal;
  color: var(--text-muted);
}

.shortcut-steps li {
  margin-bottom: 0.45rem;
}

.shortcut-steps li:last-child {
  margin-bottom: 0;
}

.shortcut-steps strong {
  color: var(--text);
}

.portal-faq {
  display: grid;
  gap: 0.8rem;
}

.portal-faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.portal-faq-question {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 1rem 1.1rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.portal-faq-question[aria-expanded="true"] {
  border-bottom: 1px solid var(--border);
}

.portal-faq-answer {
  padding: 0.9rem 1.1rem 1rem;
}

.portal-faq-answer p {
  margin: 0;
  color: var(--text-muted);
}

.portal-faq-answer a {
  color: var(--primary);
}

.portal-faq-answer a:hover,
.portal-faq-answer a:focus-visible {
  text-decoration: underline;
}

/* ==========================
   Utility
========================== */
.centered-text {
  text-align: center;
}

/* ==========================
   Responsive
========================== */
@media (max-width: 1279px) {
  .projects-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .navbar {
    gap: 0.75rem;
  }

  .desktop-nav {
    gap: 0.9rem;
  }

  .desktop-nav .nav-link {
    font-size: 0.94rem;
  }

  .nav-cta.desktop-cta {
    margin-left: 0.65rem;
    padding: 0.68rem 1rem;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
  }
}

@media (max-width: 1024px) {
  .hero {
    min-height: auto;
    padding-top: 6rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

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

  .hero-visual {
    min-height: 320px;
  }

  .services-grid,
  .projects-grid,
  .team-grid,
  .cert-grid,
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid,
  .why-grid,
  .portal-grid,
  .location-topic {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 768px) {
  .desktop-nav,
  .desktop-cta {
    display: none;
  }

  .mobile-toggle {
    display: inline-block;
    margin-left: auto;
  }

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

  .stat-item + .stat-item::before {
    display: none;
  }

  .services-grid,
  .projects-grid,
  .team-grid,
  .cert-grid,
  .portal-shortcut-grid,
  .portal-steps-grid,
  .photo-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom-content {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 0.8rem 0;
  }

  section {
    padding: 4rem 0;
  }

  .page-hero {
    padding-top: 7rem;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100%, 94%);
  }

  .home-page .container {
    width: min(100%, 92%);
  }

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

  .hero-actions .btn {
    width: 100%;
  }

  .filter-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .filter-btn {
    width: 100%;
  }

  .portal-actions .btn {
    width: 100%;
  }

  .shortcut-arrow {
    display: none;
  }

  .map-placeholder {
    height: 320px;
  }
}
