.contact-section { padding: 70px 0; background: #fff; color: #171717; scroll-margin-top: 110px; }
#contactSec { scroll-margin-top: 110px; }
.contact-section h2 { font-size: 32px; line-height: 1.2; margin-bottom: 32px; letter-spacing: 0; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
.contact-wide { grid-column: 1 / -1; }
.contact-form label { display: block; font-size: 16px; font-weight: 500; margin-bottom: 8px; }
.contact-form input:not([type="hidden"]), .contact-form textarea { display: block; width: 100%; min-width: 0; padding: 12px 16px; border: 1px solid #ccc; border-radius: 3px; background: #f7f7f7; color: #171717; font: inherit; line-height: 1.5; }
.contact-form textarea { resize: vertical; min-height: 150px; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid #ef7723; outline-offset: 2px; }
.contact-actions { display: flex; align-items: flex-start; flex-direction: column; gap: 24px; margin-top: 24px; }
.contact-captcha { width: 100%; }
.contact-captcha label { font-size: 12px; font-weight: 400; color: #43566c; margin-bottom: 6px; }
.contact-captcha-image-row { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.contact-captcha-image-row img { width: 112px; height: 38px; flex-shrink: 0; }
#contact-captcha-refresh { width: auto; border: 1px solid #788594; border-radius: 2px; padding: 3px 7px; background: #fff; color: #43566c; font: inherit; font-size: 12px; line-height: 16px; }
#contact-captcha-refresh:focus-visible { outline: 2px solid #ef7723; outline-offset: 2px; }
#contact-captcha { height: 38px; background: #fff; border-color: #cbd3dc; padding: 8px 12px; font-size: 14px; }
#contact-captcha::placeholder { color: #66778a; opacity: 1; }
#contact-captcha-status { color: #8a2020; font-size: 14px; }
.contact-error { padding: 14px 18px; border-left: 4px solid #b52c2c; background: #fff0f0; color: #8a2020; margin-bottom: 24px; }
.contact-thanks { margin: 0; min-height: 100vh; display: grid; place-items: center; background: #171717; color: #fff; font-family: Arial, sans-serif; }
.contact-thanks main { width: min(640px, 100%); padding: 40px 24px; box-sizing: border-box; text-align: center; }
.contact-thanks img { width: 155px; height: auto; margin-bottom: 36px; }
.contact-thanks h1 { font-size: 32px; line-height: 1.2; }
.contact-thanks p { font-size: 18px; line-height: 1.6; color: #ddd; }
.contact-thanks a.return-link { display: inline-block; margin-top: 24px; padding: 16px 24px; background: #f47920; color: #171717; font-weight: bold; text-decoration: none; }
@media (max-width: 600px) { .contact-section { padding: 45px 0; } .contact-grid { grid-template-columns: minmax(0, 1fr); } .contact-actions { align-items: stretch; flex-direction: column; } .contact-captcha { width: 100%; } .contact-actions button { width: 100%; } }
