/* Moritz — premium blue/purple redesign, mobile-first */

:root {
  --bg: #0b1020;
  --bg-elevated: #0e1528;
  --card: #121a30;
  --card-hover: #161f3a;
  --primary: #5b8aff;
  --purple: #8b6cff;
  --glow: #9b8cff;
  --ice: #b4c4ff;
  --accent-teal: #2dd4bf;
  --accent-rose: #fb7185;
  --accent-amber: #fbbf24;
  --text: #f5f7ff;
  --text-muted: #b8c2e0;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --white: #ffffff;
  --radius: 20px;
  --radius-sm: 14px;
  --radius-pill: 999px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.35);
  --gradient-cta: linear-gradient(135deg, #4f7cff 0%, #7a5cff 55%, #a855f7 100%);
  --gradient-glow: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(79, 124, 255, 0.38), transparent 70%),
    radial-gradient(ellipse 50% 40% at 90% 30%, rgba(45, 212, 191, 0.12), transparent 55%);
  --font-display: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --wrap: min(1120px, calc(100% - 2rem));
  --header-h: 72px;
}

@media (min-width: 768px) {
  :root {
    --wrap: min(1180px, calc(100% - 3rem));
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
  background: var(--bg);
  font-feature-settings: "kern" 1, "liga" 1;
  padding-bottom: 5.5rem;
}

@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--text);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

a {
  color: var(--ice);
}

a:hover {
  color: var(--text);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.ambient-glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background: var(--gradient-glow);
  opacity: 0.95;
  z-index: 0;
}

#funnel {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

main,
.site-header,
.site-footer,
.mobile-sticky-cta {
  position: relative;
  z-index: 1;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

/* Iets bredere leesregel voor header zodat menu ademt */
.wrap--header {
  width: min(1280px, calc(100% - 2rem));
}

@media (min-width: 768px) {
  .wrap--header {
    width: min(1280px, calc(100% - 3rem));
  }
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--gradient-cta);
  color: var(--white);
  box-shadow: 0 8px 32px rgba(79, 124, 255, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 10px 40px rgba(122, 92, 255, 0.45);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  border-color: rgba(122, 92, 255, 0.5);
  color: var(--text);
  background: rgba(122, 92, 255, 0.08);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: transparent;
}

.btn-ghost:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
}

.btn:disabled,
.btn.is-loading {
  opacity: 0.65;
  pointer-events: none;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(11, 16, 32, 0.88);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(11, 16, 32, 0.96);
  box-shadow: var(--shadow-soft);
}

.site-header.is-scrolled .header-inner {
  padding-block: 0.7rem;
}

.header-main {
  border-bottom: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding-block: 1.05rem;
  transition: padding 0.25s ease;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient-cta);
  box-shadow: 0 4px 20px rgba(79, 124, 255, 0.4);
}

.logo-mark--sm {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.nav {
  display: none;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  min-width: 0;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
}

@media (min-width: 1120px) {
  .nav {
    display: flex;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  row-gap: 0.4rem;
  column-gap: clamp(0.15rem, 0.8vw, 0.45rem);
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  padding: 0.55rem clamp(0.8rem, 1.4vw, 1.15rem);
  border-radius: 10px;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-cta {
  position: relative;
  flex-shrink: 0;
  padding: 0.62rem 1.35rem;
  border-radius: var(--radius-pill);
  background: var(--gradient-cta);
  color: var(--white) !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: none;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 24px rgba(79, 124, 255, 0.3);
  margin-left: 0.15rem;
}

.nav-cta::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(0.85rem, 1.5vw, 1.35rem));
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 1.35rem;
  background: var(--border-strong);
  opacity: 0.85;
  pointer-events: none;
}

.nav-cta--glow {
  animation: cta-glow 3.5s ease-in-out infinite;
}

@keyframes cta-glow {
  0%,
  100% {
    box-shadow: 0 4px 24px rgba(79, 124, 255, 0.3);
  }
  50% {
    box-shadow: 0 6px 32px rgba(142, 124, 255, 0.35);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-cta--glow {
    animation: none;
  }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font: inherit;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  min-height: 48px;
  min-width: 48px;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle-bars {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  box-shadow: 0 7px 0 currentColor, 0 -7px 0 currentColor;
  flex-shrink: 0;
  position: relative;
}

body.mobile-nav-open .nav-toggle-bars {
  box-shadow: none;
  background: transparent;
}

body.mobile-nav-open .nav-toggle-bars::before,
body.mobile-nav-open .nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  top: 0;
  background: currentColor;
  border-radius: 1px;
}

body.mobile-nav-open .nav-toggle-bars::before {
  transform: rotate(45deg);
}

body.mobile-nav-open .nav-toggle-bars::after {
  transform: rotate(-45deg);
}

@media (min-width: 1120px) {
  .nav-toggle {
    display: none;
  }
}

/* Mobiel menu: fullscreen overlay + schuifpaneel */
.mobile-nav[hidden] {
  display: none !important;
}

.mobile-nav:not([hidden]) {
  display: block;
}

@media (min-width: 1120px) {
  .mobile-nav {
    display: none !important;
  }
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 600;
  pointer-events: none;
}

.mobile-nav:not([hidden]) {
  pointer-events: auto;
}

.mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  padding: 0;
  margin: 0;
  background: rgba(5, 8, 18, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  opacity: 0;
  animation: mobile-nav-fade-in 0.25s ease forwards;
}

@keyframes mobile-nav-fade-in {
  to {
    opacity: 1;
  }
}

.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(100%, 22rem);
  max-width: 100%;
  background: linear-gradient(165deg, #141c34 0%, #0b1020 55%, #080c18 100%);
  border-left: 1px solid var(--border-strong);
  box-shadow: -16px 0 48px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  padding: max(0.75rem, env(safe-area-inset-top)) 0 max(1rem, env(safe-area-inset-bottom));
  transform: translateX(100%);
  animation: mobile-nav-slide-in 0.32s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes mobile-nav-slide-in {
  to {
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav-backdrop {
    animation: none;
    opacity: 1;
  }

  .mobile-nav-panel {
    animation: none;
    transform: none;
  }
}

.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 1rem 1rem;
  border-bottom: 1px solid var(--border);
}

.mobile-nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.mobile-nav-close {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav-close span {
  display: block;
  width: 18px;
  height: 18px;
  position: relative;
}

.mobile-nav-close span::before,
.mobile-nav-close span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.mobile-nav-close span::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-nav-close span::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-nav-list {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 0.75rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus-visible {
  background: rgba(79, 124, 255, 0.12);
  border-color: rgba(79, 124, 255, 0.25);
  color: var(--text);
  outline: none;
}

.mobile-nav-link:active {
  background: rgba(122, 92, 255, 0.15);
}

.mobile-nav-cta {
  margin: 0.5rem 1rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  text-align: center;
  text-decoration: none;
  color: var(--white) !important;
  background: var(--gradient-cta);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 28px rgba(79, 124, 255, 0.35);
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

html.mobile-nav-open,
body.mobile-nav-open {
  overflow: hidden;
  touch-action: none;
  height: 100%;
}

/* Mobile sticky CTA */
.mobile-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  padding: 0.85rem 1rem;
  background: rgba(11, 16, 32, 0.94);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-strong);
  text-decoration: none;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.4);
}

.mobile-sticky-cta__sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
}

@media (min-width: 900px) {
  .mobile-sticky-cta {
    display: none;
  }
}

/* Exit reminder */
.exit-reminder {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(5, 8, 18, 0.72);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.exit-reminder[hidden] {
  display: none !important;
}

.exit-reminder-card {
  position: relative;
  max-width: 400px;
  width: 100%;
  padding: 2rem 1.75rem;
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.exit-reminder-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.exit-reminder-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 0.5rem;
}

.exit-reminder-text {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 8vw, 5.5rem);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-gradient {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 70%;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(91, 138, 255, 0.28), transparent 65%),
    radial-gradient(ellipse 45% 40% at 85% 25%, rgba(168, 85, 247, 0.18), transparent 55%),
    radial-gradient(ellipse 40% 35% at 15% 40%, rgba(45, 212, 191, 0.12), transparent 50%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 85%);
  opacity: 0.5;
}

.hero-layout {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.hero-copy {
  max-width: 36rem;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--glow);
  margin: 0 0 0.75rem;
}

.eyebrow-muted {
  color: var(--ice);
  opacity: 0.9;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.1rem);
  margin: 0 0 1rem;
}

.hero-accent {
  background: var(--gradient-cta);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

@media (max-width: 599px) {
  .hero-actions .btn {
    flex: 1 1 100%;
    min-height: 48px;
  }
}

.hero-trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

@media (min-width: 520px) {
  .hero-trust {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-trust-icon {
  opacity: 0.85;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card {
  width: 100%;
  max-width: 400px;
  padding: 1.5rem;
  background: rgba(18, 26, 48, 0.75);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
}

.hero-card--float {
  animation: float-card 7s ease-in-out infinite;
}

@keyframes float-card {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-card--float {
    animation: none;
  }
}

.hero-card-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ice);
  margin-bottom: 1rem;
}

.hero-silhouette {
  width: 100%;
  height: auto;
  display: block;
}

.hero-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.hero-card-tags li {
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(79, 124, 255, 0.15);
  color: var(--ice);
  border: 1px solid rgba(79, 124, 255, 0.25);
}

.hero-card-tags li:nth-child(2) {
  background: rgba(168, 85, 247, 0.14);
  border-color: rgba(168, 85, 247, 0.3);
}

.hero-card-tags li:nth-child(3) {
  background: rgba(45, 212, 191, 0.12);
  border-color: rgba(45, 212, 191, 0.32);
  color: #c5f5ec;
}

/* ——— Sections ——— */
.section {
  padding: clamp(3rem, 7vw, 5rem) 0;
  position: relative;
}

.section-alt {
  background: linear-gradient(
    180deg,
    rgba(18, 26, 48, 0.55) 0%,
    rgba(79, 124, 255, 0.06) 45%,
    rgba(122, 92, 255, 0.05) 70%,
    transparent 100%
  );
}

.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.section-title {
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  margin: 0 0 0.75rem;
}

.section-intro {
  margin: 0;
  font-size: 1.02rem;
}

.prose {
  max-width: 52ch;
}

.prose a {
  color: var(--primary);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-inview {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Trust strip */
.trust-strip {
  padding-block: 1.75rem;
  border-block: 1px solid var(--border);
  background: rgba(18, 26, 48, 0.35);
}

.trust-strip-inner {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .trust-strip-inner {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.trust-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Benefits */
.benefit-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .benefit-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.benefit-card {
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-card:hover {
  border-color: rgba(122, 92, 255, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.benefit-icon {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.benefit-title {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.benefit-card p {
  margin: 0;
  font-size: 0.92rem;
}

/* Service showcase */
.service-showcase {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .service-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .service-showcase {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(91, 138, 255, 0.95), rgba(168, 85, 247, 0.75), rgba(45, 212, 191, 0.65));
  z-index: 2;
  pointer-events: none;
}

.service-tile:hover {
  border-color: rgba(79, 124, 255, 0.3);
  box-shadow: var(--shadow-soft);
}

.service-tile-visual {
  position: relative;
  height: 200px;
  background: linear-gradient(160deg, #0b1020 0%, #121a30 45%, #1a2444 100%);
  overflow: hidden;
}

.service-tile-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11, 16, 32, 0.65) 100%);
  pointer-events: none;
}

.service-tile-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease;
}

.service-tile:hover .service-tile-visual img {
  transform: scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
  .service-tile:hover .service-tile-visual img {
    transform: none;
  }
}

.service-tile-body {
  padding: 1.35rem 1.35rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-tile-title {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

.service-tile-body > p {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  flex: 1;
}

.service-tile-bullets {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.service-tile-bullets li {
  margin-bottom: 0.25rem;
}

.service-tile-actions {
  margin-top: auto;
}

/* Funnel: extra diensten + formulierrijen */
.funnel-also {
  margin-top: 1.5rem;
  padding: 1.25rem 0 0 1rem;
  border-top: 1px solid rgba(139, 108, 255, 0.18);
  border-left: 3px solid rgba(45, 212, 191, 0.5);
  border-radius: 0 0 0 var(--radius-sm);
}

.funnel-also-title {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text);
}

.funnel-also-muted {
  font-weight: 500;
  color: var(--text-muted);
}

.funnel-also-muted em {
  font-style: normal;
  font-weight: 700;
  color: var(--accent-teal);
}

.funnel-field-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .funnel-field-row {
    grid-template-columns: 1fr 1fr;
  }

  .funnel-field--grow {
    grid-column: span 1;
  }
}

.funnel-optional {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.85em;
}

.funnel-fieldset-hint {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.funnel-inline-radios--wrap {
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

/* Funnel teaser */
.funnel-teaser {
  background: linear-gradient(
    135deg,
    rgba(79, 124, 255, 0.16) 0%,
    rgba(168, 85, 247, 0.12) 45%,
    rgba(45, 212, 191, 0.08) 100%
  );
  border-block: 1px solid rgba(139, 108, 255, 0.2);
}

.funnel-teaser-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 880px) {
  .funnel-teaser-inner {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.funnel-teaser-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.funnel-teaser-steps li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: rgba(18, 26, 48, 0.65);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--text);
  font-size: 0.92rem;
}

.funnel-teaser-steps span {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-sm);
  background: var(--gradient-cta);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 800;
}

/* ——— Funnel ——— */
.funnel-section {
  position: relative;
}

.funnel-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 75% 15%, rgba(139, 108, 255, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(45, 212, 191, 0.1), transparent 50%),
    radial-gradient(ellipse 60% 40% at 70% 20%, rgba(122, 92, 255, 0.1), transparent);
  pointer-events: none;
}

.funnel-wrap {
  position: relative;
}

.funnel-shell {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 2rem);
  background: rgba(18, 26, 48, 0.58);
  border: 1px solid rgba(139, 108, 255, 0.22);
  border-radius: calc(var(--radius) + 4px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(79, 124, 255, 0.08), 0 0 48px rgba(91, 138, 255, 0.12);
}

.funnel-progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text);
}

.funnel-progress-pct {
  font-variant-numeric: tabular-nums;
  color: var(--primary);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .funnel-progress-pct {
    background: linear-gradient(135deg, var(--accent-teal), var(--primary), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.funnel-progress-track {
  height: 6px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.funnel-progress-fill {
  height: 100%;
  width: 10%;
  border-radius: var(--radius-pill);
  background: var(--gradient-cta);
  transition: width 0.35s ease;
}

.funnel-step-hint {
  min-height: 1.5rem;
  margin: 1rem 0 0.5rem;
  font-size: 0.9rem;
  color: var(--ice);
}

.funnel-form {
  position: relative;
}

.funnel-step {
  display: none;
  padding-top: 0.5rem;
  animation: step-in 0.35s ease;
}

.funnel-step.is-visible {
  display: block;
}

@keyframes step-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .funnel-step {
    animation: none;
  }
}

.funnel-step-title {
  font-size: 1.35rem;
  margin: 0 0 0.35rem;
}

.funnel-step-lead {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}

.funnel-options {
  display: grid;
  gap: 0.75rem;
}

.funnel-options--tiles {
  grid-template-columns: 1fr;
}

@media (min-width: 520px) {
  .funnel-options--tiles {
    grid-template-columns: repeat(2, 1fr);
  }
}

.funnel-options--vehicle {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
  .funnel-options--vehicle {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .funnel-options--vehicle {
    grid-template-columns: repeat(4, 1fr);
  }
}

.funnel-options--compact {
  grid-template-columns: 1fr;
}

@media (min-width: 480px) {
  .funnel-options--compact {
    grid-template-columns: repeat(2, 1fr);
  }
}

.funnel-options--swatches {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 520px) {
  .funnel-options--swatches {
    grid-template-columns: repeat(3, 1fr);
  }
}

.funnel-option {
  position: relative;
  display: block;
  margin: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* Volledige kaart is tikbaar (mobiel); sibling-selector blijft werken. */
.funnel-option input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
}

.funnel-option-card {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  height: 100%;
  min-height: 52px;
  padding: 1rem 1.1rem;
  background: rgba(11, 16, 32, 0.6);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.funnel-option:hover .funnel-option-card {
  border-color: rgba(91, 138, 255, 0.45);
}

.funnel-option input:focus-visible + .funnel-option-card {
  outline: 2px solid var(--accent-teal);
  outline-offset: 2px;
}

.funnel-option input:checked + .funnel-option-card {
  border-color: rgba(168, 85, 247, 0.65);
  background: linear-gradient(135deg, rgba(79, 124, 255, 0.22) 0%, rgba(122, 92, 255, 0.14) 55%, rgba(45, 212, 191, 0.08) 100%);
  box-shadow: 0 0 0 1px rgba(139, 108, 255, 0.3), 0 8px 28px rgba(79, 124, 255, 0.12);
}

/* Meervoudige keuze: duidelijk vinkje op de kaart */
.funnel-option--multi .funnel-option-card {
  padding-right: 2.75rem;
  min-height: 56px;
}

.funnel-option--multi .funnel-option-card::after {
  content: "";
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 7px;
  border: 2px solid rgba(255, 255, 255, 0.24);
  background: rgba(0, 0, 0, 0.2);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  z-index: 1;
  pointer-events: none;
  box-sizing: border-box;
}

.funnel-option--multi input:checked + .funnel-option-card::after {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
  border-color: transparent;
  background: var(--gradient-cta);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(79, 124, 255, 0.35);
}

.funnel-option--single-ish .funnel-option-card {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.12);
}

.funnel-option--single-ish input:checked + .funnel-option-card {
  border-style: solid;
}

.funnel-options--multi {
  gap: 0.65rem;
}

/* Stap 0: combinaties als pill-chips, los van de grote hoofdkaarten */
.funnel-options--also {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.55rem;
}

.funnel-option--also-chip {
  flex: 1 1 calc(50% - 0.3rem);
  min-width: min(100%, 9rem);
}

@media (min-width: 520px) {
  .funnel-option--also-chip {
    flex: 1 1 calc(33.333% - 0.4rem);
    max-width: calc(33.333% - 0.4rem);
  }
}

@media (min-width: 720px) {
  .funnel-option--also-chip {
    flex: 1 1 auto;
    max-width: none;
    min-width: 7.5rem;
  }
}

.funnel-option--also-chip .funnel-option-card {
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  background: rgba(11, 16, 32, 0.42);
}

.funnel-option--also-chip.funnel-option--multi .funnel-option-card {
  padding-right: 2.1rem;
  justify-content: center;
}

.funnel-option--also-chip .funnel-option-card strong {
  font-size: 0.8rem;
  font-weight: 700;
}

.funnel-option--also-chip.funnel-option--multi .funnel-option-card::after {
  top: 50%;
  transform: translateY(-50%);
  right: 0.4rem;
  width: 1.2rem;
  height: 1.2rem;
}

.funnel-option--also-chip.funnel-option--multi input:checked + .funnel-option-card::after {
  transform: translateY(-50%);
}

.funnel-option--also-chip input:checked + .funnel-option-card {
  background: linear-gradient(135deg, rgba(79, 124, 255, 0.22) 0%, rgba(45, 212, 191, 0.12) 100%);
}

.funnel-option-card strong {
  font-family: var(--font-display);
  color: var(--text);
  font-size: 0.95rem;
}

.funnel-option-card span:not(.swatch):not(.veh-sil):not(.funnel-option-ico) {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.funnel-option-ico {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.funnel-option--vehicle .funnel-option-card {
  align-items: center;
  text-align: center;
  padding: 1rem 0.65rem;
  min-height: 100px;
}

.veh-sil {
  width: 100%;
  height: 36px;
  margin-bottom: 0.35rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  position: relative;
}

.veh-sil--hatch::after {
  content: "";
  position: absolute;
  inset: 8px 12px;
  border-radius: 10px 10px 6px 6px;
  border: 2px solid rgba(122, 92, 255, 0.5);
}

.veh-sil--sedan::after {
  content: "";
  position: absolute;
  inset: 10px 8px;
  border-radius: 14px 14px 6px 6px;
  border: 2px solid rgba(79, 124, 255, 0.5);
}

.veh-sil--station::after {
  content: "";
  position: absolute;
  inset: 8px 6px;
  border-radius: 8px 8px 6px 6px;
  border: 2px solid rgba(142, 124, 255, 0.45);
  width: 70%;
}

.veh-sil--suv::after {
  content: "";
  position: absolute;
  inset: 6px 10px;
  border-radius: 8px 8px 5px 5px;
  border: 2px solid rgba(79, 124, 255, 0.55);
  height: 28px;
}

.veh-sil--coupe::after {
  content: "";
  position: absolute;
  inset: 12px 14px;
  border-radius: 16px 16px 5px 5px;
  border: 2px solid rgba(122, 92, 255, 0.5);
}

.veh-sil--cabrio::after {
  content: "";
  position: absolute;
  inset: 14px 12px 6px;
  border-radius: 12px 12px 4px 4px;
  border: 2px dashed rgba(168, 184, 255, 0.45);
}

.veh-sil--van::after {
  content: "";
  position: absolute;
  inset: 6px 8px;
  border-radius: 4px;
  border: 2px solid rgba(79, 124, 255, 0.45);
}

.scope-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ice);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.75rem;
}

.scope-panel[hidden] {
  display: none !important;
}

.swatch {
  width: 100%;
  height: 28px;
  border-radius: 8px;
  margin-bottom: 0.35rem;
  border: 1px solid var(--border-strong);
}

.swatch--gloss {
  background: linear-gradient(135deg, #222, #000);
}

.swatch--matte {
  background: #2a2a2e;
}

.swatch--satin {
  background: linear-gradient(135deg, #4a4a52, #35353a);
}

.swatch--clear {
  background: linear-gradient(135deg, #a8d4ff44, #ffffff22);
}

.funnel-field {
  display: block;
  margin-bottom: 1rem;
}

.funnel-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.funnel-input,
.funnel-select {
  width: 100%;
  min-height: 52px;
  padding: 0.65rem 1rem;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: rgba(11, 16, 32, 0.75);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.funnel-input:focus,
.funnel-select:focus {
  outline: none;
  border-color: rgba(79, 124, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(79, 124, 255, 0.15);
}

.funnel-input.funnel-input--error,
.funnel-select.funnel-input--error {
  border-color: #f87171;
}

.funnel-textarea {
  min-height: 120px;
  resize: vertical;
}

.brand-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.brand-chip {
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.brand-chip:hover,
.brand-chip.is-active {
  border-color: var(--purple);
  color: var(--text);
  background: rgba(122, 92, 255, 0.12);
}

.funnel-fieldset {
  border: none;
  margin: 0 0 1rem;
  padding: 0;
}

.funnel-inline-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.funnel-inline {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.92rem;
  cursor: pointer;
  color: var(--text-muted);
}

.funnel-check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--text-muted);
  cursor: pointer;
  margin-top: 0.5rem;
}

.funnel-check input {
  margin-top: 0.2rem;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--primary);
}

.funnel-fields-stack {
  margin-top: 1rem;
}

.funnel-summary-inline {
  padding: 1rem 1.15rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}

.funnel-summary-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ice);
  margin: 0 0 0.5rem;
}

.funnel-summary-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.funnel-reassure {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.funnel-error {
  margin: 0.75rem 0 0;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #fecaca;
  font-size: 0.88rem;
}

.funnel-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

@media (max-width: 899px) {
  .funnel-section {
    padding-bottom: 0.5rem;
  }

  .funnel-nav {
    position: sticky;
    bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
    z-index: 140;
    background: linear-gradient(180deg, transparent, rgba(14, 21, 40, 0.97) 22%);
    margin-inline: -0.5rem;
    padding: 1rem 0.5rem max(0.35rem, env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(139, 108, 255, 0.12);
  }
}

@media (max-width: 599px) {
  .funnel-nav .btn-primary {
    flex: 1 1 auto;
    min-width: 140px;
    min-height: 52px;
  }
}

.funnel-success {
  text-align: center;
  padding: 1rem 0 0.5rem;
}

.funnel-success[hidden] {
  display: none !important;
}

.funnel-success-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(79, 124, 255, 0.25), rgba(122, 92, 255, 0.2));
  border: 2px solid rgba(122, 92, 255, 0.4);
  font-size: 1.75rem;
  color: var(--glow);
}

.funnel-success-title {
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}

.funnel-success-lead {
  margin: 0 auto 1.25rem;
  max-width: 36ch;
}

.funnel-success-body {
  text-align: left;
  max-height: 200px;
  overflow: auto;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-muted);
  border: 1px solid var(--border);
  margin-bottom: 1.25rem;
}

.funnel-success-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

@media (min-width: 520px) {
  .funnel-success-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Portfolio */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.filter-chip {
  font: inherit;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.filter-chip:hover,
.filter-chip.is-active {
  border-color: var(--purple);
  color: var(--text);
  background: rgba(122, 92, 255, 0.12);
}

.portfolio-grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.portfolio-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.portfolio-card.is-filtered-out {
  display: none;
}

.portfolio-card-visual {
  height: 180px;
}

.portfolio-card-visual--1 {
  background: linear-gradient(145deg, #1a2744, #4f7cff33);
}

.portfolio-card-visual--2 {
  background: linear-gradient(145deg, #2d1f4a, #7a5cff44);
}

.portfolio-card-visual--3 {
  background: linear-gradient(145deg, #0f1628, #1e3a5f);
}

.portfolio-card-visual--4 {
  background: linear-gradient(145deg, #162038, #4f7cff22);
}

.portfolio-card-tag {
  display: inline-block;
  margin: 1rem 1rem 0;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(79, 124, 255, 0.2);
  color: var(--ice);
}

.portfolio-card-title {
  font-size: 1.05rem;
  margin: 0.5rem 1rem 0.25rem;
}

.portfolio-card-meta {
  margin: 0 1rem 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Compare */
.compare-wrap {
  max-width: 900px;
  margin-inline: auto;
}

.compare {
  margin: 0;
}

.compare-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border-strong);
}

.compare-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.compare-img--before {
  clip-path: inset(0 0 0 var(--compare, 50%));
}

.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--compare, 50%);
  width: 44px;
  transform: translateX(-50%);
  border: none;
  padding: 0;
  background: transparent;
  cursor: ew-resize;
  touch-action: none;
}

.compare-handle-grip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4px;
  height: 64px;
  border-radius: 4px;
  background: var(--white);
  box-shadow: 0 0 20px rgba(79, 124, 255, 0.5);
}

.compare-caption {
  display: flex;
  justify-content: space-between;
  margin-top: 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.compare-caption-mid {
  color: var(--ice);
}

/* Reviews */
.reviews-slider {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
}

.reviews-slider .review-card {
  flex: 0 0 min(320px, 85vw);
  scroll-snap-align: start;
}

.review-card {
  margin: 0;
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.review-stars {
  color: #fbbf24;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.review-card blockquote {
  margin: 0 0 1rem;
  font-style: normal;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.review-name {
  font-weight: 700;
  color: var(--text);
}

.review-meta {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Timeline */
.timeline {
  max-width: 640px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 1.25rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--purple));
  opacity: 0.35;
}

.timeline-item {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.25rem;
  padding-bottom: 2rem;
  position: relative;
}

.timeline-num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  background: var(--gradient-cta);
  color: var(--white);
  z-index: 1;
  box-shadow: 0 4px 20px rgba(79, 124, 255, 0.35);
}

.timeline-body h3 {
  font-size: 1.1rem;
  margin: 0 0 0.35rem;
}

.timeline-body p {
  margin: 0;
  font-size: 0.92rem;
}

/* FAQ */
.faq {
  max-width: 720px;
  margin-inline: auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.65rem;
  background: rgba(18, 26, 48, 0.4);
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.15rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--primary);
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 1.15rem 1.15rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Contact */
.contact-section {
  padding-bottom: clamp(3rem, 8vw, 5rem);
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 880px) {
  .contact-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

.contact-panel--main .section-title {
  margin-top: 0.35rem;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.contact-aside {
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.aside-title {
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
}

.aside-text {
  margin: 0 0 1rem;
  font-size: 0.92rem;
}

.map-link {
  font-weight: 600;
  font-size: 0.9rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
  background: rgba(8, 12, 24, 0.9);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.footer-tagline {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 28ch;
}

.footer-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ice);
  margin: 0 0 0.75rem;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  line-height: 2;
}

.footer-list a:hover {
  color: var(--text);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-repo {
  color: var(--text-muted);
}
