/*
  custom.css
  ---------------------------------------------------------------------------
  Aquí puedes meter tus cambios SIN tocar los estilos del template.

  Ejemplos:
  :root { --brand-color: #0b3a66; }
  .navbar-brand img { max-height: 44px; }
*/

/* --------------------------------------------------------------------------
   MODAL (Política de privacidad) — /empresa/contacto
   -------------------------------------------------------------------------- */

body.vhi-modal-open {
  overflow: hidden;
}

.vhi-modal[hidden] {
  display: none !important;
}

.vhi-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.vhi-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.vhi-modal__panel {
  position: relative;
  width: min(1100px, 100%);
  height: calc(100vh - 32px);
  max-height: calc(100vh - 32px);
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
}

html.dark .vhi-modal__panel {
  background: #0f1115;
}

.vhi-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

html.dark .vhi-modal__header {
  border-bottom-color: rgba(255, 255, 255, 0.10);
}

.vhi-modal__close {
  appearance: none;
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 10px;
}

.vhi-modal__close:hover {
  background: rgba(0, 0, 0, 0.06);
}

html.dark .vhi-modal__close:hover {
  background: rgba(255, 255, 255, 0.08);
}

.vhi-modal__body {
  flex: 1;
  background: transparent;
}

.vhi-modal__iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.vhi-modal__footer {
  padding: 14px 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

html.dark .vhi-modal__footer {
  border-top-color: rgba(255, 255, 255, 0.10);
}
