.legal-frame { width: min(calc(100% - 48px), 1460px); margin-inline: auto; }

.legal-hero { position: relative; min-height: clamp(275px, 25vw, 365px); overflow: hidden; color: #ffffff; background: #03152b; isolation: isolate; }
.legal-hero > img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.legal-hero::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(1, 15, 32, 0.88) 0%, rgba(1, 15, 32, 0.62) 43%, rgba(1, 15, 32, 0.04) 78%); content: ''; }
.legal-hero__content { width: min(calc(100% - 96px), 1460px); margin-inline: auto; padding-top: clamp(50px, 6vw, 85px); }
.legal-hero h1 { max-width: 720px; margin: 0; font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif; font-size: clamp(3.2rem, 6.3vw, 6.6rem); font-style: italic; line-height: 0.86; text-transform: uppercase; }
.legal-hero h1 span { display: block; color: #0a7eff; }
.legal-hero p { max-width: 480px; margin: 18px 0 0; font-size: clamp(0.95rem, 1.4vw, 1.18rem); font-style: italic; line-height: 1.4; }
.legal-hero__stripe { position: absolute; top: -35%; left: 60%; width: 58px; height: 170%; background: #087cff; box-shadow: 72px 0 0 rgba(16, 143, 255, 0.55); transform: skewX(-24deg); }
.legal-hero--book > small { position: absolute; right: 7%; bottom: 34px; color: #ffffff; font-size: 0.82rem; font-style: italic; font-weight: 800; letter-spacing: 0.24em; line-height: 1.5; text-transform: uppercase; }

.legal-breadcrumb { display: flex; align-items: center; gap: 10px; min-height: 52px; color: #64728c; font-size: 0.78rem; }
.legal-breadcrumb a { color: #52637e; }
.legal-page { padding-bottom: clamp(50px, 7vw, 90px); }
.legal-intro { display: flex; align-items: end; justify-content: space-between; gap: 26px; }
.legal-kicker { margin: 0 0 8px; color: #0877f2; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; }
.legal-intro h2 { margin: 0; color: #071b40; font-size: clamp(2rem, 3.8vw, 3.5rem); line-height: 1; }
.legal-intro time { flex: 0 0 auto; color: #586b8b; font-size: 0.74rem; line-height: 1.5; text-align: right; }
.legal-lead { max-width: 1260px; margin: 16px 0 24px; color: #536887; font-size: 0.96rem; line-height: 1.55; }
.legal-list { display: grid; gap: 10px; }
.legal-card { display: grid; min-height: 112px; grid-template-columns: 82px 1fr; gap: 26px; align-items: center; padding: 18px 28px 18px 16px; border-radius: 8px; background: linear-gradient(100deg, #f7faff, #eef5fc); }
.legal-card > b { display: grid; width: 64px; height: 68px; place-items: center; border-radius: 7px; color: #0874eb; background: #dfedfc; font-size: 1.45rem; }
.legal-card h3 { margin: 0 0 4px; color: #091d43; font-size: 1.08rem; }
.legal-card p { margin: 0; color: #526785; font-size: 0.89rem; line-height: 1.45; }

.complaint-form { display: grid; gap: 16px; margin-top: 28px; }
.complaint-form > fieldset { min-width: 0; padding: 26px 30px 28px; border: 1px solid #d5e0ec; border-radius: 6px; }
.complaint-form > fieldset > legend { padding: 0 8px 0 0; color: #0a2149; font-size: 1.08rem; font-weight: 800; }
.complaint-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.complaint-grid .field { display: grid; gap: 7px; }
.complaint-grid .field > span, .complaint-type > legend { color: #243a5a; font-size: 0.76rem; font-weight: 700; }
.complaint-grid input:not([type='radio']):not([type='checkbox']), .complaint-grid textarea { width: 100%; min-height: 46px; padding: 10px 13px; border: 1px solid #c5d3e2; border-radius: 4px; color: #173252; background: #ffffff; font: inherit; font-size: 0.8rem; }
.complaint-grid textarea { min-height: 110px; resize: vertical; }
.complaint-grid .field-full { grid-column: 1 / -1; }
.complaint-type { min-width: 0; grid-template-columns: auto auto 1fr; align-items: center; justify-content: start; gap: 18px; padding: 0; border: 0; }
.complaint-type legend { float: left; margin-right: 8px; }
.complaint-type label { display: inline-flex; align-items: center; gap: 7px; color: #263c5d; font-size: 0.8rem; }
.complaint-type input { width: 17px; height: 17px; accent-color: #0874eb; }
.complaint-consent { display: flex; align-items: flex-start; gap: 10px; color: #425774; font-size: 0.76rem; line-height: 1.45; }
.complaint-consent input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; accent-color: #0874eb; }
.complaint-submit { min-width: 235px; margin-top: 18px; }
.complaint-form .form-status { margin: 10px 0 0; font-size: 0.78rem; }
.legal-note { display: flex; gap: 15px; margin-top: 18px; padding: 18px 22px; border: 1px solid #9ac9ff; border-radius: 5px; color: #1a477a; background: #edf6ff; }
.legal-note .icon { flex: 0 0 auto; color: #0874eb; }
.legal-note strong { color: #086bdd; font-size: 0.82rem; }
.legal-note p { margin: 4px 0 0; font-size: 0.76rem; line-height: 1.45; }

.form-panel { padding: 28px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: #ffffff; }
.legal-content { max-width: 820px; }
.legal-content h2 { margin-top: 32px; color: var(--color-navy); }
.legal-content p, .legal-content li { color: var(--color-muted); line-height: 1.7; }

@media (max-width: 760px) {
  .legal-frame { width: min(calc(100% - 28px), 1460px); }
  .legal-hero { min-height: 300px; }
  .legal-hero__content { width: calc(100% - 42px); padding-top: 70px; }
  .legal-hero::after { background: linear-gradient(90deg, rgba(1, 15, 32, 0.9), rgba(1, 15, 32, 0.5)); }
  .legal-hero__stripe, .legal-hero--book > small { display: none; }
  .legal-intro { align-items: flex-start; flex-direction: column; }
  .legal-intro time { text-align: left; }
  .legal-card { grid-template-columns: 58px 1fr; gap: 14px; padding: 16px; }
  .legal-card > b { width: 54px; height: 58px; font-size: 1.15rem; }
  .complaint-form > fieldset { padding: 22px 18px; }
  .complaint-grid { grid-template-columns: 1fr; }
  .complaint-grid .field-full { grid-column: auto; }
  .complaint-type { grid-template-columns: 1fr; gap: 10px; }
  .complaint-type legend { float: none; }
  .complaint-submit { width: 100%; min-width: 0; }
}
