/* ═══════════════════════════════════════════
   /contact, v3 design (30 Oct 2026)
   Replaces the page's inline <style> block. The markup is the legacy body
   (app/_legacy-html/contact-body.html) with v3 type classes added; every id
   and class its scripts and site.js read is unchanged (#con-sent-banner,
   #cal-embed, #con-contact-form, .con-methods for call_click placement).
   ═══════════════════════════════════════════ */

.con *, .con *::before, .con *::after { box-sizing: border-box; margin: 0; padding: 0; }

.con {
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
}

/* ── Sent banner (?sent=1). The script sets display:block inline. ── */
.con-sent-banner {
  margin: 24px var(--gutter) 0;
  padding: 14px 18px;
  background: var(--lime-pale);
  border-left: 2px solid var(--green);
  border-radius: 2px;
  font-size: 15px;
  color: var(--grey-600);
}
.con-sent-banner strong { color: var(--ink); font-weight: 600; }

/* ═════════════════════════════════════════
   HERO: headline, lead and contact methods; the "two ways" panel beside
   ───────────────────────────────────────── */
.con-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  padding: clamp(72px, 10vw, 140px) var(--gutter) clamp(56px, 7vw, 96px);
}
@media (min-width: 1024px) {
  .con-hero {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    column-gap: clamp(48px, 6vw, 96px);
    align-items: end;
  }
}
.con-eyebrow { margin-bottom: 24px; }
.con-hero-copy h1 { font-size: clamp(42px, 6.4vw, 92px); margin-bottom: 28px; }
.con-hero-copy h1 em { font-style: normal; }
.con-subhead { margin-bottom: clamp(40px, 5vw, 56px); }

/* Call and WhatsApp: two hairline blocks, the number set large in serif. */
.con-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  border-top: 1px solid var(--hairline);
}
.con-method {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 0 22px;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink);
  text-decoration: none;
}
.con-method-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 2px;
  background: var(--sky-pale);
  color: var(--green);
  transition: background-color 0.3s, color 0.3s;
}
.con-method-icon svg { width: 15px; height: 15px; }
.con-method:hover .con-method-icon { background: var(--lime); color: var(--ink); }
.con-method-label {
  font: 500 11px/1.4 var(--font-label);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-bottom: 6px;
}
.con-method-value {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.con-method:hover .con-method-value { color: var(--green); }
.con-method-hours { margin-top: 6px; font-size: 13px; line-height: 1.45; color: var(--grey-500); }
@media (max-width: 640px) {
  .con-methods { grid-template-columns: minmax(0, 1fr); }
}

/* The three promises, as small labels with a hairline tick. */
.con-promise { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 24px; }
.con-promise-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 500 11px/1.4 var(--font-label);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--grey-500);
}
.con-promise-dot { flex: none; width: 12px; height: 1px; background: var(--green); }

/* "Two ways to start": a pale sky panel, title at the top, text at the foot. */
.con-start {
  display: flex;
  flex-direction: column;
  min-height: clamp(280px, 30vw, 420px);
  padding: clamp(28px, 3.4vw, 48px);
  background: var(--sky-pale);
  border-radius: 2px;
}
.con-form-label { margin-bottom: 20px; }
.con-form-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.4vw, 50px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.con-start .con-form-desc { margin-top: auto; padding-top: 32px; max-width: 460px; }

/* ═════════════════════════════════════════
   CAL.COM EMBED
   ───────────────────────────────────────── */
.ob-ct-calendar { padding: clamp(72px, 9vw, 128px) var(--gutter); }
.ob-ct-calendar-header { display: grid; gap: 24px; margin-bottom: clamp(40px, 5vw, 64px); }
.ob-ct-calendar-title { max-width: 16em; text-wrap: balance; }
.ob-ct-calendar-sub { max-width: 560px; }
.ob-ct-calendar-embed {
  min-height: 680px;
  padding: clamp(12px, 3vw, 48px);
  background: var(--sky-pale);
  border-radius: 2px;
  overflow: hidden;
}
.ob-ct-calendar-embed iframe {
  width: 100% !important;
  min-height: 600px;
  border: none;
}
@media (max-width: 768px) {
  .ob-ct-calendar-embed { min-height: 700px; }
}

/* ═════════════════════════════════════════
   MESSAGE FORM: heading on the left, the form on the right
   ───────────────────────────────────────── */
.con-hero.con-message { display: block; padding: 0 var(--gutter) clamp(72px, 9vw, 128px); }
.con-message .con-form-side {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
}
@media (min-width: 1024px) {
  .con-message .con-form-side {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: clamp(48px, 6vw, 96px);
  }
  .con-message-head { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; }
}
.con-message-head .con-form-title { font-size: clamp(35px, 3.9vw, 56px); max-width: 9.5em; }
.con-message-head .con-form-desc { margin-top: 20px; max-width: 460px; }

.con-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 16px;
  max-width: 760px;
}
.con-form > * { grid-column: 1 / -1; }
.con-form > .con-form-field--half { grid-column: auto; }
@media (max-width: 560px) {
  .con-form > .con-form-field--half { grid-column: 1 / -1; }
}
.con-form-field { display: flex; flex-direction: column; gap: 8px; }
.con-form-field label {
  font: 500 13px/1.4 var(--font-label);
  color: var(--ink);
}
.con-form-field input,
.con-form-field select,
.con-form-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 2px;
  color: var(--ink);
  font: 400 15px/1.45 var(--font-body);
  transition: border-color 0.15s;
}
.con-form-field input:hover,
.con-form-field select:hover,
.con-form-field textarea:hover { border-color: rgba(15, 19, 25, 0.45); }
.con-form-field input:focus,
.con-form-field select:focus,
.con-form-field textarea:focus {
  outline: 2px solid var(--green);
  outline-offset: 0;
  border-color: var(--green);
}
.con-form-field ::placeholder { color: var(--grey-400); }
.con-form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%230f1319' stroke-width='1.4' d='M1 1.5l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.con-form-field textarea { resize: vertical; min-height: 120px; }

/* Consent: required privacy tick and the optional, never pre-ticked
   marketing tick. Mirrors .trl-consent on /start-trial. */
.con-form-consent {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
}
.con-check { display: flex; gap: 12px; align-items: flex-start; }
.con-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 1px solid rgba(15, 19, 25, 0.45);
  border-radius: 2px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}
.con-check input[type="checkbox"]:hover { border-color: var(--green); }
.con-check input[type="checkbox"]:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.con-check input[type="checkbox"]:checked { background: var(--green); border-color: var(--green); }
.con-check input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.con-check label { font-size: 14px; line-height: 1.55; color: var(--grey-600); cursor: pointer; }
.con-check label a { color: var(--green); text-decoration: none; border-bottom: 1px solid currentColor; }
.con-check label a:hover { color: var(--ink); }
.con-check-req { color: var(--green); }

.con-form-submit {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 22px;
  margin-top: 4px;
  background: var(--green);
  color: #fff;
  border: 0;
  border-radius: 2px;
  font: 400 16px/1 var(--font-label);
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
.con-form-submit:hover { background: var(--lime); color: var(--ink); }
.con-form-note { font-size: 13px; line-height: 1.6; color: var(--grey-500); }

/* ═════════════════════════════════════════
   WHAT TO EXPECT: three steps under one hairline
   ───────────────────────────────────────── */
.con-expect { padding: clamp(72px, 9vw, 128px) var(--gutter); background: #fff; }
.con-expect-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 24px;
  margin-top: 24px;
  padding-top: 12px;
  border-top: 1px solid var(--hairline);
}
.con-expect-num { color: var(--ink); margin-bottom: clamp(32px, 4vw, 56px); }
.con-expect-item h3 { margin-bottom: 14px; }
.con-expect-item p { max-width: 420px; padding-right: 16px; }
@media (max-width: 900px) {
  .con-expect-grid { grid-template-columns: minmax(0, 1fr); }
  .con-expect-num { margin-bottom: 20px; }
}
