/* =========================================================
   Contact page — scoped to avoid affecting SWELL content
========================================================= */
.contact-page main { padding-top: var(--header-height); }
.ct-contact-page { background: #f7f7f7; }
.ct-contact-container { width: min(calc(100% - 48px), 960px); margin-inline: auto; }
.ct-contact-breadcrumb {
  width: min(calc(100% - 48px), 1120px);
  margin: 0 auto;
  padding: 28px 0 0;
  display: flex;
  gap: 8px;
  color: #777;
  font-size: 11px;
}
.ct-contact-breadcrumb a:hover { color: var(--red); }
.ct-contact-hero {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.ct-contact-hero > *:not(.ct-contact-dots) { position: relative; z-index: 2; }
.ct-contact-dots {
  position: absolute;
  right: -80px;
  top: 0;
  width: 480px;
  height: 100%;
  background-image: radial-gradient(#e1e1e1 .8px, transparent .8px);
  background-size: 7px 7px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 50%);
  mask-image: linear-gradient(90deg, transparent, #000 50%);
}
.ct-contact-eyebrow { margin: 0 0 14px; color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.ct-contact-hero h1 { margin: 0 0 18px; color: #2f2f2f; font-size: clamp(34px, 4vw, 52px); line-height: 1.35; font-weight: 500; }
.ct-contact-hero .ct-contact-container > p:not(.ct-contact-eyebrow) { max-width: 720px; margin: 5px 0 0; color: #5f5f5f; font-size: 13px; }
.ct-contact-body {
  position: relative;
  padding: 76px 0 100px;
  border-radius: 56px 56px 0 0;
  background: #fff;
}
.ct-contact-notice { margin-bottom: 38px; padding: 18px 22px; border-radius: 8px; font-size: 13px; }
.ct-contact-notice.is-success { border: 1px solid #83b890; color: #256b37; background: #f0faf2; }
.ct-contact-notice.is-error { border: 1px solid var(--gold-sub); color: var(--gold-main); background: #f8f6ef; }
.ct-contact-notice a { display: inline-block; margin-left: 12px; color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ct-contact-consultations { margin: 0 0 58px; padding: 34px; border-radius: 16px; background: #f5f5f5; }
.ct-contact-consultations h2 { margin: 0 0 22px; font-size: 25px; font-weight: 550; }
.ct-contact-consultations ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; margin: 0; padding: 0; list-style: none; }
.ct-contact-consultations li { position: relative; padding-left: 18px; color: #555; font-size: 12px; }
.ct-contact-consultations li::before { content: ""; position: absolute; left: 0; top: .75em; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.ct-contact-form-intro { margin: 0 0 42px; padding: 24px 28px; border-left: 3px solid var(--red); background: #fafafa; }
.ct-contact-form-intro h2 { margin: 0 0 8px; font-size: 28px; line-height: 1.45; font-weight: 600; }
.ct-contact-form-intro p { margin: 0; color: #626262; font-size: 14px; line-height: 1.8; }
.ct-contact-form-intro p + p { margin-top: 7px; }
.ct-contact-form,
.ct-contact-plugin-form { max-width: 960px; margin-inline: auto; }
.ct-field { margin: 0 0 38px; padding: 0; border: 0; }
.ct-field > label,
.ct-field > legend,
.ct-contact-plugin-form label {
  display: block;
  margin: 0 0 10px;
  color: #303030;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 650;
}
.ct-required,
.ct-optional { display: inline-block; margin-left: 8px; padding: 2px 7px; font-size: 9px; line-height: 1.5; vertical-align: 2px; }
.ct-required { color: #fff; background: var(--red); }
.ct-optional { color: #777; background: #eee; }
.ct-field-note { margin: -3px 0 10px; color: #777; font-size: 11px; }
.ct-contact-page input[type="text"],
.ct-contact-page input[type="email"],
.ct-contact-page input[type="tel"],
.ct-contact-page input[type="url"],
.ct-contact-page input[type="file"],
.ct-contact-page select,
.ct-contact-page textarea {
  width: 100%;
  min-height: 58px;
  padding: 15px 18px;
  border: 1px solid #dedede;
  border-radius: 3px;
  outline: none;
  color: #333;
  background: #f8f9fa;
  font: inherit;
  font-size: 14px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.ct-contact-page textarea { min-height: 210px; resize: vertical; }
.ct-contact-page input[type="file"] { min-height: auto; padding: 13px; cursor: pointer; }
.ct-field-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.ct-field-columns label { display: block; margin: 0 0 10px; color: #303030; font-size: 16px; line-height: 1.5; font-weight: 650; }
.ct-contact-page input:focus,
.ct-contact-page select:focus,
.ct-contact-page textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(144, 125, 56, .12); background: #fff; }
.ct-contact-page input::placeholder,
.ct-contact-page textarea::placeholder { color: #9a9da2; opacity: 1; }
.ct-service-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.ct-check-card {
  min-height: 60px;
  display: flex !important;
  align-items: center;
  gap: 11px;
  margin: 0 !important;
  padding: 15px 17px;
  border: 1px solid #e4e4e4;
  border-radius: 5px;
  background: #fafafa;
  cursor: pointer;
  font-size: 12px !important;
  font-weight: 500 !important;
}
.ct-check-card:has(input:checked) { border-color: var(--red); background: #f8f6ef; }
.ct-contact-page input[type="checkbox"] { flex: 0 0 auto; width: 18px; height: 18px; margin: 0; accent-color: var(--red); }
.ct-contact-privacy label { display: flex; align-items: flex-start; gap: 16px; cursor: pointer; }
.ct-contact-privacy input[type="checkbox"] { flex: 0 0 18px; width: 18px; height: 18px; margin: 2px 0 0; }
.ct-contact-privacy-text { min-width: 0; }
.ct-contact-page .ct-contact-privacy { padding-inline: 30px; font-size: 14px; }
.ct-privacy { margin: 8px 0 34px; text-align: center; }
.ct-privacy label { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 12px; }
.ct-privacy a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.ct-submit,
.ct-contact-page input[type="submit"] {
  width: min(100%, 320px);
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  padding: 0 25px 0 30px;
  border: 0;
  border-radius: 99px;
  color: #fff;
  background: var(--red);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.ct-submit:hover,
.ct-contact-page input[type="submit"]:hover { transform: translateY(-2px); background: var(--red-dark); }
.ct-contact-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.ct-recaptcha-notice { max-width: 620px; margin: -10px auto 24px; color: #858585; font-size: 10px; line-height: 1.7; text-align: center; }
.ct-recaptcha-notice a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* Contact Form 7 compatibility inside this page only. */
.ct-contact-plugin-form .wpcf7-form > p { margin: 0 0 38px; }
.ct-contact-plugin-form .wpcf7-list-item { display: block; margin: 9px 0; }
.ct-contact-plugin-form .wpcf7-checkbox .wpcf7-list-item label { display: flex; align-items: center; gap: 10px; }
.ct-contact-plugin-form .wpcf7-not-valid-tip { margin-top: 5px; color: var(--red); font-size: 11px; }
.ct-contact-plugin-form .wpcf7-response-output { margin: 26px 0 0 !important; padding: 15px 18px !important; border-radius: 6px; font-size: 12px; }
.ct-contact-plugin-form .wpcf7-spinner { display: block; margin: 15px auto 0; }

@media (max-width: 720px) {
  .ct-contact-container,
  .ct-contact-breadcrumb { width: min(calc(100% - 32px), 960px); }
  .ct-contact-breadcrumb { padding-top: 20px; }
  .ct-contact-hero { min-height: 260px; }
  .ct-contact-hero h1 { font-size: 32px; }
  .ct-contact-hero .ct-contact-container > p:not(.ct-contact-eyebrow) { font-size: 11px; }
  .ct-contact-body { padding: 58px 0 72px; border-radius: 34px 34px 0 0; }
  .ct-contact-form-intro { padding: 21px 20px; }
  .ct-contact-form-intro h2 { font-size: 23px; }
  .ct-field { margin-bottom: 30px; }
  .ct-field > label,
  .ct-field > legend,
  .ct-contact-plugin-form label { font-size: 14px; }
  .ct-service-options { grid-template-columns: 1fr; }
  .ct-contact-consultations { margin-bottom: 42px; padding: 26px 20px; }
  .ct-contact-consultations h2 { font-size: 22px; }
  .ct-contact-consultations ul,
  .ct-field-columns { grid-template-columns: 1fr; }
  .ct-check-card { min-height: 54px; }
  .ct-contact-page .ct-contact-privacy { padding-inline: 22px; }
  .ct-contact-privacy label { gap: 14px; }
  .ct-contact-page input[type="text"],
  .ct-contact-page input[type="email"],
  .ct-contact-page input[type="tel"],
  .ct-contact-page input[type="url"],
  .ct-contact-page input[type="file"],
  .ct-contact-page select,
  .ct-contact-page textarea { font-size: 16px; }
}
