.contact-page { min-height: 100vh; color: #102038; background: #f3f7fc; }
.contact-main { width: min(1080px, calc(100% - 40px)); margin: 48px auto 76px; display: grid; grid-template-columns: minmax(0, .85fr) minmax(500px, 1.15fr); align-items: start; gap: 56px; }
.contact-intro { padding-top: 32px; }
.contact-kicker { margin: 0; color: #e65e25; font-size: .78rem; font-weight: 900; letter-spacing: .18em; }
.contact-intro h1 { margin: 12px 0 22px; color: #0a1d38; font-size: clamp(2.25rem, 4.7vw, 4.4rem); line-height: 1.1; letter-spacing: -.045em; }
.contact-intro > p:not(.contact-kicker) { margin: 0; color: #52637a; line-height: 1.9; }
.contact-notice { margin-top: 28px; padding: 18px 20px; border: 1px solid #e4c69d; border-radius: 12px; background: #fff9ed; color: #684313; }
.contact-notice strong { display: block; margin-bottom: 6px; color: #8a4c0d; }
.contact-notice p { margin: 0; font-size: .84rem; line-height: 1.75; }
.contact-notice--mail { margin: 0 0 24px; }
.contact-chat { margin-top: 24px; padding: 22px; border: 1px solid #b9cce7; border-radius: 16px; background: #fff; box-shadow: 0 14px 34px rgba(31, 69, 118, .09); }
.contact-chat__eyebrow { margin: 0 0 8px; color: #1c64b5; font-size: .72rem; font-weight: 900; letter-spacing: .12em; }
.contact-chat__eyebrow span { margin-left: 4px; padding: 2px 6px; border-radius: 999px; background: #e8f2ff; letter-spacing: 0; }
.contact-chat h2 { margin: 0; color: #102038; font-size: 1.15rem; }
.contact-chat__lead { margin: 9px 0 16px; color: #52637a; font-size: .8rem; line-height: 1.7; }
.contact-chat__messages { max-height: 330px; overflow-y: auto; display: grid; gap: 10px; padding: 12px; border: 1px solid #d7e1ee; border-radius: 12px; background: #f6f9fd; }
.contact-chat__message { max-width: 94%; padding: 11px 13px; border-radius: 12px; font-size: .82rem; line-height: 1.65; }
.contact-chat__message b { display: block; margin-bottom: 3px; color: #23456e; font-size: .72rem; }
.contact-chat__message p { margin: 0; white-space: pre-wrap; }
.contact-chat__message--assistant { justify-self: start; border: 1px solid #c8d9ed; background: #fff; color: #314861; }
.contact-chat__message--user { justify-self: end; background: #1f63b2; color: #fff; }
.contact-chat__message--user b { color: #dfeeff; }
.contact-chat__message--pending { min-width: 190px; }
.contact-chat__pending-dots { display: inline-block; min-width: 1.5em; animation: contact-chat-pulse 1s ease-in-out infinite; }
@keyframes contact-chat-pulse { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-1px); } }
.contact-chat__sources { margin: 8px 0 0; padding: 7px 0 0 1.2em; border-top: 1px solid #dce6f2; }
.contact-chat__sources a { color: #1459aa; font-weight: 800; }
.contact-chat__form { display: grid; gap: 9px; margin-top: 14px; }
.contact-chat__form > label:first-child { color: #233b5d; font-size: .82rem; font-weight: 900; }
.contact-chat__form textarea { width: 100%; min-height: 86px; padding: 11px 12px; resize: vertical; border: 1px solid #9fb1c6; border-radius: 9px; color: #102038; background: #fff; font: inherit; line-height: 1.55; }
.contact-chat__agreement { display: flex; align-items: flex-start; gap: 8px; color: #596b82; font-size: .69rem; line-height: 1.55; cursor: pointer; }
.contact-chat__agreement input { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 2px; accent-color: #246ce0; }
.contact-chat__agreement a { color: #1459aa; font-weight: 800; }
.contact-chat__send { min-height: 46px; border: 0; border-radius: 9px; background: #1f63b2; color: #fff; font-weight: 900; cursor: pointer; }
.contact-chat__send:hover { background: #174f91; }
.contact-chat__send:disabled { cursor: wait; opacity: .65; }
.contact-chat__form textarea:focus, .contact-chat__agreement input:focus-visible, .contact-chat__send:focus-visible, .contact-chat__feedback button:focus-visible { outline: 3px solid #9fc4ff; outline-offset: 2px; }
.contact-chat__status { min-height: 1.4em; margin: 8px 0 0; color: #42566f; font-size: .74rem; }
.contact-chat__feedback { margin-top: 10px; padding: 12px; border: 1px solid #bfd2eb; border-radius: 10px; background: #f3f8ff; }
.contact-chat__feedback[hidden] { display: none; }
.contact-chat__feedback p { margin: 0 0 9px; color: #274566; font-size: .78rem; font-weight: 800; }
.contact-chat__feedback > div { display: flex; flex-wrap: wrap; gap: 8px; }
.contact-chat__feedback button { min-height: 38px; padding: 8px 11px; border: 1px solid #8aa6c8; border-radius: 8px; background: #fff; color: #174f91; font-weight: 800; cursor: pointer; }
.contact-chat__feedback button:last-child { border-color: #df632d; background: #fff5ef; color: #a43d16; }
.contact-page--embed { min-height: 100%; background: #fff; }
.contact-main--embed { width: 100%; min-height: 100%; margin: 0; display: block; }
.contact-page--embed .contact-intro { padding: 0; }
.contact-chat--embed { min-height: 100vh; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
.contact-chat--embed .contact-chat__messages { max-height: 280px; }
.contact-card { padding: 38px; border: 1px solid #d6dfeb; border-top: 5px solid #f16b2d; border-radius: 18px; background: #fff; box-shadow: 0 22px 60px rgba(20, 46, 79, .12); }
.contact-card h2 { margin: 0; color: #102038; font-size: 1.45rem; }
.contact-required-note { margin: 8px 0 26px; color: #64748b; font-size: .8rem; }
.contact-required-note span, .contact-field b, .contact-consent b { color: #c23f18; font-size: .72rem; }
.contact-field { display: grid; gap: 8px; margin-top: 22px; }
.contact-field > span { color: #233b5d; font-size: .93rem; font-weight: 900; }
.contact-field small { color: #718096; font-size: .74rem; font-weight: 600; }
.contact-field input, .contact-field select, .contact-field textarea { width: 100%; min-height: 50px; padding: 11px 13px; border: 1px solid #a9b8ca; border-radius: 9px; background: #fff; color: #102038; font: inherit; }
.contact-field textarea { min-height: 180px; resize: vertical; line-height: 1.65; }
.contact-field input:focus, .contact-field select:focus, .contact-field textarea:focus, .contact-consent input:focus-visible { outline: 3px solid #9fc4ff; outline-offset: 2px; border-color: #246ce0; }
.contact-two-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-help { line-height: 1.5; }
.contact-upload { padding: 16px; border: 1px solid #bed1ec; border-radius: 11px; background: #f5f9ff; }
.contact-upload[hidden] { display: none; }
.contact-upload input[type="file"] { min-height: auto; padding: 11px; background: #fff; }
.contact-upload input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 12px; border: 0; border-radius: 7px; color: #174f98; background: #e4efff; font-weight: 800; cursor: pointer; }
.contact-consent { margin-top: 26px; display: flex; align-items: flex-start; gap: 11px; color: #42566f; font-size: .82rem; line-height: 1.65; cursor: pointer; }
.contact-consent input { flex: 0 0 auto; width: 19px; height: 19px; margin-top: 2px; accent-color: #246ce0; }
.contact-consent a { color: #1459aa; font-weight: 800; }
.contact-button { min-height: 54px; padding: 14px 24px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 9px; background: #ed632b; color: #fff; font-weight: 900; text-decoration: none; box-shadow: 0 10px 24px rgba(203, 76, 27, .2); }
.contact-button:hover { background: #cf4c19; }
.contact-submit { width: 100%; margin-top: 20px; font-size: 1rem; cursor: pointer; }
.contact-errors { margin: 20px 0 4px; padding: 14px 16px; border: 1px solid #f1a48e; border-radius: 9px; background: #fff2ee; color: #8f2f16; font-size: .88rem; }
.contact-errors ul { margin: 7px 0 0; padding-left: 1.3em; }
.contact-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-success { padding: 34px 0; text-align: center; }
.contact-success > span { width: 64px; height: 64px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #168a58; font-size: 2rem; font-weight: 900; }
.contact-success p { margin: 14px 0 26px; color: #52637a; line-height: 1.8; }
@media (max-width: 860px) { .contact-main { grid-template-columns: 1fr; gap: 30px; margin-top: 18px; } .contact-intro { padding-top: 8px; } }
@media (max-width: 560px) { .contact-main { width: min(100% - 24px, 1080px); margin-bottom: 42px; } .contact-intro h1 { font-size: clamp(2rem, 11vw, 3rem); } .contact-chat { padding: 18px 14px; } .contact-chat__messages { max-height: 300px; padding: 9px; } .contact-card { padding: 25px 18px; border-radius: 14px; } .contact-card h2 { font-size: 1.2rem; } .contact-two-columns { grid-template-columns: 1fr; gap: 0; } }
.contact-review-page { min-height: 100vh; }
.contact-review-main { width: min(1040px, calc(100% - 32px)); margin: 0 auto; padding: 48px 0; }
.contact-review-card { max-width: 920px; margin: 0 auto; }
.contact-review-card h1 { margin-top: 10px; }
.contact-review-notice, .contact-review-status { padding: 12px 14px; border: 1px solid #b9c9df; border-radius: 10px; background: #f4f8ff; color: #16345f; }
.contact-review-status.is-retained { border-color: #91d2af; background: #eefaf3; color: #155b36; }
.contact-review-frame { display: block; width: 100%; min-height: 560px; margin-top: 18px; border: 1px solid #c8d2df; border-radius: 12px; background: #eef2f7; }
.contact-review-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.contact-review-actions form { margin: 0; }
.contact-button--danger { border: 1px solid #b42318; background: #fff; color: #b42318; box-shadow: none; }
.contact-button--danger:hover { background: #fff2f0; color: #8f1b12; }
@media (max-width: 640px) { .contact-review-main { width: min(100% - 20px, 1040px); padding: 20px 0; } .contact-review-frame { min-height: 420px; } }
