/* ---------- Contact page ---------- */
.ct-help, .ct-chips, .ct-seg { padding: 0; }

.ct {
  position: relative;
  padding: 160px var(--gutter) 0;
  background:
    radial-gradient(900px 560px at 90% 20%, rgba(24, 80, 225, .10), transparent 70%),
    radial-gradient(600px 400px at 0% 0%, rgba(191, 208, 255, .45), transparent 70%),
    #fff;
}
.ct-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: .92fr 1.08fr; gap: 64px; align-items: start;
}

/* Left column */
.ct-info { padding-top: 8px; }
.ct-title {
  font-family: "Heebo", sans-serif;
  font-size: clamp(46px, 5.2vw, 76px); font-weight: 800;
  line-height: 1.02; letter-spacing: -.045em; color: var(--navy);
}
.ct-title span {
  display: block;
  background: linear-gradient(100deg, var(--blue) 0%, #4f7cf5 45%, var(--blue) 90%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: heroShimmer 6s linear infinite;
}
.ct-sub { max-width: 500px; margin-top: 22px; font-size: 17.5px; line-height: 1.65; color: var(--muted); }

.ct-steps { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.ct-steps span {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Heebo", sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--navy);
}
.ct-steps i {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-style: normal; font-size: 11px; color: #fff; background: var(--blue);
}
.ct-steps b { flex: 0 0 34px; height: 2px; background: repeating-linear-gradient(90deg, var(--blue-light) 0 5px, transparent 5px 9px); }

.ct-h2 { margin-top: 40px; font-family: "Heebo", sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--blue); }
.ct-help { list-style: none; margin-top: 14px; display: grid; gap: 4px; }
.ct-help li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ct-help li:last-child { border-bottom: 0; }
.ct-help b { font-family: "Heebo", sans-serif; font-size: 16.5px; font-weight: 700; color: var(--navy); }
.ct-help p { margin-top: 2px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.ct-ico {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; background: var(--soft); color: var(--blue);
}
.ct-ico svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ct-ico.solid { background: var(--blue); color: #fff; }

.ct-alt { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.ct-alt-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 18px; border-radius: var(--r-md);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.ct-alt-card:hover { transform: translateY(-4px); border-color: var(--blue-light); box-shadow: var(--shadow-md); }
.ct-alt-card b { display: block; font-family: "Heebo", sans-serif; font-size: 15.5px; color: var(--navy); }
.ct-alt-card small { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.ct-alt-card em { margin-top: auto; font-style: normal; font-family: "Heebo", sans-serif; font-size: 14px; font-weight: 700; color: var(--blue); }

.ct-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Newsletter signup */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ct-news {
  margin-top: 14px; padding: 24px; border-radius: var(--r-md);
  background: var(--blue); color: #fff;
}
.ct-news-head { display: flex; align-items: center; gap: 14px; }
.ct-news .ct-ico { background: rgba(255,255,255,.16); color: #fff; }
.ct-news h3 { font-family: "Heebo", sans-serif; font-size: 19px; font-weight: 700; line-height: 1.25; }
.ct-news > p { margin-top: 12px; font-size: 14.5px; line-height: 1.55; color: rgba(255,255,255,.82); }
.ct-news-form { display: flex; gap: 8px; margin-top: 16px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); }
.ct-news-form input {
  flex: 1; min-width: 0; padding: 0 14px; border: 0; background: transparent;
  font: 15px "Lato", sans-serif; color: #fff; outline: 0;
}
.ct-news-form input::placeholder { color: rgba(255,255,255,.65); }
.ct-news-form.is-invalid { border-color: #ffb3b5; box-shadow: 0 0 0 2px rgba(255, 120, 125, .5); }
.ct-news-form .btn { padding: 11px 20px; font-size: 14.5px; white-space: nowrap; }
.ct-news-note { margin-top: 10px !important; font-size: 12.5px !important; color: rgba(255,255,255,.6) !important; }
.ct-news-done { margin-top: 14px !important; font-weight: 700; color: #fff !important; }

/* Right column: form card */
.ct-form-wrap { scroll-margin-top: 110px; }
.ct-form, .ct-done {
  position: relative;
  padding: 34px 34px 30px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 40px 90px rgba(7, 16, 61, .12);
}
.ct-form::before {   /* thin brand line across the top */
  content: ""; position: absolute; left: 34px; right: 34px; top: -1px; height: 4px;
  border-radius: 0 0 4px 4px; background: var(--brand-gradient);
}
.ct-form-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.ct-form-head small { display: block; font-family: "Heebo", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #8b93a8; }
.ct-form-head b { font-family: "Heebo", sans-serif; font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
.ct-reply {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
  padding: 6px 12px; border-radius: 999px; background: #eafaf3;
  font-family: "Heebo", sans-serif; font-size: 12.5px; font-weight: 600; color: #178a60;
}
.ct-reply i { width: 7px; height: 7px; border-radius: 50%; background: #22b07d; animation: ctBlink 1.4s ease-in-out infinite; }
@keyframes ctBlink { 50% { opacity: .3; } }

.ct-form fieldset { border: 0; margin: 0; padding: 22px 0 6px; border-top: 1px solid var(--line); margin-top: 18px; }
.ct-form legend {
  display: flex; align-items: center; gap: 10px; float: left; width: 100%; margin-bottom: 16px; padding: 0;
  font-family: "Heebo", sans-serif; font-size: 16px; font-weight: 700; color: var(--navy);
}
.ct-form legend i {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-style: normal; font-size: 12px; color: var(--blue); background: var(--soft); border: 1px solid var(--blue-light);
}
.ct-grid { clear: both; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ct-field { display: flex; flex-direction: column; gap: 7px; }
.ct-field.full { grid-column: 1 / -1; }
.ct-field > span, .ct-q { font-family: "Heebo", sans-serif; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.ct-field input, .ct-field textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px;
  font: 15px "Lato", sans-serif; color: var(--ink);
  background: #fafbfe; border: 1.5px solid var(--line);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.ct-field textarea { resize: vertical; min-height: 52px; }
.ct-field input::placeholder, .ct-field textarea::placeholder { color: #a3aabd; }
.ct-field input:focus, .ct-field textarea:focus { outline: 0; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(24, 80, 225, .12); }
.ct-field.is-invalid input, .ct-field.is-invalid textarea { border-color: #e5484d; background: #fff7f7; }

.ct-q { clear: both; margin: 0 0 10px; }
.ct-q + .ct-chips, .ct-q + .ct-seg { margin-bottom: 18px; }
.ct-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-chips label, .ct-seg label { position: relative; cursor: pointer; }
.ct-chips input, .ct-seg input { position: absolute; opacity: 0; pointer-events: none; }
.ct-chips span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  font-family: "Heebo", sans-serif; font-size: 14px; font-weight: 500; color: var(--ink);
  background: #fafbfe; border: 1.5px solid var(--line);
  transition: background .25s, border-color .25s, color .25s;
}
.ct-chips span::before {
  content: "+"; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; font-weight: 700; color: var(--blue); background: var(--soft);
  transition: background .25s, color .25s;
}
.ct-chips label:hover span { border-color: var(--blue-light); }
.ct-chips input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.ct-chips input:checked + span::before { content: "✓"; color: var(--blue); background: #fff; font-size: 10px; }
.ct-chips input:focus-visible + span, .ct-seg input:focus-visible + span { box-shadow: 0 0 0 4px rgba(24, 80, 225, .2); }

.ct-seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: #f1f4fb; border: 1.5px solid var(--line); }
.ct-seg span {
  display: block; padding: 10px 0; border-radius: 10px; text-align: center;
  font-family: "Heebo", sans-serif; font-size: 14.5px; font-weight: 600; color: var(--muted);
  transition: background .25s, color .25s, box-shadow .25s;
}
.ct-seg label:hover span { color: var(--navy); }
.ct-seg input:checked + span { background: #fff; color: var(--blue); box-shadow: 0 4px 12px rgba(7, 16, 61, .1); }
[data-group].is-invalid { border-radius: 14px; box-shadow: 0 0 0 2px #e5484d; }
.ct-chips.is-invalid { padding: 6px; }

.ct-consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 20px; font-size: 14px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.ct-consent input { width: 20px; height: 20px; margin-top: 1px; flex-shrink: 0; accent-color: var(--blue); }
.ct-consent.is-invalid span { color: #c9353a; }
.ct-error { margin-top: 14px; font-size: 14px; font-weight: 700; color: #c9353a; }
.ct-submit { width: 100%; margin-top: 22px; }

/* Sent state */
.ct-done { text-align: center; padding: 64px 40px; }
.ct-done-ico {
  display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%;
  font-size: 30px; font-weight: 800; color: #fff; background: #22b07d;
  box-shadow: 0 0 0 10px #eafaf3; animation: ctPop .5s var(--ease);
}
@keyframes ctPop { from { transform: scale(.4); opacity: 0; } }
.ct-done h2 { font-family: "Heebo", sans-serif; font-size: 32px; font-weight: 800; letter-spacing: -.03em; color: var(--navy); }
.ct-done p { max-width: 380px; margin: 12px auto 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
.ct-done .ct-done-small { font-size: 14px; }
.ct-done a { color: var(--blue); font-weight: 700; }
.ct-again { margin-top: 26px; }

.ct-done-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.ct-done-btns .ct-again { margin-top: 0; }

/* Booking popup */
.ct-book {
  width: min(960px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px);
  margin: auto; padding: 0; border: 0; border-radius: var(--r-lg);
  background: #fff; color: var(--ink);
  box-shadow: 0 40px 100px rgba(7, 16, 61, .35);
}
.ct-book[open] { animation: ctBookIn .35s var(--ease); }
.ct-book::backdrop { background: rgba(7, 16, 61, .6); backdrop-filter: blur(4px); }
@keyframes ctBookIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
html.book-open { overflow: hidden; }
.ct-book-card { display: flex; flex-direction: column; max-height: calc(100dvh - 32px); }
.ct-book-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 26px 28px 18px; border-bottom: 1px solid var(--line);
}
.ct-book-step {
  display: inline-block; margin-bottom: 8px; padding: 4px 10px; border-radius: 999px;
  font-family: "Heebo", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase;
  color: #178a60; background: #eafaf3;
}
.ct-book-step[hidden] { display: none; }
.ct-book-head h2 { font-family: "Heebo", sans-serif; font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
.ct-book-head p { margin-top: 4px; font-size: 15px; color: var(--muted); }
.ct-book-close {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  font-size: 24px; line-height: 1; color: var(--navy); background: var(--soft);
  transition: background .25s, color .25s;
}
.ct-book-close:hover { background: var(--blue); color: #fff; }
.ct-book-frame { position: relative; flex: 1 1 640px; min-height: 360px; background: #fafbfe; }   /* 640px tall, shrinks on short screens */
.ct-book-frame iframe { display: block; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .3s; }
.ct-book-frame.is-loaded iframe { opacity: 1; }
.ct-book-loading {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: "Heebo", sans-serif; font-size: 15px; color: var(--muted);
}
.ct-book-frame.is-loaded .ct-book-loading { display: none; }
.ct-book-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 28px; border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--muted);
}
.ct-book-later {
  border: 0; background: none; cursor: pointer; padding: 6px 0;
  font-family: "Heebo", sans-serif; font-size: 14px; font-weight: 600; color: var(--blue);
}
.ct-book-later:hover { text-decoration: underline; }

/* Quick message popup (shares the booking popup's frame) */
.ct-msg { width: min(560px, calc(100% - 32px)); }
.ct-msg-form { display: flex; flex-direction: column; gap: 14px; padding: 22px 28px 26px; overflow-y: auto; }
.ct-msg-form .ct-error { margin-top: 0; }
.ct-msg-form .ct-submit { margin-top: 4px; }
.ct-msg-done { padding: 40px 28px 34px; text-align: center; }
.ct-msg-done h3 { font-family: "Heebo", sans-serif; font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
.ct-msg-done p { max-width: 360px; margin: 10px auto 0; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.ct-msg-done .btn { margin-top: 24px; }

/* Ready to get started band */
.ct-band-wrap { padding: var(--section) var(--gutter) 110px; }
.ct-band {
  position: relative; overflow: hidden; isolation: isolate;
  max-width: 1280px; margin: 0 auto; min-height: 440px;
  display: grid; grid-template-columns: 1fr 1.3fr 1fr; align-items: center;
  border-radius: var(--r-lg); background: var(--brand-gradient); color: #fff;
}
.ct-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%);
          mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%);
}
.ct-band-copy { text-align: center; padding: 56px 12px; }
.ct-band-kicker { font-family: "Heebo", sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--blue-light); }
.ct-band .section-title { margin-top: 12px; color: #fff; }
.ct-band .section-title span { color: var(--blue-light); }
.ct-band-copy p:not(.ct-band-kicker) { max-width: 440px; margin: 16px auto 30px; font-size: 16.5px; line-height: 1.6; color: rgba(255,255,255,.8); }
.ct-band-emails { position: relative; height: 100%; min-height: 440px; }
.ct-band-emails img {
  position: absolute; width: 170px; aspect-ratio: 500 / 860; object-fit: cover; object-position: top;
  border-radius: 16px; box-shadow: 0 24px 50px rgba(5, 15, 60, .35);
  animation: ctDrift 7s ease-in-out infinite;
}
.ct-band-emails.left img:first-child { left: 8%; top: -40px; transform: rotate(-8deg); }
.ct-band-emails.left img:last-child { left: 46%; top: 190px; transform: rotate(5deg); animation-delay: -3.5s; }
.ct-band-emails.right img:first-child { right: 46%; top: -30px; transform: rotate(6deg); animation-delay: -2s; }
.ct-band-emails.right img:last-child { right: 8%; top: 180px; transform: rotate(-6deg); animation-delay: -5s; }
@keyframes ctDrift { 50% { translate: 0 -10px; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .ct-inner { grid-template-columns: 1fr; gap: 48px; }
  .ct-info { position: static; }
  .ct-band { grid-template-columns: 1fr; }
  .ct-band-emails { display: none; }
}
@media (max-width: 860px) {
  .ct { padding-top: 128px; }
  .ct-steps { gap: 8px; }
  .ct-steps span { font-size: 12px; }
  .ct-steps b { flex-basis: 18px; }
  .ct-alt { grid-template-columns: 1fr; }
  .ct-book { width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .ct-book-card { max-height: 100dvh; height: 100%; }
  .ct-book-head { padding: 18px 16px 14px; }
  .ct-book-head h2 { font-size: 20px; }
  .ct-book-frame { flex-basis: auto; }
  .ct-book-foot { padding: 12px 16px; }
  .ct-news { padding: 20px 18px; }
  .ct-news h3 { font-size: 17px; }
  .ct-news-form { flex-direction: column; border-radius: 18px; padding: 6px; }
  .ct-news-form input { padding: 12px; }
  .ct-form, .ct-done { padding: 26px 18px 22px; }
  .ct-form::before { left: 18px; right: 18px; }
  .ct-form-head { flex-direction: column; }
  .ct-form-head b { font-size: 21px; }
  .ct-grid { grid-template-columns: 1fr; }
  .ct-chips span { font-size: 13.5px; padding: 9px 13px; }
  .ct-band { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ct-title span, .ct-reply i, .ct-band-emails img { animation: none; }
}
