/* ============================================
   INNER PAGE STYLES
   ============================================ */

/* ---- Page hero ---- */
.page-hero {
  background: var(--black);
  color: var(--white);
  padding: calc(var(--nav-h) + 100px) var(--section-pad-x) 80px;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.75;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 40px;
}

.page-breadcrumb a { color: rgba(255,255,255,0.35); transition: color var(--t-fast); }
.page-breadcrumb a:hover { color: rgba(255,255,255,0.7); }
.page-breadcrumb span { opacity: 0.3; }

.page-hero-title {
  font-size: clamp(52px, 8vw, 108px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 36px;
}

.page-hero-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  line-height: 1.65;
}

/* ---- Intro block (image + tekst) ---- */
.intro-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.intro-block.reverse .intro-block-img { order: 2; }
.intro-block.reverse .intro-block-text { order: 1; }

.intro-block-img {
  aspect-ratio: 4/3;
  background: var(--white);
  background-size: cover;
  background-position: center;
  position: relative;
}

.intro-block-text p {
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 520px;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--black);
  padding-bottom: 4px;
  transition: opacity var(--t-fast);
}

.cta-link:hover { opacity: 0.55; }

.cta-link svg {
  width: 14px;
  transition: transform var(--t-base);
}

.cta-link:hover svg { transform: translateX(5px); }

/* ---- Feature grid ---- */
.features-section {
  background: var(--black);
  color: var(--white);
}

.features-section .eyebrow { color: var(--gray-400); }
.features-section .eyebrow::before { background: var(--white); }
.features-section .section-title { color: var(--white); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.feature-item {
  padding: 48px 36px;
  border-right: 1px solid rgba(255,255,255,0.1);
  transition: background var(--t-base);
  opacity: 0;
}

.feature-item.in-view {
  animation: revealUp 0.65s var(--ease) both;
}

.features-grid .feature-item:nth-child(2).in-view { animation-delay: 0.08s; }
.features-grid .feature-item:nth-child(3).in-view { animation-delay: 0.16s; }
.features-grid .feature-item:nth-child(4).in-view { animation-delay: 0.04s; }
.features-grid .feature-item:nth-child(5).in-view { animation-delay: 0.12s; }
.features-grid .feature-item:nth-child(6).in-view { animation-delay: 0.20s; }

.feature-item:nth-child(3n),
.feature-item:last-child { border-right: none; }

.feature-item:hover { background: rgba(255,255,255,0.03); }

.feature-icon {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: border-color var(--t-base), background var(--t-base), color var(--t-base);
}

.feature-item:hover .feature-icon {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}

.feature-icon svg { width: 22px; height: 22px; }

.feature-name {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--white);
}

.feature-desc {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.65;
}

/* ---- Toepassingen ---- */
.applications-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: 64px;
}

.application-item {
  aspect-ratio: 3/2;
  background: var(--gray-200);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.application-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.7) 100%);
}

.application-label {
  position: relative;
  z-index: 1;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
}

/* ---- Werkwijze ---- */
.process-section { background: var(--gray-100); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid var(--gray-200);
}

.process-step {
  padding: 48px 32px 48px 0;
  border-right: 1px solid var(--gray-200);
  opacity: 0;
}

.process-step.in-view {
  animation: revealUp 0.65s var(--ease) both;
}

.process-steps .process-step:nth-child(2).in-view { animation-delay: 0.1s; }
.process-steps .process-step:nth-child(3).in-view { animation-delay: 0.2s; }
.process-steps .process-step:nth-child(4).in-view { animation-delay: 0.3s; }

.process-step:last-child { border-right: none; padding-right: 0; }
.process-step:not(:first-child) { padding-left: 32px; }

.step-number {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--gray-200);
  line-height: 1;
  margin-bottom: 24px;
}

.step-name {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.step-desc {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ---- Specs ---- */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 48px;
}

.specs-table th,
.specs-table td {
  text-align: left;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-200);
  font-size: 14px;
}

.specs-table th {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  color: var(--gray-600);
  background: var(--gray-100);
  width: 38%;
}

.specs-table td { color: var(--gray-800); font-weight: 500; }
.specs-table tr:last-child th,
.specs-table tr:last-child td { border-bottom: none; }

/* ---- Stats row ---- */
.stats-section { background: var(--black); color: var(--white); }
.stats-section .eyebrow { color: var(--gray-400); }
.stats-section .eyebrow::before { background: var(--white); }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-top: 64px;
}

.stat-item {
  padding: 48px 32px;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
}

/* ---- Values (donkere 2x2 grid) ---- */
.values-section { background: var(--black); color: var(--white); }
.values-section .eyebrow { color: var(--gray-400); }
.values-section .eyebrow::before { background: var(--white); }
.values-section .section-title { color: var(--white); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 64px;
}

.value-item {
  padding: 56px 48px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.02);
  transition: background var(--t-base);
}

.value-item:hover { background: rgba(255,255,255,0.05); }

.value-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--gray-400);
  margin-bottom: 40px;
}

.value-name {
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 16px;
}

.value-desc {
  font-size: 15px;
  color: var(--gray-400);
  line-height: 1.65;
  max-width: 420px;
}

/* ---- Team grid ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: 64px;
}

.team-member-img {
  aspect-ratio: 3/4;
  background: var(--gray-200);
  background-size: cover;
  background-position: center top;
  overflow: hidden;
  transition: transform 0.6s var(--ease);
}

.team-member:hover .team-member-img { transform: scale(1.04); }

.team-member-info { padding: 20px 0 0; }

.team-member-name {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.team-member-role {
  font-size: 12px;
  color: var(--gray-600);
  margin-top: 4px;
}

/* ---- Contact layout ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}

.form-title {
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}

.form-group { margin-bottom: 28px; }

.form-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 10px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--gray-200);
  font-family: inherit;
  font-size: 16px;
  color: var(--black);
  outline: none;
  transition: border-color var(--t-fast);
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-bottom-color: var(--black); }

.form-textarea { resize: none; min-height: 120px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.form-submit {
  display: inline-block;
  padding: 20px 48px;
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 2px solid var(--black);
  cursor: pointer;
  font-family: inherit;
  transition: background var(--t-fast), color var(--t-fast);
  margin-top: 8px;
  border-radius: 0;
}

.form-submit:hover { background: var(--white); color: var(--black); }

.contact-info-block {
  position: sticky;
  top: calc(var(--nav-h) + 40px);
}

.contact-info-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}

.contact-detail { margin-bottom: 32px; }

.contact-detail-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 8px;
}

.contact-detail p,
.contact-detail a {
  font-size: 16px;
  font-weight: 500;
  color: var(--black);
  line-height: 1.55;
  display: block;
}

.contact-detail a:hover { opacity: 0.55; }

/* ---- Page CTA closer ---- */
.page-closer {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: var(--section-pad-y) var(--section-pad-x);
}

.page-closer .section-title {
  color: var(--white);
  max-width: 700px;
  margin: 0 auto 24px;
}

.page-closer p {
  color: var(--gray-400);
  font-size: 17px;
  max-width: 480px;
  margin: 0 auto 48px;
  line-height: 1.65;
}

.page-closer-cta {
  display: inline-block;
  padding: 20px 48px;
  border: 2px solid var(--white);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background var(--t-fast), color var(--t-fast);
}

.page-closer-cta:hover { background: var(--white); color: var(--black); }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-item:nth-child(2n) { border-right: none; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2n) { border-right: none; }
  .process-step:nth-child(n+3) { border-top: 1px solid var(--gray-200); padding-top: 48px; }
  .process-steps .process-step:nth-child(2n+1) { padding-left: 0 !important; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2n) { border-right: none; }
  .stat-item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.1); }
  .values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .intro-block,
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .intro-block.reverse .intro-block-img { order: unset; }
  .intro-block.reverse .intro-block-text { order: unset; }
  .applications-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-info-block { position: static; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .page-hero { padding: calc(var(--nav-h) + 60px) 24px 60px; }
}

@media (max-width: 480px) {
  .features-grid,
  .applications-grid,
  .process-steps { grid-template-columns: 1fr; }
  .feature-item { border-right: none; }
  .process-step { border-right: none; padding-left: 0; padding-right: 0; }
  .process-step:not(:first-child) { border-top: 1px solid var(--gray-200); padding-top: 40px; padding-left: 0; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}
