.mas-contact-page { max-width: 1120px; width: calc(100% - 40px); margin: 0 auto; padding: 125px 0 60px; color: #f5f7f8; }
.mas-contact-heading { display: flex; gap: 24px; align-items: center; padding-bottom: 36px; border-bottom: 1px solid #ffffff26; }
.mas-contact-heading img { width: 96px; height: 96px; object-fit: cover; border-radius: 50%; flex-shrink: 0; }
.mas-contact-heading h1 { font-size: 32px; color: var(--mas-primary); margin: 0 0 12px; }
.mas-contact-heading p { max-width: 700px; margin-bottom: 0; font-size: 14px; line-height: 1.7; }
.mas-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding-top: 36px; }
.mas-contact-grid section, .mas-contact-fields > div { min-width: 0; }
.mas-contact-page h2 { font-size: 23px; margin-bottom: 20px; }
.mas-contact-page h3 { font-size: 17px; margin: 26px 0 18px; }
.mas-contact-meta { font-size: 13px; color: #b8c9cf; overflow-wrap: anywhere; }
.mas-contact-page label { display: block; font-size: 13px; margin: 16px 0 7px; color: #e0e9ec; }
.mas-contact-page input, .mas-contact-page textarea { display: block; box-sizing: border-box; width: 100%; min-width: 0; max-width: 100%; border: 1px solid #536066; border-radius: 6px; padding: 11px 12px; background: #222628; color: #f5f7f8; font: inherit; font-size: 14px; }
.mas-contact-page input { min-height: 46px; color-scheme: dark; }
.mas-contact-page textarea { resize: vertical; }
.mas-contact-page :is(input,textarea):focus { outline: 2px solid var(--mas-primary); outline-offset: 2px; }
.mas-contact-page .mas-contact-action { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: auto; max-width: 100%; height: auto; min-height: 46px; margin-top: 22px; padding: 12px 16px; border: 0; border-radius: 6px; background: var(--mas-primary); color: #102126; font-size: 14px; font-weight: 600; white-space: normal; }
.mas-footer-contact-form { display: grid; gap: 12px; max-width: 520px; margin: 0 auto; }
.mas-footer-contact-form input:not([type="hidden"]), .mas-footer-contact-form textarea { transition: all .3s ease-in-out; box-sizing: border-box; width: 100%; background: transparent; margin-bottom: 4%; border: 0; border-bottom: 2px solid var(--mas-primary); padding: 3%; color: #6b6969; font: 95% Arial, Helvetica, sans-serif; border-radius: 2px; }
.mas-footer-contact-form :is(input,textarea):focus { outline: none; box-shadow: 0 0 5px var(--mas-primary); padding: 3%; border: 1px solid var(--mas-primary); border-radius: 2px; }
.mas-footer-contact-form #main { position: relative; margin-left: 4rem; width: 270px; }
.mas-footer-contact-form #lnch { width: 100%; min-height: 46px; margin-top: 2rem; padding: 3%; background: var(--mas-primary); border: 0; border-radius: 50px; color: #fff; font-size: 20px; line-height: 1; transition: .5s ease background-color, .5s ease box-shadow; }
.mas-footer-contact-form #lnch_btn { position: absolute; top: calc(2rem + 3px); right: 0; padding: 10px 50px; color: #fff; font-size: 22px; line-height: 1; z-index: 2; pointer-events: none; }
@media(max-width:575.98px) { .mas-footer-contact-form #main { width: min(270px, 100%); margin-inline: auto; } }
.mas-contact-download { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid #ffffff26; color: var(--mas-primary); font-size: 16px; }
.mas-contact-download span { margin-left: auto; font-size: 12px; color: #b8c9cf; }
.mas-contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mas-form-notice, .mas-form-error { padding: 12px; margin: 14px 0; font-size: 14px; border-left: 3px solid #52c7a0; background: #1c3431; overflow-wrap: anywhere; }
.mas-form-notice a { color: #80e8ca; }
.mas-form-error { border-color: #f07e91; background: #40242b; }
#cv-request { scroll-margin-top: 100px; }
html[light-mode="light"] .mas-contact-page { color: #20282b; }
html[light-mode="light"] .mas-contact-page :is(input,textarea) { background: #fff; color: #20282b; color-scheme: light; }
html[light-mode="light"] .mas-contact-meta { color: #536066; }
html[light-mode="light"] .mas-contact-page label { color: #20282b; }
html[light-mode="light"] .mas-contact-page .mas-contact-action { color: #fff; }
html[light-mode="light"] :is(.mas-contact-heading, .mas-contact-download) { border-color: #cbd8dc; }
html[light-mode="light"] .mas-contact-download span { color: #536066; }
@media (max-width: 767px) { .mas-contact-grid { grid-template-columns: 1fr; gap: 36px; } .mas-contact-heading { align-items: flex-start; } .mas-contact-heading img { width: 64px; height: 64px; } }
@media (max-width: 399px) { .mas-contact-page { width: calc(100% - 24px); padding-top: 104px; } .mas-contact-heading { flex-direction: column; gap: 16px; } .mas-contact-fields { grid-template-columns: 1fr; gap: 0; } .mas-contact-page h1 { font-size: 28px; } .mas-contact-page h2 { font-size: 21px; } }
