.contact-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  /*background: rgb(11, 12, 16);*/
}

.contact-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 123, 255, 0.15) 0%, rgba(0, 123, 255, 0) 42%),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.01) 0%,
      rgba(255, 255, 255, 0) 100%
    );
  pointer-events: none;
  z-index: 0;
}

.contact-page #backgroundOverlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── First shell (contact form) ── */
.contact-page .contact-shell {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 112px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Second shell (bedrijfsgegevens) — compact, no min-height ── */
.contact-page .contact-shell--compact {
  min-height: unset;
  padding: 0 0 80px;
}

/* ── Shared card style ── */
.contact-page .contact-content {
  position: relative;
  width: min(980px, 100%);
  padding: 56px 52px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.025) 100%
  );
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgb(255, 255, 255);
  text-align: center;
}

/* ── Info card overrides ── */
.contact-page .contact-content--info {
  padding: 40px 52px 44px;
  text-align: left;
}

/* ── Kicker ── */
.contact-page .contact-kicker {
  display: inline-block;
  margin: 0 0 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgb(0, 123, 255);
}

.contact-content--info .contact-kicker {
  display: block;
  margin-bottom: 28px;
}

/* ── Hero title ── */
.contact-page .contact-content h1 {
  margin: 8px 0 10px;
  font-family: 'Sora', sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: rgb(255, 255, 255);
}

.contact-page .contact-accent {
  color: rgb(140, 200, 140);
}

/* ── Intro text ── */
.contact-page .contact-intro {
  max-width: 880px;
  margin: 0px auto 72px;
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.72);
}

/* ── Form ── */
.contact-page #contactForm {
  max-width: 620px;
  margin: 0 auto;
  text-align: left;
}

.contact-page label {
  display: block;
  margin: 0 0 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.contact-page input,
.contact-page textarea {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: rgb(255, 255, 255);
  font-family: 'DM Sans', sans-serif !important;
  font-size: 16px;
  line-height: 1.5;
  box-sizing: border-box;
  transition:
    border-color 200ms ease,
    background 200ms ease,
    box-shadow 200ms ease;
}

.contact-page input::placeholder,
.contact-page textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.contact-page input:focus,
.contact-page textarea:focus {
  outline: none;
  border-color: rgba(140, 200, 140, 0.7);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(140, 200, 140, 0.12);
}

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

/* ── Submit button ── */
.contact-page .button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 170px;
  margin-top: 8px;
  padding: 16px 28px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(18, 20, 26, 0.78);
  color: rgb(255, 255, 255);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  letter-spacing: 0;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
  transition:
    background 200ms ease,
    box-shadow 200ms ease,
    transform 150ms ease,
    border-color 200ms ease;
}

.contact-page .button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.34);
  transform: translateY(-2px);
}

/* ── Company info grid ── */
.contact-page .company-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px 32px;
}

.contact-page .company-info-block {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-page .info-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.contact-page .info-value {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.contact-page .info-link {
  color: rgb(140, 200, 140);
  text-decoration: none;
  transition: opacity 160ms ease;
}

.contact-page .info-link:hover {
  opacity: 0.75;
  text-decoration: underline;
}

/* ── Success alert ── */
.contact-page #customAlert {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(420px, calc(100% - 32px));
  padding: 28px 24px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.04) 100%
  );
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  text-align: center;
}

.contact-page #customAlert p {
  margin: 0 0 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: rgb(255, 255, 255);
}

.contact-page #customAlert button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 12px 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(18, 20, 26, 0.78);
  color: rgb(255, 255, 255);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition:
    background 200ms ease,
    border-color 200ms ease,
    transform 150ms ease;
}

.contact-page #customAlert button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
}

/* ── Responsive ── */
@media (max-width: 820px) {
  .contact-page .contact-shell {
    width: min(100%, calc(100% - 40px));
    padding: 80px 0;
  }

  .contact-page .contact-shell--compact {
    padding: 0 0 60px;
  }

  .contact-page .contact-content {
    padding: 40px 28px;
  }

  .contact-page .contact-content--info {
    padding: 32px 28px 36px;
  }
}

@media (max-width: 600px) {
  .contact-page .contact-shell {
    width: calc(100% - 32px);
  }

  .contact-page .contact-content {
    padding: 40px 28px;
    border-radius: 28px;
  }

  .contact-page .contact-kicker {
    margin-bottom: 16px;
    font-size: 11px;
    letter-spacing: 0.18em;
  }

  .contact-page .contact-content h1 {
    font-size: 32px;
    margin-bottom: 18px;
    line-height: 1.02;
  }

  .contact-page .contact-intro {
    font-size: 18px;
    line-height: 1.95;
    margin-bottom: 56px;
  }

  .contact-page input,
  .contact-page textarea {
    font-size: 15px;
  }

  .contact-page .company-info-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
  }
}

@media (max-width: 380px) {
  .contact-page .company-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-page .button,
  .contact-page input,
  .contact-page textarea,
  .contact-page #customAlert button,
  .contact-page .info-link {
    transition: none;
  }
}
