.contact-page { --contact-blue: #135ee8; --contact-muted: #53657e; background: #fff; color: #172b47; font-size: 18px; }
.contact-container { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.contact-page main { padding-top: 72px; }
.contact-page h1, .contact-page h2, .contact-page h3 { text-wrap: balance; overflow-wrap: anywhere; }
.contact-page #contact-form, .contact-page #footer { scroll-margin-top: 96px; }
.contact-intro { padding: 76px 0 72px; }
.contact-page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; margin-bottom: 48px; }
.contact-page h1 { margin: 0; color: #142b48; font-size: clamp(42px, 4.5vw, 64px); font-weight: 750; line-height: 1.3; letter-spacing: .02em; }
.contact-page-heading p { max-width: 720px; margin: 20px 0 0; color: var(--contact-muted); font-size: 18px; line-height: 1.9; text-wrap: pretty; }
.contact-form-link { display: inline-flex; flex-shrink: 0; align-items: center; gap: 18px; padding: 12px 0; color: var(--contact-blue); font-size: 16px; font-weight: 650; }
.contact-form-link span { transition: transform .2s ease; }
.contact-form-link:hover span { transform: translateY(4px); }
.contact-form-link:hover { text-decoration: underline; text-underline-offset: 6px; }
.contact-intro h2 { margin: 0 0 24px; color: #29496f; font-size: 22px; font-weight: 650; }
.contact-form-section { padding: 68px 0 84px; background: #f4f7fc; }
.contact-form-heading { margin-bottom: 32px; }
.contact-form-heading h2 { margin: 0; font-size: clamp(30px, 3vw, 42px); font-weight: 700; line-height: 1.4; }
.contact-form-heading p { margin: 14px 0 0; color: var(--contact-muted); font-size: 17px; line-height: 1.8; }
.contact-form { padding: 36px 40px 40px; border: 1px solid #e0e7f1; border-radius: 12px; background: #fff; }
.contact-form-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid #e3eaf4; }
.contact-form-meta > span { color: #29496f; font-weight: 650; font-size: 20px; }
.contact-form-meta p { margin: 0; color: var(--contact-muted); font-size: 14px; }
.contact-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 32px; }
.contact-field { min-width: 0; }
.contact-field-wide { grid-column: 1 / -1; }
.contact-field label { display: flex; align-items: baseline; gap: 6px; margin-bottom: 10px; color: #29405e; font-size: 16px; font-weight: 600; }
.contact-required { color: var(--contact-blue); }
.contact-optional { margin-left: 2px; color: #6e7b8e; font-size: 13px; font-weight: 400; }
.contact-field input, .contact-field select, .contact-field textarea { display: block; width: 100%; min-width: 0; margin: 0; padding: 15px 16px; border: 1px solid #c8d3e2; border-radius: 6px; background: #fff; color: #172b47; font: inherit; font-size: 16px; line-height: 1.5; transition: border-color .18s, box-shadow .18s; }
.contact-field input, .contact-field select { min-height: 56px; }
.contact-field input::placeholder, .contact-field textarea::placeholder { color: #758298; opacity: 1; }
.contact-field select { appearance: none; padding-right: 48px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='m5 7 5 5 5-5' stroke='%23135ee8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-size: 20px; background-position: right 16px center; background-repeat: no-repeat; cursor: pointer; }
.contact-field select:invalid { color: #758298; }
.contact-field select option { color: #172b47; }
.contact-field textarea { min-height: 180px; resize: vertical; }
.contact-field input:hover, .contact-field select:hover, .contact-field textarea:hover { border-color: #829bbb; }
.contact-field input:focus, .contact-field select:focus, .contact-field textarea:focus { outline: none; border-color: var(--contact-blue); box-shadow: 0 0 0 3px #135ee81a; }
.contact-field [aria-invalid="true"] { border-color: #b52b35; }
.contact-field [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px #b52b3517; }
.contact-field-hint { margin: 10px 0 0; color: #64758d; font-size: 13px; line-height: 1.7; }
.contact-field-error { margin: 8px 0 0; color: #a6212c; font-size: 14px; line-height: 1.6; }
.contact-submit-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 32px; padding-top: 28px; border-top: 1px solid #e3eaf4; }
.contact-submit-row p { margin: 0; color: var(--contact-muted); font-size: 14px; line-height: 1.8; }
.contact-submit { display: inline-flex; flex-shrink: 0; justify-content: center; align-items: center; gap: 42px; min-height: 54px; padding: 15px 28px; border: 0; border-radius: 28px; background: var(--contact-blue); color: #fff; font: inherit; font-size: 16px; font-weight: 650; cursor: pointer; transition: background .2s, transform .2s; }
.contact-submit:hover { background: #074bc6; transform: translateY(-2px); }
.contact-submit:disabled { opacity: .65; cursor: wait; transform: none; }
.contact-page a:focus-visible, .contact-submit:focus-visible { outline: 3px solid #135ee8; outline-offset: 5px; }
.contact-feedback { margin-bottom: 28px; padding: 20px 24px; border: 1px solid #afc7ee; border-left: 3px solid #135ee8; border-radius: 6px; background: #f2f7ff; color: #23466f; line-height: 1.8; scroll-margin-top: 100px; }
.contact-feedback strong { font-size: 18px; }
.contact-feedback p, .contact-feedback ul { margin: 8px 0 0; font-size: 15px; }
.contact-feedback ul { padding-left: 22px; }
.contact-feedback a { text-decoration: underline; text-underline-offset: 3px; }
.contact-errors { border-color: #e2bec3; border-left-color: #b52b35; background: #fff7f8; color: #91232c; }
.contact-feedback:focus { outline: 2px solid currentColor; outline-offset: 3px; }
.contact-skip-link { position: fixed; top: -100px; left: 16px; z-index: 300; padding: 14px 20px; border-radius: 6px; background: #135ee8; color: #fff; }
.contact-skip-link:focus { top: 12px; }
.contact-page .nav-mini a { font-size: 16px; }
.contact-page .menu-link { font-size: 27px; }
.contact-page .menu-children a { font-size: 18px; }
.contact-page .footer-grid > * { min-width: 0; }
.contact-page .footer-brand p { max-width: 100%; color: #586d88; font-size: 16px; line-height: 1.9; }
.contact-page .footer-col h4 { font-size: 17px; }
.contact-page .footer-col a, .contact-page .footer-col > span { color: #586d88; font-size: 16px; line-height: 2.3; overflow-wrap: anywhere; }
.contact-page .footer-contact h5, .contact-page .footer-contact-phone, .contact-page .footer-contact-email { font-size: 16px; line-height: 1.75; }
.contact-page .footer-bottom { flex-wrap: wrap; color: #5d708a; font-size: 14px; line-height: 1.8; }
@media (max-width: 1100px) {
    .contact-container { width: calc(100% - 60px); }
    .contact-page-heading { align-items: flex-start; }
    .contact-page-heading p { max-width: 600px; }
    .contact-form-link { margin-top: 10px; }
}
@media (max-width: 820px) {
    .contact-container { width: calc(100% - 40px); }
    .contact-page main { padding-top: 64px; }
    .contact-intro { padding: 44px 0 48px; }
    .contact-page-heading { display: block; margin-bottom: 32px; }
    .contact-page h1 { font-size: 42px; }
    .contact-page-heading p { margin-top: 16px; font-size: 17px; }
    .contact-form-link { margin-top: 14px; }
    .contact-intro h2 { font-size: 20px; }
    .contact-page .company-contact-person { padding-top: 20px; }
    .contact-page .company-contact-person h3 { margin-bottom: 14px; font-size: 26px; }
    .contact-page .company-contact-person dl { gap: 14px; }
    .contact-form-section { padding: 44px 0 52px; }
    .contact-form-heading { margin-bottom: 24px; }
    .contact-form-heading h2 { font-size: 30px; }
    .contact-form-heading p { font-size: 16px; }
    .contact-form { padding: 24px 20px; border-radius: 8px; }
    .contact-form-grid { grid-template-columns: 1fr; gap: 24px; }
    .contact-form-meta { margin-bottom: 24px; padding-bottom: 18px; }
    .contact-form-meta > span { font-size: 18px; }
    .contact-field input, .contact-field select, .contact-field textarea { padding: 14px 12px; font-size: 16px; }
    .contact-field select { padding-right: 40px; }
    .contact-submit-row { flex-direction: column; align-items: stretch; gap: 20px; margin-top: 26px; padding-top: 22px; }
    .contact-submit { width: 100%; }
    .contact-submit-row p { font-size: 13px; }
    .contact-feedback { padding: 16px; }
    .contact-page .menu-link { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
    html:has(.contact-page) { scroll-behavior: auto; }
    .contact-page *, .contact-page *::before, .contact-page *::after { animation: none !important; transition: none !important; }
}
