/* Contact: drie routes met foto en een mailblok (src/nl/contact/index.njk) */

.sc-ct-routes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.sc-ct-route {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(27, 34, 70, 0.1), 0 18px 40px rgba(27, 34, 70, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sc-ct-route:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px rgba(86, 207, 189, 0.7), 0 24px 50px rgba(27, 34, 70, 0.12);
}

.sc-ct-foto {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.sc-ct-foto img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.sc-ct-route:hover .sc-ct-foto img {
  transform: scale(1.04);
}

.sc-ct-tekst {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px 28px 30px;
}

.sc-ct-tekst h3 {
  margin: 0;
  color: #1b2246;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.sc-ct-tekst > p {
  margin: 10px 0 18px;
  color: #5c6b7d;
  font-size: 1rem;
  line-height: 1.6;
}

.sc-ct-punten {
  display: grid;
  gap: 10px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.sc-ct-punten li {
  position: relative;
  padding-left: 30px;
  color: #1b2246;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
}

.sc-ct-punten li::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(86, 207, 189, 0.22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d7f70' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.sc-ct-tekst .hs-knop {
  align-self: flex-start;
  margin-top: auto;
}

/* Mailblok */
.sc-ct-mail {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 40px 44px;
  border-radius: 34px;
  overflow: hidden;
  background-color: #1b2246;
  background-image:
    radial-gradient(circle at 90% 0%, rgba(86, 207, 189, 0.18), transparent 45%),
    radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: auto, 18px 18px;
  box-shadow: 0 24px 60px rgba(27, 34, 70, 0.18);
}

.sc-ct-mail > * {
  position: relative;
  z-index: 1;
}

.sc-ct-mail-icoon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: #56cfbd;
  box-shadow: 0 0 0 10px rgba(86, 207, 189, 0.12), 0 12px 30px rgba(86, 207, 189, 0.25);
}

.sc-ct-mail-icoon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: #1b2246;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sc-ct-mail-tekst h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.sc-ct-mail-tekst p {
  max-width: 640px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
  line-height: 1.6;
}

.sc-ct-mail-tekst a {
  color: #56cfbd;
  font-weight: 700;
}

.sc-ct-mail-tekst .sc-ct-locatie {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
}

@media (max-width: 1000px) {
  .sc-ct-routes {
    grid-template-columns: 1fr;
    max-width: 620px;
  }

  .sc-ct-mail {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 32px 26px;
  }

  .sc-ct-mail .hs-knop {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sc-ct-route,
  .sc-ct-foto img {
    transition: none;
  }

  .sc-ct-route:hover,
  .sc-ct-route:hover .sc-ct-foto img {
    transform: none;
  }
}
