/* CUI Fiber Solutions: legal pages, footer legal links, cookie banner, form privacy line (Dec 2026) */

/* ---------- Footer: Privacy Policy · Terms of Use · Cookie Settings ---------- */
.f-base { flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; }
.f-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13.5px; }
.f-legal a,
.f-legal .f-cookie {
  color: inherit; font: inherit; text-decoration: none;
  background: none; border: 0; padding: 0; cursor: pointer;
}
.f-legal a:hover, .f-legal .f-cookie:hover,
.f-legal a:focus-visible, .f-legal .f-cookie:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.f-legal span { opacity: .6; }

/* ---------- Legal pages ---------- */
.legal { padding-block: clamp(40px, 6vw, 80px); }
.legal-body { max-width: 760px; color: var(--text-2, #A8B7CA); font-size: 17px; line-height: 1.7; }
.legal-body p { margin: 0 0 1.15em; color: inherit; }
.legal-body strong { color: var(--text, #EAF0F7); font-weight: 600; }
.legal-body a { color: var(--orange, #F8A12E); text-decoration: underline; text-underline-offset: 3px; }
.legal-date { font-style: italic; }

/* ---------- Contact / subcontractor forms ---------- */
.cf-turnstile { margin: 18px 0 14px; min-height: 65px; }
.form-privacy { margin: 14px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-2, #4A5B70); max-width: 560px; }
.form-privacy a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ts-msg { margin: 0 0 12px; font-size: 14px; color: var(--orange-ink, #9A5600); }

/* ---------- Cookie banner ---------- */
.cc {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%);
  width: min(960px, calc(100% - 32px)); z-index: 2000;
  background: var(--navy, #07203D); color: var(--text, #EAF0F7);
  border: 1px solid var(--navy-line, rgba(94,155,219,.22));
  border-radius: var(--r, 14px); box-shadow: 0 18px 48px rgba(7, 32, 61, .35);
  font-family: var(--body, "Plex Sans", "Segoe UI", system-ui, sans-serif);
}
.cc[hidden] { display: none; }
.cc-in { display: flex; align-items: center; gap: 16px 28px; padding: 18px 22px; }
.cc-copy { flex: 1 1 auto; }
.cc-h { margin: 0 0 4px; font-weight: 600; font-size: 15px; color: #fff; }
.cc-t { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-2, #A8B7CA); }
.cc-t a { color: var(--text, #EAF0F7); text-decoration: underline; text-underline-offset: 3px; }
.cc-b { display: flex; gap: 10px; flex: 0 0 auto; }
.cc-btn {
  font: 600 14px/1 var(--body, "Plex Sans", system-ui, sans-serif);
  padding: 12px 22px; border-radius: 999px; cursor: pointer; min-width: 108px;
  transition: background-color .2s, color .2s, border-color .2s;
}
.cc-acc { background: var(--orange, #F8A12E); color: var(--navy, #07203D); border: 1px solid var(--orange, #F8A12E); }
.cc-acc:hover { background: var(--orange-hover, #FFB651); border-color: var(--orange-hover, #FFB651); }
.cc-dec { background: transparent; color: var(--text, #EAF0F7); border: 1px solid rgba(234, 240, 247, .55); }
.cc-dec:hover { border-color: #fff; color: #fff; }
.cc-btn:focus-visible { outline: 2px solid var(--orange, #F8A12E); outline-offset: 3px; }

@media (max-width: 720px) {
  .cc { bottom: 10px; width: calc(100% - 20px); }
  .cc-in { flex-direction: column; align-items: stretch; padding: 16px; }
  .cc-b { justify-content: stretch; }
  .cc-btn { flex: 1 1 0; }
}
@media print { .cc { display: none !important; } }
