/* ================================================================
   ROFFANOVA AUTOMATION AGENCY — DESIGN SYSTEM
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* ── 1. DESIGN TOKENS ─────────────────────────────────────────── */

:root {
  /* Brand palette */
  --color-green: #038C4C;
  --color-green-dark: #026B3A;
  --color-green-light: #04B563;
  --color-amber: #F5A623;
  --color-amber-dark: #D4880F;
  --color-dark: #0D1F15;
  --color-white: #FFFFFF;
  --color-gray-50: #F7FAF8;
  --color-gray-100: #E8F2EC;
  --color-gray-200: #C5DDD0;
  --color-text: #1A1A1A;
  --color-text-muted: #5A6B61;

  /* Semantic tokens — light mode */
  --bg: var(--color-white);
  --bg-alt: var(--color-gray-50);
  --bg-card: var(--color-white);
  --text: var(--color-text);
  --text-muted: var(--color-text-muted);
  --border: var(--color-gray-200);
  --nav-bg: rgba(255, 255, 255, 0.92);
  --nav-border: var(--color-gray-200);
  --shadow-sm: 0 2px 8px rgba(13, 31, 21, 0.06);
  --shadow: 0 4px 20px rgba(13, 31, 21, 0.09);
  --shadow-lg: 0 16px 48px rgba(13, 31, 21, 0.12);
  --shadow-xl: 0 32px 80px rgba(13, 31, 21, 0.18);

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: clamp(2rem, 4vw, 2.75rem);
  --text-hero: clamp(2rem, 7.5vw, 6.5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Border radius */
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Logo sizes */
  --logo-nav-height: 48px;
  --logo-footer-height: 100px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark mode overrides */
[data-theme="dark"] {
  --bg: #0B1A10;
  --bg-alt: #112017;
  --bg-card: #172D1E;
  --text: #EBF5EF;
  --text-muted: #7FAF90;
  --border: rgba(255, 255, 255, 0.1);
  --nav-bg: rgba(11, 26, 16, 0.95);
  --nav-border: rgba(255, 255, 255, 0.07);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.55);
  --shadow-xl: 0 32px 80px rgba(0, 0, 0, 0.65);
}

/* Language visibility */
html[data-lang="en"] .lang-nl {
  display: none !important;
}

html[data-lang="nl"] .lang-en {
  display: none !important;
}

html:not([data-lang]) .lang-en {
  display: none !important;
}

/* ── 2. RESET ─────────────────────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ── 3. TYPOGRAPHY ────────────────────────────────────────────── */

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-heading);
  color: var(--text);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.025em;
}

h1 {
  font-size: var(--text-hero);
}

h2 {
  font-size: var(--text-4xl);
}

h3 {
  font-size: var(--text-2xl);
  font-weight: 700;
}

h4 {
  font-size: var(--text-xl);
  font-weight: 700;
}

p {
  line-height: 1.7;
}

.accent {
  color: var(--color-amber);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-green);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.section-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--color-green);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.section-title {
  font-size: var(--text-4xl);
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin-bottom: var(--space-5);
}

.section-lead {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ── 4. LAYOUT ────────────────────────────────────────────────── */

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

.container-sm {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section {
  padding: 60px 0;
}

.section-sm {
  padding: 60px 0;
}

.section-header {
  margin-bottom: var(--space-16);
}

.section-header.centered {
  text-align: center;
}

.section-header.centered .section-lead {
  margin: 0 auto;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

/* ── 5. BUTTONS ───────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 14px var(--space-6);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
}

.btn-lg {
  padding: 17px var(--space-8);
  font-size: var(--text-lg);
}

.btn-sm {
  padding: 9px var(--space-4);
  font-size: var(--text-sm);
}

.btn-primary {
  background: var(--color-amber);
  color: var(--color-white);
  border: 2px solid var(--color-amber);
  font-weight: 700;
}

.btn-primary:hover {
  background: var(--color-amber-dark);
  border-color: var(--color-amber-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245, 166, 35, 0.38);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.45);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}

.btn-outline-green {
  background: transparent;
  color: var(--color-green);
  border: 2px solid var(--color-green);
}

.btn-outline-green:hover {
  background: var(--color-green);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(3, 140, 76, 0.3);
}

.btn-arrow::after {
  content: '→';
  transition: transform var(--transition);
}

.btn-arrow:hover::after {
  transform: translateX(5px);
}

/* ── 6. NAVIGATION ────────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  transition: background var(--transition), border-color var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--space-8);
}

.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 34px;
  width: auto;
  display: block;
  transition: opacity var(--transition);
}

.nav-logo:hover .nav-logo-img {
  opacity: 0.8;
}

[data-theme="dark"] .nav-logo-img {
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover {
  color: var(--color-green);
  background: var(--color-gray-100);
}

.nav-link.active {
  color: var(--color-green);
  font-weight: 600;
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
  background: rgba(3, 140, 76, 0.15);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* Theme toggle */
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text-muted);
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--color-green);
  color: var(--color-green);
  background: var(--color-gray-100);
}

[data-theme="dark"] .theme-toggle:hover {
  background: rgba(3, 140, 76, 0.15);
}

.icon-sun {
  display: none;
}

.icon-moon {
  display: block;
}

[data-theme="dark"] .icon-sun {
  display: block;
}

[data-theme="dark"] .icon-moon {
  display: none;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-muted);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  letter-spacing: 0.05em;
}

.lang-btn.active {
  background: var(--color-green);
  color: var(--color-white);
  box-shadow: 0 2px 6px rgba(3, 140, 76, 0.35);
}

.lang-btn:not(.active):hover {
  color: var(--color-green);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: var(--radius-full);
  transition: all var(--transition);
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: var(--space-4) var(--space-6) var(--space-6);
  z-index: 999;
  flex-direction: column;
  gap: var(--space-1);
  box-shadow: var(--shadow-lg);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  padding: 12px var(--space-4);
  border-radius: var(--radius);
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition);
}

.nav-mobile a:hover {
  background: var(--bg-alt);
  color: var(--color-green);
}

.nav-mobile .btn {
  margin-top: var(--space-3);
  justify-content: center;
}

/* ── 7. HERO ──────────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg,
      var(--color-green) 0%,
      #025C35 30%,
      #051A0C 65%,
      var(--color-dark) 100%);
  padding: calc(72px + 8px) 0 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 85% 25%, rgba(4, 181, 99, 0.14) 0%, transparent 65%),
    radial-gradient(ellipse 50% 45% at 5% 80%, rgba(245, 166, 35, 0.09) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: var(--space-16);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}

.hero-eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--color-amber);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: var(--text-hero);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-8);
}

.hero-sub {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: var(--space-10);
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ── 8. WORKFLOW VISUALIZATION ────────────────────────────────── */

.workflow-viz {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.wf-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  transition: all 0.3s var(--ease);
}

.wf-card.wf-active {
  background: rgba(3, 140, 76, 0.18);
  border-color: rgba(3, 140, 76, 0.4);
  box-shadow: 0 0 32px rgba(3, 140, 76, 0.15);
}

.wf-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.wf-icon-green {
  background: rgba(3, 140, 76, 0.3);
}

.wf-icon-amber {
  background: rgba(245, 166, 35, 0.25);
}

.wf-icon-blue {
  background: rgba(99, 179, 237, 0.25);
}

.wf-body {
  flex: 1;
  min-width: 0;
}

.wf-title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 2px;
}

.wf-sub {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wf-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.wf-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.wf-badge-live {
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
}

.wf-badge-live::before {
  background: #4ade80;
  animation: pulse-dot 1.8s ease-in-out infinite;
}

.wf-badge-processing {
  background: rgba(245, 166, 35, 0.2);
  color: #fbbf24;
}

.wf-badge-processing::before {
  background: #fbbf24;
  animation: pulse-dot 0.9s ease-in-out infinite;
}

.wf-badge-done {
  background: rgba(3, 140, 76, 0.2);
  color: #86efac;
}

.wf-badge-done::before {
  background: #86efac;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.3;
    transform: scale(0.7);
  }
}

.wf-connector {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 6px 0 6px 35px;
  position: relative;
}

.wf-connector-line {
  width: 2px;
  height: 28px;
  background: linear-gradient(180deg, rgba(3, 140, 76, 0.6), rgba(245, 166, 35, 0.4));
  border-radius: var(--radius-full);
  position: relative;
  overflow: hidden;
}

.wf-connector-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  right: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
  animation: flow-down 1.8s ease-in-out infinite;
}

@keyframes flow-down {
  0% {
    top: -100%;
  }

  100% {
    top: 100%;
  }
}

/* ── 9. STATS BAR ─────────────────────────────────────────────── */

.stats-bar {
  background: var(--color-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: var(--space-8) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  text-align: center;
}

.stat-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
  align-self: stretch;
  margin: auto;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--color-amber);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

/* ── 10. SECTION THEMES ───────────────────────────────────────── */

.bg-dark {
  background: linear-gradient(160deg, var(--color-green-dark) 0%, var(--color-dark) 100%);
}

.bg-dark .section-title,
.bg-dark h2,
.bg-dark h3 {
  color: var(--color-white);
}

.bg-dark .section-lead,
.bg-dark p {
  color: rgba(255, 255, 255, 0.7);
}

.bg-dark .section-label {
  color: var(--color-green-light);
}

.bg-dark .section-label::before {
  background: var(--color-green-light);
}

.bg-green-soft {
  background: var(--color-gray-100);
}

[data-theme="dark"] .bg-green-soft {
  background: #112017;
}

/* ── 11. HOW IT WORKS ─────────────────────────────────────────── */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-12);
  position: relative;
  padding-top: var(--space-8);
}

.steps-connector {
  position: absolute;
  top: calc(var(--space-8) + 36px);
  left: calc(16.67% + 36px);
  right: calc(16.67% + 36px);
  height: 2px;
  background: linear-gradient(90deg, var(--color-green), var(--color-amber));
  border-radius: var(--radius-full);
  opacity: 0.35;
}

.step {
  position: relative;
  text-align: center;
}

.step-number {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  background: var(--color-green);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 10px var(--bg), 0 0 0 12px rgba(3, 140, 76, 0.25);
  transition: box-shadow var(--transition);
}

.step:hover .step-number {
  box-shadow: 0 0 0 10px var(--bg), 0 0 0 14px rgba(3, 140, 76, 0.4);
}

.step-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.step-desc {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── 12. SERVICE CARDS ────────────────────────────────────────── */

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border: 1px solid var(--border);
  border-top: 3px solid var(--color-green);
  box-shadow: var(--shadow-sm);
  transition: all 0.28s var(--ease);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--color-amber);
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius);
  background: var(--color-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: var(--space-5);
  transition: background var(--transition);
}

[data-theme="dark"] .service-icon {
  background: rgba(3, 140, 76, 0.18);
}

.service-card:hover .service-icon {
  background: rgba(245, 166, 35, 0.12);
}

.service-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.service-desc {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: var(--space-6);
}

.service-link {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-green);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition: gap var(--transition);
}

.service-link:hover {
  gap: var(--space-3);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.tag {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--color-gray-100);
  color: var(--text-muted);
}

[data-theme="dark"] .tag {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
}

.tag-green {
  background: rgba(3, 140, 76, 0.1);
  color: var(--color-green);
}

/* ── 13. USP CARDS ────────────────────────────────────────────── */

.usp-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.28s var(--ease);
}

.usp-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.usp-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: rgba(3, 140, 76, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: var(--space-5);
}

[data-theme="dark"] .usp-icon {
  background: rgba(3, 140, 76, 0.2);
}

.usp-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.usp-desc {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── 14. TECH STRIP ───────────────────────────────────────────── */

.tech-strip {
  padding: var(--space-16) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.tech-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-10);
  flex-wrap: wrap;
}

.tech-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  opacity: 0.55;
  transition: opacity var(--transition);
  cursor: default;
}

.tech-logo:hover {
  opacity: 1;
}

.tech-logo-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.tech-logo-name {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ── 14b. CUSTOM CARDS (Maatwerk section) ─────────────────────── */

.custom-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
}

.custom-cards > div {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  border-left: 4px solid var(--color-green);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.custom-cards .card-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .custom-cards {
    grid-template-columns: 1fr;
  }
}

/* ── 15. CTA SECTION ──────────────────────────────────────────── */

.cta-section {
  background: linear-gradient(140deg, var(--color-green-dark) 0%, var(--color-dark) 100%);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, rgba(4, 181, 99, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta-section .section-title {
  color: var(--color-white);
}

.cta-section .section-lead {
  color: rgba(255, 255, 255, 0.72);
  margin: 0 auto var(--space-10);
}

.cta-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ── 16. FOOTER ───────────────────────────────────────────────── */

.footer {
  background: var(--color-dark);
  padding: var(--space-16) 0 var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

.footer-logo-img {
  height: var(--logo-footer-height);
  filter: brightness(0) invert(1);
  opacity: 0.88;
  margin-bottom: var(--space-5);
}

.footer-brand p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.75;
  max-width: 280px;
  margin-bottom: var(--space-4);
}

.footer-kvk {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.28);
  letter-spacing: 0.02em;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--color-green-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.3);
}

.footer-bottom-right {
  display: flex;
  gap: var(--space-6);
}

.footer-bottom-right a {
  color: rgba(255, 255, 255, 0.3);
  transition: color var(--transition);
}

.footer-bottom-right a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ── 17. PAGE HERO ────────────────────────────────────────────── */

.page-hero {
  padding: calc(72px + var(--space-20)) 0 var(--space-20);
  background: linear-gradient(140deg, var(--color-green) 0%, var(--color-green-dark) 40%, var(--color-dark) 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 85% 50%, rgba(4, 181, 99, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
}

.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}

.page-eyebrow::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--color-amber);
  border-radius: var(--radius-full);
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--color-white);
  margin-bottom: var(--space-5);
}

.page-hero .lead {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.72);
  max-width: 600px;
  line-height: 1.7;
}

/* ── 18. PRICING ──────────────────────────────────────────────── */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.28s var(--ease);
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-green);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.pricing-card:not(.pricing-featured):hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pricing-featured {
  background: var(--color-green);
  border-color: var(--color-green);
  box-shadow: var(--shadow-xl);
  transform: scale(1.04);
  z-index: 1;
}

.pricing-featured::before {
  background: var(--color-amber);
}

.pricing-badge {
  display: inline-block;
  background: var(--color-amber);
  color: var(--color-dark);
  font-size: var(--text-xs);
  font-weight: 800;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pricing-name {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 800;
  margin-bottom: var(--space-2);
}

.pricing-featured .pricing-name {
  color: var(--color-white);
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-green);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-1);
}

.pricing-featured .pricing-price {
  color: var(--color-amber);
}

.pricing-period {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-5);
}

.pricing-featured .pricing-period {
  color: rgba(255, 255, 255, 0.65);
}

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: var(--space-6);
}

.pricing-featured .pricing-divider {
  background: rgba(255, 255, 255, 0.2);
}

.pricing-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-6);
}

.pricing-featured .pricing-desc {
  color: rgba(255, 255, 255, 0.75);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text);
  line-height: 1.5;
}

.feature-item::before {
  content: '✓';
  color: var(--color-green);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-featured .feature-item {
  color: rgba(255, 255, 255, 0.9);
}

.pricing-featured .feature-item::before {
  color: var(--color-amber);
}

.pricing-cta {
  width: 100%;
  justify-content: center;
}

/* Comparison table */
.comparison-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: var(--space-4) var(--space-5);
  text-align: center;
  border-bottom: 1px solid var(--border);
  font-size: var(--text-sm);
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--text);
  min-width: 200px;
}

.comparison-table thead th {
  background: var(--color-green);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-white);
}

.comparison-table thead th.col-featured {
  background: var(--color-green-dark);
  color: var(--color-white);
}

.comparison-table tbody tr:nth-child(odd) td {
  background: #F4FAF7;
}

.comparison-table tbody tr:nth-child(even) td {
  background: var(--color-white);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr:hover td {
  background: #e6f5ed;
}

.check {
  color: var(--color-green);
  font-weight: 800;
  font-size: var(--text-base);
}

.dash {
  color: var(--border);
}

/* ── Comparison table — dark mode ──────────────────────────── */

[data-theme="dark"] .comparison-wrap {
  border-color: #1A3D27;
}

[data-theme="dark"] .comparison-table th,
[data-theme="dark"] .comparison-table td {
  border-bottom-color: #1A3D27;
  color: var(--text);
}

[data-theme="dark"] .comparison-table th:first-child,
[data-theme="dark"] .comparison-table td:first-child {
  color: var(--text);
}

[data-theme="dark"] .comparison-table thead th {
  background: var(--color-green-dark);
  color: var(--color-white);
}

[data-theme="dark"] .comparison-table thead th.col-featured {
  background: var(--color-green);
  color: var(--color-white);
}

[data-theme="dark"] .comparison-table tbody tr:nth-child(odd) td {
  background: #0D2B1F;
}

[data-theme="dark"] .comparison-table tbody tr:nth-child(even) td {
  background: #111F17;
}

[data-theme="dark"] .comparison-table tbody tr:hover td {
  background: #153322;
}

[data-theme="dark"] .check {
  color: var(--color-green-light);
}

[data-theme="dark"] .dash {
  color: rgba(255, 255, 255, 0.2);
}

/* ── 19. FAQ ──────────────────────────────────────────────────── */

.faq-list {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  padding: var(--space-5) 0;
  text-align: left;
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--color-green);
}

.faq-chevron {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  transition: all var(--transition);
  color: var(--text-muted);
}

.faq-item.faq-open .faq-chevron {
  background: var(--color-green);
  border-color: var(--color-green);
  color: var(--color-white);
  transform: rotate(180deg);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.38s var(--ease);
}

.faq-item.faq-open .faq-answer {
  max-height: 600px;
}

.faq-answer p {
  padding-bottom: var(--space-6);
  color: var(--text-muted);
  font-size: var(--text-base);
  line-height: 1.7;
}

/* ── 20. CASE STUDIES ─────────────────────────────────────────── */

.case-featured {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.case-featured-hero {
  padding: var(--space-12);
  background: linear-gradient(140deg, var(--color-green-dark) 0%, var(--color-dark) 100%);
  position: relative;
  overflow: hidden;
}

.case-featured-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
}

.case-featured-inner {
  position: relative;
  z-index: 1;
}

.case-client-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-5);
  margin-bottom: var(--space-6);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-white);
  backdrop-filter: blur(8px);
}

.case-client-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-green-light);
  animation: pulse-dot 2s ease-in-out infinite;
}

.case-featured-hero h2 {
  color: var(--color-white);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: var(--space-4);
}

.case-featured-hero p {
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--text-lg);
  max-width: 600px;
}

.case-results {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.case-result {
  padding: var(--space-8) var(--space-6);
  text-align: center;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.case-result:nth-child(4n) {
  border-right: none;
}

.case-result-value {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--color-green);
  margin-bottom: var(--space-2);
  line-height: 1;
}

.case-result-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.4;
}

.case-body {
  padding: var(--space-12);
}

.case-body h3 {
  margin-bottom: var(--space-6);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  position: relative;
  padding-left: var(--space-8);
  margin: var(--space-8) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-green), var(--color-amber));
  border-radius: var(--radius-full);
  opacity: 0.35;
}

.timeline-item {
  display: flex;
  gap: var(--space-5);
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: calc(-1 * var(--space-8) + 9px);
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-green);
  border: 3px solid var(--bg);
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(3, 140, 76, 0.3);
}

.timeline-content {
  flex: 1;
}

.timeline-day {
  display: inline-block;
  background: rgba(3, 140, 76, 0.1);
  color: var(--color-green);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-2);
  letter-spacing: 0.04em;
}

[data-theme="dark"] .timeline-day {
  background: rgba(3, 140, 76, 0.2);
}

.timeline-title {
  font-weight: 700;
  font-size: var(--text-base);
  margin-bottom: var(--space-2);
}

.timeline-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
}

.blockquote {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border-left: 4px solid var(--color-green);
  margin: var(--space-8) 0;
}

[data-theme="dark"] .blockquote {
  background: rgba(3, 140, 76, 0.08);
}

.blockquote-text {
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.blockquote-attribution {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-green);
}

.case-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.case-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border: 1px solid var(--border);
  border-top: 3px solid var(--color-green);
  box-shadow: var(--shadow-sm);
  transition: all 0.28s var(--ease);
}

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

.case-card-logo {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--color-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: var(--space-5);
}

[data-theme="dark"] .case-card-logo {
  background: rgba(255, 255, 255, 0.08);
}

.case-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.case-card-company {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-green);
  margin-bottom: var(--space-4);
}

.case-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

.case-card-stats {
  display: flex;
  gap: var(--space-6);
}

.case-card-stat-value {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-green);
  line-height: 1;
}

.case-card-stat-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 2px;
}

/* ── 21. ABOUT ────────────────────────────────────────────────── */

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.about-visual {
  background: linear-gradient(135deg, var(--color-green-dark) 0%, var(--color-dark) 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  position: relative;
  overflow: hidden;
}

.about-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}

.about-visual-inner {
  position: relative;
  z-index: 1;
}

.about-stat-block {
  text-align: center;
  padding: var(--space-6);
}

.about-stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-amber);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.about-stat-label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.team-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border: 1px solid var(--border);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.28s var(--ease);
}

.team-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: var(--color-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto var(--space-4);
  border: 3px solid var(--color-gray-200);
}

[data-theme="dark"] .team-avatar {
  background: rgba(3, 140, 76, 0.2);
  border-color: rgba(3, 140, 76, 0.3);
}

.team-name {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.team-role {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-green);
  margin-bottom: var(--space-4);
}

.team-bio {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.value-card {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--color-green);
}

.value-number {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--color-gray-200);
  line-height: 1;
  margin-bottom: var(--space-3);
}

[data-theme="dark"] .value-number {
  color: rgba(255, 255, 255, 0.12);
}

.value-title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.value-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── 22. CONTACT ──────────────────────────────────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--space-12);
  align-items: start;
}

.contact-info h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-6);
}

.contact-info>p {
  color: var(--text-muted);
  margin-bottom: var(--space-8);
  line-height: 1.7;
}

.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.contact-detail {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.contact-detail-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: var(--color-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

[data-theme="dark"] .contact-detail-icon {
  background: rgba(3, 140, 76, 0.18);
}

.contact-detail-body h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: 3px;
}

.contact-detail-body p,
.contact-detail-body a {
  font-size: var(--text-sm);
  color: var(--text-muted);
  transition: color var(--transition);
}

.contact-detail-body a:hover {
  color: var(--color-green);
}

.contact-form-wrapper {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  border: 1px solid var(--border);
  border-top: 3px solid var(--color-green);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-2);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px var(--space-4);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-green);
  box-shadow: 0 0 0 3px rgba(3, 140, 76, 0.12);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%235A6B61' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 42px;
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

#form-success,
#form-error {
  display: none;
  padding: var(--space-5);
  border-radius: var(--radius);
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1.6;
}

#form-success {
  background: rgba(3, 140, 76, 0.1);
  color: var(--color-green);
  border: 1px solid rgba(3, 140, 76, 0.3);
}

#form-error {
  background: rgba(220, 38, 38, 0.08);
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, 0.2);
}

[data-theme="dark"] #form-success {
  background: rgba(3, 140, 76, 0.15);
  color: #4ade80;
  border-color: rgba(3, 140, 76, 0.4);
}

.submit-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(13, 31, 21, 0.25);
  border-top-color: var(--color-dark);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── 23. SCROLL ANIMATIONS ────────────────────────────────────── */

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) {
  transition-delay: 0.08s;
}

.fade-up:nth-child(3) {
  transition-delay: 0.16s;
}

.fade-up:nth-child(4) {
  transition-delay: 0.24s;
}

.fade-up:nth-child(5) {
  transition-delay: 0.32s;
}

.fade-up:nth-child(6) {
  transition-delay: 0.40s;
}

/* ── 24. RESPONSIVE ───────────────────────────────────────────── */

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

  .footer-col:last-child {
    grid-column: 1 / -1;
  }

  .footer-col:last-child .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-4) var(--space-8);
  }
}

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-eyebrow,
  .hero-actions {
    justify-content: center;
  }

  .hero-sub {
    max-width: 540px;
    margin-inline: auto;
  }

  .workflow-viz {
    max-width: 480px;
    margin: 0 auto;
  }

  .about-story-grid {
    grid-template-columns: 1fr;
  }

  .steps-connector {
    display: none;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-inline: auto;
  }

  .pricing-featured {
    transform: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .case-results {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-col:last-child {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  :root {
    --text-hero: clamp(2rem, 10vw, 3.5rem);
    --text-4xl: clamp(1.6rem, 5vw, 2rem);
  }

  .container,
  .container-sm {
    padding: 0 var(--space-4);
  }

  .nav-links,
  .nav-actions .btn,
  .lang-switcher {
    display: none;
  }

  .nav-actions .theme-toggle {
    display: flex;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-mobile .lang-switcher {
    display: flex;
    width: fit-content;
    margin-top: var(--space-2);
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr 1fr;
  }

  .case-cards-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .case-results {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-result:nth-child(2) {
    border-right: none;
  }

  .case-result:nth-child(n+3) {
    border-right: 1px solid var(--border);
  }

  .case-result:nth-child(4) {
    border-right: none;
  }

  .case-featured-hero,
  .case-body {
    padding: var(--space-8);
  }

  .contact-form-wrapper {
    padding: var(--space-6);
  }

  .page-hero h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .section {
    padding: var(--space-16) 0;
  }

  .cta-section {
    padding: var(--space-16) 0;
  }

  .page-hero {
    padding: calc(72px + var(--space-12)) 0 var(--space-12);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-3);
    text-align: center;
  }

  .footer-bottom-right {
    justify-content: center;
  }

  .tech-logos {
    gap: var(--space-6);
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }
}