/* Contact page redesign (preview). Builds on home-new.css tokens, header and footer. */
.hn-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 10px; }
.ct h1, .ct h2 { font-family: var(--serif); font-weight: 400; color: var(--navy); margin: 0; }
.ct .eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; color: #C25E12; }

.ct-hero { text-align: center; padding: 70px 0 30px; }
.ct-hero h1 { font-size: 60px; line-height: 64px; margin-bottom: 16px; }
.ct-hero .lead { margin: 0 auto; max-width: 620px; font-size: 20px; line-height: 31px; color: #56667E; }

.ct-main { padding: 20px 0 100px; }
.ct-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }

.ct-tabs { display: flex; gap: 6px; padding: 6px; background: #EFE9DC; border-radius: 14px; width: 440px; max-width: 100%; box-sizing: border-box; margin-bottom: 20px; }
.ct-tabs button { flex: 1; height: 50px; border: 0; border-radius: 10px; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; background: transparent; color: #56667E; transition: background .2s, color .2s; }
.ct-tabs button[aria-selected="true"] { background: #FFF; color: var(--navy); box-shadow: 0 2px 8px rgba(15,42,82,.12); }
.ct-tabs button:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.ct-cal { position: relative; background: #FFF; border-radius: 18px; border: 1px solid var(--cream-line); box-shadow: 0 18px 40px rgba(15,42,82,.08); overflow: hidden; }
.ct-cal .calendly-inline-widget { width: 100%; min-width: 320px; height: 700px; }
.ct-cal-fallback { padding: 64px 32px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ct-cal-fallback[hidden] { display: none; }
.ct-fb-t { margin: 6px 0 0; font-family: var(--serif); font-size: 30px; line-height: 36px; color: var(--navy); }
.ct-fb-d { margin: 0 0 10px; max-width: 420px; font-size: 16px; line-height: 25px; color: #56667E; }

.ct-card { background: #FFF; border-radius: 18px; border: 1px solid var(--cream-line); padding: 36px; box-shadow: 0 18px 40px rgba(15,42,82,.08); }
.ct-card h2 { font-size: 32px; line-height: 38px; margin-bottom: 20px; }
#contact-form { display: flex; flex-direction: column; gap: 16px; }
.ct-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ct-fld { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; color: var(--navy); }
.ct-fld input, .ct-fld textarea { font: inherit; font-size: 16px; font-weight: 400; color: var(--navy); background: #FFF; border: 1.5px solid #D9CFBB; border-radius: 8px; padding: 0 14px; height: 50px; box-sizing: border-box; width: 100%; }
.ct-fld textarea { height: auto; min-height: 140px; padding: 12px 14px; resize: vertical; }
.ct-fld input:focus, .ct-fld textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,111,228,.15); }
#contact-form .btn { align-self: flex-start; }
.ct-err { margin: 0; min-height: 0; font-size: 14px; font-weight: 600; color: #B4361C; }
.ct-err:empty { display: none; }
.ct-sent { display: none; margin: 0; padding: 18px 20px; border-radius: 12px; background: #E6F1EA; color: #2D6B45; font-size: 17px; font-weight: 600; }
#contact-form-wrap.sent #contact-form { display: none; }
#contact-form-wrap.sent .ct-sent { display: block; }

.ct-side { position: relative; overflow: hidden; background: linear-gradient(180deg, #163F8F, var(--navy)); color: #FFF; border-radius: 22px; padding: 34px 30px 150px; }
.ct-side-art { position: absolute; right: -60px; bottom: -30px; width: 260px; height: 200px; }
.ct-h { position: relative; margin: 0 0 16px; font-size: 13px; font-weight: 700; letter-spacing: .12em; color: #F9A25F; }
.ct-exp { position: relative; display: flex; flex-direction: column; gap: 20px; }
.ct-exp-t { margin: 0 0 4px; font-size: 17px; font-weight: 700; }
.ct-exp-d { margin: 0; font-size: 15px; line-height: 23px; color: #C9D3E3; }
.ct-touch { position: relative; margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); display: flex; flex-direction: column; gap: 14px; }
.ct-touch .ct-h { margin-bottom: 2px; }
.ct-touch a { display: flex; align-items: center; gap: 12px; color: #FFF; text-decoration: none; font-size: 18px; font-weight: 600; }
.ct-touch a svg { color: #8FB2F3; flex: none; }
.ct-touch a:hover span { text-decoration: underline; }

@media (max-width: 1180px) {
  .ct-grid { grid-template-columns: 1fr; }
  .ct-side { padding-bottom: 34px; }
  .ct-side-art { display: none; }
}
@media (max-width: 760px) {
  .ct-hero { padding: 40px 0 16px; }
  .ct-hero h1 { font-size: 42px; line-height: 46px; }
  .ct-hero .lead { font-size: 18px; line-height: 28px; }
  .ct-main { padding: 12px 0 64px; }
  .ct-tabs { width: 100%; }
  .ct-cal .calendly-inline-widget { height: 1050px; min-width: 0; }
  .ct-card { padding: 24px 20px; }
  .ct-row { grid-template-columns: 1fr; }
  #contact-form .btn { width: 100%; }
}
