/* TeamLog contact page */
.contact-shell,
.page-contact .legal-hero .container { max-width: 904px; }
.contact-main { padding: 68px 0 96px; background: linear-gradient(180deg, #fff 0%, #f8fafc 100%); }
.contact-card { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 16px 40px rgba(29, 37, 48, .07); }
.contact-form { padding: 48px 52px 52px; }
.contact-fieldset { min-width: 0; margin: 0 0 32px; padding: 0; border: 0; }
.contact-fieldset legend, .form-row > label { display: block; margin: 0 0 11px; color: var(--ink); font-size: 15px; font-weight: 700; line-height: 1.6; }
.required { color: #bb3b3b; font-size: 12px; font-weight: 700; }
.optional { color: var(--ink-mute); font-size: 12px; font-weight: 500; }
.choice-grid { display: grid; gap: 12px; }
.choice-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice-card { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 13px 18px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); cursor: pointer; }
.choice-card input { width: 18px; height: 18px; margin: 0; accent-color: var(--brand); cursor: pointer; }
.choice-card span { font-size: 16px; font-weight: 500; line-height: 1.6; }
.choice-card input:focus-visible { outline: 3px solid var(--brand-bright); outline-offset: 3px; }
.form-row { margin: 0 0 28px; }
.form-row-hidden { display: none; }
.form-row-hidden.is-visible { display: block; }
.form-row input:not([type="file"]), .form-row select, .form-row textarea { display: block; width: 100%; border: 1px solid #cbd5df; border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; line-height: 1.6; transition: border-color .15s ease, box-shadow .15s ease; }
.form-row input:not([type="file"]), .form-row select { min-height: 52px; padding: 10px 14px; }
.form-row textarea { min-height: 144px; padding: 13px 14px; resize: vertical; }
.form-row select { appearance: none; padding-right: 46px; background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%), linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%); background-position: calc(100% - 20px) 23px, calc(100% - 15px) 23px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(0, 104, 183, .12); }
.issue-fields { margin: 6px 0 30px; padding: 32px; border: 1px solid #cce3f2; border-radius: 14px; background: #f8fcff; }
.issue-fields[hidden] { display: none; }
.issue-divider { display: flex; align-items: center; gap: 12px; margin: 0 0 25px; color: var(--brand-dark); font-size: 15px; font-weight: 900; }
.issue-divider::before { content: ""; width: 5px; height: 22px; border-radius: 99px; background: var(--brand); }
.file-picker { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; min-height: 78px; padding: 13px 16px; border: 1px dashed #9dbdd2; border-radius: 10px; background: #fff; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.file-picker:hover { border-color: var(--brand); background: var(--brand-tint); }
.file-picker-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--brand-tint); color: var(--brand); font-size: 23px; font-weight: 400; }
.file-picker-copy { display: grid; gap: 1px; color: var(--ink); font-size: 14px; line-height: 1.45; }
.file-picker-copy small { color: var(--ink-soft); font-size: 12px; }
.file-name { color: var(--ink-mute); font-size: 12px; text-align: right; }
.turnstile-wrap { display: flex; align-items: center; min-height: 65px; margin: 4px 0 24px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 9px; background: #fbfcfd; }
.consent { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 12px; color: var(--ink-soft); font-size: 14px; line-height: 1.7; cursor: pointer; }
.consent input { flex: 0 0 auto; width: 18px; height: 18px; margin: 4px 0 0; accent-color: var(--brand); }
.consent a { text-decoration: underline; text-underline-offset: 2px; }
.form-note { margin: 0 0 28px 28px; color: var(--ink-mute); font-size: 12px; line-height: 1.7; }
.contact-submit { display: flex; width: min(100%, 340px); min-height: 54px; align-items: center; justify-content: center; gap: 10px; margin: 38px auto 0; border: 0; border-radius: 999px; background: var(--brand); box-shadow: var(--shadow-blue); color: #fff; font: inherit; font-size: 16px; font-weight: 900; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.contact-submit:hover { background: var(--brand-dark); transform: translateY(-2px); }
.contact-submit:focus-visible { outline: 3px solid var(--brand-bright); outline-offset: 4px; }
.contact-submit:disabled { cursor: wait; opacity: .66; transform: none; }
.form-error { margin: 0 0 -14px; color: #b42318; font-size: 14px; font-weight: 700; line-height: 1.65; }
.form-error[hidden] { display: none; }
.contact-complete { padding: 84px 32px; text-align: center; }
.contact-complete[hidden] { display: none; }
.complete-mark { display: grid; width: 58px; height: 58px; place-items: center; margin: 0 auto 22px; border-radius: 50%; background: #e7f7ef; color: #068b5d; font-size: 30px; font-weight: 900; }
.contact-complete h2 { margin: 0 0 14px; color: var(--ink); font-size: clamp(23px, 3vw, 30px); }
.contact-complete p { margin: 0 0 32px; color: var(--ink-soft); font-size: 16px; line-height: 1.85; }
@media (max-width: 680px) { .contact-main { padding: 42px 0 64px; } .contact-card { border-radius: 16px; } .contact-form { padding: 30px 22px 36px; } .choice-grid-two { grid-template-columns: 1fr; } .issue-fields { margin-inline: -4px; padding: 24px 18px; } .file-picker { grid-template-columns: auto 1fr; } .file-name { grid-column: 2; text-align: left; } .contact-submit { width: 100%; } }
