/* ==========================================================================
   MAYAL Architectural Luxury — Custom Styles
   'Mediterranean Architectural Precision' System
   ========================================================================== */

:root {
  --color-surface: #fbf9f4;
  --color-surface-container-lowest: #ffffff;
  --color-surface-container-low: #f5f3ee;
  --color-surface-container: #f0eee9;
  --color-surface-container-high: #eae8e3;
  --color-primary: #1a1e24;
  --color-primary-dark: #020408;
  --color-secondary: #c5a880;
  --color-secondary-dark: #725b38;
  --color-tertiary: #7a8b99;
  --color-outline: #75777b;
  --color-outline-variant: #c6c6cb;
}

/* Custom Minimalist Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--color-surface-container-low);
}
::-webkit-scrollbar-thumb {
  background: #c6c6cb;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-secondary);
}

/* Smooth Scrolling with Anchor Offset */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  background-color: var(--color-surface);
  color: var(--color-primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow-x: hidden;
}

/* Sharp orthogonal design enforcement */
.sharp {
  border-radius: 0px !important;
}

/* Architectural Hairline Borders */
.border-hairline {
  border-width: 1px;
  border-color: rgba(26, 30, 36, 0.12);
}

.border-hairline-champagne {
  border-width: 1px;
  border-color: rgba(197, 168, 128, 0.4);
}

/* Architectural Frosted Glass */
.glass-panel {
  background: rgba(251, 249, 244, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.glass-panel-dark {
  background: rgba(26, 30, 36, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Ambient Shadows */
.shadow-architectural {
  box-shadow: 0 24px 48px -12px rgba(26, 30, 36, 0.07), 0 4px 12px -2px rgba(26, 30, 36, 0.03);
}

.shadow-floating {
  box-shadow: 0 32px 64px -16px rgba(26, 30, 36, 0.14);
}

/* Hotspots Pulse & Pin Trigger */
.hotspot-trigger {
  position: relative;
  width: 36px;
  height: 36px;
  background: var(--color-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border-radius: 9999px;
  z-index: 20;
}

.hotspot-trigger::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 9999px;
  border: 1px solid rgba(197, 168, 128, 0.65);
  animation: hotspot-pulse 2.6s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}

@keyframes hotspot-pulse {
  0% { transform: scale(0.9); opacity: 1; }
  70% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

.hotspot-trigger:hover,
.hotspot-wrapper.is-open .hotspot-trigger {
  background: var(--color-secondary-dark);
  color: #ffffff;
  transform: scale(1.15);
  border-color: #ffffff;
}

.hotspot-card {
  position: absolute;
  width: 290px;
  padding: 1.25rem;
  background: rgba(251, 249, 244, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(26, 30, 36, 0.14);
  box-shadow: 0 24px 48px -10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 30;
}

.hotspot-wrapper:hover .hotspot-card,
.hotspot-wrapper.is-open .hotspot-card {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Glass Comparison Slider */
.comparison-container {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  user-select: none;
}

@media (max-width: 768px) {
  .comparison-container {
    height: 320px;
  }
}

.comparison-image-under {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comparison-image-over {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.comparison-image-over img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

.comparison-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #ffffff;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
  cursor: ew-resize;
  z-index: 25;
}

.comparison-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: var(--color-secondary);
  border: 1px solid var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  cursor: ew-resize;
}

/* Dropzone dragover states */
.dropzone.drag-over {
  border-color: var(--color-secondary-dark) !important;
  background-color: var(--color-surface-container) !important;
}

/* Modal Dialog */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 18, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--color-surface);
  border: 1px solid rgba(26, 30, 36, 0.15);
  max-width: 620px;
  width: 100%;
  padding: 2.5rem;
  transform: scale(0.95) translateY(16px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.3);
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

/* Mobile Menu Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 380px;
  background: var(--color-surface);
  box-shadow: -15px 0 35px rgba(0, 0, 0, 0.2);
  z-index: 95;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 21, 24, 0.6);
  backdrop-filter: blur(4px);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* Active Nav Indicator */
.nav-link.active-nav {
  background-color: var(--color-primary);
  color: #ffffff !important;
}

/* Nuestros Productos Mega-Dropdown */
#productsDropdownMenu {
  transform: translateY(-4px);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

#productsDropdownMenu.open {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

#productsDropdownMenu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  width: 100%;
  height: 14px;
  background: transparent;
}

/* Interactive System Selectors (8 Architectural Systems) */
.corredera-btn,
.ida-btn,
.pergola-btn,
.balcon-btn,
.toldos-btn,
.decowall-btn,
.mosquiteras-btn,
.puertas-btn {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.corredera-btn:hover,
.ida-btn:hover,
.pergola-btn:hover,
.balcon-btn:hover,
.toldos-btn:hover,
.decowall-btn:hover,
.mosquiteras-btn:hover,
.puertas-btn:hover {
  transform: translateX(3px);
}

.corredera-btn.is-active,
.ida-btn.is-active,
.pergola-btn.is-active,
.balcon-btn.is-active,
.toldos-btn.is-active,
.decowall-btn.is-active,
.mosquiteras-btn.is-active,
.puertas-btn.is-active {
  transform: translateX(4px);
}

/* 3D WebGL Simulator Controls */
#simulator3dCanvas {
  touch-action: none;
}

.sys-3d-btn.active-sys {
  background-color: var(--color-primary) !important;
  border-color: var(--color-secondary) !important;
}

.sys-3d-btn.active-sys span:nth-child(2) {
  color: #ffffff !important;
}

.sys-3d-btn.active-sys span:nth-child(3) {
  color: #c3c6cf !important;
}

.finish-3d-btn.active-finish {
  border-color: var(--color-secondary) !important;
  background-color: var(--color-surface-container-high) !important;
  box-shadow: 0 0 0 2px rgba(114, 91, 56, 0.4);
}

.glass-3d-btn.active-glass {
  background-color: var(--color-primary) !important;
  border-color: var(--color-secondary) !important;
}

.glass-3d-btn.active-glass span:first-child {
  color: #ffffff !important;
}

.glass-3d-btn.active-glass span:last-child {
  color: #c3c6cf !important;
}

#toggleLedBtn.active-led {
  background-color: var(--color-secondary) !important;
  color: #ffffff !important;
}

#toggleLedBtn.active-led span {
  color: #ffffff !important;
}

/* Wall, Floor & Architectural Environment Controls */
.wall-tex-btn.active-wall,
.floor-tex-btn.active-floor {
  border-color: var(--color-secondary) !important;
  background-color: var(--color-surface-container-high) !important;
  box-shadow: 0 0 0 2px rgba(114, 91, 56, 0.45) !important;
}

.sill-preset-btn.active-sill {
  border-color: var(--color-secondary) !important;
  background-color: rgba(114, 91, 56, 0.12) !important;
  color: var(--color-secondary) !important;
  font-weight: 700 !important;
}

#toggleWallBtn.wall-off {
  background-color: var(--color-surface) !important;
  color: var(--color-on-surface-variant) !important;
  border-color: var(--color-hairline) !important;
}

#toggleWallHudBtn.wall-off {
  background-color: var(--color-surface) !important;
  color: var(--color-on-surface-variant) !important;
  opacity: 0.75;
}

/* Real-World Environment Tabs & Calibration Panel */
.env-tab-btn.active-env {
  background-color: var(--color-primary) !important;
  color: #ffffff !important;
  border-color: var(--color-secondary) !important;
}

.env-tab-btn.active-env span {
  color: var(--color-secondary) !important;
}

/* Luxury Range Inputs for AR Calibration */
input[type="range"].calib-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: rgba(114, 91, 56, 0.25);
  outline: none;
  border-radius: 2px;
  transition: background 0.2s;
}

input[type="range"].calib-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-secondary);
  cursor: pointer;
  border: 2px solid #ffffff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.35);
}

input[type="range"].calib-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-secondary);
  cursor: pointer;
  border: 2px solid #ffffff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.35);
}

/* 3D Architectural Hotspots for Google <model-viewer> */
.hotspot-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(18, 20, 24, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(197, 168, 128, 0.65);
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

.hotspot-pill:hover {
  background: var(--color-secondary);
  border-color: #ffffff;
  transform: translateY(-2px) scale(1.05);
}

.hotspot-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-secondary);
  transition: background 0.2s ease;
}

.hotspot-pill:hover .hotspot-dot {
  background: #1a1e24;
}

.hotspot-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f5f3ee;
  white-space: nowrap;
  font-weight: 600;
  transition: color 0.2s ease;
}

.hotspot-pill:hover .hotspot-label {
  color: #1a1e24;
}

/* Interactive Perspective Calibration Pins */
.perspective-pin {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(18, 20, 24, 0.90);
  border: 2px solid var(--color-secondary);
  box-shadow: 0 0 16px rgba(197, 168, 128, 0.55), inset 0 0 6px rgba(0, 0, 0, 0.6);
  transform: translate(-50%, -50%);
  cursor: grab;
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
  touch-action: none;
}

.perspective-pin:hover,
.perspective-pin.dragging {
  cursor: grabbing;
  transform: translate(-50%, -50%) scale(1.22);
  border-color: #ffffff;
  box-shadow: 0 0 24px rgba(197, 168, 128, 0.95), inset 0 0 8px rgba(0, 0, 0, 0.8);
}

.pin-inner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-secondary);
  transition: transform 0.2s ease, background 0.2s ease;
}

.perspective-pin:hover .pin-inner-dot,
.perspective-pin.dragging .pin-inner-dot {
  background: #ffffff;
  transform: scale(1.25);
}

.pin-label {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 7px;
  background: rgba(18, 20, 24, 0.95);
  border: 1px solid var(--color-secondary);
  border-radius: 4px;
  color: var(--color-secondary);
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* User Photo Upload Dropzone Overlay */
.photo-dropzone-overlay {
  position: absolute;
  inset: 0;
  z-index: 50;
  background: rgba(15, 18, 22, 0.88);
  backdrop-filter: blur(12px);
  border: 2px dashed var(--color-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #ffffff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-dropzone-overlay.dragover {
  opacity: 1;
  pointer-events: auto;
}

/* Luxury HUD Active State */
.hud-btn-active {
  background: var(--color-secondary) !important;
  color: #1a1e24 !important;
  border-color: var(--color-secondary) !important;
}

.hud-btn-active span {
  color: #1a1e24 !important;
}

.villa-chip-active {
  border-color: var(--color-secondary) !important;
  background: rgba(197, 168, 128, 0.14) !important;
  color: var(--color-secondary) !important;
  font-weight: 700 !important;
}

/* ==========================================================================
   PRINT STYLES: DOSSIER TÉCNICO A4 DE PÁGINA ÚNICA (EXCLUSIVAMENTE 1 HOJA)
   ========================================================================== */

#printDossier {
  display: none !important;
}

@media print {
  @page {
    size: A4 portrait;
    margin: 8mm 10mm 8mm 10mm;
  }

  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    color-adjust: exact !important;
    box-sizing: border-box !important;
  }

  /* Ocultar absolutamente todos los elementos del DOM web excepto la ficha técnica */
  body > *:not(#printDossier) {
    display: none !important;
  }

  html, body {
    background: #ffffff !important;
    color: #111827 !important;
    font-size: 10px !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    min-height: auto !important;
    max-height: 100% !important;
    width: 100% !important;
    overflow: visible !important;
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  }

  #printDossier {
    display: block !important;
    visibility: visible !important;
    position: relative !important;
    width: 100% !important;
    max-width: 190mm !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: #ffffff !important;
    color: #111827 !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
    page-break-after: avoid !important;
    break-after: avoid !important;
    page-break-before: avoid !important;
    break-before: avoid !important;
  }

  .print-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-bottom: 6px !important;
  }

  .print-brand {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .print-logo {
    height: 30px !important;
    width: auto !important;
    object-fit: contain !important;
  }

  .print-company-name {
    font-size: 10.5px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    letter-spacing: 0.05em !important;
  }

  .print-company-sub {
    font-size: 8px !important;
    color: #4b5563 !important;
    line-height: 1.25 !important;
  }

  .print-ref-box {
    text-align: right !important;
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
  }

  .print-ref-title {
    font-size: 7.5px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
  }

  .print-ref-code {
    font-size: 12px !important;
    font-weight: 800 !important;
    color: #967848 !important;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  }

  .print-ref-date {
    font-size: 7.5px !important;
    color: #475569 !important;
  }

  .print-divider {
    height: 2px !important;
    background: #967848 !important;
    margin: 4px 0 6px 0 !important;
  }

  .print-section-title {
    font-size: 8.5px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    margin: 5px 0 3px 0 !important;
    padding-bottom: 2px !important;
    border-bottom: 1px solid #e2e8f0 !important;
  }

  .print-grid-2 {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin-bottom: 5px !important;
  }

  .print-card {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 3px !important;
    padding: 5px 8px !important;
  }

  .print-card-header {
    font-size: 7.5px !important;
    font-weight: 700 !important;
    color: #967848 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    margin-bottom: 3px !important;
    border-bottom: 1px dashed #cbd5e1 !important;
    padding-bottom: 2px !important;
  }

  .print-row {
    font-size: 8.5px !important;
    line-height: 1.35 !important;
    margin-bottom: 1px !important;
    display: flex !important;
    justify-content: space-between !important;
    gap: 6px !important;
  }

  .print-label {
    color: #64748b !important;
    white-space: nowrap !important;
  }

  .print-val {
    color: #0f172a !important;
    text-align: right !important;
    word-break: break-word !important;
  }

  .print-gold {
    color: #967848 !important;
    font-weight: 700 !important;
  }

  .print-badge-sync {
    color: #047857 !important;
    font-weight: 600 !important;
  }

  .print-specs-container {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 3px !important;
    padding: 6px 8px !important;
    margin-bottom: 5px !important;
  }

  .print-specs-pre {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace !important;
    font-size: 8px !important;
    line-height: 1.3 !important;
    color: #1e293b !important;
    white-space: pre-wrap !important;
    word-break: break-word !important;
    margin: 0 !important;
    max-height: 108mm !important;
    overflow: hidden !important;
  }

  .print-cert-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 6px !important;
    margin-bottom: 5px !important;
  }

  .print-cert-item {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 3px !important;
    padding: 4px 6px !important;
  }

  .print-cert-tag {
    font-size: 7.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    text-transform: uppercase !important;
    margin-bottom: 1px !important;
  }

  .print-cert-desc {
    font-size: 7px !important;
    color: #64748b !important;
    line-height: 1.2 !important;
  }

  .print-footer-grid {
    display: grid !important;
    grid-template-columns: 2.2fr 1fr !important;
    gap: 8px !important;
    align-items: center !important;
    margin-bottom: 4px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 3px !important;
    padding: 4px 8px !important;
    background: #fdfdfd !important;
  }

  .print-legal-notice {
    font-size: 7px !important;
    color: #64748b !important;
    line-height: 1.25 !important;
  }

  .print-stamp-box {
    border: 1px dashed #94a3b8 !important;
    border-radius: 3px !important;
    padding: 3px 6px !important;
    text-align: center !important;
    background: #ffffff !important;
  }

  .print-stamp-header {
    font-size: 6.5px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
  }

  .print-stamp-seal {
    font-size: 8px !important;
    font-weight: 800 !important;
    color: #967848 !important;
    letter-spacing: 0.08em !important;
    margin: 1px 0 !important;
  }

  .print-stamp-sign {
    font-size: 6.5px !important;
    color: #475569 !important;
  }

  .print-bottom-bar {
    display: flex !important;
    justify-content: space-between !important;
    border-top: 1px solid #e2e8f0 !important;
    padding-top: 3px !important;
    font-size: 6.8px !important;
    color: #64748b !important;
  }
}

/* ==========================================================================
   LEGAL COMPLIANCE (RGPD, LOPDGDD, LSSI-CE & COOKIE CONSENT)
   ========================================================================== */
#cookieBanner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

#cookieBanner.hidden {
  display: none !important;
}

.modal-content.modal-legal-content {
  max-width: 920px;
  max-height: 88vh;
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
}

@media (max-width: 640px) {
  .modal-content.modal-legal-content {
    padding: 1.25rem 1rem;
    max-height: 94vh;
  }
}



