/* Contact page (v2). Loaded after home.css on /contact/ and /nl/contact/. */

.cv2c-hero {
  padding-top: clamp(40px, 5vw, 72px);
  padding-bottom: clamp(40px, 4.4vw, 64px);
}

.cv2c-hero .cv2-h1 {
  max-width: 900px;
}

.cv2c-hero__lead {
  max-width: 680px;
}

.cv2c-main {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: start;
  padding-bottom: clamp(80px, 9vw, 130px);
}

.cv2c-formcard {
  padding: clamp(24px, 3.4vw, 48px);
}

.cv2c-formcard__title {
  margin: 0;
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.cv2c-formcard__help {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}

.cv2c-form {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.cv2c-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 20px;
}

.cv2c-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.cv2c-field label {
  font-size: 15px;
  font-weight: 600;
}

.cv2c-req {
  color: var(--g2);
}

.cv2c-hint {
  margin-left: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.cv2c-field input,
.cv2c-field select,
.cv2c-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #cfcabd;
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}

.cv2c-field select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f534b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
}

.cv2c-field textarea {
  min-height: 150px;
  resize: vertical;
}

.cv2c-field input:focus,
.cv2c-field select:focus,
.cv2c-field textarea:focus {
  outline: 3px solid rgba(73, 134, 91, 0.35);
  outline-offset: 0;
  border-color: var(--g3);
}

.cv2c-field.is-invalid input,
.cv2c-field.is-invalid select,
.cv2c-field.is-invalid textarea {
  border-color: #a3472f;
}

.cv2c-error {
  min-height: 0;
  color: #a3472f;
  font-size: 14px;
}

.cv2c-error:empty {
  display: none;
}

.cv2c-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.cv2c-count {
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
}

.cv2c-count.is-near {
  color: #a3472f;
}

.cv2c-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cv2c-submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
}

.cv2c-button {
  border: 0;
  cursor: pointer;
}

.cv2c-button:disabled {
  opacity: 0.7;
  cursor: progress;
}

.cv2c-privacy {
  flex: 1 1 240px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.cv2c-result:empty {
  display: none;
}

.cv2c-result {
  padding: 14px 16px;
  border-radius: 6px;
  font-size: 15px;
  line-height: 1.5;
}

.cv2c-result.is-success {
  background: var(--sage);
  color: var(--g1);
}

.cv2c-result.is-error {
  background: #f4e6df;
  color: #7a3422;
}

.cv2c-side {
  display: grid;
  gap: 24px;
}

.cv2c-side__block {
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--card-line);
  border-radius: 10px;
  background: var(--card);
}

.cv2c-side__block--sage {
  border-color: #d6dccb;
  background: var(--sage);
}

.cv2c-side__block .cv2-compare__title {
  margin-bottom: 12px;
}

.cv2c-side__big {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.cv2c-side__text {
  margin-top: 10px;
  color: #454a44;
  font-size: 15px;
  line-height: 1.5;
}

.cv2c-address {
  margin-bottom: 14px;
  font-size: 16px;
  font-style: normal;
  line-height: 1.6;
}

/* Sage, so it does not merge with the footer band below it. */
.cv2c-after {
  background: var(--sage);
}

.cv2c-after .cv2c-next li {
  border-top-color: #d0d6c5;
}

.cv2c-after .cv2-step__num {
  background: var(--card);
}

.cv2c-next {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 32px 48px;
  margin-top: clamp(36px, 4vw, 56px);
}

.cv2c-next li {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.cv2c-next h3 {
  margin: 18px 0 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.cv2c-next p {
  margin-top: 10px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
}

@media (max-width: 860px) {
  .cv2c-main {
    grid-template-columns: 1fr;
  }
}
