.contact-page { --contact-ink: #20384b; --contact-muted: #607181; --contact-accent: #176eaa; padding-bottom: 64px; }
.contact-page__heading { max-width: 700px; padding: 0 0 30px; }
.contact-page__heading h1 { margin: 0 0 12px; color: var(--contact-ink); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; line-height: 1.2; }
.contact-page__heading p { margin: 0; color: var(--contact-muted); line-height: 1.7; }
.contact-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 28px; align-items: start; }
.contact-sidebar { position: relative; overflow: hidden; padding: 36px 28px; border-radius: 24px; color: #fff; background: linear-gradient(145deg, #20384b, #174e6d); }
.contact-sidebar::after { content: ''; position: absolute; width: 240px; height: 240px; border: 1px solid #ffffff12; border-radius: 50%; right: -130px; bottom: -110px; pointer-events: none; }
.contact-sidebar__icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 30px; border: 1px solid #ffffff30; border-radius: 17px; background: #ffffff0c; font-size: 26px; }
.contact-sidebar h2 { color: #fff; margin-bottom: 14px; font-size: 1.6rem; font-weight: 600; }
.contact-sidebar > p { color: #d2e1eb; line-height: 1.75; margin-bottom: 30px; }
.contact-channels { display: grid; gap: 12px; }
.contact-channel { display: flex; gap: 12px; align-items: center; min-width: 0; padding: 16px 12px; color: #fff; text-decoration: none; border: 1px solid #ffffff26; border-radius: 14px; background: #ffffff08; transition: background .15s, border-color .15s; }
.contact-channel:hover, .contact-channel:focus-visible { color: #fff; background: #ffffff18; border-color: #ffffff80; }
.contact-sidebar a.contact-channel,
.contact-sidebar a.contact-channel:hover,
.contact-sidebar a.contact-channel:focus-visible { color: #fff; }
.contact-sidebar .contact-channel strong { color: #fff; }
.contact-channel:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.contact-channel > span:nth-child(2) { min-width: 0; }
.contact-channel__icon { font-size: 23px; color: #a9dcff; }
.contact-channel__label { display: block; margin-bottom: 5px; color: #c1d7e5; font-size: .75rem; }
.contact-channel strong { font-size: .9rem; font-weight: 500; overflow-wrap: anywhere; }
.contact-channel__arrow { margin-left: auto; color: #bdd7e7; }
.contact-sidebar__note { display: flex; gap: 10px; margin-top: 32px; padding-top: 24px; border-top: 1px solid #ffffff26; color: #cbdde9; }
.contact-sidebar__note i { padding-top: 4px; }
.contact-sidebar__note p { margin: 0; font-size: .83rem; line-height: 1.7; }
.contact-card { padding: 34px; border: 1px solid #e0e7ed; border-radius: 24px; background: #fff; box-shadow: 0 12px 40px #20384b08; }
.contact-card__heading { margin-bottom: 28px; }
.contact-card__heading h2 { margin: 0 0 8px; color: var(--contact-ink); font-size: 1.5rem; font-weight: 600; }
.contact-card__heading p { margin: 0; color: var(--contact-muted); font-size: .875rem; line-height: 1.6; }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.contact-field--wide { grid-column: 1 / -1; }
.contact-card .form-label { margin-bottom: 9px; color: var(--contact-ink); font-size: .875rem; font-weight: 600; }
.contact-card .form-control { min-height: 48px; padding: 12px 14px; border: 1px solid #b7c5d0; border-radius: 11px; background-color: #fbfcfd; color: var(--contact-ink); font-size: 1rem; }
.contact-card .form-control::placeholder { color: #778591; font-size: .875rem; opacity: 1; }
.contact-card .form-control:focus { border-color: var(--contact-accent); background-color: #fff; box-shadow: 0 0 0 3px #176eaa1a; }
.contact-card .form-control.is-invalid { border-color: #dc3545; padding-right: 36px; }
.contact-card .form-control.is-invalid:focus { box-shadow: 0 0 0 3px #dc35451a; }
.contact-card textarea.form-control { min-height: 156px; resize: vertical; line-height: 1.65; }
.contact-message-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; margin-top: 8px; color: var(--contact-muted); font-size: .75rem; }
.contact-consents { display: grid; gap: 15px; margin-top: 25px; padding: 20px; border-radius: 12px; background: #f4f7f9; }
.contact-consents .form-check { margin: 0; }
.contact-consents .form-check-label { color: #526575; font-size: .78rem; line-height: 1.65; cursor: pointer; }
.contact-consents .form-check-input { cursor: pointer; border-color: #91a6b7; }
.contact-consents a { color: #16669c; text-underline-offset: 3px; }
.contact-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 25px; }
.contact-actions__hint { color: var(--contact-muted); font-size: .75rem; line-height: 1.6; max-width: 190px; }
.contact-submit { display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex-shrink: 0; min-height: 48px; padding: 12px 20px; border-radius: 11px; background: var(--contact-accent); border-color: var(--contact-accent); font-size: .875rem; font-weight: 600; }
.contact-submit:hover, .contact-submit:focus-visible { background: #125784; border-color: #125784; }
.contact-submit:disabled { background: #466c87; border-color: #466c87; opacity: .65; }
.contact-submit [hidden] { display: none !important; }
.contact-submit #contactSubmitArrow { position: relative; top: 3px; }
@media (max-width: 1199.98px) {
    .contact-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); gap: 20px; }
    .contact-card, .contact-sidebar { padding: 26px 22px; }
    .contact-actions { align-items: stretch; flex-direction: column; gap: 12px; }
    .contact-actions__hint { max-width: none; }
}
@media (max-width: 991.98px) {
    .contact-layout { grid-template-columns: 1fr; }
    .contact-card { grid-row: 1; }
    .contact-channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-sidebar__icon { display: none; }
}
@media (max-width: 575.98px) {
    .contact-page { padding-bottom: 36px; }
    .contact-card, .contact-sidebar { padding: 24px 18px; border-radius: 18px; }
    .contact-fields, .contact-channels { grid-template-columns: 1fr; }
    .contact-fields { gap: 18px; }
    .contact-consents { padding: 15px; }
}
@media (prefers-reduced-motion: reduce) {
    .contact-page *, .contact-page *::before, .contact-page *::after { transition: none !important; animation: none !important; }
}
