:root {
  --primary: #0f5fff;
  --primary-dark: #0a3fa8;
  --secondary: #ecf3ff;
  --text: #172033;
  --muted: #5f6f89;
  --border: #dce5f4;
  --white: #ffffff;
  --bg: #f7faff;
  --shadow: 0 18px 45px rgba(18, 45, 91, 0.12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.navbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.2rem;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 10px 25px rgba(15, 95, 255, 0.25);
}

.nav-phone {
  color: var(--muted);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.nav-phone:hover {
  color: var(--primary) !important;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  color: var(--muted);
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-cta {
  padding: 11px 18px;
  background: var(--primary);
  color: var(--white) !important;
  border-radius: 999px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, box-shadow 0.25s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  background: var(--primary-dark);
  box-shadow: 0 8px 20px rgba(15, 95, 255, 0.25);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: var(--secondary);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 20px;
  background: var(--text);
  margin: 5px auto;
}

.hero {
  padding: 84px 0;
  background:
    radial-gradient(circle at top left, rgba(15, 95, 255, 0.16), transparent 34%),
    linear-gradient(180deg, #ffffff, #f7faff);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.1em;
  font-size: 0.82rem;
  margin-bottom: 12px;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.hero-text {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 650px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(15, 95, 255, 0.22);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 16px 32px rgba(15, 95, 255, 0.35);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--primary-dark);
}

.btn-secondary:hover {
  background: #d8e6ff;
}

.btn-light {
  background: var(--white);
  color: var(--primary-dark);
  box-shadow: 0 8px 20px rgba(18, 45, 91, 0.08);
}

.btn-light:hover {
  background: var(--secondary);
  box-shadow: 0 12px 28px rgba(18, 45, 91, 0.15);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-weight: 700;
}

.hero-card,
.contact-card,
.about-card,
.note-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-card:hover,
.contact-card:hover,
.about-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(18, 45, 91, 0.16);
}

.hero-card ul,
.about-card ul {
  margin: 18px 0 20px;
  padding-left: 20px;
  color: var(--muted);
}

.small-link {
  color: var(--primary);
  font-weight: 800;
}

.section {
  padding: 78px 0;
}

.section-white {
  background: var(--white);
}

.section-muted {
  background: #f3f6fb;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 38px;
}

.section-heading p,
.split p,
.page-hero p {
  color: var(--muted);
  font-size: 1.05rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.service-card,
.price-card,
.service-list article {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 10px 28px rgba(18, 45, 91, 0.08);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover,
.price-card:hover,
.service-list article:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(18, 45, 91, 0.12);
  border-color: var(--primary);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.service-card p,
.price-card p,
.service-list p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}

.benefit-list {
  display: grid;
  gap: 14px;
}

.benefit-list div {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.benefit-list div:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(18, 45, 91, 0.08);
  border-color: var(--primary);
}

.benefit-list strong,
.benefit-list span {
  display: block;
}

.benefit-list span {
  color: var(--muted);
}

.cta-section {
  padding: 42px 0;
  display: flex;
  align-items: center;
}

.cta-box {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border-radius: 30px;
  padding: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.cta-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 60px rgba(18, 45, 91, 0.22);
}

.cta-box p {
  color: rgba(255,255,255,0.82);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(18, 45, 91, 0.08);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  font-weight: 800;
  font-size: 1.05rem;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 1.4rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.42s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateY(-6px);
}

.faq-item[open] .faq-body {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
}

.faq-body > div {
  display: block;
}

.faq-body p {
  padding: 0 24px 22px;
  color: var(--muted);
}

@media (max-width: 480px) {
  .hero {
    padding: 36px 0;
  }

  .section {
    padding: 44px 0;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .cta-box {
    padding: 28px 20px;
  }

  .hero-card,
  .contact-card,
  .contact-form {
    padding: 20px;
  }

  .price {
    font-size: 2rem;
  }

  .faq-item summary {
    font-size: 0.95rem;
    padding: 18px 44px 18px 20px;
  }

  .faq-item summary::after {
    right: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-box {
    transition: box-shadow 0.3s ease;
  }

  .cta-box:hover {
    transform: none;
  }
}

.page-main {
  min-height: 70vh;
  position: relative;
  overflow: hidden;
}

.page-main::before,
.page-main::after {
  content: "";
  position: absolute;
  inset: auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(12px);
  opacity: 0.16;
}

.page-main::before {
  top: 120px;
  right: -240px;
  background: radial-gradient(circle, rgba(15, 95, 255, 0.32) 0%, rgba(15, 95, 255, 0) 68%);
}

.page-main::after {
  bottom: 140px;
  left: -260px;
  background: radial-gradient(circle, rgba(15, 95, 255, 0.18) 0%, rgba(15, 95, 255, 0) 70%);
}

.page-main > * {
  position: relative;
  z-index: 1;
}

.page-hero {
  padding: 78px 0 36px;
  background: linear-gradient(180deg, #ffffff, #f7faff);
}

.page-hero .container {
  max-width: 850px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  gap: 22px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-bottom: 28px;
}

.price-card.featured {
  border: 2px solid var(--primary);
}

.price {
  color: var(--primary);
  font-size: 2.3rem;
  font-weight: 900;
  margin-bottom: 14px;
}

.price span {
  font-size: 1rem;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: start;
}

.contact-card p {
  margin-bottom: 12px;
  color: var(--muted);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  display: grid;
  gap: 18px;
}

/* Modal styles */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
}
.modal.open { display: flex; }
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}
.modal-content {
  position: relative;
  background: var(--white);
  border-radius: 14px;
  padding: 26px;
  width: min(520px, calc(100% - 40px));
  box-shadow: 0 30px 60px rgba(18,45,91,0.2);
  z-index: 62;
}
.modal-close {
  position: absolute;
  right: 12px;
  top: 8px;
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  cursor: pointer;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
  background: #fbfdff;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(15, 95, 255, 0.16);
  border-color: var(--primary);
}

.form-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-form button[disabled] {
  opacity: 0.75;
  cursor: not-allowed;
}

.site-footer {
  background: linear-gradient(180deg, #121d33 0%, #0a1120 100%);
  color: var(--white);
  padding: 64px 0 42px;
  border-top: 4px solid var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.footer-grid h3 {
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 16px;
  font-weight: 800;
}

.footer-grid h4 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.footer-grid p {
  margin-bottom: 10px;
}

.footer-grid a {
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
}

.footer-grid a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-meta {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.9rem;
}

.footer-meta p {
  color: rgba(255, 255, 255, 0.5);
}

.site-footer p,
.site-footer a {
  color: rgba(255,255,255,0.72);
}

/* Reviews and Testimonials Styles */
.text-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.review-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  color: #ffb800;
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.review-text {
  font-style: italic;
  font-size: 1.05rem;
  margin-bottom: 18px;
  line-height: 1.6;
}

.review-author {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--muted);
  margin-top: auto;
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 14px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a {
    display: block;
    padding: 14px;
  }

  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 56px 0;
  }

  .section {
    padding: 56px 0;
  }

  .cta-section {
    padding: 26px 0;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Tablet-specifieke aanpassingen voor staande iPad */
@media (min-width: 768px) and (max-width: 1024px) {
  .price-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .price-grid > *:last-child:nth-child(odd) {
    grid-column: span 2;
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-grid > *:last-child:nth-child(odd) {
    grid-column: span 2;
  }

  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards > *:last-child:nth-child(odd) {
    grid-column: span 2;
  }
}

/* Mobiel-specifieke aanpassingen */
@media (max-width: 767px) {
  .split,
  .price-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 10px;
    gap: 22px;
  }

  .reviews-grid::-webkit-scrollbar {
    display: none;
  }

  .reviews-grid .review-card {
    flex: 0 0 calc(100% - 40px);
    scroll-snap-align: center;
  }
}
