.contact-content {
  background: #ffffff;
  padding: 80px 24px 104px;
  font-family: "Nunito", sans-serif;
}

.contact-content__grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  max-width: 1269px;
  margin: 0 auto;
  align-items: start;
}

/* ─── Form card ────────────────────────────────────── */
.contact-content__form-card {
  background: #f9fafb;
  border: 2px solid #e5e7eb;
  border-radius: 40px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.contact-content__form-heading {
  margin: 0 0 12px;
  font-size: 1.875rem;
  font-weight: 600;
  line-height: 1.2;
  color: #101828;
}

.contact-content__form-intro {
  margin: 0 0 28px;
  font-size: 1rem;
  line-height: 1.5;
  color: #4a5565;
}

.contact-content__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-content__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-content__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-content__field label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #101828;
}

.contact-content__field > label span {
  color: #e05a7a;
}

.contact-content__field input,
.contact-content__field textarea {
  height: 52px;
  padding: 12px 20px;
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  font-size: 1rem;
  font-family: inherit;
  color: #101828;
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.contact-content__field input:focus,
.contact-content__field textarea:focus {
  border-color: #a5b4fc;
}

.contact-content__field textarea {
  height: auto;
  min-height: 124px;
  resize: vertical;
}

.contact-content__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 60px;
  padding: 0 32px;
  width: 100%;
  background: #101828;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
  margin-top: 8px;
}

.contact-content__submit:hover {
  background: #1e2d40;
}

.contact-content__submit:focus-visible {
  outline: 3px solid #a5b4fc;
  outline-offset: 3px;
}

.contact-content__form-notice {
  margin: 8px 0 0;
  font-size: 0.95rem;
  color: #3b7e3b;
  text-align: center;
}

.contact-content__shortcode {
  margin-top: 8px;
}

/* CF7 rendering inside the contact form card */
.contact-content__shortcode .wpcf7,
.contact-content__shortcode .wpcf7 form {
  width: 100%;
}

.contact-content__shortcode .wpcf7 form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-content__shortcode p {
  margin: 0;
}

.contact-content__shortcode .contact-content__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-content__shortcode .contact-content__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-content__shortcode .contact-content__field label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #101828;
}

.contact-content__shortcode .contact-content__field > label span {
  color: #e05a7a;
}

.contact-content__shortcode .contact-content__field--radio > label {
  display: block;
  margin-bottom: 6px;
}

.contact-content__shortcode .wpcf7-form-control-wrap {
  display: block;
  margin-top: 6px;
}

.contact-content__shortcode .wpcf7-radio,
.contact-content__shortcode .wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

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

.contact-content__shortcode .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #101828;
  cursor: pointer;
  user-select: none;
}

.contact-content__shortcode input[type="radio"],
.contact-content__shortcode input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #007893;
  cursor: pointer;
  border-radius: 4px;
}

.contact-content__shortcode .wpcf7-form-control {
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 1rem;
  color: #101828;
}

.contact-content__shortcode input[type="text"],
.contact-content__shortcode input[type="email"],
.contact-content__shortcode input[type="tel"],
.contact-content__shortcode textarea {
  height: 52px;
  padding: 12px 20px;
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  outline: none;
  transition: border-color 0.2s;
}

.contact-content__shortcode textarea {
  height: auto;
  min-height: 124px;
  resize: vertical;
}

.contact-content__shortcode input[type="text"]:focus,
.contact-content__shortcode input[type="email"]:focus,
.contact-content__shortcode input[type="tel"]:focus,
.contact-content__shortcode textarea:focus {
  border-color: #a5b4fc;
}

.contact-content__shortcode .contact-content__submit,
.contact-content__shortcode input.wpcf7-submit.contact-content__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 60px;
  width: 100%;
  margin-top: 8px;
  padding: 0 32px;
  border: none;
  border-radius: 9999px;
  background: #101828;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}

.contact-content__shortcode input.wpcf7-submit.contact-content__submit:hover {
  background: #1e2d40;
}

.contact-content__shortcode input.wpcf7-submit.contact-content__submit:focus-visible {
  outline: 3px solid #a5b4fc;
  outline-offset: 3px;
}

.contact-content__shortcode .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 0.8125rem;
  color: #be123c;
}

.contact-content__shortcode .wpcf7-response-output {
  margin: 10px 0 0;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.9rem;
}

.contact-content__shortcode .wpcf7-spinner {
  margin: 10px auto 0;
  display: block;
}

/* ─── Sidebar cards ─────────────────────────────────── */
.contact-content__sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-content__card {
  border-radius: 40px;
  border: 2px solid transparent;
  padding: 34px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.contact-content__card--pink {
  background: #fdf2f8;
  border-color: #fce7f3;
}

.contact-content__card--blue {
  background: #eff6ff;
  border-color: #dbeafe;
}

.contact-content__card--green {
  background: #f0fdf4;
  border-color: #dcfce7;
}

.contact-content__card-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  font-size: 1.5rem;
  font-weight: 600;
  color: #101828;
}

.contact-content__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #ffffff;
  flex-shrink: 0;
}

/* Quick Contact rows */
.contact-content__contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-content__contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #ffffff;
  border-radius: 16px;
  padding: 14px 16px;
}

.contact-content__contact-icon-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f9fafb;
  flex-shrink: 0;
}

.contact-content__contact-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-content__contact-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-content__contact-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #101828;
  text-decoration: none;
}

.contact-content__contact-value:hover {
  text-decoration: underline;
}

/* Office Hours rows */
.contact-content__hours-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-content__hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  border-radius: 9999px;
  padding: 12px 20px;
  font-size: 0.9375rem;
}

.contact-content__hours-day {
  font-weight: 600;
  color: #101828;
}

.contact-content__hours-time {
  color: #4a5565;
}

/* Have Questions */
.contact-content__card-body {
  margin: 0 0 18px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #4a5565;
}

.contact-content__links-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-content__card-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #101828;
  text-decoration: none;
  transition: gap 0.2s;
}

.contact-content__card-link:hover {
  gap: 12px;
}

.contact-content__card-link:focus-visible {
  outline: 3px solid #a5b4fc;
  border-radius: 4px;
}

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 1279px) {
  .contact-content__grid {
    grid-template-columns: 1fr 360px;
    gap: 32px;
  }

  .contact-content__card {
    padding: 28px;
  }
}

@media (max-width: 900px) {
  .contact-content {
    padding: 64px 24px 72px;
  }

  .contact-content__grid {
    grid-template-columns: 1fr;
    max-width: 720px;
  }
}

@media (max-width: 720px) {
  .contact-content {
    padding: 56px 16px 64px;
  }

  .contact-content__form-card {
    border-radius: 28px;
    padding: 28px 20px;
  }

  .contact-content__form-row {
    grid-template-columns: 1fr;
  }

  .contact-content__shortcode .contact-content__form-row {
    grid-template-columns: 1fr;
  }

  .contact-content__card {
    border-radius: 28px;
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .contact-content__form-card {
    padding: 20px 16px;
  }

  .contact-content__card {
    padding: 20px 16px;
  }

  .contact-content__contact-row {
    flex-direction: column;
  }

  .contact-content__hours-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    border-radius: 16px;
    padding: 12px 16px;
  }
}
