
/* ---- Ready to Join section (mockup) — uses the site's own variables ---- */
.rtj {
  position: relative;
  padding: 110px 0;
  background: linear-gradient(180deg, rgba(17,61,72,.35) 0px, rgba(17,61,72,.72) 240px, rgba(17,61,72,1) 520px),
              url(../img/bg/contact_bg_3.jpg) center top / max(100%, 1680px) auto no-repeat,
              var(--title-color);
  color: var(--white-color);
}
.rtj .sub-title { color: #F8BC22; margin-bottom: 6px; }
.rtj .sec-title { color: var(--white-color); margin-bottom: 18px; }
.rtj-intro { color: rgba(255,255,255,.88); font-size: 18px; line-height: 1.6; margin-bottom: 28px; max-width: 470px; }

.rtj-tiles { display: grid; gap: 12px; margin-bottom: 28px; max-width: 470px; }
.rtj-tile {
  display: flex; align-items: center; gap: 16px; min-height: 76px;
  padding: 14px 18px; border-radius: 12px; text-decoration: none;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22);
  color: var(--white-color); transition: background .2s, border-color .2s;
}
.rtj-tile:hover, .rtj-tile:focus-visible { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.5); color: var(--white-color); }
.rtj-tile:focus-visible { outline: 3px solid #F8BC22; outline-offset: 2px; }
.rtj-tile_icon { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; background: rgba(255,255,255,.14); }
.rtj-tile--wa { background: rgba(37,211,102,.16); border-color: rgba(37,211,102,.55); }
.rtj-tile--wa .rtj-tile_icon { background: #25D366; color: #fff; }
.rtj-tile_title { display: block; font-family: var(--title-font); font-weight: 700; font-size: 17px; line-height: 1.3; }
.rtj-tile_sub { display: block; font-size: 16px; line-height: 1.4; color: rgba(255,255,255,.82); }
.rtj-tile_arrow { margin-left: auto; opacity: .8; }
.rtj-photo { border-radius: 16px; overflow: hidden; max-width: 470px; aspect-ratio: 16/10; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.rtj-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- form card ---- */
.rtj-card { background: var(--white-color); border-radius: 16px; padding: 40px; box-shadow: 0 20px 50px rgba(0,0,0,.25); color: var(--body-color); }
.rtj-field { margin-bottom: 20px; }
.rtj-label { display: block; font-family: var(--title-font); font-size: 16px; font-weight: 700; color: var(--title-color); margin-bottom: 8px; line-height: 1.3; }
.rtj-label .req { color: #C2410C; }
.rtj-card .req { color: #C2410C; }
.rtj-card input[type=text], .rtj-card input[type=email], .rtj-card input[type=tel], .rtj-card select, .rtj-card textarea {
  height: 54px; padding: 0 16px; font-size: 16px; color: var(--title-color);
  border: 1.5px solid #7A8B90; border-radius: 10px; background: #fff; width: 100%;
}
.rtj-card textarea { height: auto; min-height: 110px; padding: 14px 16px; line-height: 1.5; resize: vertical; }
.rtj-card select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23113D48' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 18px center;
}
.rtj-card select:invalid { color: #5E6E73; }
.rtj-card input::placeholder, .rtj-card textarea::placeholder { color: #5F6E73; }
.rtj-card input:focus, .rtj-card select:focus, .rtj-card textarea:focus { border-color: var(--theme-color); box-shadow: 0 0 0 3px rgba(28,168,203,.30); outline: 0; }
.rtj-card .is-invalid { border-color: #C0262D !important; }
.rtj-error { display: flex; gap: 6px; align-items: center; color: #B42318; font-size: 16px; margin-top: 6px; font-weight: 500; }

.rtj-info { background: var(--smoke-color); border-left: 4px solid var(--theme-color); border-radius: 10px; padding: 16px 18px; margin: 4px 0 20px; color: var(--title-color); font-size: 16px; line-height: 1.6; }
.rtj-info strong { font-weight: 700; }

/* pills (variant B) */
.rtj-pills { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0; }
.rtj-pill { position: relative; margin: 0; }
.rtj-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rtj-pill span {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 22px; border-radius: 48px; cursor: pointer;
  border: 1.5px solid #7A8B90; color: var(--title-color); font-weight: 600; font-size: 16px; background: #fff;
  transition: background .15s, border-color .15s, color .15s; user-select: none;
}
.rtj-pill span:hover { border-color: var(--title-color); }
.rtj-pill input:checked + span { background: var(--title-color); border-color: var(--title-color); color: #fff; }
.rtj-pill input:checked + span::before { content: ""; width: 14px; height: 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M1 5l4 4 8-8' fill='none' stroke='white' stroke-width='2.2'/%3E%3C/svg%3E") no-repeat center/contain; }
.rtj-pill input:focus-visible + span { box-shadow: 0 0 0 3px rgba(28,168,203,.45); }

.rtj-reveal { margin-top: 14px; padding: 14px 16px; border-radius: 10px; background: #F7FAFB; border: 1px dashed #A9B8BC; }
.rtj-reveal .rtj-label { font-size: 16px; }
.rtj-reveal textarea { min-height: 70px !important; }
.rtj-hint { font-size: 16px; color: #4F5F63; margin: 6px 0 0; line-height: 1.5; }

.rtj-consent { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; margin: 6px 0 10px; color: var(--title-color); font-size: 16px; line-height: 1.5; min-height: 44px; }
.rtj-consent input { flex: none; width: 24px !important; height: 24px !important; margin: 0 !important; padding: 0 !important; accent-color: var(--title-color); position: static !important; opacity: 1 !important; display: inline-block !important; visibility: visible !important; }
.rtj-consent a { color: var(--title-color); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

.rtj-send { width: 100%; justify-content: center; background: var(--title-color); color: #fff; font-weight: 600; font-size: 17px; min-height: 58px; padding: 0 30px; }
.rtj-send:before { background-color: var(--theme-color); }
.rtj-send:disabled { background: #DCE3E5; color: #4F5F63; cursor: not-allowed; }
.rtj-send:disabled:before { display: none; }

/* thank-you */
.rtj-thanks { text-align: center; padding: 20px 0 6px; }
.rtj-thanks_tick { width: 72px; height: 72px; border-radius: 50%; background: #E7F7EE; display: grid; place-items: center; margin: 0 auto 18px; }
.rtj-thanks h3 { font-family: var(--title-font); color: var(--title-color); font-size: 30px; font-weight: 700; margin-bottom: 10px; }
.rtj-thanks p { font-size: 17px; line-height: 1.6; color: #42535A; max-width: 440px; margin: 0 auto 14px; }
.rtj-summary { text-align: left; background: var(--smoke-color); border-radius: 12px; padding: 16px 20px; max-width: 420px; margin: 0 auto 24px; font-size: 16px; color: var(--title-color); }
.rtj-summary div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.rtj-summary span:first-child { color: #4F5F63; }
.rtj-summary span:last-child { font-weight: 600; }
.rtj-wa-btn { display: inline-flex; align-items: center; gap: 10px; justify-content: center; background: #177A45; color: #fff; min-height: 58px; padding: 0 30px; border-radius: 48px; font-weight: 700; font-size: 17px; text-decoration: none; }
.rtj-wa-btn:hover { background: #12693B; color: #fff; }
.rtj-wa-btn i { font-size: 24px; }
.rtj-small { font-size: 16px; color: #4F5F63; margin-top: 12px !important; }

@media (max-width: 1199px) { .rtj-card { padding: 32px; } }
@media (max-width: 991px) {
  .rtj { padding: 70px 0; }
  .rtj-intro, .rtj-tiles { max-width: none; }
  .rtj-photo { display: none; }
}
@media (max-width: 575px) {
  .rtj { padding: 56px 0; }
  .rtj .sec-title { font-size: 34px; line-height: 1.2; }
  .rtj-intro { font-size: 17px; }
  .rtj-card { padding: 24px 20px; border-radius: 14px; }
  .rtj-pills.four { display: grid; grid-template-columns: 1fr 1fr; }
  .rtj-pills.four .rtj-pill span { padding: 0 10px; font-size: 15px; white-space: nowrap; gap: 6px; }
  .rtj-pills.three { display: grid; grid-template-columns: 1fr; }
  .rtj-pill span { width: 100%; }
}

/* Keep the approved section independent of the old contact form theme. */
.rtj { overflow: hidden; }
.rtj .row { align-items: start; }
.rtj .sub-title { color: #F8BC22 !important; }
.rtj .sec-title { color: #fff !important; }
.rtj-card .rtj-form { margin: 0; }
.rtj-field { border: 0; padding: 0; min-width: 0; }
.rtj-choice legend { float: none; width: auto; }
.rtj-honeypot { position: absolute; left: -9999px; opacity: 0; }
.rtj-card input, .rtj-card textarea { box-sizing: border-box; }
.rtj-card textarea { display: block; }
.rtj-card input[type=text], .rtj-card input[type=email], .rtj-card input[type=tel], .rtj-card textarea { font-family: var(--body-font); }
.rtj-card .rtj-error[hidden], .rtj-card .rtj-reveal[hidden], .rtj-card .rtj-thanks[hidden] { display: none !important; }
.rtj-card .rtj-error { display: block; }
.rtj-submit-error { margin-bottom: 16px; }
.rtj-card [aria-invalid=true] { border-color: #B42318 !important; }
.rtj-choice[aria-invalid=true] .rtj-pills { outline: 2px solid #B42318; outline-offset: 4px; border-radius: 8px; }
.rtj-consent { min-height: 44px; margin-bottom: 20px; }
.rtj-consent input:focus-visible { outline: 3px solid #1CA8CB !important; outline-offset: 3px; }
.rtj-consent a:focus-visible { outline: 3px solid #1CA8CB; outline-offset: 3px; }
.rtj-optional { font-weight: 400; color: #4F5F63; }
.rtj-send { display: flex; align-items: center; gap: 8px; width: 100%; justify-content: center; border: 0; border-radius: 48px; font-family: var(--title-font); cursor: pointer; }
.rtj-send img { width: 20px; filter: brightness(0) invert(1); }
.rtj-send:disabled img { filter: none; opacity: .65; }
.rtj-send:disabled { opacity: 1; }
.rtj-send:not(:disabled):hover { background: #0c3039; color: #fff; }
.rtj-send:focus-visible, .rtj-wa-btn:focus-visible { outline: 3px solid #1CA8CB; outline-offset: 3px; }
.rtj-wa-btn { max-width: 100%; text-align: center; }
.rtj-summary div { align-items: baseline; }
@media (max-width: 575px) {
  .rtj-pills.four { gap: 10px; }
  .rtj-pill span { padding: 0 12px; }
  .rtj-card { min-width: 0; }
  .rtj-wa-btn { padding: 12px 20px; }
}

/* Narrow phones (e.g. a folded Honor Magic V3/V4, about 352 wide): the call choices go one per row so "Thursday 8:30pm" never wraps or spills. */
@media (max-width: 369px) {
  .rtj-pills.four { grid-template-columns: 1fr; }
}
