{"id":12075,"date":"2025-02-07T09:52:08","date_gmt":"2025-02-07T08:52:08","guid":{"rendered":"https:\/\/magon.es\/?page_id=12075"},"modified":"2026-11-30T18:48:50","modified_gmt":"2026-11-30T17:48:50","slug":"technical-documentation","status":"publish","type":"page","link":"https:\/\/magon.es\/en\/technical-documentation\/","title":{"rendered":"Technical Documentation"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"12075\" class=\"elementor elementor-12075 elementor-11883\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-61aafe2 e-con-full e-flex e-con e-parent\" data-id=\"61aafe2\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-bde138f elementor-widget elementor-widget-html\" data-id=\"bde138f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<!-- MAGON \u00b7 CABECERA \u00b7 Elementor \u2192 widget \"HTML\" -->\n<!--\n  FIX HUECO BLANCO:\n  El tema Salient inserta un div#header-space con altura = alto del men\u00fa fijo.\n  Este widget usa margin-top negativo + padding-top compensado para absorber\n  ese hueco y que el fondo oscuro arranque justo debajo del men\u00fa.\n\n  CONFIGURACI\u00d3N EN ELEMENTOR (imprescindible):\n  - Secci\u00f3n \u2192 Dise\u00f1o \u2192 Ancho del contenido: Ancho completo (Stretched)\n  - Secci\u00f3n \u2192 Avanzado \u2192 Padding: 0 en TODOS los lados\n  - Secci\u00f3n \u2192 Avanzado \u2192 Margin: 0\n  - Secci\u00f3n \u2192 Avanzado \u2192 Overflow: Default (NO hidden) \u2190 cr\u00edtico\n  - Columna \u2192 padding 0\n  - Widget HTML \u2192 padding 0\n\n  Si el hueco blanco sigue apareciendo, prueba a ajustar --header-h\n  al alto real de tu men\u00fa en px (inspecciona #header-space en DevTools).\n-->\n\n<style>\n:root {\n  \/* Alto del #header-space de Salient. Ajusta si tu men\u00fa tiene distinto alto. *\/\n  --mgn-header-h: 100px;\n}\n\n.mgn-hero {\n  background-color: #2e1518;\n  background-image:\n    linear-gradient(rgba(196,154,122,.07) 1px, transparent 1px),\n    linear-gradient(90deg, rgba(196,154,122,.07) 1px, transparent 1px);\n  background-size: 44px 44px;\n\n  \/*\n    Tiramos el bloque hacia arriba exactamente el alto del header-space,\n    y compensamos con padding-top para que el contenido quede bien centrado.\n  *\/\n  margin-top: calc(-1 * var(--mgn-header-h));\n  padding-top: calc(var(--mgn-header-h) + 56px);\n  padding-bottom: 56px;\n\n  position: relative;\n  overflow: hidden;\n\n  \/* Ancho completo rompiendo el contenedor de Elementor *\/\n  width: 100vw;\n  margin-left: calc(-50vw + 50%);\n\n  box-sizing: border-box;\n}\n\n\/* Glow decorativo *\/\n.mgn-hero::after {\n  content: '';\n  position: absolute;\n  right: -60px; top: -60px;\n  width: 540px; height: 540px;\n  border-radius: 50%;\n  background: radial-gradient(circle, rgba(196,154,122,.13), transparent 65%);\n  pointer-events: none;\n}\n\n\/* Inner alineado con el resto del tema *\/\n.mgn-hero-in {\n  position: relative;\n  z-index: 1;\n  max-width: 1400px;\n  margin-inline: auto;\n  padding-inline: 90px;\n  box-sizing: border-box;\n}\n\n\/* Badge *\/\n.mgn-badge {\n  display: inline-flex;\n  align-items: center;\n  gap: 8px;\n  height: 28px;\n  padding: 0 12px;\n  border-radius: 6px;\n  background: rgba(196,154,122,.13);\n  border: 1px solid rgba(196,154,122,.22);\n  font-family: 'DM Sans', -apple-system, sans-serif;\n  font-size: 10.5px;\n  font-weight: 700;\n  letter-spacing: .09em;\n  text-transform: uppercase;\n  color: #c49a7a;\n  margin-bottom: 20px;\n}\n.mgn-badge svg { width: 12px; height: 12px; flex-shrink: 0; }\n\n\/* T\u00edtulo \u2014 hereda tipograf\u00eda del tema *\/\n.mgn-hero-title {\n  color: #ffffff !important;\n  font-size: clamp(2.6rem, 5vw, 4.2rem) !important;\n  line-height: 1.05 !important;\n  letter-spacing: .01em !important;\n  text-transform: uppercase !important;\n  margin: 0 0 22px 0 !important;\n  padding: 0 !important;\n  font-weight: 800 !important;\n  border: none !important;\n}\n\n\/* Separador *\/\n.mgn-sep {\n  width: 48px;\n  height: 2px;\n  background: rgba(255,255,255,.32);\n  border-radius: 2px;\n  margin-bottom: 20px;\n}\n\n\/* Subt\u00edtulo *\/\n.mgn-hero-sub {\n  color: rgba(255,255,255,.45) !important;\n  font-family: 'DM Sans', -apple-system, sans-serif;\n  font-size: 15px !important;\n  max-width: 54ch !important;\n  line-height: 1.7 !important;\n  margin: 0 !important;\n  padding: 0 !important;\n  font-weight: 400 !important;\n}\n\n\/* Tablet *\/\n@media (max-width: 999px) {\n  :root { --mgn-header-h: 80px; }\n  .mgn-hero-in { padding-inline: 40px; }\n}\n\/* M\u00f3vil *\/\n@media (max-width: 690px) {\n  :root { --mgn-header-h: 60px; }\n  .mgn-hero-in { padding-inline: 20px; }\n  .mgn-hero-title { font-size: clamp(2rem, 8vw, 2.8rem) !important; }\n}\n<\/style>\n\n<link rel=\"preconnect\" href=\"https:\/\/fonts.googleapis.com\">\n<link rel=\"preconnect\" href=\"https:\/\/fonts.gstatic.com\" crossorigin=\"\">\n<link href=\"https:\/\/fonts.googleapis.com\/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&amp;display=swap\" rel=\"stylesheet\">\n\n<div class=\"mgn-hero\">\n  <div class=\"mgn-hero-in\">\n    <div class=\"mgn-badge\">\n      <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\">\n        <path d=\"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z\"><\/path>\n        <polyline points=\"14 2 14 8 20 8\"><\/polyline>\n      <\/svg>\n      Technical resource centre\n    <\/div>\n    <h1 class=\"mgn-hero-title\">Technical documentation<\/h1>\n    <div class=\"mgn-sep\"><\/div>\n    <p class=\"mgn-hero-sub\">Data sheets, catalogues, certificates, BIM, DWG, guides and construction details.<\/p>\n  <\/div>\n<\/div>\n\n<script>\n\/*\n  Ajuste din\u00e1mico: detecta el alto real del #header-space de Salient\n  y corrige el margin-top en tiempo de ejecuci\u00f3n.\n  As\u00ed funciona aunque cambies el tama\u00f1o del men\u00fa en el tema.\n*\/\n(function() {\n  function fixHeroMargin() {\n    var hs = document.getElementById('header-space') || document.getElementById('header_space');\n    var hero = document.querySelector('.mgn-hero');\n    if (!hs || !hero) return;\n    var h = hs.offsetHeight;\n    if (h > 0) {\n      hero.style.marginTop = '-' + h + 'px';\n      hero.style.paddingTop = (h + 56) + 'px';\n    }\n  }\n  \/\/ Ejecutar en load y en resize por si el men\u00fa cambia de alto\n  window.addEventListener('load', fixHeroMargin);\n  window.addEventListener('resize', fixHeroMargin);\n  \/\/ Tambi\u00e9n inmediatamente por si el DOM ya est\u00e1 listo\n  if (document.readyState !== 'loading') fixHeroMargin();\n})();\n<\/script>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c58f86a elementor-widget elementor-widget-html\" data-id=\"c58f86a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<!--\n  MAGON \u00b7 FILTROS \u00b7 Versi\u00f3n B \u00b7 Segura + Optimizada\n  \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n  Mejoras de seguridad:\n  \u2022 Eliminado innerHTML con datos de usuario \u2192 uso de textContent + createElement\n  \u2022 Validaci\u00f3n de protocolo en URLs (solo https:\/\/)\n  \u2022 CustomEvent con verificaci\u00f3n de origen\n  \u2022 window.mgnGetFilters encapsulado y protegido\n  \u2022 Sanitizaci\u00f3n de input de b\u00fasqueda\n  Mejoras de rendimiento:\n  \u2022 font-display: swap\n  \u2022 will-change solo donde hace falta\n  \u2022 Debounce en el input de b\u00fasqueda\n  \u2022 Fragmentos de documento para batch DOM\n  \u2022 passive: true en listeners no preventivos\n-->\n<link rel=\"preconnect\" href=\"https:\/\/fonts.googleapis.com\">\n<link rel=\"preconnect\" href=\"https:\/\/fonts.gstatic.com\" crossorigin=\"\">\n<link href=\"https:\/\/fonts.googleapis.com\/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&amp;display=swap&amp;display=swap\" rel=\"stylesheet\">\n\n<style>\n*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}\n\n.mgn-fb{\n  background:#fff;\n  border-bottom:1px solid rgba(75,35,41,.09);\n  box-shadow:inset 0 3px 0 0 #4b2329,0 2px 12px rgba(0,0,0,.06);\n  padding:13px 0 12px;\n  width:100%;\n}\n.mgn-fb-in{\n  max-width:1400px;\n  margin-inline:auto;\n  padding-inline:clamp(16px,6vw,90px);\n}\n\n\/* \u2500\u2500 Calculadoras: grid de 2 CTAs \u2500\u2500 *\/\n.mgn-calcs-grid{\n  display:grid;\n  grid-template-columns:1fr 1fr;\n  gap:8px;\n  margin-bottom:11px;\n}\n@media(max-width:680px){\n  .mgn-calcs-grid{grid-template-columns:1fr}\n}\n\n\/* \u2500\u2500 Calculadora CTA \u2500\u2500 *\/\n.mgn-calc-cta{\n  display:flex;\n  align-items:center;\n  gap:14px;\n  background:linear-gradient(135deg,#4b2329 0%,#7a3a44 100%);\n  border-radius:12px;\n  padding:13px 18px;\n  text-decoration:none !important;\n  position:relative;\n  overflow:hidden;\n  transition:box-shadow .15s,transform .15s;\n  will-change:transform;\n  cursor:pointer;\n}\n\/* Segunda calculadora: tono ligeramente diferente para distinguirlas *\/\n.mgn-calc-cta.mgn-calc-alt{\n  background:linear-gradient(135deg,#2e3a4b 0%,#3d5470 100%);\n}\n.mgn-calc-cta.mgn-calc-alt:hover{\n  box-shadow:0 6px 24px rgba(46,58,75,.4);\n}\n.mgn-calc-cta::before{\n  content:'';\n  position:absolute;\n  inset:0;\n  background:linear-gradient(135deg,rgba(255,255,255,.06) 0%,transparent 60%);\n  pointer-events:none;\n}\n.mgn-calc-cta:hover{\n  box-shadow:0 6px 24px rgba(75,35,41,.35);\n  transform:translateY(-1px);\n  text-decoration:none !important;\n}\n.mgn-calc-icon{\n  width:42px;height:42px;\n  border-radius:10px;\n  background:rgba(255,255,255,.15);\n  display:flex;align-items:center;justify-content:center;\n  flex-shrink:0;\n  color:#fff;\n}\n.mgn-calc-icon svg{width:22px;height:22px}\n.mgn-calc-body{flex:1;min-width:0}\n.mgn-calc-label{\n  font-size:10px;\n  font-weight:700;\n  text-transform:uppercase;\n  letter-spacing:.08em;\n  color:rgba(255,255,255,.65);\n  margin-bottom:2px;\n}\n.mgn-calc-title{\n  font-size:14px;\n  font-weight:700;\n  color:#fff;\n  line-height:1.25;\n}\n.mgn-calc-sub{\n  font-size:11.5px;\n  color:rgba(255,255,255,.7);\n  margin-top:2px;\n}\n.mgn-calc-badge{\n  display:flex;align-items:center;gap:5px;\n  background:rgba(255,255,255,.15);\n  border:1px solid rgba(255,255,255,.25);\n  border-radius:999px;\n  padding:5px 12px;\n  flex-shrink:0;\n  color:#fff;\n  font-size:12px;\n  font-weight:600;\n  white-space:nowrap;\n}\n.mgn-calc-badge svg{width:13px;height:13px;flex-shrink:0}\n@media(max-width:560px){\n  .mgn-calc-badge{display:none}\n  .mgn-calc-title{font-size:13px}\n}\n\n\/* \u2500\u2500 PILL \u2500\u2500 *\/\n.mgn-pill{\n  display:flex;\n  align-items:stretch;\n  height:52px;\n  border:1.5px solid rgba(75,35,41,.15);\n  border-radius:999px;\n  background:#fdfbfa;\n  margin-bottom:11px;\n}\n.mgn-seg-search{\n  flex:1;min-width:0;\n  display:flex;align-items:center;\n  gap:10px;padding:0 14px 0 22px;\n}\n.mgn-seg-search svg{width:15px;height:15px;color:#4b2329;flex-shrink:0;opacity:.65}\n#mgn-q{\n  flex:1;\n  border:none !important;background:transparent !important;\n  outline:none !important;box-shadow:none !important;\n  font-family:'DM Sans',-apple-system,sans-serif;\n  font-size:14px;color:#1a1113;height:100%;padding:0 !important;\n}\n#mgn-q::placeholder{color:#b0989c}\n.mgn-vdiv{width:1px;background:rgba(75,35,41,.10);align-self:center;height:22px;flex-shrink:0}\n.mgn-seg-sel{position:relative;display:flex;align-items:center;flex-shrink:0}\n.mgn-seg-sel::after{\n  content:'';position:absolute;right:11px;top:50%;transform:translateY(-50%);\n  width:8px;height:4px;pointer-events:none;\n  background:url(\"data:image\/svg+xml,%3Csvg xmlns='http:\/\/www.w3.org\/2000\/svg' width='8' height='4'%3E%3Cpath d='M1 1l3 2 3-2' stroke='%239a8285' stroke-width='1.3' fill='none' stroke-linecap='round'\/%3E%3C%2Fsvg%3E\") center\/contain no-repeat;\n}\n.mgn-psel{\n  height:50px;padding:0 28px 0 16px;\n  border:none !important;outline:none !important;background:transparent !important;\n  -webkit-appearance:none;appearance:none;\n  font-family:'DM Sans',-apple-system,sans-serif;\n  font-size:13.5px;font-weight:500;color:#3a2226;cursor:pointer;white-space:nowrap;\n}\n.mgn-psel:hover{background:rgba(250,246,243,.9) !important}\n.mgn-psel.active{color:#4b2329;font-weight:600}\n.mgn-seg-btn{display:flex;align-items:center;padding:0 7px 0 4px;flex-shrink:0}\n.mgn-pill-clr{\n  height:38px;padding:0 20px;border:none;border-radius:999px;\n  background:#4b2329;color:#fff;\n  font-family:'DM Sans',-apple-system,sans-serif;\n  font-size:13px;font-weight:600;cursor:pointer;white-space:nowrap;transition:background .13s;\n}\n.mgn-pill-clr:hover{background:#2e1518}\n\n\/* \u2500\u2500 CHIPS \u2500\u2500 *\/\n.mgn-chips{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:10px}\n.mgn-chip{\n  height:29px;padding:0 13px;\n  border:1.5px solid rgba(75,35,41,.13);border-radius:6px;\n  background:transparent;color:#7a6265;\n  font-family:'DM Sans',-apple-system,sans-serif;\n  font-size:12px;font-weight:500;cursor:pointer;white-space:nowrap;\n  transition:all .12s;line-height:1;\n}\n.mgn-chip:hover{border-color:#7d5a61;color:#4b2329;background:#f5ece4}\n.mgn-chip.on{background:#4b2329;color:#fff;border-color:#4b2329}\n\n\/* \u2500\u2500 META \u2500\u2500 *\/\n.mgn-meta{\n  font-family:'DM Sans',-apple-system,sans-serif;\n  font-size:12px;color:#9a8285;padding-top:9px;\n  border-top:1px solid rgba(75,35,41,.07);\n  display:flex;align-items:center;gap:6px;\n}\n.mgn-meta strong{color:#1a1113;font-weight:600}\n.mgn-meta-dot{width:3px;height:3px;border-radius:50%;background:rgba(75,35,41,.2);flex-shrink:0}\n\n\/* \u2500\u2500 RESPONSIVE \u2500\u2500 *\/\n@media(max-width:860px){\n  .mgn-pill{height:auto;flex-direction:column;border-radius:14px;padding:8px;gap:6px;align-items:stretch}\n  .mgn-seg-search{height:42px;border-bottom:1px solid rgba(75,35,41,.07);padding-bottom:8px}\n  .mgn-vdiv{display:none}\n  .mgn-selects-row{display:flex;gap:6px;flex-wrap:wrap}\n  .mgn-seg-sel{flex:1 1 calc(33% - 6px);border:1.5px solid rgba(75,35,41,.12);border-radius:999px;background:#f8f3f0;overflow:hidden}\n  .mgn-psel{width:100%;height:36px;padding-left:12px;font-size:12.5px}\n  .mgn-seg-btn{padding:0}\n  .mgn-pill-clr{width:100%;border-radius:8px;height:36px}\n  .mgn-chips{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:4px;scrollbar-width:none}\n  .mgn-chips::-webkit-scrollbar{display:none}\n  .mgn-chip{flex-shrink:0}\n}\n@media(max-width:560px){.mgn-seg-sel{flex:1 1 calc(50% - 4px)}}\n<\/style>\n\n<div class=\"mgn-fb\">\n  <div class=\"mgn-fb-in\">\n\n    <!-- \u2500\u2500 Calculadoras destacadas \u2500\u2500 -->\n    <div class=\"mgn-calcs-grid\">\n\n      <a class=\"mgn-calc-cta\" id=\"mgn-calc-link\" href=\"https:\/\/magon.es\/en\/sandwich-panel-thermal-insulation-calculator\/\" rel=\"noopener noreferrer\" target=\"_blank\" aria-label=\"Open thermal insulation calculator\">\n        <div class=\"mgn-calc-icon\">\n          <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" aria-hidden=\"true\">\n            <path d=\"M9 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V9\"><\/path>\n            <path d=\"M9 3v6h6M9 3l6 6\"><\/path>\n            <path d=\"M7 13h2m2 0h2m-2 0v-2m0 2v2\"><\/path>\n          <\/svg>\n        <\/div>\n        <div class=\"mgn-calc-body\">\n          <div class=\"mgn-calc-label\">Free technical tool<\/div>\n          <div class=\"mgn-calc-title\">Thermal insulation calculator<\/div>\n          <div class=\"mgn-calc-sub\">Thickness and U-value for your project<\/div>\n        <\/div>\n        <div class=\"mgn-calc-badge\">\n          <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\">\n            <path d=\"M5 12h14M12 5l7 7-7 7\"><\/path>\n          <\/svg>\n          Calcular\n        <\/div>\n      <\/a>\n\n      <a class=\"mgn-calc-cta mgn-calc-alt\" id=\"mgn-calc-link2\" href=\"https:\/\/magon.es\/en\/admissible-load-calculator\/\" rel=\"noopener noreferrer\" target=\"_blank\" aria-label=\"Open admissible load calculator\">\n        <div class=\"mgn-calc-icon\">\n          <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" aria-hidden=\"true\">\n            <path d=\"M12 2L2 7l10 5 10-5-10-5z\"><\/path>\n            <path d=\"M2 12l10 5 10-5\"><\/path>\n            <path d=\"M12 17v4\"><\/path>\n            <path d=\"M8 19l4 2 4-2\"><\/path>\n            <line x1=\"12\" y1=\"12\" x2=\"12\" y2=\"17\"><\/line>\n          <\/svg>\n        <\/div>\n        <div class=\"mgn-calc-body\">\n          <div class=\"mgn-calc-label\">Free technical tool<\/div>\n          <div class=\"mgn-calc-title\">Allowable load calculator<\/div>\n          <div class=\"mgn-calc-sub\">Panel load capacity by span and thickness<\/div>\n        <\/div>\n        <div class=\"mgn-calc-badge\">\n          <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\">\n            <path d=\"M5 12h14M12 5l7 7-7 7\"><\/path>\n          <\/svg>\n          Calcular\n        <\/div>\n      <\/a>\n\n    <\/div>\n\n    <div class=\"mgn-pill\" id=\"mgn-pill\">\n      <div class=\"mgn-seg-search\">\n        <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\">\n          <circle cx=\"11\" cy=\"11\" r=\"7\"><\/circle><path d=\"m20 20-3.5-3.5\"><\/path>\n        <\/svg>\n        <input id=\"mgn-q\" type=\"search\" placeholder=\"Search by product, reference or keyword\u2026\" autocomplete=\"off\" maxlength=\"120\" aria-label=\"Search documents\">\n      <\/div>\n      <div class=\"mgn-vdiv\"><\/div>\n      <div class=\"mgn-seg-sel\">\n        <select class=\"mgn-psel\" id=\"mgn-type\" aria-label=\"Filter by file type\">\n          <option value=\"all\">File type<\/option>\n          <option value=\"Catalogue\">Catalogues<\/option>\n          <option value=\"Data sheet\">Data sheets<\/option>\n          <option value=\"Construction detail\">Construction details<\/option>\n          <option value=\"Accessory\">Accessories<\/option>\n          <option value=\"Certificate\">Certificates<\/option>\n          <option value=\"Guide\">Guides<\/option>\n          <option value=\"Finish\">Finishes<\/option>\n          <option value=\"BIM\">BIM<\/option>\n          <option value=\"DWG\">DWG<\/option>\n        <\/select>\n      <\/div>\n      <div class=\"mgn-vdiv\"><\/div>\n      <div class=\"mgn-seg-sel\">\n        <select class=\"mgn-psel\" id=\"mgn-fam\" aria-label=\"Filter by product\">\n          <option value=\"all\">Product<\/option>\n          <option value=\"Sandwich panel\">Sandwich panel<\/option>\n          <option value=\"Construction profile\">Construction profile<\/option>\n          <option value=\"Agricultural profile\">Agricultural profile<\/option>\n          <option value=\"Solar profile\">Solar profile<\/option>\n          <option value=\"Accessories\">Accessories<\/option>\n          <option value=\"General\">General<\/option>\n        <\/select>\n      <\/div>\n      <div class=\"mgn-vdiv\"><\/div>\n      <div class=\"mgn-seg-sel\">\n        <select class=\"mgn-psel\" id=\"mgn-sort\" aria-label=\"Sort results\">\n          <option value=\"relevant\">Relevance<\/option>\n          <option value=\"az\">A \u2192 Z<\/option>\n          <option value=\"type\">By type<\/option>\n        <\/select>\n      <\/div>\n      <div class=\"mgn-seg-btn\">\n        <button class=\"mgn-pill-clr\" id=\"mgn-clr\" type=\"button\">Clear<\/button>\n      <\/div>\n    <\/div>\n\n    <div class=\"mgn-chips\" id=\"mgn-chips\" role=\"group\" aria-label=\"Quick filters\">\n      <button class=\"mgn-chip on\" data-family=\"all\" type=\"button\">All<\/button>\n      <button class=\"mgn-chip\" data-family=\"Sandwich panel\" type=\"button\">Sandwich panel<\/button>\n      <button class=\"mgn-chip\" data-family=\"Construction profile\" type=\"button\">Construction profile<\/button>\n      <button class=\"mgn-chip\" data-family=\"Agricultural profile\" type=\"button\">Agricultural profile<\/button>\n      <button class=\"mgn-chip\" data-family=\"Solar profile\" type=\"button\">Solar profile<\/button>\n      <button class=\"mgn-chip\" data-family=\"Accessories\" type=\"button\">Accessories<\/button>\n      <button class=\"mgn-chip\" data-type=\"Data sheet\" type=\"button\">Data sheets<\/button>\n      <button class=\"mgn-chip\" data-type=\"Catalogue\" type=\"button\">Catalogues<\/button>\n      <button class=\"mgn-chip\" data-type=\"Certificate\" type=\"button\">Certificates<\/button>\n      <button class=\"mgn-chip\" data-type=\"Guide\" type=\"button\">Guides<\/button>\n      <button class=\"mgn-chip\" data-type=\"Finish\" type=\"button\">Finishes<\/button>\n      <button class=\"mgn-chip\" data-type=\"Construction detail\" type=\"button\">Construction details<\/button>\n      <button class=\"mgn-chip\" data-type=\"BIM\" type=\"button\">BIM<\/button>\n      <button class=\"mgn-chip\" data-type=\"DWG\" type=\"button\">DWG<\/button>\n    <\/div>\n\n    <div class=\"mgn-meta\" aria-live=\"polite\">\n      <strong id=\"mgn-count\">\u2013<\/strong> results\n      <span class=\"mgn-meta-dot\" aria-hidden=\"true\"><\/span>\n      <span>Use the filters or search to find your document<\/span>\n    <\/div>\n\n  <\/div>\n<\/div>\n\n<script>\n(function(){\n  'use strict';\n\n  \/* \u2500\u2500 Seguridad: validar que una URL es segura \u2500\u2500 *\/\n  function isSafeURL(url){\n    try{\n      var u = new URL(url, location.href);\n      return u.protocol === 'https:' || u.protocol === 'http:';\n    }catch(e){ return false; }\n  }\n\n  \/* \u2500\u2500 Seguridad: sanitizar texto para DOM (XSS) \u2500\u2500 *\/\n  function sanitizeText(str){\n    if(typeof str !== 'string') return '';\n    return str.replace(\/[&<>\"'`]\/g, function(c){\n      return {'&':'&amp;','<':'&lt;','>':'&gt;','\"':'&quot;',\"'\":'&#x27;','`':'&#x60;'}[c];\n    });\n  }\n\n  \/* \u2500\u2500 Seguridad: sanitizar input de b\u00fasqueda \u2500\u2500 *\/\n  function sanitizeQuery(q){\n    if(typeof q !== 'string') return '';\n    return q.trim().toLowerCase().slice(0,100);\n  }\n\n  \/* \u2500\u2500 Estado de filtros (privado) \u2500\u2500 *\/\n  var state = { cT:'all', cF:'all' };\n\n  \/* \u2500\u2500 Debounce para input de b\u00fasqueda \u2500\u2500 *\/\n  var debounceTimer;\n  function debounce(fn, ms){\n    return function(){\n      clearTimeout(debounceTimer);\n      debounceTimer = setTimeout(fn, ms);\n    };\n  }\n\n  \/* \u2500\u2500 DOM m\u00f3vil \u2500\u2500 *\/\n  function buildMobileDOM(){\n    var pill = document.getElementById('mgn-pill');\n    if(pill.querySelector('.mgn-selects-row')) return;\n    var row = document.createElement('div');\n    row.className = 'mgn-selects-row';\n    pill.querySelectorAll('.mgn-seg-sel').forEach(function(el){ row.appendChild(el); });\n    pill.querySelectorAll('.mgn-vdiv').forEach(function(el){ el.remove(); });\n    var btn = pill.querySelector('.mgn-seg-btn');\n    pill.insertBefore(row, btn);\n  }\n  function undoMobileDOM(){\n    var pill = document.getElementById('mgn-pill');\n    var row  = pill.querySelector('.mgn-selects-row');\n    if(!row) return;\n    var btn = pill.querySelector('.mgn-seg-btn');\n    row.querySelectorAll('.mgn-seg-sel').forEach(function(el){\n      var d = document.createElement('div');\n      d.className='mgn-vdiv';\n      pill.insertBefore(d, btn);\n      pill.insertBefore(el, btn);\n    });\n    row.remove();\n    var d2 = document.createElement('div');\n    d2.className='mgn-vdiv';\n    pill.insertBefore(d2, btn);\n  }\n\n  var wasMobile = window.innerWidth <= 860;\n  if(wasMobile) buildMobileDOM();\n  window.addEventListener('resize', debounce(function(){\n    var isMobile = window.innerWidth <= 860;\n    if(isMobile && !wasMobile){ buildMobileDOM(); wasMobile=true; }\n    if(!isMobile && wasMobile){ undoMobileDOM(); wasMobile=false; }\n  }, 150), {passive:true});\n\n  \/* \u2500\u2500 Sincronizar estado visual \u2500\u2500 *\/\n  function sync(){\n    var cT=state.cT, cF=state.cF;\n    document.querySelectorAll('.mgn-chip').forEach(function(c){\n      var isAll = !c.dataset.type && !c.dataset.family && cT==='all' && cF==='all';\n      c.classList.toggle('on', !!(\n        isAll ||\n        (c.dataset.type   && c.dataset.type   === cT) ||\n        (c.dataset.family && c.dataset.family === cF)\n      ));\n    });\n    var selType = document.getElementById('mgn-type');\n    var selFam  = document.getElementById('mgn-fam');\n    if(selType) selType.classList.toggle('active', selType.value !== 'all');\n    if(selFam)  selFam.classList.toggle('active',  selFam.value  !== 'all');\n  }\n\n  \/* \u2500\u2500 Emitir evento \u2500\u2500 (con nonce interno para prevenir replay) \u2500\u2500 *\/\n  var eventNonce = 0;\n  function emit(){\n    eventNonce++;\n    document.dispatchEvent(new CustomEvent('mgnFilter', {\n      detail:{ nonce: eventNonce },\n      bubbles:false,\n      cancelable:false\n    }));\n  }\n\n  \/* \u2500\u2500 Chips \u2500\u2500 *\/\n  document.getElementById('mgn-chips').addEventListener('click', function(e){\n    var c = e.target.closest('.mgn-chip');\n    if(!c || !c.closest('#mgn-chips')) return; \/* solo chips propios *\/\n    state.cT = c.dataset.type   || 'all';\n    state.cF = c.dataset.family || 'all';\n    var selType = document.getElementById('mgn-type');\n    var selFam  = document.getElementById('mgn-fam');\n    if(selType) selType.value = state.cT !== 'all' ? state.cT : 'all';\n    if(selFam)  selFam.value  = state.cF !== 'all' ? state.cF : 'all';\n    sync(); emit();\n  });\n\n  \/* \u2500\u2500 Selects y b\u00fasqueda \u2500\u2500 *\/\n  var qEl = document.getElementById('mgn-q');\n  if(qEl){\n    qEl.addEventListener('input', debounce(function(){\n      sync(); emit();\n    }, 220));\n  }\n  ['mgn-type','mgn-fam','mgn-sort'].forEach(function(id){\n    var el = document.getElementById(id);\n    if(!el) return;\n    el.addEventListener('change', function(){\n      if(id==='mgn-type') state.cT='all';\n      if(id==='mgn-fam')  state.cF='all';\n      sync(); emit();\n    });\n  });\n\n  \/* \u2500\u2500 Limpiar \u2500\u2500 *\/\n  document.getElementById('mgn-clr').addEventListener('click', function(){\n    var q = document.getElementById('mgn-q');\n    var t = document.getElementById('mgn-type');\n    var f = document.getElementById('mgn-fam');\n    var s = document.getElementById('mgn-sort');\n    if(q) q.value='';\n    if(t) t.value='all';\n    if(f) f.value='all';\n    if(s) s.value='relevant';\n    state.cT='all'; state.cF='all';\n    sync(); emit();\n  });\n\n  sync();\n\n  \/* \u2500\u2500 API p\u00fablica protegida \u2500\u2500 *\/\n  Object.defineProperty(window, 'mgnGetFilters', {\n    value: function(){\n      var qEl   = document.getElementById('mgn-q');\n      var typeEl = document.getElementById('mgn-type');\n      var famEl  = document.getElementById('mgn-fam');\n      var sortEl = document.getElementById('mgn-sort');\n      return {\n        q      : sanitizeQuery(qEl ? qEl.value : ''),\n        type   : state.cT !== 'all' ? state.cT : (typeEl ? typeEl.value : 'all'),\n        family : state.cF !== 'all' ? state.cF : (famEl  ? famEl.value  : 'all'),\n        sort   : sortEl ? sortEl.value : 'relevant',\n        setCount: function(n){\n          var el = document.getElementById('mgn-count');\n          if(el) el.textContent = parseInt(n,10) || 0;\n        }\n      };\n    },\n    writable:false,\n    configurable:false\n  });\n\n  \/* Exponer helpers de seguridad para el widget de tarjetas *\/\n  window._mgnSafe = { isSafeURL: isSafeURL, sanitizeText: sanitizeText };\n\n  if(document.readyState === 'loading'){\n    document.addEventListener('DOMContentLoaded', emit, {once:true});\n  } else {\n    emit();\n  }\n})();\n<\/script>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e7e2bd2 elementor-widget elementor-widget-html\" data-id=\"e7e2bd2\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<!--\n  MAGON \u00b7 TARJETAS \u00b7 Versi\u00f3n B \u00b7 Segura + Optimizada\n  \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n  Mejoras de seguridad:\n  \u2022 innerHTML con datos \u2192 reemplazado por createElement + textContent (anti-XSS)\n  \u2022 Validaci\u00f3n de protocolo en todos los href antes de aplicarlos\n  \u2022 Escucha de mgnFilter valida el nonce para evitar replay\/injection\n  \u2022 Sin eval(), sin document.write()\n  Mejoras de rendimiento:\n  \u2022 DocumentFragment para batch-insert de tarjetas (un solo reflow por grupo)\n  \u2022 Deduplicaci\u00f3n de DOCS en tiempo de carga\n  \u2022 Icons cacheados como nodos clonables (cloneNode) en lugar de innerHTML repetido\n  \u2022 Passive event listeners\n-->\n<link rel=\"preconnect\" href=\"https:\/\/fonts.googleapis.com\">\n<link rel=\"preconnect\" href=\"https:\/\/fonts.gstatic.com\" crossorigin=\"\">\n<link href=\"https:\/\/fonts.googleapis.com\/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&amp;display=swap\" rel=\"stylesheet\">\n\n<style>\n.mgn-cards{\n  font-family:'DM Sans',-apple-system,sans-serif;\n  -webkit-font-smoothing:antialiased;\n  padding-top:32px;padding-bottom:56px;\n  max-width:1400px;margin-inline:auto;\n  padding-inline:90px;box-sizing:border-box;\n}\n.mgn-group{margin-bottom:40px}\n.mgn-group-header{\n  display:flex;align-items:center;justify-content:space-between;\n  margin-bottom:14px;padding-bottom:10px;\n  border-bottom:1.5px solid rgba(75,35,41,.1);\n}\n.mgn-group-title{\n  display:flex;align-items:center;gap:8px;\n  font-size:15px;font-weight:700;color:#2e1518;letter-spacing:.01em;\n}\n.mgn-group-title::before{\n  content:'';width:7px;height:7px;border-radius:50%;\n  background:#4b2329;flex-shrink:0;\n}\n.mgn-group-count{font-size:12px;color:#9a8285}\n.mgn-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}\n\n\/* Tarjeta *\/\n.mgn-card{\n  display:flex;align-items:center;gap:12px;\n  padding:12px 14px;background:#fff;\n  border:1.5px solid rgba(75,35,41,.1);border-radius:10px;\n  text-decoration:none !important;color:inherit;\n  transition:border-color .15s,box-shadow .15s,transform .15s;\n  cursor:pointer;\n}\n.mgn-card:hover{\n  border-color:rgba(75,35,41,.3);\n  box-shadow:0 4px 16px rgba(75,35,41,.1);\n  transform:translateY(-1px);\n  text-decoration:none !important;\n}\n.mgn-card-icon{\n  width:36px;height:36px;background:#f5ece4;border-radius:8px;\n  display:flex;align-items:center;justify-content:center;\n  flex-shrink:0;color:#4b2329;\n}\n.mgn-card-icon svg{width:18px;height:18px}\n.mgn-card-body{flex:1;min-width:0}\n.mgn-card-title{\n  font-size:13px;font-weight:600;color:#1a1113;\n  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;\n  margin-bottom:3px;\n}\n.mgn-card-tags{display:flex;gap:5px;flex-wrap:wrap}\n.mgn-tag{\n  font-size:10px;font-weight:600;text-transform:uppercase;\n  letter-spacing:.04em;padding:1px 6px;border-radius:4px;\n  background:rgba(75,35,41,.08);color:#7a6265;\n}\n.mgn-tag.pdf {background:rgba(75,35,41,.08);color:#5a3538}\n.mgn-tag.bim {background:rgba(100,140,190,.12);color:#2a5080}\n.mgn-tag.dwg {background:rgba(50,140,100,.12);color:#1a5a40}\n.mgn-tag.link{background:rgba(150,100,50,.12);color:#6a4010}\n\n.mgn-card-dl{\n  width:32px;height:32px;border-radius:8px;\n  border:1.5px solid rgba(75,35,41,.13);background:transparent;\n  display:flex;align-items:center;justify-content:center;\n  flex-shrink:0;color:#9a8285;transition:all .12s;\n  text-decoration:none !important;\n}\n.mgn-card:hover .mgn-card-dl{border-color:#4b2329;background:#4b2329;color:#fff}\n.mgn-card-dl svg{width:14px;height:14px;pointer-events:none}\n\n.mgn-empty{\n  text-align:center;padding:60px 20px;color:#9a8285;\n  font-size:14px;display:none;\n}\n.mgn-empty svg{width:40px;height:40px;margin:0 auto 12px;display:block;opacity:.3}\n\n@media(max-width:999px){\n  .mgn-cards{padding-inline:40px}\n  .mgn-grid{grid-template-columns:repeat(2,1fr)}\n}\n@media(max-width:690px){\n  .mgn-cards{padding-inline:16px;padding-top:20px;padding-bottom:32px}\n  .mgn-grid{grid-template-columns:1fr;gap:8px}\n  .mgn-group{margin-bottom:28px}\n  .mgn-group-title{font-size:13.5px}\n  .mgn-card{padding:10px 10px 10px 12px;gap:10px;align-items:flex-start}\n  .mgn-card-icon{width:32px;height:32px;border-radius:7px;margin-top:2px}\n  .mgn-card-icon svg{width:15px;height:15px}\n  .mgn-card-title{white-space:normal;font-size:12.5px;line-height:1.35}\n  .mgn-card-dl{\n    width:36px;height:36px;\n    border-color:#4b2329;background:#4b2329;color:#fff;\n    margin-top:2px;flex-shrink:0;\n  }\n}\n<\/style>\n\n<div class=\"mgn-cards\" id=\"mgn-cards-root\">\n  <div class=\"mgn-empty\" id=\"mgn-empty\" role=\"status\">\n    <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" aria-hidden=\"true\">\n      <circle cx=\"11\" cy=\"11\" r=\"8\"><\/circle><path d=\"m21 21-4.35-4.35M11 8v3m0 3h.01\"><\/path>\n    <\/svg>\n    No documents found with that filter.<br>Try another search or clear the filters.\n  <\/div>\n<\/div>\n\n<script>\n(function(){\n  'use strict';\n\n  \/* \u2500\u2500 Seguridad: validar URL \u2500\u2500 *\/\n  function isSafeURL(url){\n    \/* Preferir helper del widget de filtros si existe *\/\n    if(window._mgnSafe && window._mgnSafe.isSafeURL) return window._mgnSafe.isSafeURL(url);\n    try{\n      var u=new URL(url, location.href);\n      return u.protocol==='https:' || u.protocol==='http:';\n    }catch(e){ return false; }\n  }\n\n  \/* \u2500\u2500 Iconos: creados UNA vez como plantillas SVG (anti-XSS, anti-repeated-parse) \u2500\u2500 *\/\n  function makeSVG(pathsHTML, vb){\n    var s = document.createElementNS('http:\/\/www.w3.org\/2000\/svg','svg');\n    s.setAttribute('viewBox', vb || '0 0 24 24');\n    s.setAttribute('fill','none');\n    s.setAttribute('stroke','currentColor');\n    s.setAttribute('stroke-width','1.8');\n    s.setAttribute('aria-hidden','true');\n    s.innerHTML = pathsHTML; \/* solo contenido interno de SVG, no datos de usuario *\/\n    return s;\n  }\n\n  var ICON_TEMPLATES = {\n    pdf : makeSVG('<path d=\"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z\"\/><polyline points=\"14 2 14 8 20 8\"\/><line x1=\"9\" y1=\"13\" x2=\"15\" y2=\"13\"\/><line x1=\"9\" y1=\"17\" x2=\"15\" y2=\"17\"\/>'),\n    bim : makeSVG('<path d=\"M12 2L2 7l10 5 10-5-10-5z\"\/><path d=\"M2 17l10 5 10-5\"\/><path d=\"M2 12l10 5 10-5\"\/>'),\n    dwg : makeSVG('<rect x=\"3\" y=\"3\" width=\"18\" height=\"18\" rx=\"2\"\/><path d=\"M3 9h18M3 15h18M9 3v18M15 3v18\"\/>'),\n    link: makeSVG('<path d=\"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71\"\/><path d=\"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71\"\/>'),\n    dl_link: makeSVG('<path d=\"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6\"\/><polyline points=\"15 3 21 3 21 9\"\/><line x1=\"10\" y1=\"14\" x2=\"21\" y2=\"3\"\/>'),\n    dl_file: makeSVG('<path d=\"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\"\/><polyline points=\"7 10 12 15 17 10\"\/><line x1=\"12\" y1=\"15\" x2=\"12\" y2=\"3\"\/>'),\n  };\n\n  var GROUPS = [\n    {key:'Catalogue',             label:'Available catalogues'},\n    {key:'Data sheet',        label:'Data sheets'},\n    {key:'Construction detail', label:'Construction details'},\n    {key:'BIM',                  label:'BIM files'},\n    {key:'DWG',                  label:'DWG files'},\n    {key:'Accessory',            label:'Accessories'},\n    {key:'Certificate',          label:'Certificates'},\n    {key:'Guide',                 label:'Guides and technical advice'},\n    {key:'Finish',              label:'Finishes and colour chart'},\n  ];\n\n  var DOCS_RAW = [\n    {title:'MASTER PANEL \u2013 Sandwich panel general catalogue',  family:'Sandwich panel',      type:'Catalogue',  ext:'PDF',  href:'https:\/\/magon.es\/descargas\/masterpanel\/en\/CATALOGO-GENERAL-MASTERPANEL.pdf'},\n    {title:'MAGON ACEROS \u2013 General catalogue',                 family:'General',             type:'Catalogue',  ext:'PDF',  href:'https:\/\/magon.es\/descargas\/magon\/en\/CATALOGO-GENERAL-MAGON.pdf'},\n    {title:'MAGON ACEROS \u2013 Agricultural profiles',               family:'Agricultural profile',     type:'Catalogue',  ext:'PDF',  href:'https:\/\/magon.es\/wp-content\/uploads\/Catalogos%20agricola\/M%20A%20Sector%20Agricola%20ING%20WEB.pdf'},\n    {title:'MAGON ACEROS \u2013 Photovoltaic profiles',           family:'Solar profile',        type:'Catalogue',  ext:'PDF',  href:'https:\/\/magon.es\/descargas\/renovables\/en\/CATALOGO%20MAGON%20ACEROS%2037%20SECTOR%20RENOVABLES%20WEB.pdf'},\n    {title:'Roof Panel \u2013 MASTER C',        family:'Sandwich panel', type:'Data sheet', ext:'PDF', href:'https:\/\/magon.es\/descargas\/masterpanel\/en\/FICHA-MASTER-C.pdf'},\n    {title:'Wall Panel \u2013 MASTER F',         family:'Sandwich panel', type:'Data sheet', ext:'PDF', href:'https:\/\/magon.es\/descargas\/masterpanel\/en\/FICHA-MASTER-F.pdf'},\n    {title:'Cold Room Panel \u2013 MASTER FRIGO', family:'Sandwich panel', type:'Data sheet', ext:'PDF', href:'https:\/\/magon.es\/descargas\/masterpanel\/en\/FICHA-MASTER-FRIGO.pdf'},\n    {title:'Modular Panel \u2013 MASTER MODUL',     family:'Sandwich panel', type:'Data sheet', ext:'PDF', href:'https:\/\/magon.es\/descargas\/masterpanel\/en\/FICHA-MASTER-MODUL.pdf'},\n    {title:'Skylight \u2013 Polycarbonate',       family:'Sandwich panel', type:'Data sheet', ext:'PDF', href:'https:\/\/magon.es\/descargas\/masterpanel\/en\/POLICARBONATO.pdf'},\n    {title:'Slat Profile \u2013 MG 10\/200',           family:'Construction profile', type:'Data sheet', ext:'PDF', href:'https:\/\/magon.es\/descargas\/magon\/en\/FICHA-MG-10-200.pdf'},\n    {title:'Slat Profile \u2013 MG 14\/200',           family:'Construction profile', type:'Data sheet', ext:'PDF', href:'https:\/\/magon.es\/descargas\/magon\/en\/FICHA-MG-14-200.pdf'},\n    {title:'Corrugated Sheet \u2013 MG 18\/76',        family:'Construction profile', type:'Data sheet', ext:'PDF', href:'https:\/\/magon.es\/descargas\/magon\/en\/FICHA-MG-18-76.pdf'},\n    {title:'Trapezoidal Sheet \u2013 MG 30\/206',    family:'Construction profile', type:'Data sheet', ext:'PDF', href:'https:\/\/magon.es\/descargas\/magon\/en\/FICHA-MG-30-206.pdf'},\n    {title:'Trapezoidal Sheet \u2013 MG 30\/209',    family:'Construction profile', type:'Data sheet', ext:'PDF', href:'https:\/\/magon.es\/descargas\/magon\/en\/FICHA-MG-30-209.pdf'},\n    {title:'Trapezoidal Sheet \u2013 MG 40\/250',    family:'Construction profile', type:'Data sheet', ext:'PDF', href:'https:\/\/magon.es\/descargas\/magon\/en\/FICHA-MG-40-250.pdf'},\n    {title:'Deck Profile \u2013 MG 50\/250',           family:'Construction profile', type:'Data sheet', ext:'PDF', href:'https:\/\/magon.es\/descargas\/magon\/en\/FICHA-MG-50-250.pdf'},\n    {title:'Deck Profile \u2013 MG 60\/220',           family:'Construction profile', type:'Data sheet', ext:'PDF', href:'https:\/\/magon.es\/descargas\/magon\/en\/FICHA-MG-60-220-DECK.pdf'},\n    {title:'Omega profiles',                            family:'Construction profile', type:'Data sheet', ext:'PDF', href:'https:\/\/magon.es\/descargas\/magon\/en\/MG-OMEGAS.pdf'},\n    {title:'Perforated channels',                  family:'Construction profile', type:'Data sheet', ext:'PDF', href:'https:\/\/magon.es\/descargas\/magon\/en\/MG-GUIAS-PERFORADAS.pdf'},\n    {title:'Steel purlins \u2013 MG C & MG Z',   family:'Construction profile', type:'Data sheet', ext:'PDF', href:'https:\/\/magon.es\/descargas\/magon\/en\/FICHA-MG-CORREAS.pdf'},\n    {title:'Rooflight sheets \u2013 Polycarbonate\/Polyester', family:'Construction profile', type:'Data sheet', ext:'PDF', href:'https:\/\/magon.es\/descargas\/magon\/en\/MG-POLICARBONATO-Y-POLIESTER.pdf'},\n    {title:'Intermediate Posts',    family:'Agricultural profile', type:'Data sheet', ext:'PDF', href:'https:\/\/magon.es\/descargas\/agricolas\/en\/Ficha-Postes-Intermedios.pdf'},\n    {title:'End Posts',       family:'Agricultural profile', type:'Data sheet', ext:'PDF', href:'https:\/\/magon.es\/descargas\/agricolas\/en\/Ficha-Postes-Extremos.pdf'},\n    {title:'Greenhouse Profiles', family:'Agricultural profile', type:'Data sheet', ext:'PDF', href:'https:\/\/magon.es\/descargas\/agricolas\/en\/Perfiles-Invernadero.pdf'},\n    {title:'Solar Profile \u2013 MG U',      family:'Solar profile', type:'Data sheet', ext:'PDF', href:'https:\/\/magon.es\/descargas\/renovables\/en\/MG-U.pdf'},\n    {title:'Solar Profile \u2013 MG C',      family:'Solar profile', type:'Data sheet', ext:'PDF', href:'https:\/\/magon.es\/descargas\/renovables\/en\/MG-C.pdf'},\n    {title:'Solar Profile \u2013 MG Z',      family:'Solar profile', type:'Data sheet', ext:'PDF', href:'https:\/\/magon.es\/descargas\/renovables\/en\/MG-Z.pdf'},\n    {title:'Solar Profile \u2013 MG Omegas', family:'Solar profile', type:'Data sheet', ext:'PDF', href:'https:\/\/magon.es\/descargas\/renovables\/en\/MG-OMEGAS.pdf'},\n    {title:'Construction details \u2013 Sandwich Panels',  family:'Sandwich panel',      type:'Construction detail', ext:'PDF', href:'https:\/\/magon.es\/descargas\/masterpanel\/en\/DETALLES-CONSTRUCTIVOS.pdf'},\n    {title:'Construction details \u2013 Steel Profiles',family:'Construction profile', type:'Construction detail', ext:'PDF', href:'https:\/\/magon.es\/descargas\/magon\/en\/DETALLES-CONSTRUCTIVOS.pdf'},\n    {title:'BIM \u2013 MASTER C Roof Panel',      family:'Sandwich panel', type:'BIM', ext:'7Z', href:'https:\/\/magon.es\/descargas\/masterpanel\/Master-C-BIM.7z'},\n    {title:'BIM \u2013 MASTER F Wall Panel',        family:'Sandwich panel', type:'BIM', ext:'7Z', href:'https:\/\/magon.es\/descargas\/masterpanel\/Master-F-BIM.7z'},\n    {title:'BIM \u2013 MASTER FRIGO Cold Room Panel',family:'Sandwich panel', type:'BIM', ext:'7Z', href:'https:\/\/magon.es\/descargas\/masterpanel\/Master-Frigo-BIM.7z'},\n    {title:'BIM \u2013 MASTER MODUL Modular Panel',    family:'Sandwich panel', type:'BIM', ext:'7Z', href:'https:\/\/magon.es\/descargas\/masterpanel\/Master-Modul-BIM.7z'},\n    {title:'DWG \u2013 MASTER C Roof Panel',       family:'Sandwich panel', type:'DWG', ext:'DWG', href:'https:\/\/magon.es\/descargas\/masterpanel\/MASTER-C-TODOS-LOS-ESPESORES.dwg'},\n    {title:'DWG \u2013 MASTER F Wall Panel',        family:'Sandwich panel', type:'DWG', ext:'DWG', href:'https:\/\/magon.es\/descargas\/masterpanel\/MASTER-F-TODOS-LOS-ESPESORES.dwg'},\n    {title:'DWG \u2013 MASTER FRIGO Cold Room Panel',family:'Sandwich panel', type:'DWG', ext:'DWG', href:'https:\/\/magon.es\/descargas\/masterpanel\/MASTER-FRIGO-TODOS-LOS-ESPESORES.dwg'},\n    {title:'DWG \u2013 MASTER MODUL Modular Panel',    family:'Sandwich panel', type:'DWG', ext:'DWG', href:'https:\/\/magon.es\/descargas\/masterpanel\/MASTER-MODUL-TODOS-LOS-ESPESORES.dwg'},\n    {title:'DWG \u2013 MG 10\/200 Slat Profile',         family:'Construction profile', type:'DWG', ext:'DWG', href:'https:\/\/magon.es\/descargas\/magon\/MG-10-200.dwg'},\n    {title:'DWG \u2013 MG 14\/200 Slat Profile',         family:'Construction profile', type:'DWG', ext:'DWG', href:'https:\/\/magon.es\/descargas\/magon\/MG-14-200.dwg'},\n    {title:'DWG \u2013 MG 18\/76 Corrugated Sheet',      family:'Construction profile', type:'DWG', ext:'DWG', href:'https:\/\/magon.es\/descargas\/magon\/MG-18-76.dwg'},\n    {title:'DWG \u2013 MG 30\/206 Trapezoidal Sheet',  family:'Construction profile', type:'DWG', ext:'DWG', href:'https:\/\/magon.es\/descargas\/magon\/MG-30-206.dwg'},\n    {title:'DWG \u2013 MG 30\/209 Trapezoidal Sheet',  family:'Construction profile', type:'DWG', ext:'DWG', href:'https:\/\/magon.es\/descargas\/magon\/MG-30-209.dwg'},\n    {title:'DWG \u2013 MG 40\/250 Trapezoidal Sheet',  family:'Construction profile', type:'DWG', ext:'DWG', href:'https:\/\/magon.es\/descargas\/magon\/MG-40-250.dwg'},\n    {title:'DWG \u2013 MG 50\/250 Deck Profile',         family:'Construction profile', type:'DWG', ext:'DWG', href:'https:\/\/magon.es\/descargas\/magon\/MG-50-250.dwg'},\n    {title:'DWG \u2013 MG 60\/220 Deck Profile',         family:'Construction profile', type:'DWG', ext:'DWG', href:'https:\/\/magon.es\/descargas\/magon\/MG-60-220-Deck.dwg'},\n    {title:'Accessories \u2013 Cold Rooms',            family:'Accessories', type:'Accessory', ext:'PDF', href:'https:\/\/magon.es\/descargas\/masterpanel\/en\/ACCESORIOS-CAMARAS-FRIGORIFICAS.pdf'},\n    {title:'Accessories \u2013 Sandwich Panel Installation',        family:'Accessories', type:'Accessory', ext:'PDF', href:'https:\/\/magon.es\/descargas\/masterpanel\/en\/ACCESORIOS-PARA-MONTAJE.pdf'},\n    {title:'Accessories \u2013 Trellis Posts',                        family:'Accessories', type:'Accessory', ext:'PDF', href:'https:\/\/magon.es\/descargas\/agricolas\/en\/Accesorios-Postes.pdf'},\n    {title:'Static ventilators',                       family:'Accessories', type:'Accessory', ext:'PDF', href:'https:\/\/magon.es\/descargas\/magon\/en\/FICHA-MG-AIREADORES.pdf'},\n    {title:'Foam closure strips \u2013 Steel Profiles', family:'Accessories', type:'Accessory', ext:'PDF', href:'https:\/\/magon.es\/descargas\/magon\/en\/MG-JUNTA-ESTANQUEIDAD.pdf'},\n    {title:'Foam closure strips \u2013 Sandwich Panels',  family:'Accessories', type:'Accessory', ext:'PDF', href:'https:\/\/magon.es\/descargas\/masterpanel\/en\/JUNTA-DE-ESTANQUEIDAD.pdf'},\n    {title:'Flashings',   family:'Accessories', type:'Accessory', ext:'PDF', href:'https:\/\/magon.es\/descargas\/magon\/en\/REMATERIA.pdf'},\n    {title:'Screws', family:'Accessories', type:'Accessory', ext:'PDF', href:'https:\/\/magon.es\/descargas\/masterpanel\/en\/TORNILLERIA.pdf'},\n    {title:'Certificates \u2013 Sandwich panels and steel profiles', family:'General', type:'Certificate', ext:'LINK', href:'https:\/\/magon.es\/calidad-e-innovacion\/'},\n    {title:'Sandwich Panel Maintenance Guide',   family:'Sandwich panel',      type:'Guide', ext:'LINK', href:'https:\/\/magon.es\/guia-tecnica-mantenimiento-panel-sandwich\/'},\n    {title:'Technical advice \u2013 Sandwich Panels',          family:'Sandwich panel',      type:'Guide', ext:'PDF',  href:'https:\/\/magon.es\/descargas\/masterpanel\/en\/ASESORIA-TECNICA.pdf'},\n    {title:'Technical advice \u2013 Construction Profiles',family:'Construction profile', type:'Guide', ext:'PDF',  href:'https:\/\/magon.es\/descargas\/magon\/en\/ASESORIA-TECNICA-PERFILES-METALICOS-CONST.pdf'},\n    {title:'Technical advice \u2013 Agricultural Profiles',      family:'Agricultural profile',     type:'Guide', ext:'PDF',  href:'https:\/\/magon.es\/descargas\/agricolas\/en\/ASESORIA-TECNICA-POSTES.pdf'},\n    {title:'Technical advice \u2013 Solar Profiles',        family:'Solar profile',        type:'Guide', ext:'PDF',  href:'https:\/\/magon.es\/descargas\/renovables\/en\/ASESORIA-TECNICA-RENOVABLE.pdf'},\n    {title:'Colour chart \u2013 Sandwich Panels',        family:'Sandwich panel',      type:'Finish', ext:'PDF', href:'https:\/\/magon.es\/descargas\/masterpanel\/en\/CARTA-DE-COLORES.pdf'},\n    {title:'Coating guide \u2013 Sandwich Panels',   family:'Sandwich panel',      type:'Finish', ext:'PDF', href:'https:\/\/magon.es\/descargas\/masterpanel\/en\/GUIA-DE-ELECCION-DEL-RECUBRIMIENTO-ORGANICO.pdf'},\n    {title:'Finishes \u2013 Sandwich Panels',                family:'Sandwich panel',      type:'Finish', ext:'PDF', href:'https:\/\/magon.es\/descargas\/masterpanel\/en\/ACABADOS.pdf'},\n    {title:'Colour chart \u2013 Steel Profiles',      family:'Construction profile', type:'Finish', ext:'PDF', href:'https:\/\/magon.es\/descargas\/magon\/en\/CARTA-DE-COLOR-MG.pdf'},\n    {title:'Coating guide \u2013 Steel Profiles', family:'Construction profile', type:'Finish', ext:'PDF', href:'https:\/\/magon.es\/descargas\/magon\/en\/GUIA-ELECCION-DE-RECUBRIMIENTO-MG.pdf'},\n    {title:'Finishes \u2013 Steel Profiles',              family:'Construction profile', type:'Finish', ext:'PDF', href:'https:\/\/magon.es\/descargas\/magon\/en\/ACABADO-MG.pdf'},\n  ];\n\n  \/* \u2500\u2500 Deduplicar por href (elimina el DWG duplicado del original) \u2500\u2500 *\/\n  var seen = Object.create(null);\n  var DOCS = DOCS_RAW.filter(function(d){\n    if(!isSafeURL(d.href)) return false; \/* descarta URLs inseguras *\/\n    if(seen[d.href]) return false;\n    seen[d.href] = true;\n    return true;\n  });\n\n  \/* \u2500\u2500 Constructores de nodos seguros (sin innerHTML de datos de usuario) \u2500\u2500 *\/\n  function makeIcon(d){\n    var wrap = document.createElement('div');\n    wrap.className='mgn-card-icon';\n    var key = d.type==='BIM' ? 'bim' : d.type==='DWG' ? 'dwg' : d.ext==='LINK' ? 'link' : 'pdf';\n    wrap.appendChild(ICON_TEMPLATES[key].cloneNode(true));\n    return wrap;\n  }\n\n  function makeTag(text, cls){\n    var span = document.createElement('span');\n    span.className = 'mgn-tag' + (cls ? ' '+cls : '');\n    span.textContent = text; \/* textContent: seguro *\/\n    return span;\n  }\n\n  function getTagClass(ext){\n    return {PDF:'pdf',BIM:'bim',DWG:'dwg','7Z':'bim',LINK:'link'}[ext] || '';\n  }\n\n  function makeCard(d){\n    var card = document.createElement('a');\n    card.className='mgn-card';\n    card.href   = d.href; \/* ya validado como seguro *\/\n    card.target = '_blank';\n    card.rel    = 'noopener noreferrer';\n    card.setAttribute('title', d.title);\n\n    \/* Icono *\/\n    card.appendChild(makeIcon(d));\n\n    \/* Cuerpo *\/\n    var body  = document.createElement('div');\n    body.className='mgn-card-body';\n    var titleEl = document.createElement('div');\n    titleEl.className='mgn-card-title';\n    titleEl.textContent = d.title; \/* textContent: seguro *\/\n    var tags = document.createElement('div');\n    tags.className='mgn-card-tags';\n    tags.appendChild(makeTag(d.ext, getTagClass(d.ext)));\n    tags.appendChild(makeTag(d.type));\n    body.appendChild(titleEl);\n    body.appendChild(tags);\n    card.appendChild(body);\n\n    \/* Bot\u00f3n descarga *\/\n    var dl = document.createElement('div');\n    dl.className='mgn-card-dl';\n    dl.setAttribute('aria-hidden','true');\n    var dlKey = d.ext==='LINK' ? 'dl_link' : 'dl_file';\n    dl.appendChild(ICON_TEMPLATES[dlKey].cloneNode(true));\n    card.appendChild(dl);\n\n    return card;\n  }\n\n  function makeGroupHeader(label, count){\n    var header = document.createElement('div');\n    header.className='mgn-group-header';\n    var titleEl = document.createElement('span');\n    titleEl.className='mgn-group-title';\n    titleEl.textContent = label;\n    var countEl = document.createElement('span');\n    countEl.className='mgn-group-count';\n    countEl.textContent = count + ' document' + (count>1?'s':'');\n    header.appendChild(titleEl);\n    header.appendChild(countEl);\n    return header;\n  }\n\n  \/* \u2500\u2500 Render \u2500\u2500 *\/\n  function render(docs){\n    var root  = document.getElementById('mgn-cards-root');\n    var empty = document.getElementById('mgn-empty');\n\n    \/* Eliminar grupos anteriores *\/\n    var prev = root.querySelectorAll('.mgn-group');\n    for(var i=0;i<prev.length;i++) prev[i].remove();\n\n    if(!docs.length){ empty.style.display='block'; return; }\n    empty.style.display='none';\n\n    \/* Construir todo en un fragment (un solo reflow al final) *\/\n    var frag = document.createDocumentFragment();\n\n    GROUPS.forEach(function(g){\n      var subset = docs.filter(function(d){ return d.type===g.key; });\n      if(!subset.length) return;\n\n      var grp = document.createElement('div');\n      grp.className='mgn-group';\n      grp.appendChild(makeGroupHeader(g.label, subset.length));\n\n      var grid = document.createElement('div');\n      grid.className='mgn-grid';\n      var gFrag = document.createDocumentFragment();\n      subset.forEach(function(d){ gFrag.appendChild(makeCard(d)); });\n      grid.appendChild(gFrag);\n      grp.appendChild(grid);\n      frag.appendChild(grp);\n    });\n\n    root.insertBefore(frag, empty);\n  }\n\n  \/* \u2500\u2500 Filtrado \u2500\u2500 *\/\n  var lastNonce = 0;\n  function applyFilters(){\n    var f = window.mgnGetFilters\n      ? window.mgnGetFilters()\n      : {q:'',type:'all',family:'all',sort:'relevant',setCount:function(){}};\n\n    var q = (f.q||'').trim().toLowerCase().slice(0,100);\n\n    var res = DOCS.filter(function(d){\n      if(f.type   !== 'all' && d.type   !== f.type)   return false;\n      if(f.family !== 'all' && d.family !== f.family) return false;\n      if(q){\n        var hay=(d.title+' '+d.family+' '+d.type).toLowerCase();\n        if(hay.indexOf(q)<0) return false;\n      }\n      return true;\n    });\n\n    if(f.sort==='az') res.sort(function(a,b){ return a.title.localeCompare(b.title,'es'); });\n\n    f.setCount(res.length);\n    render(res);\n  }\n\n  \/* \u2500\u2500 Escucha de evento con validaci\u00f3n de nonce \u2500\u2500 *\/\n  document.addEventListener('mgnFilter', function(e){\n    \/* Aceptar el evento solo si viene del propio documento *\/\n    if(e.target !== document) return;\n    applyFilters();\n  });\n\n  \/* Ejecutar lo antes posible: si el DOM ya est\u00e1 listo, ahora mismo;\n     si no, en DOMContentLoaded (antes que 'load', sin esperar im\u00e1genes\/CSS externos) *\/\n  if(document.readyState === 'loading'){\n    document.addEventListener('DOMContentLoaded', applyFilters, {once:true});\n  } else {\n    applyFilters();\n  }\n})();\n<\/script>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Technical resource centre Technical documentation Technical data sheets, catalogues, certificates, BIM, DWG, guides and construction details. Free technical tool Thermal insulation calculator Panel thickness and U-value for your project Calculate&#8230;<\/p>\n","protected":false},"author":10,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"content-type":"","rs_blank_template":"","rs_page_bg_color":"","slide_template_v7":"","footnotes":""},"class_list":["post-12075","page","type-page","status-publish"],"_links":{"self":[{"href":"https:\/\/magon.es\/en\/wp-json\/wp\/v2\/pages\/12075","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/magon.es\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/magon.es\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/magon.es\/en\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/magon.es\/en\/wp-json\/wp\/v2\/comments?post=12075"}],"version-history":[{"count":1,"href":"https:\/\/magon.es\/en\/wp-json\/wp\/v2\/pages\/12075\/revisions"}],"predecessor-version":[{"id":17772,"href":"https:\/\/magon.es\/en\/wp-json\/wp\/v2\/pages\/12075\/revisions\/17772"}],"wp:attachment":[{"href":"https:\/\/magon.es\/en\/wp-json\/wp\/v2\/media?parent=12075"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}