.contactBlock {
  padding: 112px 0;
}
.contactBlock--lightBlue {
  background: #eef5ff;
}
.contactBlock--darkBlue {
  background: #1c327c;
}

.contactBlock__container {
  max-width: 1280px;
  width: 90%;
  margin: 0 auto;
}

.contactBlock__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Left column */
.contactBlock__top-text {
  color: #1c327c;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 16px 0;
}
.contactBlock--darkBlue .contactBlock__top-text {
  color: #ffffff;
}
.contactBlock__title {
  color: #1c1c1c;
  font-family: "Roboto", sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px 0;
}
.contactBlock--darkBlue .contactBlock__title {
  color: #ffffff;
}
.contactBlock__text {
  color: #1c1c1c;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}
.contactBlock--darkBlue .contactBlock__text {
  color: rgba(255, 255, 255, 0.9);
}

/* Form column (CF7 defaults styled to match theme) */
.contactBlock__form .wpcf7 form {
  display: grid;
  gap: 16px;
}
.contactBlock__form .wpcf7 form p {
  margin: 0;
}
/* Grid helper to match Figma rows/columns */
.contactBlock__form .cf7-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}
.contactBlock__form .cf7-span-2 {
  grid-column: 1 / -1;
}
.contactBlock__form .cf7-span-2.form-radios {
  margin-top: 24px;
  margin-bottom: 24px;
}
.contactBlock__form .wpcf7-radio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}
.contactBlock__form .cf7-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
}
.contactBlock__form form label {
  display: block;
  margin: 0 0 0 0;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #1c1c1c;
}
.contactBlock--darkBlue .contactBlock__form label {
  color: #ffffff;
}
.contactBlock__form input[type="text"],
.contactBlock__form input[type="email"],
.contactBlock__form input[type="tel"],
.contactBlock__form input[type="url"],
.contactBlock__form textarea,
.contactBlock__form select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid rgba(28, 50, 124, 0.2);
  background: #ffffff;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 1.4;
  color: #1c1c1c;
  box-sizing: border-box;
}
.contactBlock__form select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 44px;
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1.5L7 7.5L13 1.5' stroke='%231C327C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.contactBlock__form ::placeholder {
  color: rgba(28, 28, 28, 0.6);
}

.contactBlock--darkBlue .contactBlock__form input[type="text"],
.contactBlock--darkBlue .contactBlock__form input[type="email"],
.contactBlock--darkBlue .contactBlock__form input[type="tel"],
.contactBlock--darkBlue .contactBlock__form input[type="url"],
.contactBlock--darkBlue .contactBlock__form textarea,
.contactBlock--darkBlue .contactBlock__form select {
  background: transparent;
  border-color: #ffffff;
  color: #ffffff;
}
.contactBlock--darkBlue .contactBlock__form ::placeholder {
  color: rgba(255, 255, 255, 0.6);
}
.contactBlock--darkBlue .contactBlock__form select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 44px;
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1.5L7 7.5L13 1.5' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.contactBlock__form input[type="radio"],
.contactBlock__form input[type="checkbox"] {
  accent-color: #1c327c;
}
.contactBlock--darkBlue .contactBlock__form input[type="radio"],
.contactBlock--darkBlue .contactBlock__form input[type="checkbox"] {
  accent-color: #ffffff;
}
.contactBlock__form .wpcf7-list-item {
  margin: 0;
}
.contactBlock__form .wpcf7-list-item-label {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: inherit;
}
.contactBlock__form textarea {
  min-height: 140px;
  resize: vertical;
}
.contactBlock__form .wpcf7-not-valid-tip {
  color: #d05d38;
  font-size: 13px;
}
.contactBlock__form .wpcf7-response-output {
  margin: 8px 0 0 0;
  border: 1px solid rgba(28, 50, 124, 0.2);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
}
.contactBlock__form input[type="submit"],
.contactBlock__form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  margin-top: 14px;
  border: 1px solid #1c327c;
  background: #1c327c;
  color: #ffffff;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease,
    transform 0.06s ease-in-out;
}
.contactBlock__form input[type="submit"]:hover {
  background: #112050;
  border-color: #112050;
}
.contactBlock__form input[type="submit"]:active {
  transform: translateY(1px);
}
.contactBlock--darkBlue .contactBlock__form input[type="submit"],
.contactBlock--darkBlue .contactBlock__form button[type="submit"] {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
}
.contactBlock--darkBlue .contactBlock__form input[type="submit"]:hover {
  background: #e9e9e9;
  border-color: #e9e9e9;
}

@media (max-width: 992px) {
  .contactBlock__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contactBlock__title {
    font-size: 40px;
  }
  .contactBlock__form .cf7-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .contactBlock {
    padding: 50px 0;
  }
  .contactBlock__title {
    font-size: 32px;
  }
}
