.enquiry-dialog { color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: 40px 32px 28px; width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 24px 80px #191c1833; }
.enquiry-dialog::backdrop { background: #111810a8; backdrop-filter: blur(5px); }
.enquiry-dialog h2 { font-size: clamp(32px, 5vw, 44px); margin: 16px 0 24px; }
.dialog-close { position: absolute; right: 12px; top: 12px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #e5e8dc; color: var(--ink); cursor: pointer; }
.dialog-close svg { width: 20px; height: 20px; }
.dialog-close:hover { background: var(--ink); color: var(--paper); }
.enquiry-field { display: grid; gap: 8px; margin-bottom: 18px; }
.enquiry-field label { font-size: 14px; }
.enquiry-field input { border: 1px solid #969c8b; border-radius: 16px; background: #fffef8; color: var(--ink); padding: 14px 18px; min-height: 52px; width: 100%; font: inherit; font-size: 16px; }
.enquiry-field input[aria-invalid="true"] { border-color: #a43225; }
.enquiry-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.enquiry-dialog .consent-choice { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; line-height: 1.55; color: #555d4d; cursor: pointer; padding-block: 4px; margin-bottom: 20px; }
.consent-choice input { appearance: none; display: grid; place-items: center; width: 20px; height: 20px; flex: 0 0 20px; margin: 0; border: 1px solid #969c8b; border-radius: 6px; background: #fffef8; color: var(--paper); cursor: pointer; }
.enquiry-dialog input:focus-visible { outline: 3px solid #9d572a; outline-offset: 3px; }
.consent-choice input:checked { background: var(--ink); border-color: var(--ink); }
.consent-choice input:checked::after { content: ''; width: 9px; height: 5px; border: solid currentColor; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.consent-choice input[aria-invalid="true"] { outline: 2px solid #a43225; outline-offset: 3px; }
.enquiry-actions { display: flex; align-items: center; gap: 12px; }
.enquiry-actions .telegram-link { width: 56px; height: 56px; }
.enquiry-actions .order-link > span { display: none; }
.enquiry-dialog a, .legal-footer a, .cookie-notice a { text-decoration: underline; text-underline-offset: 3px; }
.enquiry-dialog .order-link { flex: 1; min-width: 0; width: auto; min-height: 56px; margin-top: 0; justify-content: center; border: 0; background: var(--acid); color: var(--ink); cursor: pointer; }
.enquiry-status { font-size: 16px; line-height: 1.5; margin-top: 16px; }
.field-error { color: #9b2a21; font-size: 14px; line-height: 1.5; }
.field-error:empty, .enquiry-status:empty { display: none; }
.enquiry-dialog button:disabled { opacity: .6; cursor: wait; }
.pilot-card button.order-link { width: 100%; border: 0; cursor: pointer; text-align: left; font: inherit; }
.pilot-card .pilot-contact { display: inline-block; text-decoration: underline; text-underline-offset: 3px; }
.legal-footer { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-block: 26px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.7; }
.legal-footer p { max-width: 370px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 5px 15px; max-width: 660px; }
.legal-links a, .legal-links button { min-height: 44px; display: inline-flex; align-items: center; }
.legal-links button { border: 0; background: none; text-decoration: underline; font: inherit; cursor: pointer; padding: 0; }
.cookie-notice { position: fixed; z-index: 100; inset: auto 24px 24px auto; width: min(490px, calc(100% - 48px)); max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain; padding: 28px; border: 1px solid var(--line); border-radius: 28px; background: var(--paper); color: var(--ink); box-shadow: 0 16px 64px #191c1826; }
.cookie-notice > strong { display: block; padding-right: 28px; font-size: 18px; font-weight: 500; line-height: 1.3; letter-spacing: -.025em; }
.cookie-notice p { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 12px 0 20px; }
.cookie-notice p a { color: var(--ink); }
.cookie-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cookie-actions button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 16px; border: 1px solid var(--ink); border-radius: 32px; background: transparent; color: var(--ink); font: inherit; font-size: 14px; line-height: 1.55; }
.cookie-actions [data-cookie-accept] { background: var(--ink); color: var(--paper); }
.cookie-actions [data-cookie-accept]:hover { background: #3d4731; border-color: #3d4731; }
.cookie-actions [data-cookie-reject]:hover { background: #e5e8dc; }
.cookie-notice [data-cookie-close] { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--muted); }
.cookie-notice [data-cookie-close] svg { width: 18px; height: 18px; }
.cookie-notice [data-cookie-close]:hover { color: var(--ink); background: #e5e8dc; }
@media (max-width: 760px) {
    .legal-footer { flex-direction: column; }
    .enquiry-dialog { padding: 64px 22px 24px; border-radius: 24px; }
    .enquiry-dialog h2 { margin-top: 0; }
    .enquiry-actions .order-link { padding-inline: 8px; font-size: 16px; }
    .cookie-notice { inset: auto 12px max(12px, env(safe-area-inset-bottom)) 12px; width: auto; max-height: calc(100dvh - 24px - env(safe-area-inset-bottom)); padding: 24px; border-radius: 24px; }
    .cookie-actions { grid-template-columns: 1fr; gap: 10px; }
}

.enquiry-fields { border: 0; padding: 0; margin: 0; min-width: 0; }
.enquiry-fields:disabled { opacity: .55; }
