/* ==================================================
   CONTACT PAGE (/contact-us) — home-page design with the old page's structure: title, Sales + Support cards,
   Schedule-a-meeting strip, then the message form with a Contact-info panel. Base design in home-v2.css,
   shared .pv-* pieces in product-v3.css (not required here).
   ================================================== */

.ct-hero .f2h-wrap { padding-bottom: 40px; }
.ct-page { font-family: 'Inter', sans-serif; }

.ct-title { padding: 8px 0 28px; text-align: center; }
.ct-title .f2h-hero__title { font-size: clamp(34px, 4vw, 48px); line-height: 1.1; }

/* ---------- sales / support ---------- */
.ct-teams { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 900px; margin: 0 auto; }
.ct-team { padding: 26px 28px 24px; border-radius: 20px; }
.ct-team__head { display: flex; align-items: center; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid #EEF0F4; }
.ct-team__icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; background: var(--f2h-purple-light, #F4F3FF); color: var(--f2h-purple); }
.ct-team__icon svg { width: 24px; height: 24px; }
.ct-team__head h2 { margin: 0; font-size: 19px; line-height: 24px; font-weight: 700; color: var(--f2h-ink); }
.ct-team__head p { margin: 3px 0 0; font-size: 13.5px; line-height: 18px; color: var(--f2h-muted); }
.ct-team__list { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.ct-team__list li { display: flex; align-items: center; gap: 12px; }
.ct-team__list a { font-size: 15px; font-weight: 500; color: #344054; text-decoration: none; }
.ct-team__list a:hover, .ct-team__list a:focus { color: var(--f2h-purple); text-decoration: none; }
.ct-ico { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 24px; width: 24px; height: 24px; color: var(--f2h-purple); }
.ct-ico svg { width: 20px; height: 20px; }
.ct-ico--wa img { display: block; }

/* ---------- meeting strip ---------- */
.ct-meet { display: flex; align-items: center; gap: 18px; max-width: 900px; margin: 20px auto 0; padding: 20px 24px; border-radius: 18px; color: var(--f2h-ink); text-decoration: none; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.ct-meet:hover, .ct-meet:focus-visible { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(16, 24, 40, 0.12); color: var(--f2h-ink); text-decoration: none; outline: none; }
.ct-meet__body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.ct-meet__body strong { font-size: 19px; line-height: 24px; font-weight: 700; color: var(--f2h-ink); }
.ct-meet__body small { margin-top: 3px; font-size: 13.5px; line-height: 18px; color: var(--f2h-muted); }
.ct-meet .f2h-btn { white-space: nowrap; }
.ct-meet:hover .f2h-btn { box-shadow: 0 8px 20px rgba(127, 86, 217, 0.2); }

/* ---------- OR ---------- */
.ct-or { position: relative; max-width: 900px; margin: 32px auto; text-align: center; }
.ct-or::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid #E4E7EC; }
.ct-or span { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: #FFFFFF; border: 1px solid #E4E7EC; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; color: #98A2B3; }

/* ---------- form card + info panel ---------- */
.ct-card { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.8fr); padding: 0; border-radius: 22px; overflow: hidden; }
.ct-form-wrap { position: relative; padding: 36px 40px 40px; }
.ct-card__title { margin: 0 0 18px; font-size: 24px; line-height: 30px; font-weight: 700; color: var(--f2h-ink); }
.ct-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.ct-field { display: flex; flex-direction: column; min-width: 0; }
.ct-field--full { grid-column: 1 / -1; }
.ct-field label { margin: 0 0 6px; font-size: 13.5px; font-weight: 600; line-height: 18px; color: var(--f2h-ink); }

/* same box as the login/signup modal inputs: 45px, 8px radius, purple focus ring */
.ct-input {
    display: block;
    width: 100%;
    height: 45px;
    padding: 0 14px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.4;
    color: #212529;
    background: #FFFFFF;
    border: 1px solid #CED4DA;
    border-radius: 8px;
    appearance: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ct-input::placeholder { color: #98A2B3; }
.ct-input:focus { outline: 0; border-color: var(--f2h-purple); box-shadow: 0 0 0 3px rgba(127, 86, 217, 0.15); }
.ct-textarea { height: auto; min-height: 110px; padding: 11px 14px; resize: vertical; }
.ct-select { padding-right: 38px; background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; }
.ct-select:invalid { color: #98A2B3; }

.ct-phone { position: relative; }
.ct-phone > span { position: absolute; left: 0; top: 0; display: flex; align-items: center; justify-content: center; width: 52px; height: 45px; border-right: 1px solid #CED4DA; font-size: 14px; font-weight: 600; color: #475467; pointer-events: none; }
.ct-phone .ct-input { padding-left: 64px; }

/* errors: red, in flow, under the field (same as the modal) */
.ct-error { display: none; margin-top: 6px; font-size: 12px; font-weight: 500; line-height: 1.4; color: #DC3545; }
.ct-field.has-error .ct-error { display: block; }
.ct-field.has-error .ct-input { border-color: #DC3545; }
.ct-field.has-error .ct-input:focus { box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15); }
.ct-field.has-error .ct-phone > span { border-color: #DC3545; }

.ct-submit { margin-top: 4px; }
.ct-submit .f2h-btn { width: 100%; justify-content: center; }

/* sent state replaces the form */
.ct-done { display: none; padding: 36px 24px; text-align: center; border: 1px dashed #D9D6FE; border-radius: 16px; background: #FBFAFF; }
.ct-done__icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: #E8F8EE; color: #16803C; }
.ct-done h2 { margin: 14px 0 6px; font-size: 20px; font-weight: 700; color: var(--f2h-ink); }
.ct-done p { margin: 0 0 18px; font-size: 14.5px; color: var(--f2h-muted); }
.ct-form-wrap.is-done .ct-form { display: none; }
.ct-form-wrap.is-done .ct-done { display: block; }

/* info panel: the same soft tint as the rest of the design, no solid block */
.ct-info { display: flex; flex-direction: column; padding: 36px 32px 32px; background: transparent; border-left: 1px solid #EEF0F4; color: var(--f2h-ink); }
.ct-info h2 { margin: 0 0 22px; font-size: 24px; line-height: 30px; font-weight: 700; color: var(--f2h-ink); }
.ct-info__list { display: flex; flex-direction: column; gap: 18px; margin: 0; padding: 0; list-style: none; }
.ct-info__list li { display: flex; align-items: center; gap: 14px; font-size: 15.5px; line-height: 22px; color: #344054; }
.ct-info__list a { color: #344054; text-decoration: none; }
.ct-info__list a:hover, .ct-info__list a:focus { color: var(--f2h-purple); text-decoration: none; }
.ct-info__ico { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: var(--f2h-purple-light, #F4F3FF); color: var(--f2h-purple); }
.ct-info__ico svg { width: 20px; height: 20px; }
.ct-info__social { margin-top: auto; padding-top: 36px; }
.ct-info__social h3 { margin: 0 0 14px; font-size: 16px; font-weight: 700; color: var(--f2h-ink); }
.ct-info__social ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ct-info__social li a { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: #FFFFFF; border: 1px solid #EEF0F4; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.ct-info__social li a:hover, .ct-info__social li a:focus { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(127, 86, 217, 0.15); }

@media (max-width: 1024px) {
    .ct-card { grid-template-columns: 1fr; }
    .ct-form-wrap { padding: 28px 24px 30px; }
    .ct-info { padding: 28px 24px; border-left: 0; border-top: 1px solid #EEF0F4; }
    .ct-info__social { padding-top: 24px; }
}
@media (max-width: 767px) {
    .ct-hero .f2h-wrap { padding-bottom: 24px; }
    .ct-title { padding-bottom: 18px; }
    .ct-teams { grid-template-columns: 1fr; gap: 14px; }
    .ct-team { padding: 20px 18px; }
    .ct-meet { flex-wrap: wrap; padding: 18px; }
    .ct-meet .f2h-btn { width: 100%; justify-content: center; }
    .ct-or { margin: 24px auto; }
    .ct-form-wrap { padding: 22px 16px 24px; }
    .ct-form { grid-template-columns: 1fr; gap: 14px; }
    .ct-info { padding: 24px 18px; }
    .ct-info__list li { align-items: flex-start; }
}
