/* ===================================================
   AET Energy Efficiency BV - Redesign 2026
   Groen - Staalblauw - Industrieel - Betrouwbaar
   =================================================== */

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Primair - groen */
  --green:         #1A7B3E;
  --green-dark:    #135E2F;
  --green-mid:     #22A054;
  --green-light:   #E7F5EC;
  --green-glow:    rgba(26,123,62,.22);

  /* Accent - staalblauw */
  --navy:          #1B3A5C;
  --navy-dark:     #0F2438;
  --navy-mid:      #2A5480;
  --navy-light:    rgba(27,58,92,.08);

  /* Neutraal */
  --dark:          #0E1117;
  --dark-2:        #161D26;
  --dark-3:        #1E2736;
  --text:          #374151;
  --text-light:    #6B7280;
  --border:        #E4E8ED;
  --bg-light:      #F7F9F7;
  --bg-warm:       #F5F5F0;
  --white:         #FFFFFF;

  --shadow-sm:     0 1px 4px rgba(0,0,0,.06);
  --shadow-md:     0 4px 20px rgba(0,0,0,.09);
  --shadow-lg:     0 16px 48px rgba(0,0,0,.13);
  --shadow-green:  0 8px 24px rgba(26,123,62,.26);

  --radius:        8px;
  --radius-lg:     16px;
  --radius-xl:     22px;
  --transition:    .22s cubic-bezier(.4,0,.2,1);
  --max-w:         1200px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  font-size: 1.025rem;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-dark); }
ul { list-style: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

/* ================================
   TYPOGRAPHY
   ================================ */
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 700; line-height: 1.1; letter-spacing: -.025em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 700; line-height: 1.18; letter-spacing: -.02em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.8rem); font-weight: 600; line-height: 1.3; }
h4 { font-size: 1.15rem; font-weight: 600; line-height: 1.4; }
h5 { font-size: .95rem; font-weight: 500; color: var(--text-light); letter-spacing: .01em; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-light);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ================================
   BUTTONS
   ================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 28px;
  border-radius: 999px;
  font-family: inherit;
  font-size: .93rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: .01em;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-green);
}
.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-outline:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-green);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.45);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
  color: var(--white);
}
.btn-dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn-dark:hover {
  background: var(--dark-2);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}
.btn-white:hover {
  background: #F3F4F6;
  color: var(--dark);
  transform: translateY(-2px);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ================================
   HEADER
   ================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,.09);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
}
.header-logo img { height: 42px; width: auto; }
.header-logo { flex-shrink: 0; }

/* NAV */
.main-nav { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--dark);
  border-radius: 8px;
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--green);
  background: var(--green-light);
}
.nav-link svg { width: 13px; height: 13px; transition: transform var(--transition); opacity: .55; }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

/* DROPDOWN */
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 244px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition);
  overflow: hidden;
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition);
  border-left: 2px solid transparent;
}
.dropdown a:hover {
  background: var(--green-light);
  color: var(--green);
  border-left-color: var(--green);
  padding-left: 22px;
}
.dropdown-divider { height: 1px; background: var(--border); margin: 4px 0; }

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* MOBILE TOGGLE */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 8px;
  transition: background var(--transition);
}
.mobile-toggle:hover { background: var(--bg-light); }
.mobile-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MOBILE NAV */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--white);
  overflow-y: auto;
  padding: 24px;
  transform: translateX(100%);
  transition: transform .3s ease;
  z-index: 999;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-item { border-bottom: 1px solid var(--border); }
.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
}
.mobile-nav-link svg { width: 16px; height: 16px; transition: transform .2s; }
.mobile-nav-link.open svg { transform: rotate(90deg); }
.mobile-sub { display: none; padding-bottom: 8px; }
.mobile-sub.open { display: block; }
.mobile-sub a {
  display: block;
  padding: 10px 16px;
  font-size: .92rem;
  color: var(--text);
  border-radius: 8px;
}
.mobile-sub a:hover { background: var(--green-light); color: var(--green); }
.mobile-nav-footer { padding: 24px 0; }

/* ================================
   HERO - SPLIT LAYOUT
   ================================ */
.hero {
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 100vh;
  padding-top: 72px;
  overflow: hidden;
}

.hero-left {
  background: var(--dark);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 60%, rgba(26,123,62,.13) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 5%, rgba(107,25,41,.09) 0%, transparent 45%);
  pointer-events: none;
}
/* Green vertical accent */
.hero-left::after {
  content: '';
  position: absolute;
  top: 18%; bottom: 18%;
  right: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--green), transparent);
  opacity: .35;
}

.hero-left-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  margin-left: auto;
  padding: 88px 56px 88px 28px;
}

.hero-right {
  position: relative;
  overflow: hidden;
}
.hero-right img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(14,17,23,.25) 0%, transparent 35%);
  z-index: 1;
  pointer-events: none;
}
/* Geometric corner triangle */
.hero-right::after {
  content: '';
  position: absolute;
  bottom: -1px; right: -1px;
  width: 100px; height: 100px;
  background: var(--green);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26,123,62,.18);
  border: 1px solid rgba(26,123,62,.38);
  color: #72D4A0;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.hero-eyebrow svg { width: 13px; height: 13px; flex-shrink: 0; }

.hero-left h1 {
  color: var(--white);
  margin-bottom: 24px;
}
.hero-left h1 em {
  font-style: normal;
  color: var(--green-mid);
}

.hero-lead {
  color: rgba(255,255,255,.7);
  font-size: 1.08rem;
  line-height: 1.72;
  margin-bottom: 40px;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-trust {
  display: flex;
  gap: 36px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-trust-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hero-trust-item strong {
  color: var(--white);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
}
.hero-trust-item span {
  color: rgba(255,255,255,.52);
  font-size: .79rem;
  font-weight: 500;
  letter-spacing: .02em;
}

/* ================================
   TRUST STRIP
   ================================ */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.trust-strip .container {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 18px 32px;
  font-size: .87rem;
  font-weight: 500;
  color: var(--text);
  border-right: 1px solid var(--border);
  flex: 1;
  min-width: 200px;
}
.trust-item:last-child { border-right: none; }
.trust-item svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; }

/* ================================
   SECTIONS
   ================================ */
section { padding: 96px 0; }

.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { color: var(--text-light); font-size: 1.05rem; max-width: 580px; line-height: 1.72; }
.section-header.center p { margin: 0 auto; }

/* ================================
   INSPECTIES SECTION - BG
   ================================ */
.inspecties-section {
  background: var(--navy-dark);
  position: relative;
  overflow: hidden;
}
.inspecties-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 92% 15%, rgba(255,255,255,.03) 0%, transparent 45%),
    radial-gradient(ellipse at 8% 85%, rgba(26,123,62,.07) 0%, transparent 40%);
  pointer-events: none;
}
.inspecties-section .section-label {
  background: rgba(255,255,255,.1);
  color: #A8DDB8;
  border: 1px solid rgba(255,255,255,.14);
}
.inspecties-section .section-label::before { background: #A8DDB8; }
.inspecties-section .section-header h2 { color: var(--white); }
.inspecties-section .section-header p { color: rgba(255,255,255,.58); }

/* ================================
   CARDS
   ================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 24px;
}
.cards-grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}
.card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--green), var(--green-mid));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card:hover::after { transform: scaleX(1); }

.card-img-wrap { overflow: hidden; height: 220px; }
.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  transition: transform .45s ease;
  display: block;
}
.card:hover .card-img { transform: scale(1.05); }

.card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.card-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-light);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.card h4 { font-size: 1.15rem; margin-bottom: 10px; color: var(--dark); }
.card p { color: var(--text-light); font-size: .95rem; flex: 1; margin-bottom: 20px; line-height: 1.65; }
.card .btn { align-self: flex-start; margin-top: auto; }

/* Vacature card variant */
.job-card .card-body { padding: 32px; }
.job-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.job-badge-full { background: var(--green-light); color: var(--green); }
.job-badge-stage { background: #EEF2FF; color: #4F46E5; }

/* Icon card variant */
.card-icon-wrap {
  width: 52px; height: 52px;
  background: var(--green-light);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.card-icon-wrap svg { width: 26px; height: 26px; color: var(--green); }

/* ================================
   CTA BANNER
   ================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 60%, #07131F 100%);
  border-radius: var(--radius-xl);
  padding: 64px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px; right: -60px;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(26,123,62,.2) 0%, transparent 65%);
  pointer-events: none;
}
.cta-banner-text h2 { color: var(--white); margin-bottom: 10px; }
.cta-banner-text p { color: rgba(255,255,255,.62); max-width: 460px; font-size: 1.05rem; }
.cta-banner-actions { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }

/* ================================
   SPLIT SECTION
   ================================ */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split-section.reverse .split-image { order: 2; }
.split-section.reverse .split-text  { order: 1; }

.split-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}
.split-image img { width: 100%; height: 100%; object-fit: cover; }
/* Geometric corner accent */
.split-image::after {
  content: '';
  position: absolute;
  bottom: -1px; right: -1px;
  width: 72px; height: 72px;
  background: var(--green);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.split-image-badge {
  position: absolute;
  bottom: 28px; left: 28px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}
.split-image-badge-icon {
  width: 40px; height: 40px;
  background: var(--green);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.split-image-badge-icon svg { width: 20px; height: 20px; color: white; }
.split-image-badge strong { display: block; font-size: .95rem; font-weight: 700; color: var(--dark); }
.split-image-badge span { font-size: .78rem; color: var(--text-light); }

.split-text h2 { margin-bottom: 20px; }
.split-text p { color: var(--text-light); margin-bottom: 16px; line-height: 1.75; }
.split-text .btn { margin-top: 16px; }

/* FEATURE LIST */
.feature-list { margin: 28px 0; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list-icon {
  width: 32px; height: 32px;
  background: var(--green-light);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.feature-list-icon svg { width: 16px; height: 16px; color: var(--green); }
.feature-list li strong { display: block; font-weight: 600; color: var(--dark); font-size: .95rem; margin-bottom: 2px; }
.feature-list li span { font-size: .88rem; color: var(--text-light); }

/* ================================
   PROCESS STEPS
   ================================ */
.process-section { background: var(--bg-light); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 48px; right: 48px;
  height: 2px;
  background: linear-gradient(to right, var(--green), var(--green-mid));
  opacity: .25;
}
.process-step { text-align: center; padding: 0 8px; position: relative; }
.process-num {
  width: 64px; height: 64px;
  background: var(--green);
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-green);
}
.process-step h4 { color: var(--dark); margin-bottom: 10px; font-size: 1rem; }
.process-step p { font-size: .9rem; color: var(--text-light); line-height: 1.6; }

/* ================================
   TEAM
   ================================ */
.team-section { background: var(--bg-light); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
}
.team-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--green), var(--green-mid));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.team-card:hover::before { transform: scaleX(1); }
.team-card-img {
  width: 100%; height: 300px;
  object-fit: cover;
  object-position: center 20%;
}
.team-card-body { padding: 24px 28px; }
.team-card-body h4 { color: var(--dark); margin-bottom: 4px; font-size: 1.1rem; }
.team-card-body p { font-size: .87rem; color: var(--green); font-weight: 600; margin: 0; }

/* ================================
   STATS BAR
   ================================ */
.stats-bar {
  background: var(--dark-2);
  padding: 68px 0;
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,123,62,.06) 0%, transparent 50%, rgba(107,25,41,.05) 100%);
  pointer-events: none;
}
.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.stat-item { text-align: center; padding: 0 16px; }
.stat-item strong {
  display: block;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--green-mid);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item span {
  display: block;
  font-size: .87rem;
  color: rgba(255,255,255,.52);
  letter-spacing: .02em;
}

/* ================================
   CERT SECTION (prominent)
   ================================ */
.cert-section {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
}
.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.cert-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 36px 32px;
  display: flex;
  align-items: flex-start;
  gap: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}
.cert-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--green), var(--green-mid));
  border-radius: 4px 0 0 4px;
}
.cert-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(26,123,62,.35);
  transform: translateY(-3px);
}
.cert-card-logo {
  flex-shrink: 0;
  width: 96px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cert-card-logo img {
  max-width: 100%;
  max-height: 60px;
  width: auto;
  object-fit: contain;
}
.cert-card-body {}
.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.cert-card-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.3;
}
.cert-card-body p {
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.65;
  margin: 0;
}

/* ================================
   PAGE HERO (inner pages)
   ================================ */
.page-hero {
  background: var(--dark);
  padding: 136px 0 88px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(26,123,62,.1) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 80%, rgba(107,25,41,.07) 0%, transparent 40%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 44px;
  background: var(--white);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}
.page-hero .container { position: relative; z-index: 1; }

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: .82rem;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,.52); }
.page-hero .breadcrumb a:hover { color: var(--white); }
.page-hero .breadcrumb span { color: rgba(255,255,255,.28); }
.page-hero .breadcrumb strong { color: rgba(255,255,255,.78); font-weight: 500; }

.page-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(26,123,62,.2);
  border: 1px solid rgba(26,123,62,.38);
  color: #72D4A0;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero h5 { color: rgba(255,255,255,.58); font-weight: 400; font-size: 1.08rem; }

/* ================================
   INSPECTION DETAIL
   ================================ */
.inspection-layout { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }

.inspection-content h2 {
  color: var(--dark);
  margin: 44px 0 14px;
  font-size: 1.5rem;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--green-light);
}
.inspection-content h2:first-child { margin-top: 0; }
.inspection-content p { color: var(--text-light); line-height: 1.8; }
.inspection-content ul { margin: 14px 0 28px; }
.inspection-content ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 0;
  color: var(--text);
  font-size: .97rem;
  border-bottom: 1px solid var(--border);
}
.inspection-content ul li:last-child { border-bottom: none; }
.inspection-content ul li::before {
  content: '';
  width: 22px; height: 22px;
  min-width: 22px;
  background: var(--green-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A7B3E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") center / 13px no-repeat;
  border-radius: 6px;
  margin-top: 1px;
}

.inspection-content > img {
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
  aspect-ratio: 16/7;
  object-fit: cover;
  width: 100%;
}

.inspection-sidebar { position: sticky; top: 96px; }
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.sidebar-card-header {
  background: var(--dark);
  padding: 18px 24px;
  position: relative;
  overflow: hidden;
}
.sidebar-card-header::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 3px;
  background: var(--green);
}
.sidebar-card-header h4 { color: var(--white); font-size: .95rem; margin: 0; }
.sidebar-card-body { padding: 24px; }
.sidebar-card-body p { font-size: .9rem; color: var(--text-light); margin-bottom: 16px; }
.sidebar-card-body .btn { width: 100%; justify-content: center; }

.sidebar-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
}
.sidebar-contact-item:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-contact-item svg { width: 17px; height: 17px; color: var(--green); flex-shrink: 0; }
.sidebar-contact-item a { color: var(--text); }
.sidebar-contact-item a:hover { color: var(--green); }

/* Sidebar links */
.sidebar-links { display: flex; flex-direction: column; gap: 6px; }
.sidebar-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  color: var(--text);
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.sidebar-links a::before {
  content: '→';
  color: var(--green);
  font-size: .9rem;
  flex-shrink: 0;
}
.sidebar-links a:hover { background: var(--green-light); color: var(--green); }

/* ================================
   VACATURE DETAIL
   ================================ */
.vacature-layout { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: start; }

.vacature-content h2 {
  color: var(--dark);
  margin: 40px 0 14px;
  font-size: 1.4rem;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--green-light);
}
.vacature-content h2:first-child { margin-top: 0; }
.vacature-content p { color: var(--text-light); line-height: 1.8; }
.vacature-content ul { margin: 12px 0 24px; }
.vacature-content ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  color: var(--text);
  font-size: .97rem;
  border-bottom: 1px solid var(--border);
}
.vacature-content ul li:last-child { border-bottom: none; }
.vacature-content ul li::before {
  content: '';
  width: 22px; height: 22px;
  min-width: 22px;
  background: var(--green-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A7B3E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") center / 13px no-repeat;
  border-radius: 6px;
  margin-top: 1px;
}

.job-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.job-meta-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .84rem;
  color: var(--text-light);
  background: var(--bg-light);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
}
.job-meta-item svg { width: 14px; height: 14px; color: var(--green); }

/* ================================
   CONTACT PAGE
   ================================ */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-info h3 { color: var(--dark); margin-bottom: 24px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.contact-detail:last-of-type { border-bottom: none; }
.contact-detail-icon {
  width: 46px; height: 46px;
  background: var(--green-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 22px; height: 22px; color: var(--green); }
.contact-detail strong { display: block; font-weight: 600; color: var(--dark); margin-bottom: 3px; }
.contact-detail a, .contact-detail p { font-size: .95rem; color: var(--text-light); margin: 0; }
.contact-detail a:hover { color: var(--green); }
.contact-socials { margin-top: 28px; }
.contact-socials h5 { margin-bottom: 12px; color: var(--dark); font-size: .88rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--dark);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 600;
  transition: all var(--transition);
}
.social-link:hover { background: #0077b5; color: var(--white); transform: translateY(-1px); }
.social-link svg { width: 18px; height: 18px; }

/* CONTACT FORM */
.contact-form-wrap {
  background: var(--bg-light);
  border-radius: var(--radius-xl);
  padding: 44px;
  border: 1px solid var(--border);
}
.contact-form-wrap h3 { color: var(--dark); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .86rem; font-weight: 600; color: var(--dark); margin-bottom: 7px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .95rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(26,123,62,.1);
}
.form-group textarea { min-height: 130px; }
.form-success {
  display: none;
  background: var(--green-light);
  border: 1px solid var(--green);
  border-radius: var(--radius);
  padding: 16px 20px;
  color: var(--green-dark);
  font-weight: 500;
  margin-top: 12px;
}

/* MAP */
.contact-map {
  width: 100%;
  height: 380px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 64px;
  box-shadow: var(--shadow-sm);
}
.contact-map iframe { width: 100%; height: 100%; border: none; }

/* ================================
   HIGHLIGHT BOX
   ================================ */
.highlight-box {
  background: var(--green-light);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 28px 0;
}
.highlight-box p { color: var(--text); font-size: .95rem; margin: 0; }
.highlight-box a { color: var(--green); font-weight: 600; }
.highlight-box strong { color: var(--dark); }

/* ================================
   ACCORDION
   ================================ */
.accordion { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:last-child { border-bottom: none; }
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  text-align: left;
  transition: background var(--transition);
  gap: 16px;
}
.accordion-trigger:hover { background: var(--bg-light); }
.accordion-trigger svg { width: 20px; height: 20px; color: var(--green); flex-shrink: 0; transition: transform .2s; }
.accordion-trigger.open svg { transform: rotate(180deg); }
.accordion-body { display: none; padding: 0 24px 24px; color: var(--text-light); font-size: .95rem; line-height: 1.7; }
.accordion-body.open { display: block; }

/* ================================
   FOOTER
   ================================ */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.62);
  padding: 88px 0 0;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--green), var(--green-mid), transparent 80%);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}
.footer-brand img {
  height: 38px; width: auto;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
  opacity: .88;
}
.footer-brand p { font-size: .9rem; line-height: 1.7; max-width: 270px; }
.footer-col h4 {
  color: var(--white);
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: .88rem;
  color: rgba(255,255,255,.52);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-links a::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-links a:hover::before { opacity: 1; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .87rem;
  margin-bottom: 14px;
  color: rgba(255,255,255,.52);
}
.footer-contact-item svg { width: 15px; height: 15px; color: var(--green); flex-shrink: 0; margin-top: 4px; }
.footer-contact-item a { color: rgba(255,255,255,.52); }
.footer-contact-item a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: .81rem;
  color: rgba(255,255,255,.32);
}
.footer-bottom a { color: rgba(255,255,255,.32); }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }

/* ================================
   BACK TO TOP
   ================================ */
#back-to-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 46px; height: 46px;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  box-shadow: var(--shadow-green);
  z-index: 500;
}
#back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#back-to-top:hover { background: var(--green-dark); transform: translateY(-3px); border-radius: 50%; }
#back-to-top svg { width: 20px; height: 20px; }

/* ================================
   UTILITIES
   ================================ */
.text-green  { color: var(--green); }
.text-white  { color: var(--white); }
.text-center { text-align: center; }
.bg-light    { background: var(--bg-light); }
.mb-0 { margin-bottom: 0 !important; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
}

@media (max-width: 1024px) {
  .inspection-layout { grid-template-columns: 1fr; }
  .inspection-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .vacature-layout { grid-template-columns: 1fr; }
  .cards-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .split-section { gap: 48px; }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-left { min-height: 75vh; }
  .hero-left::after { display: none; }
  .hero-left-inner { max-width: 100%; padding: 88px 28px; }
  .hero-right { height: 55vw; min-height: 320px; max-height: 500px; }
}

@media (max-width: 768px) {
  section { padding: 64px 0; }
  .main-nav, .header-actions .btn { display: none; }
  .mobile-toggle { display: flex; }
  .mobile-nav { display: block; }
  .split-section { grid-template-columns: 1fr; gap: 40px; }
  .split-section.reverse .split-image { order: unset; }
  .split-section.reverse .split-text  { order: unset; }
  .split-image { order: -1; }
  .cta-banner { flex-direction: column; padding: 44px 28px; text-align: center; }
  .cta-banner-actions { justify-content: center; }
  .contact-layout { grid-template-columns: 1fr; gap: 44px; }
  .form-row { grid-template-columns: 1fr; }
  .hero-trust { flex-wrap: wrap; gap: 24px; }
  .cards-grid, .cards-grid-3 { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .trust-strip .container { flex-direction: column; }
  .trust-item { border-right: none; border-bottom: 1px solid var(--border); }
  .trust-item:last-child { border-bottom: none; }
  .inspection-sidebar { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .page-hero { padding: 120px 0 76px; }
  .cta-banner { padding: 36px 22px; }
  .contact-form-wrap { padding: 28px 20px; }
  .hero-left-inner { padding: 72px 18px; }
  .process-grid { grid-template-columns: 1fr; }
}

/* ================================
   OFFERTE MODAL
   ================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14,17,23,.74);
  backdrop-filter: blur(5px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal-dialog {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 700px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(0,0,0,.32);
  transform: translateY(24px) scale(.97);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.modal-overlay.open .modal-dialog {
  transform: none;
}
.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 32px 36px 0;
  gap: 16px;
}
.modal-header-text h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 3px;
  letter-spacing: -.015em;
}
.modal-header-text p {
  font-size: .88rem;
  color: var(--text-light);
  margin: 0;
}
.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  padding: 6px;
  line-height: 1;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
  flex-shrink: 0;
  margin-top: -2px;
}
.modal-close:hover {
  color: var(--dark);
  background: var(--bg-light);
}
.modal-progress {
  display: flex;
  align-items: center;
  padding: 28px 36px 0;
}
.modal-step-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.modal-step-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 700;
  color: var(--text-light);
  transition: all .2s;
}
.modal-step-dot.active .modal-step-circle {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
  box-shadow: 0 0 0 4px var(--green-light);
}
.modal-step-dot.done .modal-step-circle {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}
.modal-step-label {
  font-size: .7rem;
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
}
.modal-step-dot.active .modal-step-label { color: var(--green-dark); }
.modal-step-dot.done .modal-step-label { color: var(--green-mid); }
.modal-step-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 6px;
  margin-bottom: 22px;
  border-radius: 2px;
  transition: background .3s;
}
.modal-step-line.done { background: var(--green); }
.modal-body {
  padding: 24px 36px 0;
}
.modal-step-panel { display: none; }
.modal-step-panel.active { display: block; }
.modal-step-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
/* Inspection checkbox grid */
.insp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.insp-card { position: relative; }
.insp-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.insp-card-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 10px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .18s;
  text-align: center;
  background: var(--bg-light);
  min-height: 92px;
}
.insp-card-label:hover {
  border-color: var(--green);
  background: var(--white);
}
.insp-card input:checked + .insp-card-label {
  border-color: var(--green);
  background: var(--green-light);
}
.insp-card-icon {
  width: 32px; height: 32px;
  background: var(--white);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  box-shadow: var(--shadow-sm);
}
.insp-card input:checked + .insp-card-label .insp-card-icon {
  background: var(--green);
  color: var(--white);
}
.insp-card-name {
  font-size: .8rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}
.insp-card-sub {
  font-size: .68rem;
  color: var(--text-light);
}
/* Dynamic extra fields */
.modal-extra-wrap {
  display: none;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}
.modal-extra-wrap.visible { display: block; }
.modal-extra-title {
  font-size: .78rem;
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.modal-extra-title::before {
  content: '';
  display: block;
  width: 3px; height: 12px;
  background: var(--green);
  border-radius: 2px;
}
/* Form fields */
.mform-group { margin-bottom: 16px; }
.mform-group:last-child { margin-bottom: 0; }
.mform-group label {
  display: block;
  font-size: .84rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.mform-group label .req { color: var(--green); margin-left: 1px; }
.mform-group input,
.mform-group select,
.mform-group textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .93rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color .18s, box-shadow .18s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.mform-group input:focus,
.mform-group select:focus,
.mform-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-light);
}
.mform-group input.error,
.mform-group select.error,
.mform-group textarea.error {
  border-color: #DC2626;
  box-shadow: 0 0 0 3px rgba(220,38,38,.1);
}
.mform-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 38px;
}
.mform-group textarea { resize: vertical; min-height: 88px; }
.mform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
/* Summary card */
.modal-summary-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}
.modal-summary-card h5 {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-light);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.modal-summary-card h5::before {
  content: '';
  display: block;
  width: 3px; height: 11px;
  background: var(--green);
  border-radius: 2px;
}
.modal-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  font-size: .875rem;
}
.modal-summary-row:last-child { border-bottom: none; }
.sum-label { color: var(--text-light); font-weight: 500; }
.sum-val { font-weight: 600; color: var(--dark); text-align: right; }
/* reCAPTCHA placeholder */
.modal-recaptcha {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  color: var(--text-light);
  margin-bottom: 20px;
}
.modal-recaptcha input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--green);
  cursor: pointer;
  flex-shrink: 0;
}
/* Footer */
.modal-footer {
  padding: 18px 36px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--border);
  margin-top: 24px;
  position: sticky;
  bottom: 0;
  background: var(--white);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}
.modal-footer-left { font-size: .8rem; color: var(--text-light); }
.modal-footer-right { display: flex; gap: 10px; align-items: center; }
/* Success */
.modal-success {
  padding: 52px 36px;
  text-align: center;
  display: none;
}
.modal-success.active { display: block; }
.modal-success-icon {
  width: 68px; height: 68px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  color: var(--green);
}
.modal-success h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.modal-success p { color: var(--text-light); max-width: 380px; margin: 0 auto; }
/* Responsive modal */
@media (max-width: 768px) {
  .modal-dialog { border-radius: var(--radius-lg); max-height: 95vh; }
  .modal-header,
  .modal-progress,
  .modal-body { padding-left: 20px; padding-right: 20px; }
  .modal-footer { padding: 14px 20px 24px; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
  .insp-grid { grid-template-columns: repeat(2, 1fr); }
  .mform-row { grid-template-columns: 1fr; gap: 0; }
  .cert-grid { grid-template-columns: 1fr; }
  .modal-footer { flex-wrap: wrap; }
  .modal-footer-right { width: 100%; flex-direction: column-reverse; }
  .modal-footer-right .btn { width: 100%; justify-content: center; text-align: center; }
}
@media (max-width: 480px) {
  .modal-success { padding: 40px 20px; }
}
