.contact-section {
  background: var(--color-light, #f5f5f5);
  color: var(--color-black, #0a0909);
  overflow: hidden;
  padding: clamp(4rem, 6vw, 7rem) 0;
}

.contact-section-container {
  padding-right: clamp(1rem, 1.8vw, 2rem);
  padding-left: clamp(1rem, 1.8vw, 2rem);
}

.contact-section-header {
  margin-bottom: clamp(2.5rem, 4vw, 4.5rem);
}

.contact-section-subheadline {
  margin: 0 0 0.75rem;
  color: var(--color-black, #0a0909);
  font-family: var(--font-headline);
  font-size: clamp(0.95rem, 1.1vw, 1.3rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.contact-section-headline {
  max-width: 58rem;
  margin: 0;
  color: var(--color-black, #0a0909);
  font-family: var(--font-headline);
  font-size: clamp(2.8rem, 4.6vw, 6.2rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.contact-section-text {
  max-width: 54rem;
  color: var(--color-black, #0a0909);
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.35vw, 1.65rem);
  line-height: 1.25;
}

.contact-section-text p {
  margin-bottom: 1em;
}

.contact-section-text p:last-child {
  margin-bottom: 0;
}

.contact-section-form-wrap {
  width: 100%;
}

.contact-section-form {
  width: 100%;
}

.contact-section-form-block {
  margin-bottom: clamp(2.5rem, 4vw, 4.5rem);
}

.contact-section-form-title {
  margin: 0 0 clamp(1rem, 1.4vw, 1.4rem);
  color: var(--color-black, #0a0909);
  font-family: var(--font-headline);
  font-size: clamp(1.25rem, 1.55vw, 2rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.contact-section .wpcf7 {
  width: 100%;
}

.contact-section .wpcf7 form {
  width: 100%;
}

.contact-section .wpcf7 p {
  margin: 0;
}

.contact-section .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.contact-section-field,
.contact-section .wpcf7 input[type="text"],
.contact-section .wpcf7 input[type="email"],
.contact-section .wpcf7 input[type="tel"],
.contact-section .wpcf7 input[type="date"],
.contact-section .wpcf7 select,
.contact-section .wpcf7 textarea {
  display: block;
  width: 100%;
  min-height: clamp(3.1rem, 3.4vw, 3.8rem);
  padding: 0.9rem clamp(1rem, 1.3vw, 1.5rem);
  border: 1px solid rgba(10, 9, 9, 0.75);
  border-radius: 0;
  background: transparent;
  color: var(--color-black, #0a0909);
  font-family: var(--font-headline);
  font-size: clamp(0.95rem, 1vw, 1.15rem);
  font-weight: 400;
  line-height: 1.15;
  text-transform: uppercase;
  box-shadow: none;
  outline: none;
  appearance: none;
  transition:
    border-color var(--transition-default, 0.25s ease),
    background var(--transition-default, 0.25s ease);
}

.contact-section-field::placeholder,
.contact-section .wpcf7 input::placeholder,
.contact-section .wpcf7 textarea::placeholder {
  color: rgba(10, 9, 9, 0.92);
  opacity: 1;
}

.contact-section .wpcf7 select {
  padding-right: 3.5rem;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--color-black, #0a0909) 50%),
    linear-gradient(135deg, var(--color-black, #0a0909) 50%, transparent 50%);
  background-position:
    calc(100% - 1.55rem) 50%,
    calc(100% - 1.15rem) 50%;
  background-size:
    0.45rem 0.45rem,
    0.45rem 0.45rem;
  background-repeat: no-repeat;
}

.contact-section .wpcf7 textarea,
.contact-section-textarea {
  min-height: clamp(12rem, 16vw, 18rem);
  resize: vertical;
}

.contact-section .wpcf7 input:focus,
.contact-section .wpcf7 select:focus,
.contact-section .wpcf7 textarea:focus {
  border-color: var(--color-black, #0a0909);
  background: rgba(227, 222, 214, 0.35);
}

.contact-section .wpcf7-not-valid {
  border-color: #a62828 !important;
}

.contact-section .wpcf7-not-valid-tip {
  margin-top: 0.45rem;
  color: #a62828;
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.2;
}

.contact-section-submit-row {
  margin-top: clamp(-1.5rem, -1vw, -0.5rem);
}

.contact-section-acceptance {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: clamp(1.4rem, 2vw, 2rem);
  color: var(--color-black, #0a0909);
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1vw, 1.1rem);
  line-height: 1.25;
}

.contact-section-acceptance .wpcf7-form-control-wrap {
  display: block;
}

.contact-section-acceptance .wpcf7-list-item {
  margin: 0;
}

.contact-section-acceptance label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
}

.contact-section-acceptance input[type="checkbox"] {
  position: relative;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
  border: 1px solid var(--color-black, #0a0909);
  border-radius: 50%;
  background: transparent;
  appearance: none;
  flex: 0 0 auto;
  cursor: pointer;
}

.contact-section-acceptance input[type="checkbox"]:checked::before {
  content: "";
  position: absolute;
  inset: 0.28rem;
  border-radius: 50%;
  background: var(--color-black, #0a0909);
}

.contact-section .wpcf7-submit {
  border: 0;
}

.contact-section .wpcf7-spinner {
  margin: 0 0 0 1rem;
}

.contact-section .wpcf7-response-output {
  margin: clamp(1.5rem, 2vw, 2rem) 0 0;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(10, 9, 9, 0.75);
  color: var(--color-black, #0a0909);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.35;
}

@media (max-width: 991.98px) {
  .contact-section {
    padding: clamp(3.5rem, 9vw, 5rem) 0;
  }

  .contact-section-text {
    margin-top: 1.5rem;
    font-size: clamp(1rem, 4vw, 1.25rem);
  }

  .contact-section-headline {
    font-size: clamp(2.6rem, 10vw, 5rem);
  }

  .contact-section-submit-row {
    margin-top: 0;
  }
}

@media (max-width: 575.98px) {
  .contact-section-container {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .contact-section-headline {
    font-size: clamp(2.3rem, 11vw, 3.7rem);
  }

  .contact-section-field,
  .contact-section .wpcf7 input[type="text"],
  .contact-section .wpcf7 input[type="email"],
  .contact-section .wpcf7 input[type="tel"],
  .contact-section .wpcf7 input[type="date"],
  .contact-section .wpcf7 select,
  .contact-section .wpcf7 textarea {
    font-size: 0.95rem;
  }

  .contact-section .button-main,
  .contact-section .wpcf7-submit {
    width: fit-content;
  }
}
