html.contact-popup-open { overflow: hidden; }
.contact-popup { position: fixed; inset: 0; box-sizing: border-box; width: 700px; max-width: calc(100% - 30px); max-height: calc(100dvh - 30px); margin: auto; overflow-y: auto; overscroll-behavior: contain; padding: 40px; border: 0; border-radius: 7px; background: #fff; color: #1a1818; box-shadow: 0 0 50px 15px rgb(255 255 255 / 15%); }
.contact-popup::backdrop { background: rgb(0 0 0 / 75%); }
.contact-popup[open] { animation: contact-popup-in .3s ease both; }
@keyframes contact-popup-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.contact-popup__close { position: absolute; top: 20px; right: 20px; display: grid; place-items: center; width: 24px; height: 24px; padding: 5px; border: 0; background: transparent; color: #1a1818; cursor: pointer; box-shadow: none; }
.contact-popup__close:hover { color: #f55217; background: transparent; }
.contact-popup h2 { margin: 0; padding-right: 15px; font-size: 40px; font-weight: 600; line-height: 1; }
.contact-popup__form { position: relative; display: grid; gap: 25px; margin-top: 24px; }
.contact-popup #contact-popup-intro { margin: 24px 0 0; font-size: 16px; line-height: 1; }
.contact-popup__field { position: relative; }
.contact-popup__field input, .contact-popup__field textarea { display: block; box-sizing: border-box; width: 100%; min-height: 59px; margin: 0; padding: 18px 20px; border: 0; border-radius: 7px; outline-offset: 3px; background: #f2f2f2; color: #1a1818; font-size: 19px; font-weight: 400; line-height: 23px; box-shadow: none; }
.contact-popup__field textarea { height: 59px; max-height: 200px; resize: none; overflow-y: auto; }
.contact-popup__field label { position: absolute; top: 20px; left: 20px; pointer-events: none; border-radius: 4px; background: #f2f2f2; color: #1a1818; font-size: 19px; line-height: 19px; transition: top .2s ease, left .2s ease, padding .2s ease; }
.contact-popup__field:focus-within label, .contact-popup__field input:not(:placeholder-shown) + label, .contact-popup__field textarea:not(:placeholder-shown) + label { top: -10px; left: 12px; padding: 0 8px; }
.contact-popup__consent { display: flex; align-items: flex-start; gap: 5px; font-size: 19px; line-height: 1; cursor: pointer; }
.contact-popup__consent input { flex-shrink: 0; width: 13px; height: 13px; margin: 2px 0 0; accent-color: #f55217; }
.contact-popup__submit { width: 100%; min-height: 54px; padding: 20px; border: 0; border-radius: 7px; background: #f55217; color: #fff; font-size: 14px; font-weight: 600; line-height: 14px; text-transform: uppercase; cursor: pointer; box-shadow: none; transition: background-color .3s ease; }
.contact-popup__submit:hover, .contact-popup__submit:focus-visible { background: #1a1818; color: #fff; }
.contact-popup__submit:disabled { opacity: .65; cursor: wait; }
.contact-popup__note { display: flex; align-items: flex-start; gap: 20px; margin: 24px 0 0; font-size: 16px; line-height: 1; text-align: right; }
.contact-popup__note img { flex-shrink: 0; width: 38px; height: 38px; }
.contact-popup__status { margin: 0; color: #1a1818; font-size: 16px; line-height: 1.4; }
.contact-popup__status[data-error="true"] { color: #bb2900; }
.contact-popup__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 1024px) { .contact-popup { width: 715px; } }
@media (max-width: 767px) {
  .contact-popup { padding: 30px 20px; }
  .contact-popup h2 { font-size: 24px; line-height: 1; padding-right: 20px; }
  .contact-popup__close { top: 15px; right: 15px; }
  .contact-popup #contact-popup-intro { font-size: 14px; line-height: 18px; }
  .contact-popup__consent { font-size: 16px; line-height: 20px; }
  .contact-popup__note { gap: 15px; font-size: 14px; line-height: 18px; }
}
@media (prefers-reduced-motion: reduce) { .contact-popup[open] { animation: none; } .contact-popup__field label { transition: none; } }
