/* Cabecera y pie comunes de ordenatec.com (lote 2, 25/11/2026). Los pone el mu-plugin ordenatec-cabecera-pie.php. Prefijo oc-. */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/wp-content/plugins/ordenatec-nueva-portada/portada/assets/fonts/plus-jakarta-sans-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/wp-content/plugins/ordenatec-nueva-portada/portada/assets/fonts/plus-jakarta-sans-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
.oc-cab, .oc-pie { font-family: "Plus Jakarta Sans", Arial, sans-serif; box-sizing: border-box; -webkit-font-smoothing: antialiased; }
.oc-cab *, .oc-pie * { box-sizing: border-box; }
.oc-cab { position: sticky; top: 0; left: 0; right: 0; z-index: 900; width: 100%; height: 72px; display: flex; align-items: center; gap: 24px;
  padding: 0 clamp(16px, 4.4vw, 64px); background: rgba(6, 20, 41, .97); border-bottom: 1px solid rgba(111, 224, 255, .14); margin: 0; }
.oc-cab.oc-fija { position: fixed; }
.oc-logo { display: block; flex: none; line-height: 0; }
.oc-logo img { width: 152px; height: auto; display: block; }
.oc-nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.oc-l { color: #D5E0EE; font: 600 16px/44px "Plus Jakarta Sans", Arial, sans-serif; padding: 0 14px; text-decoration: none; border-radius: 8px; white-space: nowrap; }
.oc-l:hover { color: #FFFFFF; }
.oc-l[aria-current="page"] { color: #FFFFFF; box-shadow: inset 0 -2px 0 #17B8F6; border-radius: 0; }
.oc-cta { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 18px; margin-left: 12px; border-radius: 10px;
  background: #F2C14E; color: #0B1B33 !important; font: 700 15px/1 "Plus Jakarta Sans", Arial, sans-serif; text-decoration: none; white-space: nowrap; }
.oc-cta-corto { display: none; }
.oc-menu { display: none; position: relative; }
.oc-menu summary { list-style: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; border: 1px solid rgba(244, 248, 255, .28); cursor: pointer; }
.oc-menu summary::-webkit-details-marker { display: none; }
.oc-ico { width: 20px; height: 12px; display: grid; align-content: space-between; }
.oc-ico i { display: block; height: 2px; border-radius: 2px; background: #F4F8FF; }
.oc-panel { position: fixed; left: 0; right: 0; top: 64px; padding: 8px 20px 24px; background: #061429; border-bottom: 1px solid rgba(111, 224, 255, .18); box-shadow: 0 24px 40px rgba(0, 0, 0, .35); }
.oc-panel .oc-l { display: block; padding: 0 4px; font-size: 18px; line-height: 52px; color: #F4F8FF; border-bottom: 1px solid rgba(111, 224, 255, .12); border-radius: 0; box-shadow: none; }
.oc-panel .oc-cta { display: flex; width: 100%; height: 52px; margin: 18px 0 0; font-size: 16px; }
@media (max-width: 900px) {
  .oc-cab { height: 64px; gap: 10px; }
  .oc-logo img { width: 128px; }
  .oc-nav > .oc-l, .oc-nav > .oc-cta { display: none; }
  .oc-nav > .oc-cta-corto { display: inline-flex; height: 40px; padding: 0 12px; margin: 0 6px 0 0; font-size: 14px; }
  .oc-menu { display: block; }
}

.oc-pie { background: #061429; color: #F4F8FF; padding: 56px clamp(16px, 4.4vw, 64px) 0; border-top: 1px solid rgba(111, 224, 255, .14); margin: 0; width: 100%; }
.oc-pie-in { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 2.9fr; gap: 40px; }
.oc-pie-marca img { width: 168px; height: auto; display: block; }
.oc-pie-marca p { margin: 16px 0 0; color: #C9D9F2; font: 500 15px/1.55 "Plus Jakarta Sans", Arial, sans-serif; max-width: 30ch; }
.oc-pie-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.oc-pie-cols h2 { margin: 4px 0 12px; color: #17B8F6; font: 700 12px/1.4 "Plus Jakarta Sans", Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.oc-pie-cols a { display: block; color: #E3EAF5; font: 500 15px/1.5 "Plus Jakarta Sans", Arial, sans-serif; text-decoration: none; padding: 5px 0; overflow-wrap: anywhere; }
.oc-pie-cols a:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }
.oc-pie-base { max-width: 1180px; margin: 40px auto 0; padding: 20px 0 28px; border-top: 1px solid rgba(111, 224, 255, .14); display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; justify-content: space-between; }
.oc-pie-base p { margin: 0; color: #AFC1DA; font: 500 13px/1.5 "Plus Jakarta Sans", Arial, sans-serif; }
.oc-pie-base nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.oc-pie-base nav a { color: #C9D9F2; font: 600 13px/1.5 "Plus Jakarta Sans", Arial, sans-serif; text-decoration: none; }
.oc-pie-base nav a:hover { color: #FFFFFF; text-decoration: underline; }
@media (max-width: 900px) {
  .oc-pie { padding-top: 40px; }
  .oc-pie-in { grid-template-columns: 1fr; gap: 28px; }
  .oc-pie-cols { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
}

/* Defensas: los estilos genéricos de cada plantilla (header, nav, footer, img) no deben alterar la pieza común. */
.oc-cab { flex-direction: row !important; flex-wrap: nowrap !important; text-align: left !important; }
.oc-cab .oc-nav { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; position: static !important; background: none !important; padding: 0 !important; margin: 0 0 0 auto !important; border: 0 !important; width: auto !important; }
.oc-cab .oc-logo img, .oc-pie .oc-pie-marca img { max-width: none !important; }
.oc-pie, .oc-pie nav { text-align: left !important; }
.oc-pie-cols { grid-template-columns: 1fr 1.25fr 1fr 1.4fr; }
.oc-pie-cols a[href^="mailto:"] { font-size: 14px; overflow-wrap: normal; white-space: nowrap; }
@media (max-width: 900px) { .oc-pie-cols { grid-template-columns: 1fr 1fr; } .oc-pie-cols > div:last-child { grid-column: 1 / -1; } }

.oc-pie-cols h2 { padding: 0; border: 0; background: none; text-wrap: initial; }
.oc-pie p, .oc-pie h2, .oc-cab p { text-indent: 0; }
.oc-cab a, .oc-pie a { box-shadow: none; }
.oc-cab .oc-l[aria-current="page"] { box-shadow: inset 0 -2px 0 #17B8F6; }
.oc-panel .oc-l[aria-current="page"] { box-shadow: none; color: #6FE0FF; }
.oc-cab a:focus-visible, .oc-pie a:focus-visible, .oc-menu summary:focus-visible { outline: 3px solid #17B8F6; outline-offset: 2px; border-radius: 6px; }
