/* =================================================
   MOONBYTE CONSULTING — STYLESHEET
   ================================================= */

/* 1. CUSTOM PROPERTIES
   ================================================= */
:root {
  /* Color palette — derived from logo */
  --c-900: #141F2A;
  --c-800: #1E2E3D;
  --c-750: #243445;
  --c-700: #2E4259;
  --c-600: #3D5568;
  --c-500: #5C7A8E;
  --c-400: #7A96A8;
  --c-300: #A5BEC9;
  --c-200: #D0DDE4;
  --c-100: #EBF1F5;
  --c-50:  #F4F7F9;

  --accent:       #2B7FBB;
  --accent-light: #4A9FD6;
  --accent-dark:  #1B6090;

  --white: #FFFFFF;

  /* Semantic */
  --color-bg:         var(--white);
  --color-bg-alt:     var(--c-50);
  --color-text:       var(--c-800);
  --color-text-muted: var(--c-500);
  --color-border:     var(--c-200);
  --color-heading:    var(--c-750);

  /* Layout */
  --max-width:  1180px;
  --nav-height: 72px;
  --section-py: 5rem;

  /* Shape */
  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  /* Shadow */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
  --shadow:    0 4px 14px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 36px rgba(0,0,0,0.10), 0 4px 10px rgba(0,0,0,0.05);

  /* Transition */
  --t: 200ms ease;
  --t-slow: 380ms ease;

  /* Typography */
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

/* 2. RESET
   ================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; border: none; background: none; }

/* 3. TYPOGRAPHY
   ================================================= */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-heading);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.625rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.0625rem; font-weight: 600; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }

/* 4. LAYOUT
   ================================================= */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

@media (min-width: 768px)  { .container { padding-inline: 2.5rem; } }
@media (min-width: 1280px) { .container { padding-inline: 3rem; } }

section { padding-block: var(--section-py); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.875rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.section-header { margin-bottom: 3rem; }

.section-header.center {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
}

.section-intro {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-top: 0.875rem;
}

/* Padding fix for fixed header */
main { padding-top: var(--nav-height); }

/* 5. BUTTONS
   ================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.8rem 1.625rem;
  border-radius: var(--radius);
  transition: var(--t);
  white-space: nowrap;
  line-height: 1.2;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(43, 127, 187, 0.3);
}
.btn-primary:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 3px; }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  align-items: center;
}

.btn svg { width: 17px; height: 17px; flex-shrink: 0; }

/* 6. HEADER & NAVIGATION
   ================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--nav-height);
  background: rgba(20, 31, 42, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow var(--t);
}
.site-header.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.3); }
.site-header .container { height: 100%; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px; /* ruimte tussen logo en tekst */
  color: white;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-weight: 600;
  color: #ffffff; /* of jouw navbar kleur */
}

.brand-tagline {
  font-size: 12px;
  font-style: italic;
  color: #b0b0b0; /* licht grijs */
  margin-top: 2px;
}

.nav-logo img {
  height: 42px;
  width: auto;
  border-radius: var(--radius-sm);
  display: block;
}

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

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  transition: var(--t);
  position: relative;
}
.nav-link:hover { color: var(--white); }
.nav-link.active {
  color: var(--white);
  font-weight: 600;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0.875rem;
  right: 0.875rem;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.nav-cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  background: var(--accent);
  padding: 0.5rem 1.125rem;
  border-radius: var(--radius);
  margin-left: 0.75rem;
  transition: var(--t);
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--accent-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--t);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-panel {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--c-750);
  padding: 1.5rem;
  flex-direction: column;
  gap: 0.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  z-index: 190;
}
.nav-mobile-panel.open { display: flex; }
.nav-mobile-panel .nav-link {
  padding: 0.75rem 0.875rem;
  font-size: 0.9375rem;
}
.nav-mobile-cta {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
  background: var(--accent);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  text-align: center;
}
.nav-mobile-cta:hover { background: var(--accent-dark); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links, .nav-cta { display: none; }
  .brand-tagline {
    display: none;
  }
}

/* 7. HERO SECTIONS
   ================================================= */

/* Home hero */
.hero {
  position: relative;
  background: var(--c-800);
  overflow: hidden;
  padding-block: 5.5rem 4.5rem;
  min-height: clamp(480px, 70vh, 640px);
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(43, 127, 187, 0.18) 0%, transparent 60%),
    radial-gradient(circle, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: auto, 36px 36px;
  pointer-events: none;
}
.hero-content {
  position: relative;
  max-width: 740px;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1.25rem;
}
.hero-label::before {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: var(--accent);
}
.hero h1 {
  font-size: clamp(2.125rem, 5.5vw, 3.25rem);
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 1.375rem;
  letter-spacing: -0.025em;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--c-300);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 600px;
}

/* Page hero (interior) */
.page-hero {
  background: var(--c-800);
  padding-block: 3.75rem 3.25rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 75% 50%, rgba(43, 127, 187, 0.13) 0%, transparent 55%),
    radial-gradient(circle, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: auto, 36px 36px;
  pointer-events: none;
}
.page-hero-content { position: relative; }
.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.875rem;
}
.page-hero p {
  color: var(--c-300);
  font-size: 1.0625rem;
  max-width: 580px;
  line-height: 1.7;
  margin: 0;
}

/* 8. PROBLEM RECOGNITION SECTION
   ================================================= */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.375rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--accent);
  transition: var(--t-slow);
}
.problem-item:hover {
  border-left-color: var(--accent-dark);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.problem-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 1px;
}
.problem-text {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--c-700);
  line-height: 1.5;
}

/* 9. SERVICES OVERVIEW (HOME)
   ================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.875rem;
  border: 1px solid var(--color-border);
  transition: var(--t-slow);
}
.service-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.service-icon {
  width: 46px;
  height: 46px;
  background: var(--c-100);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent);
  transition: var(--t);
}
.service-icon svg { width: 22px; height: 22px; }
.service-card:hover .service-icon {
  background: var(--accent);
  color: var(--white);
}

.service-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.625rem;
}
.service-card p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0;
}
.service-more {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 1rem;
  transition: var(--t);
}
.service-more svg { width: 15px; height: 15px; transition: var(--t); }
.service-more:hover { color: var(--accent-dark); }
.service-more:hover svg { transform: translateX(3px); }

/* 10. WORKFLOW STEPS (HOME SHORT)
   ================================================= */
.steps-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.step-item {}

.step-num {
  font-size: 2.625rem;
  font-weight: 800;
  color: var(--c-200);
  line-height: 1;
  margin-bottom: 0.875rem;
  letter-spacing: -0.04em;
}
.step-item h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--c-750);
}
.step-item p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0;
}

/* 11. ABOUT TEASER (HOME)
   ================================================= */
.about-split {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .about-split { grid-template-columns: 1fr 1fr; }
}

.about-split-text h2 { margin-bottom: 1.25rem; }
.about-split-text p {
  font-size: 1.0625rem;
  color: var(--c-600);
  line-height: 1.75;
}

.about-badges {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-top: 1.75rem;
}
.about-badge {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--c-700);
}
.about-badge-icon {
  width: 38px;
  height: 38px;
  background: var(--c-100);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.about-badge-icon svg { width: 18px; height: 18px; }

.about-card {
  background: var(--c-750);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.about-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 85% 15%, rgba(43,127,187,0.2) 0%, transparent 60%);
  pointer-events: none;
}
.about-card-content { position: relative; }
.about-card h3 {
  color: var(--white);
  font-size: 1.375rem;
  margin-bottom: 0.875rem;
}
.about-card p {
  color: var(--c-300);
  font-size: 0.9375rem;
  line-height: 1.75;
}
.about-card-sig {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.about-card-name {
  font-weight: 700;
  color: var(--white);
  font-size: 1.0625rem;
}
.about-card-role {
  font-size: 0.875rem;
  color: var(--c-400);
  margin-top: 0.2rem;
}

/* 12. CTA BANNER
   ================================================= */
.cta-banner {
  background: var(--c-800);
  position: relative;
  overflow: hidden;
  padding-block: 4.5rem;
  text-align: center;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(43,127,187,0.18) 0%, transparent 55%),
    radial-gradient(circle, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: auto, 38px 38px;
  pointer-events: none;
}
.cta-banner-content { position: relative; }
.cta-banner h2 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: clamp(1.625rem, 3.5vw, 2.25rem);
}
.cta-banner p {
  color: var(--c-300);
  font-size: 1.0625rem;
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: 2rem;
}

/* 13. SERVICES DETAIL PAGE
   ================================================= */
.service-detail {
  display: grid;
  gap: 2rem 4rem;
  padding-block: 3rem;
  border-bottom: 1px solid var(--color-border);
}
.service-detail:last-child { border-bottom: none; padding-bottom: 0; }
@media (min-width: 860px) {
  .service-detail { grid-template-columns: 160px 1fr; }
}

.service-detail-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
.service-detail-num {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--c-200);
  line-height: 1;
  letter-spacing: -0.04em;
}
.service-detail-icon {
  width: 60px;
  height: 60px;
  background: var(--c-100);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.service-detail-icon svg { width: 28px; height: 28px; }

.service-detail-body h2 {
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  margin-bottom: 1rem;
}
.service-detail-body > p {
  font-size: 1.0625rem;
  color: var(--c-600);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.service-meta {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
@media (min-width: 640px) {
  .service-meta { grid-template-columns: 1fr 1fr; }
}
.service-meta-block {
  background: var(--c-50);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid var(--color-border);
}
.service-meta-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-400);
  margin-bottom: 0.5rem;
}
.service-meta-text {
  font-size: 0.9375rem;
  color: var(--c-700);
  line-height: 1.6;
  margin: 0;
}

/* 14. APPROACH PAGE
   ================================================= */
.approach-steps { display: grid; gap: 0; }

.approach-step {
  display: grid;
  gap: 1.5rem;
  padding-block: 2.75rem;
  border-bottom: 1px solid var(--color-border);
}
.approach-step:first-child { padding-top: 0; }
.approach-step:last-child { border-bottom: none; }
@media (min-width: 768px) {
  .approach-step {
    grid-template-columns: 88px 1fr;
    gap: 2.5rem;
    align-items: start;
  }
}

.approach-num {
  width: 56px;
  height: 56px;
  background: var(--c-750);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}

.approach-step h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.approach-step p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.75;
  margin: 0;
}

.approach-note {
  margin-top: 3rem;
  padding: 2rem 2rem 2rem 2rem;
  background: var(--c-50);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--accent);
}
.approach-note p {
  font-size: 1.0625rem;
  color: var(--c-700);
  line-height: 1.7;
  margin: 0;
}

/* 15. ABOUT PAGE
   ================================================= */
.about-page-intro {
  display: grid;
  gap: 3.5rem;
  align-items: start;
}
@media (min-width: 960px) {
  .about-page-intro { grid-template-columns: 1fr 380px; }
}

.about-page-text h2 { margin-bottom: 1.25rem; }
.about-page-text p {
  font-size: 1.0625rem;
  color: var(--c-600);
  line-height: 1.8;
}

.profile-card {
  background: var(--c-750);
  border-radius: var(--radius-xl);
  padding: 2rem;
  color: var(--white);
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
}
.profile-avatar {
  width: 68px;
  height: 68px;
  background: var(--c-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--c-200);
  margin-bottom: 1.25rem;
}
.profile-name {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.profile-role {
  font-size: 0.875rem;
  color: var(--c-400);
  margin-bottom: 1.5rem;
}
.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.profile-tag {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(43,127,187,0.18);
  color: var(--accent-light);
  border: 1px solid rgba(43,127,187,0.25);
}
.profile-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-block: 1.5rem;
}
.profile-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.profile-contact a {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--c-300);
  transition: var(--t);
}
.profile-contact a:hover { color: var(--white); }
.profile-contact svg { width: 15px; height: 15px; flex-shrink: 0; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--color-border);
}
.value-icon {
  width: 42px;
  height: 42px;
  background: var(--c-750);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--accent-light);
}
.value-icon svg { width: 20px; height: 20px; }
.value-card h4 { margin-bottom: 0.5rem; }
.value-card p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* 16. CONTACT PAGE
   ================================================= */
.contact-layout {
  display: grid;
  gap: 3.5rem;
}
@media (min-width: 960px) {
  .contact-layout { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
}

.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p {
  font-size: 1.0625rem;
  color: var(--c-600);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-detail-icon {
  width: 42px;
  height: 42px;
  background: var(--c-100);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.contact-detail-icon svg { width: 18px; height: 18px; }
.contact-detail-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-400);
  margin-bottom: 0.2rem;
}
.contact-detail-value {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--c-700);
}
.contact-detail-value a { color: var(--accent); transition: var(--t); }
.contact-detail-value a:hover { color: var(--accent-dark); }

.contact-scope {
  background: var(--c-50);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--color-border);
}
.contact-scope h4 {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-500);
  margin-bottom: 0.875rem;
}
.contact-scope ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.contact-scope li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--c-700);
}
.contact-scope li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
}
.contact-form-card h3 { margin-bottom: 0.375rem; }
.contact-form-card > p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  margin-bottom: 2rem;
}

.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-700);
  margin-bottom: 0.4rem;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  color: var(--c-800);
  background: var(--white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  transition: var(--t);
  outline: none;
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(43,127,187,0.12);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--c-300); }
.form-textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
.form-note {
  font-size: 0.8125rem;
  color: var(--c-400);
  margin-top: 1rem;
  line-height: 1.5;
}
.form-btn { width: 100%; justify-content: center; margin-top: 0.5rem; }

.form-success {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}
.form-success.show { display: block; }
.form-success-icon {
  width: 56px;
  height: 56px;
  background: rgba(43,187,120,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: #2BB878;
}
.form-success-icon svg { width: 26px; height: 26px; }
.form-success h3 { margin-bottom: 0.625rem; }
.form-success p { color: var(--color-text-muted); font-size: 0.9375rem; }

/* 17. FOOTER
   ================================================= */
.site-footer {
  background: var(--c-900);
  color: var(--c-400);
  padding-top: 4rem;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1.5fr 1.5fr; }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2.5fr 1fr 1fr 1fr; }
}

.footer-brand {}
.footer-logo {
  height: 38px;
  width: auto;
  border-radius: 5px;
  margin-bottom: 1.25rem;
}
.footer-tagline {
  font-size: 0.9375rem;
  color: var(--c-500);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  max-width: 280px;
}
.footer-contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-contact-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--c-500);
  transition: var(--t);
}
.footer-contact-links a:hover { color: var(--white); }
.footer-contact-links svg { width: 14px; height: 14px; flex-shrink: 0; }

.footer-col h5 {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.footer-nav a {
  font-size: 0.9rem;
  color: var(--c-500);
  transition: var(--t);
}
.footer-nav a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-block: 1.5rem;
  font-size: 0.8125rem;
  color: var(--c-600);
}
@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.footer-legal a {
  color: var(--c-600);
  transition: var(--t);
}
.footer-legal a:hover { color: var(--c-300); }

/* 18. UTILITIES
   ================================================= */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

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

.bg-light  { background-color: var(--color-bg-alt); }
.bg-white  { background-color: var(--white); }
.bg-dark   { background-color: var(--c-750); color: var(--white); }

.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: var(--white); }
.bg-dark p, .bg-dark .section-intro { color: var(--c-300); }
.bg-dark .section-label { color: var(--accent-light); }
.bg-dark .section-label::before { background: var(--accent-light); }

/* Focus */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Fade-in animation */
.fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger */
.fade-up:nth-child(1) { transition-delay: 0ms; }
.fade-up:nth-child(2) { transition-delay: 75ms; }
.fade-up:nth-child(3) { transition-delay: 150ms; }
.fade-up:nth-child(4) { transition-delay: 225ms; }
.fade-up:nth-child(5) { transition-delay: 300ms; }
.fade-up:nth-child(6) { transition-delay: 375ms; }

/* 23. HERO ILLUSTRATION
   ================================================= */
.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    min-height: clamp(400px, 60vh, 560px);
  }
  .hero-content { max-width: none; }
}

.hero-visual {
  display: none;
  position: relative;
}
@media (min-width: 1024px) {
  .hero-visual { display: flex; align-items: center; justify-content: center; }
}
.hero-visual svg { width: 100%; max-width: 480px; height: auto; filter: drop-shadow(0 0 40px rgba(43,127,187,0.15)); }

/* Network node pulse animation */
@keyframes node-pulse {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50%       { opacity: 0;    transform: scale(1.4); }
}
.net-pulse {
  transform-origin: 240px 190px;
  animation: node-pulse 2.8s ease-in-out infinite;
}
.net-pulse-2 {
  transform-origin: 240px 190px;
  animation: node-pulse 2.8s ease-in-out infinite 1.4s;
}

/* 24. SECTION DOT PATTERN
   ================================================= */
.dot-pattern {
  background-color: var(--c-50);
  background-image: radial-gradient(circle, rgba(43,127,187,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* 25. PAGE HERO DECORATION
   ================================================= */
.page-hero { position: relative; overflow: hidden; }
.page-hero-deco {
  display: none;
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.25;
  pointer-events: none;
}
@media (min-width: 900px) { .page-hero-deco { display: block; } }
.page-hero-deco svg { width: 260px; height: auto; }

/* 26. FEATURE STRIPS (visual section accents)
   ================================================= */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  background: var(--c-750);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-top: 3.5rem;
}
.stat-item {
  padding: 2rem 2.25rem;
  border-right: 1px solid rgba(255,255,255,0.07);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0.375rem;
}
.stat-num span {
  font-size: 1.25rem;
  color: var(--accent-light);
}
.stat-label {
  font-size: 0.875rem;
  color: var(--c-400);
  font-weight: 500;
}

/* 27. TECH CHIP TAGS
   ================================================= */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.tech-tag {
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius);
  background: var(--c-100);
  color: var(--c-600);
  border: 1px solid var(--color-border);
  font-family: 'Consolas', 'Monaco', monospace;
}

/* 28. VISUAL DIVIDERS
   ================================================= */
.section-rule {
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}
.section-rule.center { margin-inline: auto; }

/* 29. HERO WITH PHOTO BACKGROUND
   ================================================= */
.hero-with-photo {
  background-size: cover;
  background-position: center 55%;
}
.hero-with-photo::before {
  background-image:
    linear-gradient(105deg, rgba(12,20,28,0.94) 35%, rgba(12,20,28,0.65) 100%),
    radial-gradient(ellipse at 20% 50%, rgba(43,127,187,0.14) 0%, transparent 55%),
    radial-gradient(circle, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: auto, auto, 36px 36px;
}
/* Ensure grid sits above the overlay */
.hero-grid { position: relative; }

/* 30. PHOTO CARD (about section)
   ================================================= */
.about-photo-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-lg);
}
.about-photo-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.7s ease;
}
.about-photo-card:hover > img { transform: scale(1.03); }
.about-photo-card-body {
  position: relative;
  padding: 2rem;
  background: linear-gradient(to top, rgba(12,20,28,0.96) 0%, rgba(12,20,28,0.78) 55%, transparent 100%);
}
.about-photo-card-body blockquote {
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--c-200);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  quotes: "\201C" "\201D";
}
.about-photo-card-body blockquote::before { content: open-quote; }
.about-photo-card-body blockquote::after  { content: close-quote; }

/* 31. IMG BAND (wide scene-setter image)
   ================================================= */
.img-band {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 3.5rem;
}
.img-band img {
  width: 100%;
  height: clamp(220px, 33vw, 400px);
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* 32. INLINE SPLIT PHOTO (text + photo side by side)
   ================================================= */
.split-photo-block {
  display: grid;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3.5rem;
}
@media (min-width: 860px) {
  .split-photo-block { grid-template-columns: 1fr 1fr; }
  .split-photo-block.img-right .split-photo-visual { order: 2; }
}
.split-photo-visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split-photo-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.split-photo-text h3 { margin-bottom: 1rem; }
.split-photo-text p { color: var(--c-600); font-size: 1.0625rem; line-height: 1.8; }
