/* Connect page — matches the Wix /connect page (desktop measured at 1440px wide). */

.ct-hero img { width: 100%; height: 300px; object-fit: cover; }

.ct-main { background: var(--cream); padding: 27px 0 40px; }
.ct-wrap { width: min(var(--content), 100% - 32px); margin-inline: auto; padding-left: 94px; }

.ct-main h1 { font-size: 50px; line-height: normal; }
.ct-main hr { width: 400px; max-width: 100%; margin: 7px 0 0; border: 0; border-top: 1px solid rgba(131, 77, 108, 0.62); }

.ct-book {
  display: flex; align-items: center; justify-content: center;
  width: 263px; height: 50px; margin-top: 40px;
  border-radius: 30px; background: var(--blush-light); color: var(--plum);
  font-family: var(--font-small); font-size: 19px; font-weight: 700; letter-spacing: 0.1em;
  text-decoration: none; transition: background-color 0.2s;
}
.ct-book:hover { background: var(--blush); }

.ct-intro { margin-top: 34px; max-width: 640px; font-size: 18px; line-height: 32.4px; }

.ct-form {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px;
  width: 770px; max-width: 100%; margin: 38px 0 0 -2px;
}
.ct-field--full, .ct-send, .form-status { grid-column: 1 / -1; }
.ct-field--full, .ct-send { margin-top: 24px; }
.ct-field label { display: block; margin-bottom: 8px; font-family: var(--font-small); font-size: 14px; font-weight: 300; line-height: 19.6px; color: var(--ink); }
.ct-field input, .ct-field textarea {
  display: block; width: 100%; height: 42px; margin: 0; padding: 8px 12px;
  border: 1px solid rgba(64, 64, 65, 0.6); border-radius: 0; background: var(--white);
  color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 24px;
}
.ct-field textarea { height: 92px; resize: none; }
.ct-field input:focus, .ct-field textarea:focus { outline: 2px solid var(--plum); outline-offset: -1px; }

.ct-send {
  height: 44px; padding: 0 15px; border: 0; border-radius: 100px;
  background: var(--plum); color: var(--white); cursor: pointer;
  font-family: var(--font-small); font-size: 18px; font-weight: 700; line-height: 23.4px;
}
.ct-send:hover { background: #6e3f5a; }

/* Wix's thank-you text: Avenir 17px/21px, centered, body color. */
.form-status { margin: 16px 0 0; text-align: center; font-family: var(--font-small); font-size: 17px; line-height: 21px; color: var(--ink); }
.form-status:empty { margin: 0; }

/* Spam trap: off screen, not display:none, so bots still fill it in. */
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Phones (1rem = 1/320 of the screen width) ---------- */

@media (max-width: 760px) {
  .ct-hero img { height: 382rem; }

  .ct-main { padding: 20rem 0 43rem; }
  .ct-wrap { width: auto; margin-inline: 20rem; padding-left: 0; }

  .ct-main h1 { font-size: 30rem; }
  .ct-main hr { width: 100%; margin-top: 20rem; }

  .ct-book { width: 240rem; height: 42rem; margin: 22rem auto 0; font-size: 19rem; }

  .ct-intro { margin-top: 20rem; max-width: none; font-size: 17rem; line-height: 30.6rem; }

  .ct-form { grid-template-columns: 1fr; width: auto; margin: 34rem 4rem 0 12rem; }
  .ct-field + .ct-field, .ct-send { margin-top: 24rem; }
  .ct-field label { margin-bottom: 8rem; font-size: 14rem; line-height: 19.6rem; }
  .ct-field input, .ct-field textarea { height: 42rem; padding: 8rem 12rem; font-size: 16rem; line-height: 24rem; }
  .ct-field textarea { height: 92rem; }
  .ct-send { height: 44rem; font-size: 18rem; line-height: 23.4rem; }
  .form-status { margin-top: 16rem; font-size: 17rem; line-height: 21rem; }
  .form-status:empty { margin: 0; }
}
