/* Vidal Solutions Consent Layer v23
   Isolated: only consent modal + footer settings link. */
.vs-consent-lock { overflow: hidden; }
.vs-consent-backdrop,
.vs-consent-modal {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #fff8e8;
}
.vs-consent-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background:
    radial-gradient(circle at 50% 18%, rgba(218,168,54,.18), transparent 34%),
    rgba(0,0,0,.72);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(10px);
}
.vs-consent-backdrop.is-visible { display: flex; }
.vs-consent-modal {
  position: relative;
  width: min(920px, 100%);
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(18,27,40,.98), rgba(6,10,16,.98));
  border: 1px solid rgba(243,198,91,.46);
  border-radius: 32px;
  box-shadow:
    0 38px 120px rgba(0,0,0,.70),
    0 0 70px rgba(214,157,38,.18),
    inset 0 1px 0 rgba(255,255,255,.08);
  padding: clamp(24px, 4vw, 42px);
}
.vs-consent-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0%, transparent 34%, rgba(255,229,143,.16) 44%, transparent 55%, transparent 100%),
    radial-gradient(circle at 88% 14%, rgba(244,205,96,.16), transparent 26%);
  opacity: .9;
}
.vs-consent-modal > *:not(.vs-consent-glow) { position: relative; z-index: 1; }
.vs-consent-kicker {
  font-size: 12px;
  letter-spacing: .20em;
  text-transform: uppercase;
  color: #f7d77a;
  font-weight: 950;
  margin-bottom: 10px;
}
.vs-consent-modal h2 {
  margin: 0 0 12px;
  max-width: 780px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: .96;
  letter-spacing: -.035em;
  font-weight: 950;
}
.vs-consent-lead {
  max-width: 820px;
  color: rgba(255,248,232,.78);
  font-size: clamp(15px, 1.45vw, 18px);
  line-height: 1.65;
  margin: 0 0 24px;
}
.vs-consent-choicebar {
  display: grid;
  grid-template-columns: 1fr 1fr 1.45fr;
  gap: 12px;
  margin: 22px 0 12px;
}
.vs-consent-btn {
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.06);
  color: #fff8e8;
  border-radius: 999px;
  padding: 14px 18px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 950;
  cursor: pointer;
  min-height: 48px;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, opacity .16s ease;
}
.vs-consent-btn:hover { transform: translateY(-1px); border-color: rgba(243,198,91,.48); }
.vs-consent-btn.gold {
  position: relative;
  overflow: hidden;
  color: #120b02;
  border-color: rgba(255,226,125,.85);
  background: linear-gradient(135deg, #b9790e 0%, #f6d96e 48%, #fff2a9 58%, #c48612 100%);
  box-shadow: 0 0 34px rgba(214,157,38,.35), 0 14px 28px rgba(0,0,0,.28);
}
.vs-consent-btn.gold::after {
  content: "";
  position: absolute;
  top: -60%;
  bottom: -60%;
  width: 42%;
  left: -55%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  animation: vsConsentShimmer 2.8s ease-in-out infinite;
}
@keyframes vsConsentShimmer {
  0%, 38% { left: -55%; }
  68%, 100% { left: 120%; }
}
.vs-consent-btn.subtle {
  background: rgba(255,255,255,.025);
  color: rgba(255,248,232,.70);
  opacity: .86;
}
.vs-consent-btn.neutral {
  background: rgba(255,255,255,.07);
}
.vs-consent-details {
  display: none;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 20px;
  padding-top: 18px;
}
.vs-consent-details.is-open { display: block; }
.vs-consent-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.045);
  border-radius: 20px;
  padding: 16px;
  margin: 12px 0;
}
.vs-consent-option b { display:block; margin-bottom: 5px; }
.vs-consent-option span { color: rgba(255,248,232,.70); font-size: 13px; line-height: 1.48; }
.vs-consent-switch {
  width: 58px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.17);
  background: rgba(255,255,255,.12);
  position: relative;
  cursor: pointer;
}
.vs-consent-switch::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,.84);
  transition: transform .18s ease, background .18s ease;
}
.vs-consent-switch[aria-checked="true"] {
  background: linear-gradient(135deg, #b77a10, #f3d36a);
}
.vs-consent-switch[aria-checked="true"]::after {
  transform: translateX(26px);
  background: #120b02;
}
.vs-consent-modal-actions {
  display:flex;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}
.vs-consent-footnote {
  color: rgba(255,248,232,.54);
  font-size: 12px;
  margin: 14px 0 0;
}
.vs-consent-settings-link {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}
.legal-copy .legal-note-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}
.legal-copy .legal-note-card {
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: 16px;
  padding: 14px;
}
.legal-copy .legal-note-card b { display:block; margin-bottom: 4px; color: #fff8e8; }
.legal-copy .legal-note-card span { color: rgba(255,248,232,.72); }
@media (max-width: 760px) {
  .vs-consent-backdrop { padding: 14px; align-items: flex-start; overflow:auto; }
  .vs-consent-modal { border-radius: 24px; margin: 24px 0; }
  .vs-consent-choicebar { grid-template-columns: 1fr; }
  .vs-consent-modal-actions { justify-content: stretch; }
  .vs-consent-btn { width: 100%; }
  .vs-consent-option { grid-template-columns: 1fr; }
  .legal-copy .legal-note-grid { grid-template-columns: 1fr; }
}
