/*
Theme Name: Prostroom Premium Theme
Theme URI: https://prostroom.nl/
Author: Rankly Media
Author URI: https://ranklymedia.nl/
Description: Custom-coded, blazing-fast premium theme for Prostroom Elektrotechniek & Solar. Fully integrated with ACF, AJAX Leads CPT, and RankMath.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: prostroom
*/


/* ----------------------------------------------------
   1. DESIGN SYSTEM & VARIABLES
---------------------------------------------------- */
:root {
  /* Colors */
  --primary: #064e3b;          /* Deep Forest Green */
  --primary-light: #0f766e;    /* Modern Teal Accent */
  --primary-dark: #022c22;     /* Ultra Deep Charcoal Green */
  --secondary: #ff7a00;        /* Premium Solar Orange */
  --secondary-hover: #e06500;  /* Solar Orange Hover State */
  --dark: #0f172a;             /* Deep Slate Text */
  --light: #f8fafc;            /* Background Off-White */
  --light-border: #e2e8f0;     /* Soft Divider Line */
  --muted: #64748b;            /* Subtext Slate Gray */
  --white: #ffffff;
  --success: #10b981;          /* Clean Green for Trust Bullets */
  
  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 16px 32px -4px rgba(15, 23, 42, 0.08), 0 8px 16px -2px rgba(15, 23, 42, 0.04);
  --shadow-premium: 0 25px 50px -12px rgba(6, 78, 59, 0.08);

  /* Border Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  /* Spacing */
  --container-width: 1200px;
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ----------------------------------------------------
   2. RESET & BASE STYLES
---------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background-color: var(--white);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary-dark);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

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

ul {
  list-style: none;
}

/* Base Utility Classes */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 96px 0;
}

.section-bg {
  background-color: var(--light);
}

.text-center {
  text-align: center;
}

/* ----------------------------------------------------
   3. HEADER & NAVIGATION
---------------------------------------------------- */
.header-top {
  background-color: var(--primary-dark);
  color: var(--white);
  font-size: 13px;
  padding: 8px 0;
  font-weight: 500;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-info {
  display: flex;
  gap: 24px;
}

.top-info span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-info a:hover {
  color: var(--secondary);
}

.certifications-top {
  display: flex;
  gap: 16px;
  opacity: 0.85;
}

.main-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--light-border);
  transition: var(--transition);
}

.main-header.scrolled {
  padding: 8px 0;
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  transition: var(--transition);
}

.main-header.scrolled .header-container {
  height: 64px;
}

.logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  --logo-text-color: var(--primary-dark);
}

.logo-img {
  height: 46px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.logo-subtitle {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--muted);
  font-weight: 700;
  margin-top: 2px;
  padding-left: 1px;
}

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

.nav-link {
  font-weight: 600;
  font-size: 15px;
  color: var(--primary-dark);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--secondary);
}

/* Premium Navigation Dropdown Hover Styles */
.nav-item-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.dropdown-toggle::after {
  content: '▼';
  font-size: 8px;
  margin-top: 2px;
  transition: var(--transition);
}

.nav-item-dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
  color: var(--secondary);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background-color: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px 0;
  min-width: 210px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1002;
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-dark);
  text-align: left;
  transition: var(--transition);
}

.dropdown-item:hover {
  background-color: var(--light);
  color: var(--secondary);
  padding-left: 28px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

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

.btn-primary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

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

.btn-white:hover {
  background-color: var(--light);
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2.5px;
  background-color: var(--primary-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ----------------------------------------------------
   4. HERO SECTION
---------------------------------------------------- */
.hero {
  position: relative;
  background-color: var(--primary-dark);
  background-image: linear-gradient(135deg, rgba(6, 78, 59, 0.95) 0%, rgba(2, 44, 34, 0.98) 100%), url('hero_solar_technician.png');
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 100px 0 120px 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero-content h1 {
  font-size: 52px;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
}

.hero-content h1 span {
  color: var(--secondary);
}

.hero-subtitle {
  font-size: 20px;
  opacity: 0.9;
  margin-bottom: 36px;
  font-weight: 500;
  line-height: 1.5;
}

.trust-bullets {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.trust-bullet {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
}

.trust-bullet svg {
  color: var(--secondary);
  width: 20px;
  height: 20px;
}

/* Sub-navigation Service Tabs & Form Card */
.hero-form-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  z-index: 10;
  border: 4px solid var(--secondary); /* Bold high-contrast premium orange highlights framing the entire block */
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.form-service-tabs {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0;
  background-color: #2b221a; /* Dark charcoal/brown background from the screenshots */
  width: 100%;
}

.service-tab {
  background-color: transparent;
  color: var(--white);
  border: none;
  padding: 10px 4px;
  font-size: 12.5px;
  font-weight: 600;
  font-family: var(--font-heading);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.service-tab:nth-child(1),
.service-tab:nth-child(2),
.service-tab:nth-child(3),
.service-tab:nth-child(4) {
  grid-column: span 3;
}

.service-tab:nth-child(5),
.service-tab:nth-child(6),
.service-tab:nth-child(7) {
  grid-column: span 4;
}

.service-tab:hover {
  background-color: rgba(255, 122, 0, 0.15);
}

.service-tab.active {
  background-color: var(--secondary); /* Active tab has solid orange background matching screenshots */
  color: var(--white);
  font-weight: 700;
}

.dakscan-form-card {
  background-color: var(--white);
  color: var(--dark);
  padding: 32px 28px;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  border: none; /* Border is now handled by the outer hero-form-container */
}

.dakscan-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary-dark);
  font-family: var(--font-heading);
}

.form-bullets {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13.5px;
  color: var(--dark);
  font-weight: 500;
}

.form-bullets li {
  line-height: 1.4;
}

.form-scan-prompt {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary-dark);
  font-family: var(--font-heading);
}

.form-row-60-40 {
  display: grid;
  grid-template-columns: 3.2fr 1.8fr;
  gap: 12px;
  margin-bottom: 10px;
}

.form-row-50-50 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 10px;
}

.form-group {
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--light-border);
  border-radius: var(--radius-sm);
  background-color: var(--white);
  color: var(--dark);
  font-size: 14px;
  font-family: var(--font-body);
  transition: var(--transition);
}

.form-group input::placeholder {
  color: #94a3b8;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.1);
  background-color: var(--white);
}

.form-label-bold {
  font-weight: 700;
  font-size: 14px;
  color: var(--primary-dark);
  margin-bottom: 6px;
  display: block;
}

#battery-custom-verbruik-container {
  margin-bottom: 8px;
}

.form-field-info {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 8px;
  font-weight: 500;
  margin-top: -2px;
}

.form-field-info-muted {
  font-size: 11px;
  color: var(--muted);
  opacity: 0.85;
  margin-top: 4px;
  font-weight: 500;
}


.checkbox-row-weet-niet {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dark);
}

.checkbox-row-weet-niet input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--secondary);
  cursor: pointer;
}

.checkbox-row-weet-niet label {
  cursor: pointer;
  user-select: none;
}

.extra-options-section {
  margin-top: 14px;
  margin-bottom: 20px;
}

.checkbox-group-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.checkbox-row-option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dark);
}

.checkbox-row-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--secondary);
  cursor: pointer;
}

.checkbox-row-option label {
  cursor: pointer;
  user-select: none;
}

.form-submit-container {
  width: 100%;
  margin-top: 10px;
}

.btn-submit-black {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background-color: #000000;
  color: var(--white);
  border: none;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.btn-submit-black:hover {
  background-color: #1c1c1c;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ----------------------------------------------------
   5. TOTAALINSTALLATEUR / VALUE PROPOSITION
---------------------------------------------------- */
.value-prop-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.image-stack {
  position: relative;
}

.main-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.badge-box {
  position: absolute;
  top: 32px;
  right: -32px;
  background-color: var(--secondary);
  color: var(--white);
  padding: 24px 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  max-width: 220px;
}

.badge-box p {
  line-height: 1.3;
}

.accent-h2 {
  font-size: 36px;
  margin-bottom: 24px;
  line-height: 1.2;
}

.philosophy-text {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 32px;
}

.prop-bullets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.prop-bullet {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.prop-bullet svg {
  color: var(--secondary);
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.prop-bullet h3 {
  font-size: 16px;
  color: var(--primary-dark);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.prop-bullet p {
  font-size: 14px;
  color: var(--muted);
}

.section-cta-bar {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 24px 0;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 1px;
}

.section-cta-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ----------------------------------------------------
   6. DIENSTEN GRID
---------------------------------------------------- */
.section-header {
  max-width: 700px;
  margin: 0 auto 64px auto;
}

.section-header h2 {
  font-size: 40px;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--muted);
  font-size: 18px;
}

.diensten-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.dienst-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 40px 32px;
  transition: var(--transition);
  border: 1px solid var(--light-border);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.dienst-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary-light);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.dienst-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.dienst-card:hover::before {
  transform: scaleX(1);
}

.dienst-icon {
  width: 56px;
  height: 56px;
  background-color: rgba(6, 78, 59, 0.05);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary);
  transition: var(--transition);
}

.dienst-icon svg {
  width: 28px;
  height: 28px;
}

.dienst-card:hover .dienst-icon {
  background-color: var(--primary);
  color: var(--white);
}

.dienst-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.dienst-card p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 24px;
  flex-grow: 1;
}

.dienst-link {
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dienst-link svg {
  width: 16px;
  height: 16px;
  transition: var(--transition);
}

.dienst-card:hover .dienst-link svg {
  transform: translateX(4px);
}

/* ----------------------------------------------------
   7. INTERACTIVE SOLAR CALCULATOR
---------------------------------------------------- */
.calc-container {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-premium);
  padding: 48px;
  border: 1px solid var(--light-border);
  margin-top: 48px;
}

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

.calc-control {
  display: flex;
  flex-direction: column;
}

.calc-subtitle {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--secondary);
  font-weight: 700;
  margin-bottom: 12px;
}

.calc-control h3 {
  font-size: 32px;
  margin-bottom: 16px;
}

.calc-control p {
  color: var(--muted);
  margin-bottom: 36px;
}

.slider-group {
  margin-bottom: 24px;
}

.slider-label {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 18px;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.slider-panel-count {
  background-color: var(--secondary);
  color: var(--white);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 15px;
}

.slider-wrapper {
  position: relative;
  margin-bottom: 16px;
}

/* Range input styling */
.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--light-border);
  outline: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--secondary);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.1s;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.range-slider::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--secondary);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.1s;
}

.range-slider::-moz-range-thumb:hover {
  transform: scale(1.15);
}

.slider-min-max {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

/* Calculator Results Grid */
.calc-results {
  background-color: var(--light);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--light-border);
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.calc-result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--light-border);
}

.calc-result-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.calc-res-label {
  font-weight: 600;
  color: var(--muted);
}

.calc-res-value {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-dark);
}

.calc-res-value span {
  color: var(--secondary);
}

/* ----------------------------------------------------
   8. SERVICE & ZEKERHEID SECTION
---------------------------------------------------- */
.service-highlight-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
}

.service-left h3 {
  font-size: 32px;
  margin-bottom: 16px;
}

.service-left p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 32px;
}

.service-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.service-sub-card {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 16px;
}

.service-sub-card svg {
  color: var(--primary-light);
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.service-sub-card h4 {
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--primary-dark);
}

.service-sub-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
  margin-bottom: 0;
}

.referral-box {
  background-color: var(--secondary);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.referral-box h4 {
  color: var(--white);
  font-size: 28px;
  margin-bottom: 12px;
  line-height: 1.2;
}

.referral-box p {
  opacity: 0.9;
  font-size: 15px;
  margin-bottom: 24px;
}

/* ----------------------------------------------------
   9. CONTACT & LOCATION SECTION
---------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: stretch;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info-panel h3 {
  font-size: 32px;
  margin-bottom: 16px;
}

.contact-info-panel p {
  color: var(--muted);
  margin-bottom: 36px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: rgba(6, 78, 59, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 22px;
  height: 22px;
}

.contact-item-content h4 {
  font-size: 16px;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.contact-item-content p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 0;
}

.contact-item-content a:hover {
  color: var(--secondary);
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--light-border);
  min-height: 400px;
  position: relative;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  position: absolute;
  top: 0;
  left: 0;
}

/* ----------------------------------------------------
   10. FOOTER
---------------------------------------------------- */
.main-footer {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 80px 0 32px 0;
  border-top: 4px solid var(--secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand .logo-wrapper {
  margin-bottom: 16px;
  --logo-text-color: var(--white);
}

.footer-brand p {
  opacity: 0.7;
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.5;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--secondary);
  transform: translateY(-3px);
}

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

.footer-col h4 {
  color: var(--white);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  font-weight: 700;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--secondary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  opacity: 0.75;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--secondary);
  padding-left: 4px;
}

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

.footer-cert-badge {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.footer-cert-badge span {
  font-size: 9px;
  font-weight: 500;
  opacity: 0.6;
  margin-top: 2px;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  opacity: 0.65;
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a:hover {
  color: var(--secondary);
}

/* ----------------------------------------------------
   11. ANIMATIONS & RESPONSIVENESS
---------------------------------------------------- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablet Layout (1024px and down) */
@media (max-width: 1024px) {
  .section-padding {
    padding: 72px 0;
  }
  
  .hero {
    padding: 60px 0 80px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-content {
    text-align: center;
  }

  .trust-bullets {
    align-items: center;
  }

  .value-prop-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .badge-box {
    right: 16px;
    top: auto;
    bottom: -24px;
  }

  .calc-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-highlight-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

/* Mobile Navigation Drawer & Hamburger styling */
@media (max-width: 768px) {
  .header-top {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Menu drops instantly beneath the sticky header */
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    padding: 0;
    gap: 0;
    box-shadow: 0 8px 24px -4px rgba(15,23,42,0.12);
    border-top: 2px solid var(--secondary);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.18s ease, opacity 0.14s ease;
    z-index: 999;
    align-items: stretch;
  }

  .nav-links.mobile-active {
    max-height: 440px;
    opacity: 1;
    pointer-events: all;
    transition: max-height 0.22s ease, opacity 0.16s ease;
  }

  /* ---- Each nav link: left-aligned, full-width row ---- */
  .nav-links .nav-link {
    display: block;
    text-align: left;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-dark);
    border-bottom: 1px solid var(--light-border);
    width: 100%;
    position: relative;
    background: none;
  }

  .nav-links .nav-link::after {
    display: none;
  }

  .nav-links .nav-link:hover,
  .nav-links .nav-link:active {
    color: var(--secondary);
    background-color: rgba(255,122,0,0.04);
  }

  /* CTA button at the bottom of mobile menu */
  .nav-links .nav-cta {
    margin: 10px 20px 14px;
    width: calc(100% - 40px);
    text-align: center;
    justify-content: center;
    border-bottom: none;
    border-radius: var(--radius-md);
    padding: 13px 20px;
    font-size: 14px;
    display: flex;
  }

  /* ---- Diensten accordion ---- */
  .nav-item-dropdown {
    display: block;
    position: static;
    width: 100%;
  }

  /* The "Diensten" toggle row — text left, chevron right */
  .nav-item-dropdown > .nav-link.dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid var(--light-border);
    gap: 8px;
  }

  /* Suppress desktop ::after arrow character */
  .nav-item-dropdown > .nav-link.dropdown-toggle::after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-right: 2.5px solid var(--muted);
    border-bottom: 2.5px solid var(--muted);
    transform: rotate(45deg);
    flex-shrink: 0;
    margin-left: auto;
    transition: transform 0.18s ease, border-color 0.18s ease;
    background: none;
    border-radius: 0;
    bottom: auto;
    left: auto;
    position: static;
    width: 8px;
    height: 8px;
    font-size: 0;
  }

  .nav-item-dropdown.mobile-open > .nav-link.dropdown-toggle::after {
    transform: rotate(-135deg);
    border-color: var(--secondary);
  }

  /* Suppress any ::before content inherited from desktop */
  .nav-item-dropdown > .nav-link.dropdown-toggle::before {
    display: none;
  }

  /* Dropdown panel: flex-wrap 3-per-row chip layout */
  .nav-item-dropdown .dropdown-menu {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    background-color: #0c3d2e;
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.22s ease;
    min-width: 0 !important;
    width: 100%;
    box-sizing: border-box;
  }

  .nav-item-dropdown.mobile-open .dropdown-menu {
    max-height: 200px;
  }

  /* Each chip: 3 per row with hairline separators */
  .nav-item-dropdown .dropdown-menu .dropdown-item {
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: calc(100% / 3) !important;
    padding: 16px 6px !important;
    font-size: 12px !important;
    font-weight: 700;
    color: rgba(255,255,255,0.9) !important;
    background-color: #0c3d2e !important;
    border-right: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-sizing: border-box;
    transition: background 0.12s, color 0.12s;
    line-height: 1.25;
  }

  .nav-item-dropdown .dropdown-menu .dropdown-item:hover,
  .nav-item-dropdown .dropdown-menu .dropdown-item:active {
    background-color: var(--secondary) !important;
    color: #fff !important;
  }


  /* Hamburger → X animation */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .hero-content h1 {
    font-size: 38px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .dakscan-form-card {
    padding: 24px;
  }

  .calc-container {
    padding: 24px;
  }

  .service-cards {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .section-cta-bar .container {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ----------------------------------------------------
   12. RESPONSIVE UTILITIES FOR CALC & NEWS
---------------------------------------------------- */
.calc-res-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
  border-top: 1.5px solid var(--light-border);
  padding-top: 36px;
  width: 100%;
}

.calc-res-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.news-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
  width: 100%;
}

@media (max-width: 768px) {
  .calc-res-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding-top: 24px !important;
  }
  .calc-res-grid-4 {
    grid-template-columns: 1fr !important;
  }
  .calc-res-grid > div {
    border-bottom: 1px dashed var(--light-border) !important;
    padding-bottom: 16px !important;
  }
  .calc-res-grid > div:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
  }
  
  .news-section-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
    margin-bottom: 32px !important;
  }
  .news-section-header a.btn {
    width: 100% !important;
    text-align: center !important;
  }
}

/* ----------------------------------------------------
   13. PREMIUM FAQ ACCORDION STYLE TOKENS
---------------------------------------------------- */
.faq-item.active {
  border-color: var(--primary) !important;
  box-shadow: var(--shadow-md) !important;
}

.faq-item.active .faq-toggle-icon {
  background-color: var(--primary) !important;
  color: var(--white) !important;
  transform: rotate(45deg);
}

.faq-item.active .faq-question {
  color: var(--primary) !important;
}

.faq-item:hover {
  border-color: var(--primary-light);
}

.faq-question:hover .faq-toggle-icon {
  background-color: var(--primary);
  color: var(--white);
}

/* Mobile Call Shortcut Icon next to Hamburger */
.mobile-call-icon {
  display: none !important;
}

@media (max-width: 768px) {
  .mobile-actions-wrapper {
    display: flex !important;
    align-items: center;
    gap: 16px;
  }
  .mobile-call-icon {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 122, 0, 0.1);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
    cursor: pointer;
  }
  .mobile-call-icon:active {
    transform: scale(0.92);
  }
  .mobile-call-icon svg {
    width: 22px;
    height: 22px;
    color: var(--secondary);
  }
}
