
.contact-section {
  --ct-desc: var(--udi-soft, #5a5f73);
  --ct-muted: var(--udi-muted, #9499a8);
  --ct-label: #3a3953;
  --ct-field-bd: var(--udi-muted, #8a8fa0); /* WCAG 1.4.11: 3.1:1 on #fbfcfd (was #e2e5ec, 1.26:1) */
  --ct-field-bg: #fbfcfd;
  --ct-icon-bg: color-mix(in srgb, var(--blue) 12%, #fff);
  --ct-err: var(--udi-error, #e0573c);
  background: #fbfcfd;
  padding: 96px 24px;
  font-family: "Poppins", sans-serif;
}
.contact-section__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}


.contact-section__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.contact-section__eyebrow::before {
  content: "";
  width: 32px;
  height: 4px;
  border-radius: 9999px;
  background: var(--orange);
  flex: 0 0 auto;
}
.contact-section__eyebrow-label {
  font-size: calc(13px * var(--a11y-fs, 1));
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
}
.contact-section__title {
  margin: 0;
  font-size: calc(38px * var(--a11y-fs, 1));
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: -0.6px;
  color: var(--basic);
  text-wrap: balance;
}
.contact-section__title span {
  color: var(--blue);
}
.contact-section__desc {
  margin: 18px 0 0;
  font-size: calc(17px * var(--a11y-fs, 1));
  line-height: 1.65;
  color: var(--ct-desc);
}
.contact-section__rows {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 34px;
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact-row__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 13px;
  background: var(--ct-icon-bg);
  color: var(--blue);
}
.contact-row__icon svg {
  width: 20px;
  height: 20px;
}
.contact-row__body {
  display: flex;
  flex-direction: column;
}
.contact-row__label {
  font-size: calc(13px * var(--a11y-fs, 1));
  font-weight: 500;
  color: var(--ct-muted);
}
.contact-row__value {
  font-size: calc(16px * var(--a11y-fs, 1));
  font-weight: 700;
  color: var(--basic);
}
a.contact-row__value {
  text-decoration: none;
  transition: color 0.15s;
}
a.contact-row__value:hover {
  color: var(--blue);
}


.contact-section__form {
  background: #fff;
  border: 1px solid #e7e9ee;
  border-radius: 26px;
  padding: 40px 42px;
  box-shadow: 0 30px 70px -50px rgba(33, 32, 76, 0.5);
}


.contact-section__form .wpcf7-form br {
  display: none;
}
.contact-section__form .wpcf7-form p {
  margin: 0;
}

.contact-section__form .form-contact-row50 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 20px;
}
.contact-section__form .ctf__col {
  min-width: 0;
}

.contact-section__form label,
.contact-section__form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}
.contact-section__form .wpcf7-form-control-wrap {
  margin-bottom: 14px;
}

.contact-section__form input[type="text"],
.contact-section__form input[type="email"],
.contact-section__form input[type="tel"],
.contact-section__form input[type="url"],
.contact-section__form input[type="number"],
.contact-section__form input[type="date"],
.contact-section__form input:not([type]),
.contact-section__form select,
.contact-section__form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--ct-field-bd);
  background-color: var(--ct-field-bg);
  font-family: inherit;
  font-size: calc(15px * var(--a11y-fs, 1));
  color: var(--basic);
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.contact-section__form select {
  padding-right: 40px;
  cursor: pointer;
}
.contact-section__form input:not([type="submit"]):focus,
.contact-section__form select:focus,
.contact-section__form textarea:focus {
  border-color: var(--blue);
  background-color: #fff;
  outline: 2px solid var(--basic);
  outline-offset: 2px;
}

.contact-section__form .wpcf7-submit:focus-visible {
  outline: 3px solid var(--basic);
  outline-offset: 2px;
}
.contact-section__form textarea {
  line-height: 1.5;
  resize: vertical;
  min-height: 90px;
  height: 126px;
}

.contact-section__form .wpcf7-submit {
  width: 100%;
  position: relative;
  margin-top: 10px;
  padding: 16px 24px;
  border: 0;
  border-radius: 9999px;
  background: var(--blue);
  color: #fff;
  font-family: inherit;
  font-size: calc(15.5px * var(--a11y-fs, 1));
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}
.contact-section__form .wpcf7-submit:hover {
  background: color-mix(in srgb, var(--blue) 85%, #000);
}

.contact-section__form .wpcf7-spinner { display: none; }

.contact-section__form .ctf__submit { position: relative; display: block; }
.contact-section__form .ctf__submit br { display: none; }
.contact-section__form .wpcf7-form.submitting .wpcf7-submit {
  color: transparent;
  opacity: 1 !important; 
  background: color-mix(in srgb, var(--blue) 76%, #000); 
  pointer-events: none;
}
.contact-section__form .wpcf7-form.submitting .ctf__submit::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ct-spin 0.7s linear infinite;
}
@keyframes ct-spin {
  100% { transform: rotate(360deg); }
}


.contact-section__form input[type="checkbox"],
.contact-section__form input[type="radio"] {
  width: auto;
  margin: 3px 0 0;
  flex: 0 0 auto;
  accent-color: var(--blue);
}
.contact-section__form .wpcf7-acceptance .wpcf7-list-item,
.contact-section__form .wpcf7-checkbox .wpcf7-list-item,
.contact-section__form .wpcf7-radio .wpcf7-list-item {
  display: block;
  margin: 0;
}
.contact-section__form .wpcf7-acceptance label,
.contact-section__form .wpcf7-checkbox label,
.contact-section__form .wpcf7-radio label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.contact-section__form .wpcf7-list-item-label {
  font-size: calc(13px * var(--a11y-fs, 1));
  font-weight: 400;
  line-height: 1.5;
  color: var(--ct-desc);
}
.contact-section__form .wpcf7-list-item-label a {
  color: var(--blue);
}


.contact-section__form .clause-static-wrapper { display: none; }


.contact-section__form .wpcf7-not-valid-tip {
  color: var(--ct-err);
  font-size: calc(12.5px * var(--a11y-fs, 1));
  font-weight: 500;
  margin-top: 6px;
}
.contact-section__form .wpcf7-form-control.wpcf7-not-valid {
  border-color: var(--ct-err);
}
.contact-section__form .wpcf7-response-output {
  margin: 16px 0 0 !important;
  border-radius: 12px;
  padding: 12px 16px !important;
  font-size: calc(13.5px * var(--a11y-fs, 1));
  line-height: 1.5;
}


.ctf__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.ctf__row + .ctf__row,
.ctf__field--full,
.ctf__consent {
  margin-top: 20px;
}
.ctf__field {
  min-width: 0;
}
.ctf__label {
  display: block;
  margin-bottom: 8px;
  font-size: calc(13.5px * var(--a11y-fs, 1));
  font-weight: 700;
  color: var(--ct-label);
}
.ctf__opt {
  color: var(--udi-muted, #a6abb8);
  font-weight: 500;
}
/* WCAG 3.3.2: required-field asterisk + legend (added in the CF7 template). */
.ctf__req {
  margin-left: 2px;
  color: inherit;
}
.contact-section__form .wpcf7-form .ctf__legend {
  margin: 0 0 18px;
  font-size: calc(13px * var(--a11y-fs, 1));
  color: var(--ct-desc);
}
.ctf .wpcf7-form-control-wrap {
  margin-bottom: 0;
}
.contact-section__form ::placeholder {
  color: var(--udi-muted, #a6abb8);
}
.ctf__submit {
  margin-top: 26px;
}
.ctf__submit .wpcf7-submit {
  margin-top: 0;
}
.ctf__note {
  margin: 16px 0 0;
  text-align: center;
  font-size: calc(12.5px * var(--a11y-fs, 1));
  line-height: 1.5;
  color: var(--ct-muted);
}
.ctf__consent .wpcf7-list-item {
  margin: 0;
}


.ctf-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 10px;
}
.ctf-success__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 9999px;
  background: #e9f6ee;
  margin-bottom: 24px;
}
.ctf-success__icon svg {
  width: 34px;
  height: 34px;
}
.ctf-success__title {
  margin: 0;
  font-size: calc(24px * var(--a11y-fs, 1));
  font-weight: 900;
  letter-spacing: -0.4px;
  color: var(--basic);
}
.ctf-success__text {
  margin: 14px 0 0;
  max-width: 380px;
  font-size: calc(16px * var(--a11y-fs, 1));
  line-height: 1.6;
  color: var(--ct-desc);
}

@media (max-width: 900px) {
  .contact-section {
    padding: 56px 18px;
  }
  .ctf__row,
  .contact-section__form .form-contact-row50 {
    grid-template-columns: 1fr;
    gap: 16px;
    column-gap: 0;
  }
  .ctf__row + .ctf__row {
    margin-top: 16px;
  }
  .contact-section__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .contact-section__title {
    font-size: calc(26px * var(--a11y-fs, 1));
    line-height: 1.18;
    letter-spacing: -0.5px;
  }
  .contact-section__desc {
    font-size: calc(15px * var(--a11y-fs, 1));
    line-height: 1.6;
  }
  .contact-section__form {
    border-radius: 22px;
    padding: 28px 22px;
  }
}
