/* Component styles, ported from the LokaalP design system
   (components/core, components/marketing, components/pricing, components/navigation). */

/* Button */
.btn {
  font-family: var(--font-body);
  font-weight: var(--weight-semibold);
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1;
  text-decoration: none;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  white-space: nowrap;
  /* Default size is md — matches the source component's `size = "md"` default,
     so a .btn left without an explicit btn-sm/btn-lg still renders correctly. */
  font-size: var(--size-ui);
  padding: 12px 20px;
}
.btn-sm { font-size: var(--size-ui-sm); padding: 9px 15px; }
.btn-md { font-size: var(--size-ui); padding: 12px 20px; }
.btn-lg { font-size: var(--size-ui); padding: 15px 22px; }

.btn-primary { background: var(--action-primary-bg); color: var(--action-primary-fg); }
.btn-primary:hover { background: var(--action-primary-bg-hover); }

.btn-accent { background: var(--action-accent-bg); color: var(--action-accent-fg); }
.btn-accent:hover { background: #6f3018; }

.btn-outline { background: transparent; color: var(--action-outline-fg); border: var(--border-width-emphasis) solid var(--action-outline-border); }
.btn-outline:hover { background: rgba(26, 77, 56, .07); }

.btn-onDark { background: var(--action-on-dark-bg); color: var(--action-on-dark-fg); }
.btn-onDark:hover { background: #ffffff; }

.btn-ghost { background: transparent; color: var(--text-body); }
.btn-ghost:hover { background: rgba(0, 0, 0, .05); }

.btn-full { width: 100%; }
.btn[disabled] { opacity: .42; cursor: not-allowed; }

/* EyebrowPill */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px 6px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-hairline-strong);
  background: rgba(255, 255, 255, .5);
  font-family: var(--font-mono);
  font-size: var(--size-mono-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--track-mono-wide);
  text-transform: uppercase;
  color: var(--text-3);
}
.eyebrow[data-on-dark] {
  border-color: var(--border-divider-dark);
  background: rgba(255, 255, 255, .03);
  color: var(--text-faint-on-dark);
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 999px; flex: 0 0 auto; background: var(--clay); }
.eyebrow[data-on-dark] .eyebrow-dot { background: var(--clay-on-dark); }
.eyebrow[data-tone="green"] .eyebrow-dot { background: var(--green); }

/* PhotoPlaceholder */
.photo-placeholder {
  position: relative;
  border-radius: var(--radius-tile);
  overflow: hidden;
  background: var(--stripe-light);
  border: 1px solid var(--border-hairline);
}
.photo-placeholder[data-on-dark] {
  background: var(--stripe-dark);
  border-color: var(--border-card-dark);
}
.photo-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.photo-placeholder.testimonial-avatar img { border-radius: inherit; }

/* GalleryLink — clickable trade photo, jumps to that trade's section on /voorbeelden */
.gallery-link {
  display: block;
  border-radius: var(--radius-tile);
  text-decoration: none;
  cursor: pointer;
}
.gallery-link:hover .photo-placeholder img,
.gallery-link:focus-visible .photo-placeholder img { transform: scale(1.06); }
.gallery-link:hover .photo-caption,
.gallery-link:focus-visible .photo-caption { color: var(--text-1); }
.gallery-link:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }
.photo-caption {
  position: absolute;
  left: 10px;
  bottom: 9px;
  font-family: var(--font-mono);
  font-size: var(--size-mono-xs);
  letter-spacing: var(--track-mono);
  text-transform: uppercase;
  color: var(--text-3);
  background: rgba(244, 241, 234, .82);
  padding: 4px 7px;
  border-radius: var(--radius-tile-sm);
}
.photo-placeholder[data-on-dark] .photo-caption {
  color: var(--text-faint-on-dark);
  background: rgba(32, 36, 31, .72);
}

/* Wordmark */
.wordmark {
  font-family: var(--font-body);
  font-weight: var(--weight-bold);
  font-size: var(--size-wordmark);
  letter-spacing: var(--track-wordmark);
  color: var(--green);
  line-height: 1;
  text-decoration: none;
}
.wordmark:hover { text-decoration: none; color: var(--green); }
.wordmark[data-on-dark] { color: var(--text-heading-on-dark); }
.wordmark .accent { color: var(--clay); }
.wordmark[data-on-dark] .accent { color: var(--clay-on-dark); }
.wordmark-sm { font-size: var(--size-wordmark-sm); }

/* Callout */
.callout {
  background: var(--surface-callout);
  border: 1px solid var(--green-bg-border);
  border-radius: var(--radius-card-sm);
  padding: 16px 18px;
  display: grid;
  gap: 5px;
}
.callout-title { font-family: var(--font-body); font-size: var(--size-body-sm); font-weight: var(--weight-semibold); color: var(--green); }
.callout-body { margin: 0; font-family: var(--font-body); font-size: var(--size-body-xs); line-height: var(--lh-body); color: var(--text-callout); }

/* FaqList */
.faq-list { display: grid; align-content: start; }
.faq-item { border-top: 1px solid var(--border-divider); padding: 16px 0; display: grid; gap: 5px; }
.faq-q { font-family: var(--font-body); font-size: var(--size-body-sm); font-weight: var(--weight-semibold); color: var(--text-heading); }
.faq-a { font-family: var(--font-body); font-size: var(--size-body-xs); line-height: var(--lh-body); color: var(--text-muted); max-width: 62ch; }

/* MiniGallery */
.mini-gallery { display: grid; gap: 12px; }

/* StatStrip */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card-sm);
  background: var(--surface-card);
  overflow: hidden;
}
.stat-strip[data-on-dark] { border-color: var(--border-card-dark); background: var(--surface-panel-dark); }
.stat-item { padding: 18px 20px; display: grid; gap: 5px; border-left: 1px solid var(--border-divider); }
.stat-item:first-child { border-left: none; }
.stat-strip[data-on-dark] .stat-item { border-left-color: var(--border-divider-dark); }
.stat-value { font-family: var(--font-display); font-size: var(--size-stat); line-height: 1; color: var(--text-heading); }
.stat-strip[data-on-dark] .stat-value { color: var(--text-heading-on-dark); }
.stat-caption { font-family: var(--font-body); font-size: var(--size-body-xs); line-height: 1.4; color: var(--text-muted); }
.stat-strip[data-on-dark] .stat-caption { color: var(--text-body-on-dark); }

/* StepList */
.step-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.step { display: flex; gap: 14px; align-items: flex-start; }
.step-num {
  width: 26px; height: 26px; flex: 0 0 auto;
  border-radius: var(--radius-pill);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: var(--size-mono); font-weight: var(--weight-semibold);
  background: var(--paper); color: var(--green);
  border: 1px solid var(--border-light-2);
}
.step[data-done] .step-num { background: var(--green); color: var(--paper); border-color: var(--green); }
.step-title { font-family: var(--font-body); font-size: var(--size-body-sm); font-weight: var(--weight-semibold); color: var(--text-heading); }
.step-desc { font-family: var(--font-body); font-size: var(--size-body-xs); line-height: var(--lh-body); color: var(--text-muted); }

/* Testimonial */
.testimonial { display: flex; gap: 13px; align-items: flex-start; }
.testimonial-avatar { width: 38px; flex: 0 0 auto; aspect-ratio: 1 / 1; border-radius: 999px; }
.testimonial-quote { margin: 0; font-family: var(--font-body); font-size: var(--size-body-xs); line-height: var(--lh-body); color: var(--text-muted); }
.testimonial[data-on-dark] .testimonial-quote { color: var(--text-body-on-dark); }
.testimonial-attribution { font-family: var(--font-mono); font-size: var(--size-mono-sm); letter-spacing: var(--track-mono); text-transform: uppercase; color: var(--text-faint); }
.testimonial[data-on-dark] .testimonial-attribution { color: var(--text-faint-on-dark); }

/* LangSwitcher */
.lang-switcher {
  display: inline-flex; padding: 2px; border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, .05); border: 1px solid var(--border-hairline);
}
.lang-switcher[data-on-dark] { background: rgba(255, 255, 255, .06); border-color: var(--border-divider-dark); }
.lang-btn {
  border: none; cursor: pointer; border-radius: var(--radius-pill); padding: 5px 9px;
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-mono); font-size: var(--size-mono-sm); font-weight: var(--weight-semibold);
  letter-spacing: var(--track-mono); background: transparent; color: var(--text-3);
  transition: background var(--dur-fast) var(--ease);
}
.lang-switcher[data-on-dark] .lang-btn { color: var(--text-faint-on-dark); }
.lang-btn[aria-current="true"] { background: #fff; color: var(--text-heading); }
.lang-switcher[data-on-dark] .lang-btn[aria-current="true"] { background: var(--paper); color: var(--text-heading); }
.lang-flag {
  width: 15px; height: 10px; display: block; flex: none; border-radius: 1px;
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .22);
  opacity: .55; filter: saturate(.35);
  transition: opacity var(--dur-fast) var(--ease), filter var(--dur-fast) var(--ease);
}
.lang-btn:hover .lang-flag,
.lang-btn[aria-current="true"] .lang-flag { opacity: 1; filter: none; }
@media (prefers-reduced-motion: reduce) { .lang-flag { transition: none; } }

/* FeatureList */
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.feature-item { display: flex; gap: 10px; align-items: flex-start; }
.feature-check { margin-top: 3px; flex: 0 0 auto; color: var(--check-on-light); }
.feature-list[data-on-dark] .feature-check { color: var(--check-on-dark); }
.feature-text { font-family: var(--font-body); font-size: var(--size-body-sm); line-height: var(--lh-body); color: var(--text-body); }
.feature-list[data-on-dark] .feature-text { color: var(--text-body-on-dark); }

/* RibbonBadge */
.ribbon {
  position: absolute; top: -11px; right: 22px;
  background: var(--status-badge-bg); color: var(--status-badge-fg);
  font-family: var(--font-mono); font-size: var(--size-mono-xs); font-weight: var(--weight-semibold);
  letter-spacing: var(--track-mono-wide); text-transform: uppercase;
  padding: 6px 11px; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-ribbon); white-space: nowrap;
}

/* PricingCard */
.pricing-card {
  position: relative;
  background: var(--surface-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: var(--pad-card);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.pricing-card[data-tone="dark"] { background: var(--surface-card-dark); border-color: var(--border-card-dark); }
.pricing-price-row { display: flex; align-items: baseline; gap: 9px; }
.pricing-price { font-family: var(--font-display); font-size: var(--size-price); line-height: .95; letter-spacing: var(--track-display); color: var(--text-heading); }
.pricing-card[data-tone="dark"] .pricing-price { color: var(--text-heading-on-dark); }
.pricing-fineprint { font-family: var(--font-mono); font-size: var(--size-mono-sm); letter-spacing: var(--track-mono); text-transform: uppercase; color: var(--text-faint); }
.pricing-card[data-tone="dark"] .pricing-fineprint { color: var(--text-faint-on-dark); }
.pricing-desc { margin: 0; font-family: var(--font-body); font-size: var(--size-body-xs); line-height: var(--lh-body); color: var(--text-body); }
.pricing-card[data-tone="dark"] .pricing-desc { color: var(--text-body-on-dark); }
.pricing-divider { height: 1px; background: var(--border-divider); }
.pricing-card[data-tone="dark"] .pricing-divider { background: var(--border-divider-dark); }
.pricing-features { flex: 1 1 auto; }
