/* ═══ VISOR PDF MARINO HAON ═══ */
.haon-pdf-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 40, 71, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}
.haon-pdf-overlay.is-open { opacity: 1; visibility: visible; }
.haon-pdf-modal {
  width: 100%;
  max-width: 1280px;
  height: 92vh;
  background: var(--haon-blue-deep);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.96);
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.haon-pdf-overlay.is-open .haon-pdf-modal { transform: scale(1); }
.haon-pdf-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 16px;
}
.haon-pdf-header-brand { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.haon-pdf-logo { width: 32px; height: 32px; object-fit: contain; flex-shrink: 0; }
.haon-pdf-header-text { min-width: 0; }
.haon-pdf-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.haon-pdf-meta { font-size: 11px; color: var(--text-muted); letter-spacing: 0.2px; }
.haon-pdf-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.haon-pdf-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.haon-pdf-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}
.haon-pdf-btn:active { transform: scale(0.94); }
.haon-pdf-btn-close:hover {
  background: rgba(255, 107, 107, 0.18);
  color: #ff8b8b;
  border-color: rgba(255, 107, 107, 0.3);
}
.haon-pdf-body { position: relative; flex: 1; background: #2a2a2a; overflow: hidden; }
.haon-pdf-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  transition: opacity 0.2s ease;
  background: #fff;
}
.haon-pdf-spinner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--haon-blue-deep);
  z-index: 2;
}
.haon-pdf-spinner-ring {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 215, 0, 0.15);
  border-top-color: var(--haon-accent);
  border-radius: 50%;
  animation: haon-pdf-spin 0.8s linear infinite;
}
.haon-pdf-spinner-text { font-size: 13px; color: var(--text-muted); letter-spacing: 0.2px; }
@keyframes haon-pdf-spin { to { transform: rotate(360deg); } }

@media (max-width: 768px) {
  .haon-pdf-overlay { padding: 8px; }
  .haon-pdf-modal { height: 96vh; border-radius: var(--radius-sm); }
  .haon-pdf-header { padding: 10px 12px; gap: 8px; }
  .haon-pdf-logo { width: 26px; height: 26px; }
  .haon-pdf-title { font-size: 13px; }
  .haon-pdf-meta { font-size: 10px; }
  .haon-pdf-btn { width: 32px; height: 32px; }
  .haon-doc-card { padding: 14px; gap: 12px; }
  .haon-doc-icon { width: 42px; height: 42px; }
  .haon-doc-title { font-size: 14px; }
  .haon-doc-desc { font-size: 12px; }
}

/* ═══ IMAGENES EN ICONOS DE DOC ═══ */
.haon-doc-icon-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}
.haon-doc-empty-icon img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  opacity: 0.85;
  display: block;
}

/* ═══ PRIVACIDAD — INFO BANNER ═══ */
.haon-legal-info {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255, 215, 0, 0.06);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 720px;
}
.haon-legal-info-icon {
  flex-shrink: 0;
  font-size: 16px;
  color: var(--haon-accent);
  font-weight: 700;
  line-height: 1.4;
}

/* ═══ PRIVACIDAD — ACCORDION ═══ */
.haon-legal-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 720px;
}
.haon-legal-item {
  background: var(--bg-glass);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}
.haon-legal-item:hover {
  border-color: rgba(255, 215, 0, 0.25);
}
.haon-legal-item.is-open {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 215, 0, 0.3);
}
.haon-legal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 18px;
  background: transparent;
  border: 0;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background var(--transition-fast);
}
.haon-legal-head:hover {
  background: var(--bg-glass-hover);
}
.haon-legal-head-text {
  flex: 1;
  min-width: 0;
}
.haon-legal-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
  letter-spacing: -0.1px;
}
.haon-legal-meta {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.1px;
}
.haon-legal-chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.25s ease, color var(--transition-fast);
  margin-left: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.haon-legal-item.is-open .haon-legal-chevron {
  transform: rotate(180deg);
  color: var(--haon-accent);
}
.haon-legal-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 18px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-secondary);
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.haon-legal-item.is-open .haon-legal-body {
  max-height: 4000px;
  padding: 0 18px 18px 18px;
  border-top: 1px solid var(--bg-glass-border);
  padding-top: 16px;
}
.haon-legal-body h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 18px 0 8px 0;
  letter-spacing: -0.1px;
}
.haon-legal-body h3:first-child { margin-top: 4px; }
.haon-legal-body p {
  margin: 0 0 10px 0;
}
.haon-legal-body ul {
  margin: 8px 0 12px 0;
  padding-left: 20px;
}
.haon-legal-body li {
  margin-bottom: 6px;
}
.haon-legal-body strong {
  color: var(--text-primary);
  font-weight: 700;
}

/* ═══ GEOLOCALIZACIÓN MARINO ═══ */
.haon-geo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.haon-geo-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 12px;
  padding: 16px;
}
.haon-geo-card-label {
  font-size: 11px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.haon-geo-card-value {
  font-size: 16px;
  font-weight: 500;
  color: #e2e8f0;
}
.haon-geo-hist {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.haon-geo-hist th {
  text-align: left;
  padding: 10px 12px;
  font-size: 11px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}
.haon-geo-hist td {
  padding: 10px 12px;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}
.haon-geo-hist tr:last-child td {
  border-bottom: none;
}

