/* =========================================================
   Kaya Schoon — Service page styles
   ========================================================= */

:root {
  --c-bg: #ffffff;
  --c-bg-soft: #f8f9fa;
  --c-dark: #0b1220;
  --c-text: #1f2937;
  --c-text-soft: #4b5563;
  --c-text-mute: #6b7280;
  --c-line: #e6e8ec;
  --c-line-dark: rgba(255,255,255,0.12);
  --c-orange: #f5821f;
  --c-orange-deep: #e2740d;
  --c-blue: #5db8db;
  --c-blue-deep: #3a9fc6;
  --maxw: 1240px;
  --pad: clamp(20px, 4vw, 56px);
  --ease-out: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100vw; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--c-dark);
}
p { margin: 0; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-text-mute);
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px;
  background: var(--c-orange);
}
.eyebrow.on-dark { color: rgba(255,255,255,0.7); }
.eyebrow.on-dark::before { background: var(--c-blue); }

.section-title {
  font-size: clamp(30px, 4.2vw, 52px);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.section-title.on-dark { color: #fff; }

.lead {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--c-text-soft);
  line-height: 1.75;
  text-wrap: pretty;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  font-size: 15px; font-weight: 500;
  text-decoration: none;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease-out), background-color .25s var(--ease-out), border-color .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.btn .arrow { transition: transform .3s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--primary {
  background: var(--c-orange); color: #fff;
  border-color: var(--c-orange);
  box-shadow: 0 8px 24px rgba(245,130,31,0.22);
}
.btn--primary:hover {
  background: var(--c-orange-deep);
  border-color: var(--c-orange-deep);
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent; color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: #fff;
  transform: translateY(-2px);
}

/* ===== Hero ===== */
.svc-hero {
  position: relative;
  min-height: calc(100vh - 88px);
  min-height: calc(100svh - 88px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
  width: 100%; max-width: 100vw;
}
.svc-hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}
.svc-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,18,32,0.55) 0%, rgba(11,18,32,0.82) 100%);
  z-index: -1;
}
.svc-hero__inner {
  width: 100%;
  padding: 120px 0 100px;
}
.svc-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
}
.svc-hero__eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-orange);
  box-shadow: 0 0 0 4px rgba(245,130,31,0.18);
}
.svc-hero__title {
  font-size: clamp(38px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #fff;
  max-width: 16ch;
  text-wrap: balance;
  margin-bottom: 28px;
}
.svc-hero__sub {
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
  max-width: 56ch;
  margin-bottom: 36px;
}
.svc-hero__breadcrumb {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 24px;
}
.svc-hero__breadcrumb a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}
.svc-hero__breadcrumb a:hover { color: var(--c-blue); }
.svc-hero__breadcrumb .sep { margin: 0 8px; opacity: 0.5; }

@media (max-width: 720px) {
  .svc-hero__inner { padding: 80px 0 70px; text-align: center; }
  .svc-hero__title, .svc-hero__sub { margin-left: auto; margin-right: auto; }
  .svc-hero__eyebrow { justify-content: center; }
  .svc-hero__breadcrumb { text-align: center; }
}

/* ===== Sectie 2: Uitleg ===== */
.svc-explain {
  padding: clamp(80px, 10vw, 140px) 0;
  background: #fff;
}
.svc-explain__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.svc-explain__title {
  font-size: clamp(32px, 4.2vw, 56px);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.svc-explain__title .accent-bar {
  display: block; width: 56px; height: 3px;
  background: var(--c-orange);
  margin-bottom: 24px;
}
.svc-explain__body {
  display: flex; flex-direction: column;
  gap: 20px;
  padding-top: 14px;
}
.svc-explain__list {
  list-style: none; margin: 8px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.svc-explain__list li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 15.5px;
  color: var(--c-text-soft);
  line-height: 1.55;
}
.svc-explain__list li::before {
  content: "";
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--c-blue);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='3,8 7,12 13,4'/></svg>");
  background-size: 70% 70%;
  background-position: center;
  background-repeat: no-repeat;
}
@media (max-width: 880px) {
  .svc-explain__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ===== Sectie 3: Hoe het werkt — horizontale swipe cards ===== */
.svc-howto {
  padding: clamp(80px, 10vw, 140px) 0 clamp(80px, 10vw, 140px);
  background: var(--c-bg-soft);
  position: relative;
  overflow: hidden;
}
.svc-howto__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.svc-howto__head .lead { max-width: 48ch; }
.svc-howto__nav {
  display: flex;
  gap: 12px;
}
.svc-howto__nav button {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--c-line);
  background: #fff;
  color: var(--c-dark);
  cursor: pointer;
  display: grid; place-items: center;
  transition: all .25s var(--ease-out);
}
.svc-howto__nav button:hover:not(:disabled) {
  background: var(--c-dark);
  color: #fff;
  border-color: var(--c-dark);
  transform: translateY(-2px);
}
.svc-howto__nav button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.svc-howto__nav svg { width: 18px; height: 18px; }

.svc-howto__track-wrap {
  margin: 0 calc(-1 * var(--pad));
  padding: 0 var(--pad);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.svc-howto__track-wrap::-webkit-scrollbar { display: none; }

.svc-howto__track {
  display: flex;
  gap: 20px;
  padding-bottom: 20px;
}
.svc-step {
  flex: 0 0 320px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 6px;
  padding: 36px 32px 32px;
  position: relative;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s var(--ease-out);
}
.svc-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -16px rgba(11,18,32,0.18);
  border-color: transparent;
}
.svc-step__num {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--c-orange);
  margin-bottom: 24px;
}
.svc-step__icon {
  width: 56px; height: 56px;
  background: #f1f4f8;
  color: var(--c-dark);
  display: grid; place-items: center;
  margin-bottom: 24px;
  border-radius: 4px;
}
.svc-step__icon svg { width: 28px; height: 28px; stroke-width: 1.5; }
.svc-step__title {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 12px;
}
.svc-step__desc {
  font-size: 15px;
  color: var(--c-text-soft);
  line-height: 1.6;
}

.svc-howto__hint {
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-mute);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.svc-howto__hint svg { width: 14px; height: 14px; }

@media (max-width: 600px) {
  .svc-step { flex: 0 0 84%; padding: 28px 24px; }
}

/* ===== Sectie 4: Waarom Kaya ===== */
.svc-why {
  padding: clamp(80px, 10vw, 140px) 0;
  background: #fff;
}
.svc-why__head {
  text-align: center;
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.svc-why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.svc-why__card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 4px;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s var(--ease-out);
}
.svc-why__card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 3px; height: 0;
  background: var(--c-orange);
  transition: height .4s var(--ease-out);
}
.svc-why__card:nth-child(2)::before { background: var(--c-blue); }
.svc-why__card:nth-child(3)::before { background: var(--c-dark); }
.svc-why__card:hover::before { height: 100%; }
.svc-why__card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 22px 50px -18px rgba(11,18,32,0.18);
}
.svc-why__icon {
  width: 56px; height: 56px;
  background: #f1f4f8;
  color: var(--c-dark);
  display: grid; place-items: center;
  margin-bottom: 24px;
  border-radius: 4px;
  transition: background-color .3s var(--ease-out), color .3s var(--ease-out);
}
.svc-why__card:hover .svc-why__icon {
  background: var(--c-dark);
  color: #fff;
}
.svc-why__icon svg { width: 28px; height: 28px; stroke-width: 1.5; }
.svc-why__title {
  font-size: 20px;
  margin-bottom: 12px;
}
.svc-why__desc {
  font-size: 15px;
  color: var(--c-text-soft);
  line-height: 1.6;
}
@media (max-width: 880px) {
  .svc-why__grid { grid-template-columns: 1fr; }
}

/* ===== Sectie 5: CTA ===== */
.svc-cta {
  background: var(--c-dark);
  color: #fff;
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
  overflow: hidden;
}
.svc-cta::before {
  content: "";
  position: absolute;
  bottom: -200px; left: -120px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,130,31,0.16), transparent 70%);
  pointer-events: none;
}
.svc-cta::after {
  content: "";
  position: absolute;
  top: -160px; right: -160px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(93,184,219,0.14), transparent 70%);
  pointer-events: none;
}
.svc-cta__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.svc-cta__title {
  color: #fff;
  font-size: clamp(34px, 5vw, 60px);
  letter-spacing: -0.02em;
  max-width: 18ch;
  text-wrap: balance;
}
.svc-cta__title .accent { color: var(--c-orange); }
.svc-cta__sub {
  color: rgba(255,255,255,0.72);
  font-size: clamp(15px, 1.4vw, 18px);
  max-width: 50ch;
  line-height: 1.6;
}
.svc-cta__buttons {
  display: flex; gap: 14px; flex-wrap: wrap;
  justify-content: center;
  margin-top: 16px;
}

/* ===== Reveal animaties ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--left { transform: translateX(-40px); }
.reveal--left.is-visible { transform: translateX(0); }
.reveal--right { transform: translateX(40px); }
.reveal--right.is-visible { transform: translateX(0); }

.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }
.reveal[data-delay="6"] { transition-delay: .48s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}
