/* =========================================
   DIENSTENPAGINA – IN STIJL VAN HOMEPAGE
========================================= */

/* ---------- HERO ---------- */

.diensten-hero {
  position: relative;
  padding: 140px 0 110px;

  /* ✅ Net als home: sectie zelf transparant */
  background: transparent;

  color: #fff;
  overflow: hidden;
}

/* ✅ Net als home: glow zit in ::before */
.diensten-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(243,156,18,0.18), transparent 60%),
    radial-gradient(circle at bottom right, rgba(30,144,255,0.35), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}

/* Zorg dat content boven de glow blijft */
.diensten-hero__inner {
  position: relative;
  z-index: 1;

  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;

  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.4fr);
  gap: 32px;
  align-items: stretch;
}

/* Linker content */
.diensten-hero__content h1 {
  margin: 8px 0 12px;
  font-size: clamp(30px, 5vw, 40px);
  letter-spacing: .02em;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(5, 9, 20, 0.85);
  border: 1px solid rgba(243, 156, 18, 0.7);
  color: #f7d08a;
  margin-bottom: 10px;
}

.diensten-hero__content p {
  margin: 0 0 14px;
  color: rgba(232,238,249,.92);
  font-size: 0.97rem;
  line-height: 1.65;
}

.hero-points {
  margin: 6px 0 0;
  padding-left: 18px;
  color: #c7d3ea;
  font-size: 0.92rem;
}
.hero-points li + li {
  margin-top: 4px;
}

/* Rechter infokaart (blijft hetzelfde) */
.diensten-hero__card {
  background: rgba(8,14,30,0.96);
  border-radius: 18px;
  padding: 26px 28px 24px;
  box-shadow: 0 18px 48px rgba(0,0,0,.5);
  border: 1px solid rgba(255,255,255,.08);
  position: relative;

  width: 55%;
  max-width: 620px;
  min-width: 480px;
  justify-self: end;
}

.diensten-hero__card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.diensten-hero__card p {
  margin: 0 0 12px;
  font-size: 0.92rem;
  color: #c7d3ea;
  line-height: 1.45;
}

.diensten-hero__note {
  margin-top: 6px;
  font-size: 0.88rem;
  color: #f7d08a;
}

/* ---------- DIENSTENBOX (kaart onder de hero) ---------- */

/* ✅ Net als home: sectie zelf transparant, de box is de card */
.diensten-section {
  padding: 70px 0 80px;
  background: transparent;
}

.diensten-section .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.diensten-box {
  background: rgba(6,12,27,0.96);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 16px 40px rgba(0,0,0,0.65);
  padding: 28px 26px 34px;
}

.diensten-box h2 {
  margin-top: 0;
  margin-bottom: 8px;
}

.diensten-box__intro {
  margin-top: 0;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Basis styling voor plugin-output */
.diensten-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.diensten-box ul > li {
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: rgba(232,238,249,.92);
}

.diensten-box ul > li:last-child {
  border-bottom: none;
}

/* Sublijsten */
.diensten-box ul ul {
  margin-top: 4px;
  padding-left: 18px;
}

.diensten-box ul ul li {
  border-bottom: none;
  font-size: 0.92rem;
  color: #c7d3ea;
}

/* ---------- CTA-STROOK ONDERAAN ---------- */

.diensten-cta .cta-inner {
  padding-top: 40px;
  padding-bottom: 40px;
  text-align: center;
}

.diensten-cta .cta-inner p {
  margin: 0 0 6px;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 900px) {
  .diensten-hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding-inline: 18px;
  }

  .diensten-hero__card {
    order: -1;
    width: 100%;
    min-width: 0;
    max-width: 720px;
    justify-self: start;
  }

  .diensten-section .container {
    padding-inline: 18px;
  }

  .diensten-box {
    padding: 22px 18px 26px;
  }
}

@media (max-width: 600px) {
  .diensten-hero {
    padding: 100px 0 70px;
  }
}

/* =========================================================
   DIENSTEN & TARIEVEN output (itf_services_catalog)
   -> zit in .diensten-booking-wrapper (niet in .diensten-box)
========================================================= */

.diensten-booking-wrapper{
  margin-top: 18px;

  /* maak er 1 grote “card” van zoals je andere secties */
  background: rgba(6,12,27,0.96);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 16px 40px rgba(0,0,0,0.65);
  padding: 22px 18px;
}

/* headings binnen de output */
.diensten-booking-wrapper h2,
.diensten-booking-wrapper h3{
  margin: 0 0 14px;
}

/* ===== Accordion/details variant ===== */
.diensten-booking-wrapper details{
  background: rgba(10,16,34,0.55);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  margin: 10px 0;
  overflow: hidden;
}

.diensten-booking-wrapper summary{
  cursor: pointer;
  padding: 12px 14px;
  font-weight: 700;
  color: rgba(245,247,255,0.92);
  list-style: none;
  position: relative;
  padding-left: 38px;
}

.diensten-booking-wrapper summary::-webkit-details-marker{ display:none; }

.diensten-booking-wrapper summary::before{
  content: "▸";
  position: absolute;
  left: 14px;
  top: 12px;
  opacity: .85;
}

.diensten-booking-wrapper details[open] summary::before{ content:"▾"; }

.diensten-booking-wrapper details > *:not(summary){
  padding: 12px 14px 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ===== Table variant ===== */
.diensten-booking-wrapper table{
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.diensten-booking-wrapper thead th{
  text-align: left;
  font-weight: 800;
  color: rgba(245,247,255,0.92);
  padding: 10px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.diensten-booking-wrapper thead th:last-child{
  text-align: right;
  width: 170px;
}

.diensten-booking-wrapper tbody td{
  vertical-align: top;
  padding: 10px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: rgba(232,238,249,.92);
}

.diensten-booking-wrapper tbody td:last-child{
  text-align: right;
  white-space: nowrap;
  font-weight: 700;
  color: rgba(245,247,255,0.95);
}

.diensten-booking-wrapper tbody tr:hover td{
  background: rgba(255,255,255,0.02);
}

/* Beschrijvingen onder titel (als het <p> zijn) */
.diensten-booking-wrapper p{
  margin: 6px 0 0;
  line-height: 1.55;
  color: rgba(199,211,234,0.92);
  font-size: 0.93rem;
}

/* Mobile: prijs onder elkaar */
@media (max-width: 720px){
  .diensten-booking-wrapper table{ table-layout: auto; }
  .diensten-booking-wrapper thead th:last-child{ width:auto; }
  .diensten-booking-wrapper tbody td:last-child{
    text-align: left;
  }
}

.forminator-checkbox input[type="checkbox"] {
  vertical-align: middle;
}