/* ==========================================================================
   Badawi Schoonmaak — Design System
   ========================================================================== */

:root {
  /* Brand kleuren */
  --color-primary: #00C4D8;       /* Helder turquoise — schoon water */
  --color-primary-dark: #0099B0;
  --color-secondary: #7C3AED;     /* Levendig paars */
  --color-accent: #FBBF24;        /* Zonnig geel */
  --color-success: #10B981;       /* Frisgroen */

  /* Light theme */
  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;
  --bg-card: rgba(255, 255, 255, 0.7);
  --bg-card-solid: #FFFFFF;
  --border: rgba(15, 23, 42, 0.08);
  --text: #0F172A;
  --text-soft: #475569;
  --text-muted: #94A3B8;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 6px rgba(15, 23, 42, 0.04), 0 10px 25px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.12), 0 8px 16px rgba(15, 23, 42, 0.06);
  --shadow-glow: 0 10px 40px rgba(0, 196, 216, 0.35);

  --gradient-hero: linear-gradient(135deg, #00C4D8 0%, #7C3AED 100%);
  --gradient-accent: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
  --gradient-soft: linear-gradient(135deg, #E0F7FA 0%, #F3E8FF 100%);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --transition: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);

  --container: 1200px;
  --container-narrow: 880px;

  --header-height: 76px;
}

[data-theme="dark"] {
  --bg: #0B1220;
  --bg-soft: #0F172A;
  --bg-card: rgba(30, 41, 59, 0.5);
  --bg-card-solid: #1E293B;
  --border: rgba(148, 163, 184, 0.15);
  --text: #F1F5F9;
  --text-soft: #CBD5E1;
  --text-muted: #94A3B8;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.2), 0 10px 25px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.4), 0 8px 16px rgba(0, 0, 0, 0.3);

  --gradient-soft: linear-gradient(135deg, rgba(0, 196, 216, 0.08) 0%, rgba(124, 58, 237, 0.08) 100%);
}

/* ==========================================================================
   Reset & basis
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  transition: background-color var(--transition), color var(--transition);
}

img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p { margin: 0 0 1em; color: var(--text-soft); }

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--color-primary-dark); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow { max-width: var(--container-narrow); }

.section {
  padding: clamp(64px, 10vw, 120px) 0;
  position: relative;
}

.section--soft { background: var(--bg-soft); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 { margin-bottom: 1rem; }
.section-title p {
  font-size: 1.125rem;
  max-width: 640px;
  margin: 0 auto;
}

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

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--gradient-hero);
  color: white;
  box-shadow: var(--shadow-glow);
}

.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #7C3AED 0%, #00C4D8 100%);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(124, 58, 237, 0.4);
  color: white;
}

.btn--primary:hover::before { opacity: 1; }
.btn--primary span { position: relative; z-index: 1; }

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

.btn--ghost:hover {
  background: var(--bg-soft);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.btn--accent {
  background: var(--gradient-accent);
  color: #422006;
}

.btn--accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(251, 191, 36, 0.4);
  color: #422006;
}

.btn--full { width: 100%; }
.btn--lg { padding: 18px 36px; font-size: 1.05rem; }

/* ==========================================================================
   Header & navigatie
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

[data-theme="dark"] .header { background: rgba(11, 18, 32, 0.8); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.logo:hover { color: var(--text); }

.logo__mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gradient-hero);
  display: grid;
  place-items: center;
  color: white;
  font-weight: 900;
  font-size: 1.1rem;
  box-shadow: var(--shadow-glow);
  transition: transform var(--transition);
}

.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.05); }

.nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav__link {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text-soft);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all var(--transition);
}

.nav__link:hover, .nav__link.active {
  color: var(--text);
  background: var(--bg-soft);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--text);
  transition: all var(--transition);
  font-size: 1rem;
}

.icon-btn:hover {
  background: var(--bg-card-solid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--color-primary);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  background: var(--bg-soft);
  border-radius: 999px;
  border: 1px solid var(--border);
}

.lang-switch button {
  background: transparent;
  border: none;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}

.lang-switch button.active {
  background: var(--bg-card-solid);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1rem 24px 2rem;
    gap: 4px;
    transform: translateY(-120%);
    transition: transform var(--transition);
    box-shadow: var(--shadow-lg);
  }
  .nav.is-open { transform: translateY(0); }
  .nav__link { padding: 14px 16px; font-size: 1rem; }
  .menu-toggle { display: flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding: calc(var(--header-height) + 60px) 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--gradient-soft);
}

[data-theme="dark"] .hero__bg { background: linear-gradient(135deg, #0B1220 0%, #1E1B4B 100%); }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  animation: blobFloat 18s ease-in-out infinite;
  z-index: -1;
}

.blob--1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, #00C4D8, transparent 70%);
  top: -120px;
  left: -120px;
}

.blob--2 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #7C3AED, transparent 70%);
  bottom: -180px;
  right: -100px;
  animation-delay: -6s;
}

.blob--3 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, #FBBF24, transparent 70%);
  top: 50%;
  left: 60%;
  animation-delay: -12s;
  opacity: 0.3;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.08); }
  66% { transform: translate(-30px, 30px) scale(0.95); }
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-soft);
  font-weight: 500;
}

.hero__badge .dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: grid;
  place-items: center;
  color: #422006;
  font-size: 0.7rem;
  font-weight: 800;
}

.hero h1 { margin-bottom: 1.25rem; }

.hero__lead {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 540px;
}

@media (max-width: 960px) { .hero__lead { margin-left: auto; margin-right: auto; } }

.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

@media (max-width: 960px) { .hero__cta { justify-content: center; } }

.hero__trust {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 960px) { .hero__trust { justify-content: center; } }

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.hero__trust-item .check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-success);
  display: grid;
  place-items: center;
  color: white;
  font-size: 0.7rem;
}

/* Hero visual */
.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin: 0 auto;
}

.hero__card {
  position: absolute;
  background: var(--bg-card-solid);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem;
  border: 1px solid var(--border);
  animation: floaty 6s ease-in-out infinite;
}

.hero__card--1 {
  top: 8%;
  left: 0;
  width: 220px;
  animation-delay: -2s;
}

.hero__card--2 {
  top: 40%;
  right: 0;
  width: 240px;
}

.hero__card--3 {
  bottom: 4%;
  left: 12%;
  width: 260px;
  animation-delay: -4s;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hero__sparkle {
  position: absolute;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gradient-hero);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(40px);
  opacity: 0.35;
  z-index: -1;
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.35; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.55; }
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.feature-icon--teal { background: rgba(0, 196, 216, 0.15); color: var(--color-primary); }
.feature-icon--purple { background: rgba(124, 58, 237, 0.15); color: var(--color-secondary); }
.feature-icon--yellow { background: rgba(251, 191, 36, 0.18); color: #B45309; }
.feature-icon--green { background: rgba(16, 185, 129, 0.15); color: var(--color-success); }

.hero__card h4 { font-size: 1rem; margin-bottom: 2px; }
.hero__card p { font-size: 0.85rem; margin: 0; }

/* ==========================================================================
   USP / features
   ========================================================================== */

.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.usp {
  background: var(--bg-card-solid);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.usp:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.usp h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.usp p { font-size: 0.95rem; margin: 0; }

/* ==========================================================================
   Service cards
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card-solid);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-hero);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--gradient-soft);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  font-size: 1.75rem;
  color: var(--color-primary);
  transition: transform var(--transition);
}

.service-card:hover .service-card__icon { transform: rotate(-8deg) scale(1.08); }

.service-card h3 { font-size: 1.3rem; margin-bottom: 0.75rem; }
.service-card p { font-size: 0.95rem; flex-grow: 1; }

.service-card__price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
  margin: 1rem 0 0.25rem;
}

.service-card__price-from {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-right: 4px;
}

.service-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.service-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 4px 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.service-card__features li::before {
  content: "✓";
  color: var(--color-primary);
  font-weight: 800;
  flex-shrink: 0;
}

.service-card__cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-card.featured {
  background: var(--gradient-hero);
  color: white;
  border-color: transparent;
}

.service-card.featured h3,
.service-card.featured .service-card__price { color: white; }

.service-card.featured p,
.service-card.featured .service-card__features li { color: rgba(255, 255, 255, 0.9); }

.service-card.featured .service-card__features li::before { color: white; }

.service-card.featured .service-card__icon {
  background: rgba(255, 255, 255, 0.18);
  color: white;
}

.service-card.featured .service-card__price-from { color: rgba(255,255,255,0.7); }

.service-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gradient-accent);
  color: #422006;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ==========================================================================
   Stats / counters
   ========================================================================== */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  padding: 3rem;
  background: var(--bg-card-solid);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.stat { text-align: center; }

.stat__num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.stat__label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ==========================================================================
   Before / after slider
   ========================================================================== */

.compare {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 10;
  user-select: none;
  cursor: ew-resize;
  background: var(--bg-soft);
}

.compare__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.compare__img--before { background-image: linear-gradient(135deg, #475569 0%, #1E293B 60%); }
.compare__img--after {
  background-image: linear-gradient(135deg, #00C4D8 0%, #67E8F9 100%);
  clip-path: inset(0 50% 0 0);
  transition: clip-path 0.05s linear;
}

.compare__label {
  position: absolute;
  top: 20px;
  padding: 6px 14px;
  background: rgba(15, 23, 42, 0.8);
  color: white;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.compare__label--before { left: 20px; }
.compare__label--after { right: 20px; background: var(--gradient-hero); }

.compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: white;
  transform: translateX(-50%);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.2), var(--shadow-md);
  pointer-events: none;
}

.compare__knob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
  font-size: 1.2rem;
}

.compare__icon-content {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.4);
  font-size: 8rem;
  pointer-events: none;
}

/* ==========================================================================
   Testimonials carousel
   ========================================================================== */

.testimonials {
  position: relative;
  overflow: hidden;
  padding: 1rem 0;
}

.testimonials__track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonial {
  flex: 0 0 calc(33.333% - 1rem);
  background: var(--bg-card-solid);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (max-width: 960px) { .testimonial { flex: 0 0 calc(50% - 0.75rem); } }
@media (max-width: 640px) { .testimonial { flex: 0 0 100%; } }

.testimonial__stars { color: var(--color-accent); font-size: 1.1rem; letter-spacing: 2px; }
.testimonial__text { font-size: 1rem; color: var(--text); flex-grow: 1; line-height: 1.6; }

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-hero);
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.testimonial__author strong { display: block; font-size: 0.95rem; }
.testimonial__author span { font-size: 0.8rem; color: var(--text-muted); }

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 2rem;
}

.carousel-controls button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card-solid);
  border: 1px solid var(--border);
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text);
  transition: all var(--transition);
}

.carousel-controls button:hover {
  background: var(--gradient-hero);
  color: white;
  border-color: transparent;
}

/* ==========================================================================
   CTA banner
   ========================================================================== */

.cta-banner {
  background: var(--gradient-hero);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 6vw, 5rem);
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-banner::before, .cta-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}

.cta-banner::before { width: 300px; height: 300px; top: -150px; right: -100px; }
.cta-banner::after { width: 200px; height: 200px; bottom: -80px; left: -60px; }

.cta-banner > * { position: relative; z-index: 1; }

.cta-banner h2 { color: white; margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.95); font-size: 1.15rem; margin-bottom: 2rem; max-width: 580px; margin-left: auto; margin-right: auto; }

.cta-banner .btn--ghost {
  border-color: rgba(255,255,255,0.3);
  color: white;
}

.cta-banner .btn--ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
  color: white;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  background: var(--bg-card-solid);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all var(--transition);
}

.faq__item.is-open { box-shadow: var(--shadow-md); border-color: var(--color-primary); }

.faq__question {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  user-select: none;
}

.faq__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform var(--transition);
  color: var(--color-primary);
  font-weight: 800;
}

.faq__item.is-open .faq__icon { transform: rotate(45deg); background: var(--gradient-hero); color: white; }

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq__answer-inner {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-soft);
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form {
  background: var(--bg-card-solid);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }

.form__field { margin-bottom: 1.25rem; display: flex; flex-direction: column; gap: 6px; }

.form__field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all var(--transition);
}

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

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(0, 196, 216, 0.12);
}

.form__field .hint {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 0.9rem;
  background: var(--bg);
}

.checkbox:hover { border-color: var(--color-primary); background: var(--bg-soft); }

.checkbox input {
  accent-color: var(--color-primary);
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   Page header (sub pages)
   ========================================================================== */

.page-header {
  padding: calc(var(--header-height) + 80px) 0 60px;
  text-align: center;
  background: var(--gradient-soft);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .page-header { background: linear-gradient(135deg, rgba(0, 196, 216, 0.08) 0%, rgba(124, 58, 237, 0.08) 100%); }

.page-header h1 { margin-bottom: 1rem; }
.page-header p { font-size: 1.15rem; max-width: 640px; margin: 0 auto; }

.breadcrumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--color-primary); }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--bg-soft);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__brand p { font-size: 0.9rem; margin: 1rem 0 1.5rem; max-width: 320px; }

.footer__col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col ul li { margin-bottom: 0.6rem; }
.footer__col ul a {
  color: var(--text-soft);
  font-size: 0.92rem;
  transition: color var(--transition);
}
.footer__col ul a:hover { color: var(--color-primary); }

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer__bottom a { color: var(--text-muted); }

/* ==========================================================================
   Chat bubble (Tawk.to placeholder of fallback)
   ========================================================================== */

.chat-bubble {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-hero);
  display: grid;
  place-items: center;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: var(--shadow-glow);
  z-index: 90;
  transition: transform var(--transition);
  animation: pulseGlow 3s ease-in-out infinite;
  text-decoration: none;
}

.chat-bubble:hover { transform: scale(1.1); color: white; }

/* ==========================================================================
   Reveal animations (scroll triggered)
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="left"].is-visible { transform: translateX(0); }

[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="right"].is-visible { transform: translateX(0); }

[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }
[data-reveal-delay="5"] { transition-delay: 0.5s; }
[data-reveal-delay="6"] { transition-delay: 0.6s; }

/* ==========================================================================
   Utility
   ========================================================================== */

.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: var(--gradient-hero); border-radius: 10px; }

/* Selection */
::selection { background: rgba(0, 196, 216, 0.3); color: var(--text); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
