.contact-page { background: radial-gradient(ellipse at 5% 12%, #dbedff 0, transparent 43%), radial-gradient(ellipse at 100% 8%, #e4f2ff 0, transparent 40%), #f5faff; color: #17264b; padding: 24px 20px 56px; }
.contact-shell { max-width: 1160px; margin: auto; }
.contact-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 300px; gap: 48px; }
.contact-hero-copy nav { font-size: 13px; margin-bottom: 20px; color: #315f9e; }
.contact-hero-copy nav a { color: #667085; }
.contact-hero-copy nav span { margin-inline-start: 12px; }
.contact-hero h1 { color: #17264b; font-size: clamp(32px, 4vw, 48px); font-weight: 800; margin: 0 0 22px; }
.contact-hero h1 span { color: #0875ef; }
.contact-hero h1::after { content: ''; display: block; background: #216dde; width: 46px; height: 3px; border-radius: 3px; margin-top: 16px; }
.contact-hero p { font-size: 15px; line-height: 2; max-width: 470px; color: #526174; }
.contact-illustration { width: 100%; height: 300px; object-fit: contain; object-position: bottom; align-self: end; }
.contact-panels { display: grid; grid-template-columns: .94fr 1.06fr; gap: 18px; padding: 16px; background: #ffffffc9; border: 1px solid #fff; border-radius: 24px; box-shadow: 0 12px 35px #295d8e10; }
.contact-card { min-width: 0; border: 1px solid #edf3f9; border-radius: 18px; padding: 22px; background: #fff; }
.contact-details { background: linear-gradient(140deg, #e8f5ff, #f6fbff); }
.contact-card-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.contact-card-heading h2 { font-size: 23px; font-weight: 800; color: #17264b; margin: 0 0 4px; }
.contact-card-heading p { font-size: 12px; line-height: 1.9; color: #667085; margin: 0; }
.contact-symbol { display: grid; place-items: center; flex: 0 0 54px; width: 54px; height: 54px; border-radius: 50%; background: #e0f0ff; color: #235ca9; font-size: 30px; }
.contact-methods { display: grid; gap: 8px; }
.contact-page .contact-method { display: flex; align-items: center; gap: 12px; border-radius: 14px; background: #fff; min-height: 58px; padding: 8px 12px; color: #253c69; text-decoration: none; }
.contact-method > span:last-child { min-width: 0; flex: 1; }
.contact-method b { display: block; font-size: 14px; line-height: 1.7; font-weight: 600; overflow-wrap: anywhere; text-align: right; }
.contact-method small { display: block; color: #667085; font-size: 11px; line-height: 1.8; }
.contact-method-icon { display: grid; place-items: center; flex: 0 0 38px; height: 38px; border-radius: 50%; font-size: 27px; color: #fff; }
.contact-method-icon.telegram, .contact-method-icon.email { background: linear-gradient(140deg, #2793eb, #61baff); }
.contact-method-icon.instagram { background: linear-gradient(30deg, #ffc347, #ee286a, #8b31c8); }
.contact-method-icon.phone { background: #22b862; }
.contact-method-icon.address { background: #fa6672; }
.contact-map { height: 210px; border-radius: 14px; margin-top: 12px; overflow: hidden; z-index: 0; }
.contact-map-link { display: inline-block; font-size: 12px; padding: 10px 0 0; color: #225eae; }
.contact-map-note { margin: 14px 0 0; font-size: 12px; line-height: 2; }
.contact-page .contact-message .form-field { padding: 0; margin: 0 0 16px; }
.contact-page .contact-message label { display: block; font-size: 13px; color: #344054; margin-bottom: 6px; }
.contact-page .contact-message input, .contact-page .contact-message textarea { width: 100%; border: 1px solid #d0d5dd; border-radius: 11px; background: #fff; min-height: 44px; padding: 10px 14px; font-size: 13px; color: #344054; }
.contact-page .contact-message textarea { min-height: 120px; resize: vertical; }
.contact-page .contact-message input:focus, .contact-page .contact-message textarea:focus { outline: 2px solid #438fe0; outline-offset: 2px; }
.contact-page .contact-submit { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 48px; border: 0; border-radius: 10px; background: linear-gradient(100deg, #303f99, #4ab0ff); color: #fff; margin-top: 18px; font-size: 15px; }
.contact-submit:disabled { opacity: .65; }
.contact-field-error { display: block; font-size: 12px; color: #b42318; margin-top: 5px; }
.contact-page a:focus-visible, .contact-submit:focus-visible { outline: 2px solid #235ca9; outline-offset: 3px; }
@media (max-width: 767px) {
    .contact-page { padding: 18px 12px 30px; }
    .contact-hero { gap: 8px; min-height: 220px; grid-template-columns: 1.15fr 1fr; }
    .contact-hero-copy nav { font-size: 11px; margin-bottom: 16px; }
    .contact-hero h1 { font-size: 32px; margin-bottom: 12px; }
    .contact-hero h1::after { margin-top: 10px; width: 36px; }
    .contact-hero p { font-size: 12px; line-height: 1.9; }
    .contact-illustration { height: 220px; }
    .contact-panels { grid-template-columns: 1fr; gap: 14px; padding: 8px; border-radius: 20px; }
    .contact-card { padding: 14px; border-radius: 15px; }
    .contact-card-heading { gap: 9px; margin-bottom: 14px; }
    .contact-card-heading h2 { font-size: 20px; }
    .contact-symbol { flex-basis: 44px; width: 44px; height: 44px; font-size: 25px; }
    .contact-method b { font-size: 13px; }
    .contact-page .contact-method { padding: 8px; gap: 9px; }
    .contact-map { height: 190px; }
}
@media (max-width: 359px) { .contact-hero h1 { font-size: 27px; } .contact-card { padding: 10px; } }
.contact-hero h1 span { font-size: inherit; font-weight: inherit; line-height: inherit; }
.contact-page .contact-message input:invalid, .contact-page .contact-message textarea:invalid { border-color: #d0d5dd !important; animation: none; }
.contact-page .contact-message [aria-invalid="true"] { border-color: #b42318 !important; }
.contact-method-icon svg { width: 24px; height: 24px; }
.contact-symbol svg { width: 29px; height: 29px; }
